/* Emberline Industries Inc. — company site.
   Brand: "Emberline Industries — Brand Identity" (Company Branding): copper
   #C4621D, copper deep #A04E14, ember glow #E8A87C, charcoal #2C2420, ash
   #F5F0EB, warm white #FAF7F4. Cormorant Garamond for display, DM Sans for
   text. Fonts are served from /fonts (fonts.css), with no third-party
   requests and no scripts. Text that must pass contrast uses copper deep and
   muted-dark rather than copper and muted. */
:root {
  --copper: #C4621D;
  --copper-deep: #A04E14;
  --ember-glow: #E8A87C;
  --charcoal: #2C2420;
  --ash: #F5F0EB;
  --ash-mid: #EDE6DE;
  --warm-white: #FAF7F4;
  --muted: #9A847A;
  --muted-dark: #7A6560;
  --body: #4A3C36;
  --flare: #E8571A;
  --waymark: #2D4A3E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--body);
  font: 300 17px/1.75 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
strong { font-weight: 500; color: var(--charcoal); }
a { color: var(--copper-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--charcoal); }
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 8px 24px 64px; }

/* Header and footer */
.site-header { background: var(--warm-white); border-bottom: 1px solid var(--ash-mid); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { display: block; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 30px; letter-spacing: 0.07em; line-height: 1; color: var(--charcoal); }
.brand-name .accent { color: var(--copper); }
.brand-sub { font-weight: 300; font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted-dark); line-height: 1; }
.site-header nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-header nav a { color: var(--charcoal); text-decoration: none; font-size: 14px; letter-spacing: 0.08em; }
.site-header nav a:hover { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 520px) {
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 13px; letter-spacing: 0.04em; }
}

.site-footer { background: var(--charcoal); color: var(--ash); margin-top: 56px; padding: 40px 0 32px; font-size: 14px; }
.site-footer .brand-name { color: var(--ash); font-size: 26px; }
.site-footer .brand-name .accent { color: var(--ember-glow); }
.site-footer .brand-sub { color: var(--muted); }
.site-footer .foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #4A3C36; }
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--ash); opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.site-footer p { margin: 18px 0 0; opacity: 0.7; }
.site-footer .tagline { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 300; font-size: 16px; color: var(--ember-glow); opacity: 1; margin: 0; }

/* Home page */
.hero { text-align: center; padding-top: 72px; padding-bottom: 56px; }
.hero img { display: block; margin: 0 auto 28px; }
.hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(36px, 6vw, 60px); line-height: 1.1; letter-spacing: 0.03em; margin: 0 auto 20px; max-width: 16ch; }
.hero p { font-size: 18px; max-width: 54ch; margin: 0 auto; color: var(--muted-dark); }
section { padding: 40px 0; }
section h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 34px; letter-spacing: 0.03em; margin: 0 0 14px; }
section h3.sub { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 22px; margin: 32px 0 6px; }
section > .container > p { max-width: 66ch; }
.label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 8px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--ash-mid); border-radius: 6px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-weight: 500; font-size: 16px; color: var(--charcoal); }
.card p { margin: 0; font-size: 15px; }
.notice { background: #FBF1E8; border: 1px solid var(--copper); border-radius: 6px; padding: 14px 18px; margin-top: 28px; max-width: 66ch; font-size: 16px; }
.notice strong { color: var(--copper-deep); }
.band { background: var(--ash); }

/* Brand family: the products */
.family { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.product { background: #fff; border: 1px solid var(--ash-mid); border-radius: 6px; padding: 28px 24px; text-align: center; }
.product-name { font-size: 14px; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.product-name.waymark { font-family: 'Barlow Condensed', 'DM Sans', sans-serif; font-weight: 400; font-size: 16px; }
.product-tag { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 300; font-size: 22px; color: var(--muted-dark); margin: 6px 0 14px; }
.product-dot { width: 6px; height: 6px; border-radius: 50%; margin: 0 auto 14px; }
.product p { margin: 0; font-size: 15px; }
a.product { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s; }
a.product:hover { border-color: var(--copper); }
a.product:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.product-link { margin-top: 14px !important; color: var(--copper-deep); font-size: 14px !important; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 4px; }
ul.plain { padding-left: 20px; max-width: 66ch; }
ul.plain li { margin: 6px 0; }
.hero .label { margin-bottom: 14px; font-size: 13px; }
.crumb { display: inline-block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); text-decoration: none; }
.crumb:hover { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 4px; }

.samples { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 66ch; }
.samples li { background: #fff; border: 1px solid var(--ash-mid); border-left: 3px solid var(--copper); border-radius: 4px; padding: 12px 16px; font-size: 15px; }
.samples small { display: block; color: var(--muted-dark); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 3px; }
address { font-style: normal; }

/* Legal and support pages */
.page-title { background: var(--ash); border-bottom: 1px solid var(--ash-mid); padding: 36px 0 30px; }
.page-title h1 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 38px; letter-spacing: 0.03em; }
.page-title p { margin: 6px 0 0; color: var(--muted-dark); font-size: 14px; letter-spacing: 0.04em; }
.narrow h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 24px; margin: 36px 0 8px; color: var(--copper-deep); }
.narrow ul { padding-left: 20px; }
.narrow li { margin: 5px 0; }
.draft { background: #FBF1E8; border: 1px solid var(--copper); border-radius: 6px; padding: 12px 16px; margin-top: 24px; font-size: 14px; }
.note { font-size: 14px; color: var(--muted-dark); }
details { background: #fff; border: 1px solid var(--ash-mid); border-radius: 6px; padding: 12px 18px; margin: 8px 0; }
summary { font-weight: 500; cursor: pointer; color: var(--charcoal); }
details p { margin: 10px 0 2px; }
details ol { margin: 10px 0 2px; padding-left: 22px; }
details li { margin: 5px 0; }
