/* ============================================================================
   PNW Tax Resolution — design system
   Concept: a light Pacific Northwest morning. No Blame · No Shame · Just
   Solutions. Deep pine as ink, sunrise amber as the one accent — it is the
   light, never decoration.

   Structure: tokens · reset · utilities · header/nav · hero · sections ·
   components · footer · responsive · reduced motion · print
   ============================================================================ */

/* ---- tokens ------------------------------------------------------------- */
:root {
  /* brand, sampled from the logo */
  --pine:   #123326;
  --forest: #374b40;
  --sage:   #4e625b;
  --cream:  #f7f4ec;
  --snow:   #ffffff;

  /* the light */
  --amber:  #e7a34b;
  --gold:   #f2c879;

  --ground: #fbfaf6;      /* airy off-white page ground */
  --panel:  #f2efe6;      /* faint warm panel */
  --ink:    #16281f;      /* deep pine-ink text */
  --muted:  #55625a;      /* body text */
  --amber-ink: #9c6321;   /* accent darkened for AA contrast on light ground */
  --line:   color-mix(in oklab, var(--ink) 12%, transparent);
  --line-2: color-mix(in oklab, var(--ink) 20%, transparent);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 66ch;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1200px;
  --radius: 16px;
  --shadow: 0 24px 60px -28px rgba(18, 51, 38, .32);
  --shadow-sm: 0 10px 30px -18px rgba(18, 51, 38, .4);

  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.93rem);
  --step-0:  clamp(1rem, 0.96rem + 0.3vw, 1.15rem);
  --step-1:  clamp(1.22rem, 1.08rem + 0.7vw, 1.6rem);
  --step-2:  clamp(1.7rem, 1.35rem + 1.7vw, 2.6rem);
  --step-3:  clamp(2.3rem, 1.75rem + 2.9vw, 3.9rem);
}

/* ---- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 2px; border-radius: 4px; }

/* ---- utilities ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--pine); color: var(--cream); padding: .8em 1.2em;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
  transition: top .2s ease;
}
.skip:focus { top: 0; }
.eyebrow {
  font-weight: 700; font-size: var(--step--1); letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber-ink);
}
/* unverified business fact — visible to the client, unmistakable in review */
.ph {
  background: color-mix(in oklab, var(--amber) 24%, transparent);
  border-bottom: 1px dashed var(--amber-ink); padding: 0 .25em; border-radius: 3px;
  font-style: normal; color: var(--pine);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 600; font-size: var(--step-0); line-height: 1.2;
  padding: .85em 1.5em; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn--sm { padding: .6em 1.15em; font-size: var(--step--1); }
.btn--block { display: flex; width: 100%; }
.btn--sun {
  background: linear-gradient(120deg, var(--amber), var(--gold));
  color: #2a1a06; box-shadow: 0 8px 26px -12px rgba(231, 163, 75, .8);
}
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(231, 163, 75, .9); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }

/* Reveals — scoped to html.js (set synchronously in <head>) so that if the
   script never runs, the content is simply visible instead of invisible.
   Hiding content behind JS that may not execute is how a page ends up blank
   for a crawler or a blocked-script visitor. */
.js .reveal { opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.lines .line { display: block; overflow: hidden; }
.js .lines .line > span { display: block; transform: translateY(110%);
  transition: transform 1s cubic-bezier(.16,1,.3,1); }
.lines.is-in .line:nth-child(1) > span { transition-delay: .05s; }
.lines.is-in .line:nth-child(2) > span { transition-delay: .15s; }
.lines.is-in .line:nth-child(3) > span { transition-delay: .25s; }
.lines.is-in .line > span { transform: none; }

/* ============================================================================
   Header & navigation
   Desktop: inline links; dropdowns open on hover AND :focus-within, so they
   work with no JS and with a keyboard. JS only mirrors state into aria and
   drives the mobile drawer.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--ground) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(18,51,38,.6); }
.site-header__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: .6rem var(--gutter);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
}
.brandmark { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brandmark__icon { height: 38px; width: auto; }
.brandmark__text {
  font-family: var(--serif); font-weight: 500; font-size: 1.22rem;
  line-height: .9; color: var(--pine); letter-spacing: .02em;
}
.brandmark__text em {
  display: block; font-style: normal; font-family: var(--sans);
  font-weight: 600; font-size: .44em; letter-spacing: .19em; text-transform: uppercase;
  color: var(--sage); margin-top: .42em;
}

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.5rem); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-block; padding: .7rem .2rem; text-decoration: none;
  font-weight: 600; font-size: var(--step--1); letter-spacing: .01em; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--pine); border-bottom-color: var(--amber); }
.nav__link[aria-current="page"] { border-bottom-color: var(--amber); }
.nav__caret {
  display: grid; place-items: center; width: 22px; height: 32px; cursor: pointer;
  color: var(--sage); transition: transform .2s ease;
}
.nav__caret svg { width: 10px; }
.nav__item[data-open] .nav__caret,
.nav__item:hover .nav__caret { transform: rotate(180deg); color: var(--amber-ink); }

.nav__panel {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  padding-top: 12px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel,
.nav__item[data-open] > .nav__panel {
  opacity: 1; visibility: visible; transform: none;
}
.menu {
  background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.menu__inner { display: grid; grid-template-columns: repeat(3, minmax(220px, 250px)); padding: 1.5rem; }
.menu__inner--single { grid-template-columns: minmax(280px, 320px); }
.menu__col { padding-inline: .75rem; border-left: 1px solid var(--line); }
.menu__col:first-child { border-left: 0; padding-left: 0; }
.menu__inner--single .menu__col { border: 0; padding: 0; }
.menu__head {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink);
}
.menu__blurb { font-size: .8rem; color: var(--muted); margin: .3rem 0 .8rem; line-height: 1.45; }
.menu__link {
  display: block; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: 10px;
  text-decoration: none; transition: background-color .15s ease;
}
.menu__link:hover { background: var(--panel); }
.menu__link b { display: block; font-weight: 600; font-size: .93rem; color: var(--pine); }
.menu__link span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: .1rem; }
.menu__foot {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.5rem; background: var(--panel); border-top: 1px solid var(--line);
}
.menu__all { font-weight: 700; font-size: var(--step--1); color: var(--pine); text-decoration: none;
  border-bottom: 2px solid var(--amber); }
.menu__note { font-size: .78rem; color: var(--muted); margin-inline-end: auto; }

.site-header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.site-header__cta .btn--ghost { padding: .6em 1.15em; font-size: var(--step--1); }

.burger { display: none; width: 46px; height: 46px; cursor: pointer; place-items: center; flex: none; }
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 24px; height: 2px; background: var(--pine); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after  { top: 7px; }
body.nav-open .burger__bars { background: transparent; }
body.nav-open .burger__bars::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---- hero (home) -------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  min-height: min(720px, calc(100svh - 70px));
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}
.hero__title {
  font-size: clamp(2.6rem, 1.9rem + 3.6vw, 4.8rem); line-height: 1.0;
  letter-spacing: -.022em; color: var(--ink); margin-top: .5rem;
}
.hero__title em { font-style: italic; color: var(--amber-ink); }
.hero__sub { margin-top: 1.3rem; color: var(--muted); font-size: var(--step-1); max-width: 44ch; }
.hero__cta { margin-top: 1.9rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.trust {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .5rem .65rem;
  font-size: var(--step--1); color: var(--muted);
}
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none;
}
.hero__scene { position: relative; overflow: hidden; background: linear-gradient(#cbdde1, #eef0e6); }
.hero__scene #scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scene .scene-fallback {
  position: absolute; inset: 0;
  background: #dceef1 url("assets/scene-scape.png") center 72% / cover no-repeat;
}
body.has-scene .hero__scene .scene-fallback { display: none; }

/* ---- page banner -------------------------------------------------------- */
.pagehero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(2.5rem, 6vh, 4rem);
}
.pagehero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, #cfe0e4 0%, #e9ede4 55%, var(--ground) 100%);
}
.pagehero::after {
  content: ""; position: absolute; z-index: -1; right: -3%; bottom: 0;
  width: min(720px, 62%); height: 88%;
  background: url("assets/scene-scape.png") right bottom / contain no-repeat; opacity: .42;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 90%);
  mask-image: linear-gradient(to left, #000 30%, transparent 90%);
}
.pagehero h1 { font-size: var(--step-3); max-width: 20ch; margin-top: .4rem; }
.pagehero h1 em { font-style: italic; color: var(--amber-ink); }
.pagehero__lede { margin-top: 1rem; max-width: 56ch; color: var(--muted); font-size: var(--step-1); }

.crumbs { margin-bottom: 1.1rem; font-size: var(--step--1); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "\203A"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: var(--amber-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- sections ----------------------------------------------------------- */
.section { padding-block: clamp(3.2rem, 8vh, 5.5rem); }
.section--alt { background: color-mix(in oklab, var(--panel) 62%, var(--ground)); }
.section__head { max-width: 62ch; }
.section__head h2 { font-size: var(--step-2); margin-top: .3rem; }
.section__head p { color: var(--muted); margin-top: .7rem; font-size: var(--step-1); }
.section__more { margin-top: 2.2rem; display: flex; gap: .7rem; flex-wrap: wrap; }

.act__num { font-weight: 700; letter-spacing: .28em; font-size: var(--step--1);
  color: var(--amber-ink); text-transform: uppercase; }
.act__word { font-size: var(--step-3); margin-top: .3rem; max-width: 22ch; }
.act__body { margin-top: 1.4rem; max-width: var(--measure); font-size: var(--step-1); color: var(--muted); }

/* ---- cards / grids ------------------------------------------------------ */
.cards { margin-top: 2.6rem; display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.card { padding: 1.5rem 1.4rem; border-radius: var(--radius);
  background: var(--snow); border: 1px solid var(--line); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--muted); margin-top: .5rem; font-size: var(--step-0); }

.svc-list { margin-top: 2.2rem; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.svc-card {
  display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--snow); border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.svc-card h3 { font-size: var(--step-1); display: flex; gap: .55rem; align-items: baseline; }
.svc-card h3::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--amber); flex: none; translate: 0 -.15em;
}
.svc-card p { color: var(--muted); margin-top: .6rem; font-size: var(--step-0); }
.svc-card__more {
  margin-top: auto; padding-top: 1rem; font-size: var(--step--1); font-weight: 700;
  color: var(--amber-ink);
}
.svc-card__more::after { content: " \2192"; }
.svc-group + .svc-group { margin-top: clamp(2.5rem, 6vh, 4rem); }

/* two columns, not three — these carry more text than a card grid wants */
.why { margin-top: 2.5rem; display: grid; gap: 1.8rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.why__item { padding-left: 1.1rem; border-left: 2px solid var(--amber); }
.why__item h3 { font-size: var(--step-1); }
.why__item p { color: var(--muted); margin-top: .45rem; }

.steps { counter-reset: step; margin-top: 2.4rem; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { padding: 1.5rem 1.4rem; border-radius: var(--radius);
  background: var(--snow); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: var(--step-2); color: var(--amber);
  display: block; line-height: 1; margin-bottom: .5rem;
}
.step h3 { font-size: var(--step-1); }
.step p { margin-top: .45rem; color: var(--muted); }

/* ---- prose + aside ------------------------------------------------------ */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose p { max-width: var(--measure); font-size: var(--step-1); color: var(--muted); }
.prose p + p { margin-top: 1.3rem; }
.prose--wide { max-width: 72ch; }
.prose a, .faq__a a, .act__body a { color: var(--amber-ink); text-decoration: underline;
  text-underline-offset: 3px; }

.aside {
  position: sticky; top: 96px; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--snow); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.aside__head { font-family: var(--serif); font-size: var(--step-1); color: var(--pine); }
.aside__note { margin-top: .8rem; font-size: var(--step--1); color: var(--muted); text-align: center; }
.fit { margin: 1.1rem 0 1.4rem; display: grid; gap: .9rem; }
.fit li { display: grid; gap: .15rem; padding-left: 1.5rem; position: relative; }
.fit li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: .55rem; height: .55rem;
  border-radius: 50%; background: var(--amber);
}
.fit b { font-size: var(--step-0); color: var(--pine); font-weight: 600; }
.fit span { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }

.honest {
  margin-top: 2.2rem; padding: 1.6rem 1.7rem; border-radius: var(--radius);
  background: color-mix(in oklab, var(--amber) 11%, var(--ground));
  border: 1px solid color-mix(in oklab, var(--amber) 42%, transparent);
  max-width: 78ch;
}
.honest__head { font-family: var(--serif); font-size: var(--step-1); color: var(--pine); margin-bottom: .5rem; }
.honest p { color: var(--muted); }

.ticks { display: grid; gap: .5rem; margin-top: 1rem; }
.ticks li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: var(--step--1);
  line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: .1rem; top: .42em; width: .5rem; height: .28rem;
  border-left: 2px solid var(--amber-ink); border-bottom: 2px solid var(--amber-ink);
  transform: rotate(-45deg);
}

/* ---- process stages ----------------------------------------------------- */
.stages { margin-top: 2.5rem; display: grid; gap: 2rem; }
.stage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.stage:last-child { border-bottom: 0; }
.stage__n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  color: var(--amber); }
.stage__body h2 { font-size: var(--step-2); }
.stage__sub { color: var(--amber-ink); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .04em; margin-bottom: .8rem; }
.stage__body p { color: var(--muted); max-width: var(--measure); }

/* ---- IRS notice guide --------------------------------------------------- */
.notices { margin-top: 2.5rem; display: grid; gap: 1rem; }
.notice { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem;
  padding: 1.5rem 1.6rem; border-radius: var(--radius);
  background: var(--snow); border: 1px solid var(--line); border-left: 4px solid var(--sage); }
.notice--low      { border-left-color: #7fa08d; }
.notice--medium   { border-left-color: var(--gold); }
.notice--high     { border-left-color: var(--amber); }
.notice--critical { border-left-color: #b5462f; }
.notice__code b { font-family: var(--serif); font-size: var(--step-1); color: var(--pine); display: block; }
.notice__lvl {
  display: inline-block; margin-top: .4rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px; padding: .15em .6em;
}
.notice--critical .notice__lvl { color: #8e3522; border-color: #b5462f; }
.notice__body h2 { font-size: var(--step-1); }
.notice__body p { color: var(--muted); margin-top: .5rem; font-size: var(--step-0); }
.notice__do b { color: var(--pine); }

/* ---- glossary ----------------------------------------------------------- */
.glossary { margin-top: 2rem; max-width: 82ch; }
.term { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.term dt { font-family: var(--serif); font-size: var(--step-1); color: var(--pine); }
.term dd { margin: .4rem 0 0; color: var(--muted); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 2rem; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; display: block;
  padding: 1.2rem 2.6rem 1.2rem 0; font-family: var(--serif); font-size: var(--step-1); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: .95rem;
  font-size: 1.6rem; line-height: 1; color: var(--amber-ink); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.3rem; }
.faq__a p { color: var(--muted); max-width: 74ch; }
.faq-group + .faq-group { margin-top: clamp(2.2rem, 5vh, 3.5rem); }
.faq-group__head { font-size: var(--step-2); }

/* ---- areas -------------------------------------------------------------- */
.areas { margin-top: 2.2rem; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.area-chip, .area-card {
  padding: 1.4rem 1.5rem; border-radius: var(--radius); text-decoration: none;
  background: var(--snow); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.area-chip:hover, .area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.area-chip b { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); color: var(--pine);
  display: block; }
.area-chip span { display: block; margin-top: .35rem; font-size: var(--step--1); color: var(--muted); }
.area-card { display: flex; flex-direction: column; }
.area-card h3 { font-size: var(--step-2); }
.area-card p { color: var(--muted); margin-top: .6rem; }
.cities { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cities li {
  padding: .35em .9em; border-radius: 999px; background: var(--snow);
  border: 1px solid var(--line); font-size: var(--step--1); color: var(--muted);
}
.cities__note { margin-top: .9rem; font-size: var(--step--1); color: var(--muted); opacity: .85; }

/* ---- CTA band ----------------------------------------------------------- */
.band {
  padding-block: clamp(4rem, 11vh, 7rem); text-align: center;
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in oklab, var(--gold) 26%, transparent), transparent 62%),
    var(--ground);
  border-top: 1px solid var(--line);
}
.band h2 { font-size: var(--step-3); max-width: 20ch; margin-inline: auto; }
.band p { margin: 1.1rem auto 2rem; max-width: 50ch; color: var(--muted); font-size: var(--step-1); }
.band__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.band__note { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); }

/* ---- contact ------------------------------------------------------------ */
.urgent {
  padding: 1rem 1.3rem; border-radius: 12px; margin-bottom: 2rem; max-width: 78ch;
  background: color-mix(in oklab, #b5462f 9%, var(--ground));
  border: 1px solid color-mix(in oklab, #b5462f 34%, transparent);
  color: var(--ink); font-size: var(--step-0);
}
.urgent b { color: #8e3522; }
.contact-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1.15fr .85fr; }
.form__head { font-size: var(--step-2); margin-bottom: 1.4rem; }
.form { display: grid; gap: 1rem; max-width: 34rem; position: relative; }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; padding: .75em .95em; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--snow); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--amber) 70%, transparent); outline-offset: 1px;
  border-color: var(--amber-ink);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--step--1); color: var(--muted); max-width: 46ch; }
.form__demo {
  font-size: var(--step--1); padding: .7em 1em; border-radius: 10px;
  background: color-mix(in oklab, var(--amber) 20%, transparent); color: var(--pine);
}
.form__ok {
  display: none; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: color-mix(in oklab, var(--amber) 20%, var(--ground)); color: var(--pine);
}
.form__ok b { font-family: var(--serif); font-size: var(--step-1); }
.form__ok p { margin-top: .4rem; color: var(--muted); }
.contact-side .row { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-side .row:first-child { border-top: 0; }
.contact-side h3 {
  font-family: var(--sans); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--amber-ink);
}
.row__val { margin-top: .3rem; font-family: var(--serif); font-size: var(--step-1); color: var(--pine); }
.contact-side .ticks li { font-size: var(--step--1); }

/* ---- legal -------------------------------------------------------------- */
.legal { max-width: 76ch; }
.legal__eff { font-size: var(--step--1); color: var(--muted); }
.legal__sec { margin-top: 2rem; }
.legal__sec h2 { font-size: var(--step-1); }
.legal__sec p { color: var(--muted); margin-top: .5rem; }

/* ---- footer ------------------------------------------------------------- */
.footer { padding-block: clamp(3rem, 7vh, 4.5rem) 3rem; background: var(--panel);
  border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.footer__top { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.4fr);
  gap: 2.5rem 3rem; }
.footer__tag { margin-top: 1rem; font-family: var(--serif); font-size: var(--step-1); color: var(--pine); }
.footer__contact { margin-top: 1rem; line-height: 1.9; }
.footer__contact a { color: var(--pine); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem 1.5rem; }
/* Long entries ("Wage Garnishment & Levy Release") must wrap rather than force
   their grid track wide enough to push the page into horizontal scroll. */
.footer__col { min-width: 0; }
.footer__col a { overflow-wrap: break-word; }
.footer__head { font-weight: 700; color: var(--pine); text-transform: uppercase;
  letter-spacing: .12em; font-size: .72rem; margin-bottom: .8rem; }
.footer__col li { margin-bottom: .45rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--pine); text-decoration: underline; }
.footer__legal {
  max-width: 92ch; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  line-height: 1.55; font-size: .78rem; color: color-mix(in oklab, var(--muted) 88%, transparent);
}
.footer__legal + .footer__legal { margin-top: .8rem; padding-top: 0; border-top: 0; }

/* ---- mobile conversion bar ---------------------------------------------- */
.mobilebar { display: none; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .menu__inner { grid-template-columns: repeat(2, minmax(200px, 240px)); }
  .menu__col:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 980px) {
  .burger { display: grid; margin-inline-start: auto; }
  .site-header__cta { display: none; }

  /* The drawer is position:fixed, but backdrop-filter on .site-header makes
     that header a containing block for fixed descendants — which collapsed the
     drawer to the header's own box. Drop the filter while the drawer is open
     so the drawer resolves against the viewport again. */
  body.nav-open .site-header {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: var(--ground);
  }
  .nav {
    position: fixed; inset: 0; margin: 0; z-index: 45;
    background: var(--ground);
    /* pad past the header rather than offsetting by a hard-coded height */
    padding: 5.2rem var(--gutter) 6rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  /* The drawer lives inside .site-header, so it paints over its own siblings.
     Lift the brand and the close button back above it. */
  .brandmark, .burger { position: relative; z-index: 46; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 1.05rem 0; font-size: 1.05rem; border-bottom: 0; }
  .nav__link[aria-current="page"] { color: var(--amber-ink); }
  .nav__caret { width: 46px; height: 46px; }

  /* accordion, not a dropdown */
  .nav__panel {
    position: static; translate: none; transform: none; padding-top: 0;
    width: 100%; display: none; opacity: 1; visibility: visible;
  }
  .nav__item:hover > .nav__panel, .nav__item:focus-within > .nav__panel { display: none; }
  .nav__item[data-open] > .nav__panel { display: block; }
  /* no JS: nothing can toggle the accordion, so show the links instead of
     trapping them behind a dead button */
  html:not(.js) .nav__panel { display: block; }

  .menu { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .menu__inner, .menu__inner--single { grid-template-columns: 1fr; padding: 0 0 1rem; gap: 1.2rem; }
  .menu__col { border-left: 0; padding-left: 0; }
  .menu__foot { background: transparent; border: 0; padding: 0 0 1.2rem; }
  .menu__note { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__scene { order: -1; min-height: 38vh; }
  .hero__content { padding: clamp(2rem, 7vw, 3rem) var(--gutter) clamp(2.5rem, 7vw, 3.5rem); }
  .prose-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; gap: .8rem; }
  .stage { grid-template-columns: 1fr; gap: .5rem; }
  .pagehero::after { opacity: .28; width: 78%; }

  /* phone-first traffic: keep the two actions permanently reachable */
  .mobilebar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--ground) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobilebar a {
    flex: 1; text-align: center; padding: .8em 1em; border-radius: 999px;
    font-weight: 700; font-size: .92rem; text-decoration: none;
  }
  .mobilebar__call { border: 1px solid var(--line-2); color: var(--pine); }
  .mobilebar__cta { background: linear-gradient(120deg, var(--amber), var(--gold)); color: #2a1a06; }
  body { padding-bottom: 4.2rem; }
  body.nav-open .mobilebar { display: none; }
}

@media (max-width: 420px) {
  .brandmark__text { font-size: 1.05rem; }
  .brandmark__icon { height: 32px; }
}

/* ---- reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .js .lines .line > span, .lines .line > span { transform: none !important; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- print -------------------------------------------------------------- */
@media print {
  .site-header, .mobilebar, .band__cta, .skip, .nav { display: none !important; }
  body { padding: 0; background: #fff; }
  .js .reveal, .reveal, .js .lines .line > span { opacity: 1 !important; transform: none !important; }
  .pagehero::before, .pagehero::after { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
