/* ==========================================================================
   DonoMed — Design System v2 "Private practice, precision instrument"
   Warm porcelain · deep emerald · brass graduation ticks · serif display
   ========================================================================== */

:root {
  /* Color tokens */
  --paper: #f7f5f0;          /* warm porcelain page */
  --paper-2: #f0ede5;        /* tinted alt section */
  --card: #ffffff;
  --ink: #132620;            /* near-black emerald ink — headings */
  --text: #24352e;
  --text-muted: #5b6b62;
  --emerald: #175244;        /* primary actions */
  --emerald-deep: #0e3a2f;
  --emerald-band: #0f2721;   /* dark sections / footer */
  --sage: #e9efe8;           /* soft tint */
  --brass: #ad8b4d;          /* heirloom detail — decorative ticks, dark backgrounds */
  --bronze: #82632b;         /* brass for TEXT on light backgrounds (WCAG-safe) */
  --brass-soft: #d8c7a0;
  --line: #e4decf;           /* warm hairline */
  --line-dark: rgba(255, 255, 255, .14);
  --danger: #b91c1c;
  --warn-bg: #fdf6e3;
  --warn-line: #b98a2b;
  --warn-ink: #7a5410;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;

  /* Radii + shadow */
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-full: 999px;
  --shadow-md: 0 14px 40px rgba(19, 38, 32, .10);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms; --t-med: 280ms; --t-slow: 480ms;

  /* Layout */
  --container: 1140px;
  --nav-h: 76px;

  /* Signature: syringe graduation rule */
  --tick-minor: rgba(173, 139, 77, .45);
  --tick-major: rgba(173, 139, 77, .95);
}

/* --------------------------------------------------------------------------
   Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
strong { font-weight: 500; color: var(--ink); }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h1 em, h2 em { font-style: italic; color: var(--emerald); }
h3, h4 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 var(--s-3);
}
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 var(--s-4); }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--sage); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4);
  z-index: 2000;
}
.skip-link:focus { left: 0; }

/* Signature — graduation tick rule (syringe unit markings) */
.tick,
.eyebrow::after {
  display: block;
  height: 11px;
  background-image:
    repeating-linear-gradient(90deg, var(--tick-major) 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(90deg, var(--tick-minor) 0 1px, transparent 1px 8px);
  background-size: 100% 11px, 100% 6px;
  background-position: left top, left top;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247, 245, 240, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(19, 38, 32, .07); }
.nav-bar { display: flex; align-items: center; gap: var(--s-4); height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: none;
  align-items: center; gap: var(--s-1);
  margin-left: auto;
  list-style: none; padding: 0;
}
.nav-links a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: none; border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover, .nav-drop > button:hover { background: var(--sage); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--emerald); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform var(--t-fast); }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: var(--s-2);
  list-style: none; margin: 0;
  opacity: 0; transform: translateY(-6px);
  visibility: hidden;
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
}
.nav-drop.open .drop-menu { opacity: 1; transform: none; visibility: visible; }
.drop-menu a {
  display: block; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.drop-menu a:hover { background: var(--sage); text-decoration: none; }
.drop-menu .drop-desc {
  display: block; font-weight: 300; font-size: .83rem; color: var(--text-muted);
}
.drop-menu .drop-soon {
  display: block; padding: var(--s-3) var(--s-4);
  font-size: .82rem; font-weight: 300; color: var(--text-muted);
  border-top: 1px solid var(--line); margin-top: var(--s-2);
}

/* Buttons — tailored rectangles, not pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 15px 30px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 50px;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-deep); color: #fff; box-shadow: 0 10px 26px rgba(14, 58, 47, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9c2af; }
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: .78rem; min-height: 44px; }
.nav-cta { display: none; margin-left: var(--s-3); }

/* Mobile nav toggle */
.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: none; border: 0; border-radius: var(--r-sm);
  color: var(--ink);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: var(--s-4) var(--s-5) var(--s-6);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
  display: block; padding: var(--s-4) var(--s-2);
  color: var(--ink); font-weight: 400; font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { text-decoration: none; color: var(--emerald); }
.mobile-menu .m-sub { padding-left: var(--s-5); font-size: .98rem; }
.mobile-menu .m-label {
  padding: var(--s-4) var(--s-2) var(--s-1);
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bronze);
}
.mobile-menu .btn { width: 100%; margin-top: var(--s-4); }

/* Mobile sticky CTA bar */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  padding: var(--s-3) var(--s-4);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 245, 240, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-slow) var(--ease-out);
}
.sticky-cta.visible { transform: none; }
.sticky-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu, .sticky-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Hero — porcelain, ghosted monogram, serif thesis
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding: var(--s-9) 0;
}
.hero::before {
  content: "";
  position: absolute;
  right: -6%; top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 660px);
  aspect-ratio: 4446 / 2856;
  background: url("/assets/img/icon.png") no-repeat center / contain;
  opacity: .055;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 800px; }
.hero .eyebrow, .page-hero .eyebrow {
  display: block;
  background: none; padding: 0;
  color: var(--emerald);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.eyebrow::after {
  content: "";
  width: 88px;
  margin-top: 10px;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--s-6);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero-points {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  list-style: none; margin: 0; padding: 0;
  color: var(--text-muted); font-size: .9rem; font-weight: 400;
}
.hero-points li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-points svg { color: var(--bronze); flex-shrink: 0; }

.page-hero { padding: var(--s-8) 0 var(--s-7); }
.page-hero .lede { font-size: 1.12rem; font-weight: 300; color: var(--text-muted); max-width: 640px; }

/* --------------------------------------------------------------------------
   Sections + cards
   -------------------------------------------------------------------------- */
.section { padding: var(--s-9) 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: var(--s-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker, .kicker {
  font-family: var(--font-body);
  font-weight: 600; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: var(--s-3);
}
.section-head p { color: var(--text-muted); font-weight: 300; }

.grid { display: grid; gap: var(--s-4); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--emerald); box-shadow: var(--shadow-md); }
.card .icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage); color: var(--emerald);
  margin-bottom: var(--s-4);
}
.card p { color: var(--text-muted); font-size: .96rem; font-weight: 300; margin-bottom: 0; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s-4);
  font-weight: 500; color: var(--emerald); font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.card .tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid var(--brass-soft);
  padding: 4px 12px; border-radius: var(--r-full);
  margin-bottom: var(--s-3);
}

/* Steps — editorial serif numerals */
.step { position: relative; padding-left: 84px; margin-bottom: var(--s-6); }
.step:last-child { margin-bottom: 0; }
.step .step-num {
  position: absolute; left: 0; top: -10px;
  width: 64px;
  font-family: var(--font-display);
  font-weight: 500; font-style: italic;
  font-size: 3.4rem; line-height: 1;
  color: var(--bronze);
  text-align: center;
}
.step p { color: var(--text-muted); font-weight: 300; margin-bottom: 0; }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .step { padding-left: 0; padding-top: 72px; margin-bottom: 0; }
  .step .step-num { top: 0; left: 0; text-align: left; }
}

/* Dark band */
.band {
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(173, 139, 77, .12), transparent 60%),
    var(--emerald-band);
  color: #dfe8de;
  padding: var(--s-9) 0;
}
.band h2, .band h3 { color: #f4f1e8; }
.band h2 em { color: var(--brass-soft); }
.band p { color: #a9bcaa; font-weight: 300; }
.band .kicker { color: var(--brass-soft); }
.band .btn-primary { background: var(--paper); color: var(--ink); }
.band .btn-primary:hover { background: #fff; color: var(--ink); }
.band .card {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-dark);
}
.band .card p { color: #a9bcaa; }
.band a:not(.btn) { color: var(--brass-soft); }

/* Marquee — Regenerate. Recharge. Renew. */
.marquee {
  overflow: hidden;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-6) 0;
}
.marquee-track {
  display: flex; align-items: baseline; gap: 72px;
  width: max-content;
  animation: marq 38s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 72px;
}
.marquee-track em { font-style: italic; color: var(--bronze); }
@keyframes marq { to { transform: translateX(-50%); } }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-1);
  background: none; border: 0; text-align: left;
  font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; color: var(--ink);
}
.faq-q svg { flex-shrink: 0; color: var(--bronze); transition: transform var(--t-med) var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--t-slow) var(--ease-out); }
.faq-a-inner { padding: 0 var(--s-1) var(--s-5); color: var(--text-muted); font-weight: 300; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* Pricing cards */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price-line { margin: var(--s-3) 0 var(--s-2); display: flex; align-items: baseline; gap: 10px; }
.price-card .price-amount {
  font-family: var(--font-display);
  font-weight: 500; font-size: 3.6rem; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-card .price-per { color: var(--text-muted); font-size: .92rem; font-weight: 300; }
.price-card .price-note { color: var(--text-muted); font-size: .9rem; font-weight: 300; margin-bottom: var(--s-4); }
.price-card ul { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.price-card li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-2) 0; color: var(--text); font-size: .95rem; font-weight: 300;
}
.price-card li svg { color: var(--bronze); flex-shrink: 0; margin-top: 5px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border-color: var(--emerald); box-shadow: var(--shadow-md); }
.price-card .ribbon {
  position: absolute; top: -12px; left: var(--s-6);
  background: var(--emerald); color: #fff;
  font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-full);
}

/* Notice / disclaimer blocks */
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--card);
  border-radius: var(--r-sm);
  padding: var(--s-4) var(--s-5);
  font-size: .92rem; font-weight: 300; color: var(--text-muted);
}
.notice.warn { border-left-color: var(--warn-line); background: var(--warn-bg); color: var(--warn-ink); }
.notice strong { color: var(--ink); font-weight: 500; }
.notice.warn strong { color: var(--warn-ink); }

/* --------------------------------------------------------------------------
   Dose calculator
   -------------------------------------------------------------------------- */
.calc-shell { max-width: 720px; margin: 0 auto; }
.calc-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  background: var(--card); border: 1px solid var(--line);
  padding: var(--s-2); border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.calc-tab {
  padding: var(--s-3) var(--s-4);
  border: 0; border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--font-body); font-weight: 500; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
  min-height: 48px;
}
.calc-tab[aria-selected="true"] { background: var(--emerald); color: #fff; }
.calc-panel {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.calc-panel::before {
  content: "";
  position: absolute; top: 0; left: var(--s-6); right: var(--s-6);
  height: 11px;
  transform: translateY(-6px);
  background-image:
    repeating-linear-gradient(90deg, var(--tick-major) 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(90deg, var(--tick-minor) 0 1px, transparent 1px 8px);
  background-size: 100% 11px, 100% 6px;
  background-repeat: no-repeat;
}
.field { margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-weight: 500; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.field .helper { font-size: .86rem; font-weight: 300; color: var(--text-muted); margin-top: var(--s-2); margin-bottom: 0; }
.field select {
  width: 100%;
  padding: 14px var(--s-4);
  font: inherit; font-weight: 400; color: var(--ink);
  background: var(--paper);
  border: 1px solid #cfc8b6;
  border-radius: var(--r-sm);
  min-height: 50px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6b62' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:focus { border-color: var(--emerald); outline: none; box-shadow: 0 0 0 3px rgba(23, 82, 68, .16); }
.calc-result {
  border-radius: var(--r-md);
  background:
    radial-gradient(420px 220px at 85% -20%, rgba(173, 139, 77, .16), transparent 60%),
    var(--emerald-band);
  color: #fff;
  padding: var(--s-6);
  text-align: center;
  margin-top: var(--s-5);
}
.calc-result .r-label {
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-soft); font-weight: 600;
}
.calc-result .r-units {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 4.4rem);
  line-height: 1.05; color: #f4f1e8;
  font-variant-numeric: tabular-nums;
}
.calc-result .r-sub { color: #a9bcaa; font-size: .97rem; font-weight: 300; }
.calc-result.muted { background: var(--paper); border: 1px dashed #cfc8b6; color: var(--text-muted); }
.syringe-wrap { margin: var(--s-5) auto 0; max-width: 480px; }
.syringe-wrap svg { width: 100%; height: auto; }
.def-grid { display: grid; gap: var(--s-3); margin: var(--s-5) 0; }
@media (min-width: 720px) { .def-grid { grid-template-columns: repeat(3, 1fr); } }
.def-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
}
.def-card .def-term { font-family: var(--font-display); font-weight: 600; font-style: italic; color: var(--emerald); font-size: 1.35rem; }
.def-card p { font-size: .9rem; font-weight: 300; color: var(--text-muted); margin: var(--s-1) 0 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--emerald-band);
  color: #a9bcaa;
  padding: var(--s-8) 0 var(--s-6);
  font-size: .93rem;
  font-weight: 300;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  position: absolute; top: 10px; left: 0; right: 0;
  height: 11px;
  background-image:
    repeating-linear-gradient(90deg, rgba(216, 199, 160, .5) 0 1.5px, transparent 1.5px 40px),
    repeating-linear-gradient(90deg, rgba(216, 199, 160, .22) 0 1px, transparent 1px 8px);
  background-size: 100% 11px, 100% 6px;
  background-repeat: no-repeat;
}
.footer-grid { display: grid; gap: var(--s-6); margin-bottom: var(--s-7); padding-top: var(--s-5); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer .f-logo img { height: 40px; width: auto; filter: invert(1) brightness(1.7); opacity: .95; }
.site-footer .f-tag { margin-top: var(--s-4); max-width: 300px; }
.site-footer h4 {
  color: var(--brass-soft);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-3); }
.site-footer a { color: #c6d4c5; }
.site-footer a:hover { color: #fff; }
.f-legal {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--s-6);
  font-size: .82rem; color: #8ba18c; line-height: 1.7;
}
.f-legal h4 { color: #b9c9b8; font-size: .7rem; }
.f-legal p { margin-bottom: var(--s-4); }
.f-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  justify-content: space-between; align-items: center;
  margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: #8ba18c;
}
.f-bottom .f-links { display: flex; gap: var(--s-4); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Scroll-reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.max-prose { max-width: 68ch; }
.small { font-size: .88rem; font-weight: 300; color: var(--text-muted); }

@media (max-width: 719px) {
  .hero { padding: var(--s-8) 0; }
  .hero::before { width: 78vw; right: -28%; opacity: .04; }
  .section { padding: var(--s-8) 0; }
}
