/* ==========================================================================
   Coastal Wound Care Physical Therapy, PC
   site.css — brand tokens, typography, layout, components
   Palette sampled from the practice logo.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand — navy sampled directly from the logo artwork (#071628) */
  --navy-950: #071628;
  --navy-900: #0B2340;
  --navy-800: #123457;
  --navy-700: #1D4A75;
  --navy-500: #3C6E9B;

  /* Brand — gold from the logo arc and swoosh */
  --gold-600: #A8761F;
  --gold-500: #C4903A;
  --gold-400: #D9A94F;
  --gold-200: #EBD3A0;

  /* Surface — cool clinical paper, not warm cream */
  --paper:    #F6F8FA;
  --paper-2:  #EDF2F6;
  --white:    #FFFFFF;
  --mist:     #D7E2EC;
  --mist-dark:#B9CBDA;

  /* Text */
  --ink:      #0E1E2E;
  --slate:    #45596E;
  --slate-2:  #6D8298;
  --on-navy:  #E9F0F6;
  --on-navy-2:#A9BFD3;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Measure & rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(64px, 9vw, 128px);

  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(7, 22, 40, .06), 0 4px 16px rgba(7, 22, 40, .05);
  --shadow-md: 0 2px 6px rgba(7, 22, 40, .08), 0 18px 44px rgba(7, 22, 40, .10);
  --ring: 0 0 0 3px rgba(196, 144, 58, .45);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 2px; }
hr { border: 0; border-top: 1px solid var(--mist); margin: 0; }

/* ---------- 3. Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.35rem, 4.9vw, 3.95rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.075rem; line-height: 1.3; letter-spacing: -0.01em; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--utility);
  font-size: .715rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold-500);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.lede {
  font-size: clamp(1.075rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
  font-weight: 380;
}
.small { font-size: .875rem; line-height: 1.6; color: var(--slate-2); }
.mono { font-family: var(--utility); font-size: .8rem; letter-spacing: .06em; }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.section--navy { background: var(--navy-950); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p, .section--navy li { color: var(--on-navy-2); }
.section--navy .lede { color: var(--on-navy); }
.section--navy .eyebrow { color: var(--gold-400); }
.section--navy .eyebrow::before { background: var(--gold-400); }
.section--navy a { color: var(--gold-200); }
.section--tint { background: var(--paper-2); }

.grid { display: grid; gap: clamp(24px, 3.2vw, 44px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.grid--aside { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.grid--stick > .sticky { position: sticky; top: 108px; }
/* A two-column section whose second column is gone collapses to one,
   held to a readable measure rather than stretching the full width. */
.grid--split > :only-child,
.grid--aside > :only-child { grid-column: 1 / -1; max-width: 74ch; }

.section-head { max-width: 62ch; margin-bottom: clamp(34px, 4.5vw, 60px); }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- 5. Header ---------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold-500); color: var(--navy-950);
  padding: .7rem 1.1rem; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(196, 144, 58, .26);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--display); font-weight: 600; font-size: 1.0rem;
  letter-spacing: .035em; color: var(--gold-400); text-transform: uppercase;
}
.brand__sub {
  font-family: var(--utility); font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--on-navy-2); margin-top: 3px;
  display: flex; align-items: baseline;
}
/* The legal name carries an "and" the logo lockup drops. Setting it as a
   display-italic ampersand in gold makes the join read as deliberate. */
.brand__amp {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 1.02rem; line-height: 0; letter-spacing: 0;
  color: var(--gold-500); margin-right: .3em; position: relative; top: 1px;
}

.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a {
  color: var(--on-navy); text-decoration: none; font-size: .92rem;
  font-weight: 450; letter-spacing: .005em; padding: .4rem 0;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--gold-400); border-bottom-color: var(--gold-500); }
.nav a[aria-current="page"] { color: var(--gold-400); border-bottom-color: var(--gold-500); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(233,240,246,.32);
  color: var(--on-navy); padding: .5rem .8rem; border-radius: var(--radius);
  font-family: var(--utility); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer;
}

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-size: .93rem; font-weight: 550; letter-spacing: .01em;
  padding: .82rem 1.45rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-950); border-color: var(--gold-400); }
.btn--navy { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn--navy:hover { background: var(--navy-800); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--mist-dark); }
.btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-900); background: var(--white); }
.btn--ghost-light { background: transparent; color: var(--on-navy); border-color: rgba(233,240,246,.35); }
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-200); }
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- 7. Signature: the 30-day threshold rule ---------------------- */
/* A recurring structural device. Day 30 is the clinical eligibility line
   for advanced modalities, so the rule encodes real information. */
.threshold {
  position: relative;
  margin: clamp(40px, 5vw, 64px) 0;
  padding-top: 22px;
  border-top: 1px solid var(--mist);
}
.threshold::before {
  content: "";
  position: absolute; top: -4px; left: 33.333%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--paper);
}
.threshold__label {
  font-family: var(--utility); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate-2);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.threshold__label b { color: var(--gold-600); font-weight: 500; }
.section--navy .threshold { border-top-color: rgba(169,191,211,.24); }
.section--navy .threshold::before { box-shadow: 0 0 0 4px var(--navy-950); }
.section--navy .threshold__label { color: var(--on-navy-2); }
.section--navy .threshold__label b { color: var(--gold-400); }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  background: var(--navy-950);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 118px) clamp(88px, 11vw, 150px);
}
.hero::after { /* gold swoosh echoing the logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 96px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 74C240 18 520 4 760 30c220 24 420 54 680 34v34H0z' fill='%23F6F8FA'/%3E%3Cpath d='M0 70C240 14 520 0 760 26c220 24 420 54 680 34' fill='none' stroke='%23C4903A' stroke-width='2.5'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}
.hero--tint::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 74C240 18 520 4 760 30c220 24 420 54 680 34v34H0z' fill='%23EDF2F6'/%3E%3Cpath d='M0 70C240 14 520 0 760 26c220 24 420 54 680 34' fill='none' stroke='%23C4903A' stroke-width='2.5'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-400); font-variation-settings: "SOFT" 40, "WONK" 1; }
.hero .lede { color: var(--on-navy); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Page hero (interior pages) */
.pagehero { background: var(--navy-950); color: var(--on-navy); padding-block: clamp(56px, 7vw, 96px) clamp(78px, 9vw, 120px); position: relative; overflow: hidden; }
.pagehero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.pagehero .lede { color: var(--on-navy); }

/* ---------- 9. Signature: healing-trajectory panel ----------------------- */
.trajectory {
  background: linear-gradient(180deg, rgba(29,74,117,.30), rgba(11,35,64,.55));
  border: 1px solid rgba(196,144,58,.34);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.trajectory__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--utility); font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--on-navy-2);
  border-bottom: 1px solid rgba(169,191,211,.2); padding-bottom: .8rem; margin-bottom: 1.1rem;
}
.trajectory__head b { color: var(--gold-400); font-weight: 500; }
.trajectory svg { width: 100%; height: auto; display: block; }
.trajectory__note {
  font-family: var(--utility); font-size: .66rem; line-height: 1.6; letter-spacing: .04em;
  color: var(--on-navy-2); margin: 1rem 0 0; opacity: .85;
}
.traj-line { stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.1s cubic-bezier(.5,.05,.2,1) .35s forwards; }
.traj-dot { opacity: 0; animation: pop .5s ease forwards; }
.traj-dot:nth-of-type(1) { animation-delay: .9s; }
.traj-dot:nth-of-type(2) { animation-delay: 1.25s; }
.traj-dot:nth-of-type(3) { animation-delay: 1.6s; }
.traj-dot:nth-of-type(4) { animation-delay: 1.95s; }
.traj-dot:nth-of-type(5) { animation-delay: 2.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 10. Cards ---------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--slate); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow-md); border-color: var(--mist-dark); transform: translateY(-2px); }
.card--feature { border-top: 3px solid var(--gold-500); }
.card__more {
  margin-top: auto; padding-top: 1.15rem;
  font-family: var(--utility); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-600);
}
.card__more::after { content: " →"; }
.card--navy { background: rgba(255,255,255,.045); border-color: rgba(169,191,211,.22); }
.card--navy h3 { color: var(--white); }
.card--navy p { color: var(--on-navy-2); }

.stat { border-left: 2px solid var(--gold-500); padding-left: 1.15rem; }
.stat__num { font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; color: var(--navy-900); font-weight: 500; }
.section--navy .stat__num { color: var(--white); }
.stat__label { font-family: var(--utility); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-2); margin-top: .6rem; }
.section--navy .stat__label { color: var(--on-navy-2); }


/* Location cards on the home page. The phone sits with the address rather
   than as its own link: the whole card is already a link, and an anchor
   inside an anchor is invalid markup that browsers break apart. */
.card__addr { margin-bottom: 0; line-height: 1.6; }
.card__tel { color: var(--navy-700); font-weight: 500; }
a.card:hover .card__tel { color: var(--gold-600); }
.card__flag {
  font-family: var(--utility); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 .55rem; display: inline-block; width: fit-content; align-self: flex-start;
  border: 1px solid var(--gold-200); border-radius: 100px;
  padding: .22rem .7rem; background: rgba(235,211,160,.16);
}

/* ---------- 11. Media ---------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
.media--framed { border: 1px solid var(--mist); box-shadow: var(--shadow-sm); }
.media__caption { font-family: var(--utility); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-top: .8rem; }

/* ---------- 12. Lists ---------------------------------------------------- */
.ticks { list-style: none; margin: 0 0 1.3em; padding: 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .68rem; color: var(--slate); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border: 1.5px solid var(--gold-500); border-radius: 50%;
}
.section--navy .ticks li { color: var(--on-navy-2); }
.ticks--dense li { margin-bottom: .38rem; }

.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.spec li { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 1.2rem; padding: .95rem 0; border-bottom: 1px solid var(--mist); align-items: baseline; }
.spec dt, .spec .k { font-family: var(--utility); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
.spec .v { color: var(--ink); font-size: .96rem; }
/* Inside a card the column is too narrow for a two-column spec list. */
.card .spec li { grid-template-columns: 1fr; gap: .2rem; padding: .8rem 0; }
.card .spec .v { font-size: .95rem; line-height: 1.5; }
.section--navy .spec { border-top-color: rgba(169,191,211,.22); }
.section--navy .spec li { border-bottom-color: rgba(169,191,211,.22); }
.section--navy .spec .v { color: var(--on-navy); }

/* Numbered steps — used only where order genuinely matters */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 3.4rem; padding-bottom: 1.9rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--mist); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 31px; height: 31px; border-radius: 50%;
  border: 1px solid var(--gold-500); color: var(--gold-600);
  font-family: var(--utility); font-size: .72rem;
  display: grid; place-items: center; background: var(--paper);
}
.steps h4 { margin-bottom: .3rem; }
.steps p { font-size: .95rem; color: var(--slate); margin-bottom: 0; }
.section--tint .steps li::before { background: var(--paper-2); }
.section--navy .steps li::before { background: var(--navy-950); color: var(--gold-400); }
.section--navy .steps li:not(:last-child)::after { background: rgba(169,191,211,.24); }

/* ---------- 13. Panels, notes, tables ------------------------------------ */
.panel {
  background: var(--white); border: 1px solid var(--mist);
  border-left: 3px solid var(--gold-500); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
}
.panel > :last-child { margin-bottom: 0; }
.panel--quiet { border-left-color: var(--mist-dark); background: var(--paper-2); }
.panel--navy { background: rgba(255,255,255,.05); border-color: rgba(169,191,211,.2); border-left-color: var(--gold-500); }

.note {
  font-size: .875rem; line-height: 1.65; color: var(--slate-2);
  border-top: 1px solid var(--mist); padding-top: 1rem; margin-top: 1.6rem;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--mist); vertical-align: top; }
table.data thead th {
  font-family: var(--utility); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--slate-2); border-bottom: 1px solid var(--mist-dark); font-weight: 500;
}
table.data tbody tr:hover { background: var(--paper-2); }
table.data td:first-child { font-weight: 500; color: var(--ink); }

/* Evidence citations */
.evidence { list-style: none; margin: 0; padding: 0; }
.evidence li { padding: 1.15rem 0; border-bottom: 1px solid var(--mist); }
.evidence li:first-child { border-top: 1px solid var(--mist); }
.evidence__cite { font-family: var(--utility); font-size: .7rem; letter-spacing: .08em; color: var(--slate-2); text-transform: uppercase; display: block; margin-bottom: .45rem; }
.evidence p { font-size: .95rem; color: var(--slate); margin-bottom: .4rem; }
.evidence a { font-size: .82rem; }

/* ---------- 14. Forms ---------------------------------------------------- */

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--utility); font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: .97rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--mist-dark); border-radius: var(--radius);
  padding: .78rem .9rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-500); box-shadow: var(--ring); outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

/* ---------- 16. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-size: 1.09rem; font-weight: 500; color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 1.05rem;
  font-family: var(--utility); font-size: 1.2rem; color: var(--gold-600); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2.5rem 1.5rem 0; }
.faq details > div > :last-child { margin-bottom: 0; }
.faq p { font-size: .96rem; color: var(--slate); }

/* ---------- 17. CTA band ------------------------------------------------- */
.cta-band { background: var(--navy-900); color: var(--on-navy); padding-block: clamp(52px, 7vw, 92px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-navy-2); }
.cta-band .grid--split { align-items: center; }

/* ---------- 18. Footer --------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-2); padding-block: clamp(52px, 6vw, 78px) 2rem; font-size: .9rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.site-footer h4 {
  font-family: var(--utility); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 500; margin-bottom: 1.1rem;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(28px, 3.5vw, 52px); }
.footer__logo img { height: 132px; width: auto; margin-bottom: 1.2rem; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .55rem; }
.footer__bottom {
  margin-top: clamp(36px, 4vw, 56px); padding-top: 1.6rem;
  border-top: 1px solid rgba(169,191,211,.18);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: .78rem; color: rgba(169,191,211,.75);
}
.footer__bottom a { color: rgba(169,191,211,.9); }
.footer__legal { max-width: 78ch; font-size: .76rem; line-height: 1.65; color: rgba(169,191,211,.78); margin-top: 1.2rem; }

.is-disabled { color: var(--slate-2); pointer-events: none; text-decoration: none; }
code { font-family: var(--utility); font-size: .84em; background: var(--paper-2); padding: .12em .4em; border-radius: 2px; color: var(--navy-800); }

/* ---------- 19. Motion --------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .traj-line { animation: none; stroke-dashoffset: 0; }
  .traj-dot { animation: none; opacity: 1; }
  .btn:hover, a.card:hover { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 20. Responsive ----------------------------------------------- */
@media (max-width: 1240px) {
  .nav { gap: 1.05rem; }
  .nav a { font-size: .86rem; }
  .brand__name { font-size: .92rem; }
}
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem var(--gut) 1.4rem; border-bottom: 1px solid rgba(196,144,58,.28);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid rgba(169,191,211,.14); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: rgba(196,144,58,.5); }
  .nav .btn { margin-top: 1rem; border-bottom: none; }
  .nav .btn:hover { border-bottom: 1px solid var(--gold-400); }
  .nav-toggle { display: inline-block; }
  .site-header__inner { position: relative; }
  .hero__grid, .grid-2, .grid-3, .grid--split, .grid--aside { grid-template-columns: minmax(0, 1fr); }
  .grid--stick > .sticky { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .spec li { grid-template-columns: 1fr; gap: .3rem; }
  .brand__text { display: none; }
  .brand img { height: 42px; }
  .threshold::before { left: 24%; }
}

/* ---------- 21. Print ---------------------------------------------------- */
@media print {
  .site-header, .nav, .cta-band, .slot { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .pagehero, .section--navy { background: #fff !important; color: #000 !important; }
  .hero h1, .pagehero h1, .section--navy h2, .section--navy h3 { color: #000 !important; }
  .hero::after { display: none; }
}
