/* ============================================================
   PAIN IS ILLEGAL™  —  "The Case Against Pain"
   Warm-editorial / legal-dossier aesthetic.
   Fraunces (display) · Hanken Grotesk (body) · Courier Prime (legal labels)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bone:        #F6F1E7;   /* warm cream background            */
  --bone-2:      #EFE7D6;   /* slightly deeper bone (cards)     */
  --paper:       #FBF8F1;   /* lightest paper (raised cards)    */
  --ink:         #211C16;   /* deep warm charcoal text          */
  --ink-soft:    #4A4136;   /* secondary text                   */
  --pine:        #1C4A3F;   /* primary brand green              */
  --pine-deep:   #143A30;   /* darkest green (header/footer)    */
  --pine-tint:   #2C5E51;   /* lighter green                    */
  --sage:        #DCE5D8;   /* soft green tint section bg        */
  --sage-line:   #C3D2BD;
  --amber:       #E2703A;   /* CTA / accent (terracotta-amber)  */
  --amber-deep:  #C85A28;
  --amber-soft:  #F6E1D2;
  --gold:        #B98A3C;   /* seal/stamp metallic accent       */
  --line:        #E0D6C2;   /* hairline on bone                 */
  --line-dark:   rgba(246,241,231,0.16);

  --maxw: 1180px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(33,28,22,0.06);
  --shadow:    0 14px 40px rgba(20,58,48,0.10);
  --shadow-lg: 0 30px 70px rgba(20,58,48,0.16);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-mono:    "Courier Prime", "Courier New", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 1.125rem;          /* 18px base — readability for older audience */
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--pine); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--amber-deep); }
strong { font-weight: 700; }
::selection { background: var(--amber); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.narrow { max-width: 720px; }
.measure { max-width: 64ch; }
.center { text-align: center; margin-inline: auto; }

/* Section background variants (the dossier "band" rhythm) */
.bg-bone  { background: var(--bone); }
.bg-sage  { background: var(--sage); }
.bg-paper { background: var(--paper); }
.bg-pine  { background: var(--pine-deep); color: var(--bone); }
.bg-pine h1, .bg-pine h2, .bg-pine h3 { color: #fff; }
.bg-pine a:not(.btn) { color: var(--amber); }
.bg-pine .lead, .bg-pine p { color: rgba(246,241,231,0.86); }

/* faint paper grain overlay on light sections */
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("images/grain.png");
  background-size: 200px 200px; opacity: 0.5; mix-blend-mode: multiply; z-index: 0;
}
.grain > .container { position: relative; z-index: 1; }

/* ---------- Legal-style eyebrow label ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; background: var(--amber); display: inline-block;
}
.bg-pine .eyebrow { color: var(--amber); }
.bg-sage .eyebrow { color: var(--pine); }
.bg-sage .eyebrow::before { background: var(--pine); }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.section-head .lead { margin-top: 0.9rem; color: var(--ink-soft); font-size: 1.15rem; max-width: 60ch; }
.bg-pine .section-head .lead { color: rgba(246,241,231,0.82); }

.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--amber); --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--ff-body); font-weight: 700; font-size: 1.05rem;
  line-height: 1; text-align: center;
  padding: 1.05rem 1.75rem; min-height: 56px;
  border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
              background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  box-shadow: 0 8px 22px rgba(226,112,58,0.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(226,112,58,0.36); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 220ms var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { --btn-bg: var(--amber); --btn-fg: var(--ink); }
.btn-primary:hover { --btn-bg: var(--amber-deep); color: #fff; }

.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--pine); --btn-bd: var(--pine);
  box-shadow: none;
}
.btn-outline:hover { background: var(--pine); color: #fff; box-shadow: var(--shadow); }

.bg-pine .btn-outline { --btn-fg: var(--bone); --btn-bd: rgba(246,241,231,0.5); }
.bg-pine .btn-outline:hover { background: var(--bone); color: var(--pine-deep); }

.btn-lg { font-size: 1.15rem; padding: 1.2rem 2.2rem; min-height: 62px; }

.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--pine-deep);
  color: var(--bone);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 240ms var(--ease), padding 240ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.22); }
.header-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.7rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1rem;
}
.header-logo-area { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; min-width: 0; }
.header-logo-img { height: 50px; width: auto; flex-shrink: 0; transition: height 240ms var(--ease); }
.site-header.scrolled .header-logo-img { height: 44px; }
.header-wordmark {
  font-family: var(--ff-display); font-weight: 600; font-size: 1.25rem;
  color: #fff; letter-spacing: -0.01em; white-space: nowrap; line-height: 1;
}
.header-wordmark .tm { font-size: 0.62em; vertical-align: super; opacity: 0.7; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.main-nav a:not(.btn) {
  color: rgba(246,241,231,0.86); font-weight: 600; font-size: 0.98rem;
  position: relative; padding: 0.3rem 0;
}
.main-nav a:not(.btn):hover, .main-nav a:not(.btn).active { color: #fff; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber); transition: width 200ms var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn).active::after { width: 100%; }
.main-nav .btn { margin-left: 0.4rem; min-height: 46px; padding: 0.7rem 1.3rem; font-size: 0.98rem; box-shadow: none; }

/* hamburger */
.hamburger {
  margin-left: auto; display: none; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 12px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform 240ms var(--ease), opacity 200ms var(--ease); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav (animated via max-height) */
.mobile-nav {
  display: flex; flex-direction: column;
  background: var(--pine-deep); border-top: 1px solid var(--line-dark);
  max-height: 0; opacity: 0; overflow: hidden; padding: 0 clamp(1.1rem, 4vw, 2.5rem);
  transition: max-height 320ms var(--ease), opacity 240ms var(--ease), padding 320ms var(--ease);
}
.mobile-nav.open { max-height: 560px; opacity: 1; padding: 0.5rem clamp(1.1rem, 4vw, 2.5rem) 1.3rem; }
.mobile-nav a:not(.btn) { color: rgba(246,241,231,0.9); font-weight: 600; font-size: 1.1rem; padding: 0.9rem 0.25rem; min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line-dark); }
.mobile-nav a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 1rem; width: 100%; }

/* info strip / tap-to-call */
.info-strip {
  background: var(--amber); color: var(--ink);
  font-weight: 600; font-size: 0.95rem; text-align: center;
  padding: 0.6rem 1rem;
}
.info-strip a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.info-strip a:hover { color: var(--pine-deep); }
.info-strip .dot { opacity: 0.5; margin: 0 0.55rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bone); padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero::after { /* warm radial glow */
  content: ""; position: absolute; z-index: 0; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -14vw; top: -16vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,112,58,0.16), rgba(226,112,58,0) 64%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.9rem, 8.2vw, 6.2rem);
  line-height: 0.96; letter-spacing: -0.03em; font-weight: 600;
}
.hero h1 .mark { color: var(--pine); position: relative; white-space: nowrap; }
.hero h1 .mark::after { /* hand-drawn amber underline */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em;
  background: var(--amber); border-radius: 4px; transform: rotate(-0.6deg);
  opacity: 0.92; z-index: -1;
}
.hero .subhead { margin-top: 1.5rem; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 34ch; line-height: 1.55; }
.hero .btn-row { margin-top: 2.1rem; }
.hero-trust {
  margin-top: 1.7rem; font-family: var(--ff-mono); font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}
.hero-trust .dot { color: var(--amber); }

/* hero seal/stamp */
.hero-seal-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-seal {
  width: min(86%, 380px); aspect-ratio: 1; transform: rotate(-7deg);
  filter: drop-shadow(0 20px 40px rgba(20,58,48,0.22));
  animation: sealIn 900ms var(--ease) both; animation-delay: 350ms;
}
@keyframes sealIn { from { opacity: 0; transform: rotate(-18deg) scale(0.86); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

/* ---------- Answer-first quotable block ---------- */
.answer-card {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--amber);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.answer-card .eyebrow { margin-bottom: 0.8rem; }
.answer-card p { font-size: 1.3rem; line-height: 1.55; color: var(--ink); font-family: var(--ff-display); font-weight: 400; }

/* ---------- The Charge (problem) ---------- */
.charge-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.tried-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.tried-list li {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500;
}
.tried-list li::before { content: "✕"; color: var(--amber-deep); font-weight: 800; flex-shrink: 0; }

/* ---------- Old vs New ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.compare-card { border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.2rem); border: 1px solid var(--line); position: relative; }
.compare-card h3 { font-size: 1.4rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.6rem; }
.compare-card .tag { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 6px; }
.compare-old { background: var(--bone-2); }
.compare-old h3 { color: var(--ink-soft); }
.compare-old .tag { background: rgba(33,28,22,0.08); color: var(--ink-soft); }
.compare-new { background: var(--pine); color: #fff; border-color: var(--pine); box-shadow: var(--shadow); }
.compare-new h3 { color: #fff; }
.compare-new .tag { background: var(--amber); color: var(--ink); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.compare li { display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.45; }
.compare-old li::before { content: "—"; color: var(--ink-soft); flex-shrink: 0; }
.compare-new li::before { content: "✓"; color: var(--amber); font-weight: 800; flex-shrink: 0; }
.compare-new li { color: rgba(255,255,255,0.92); }

/* ---------- The Method (3 steps) ---------- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.method-step {
  background: rgba(246,241,231,0.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); position: relative; overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.method-step:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 20px 44px rgba(0,0,0,0.25); }
.method-step .exhibit { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.method-step .num {
  font-family: var(--ff-display); font-size: 3.2rem; line-height: 1; color: var(--amber);
  font-weight: 600; opacity: 0.95; margin-bottom: 0.4rem;
}
.method-step h3 { color: #fff; font-size: 1.45rem; margin-bottom: 0.6rem; }
.method-step p { color: rgba(246,241,231,0.78); font-size: 1.02rem; line-height: 1.6; }

/* ---------- Life after relief ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 600ms var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.benefit-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: 0.9rem; }
.benefit-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1.08rem; font-weight: 500; }
.benefit-list .ck {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sage);
  color: var(--pine); display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; margin-top: 1px;
}

/* ---------- The Evidence (case files) ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.case-file {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-sm); position: relative;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.case-file:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-file .file-no { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 0.9rem; display: flex; justify-content: space-between; }
.case-file h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.case-file .story { color: var(--ink-soft); margin-bottom: 1.3rem; }
.stat-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.stat {
  flex: 1 1 0; min-width: 90px; text-align: center; background: var(--sage); border-radius: var(--radius-sm);
  padding: 0.9rem 0.6rem;
}
.stat .big { font-family: var(--ff-display); font-size: 1.7rem; color: var(--pine); font-weight: 600; line-height: 1; }
.stat .lbl { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.stat .arrow { color: var(--amber-deep); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative; box-shadow: var(--shadow-sm);
}
.quote::before { content: "\201C"; font-family: var(--ff-display); font-size: 4rem; color: var(--amber); opacity: 0.35; line-height: 0.6; position: absolute; top: 1rem; left: 1.1rem; }
.quote p { position: relative; z-index: 1; font-size: 1.08rem; color: var(--ink); margin-bottom: 1.1rem; padding-top: 1rem; }
.quote .who { font-weight: 700; color: var(--pine); }
.quote .where { font-size: 0.9rem; color: var(--ink-soft); }
.stars { color: var(--amber-deep); letter-spacing: 0.1em; margin-bottom: 0.6rem; }

/* ---------- The Witness (founder) ---------- */
.witness-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.witness-media { width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); position: relative; margin-inline: auto; border: 6px solid var(--paper); }
.witness-media img { width: 100%; height: 100%; object-fit: cover; }
.witness-media .seal-badge { position: absolute; right: -18px; bottom: -18px; width: 120px; transform: rotate(-8deg); }
.pull-quote { font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; color: var(--ink); margin: 1.4rem 0; font-weight: 500; }
.pull-quote .accent { color: var(--amber-deep); }
.sig { font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; color: var(--pine); margin-top: 0.6rem; }

/* ---------- Cost of waiting band ---------- */
.waiting { text-align: center; }
.waiting h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); max-width: 18ch; margin-inline: auto; }
.waiting p { max-width: 52ch; margin: 1.1rem auto 1.8rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.85rem; }
.faq {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.faq[open] { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform 240ms var(--ease); }
.faq summary .ico::before, .faq summary .ico::after { content: ""; position: absolute; background: var(--amber-deep); border-radius: 2px; }
.faq summary .ico::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq summary .ico::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; transition: transform 240ms var(--ease); }
.faq[open] summary .ico::after { transform: rotate(90deg); opacity: 0; }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 16ch; margin-inline: auto; color: #fff; }
.final-cta p { max-width: 50ch; margin: 1.1rem auto 2rem; }
.final-cta .reassure { margin-top: 1.3rem; font-family: var(--ff-mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(246,241,231,0.7); }
.final-cta .hero-seal { position: absolute; right: -60px; bottom: -60px; width: 260px; opacity: 0.12; transform: rotate(-12deg); animation: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(246,241,231,0.8); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.2rem; }
.footer-brand .header-logo-img { height: 56px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.98rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.footer-col a, .footer-col li { color: rgba(246,241,231,0.82); display: block; padding: 0.3rem 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: rgba(246,241,231,0.85); }
.footer-social a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(246,241,231,0.6); }
.footer-bottom a { color: rgba(246,241,231,0.7); }
.disclaimer { font-size: 0.8rem; color: rgba(246,241,231,0.55); line-height: 1.5; margin-top: 1.4rem; max-width: 100%; }

/* ---------- Decorative seal (CSS fallback if image missing) ---------- */
.seal-css {
  width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--pine);
  display: grid; place-items: center; color: var(--bone); text-align: center;
  border: 3px solid var(--amber); position: relative; padding: 14%;
}
.seal-css .seal-mono { font-family: var(--ff-display); font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 600; color: var(--amber); }
.seal-css .seal-sub { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.4rem; }

/* ============================================================
   Animations (per § 9.5)
   ============================================================ */
.reveal { transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.reveal-init { opacity: 0; transform: translateY(26px); }

.hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn 700ms var(--ease) forwards; }
.hero-anim.delay-1 { animation-delay: 120ms; }
.hero-anim.delay-2 { animation-delay: 260ms; }
.hero-anim.delay-3 { animation-delay: 400ms; }
.hero-anim.delay-4 { animation-delay: 540ms; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.card, .case-file, .method-step, .quote { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-anim, .hero-seal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-seal-wrap { order: -1; }
  .hero-seal { width: 220px; margin-inline: auto; }
  .hero .subhead { max-width: 100%; }
  .charge-grid, .compare, .split, .witness-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .witness-media { max-width: 420px; margin-inline: auto; }
  .split-media { max-width: 480px; margin-inline: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .compare { gap: 1rem; }
  .stat-row { gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .info-strip { font-size: 0.85rem; }
  .info-strip .dot { margin: 0 0.35rem; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
}

@media (max-width: 360px) {
  .header-wordmark { font-size: 1.05rem; }
  .header-logo-img { height: 42px; }
}
