/* ABC 123 Tax Service: site styles
   Colors: paper, ink, cobalt (A), marigold (B), coral (C). */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #FAF8F3;
  --paper-2: #F2EEE4;
  --paper-3: #E8E2D4;
  --white: #FFFEFB;
  --ink: #121A2B;
  --ink-2: #2A3347;
  --muted: #4A5468;
  --cobalt: #2F5BEA;
  --cobalt-d: #2348C4;
  --cobalt-t: #E6ECFD;
  --marigold: #F6B93B;
  --marigold-t: #FDF1D6;
  --coral: #F2654A;
  --coral-t: #FDE5DF;
  --line: rgba(18, 26, 43, .14);
  --line-2: rgba(18, 26, 43, .26);

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Labels use the body face with tabular figures (two font families only). */
  --f-mono: "Instrument Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --r: 14px;
  --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--cobalt); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--marigold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
input, textarea { caret-color: var(--cobalt); }
html { scrollbar-color: var(--ink-2) var(--paper-2); }
.num, .bring__count, .done__sum, .nav__phone, .chips--days, .pp__title, .stage__label, .facts dt, .direct small, .foot__h, .portrait figcaption, .done__sum dt { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholders: obvious on purpose */
.ph {
  background: var(--coral-t);
  color: #8A2412;
  border: 1.5px dashed var(--coral);
  border-radius: 6px;
  padding: .1em .45em;
  font: 500 .82em/1.5 var(--f-mono);
  letter-spacing: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:hover .ic use[href="#i-arrow"] { }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { --bg: var(--cobalt); --fg: #fff; --bd: var(--cobalt); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -8px rgba(47,91,234,.7); }
.btn--primary:hover { --bg: var(--cobalt-d); --bd: var(--cobalt-d); }
.btn--ghost:hover { --bg: var(--paper-2); }
.btn--sm { min-height: 48px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: height 260ms var(--ease-out), background-color 260ms ease, box-shadow 260ms ease;
}
.nav.is-scrolled {
  --nav-h: 60px;
  height: 60px;
  background: rgba(250, 248, 243, .94);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(8px)) { .nav.is-scrolled { background: rgba(250, 248, 243, .82); backdrop-filter: saturate(1.4) blur(10px); } }
.nav__inner { height: 100%; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { display: flex; gap: 2px; }
.brand__mark span {
  display: grid; place-items: center; width: 24px; height: 28px; border-radius: 6px;
  font: 800 15px/1 var(--f-display); color: var(--ink);
}
.brand__mark span:nth-child(1) { background: var(--cobalt); color: #fff; }
.brand__mark span:nth-child(2) { background: var(--marigold); }
.brand__mark span:nth-child(3) { background: var(--coral); }
.brand__text { font: 800 1.15rem/1 var(--f-display); letter-spacing: -.02em; }
.brand__text span { font-weight: 500; color: var(--muted); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink-2); transition: background-color 200ms ease; }
.nav__links a:hover { background: var(--paper-2); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font: 600 1rem/1 var(--f-body); text-decoration: none; padding: 0 4px; }
.nav__phone .ic { width: 18px; height: 18px; color: var(--cobalt); }

/* ---------- Shared section parts ---------- */
section { position: relative; }
.h2 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); max-width: 18ch; }
.h2--light { color: var(--paper); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.rule { border: 0; height: 1.5px; background: var(--ink); margin: 36px 0 0; transform-origin: left; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(32px, 7vh, 88px)) 0 clamp(56px, 9vh, 112px); min-height: min(100svh, 980px); display: flex; align-items: center; overflow: clip; }
.hero__ruled {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(var(--gutter) + 6px), rgba(242,101,74,.35) calc(var(--gutter) + 6px), rgba(242,101,74,.35) calc(var(--gutter) + 7.5px), transparent calc(var(--gutter) + 7.5px)),
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(47,91,234,.09) 39px 40px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero__title { font-size: clamp(2.4rem, .8rem + 4.6vw, 5rem); line-height: .98; letter-spacing: -.04em; font-variation-settings: "opsz" 96; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: inline-block; }
.abc { white-space: nowrap; }
.abc span { display: inline-block; }
.abc__a { color: var(--cobalt); }
.abc__b { color: var(--ink); background: linear-gradient(transparent 58%, var(--marigold) 58%, var(--marigold) 92%, transparent 92%); padding: 0 .04em; }
.abc__c { color: var(--coral); -webkit-text-stroke: 0; }
.hero__lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 34em; color: var(--ink-2); margin: 28px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 22px 0 0; font-size: .95rem; color: var(--muted); }

/* Desk scene */
.desk { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; justify-self: end; }
.desk__mat { position: absolute; inset: 6% 2% 4% 4%; border-radius: 28px; background: var(--paper-2); border: 1.5px solid var(--line); transform: rotate(-2deg);
  background-image: radial-gradient(rgba(18,26,43,.08) 1px, transparent 1.2px); background-size: 18px 18px; }

/* Paper pieces (shared by hero and stage) */
.pp {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  transform: rotate(var(--r));
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: clamp(10px, 1.5vw, 18px) clamp(10px, 1.5vw, 18px) clamp(12px, 1.7vw, 20px);
  box-shadow: 0 1px 0 rgba(18,26,43,.08), 0 14px 28px -18px rgba(18,26,43,.45);
  display: flex; flex-direction: column; gap: 8px;
  --tint: var(--cobalt); --tint-t: var(--cobalt-t);
  transition: translate 300ms var(--ease-out);
}
.c-cobalt { --tint: var(--cobalt); --tint-t: var(--cobalt-t); }
.c-marigold { --tint: var(--marigold); --tint-t: var(--marigold-t); }
.c-coral { --tint: var(--coral); --tint-t: var(--coral-t); }
.c-ink { --tint: var(--ink); --tint-t: var(--paper-2); }
.pp__band { display: block; height: 7px; border-radius: 4px; background: var(--tint); width: 100%; }
.pp__title { font: 500 clamp(9px, 1.1vw, 13px)/1 var(--f-mono); letter-spacing: .02em; color: var(--ink); }
.pp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.pp__grid i { display: block; height: 14px; border: 1.2px solid var(--line-2); border-radius: 3px; background: var(--tint-t); }
.pp__rows { display: flex; flex-direction: column; gap: 6px; }
.pp__rows i { display: block; height: 4px; border-radius: 2px; background: var(--line-2); }
.pp__rows i:nth-child(2n) { width: 72%; }
.pp__rows i:nth-child(3n) { width: 86%; }
.pp__rows--short i { height: 3px; }
.pp--rcpt { border-radius: 4px 4px 0 0; padding: 16px 12px 26px; border-bottom: 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  background: linear-gradient(var(--white), var(--white)) padding-box; box-shadow: none; filter: drop-shadow(0 10px 12px rgba(18,26,43,.18)); }
.pp--rcpt::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--tint); }
.pp__total { display: block; height: 6px; width: 55%; margin-left: auto; border-radius: 3px; background: var(--ink); }
.pp--env { aspect-ratio: 1.55 / 1; padding: 0; background: var(--paper-3); overflow: hidden; }
.pp__flap { position: absolute; inset: 0 0 auto; height: 62%; background: var(--white); clip-path: polygon(0 0, 100% 0, 50% 100%); border-bottom: 1.5px solid var(--ink); }
.pp__flap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49.4%, var(--ink) 49.4% 50.6%, transparent 50.6%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.4%, var(--ink) 49.4% 50.6%, transparent 50.6%) right / 50% 100% no-repeat; }
.pp__stamp { position: absolute; right: 8%; bottom: 12%; width: 18%; aspect-ratio: .85; border: 1.5px dashed var(--coral); border-radius: 3px; background: var(--coral-t); }
.pp--note { background: var(--marigold); border-color: var(--ink); aspect-ratio: 1; padding: 14px; border-radius: 4px; justify-content: center; }
.pp__scrawl { font: 600 clamp(12px, 1.5vw, 17px)/1.15 var(--f-display); transform: rotate(-4deg); }
.pp--id { aspect-ratio: 1.58 / 1; flex-direction: row; align-items: center; gap: 10px; padding: 10px; }
.pp__photo { width: 32%; aspect-ratio: .8; border-radius: 4px; background: var(--tint-t); border: 1.2px solid var(--line-2); flex: none; }
.pp--id .pp__rows { flex: 1; }
@media (hover: hover) {
  .desk .pp:hover { translate: 0 -6px; }
}

/* ---------- How it works ---------- */
.how { background: var(--ink); color: var(--paper); }
.how__pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(72px, 10vh, 120px) 0; }
.how .h2 { color: var(--paper); font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.how__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how__side { position: relative; }
.how__letter { position: relative; height: clamp(120px, 15vw, 190px); margin: 22px 0 8px; overflow: hidden; }
.how__glyph {
  position: absolute; left: 0; top: 0;
  font: 800 clamp(120px, 15vw, 190px)/.92 var(--f-display); letter-spacing: -.05em;
  transform: translateY(105%); opacity: 0;
  transition: transform 520ms var(--ease-out), opacity 300ms ease;
}
.how__glyph[data-glyph="0"] { color: var(--cobalt); }
.how__glyph[data-glyph="1"] { color: var(--marigold); }
.how__glyph[data-glyph="2"] { color: var(--coral); }
.how__glyph.is-on { transform: none; opacity: 1; }
.how__glyph.is-past { transform: translateY(-105%); opacity: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(250,248,243,.14); opacity: .62; transition: opacity 300ms ease; }
.step.is-on { opacity: 1; }
.step p { margin: 6px 0 0; color: rgba(250,248,243,.86); max-width: 40ch; }
.step__title { font-size: 1.35rem; letter-spacing: -.02em; }
.step__key { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 800 1.2rem/1 var(--f-display); color: var(--ink); }
.k-a { background: var(--cobalt); color: #fff; }
.k-b { background: var(--marigold); }
.k-c { background: var(--coral); }
.how__progress { height: 3px; border-radius: 3px; background: rgba(250,248,243,.14); overflow: hidden; margin-top: 8px; }
.how__progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--marigold) 33.3% 66.6%, var(--coral) 66.6%); }

.stage { position: relative; width: 100%; aspect-ratio: 1.15 / 1; border-radius: 24px; background: #1B2438; border: 1px solid rgba(250,248,243,.1); overflow: hidden;
  background-image: radial-gradient(rgba(250,248,243,.07) 1px, transparent 1.2px); background-size: 20px 20px; }
.stage .pp { left: 0; top: 0; transform: none; width: 23%; padding: clamp(8px, 1.2vw, 14px); gap: 6px; will-change: transform; }
.stage .pp--rcpt { width: 17%; padding: 12px 10px 22px; }
.stage .pp--id { width: 22%; padding: 8px; }
.stage .pp__grid i { height: 10px; }
.dot { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); border: 2px solid var(--ink); transform: scale(0); }
.c-marigold .dot, .c-coral .dot { }
.stage__label { position: absolute; top: 74%; width: 26%; text-align: center; font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: rgba(250,248,243,.8); opacity: 0; }
.stage__label[data-stack-label="0"] { left: 5%; }
.stage__label[data-stack-label="1"] { left: 37%; }
.stage__label[data-stack-label="2"] { left: 69%; }
.env { position: absolute; left: 25%; top: 30%; width: 50%; height: auto; overflow: visible; opacity: 0; }
.env--back rect { fill: #D9CFBB; stroke: var(--ink); stroke-width: 3; }
.env--front path:first-child { fill: var(--paper-3); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.env__line { fill: none; stroke: rgba(18,26,43,.35); stroke-width: 5; stroke-linecap: round; }
.env--flap { transform-origin: 50% 2%; }
.env--flap path { fill: var(--white); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.stamp { position: absolute; left: 56%; top: 46%; width: 24%; aspect-ratio: 1; opacity: 0; transform: rotate(-14deg) scale(1.6); }
.stamp svg { width: 100%; height: 100%; }
.stamp circle { fill: rgba(242,101,74,.14); stroke: var(--coral); stroke-width: 5; }
.stamp .stamp__inner { fill: none; stroke-width: 2; stroke-dasharray: 4 5; }
.stamp__check { fill: none; stroke: var(--coral); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.stamp span { position: absolute; left: 50%; bottom: -6%; translate: -50% 0; background: var(--coral); color: var(--ink); font: 800 clamp(13px, 1.3vw, 17px)/1 var(--f-display); letter-spacing: .02em; padding: 6px 12px; border-radius: 6px; border: 2px solid var(--ink); text-transform: uppercase; }

/* ---------- Switch ---------- */
.switch { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1.5px solid var(--line); isolation: isolate; }
.switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; background: none; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); transition: color 220ms ease; white-space: nowrap; }
.switch button[aria-checked="true"] { color: #fff; }
.switch button:active { transform: scale(.97); }
.switch__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-out); }
.switch[data-on="biz"] .switch__thumb { transform: translateX(100%); }
.switch--small button { min-height: 48px; padding: 0 16px; font-size: .95rem; }

/* Height-swapping container */
.swap { position: relative; transition: height 340ms var(--ease-out); }
.swap > [data-panel] { transition: opacity 240ms ease, transform 300ms var(--ease-out); }
.swap > .is-leaving { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(-6px); pointer-events: none; }
.swap > .is-entering { opacity: 0; transform: translateY(8px); }

/* ---------- Services ---------- */
.services { padding: clamp(80px, 12vh, 140px) 0; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); }
.svc__row { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc__row h3 { font-size: 1.5rem; letter-spacing: -.02em; align-self: center; }
.svc__row p { grid-column: 2; margin: 8px 0 0; color: var(--ink-2); max-width: 46ch; }
.svc__ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--cobalt-t); color: var(--cobalt); stroke-width: 1.6; }
.svc__row:nth-child(3n+2) .svc__ic { background: var(--marigold-t); color: #8A5A00; }
.svc__row:nth-child(3n+3) .svc__ic { background: var(--coral-t); color: #B23A22; }
.svc__more { margin: 28px 0 0; color: var(--muted); }
.svc__more a { color: var(--cobalt-d); font-weight: 600; }

/* ---------- What to bring ---------- */
.bring { padding: clamp(80px, 12vh, 140px) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.bring__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bring__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.bring__intro > p { color: var(--ink-2); max-width: 36ch; margin: 18px 0 24px; }
.bring__count { font: 500 .95rem/1 var(--f-mono); color: var(--ink); margin: 24px 0 16px !important; }
.bring__count span:first-child { color: var(--cobalt); }
.sheet { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); box-shadow: 0 24px 48px -32px rgba(18,26,43,.4);
  background-image: repeating-linear-gradient(180deg, transparent 0 55px, rgba(47,91,234,.07) 55px 56px); }
.sheet__note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--marigold-t); font-size: .95rem; }
.sheet__note .ic { color: #8A5A00; margin-top: 2px; }
.check { list-style: none; margin: 0; padding: 0; }
.check li { border-bottom: 1px solid var(--line); }
.check li:last-child { border-bottom: 0; }
.check label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 16px 4px; cursor: pointer; border-radius: 8px; transition: background-color 180ms ease; }
.check label:hover { background: rgba(47,91,234,.04); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--ink); display: grid; place-items: center; background: var(--white); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.box svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 260ms var(--ease-out) 40ms; }
.check input:checked + .box { background: var(--cobalt); border-color: var(--cobalt); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(18,26,43,.35); }
.check label:active .box { transform: scale(.92); }
.check input:focus-visible + .box { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* ---------- About ---------- */
.about { padding: clamp(80px, 12vh, 140px) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { margin: 0; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--ink); display: grid; place-items: center;
  background: conic-gradient(from 210deg at 70% 30%, var(--cobalt) 0 25%, var(--marigold) 0 50%, var(--coral) 0 75%, var(--cobalt-t) 0); }
.portrait__frame::before { content: ""; position: absolute; inset: 14px; border-radius: 14px; background: var(--paper); }
.portrait__mono { position: relative; font: 800 clamp(5rem, 12vw, 9rem)/1 var(--f-display); letter-spacing: -.06em; color: var(--ink); }
.portrait__frame .ph { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: .75rem; }
.portrait figcaption { margin-top: 14px; font: 500 .9rem/1 var(--f-mono); color: var(--muted); }
.about__copy .h2 { max-width: 16ch; }
.about__lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin: 28px 0 16px; color: var(--ink); max-width: 36em; }
.about__copy > p { color: var(--ink-2); max-width: 40em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 32px 0 0; border-top: 1.5px solid var(--ink); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 8px; font: 500 .82rem/1.2 var(--f-mono); color: var(--muted); }
.facts dt .ic { width: 16px; height: 16px; color: var(--cobalt); }
.facts dd { margin: 6px 0 0; font: 700 1.15rem/1.3 var(--f-display); letter-spacing: -.01em; }
.facts dd .ph { font-size: .7rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .h2 { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 700 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.25 var(--f-display); letter-spacing: -.015em; border-radius: 6px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform 280ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.qa summary:hover .ic { background: var(--paper-2); }
.qa[open] summary .ic { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 58ch; color: var(--ink-2); margin: 0 0 1em; }
.qa__body p:last-child { padding-bottom: 12px; }
.qa__body a { color: var(--cobalt-d); font-weight: 600; padding-block: 12px; }

/* ---------- Request ---------- */
.request { background: var(--ink); color: var(--paper); padding: clamp(80px, 12vh, 140px) 0; overflow: clip; }
.request__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.request__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.request__side > p { color: rgba(250,248,243,.8); margin: 20px 0 32px; max-width: 36ch; font-size: 1.1rem; }
.direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.direct a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); border: 1px solid rgba(250,248,243,.18); text-decoration: none; transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); word-break: break-word; }
.direct a:hover { background: rgba(250,248,243,.06); border-color: rgba(250,248,243,.35); }
.direct a:active { transform: scale(.98); }
.direct .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--cobalt); color: #fff; }
.direct li:nth-child(2) .ic { background: var(--marigold); color: var(--ink); }
.direct span { display: grid; gap: 4px; font: 600 1.05rem/1.25 var(--f-body); }
.direct small { font: 500 .78rem/1 var(--f-mono); color: rgba(250,248,243,.65); }

.paper-wrap { position: relative; perspective: 1400px; }
.form, .done {
  background: var(--paper); color: var(--ink);
  border-radius: 18px; padding: clamp(22px, 3.4vw, 44px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  background-image: linear-gradient(90deg, transparent 30px, rgba(242,101,74,.4) 30px 31.5px, transparent 31.5px);
  background-repeat: no-repeat;
}
.form { transform-origin: 50% 0; }
.fs { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 12px; font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.01em; }
.fs legend small, .field small { font: 500 .78rem/1 var(--f-mono); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 500; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); user-select: none; }
.chip:hover span { border-color: var(--ink); }
.chip:active span { transform: scale(.95); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chips--days .chip span { min-width: 58px; justify-content: center; padding: 0 12px; font-family: var(--f-mono); font-size: .92rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 1.0625rem; transition: border-color 180ms ease, box-shadow 180ms ease; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47,91,234,.18); }
.field input[aria-invalid="true"] { border-color: #C2361C; box-shadow: 0 0 0 4px rgba(194,54,28,.12); }
.err { margin: 0; min-height: 0; color: #B02E15; font-size: .92rem; font-weight: 600; }
.err:empty { display: none; }
.form__warn { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--coral-t); color: #7A2312; font-size: .95rem; }
.form__warn .ic { margin-top: 2px; }

.done { text-align: center; display: grid; justify-items: center; gap: 4px; outline: none; }
.done__seal { width: 96px; height: 96px; margin-bottom: 10px; }
.done__seal circle { fill: var(--cobalt-t); stroke: var(--cobalt); stroke-width: 5; }
.done__seal path { fill: none; stroke: var(--cobalt); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 0; }
.done__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 8px; }
.done > p { max-width: 40ch; color: var(--ink-2); }
.done > p a { color: var(--cobalt-d); font-weight: 600; }
.done__sum { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 12px 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--paper-2); width: min(100%, 440px); font-size: .95rem; }
.done__sum dt { font: 500 .8rem/1.5 var(--f-mono); color: var(--muted); }
.done__sum dd { margin: 0; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 64px 0 28px; border-top: 1px solid rgba(250,248,243,.12); }
.foot__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot__h { font: 500 .8rem/1 var(--f-mono); color: rgba(250,248,243,.6); margin-bottom: 14px; }
.foot p { line-height: 1.9; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__word { margin: 48px 0 16px; font: 800 clamp(5rem, 24vw, 22rem)/.8 var(--f-display); letter-spacing: -.06em; white-space: nowrap; font-variation-settings: "opsz" 96; }
.w-a { color: var(--cobalt); } .w-b { color: var(--marigold); } .w-c { color: var(--coral); }
.foot__legal { font-size: .9rem; color: rgba(250,248,243,.6); margin: 0; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Entrance helpers (only when JS runs) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(14px); }
.js .is-in[data-rise], .js [data-rise].is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; }
  .desk { justify-self: center; max-width: 460px; margin-top: 8px; }
  .how__pin { min-height: 0; }
  .how__grid { grid-template-columns: 1fr; }
  .how__letter, .how__progress { display: none; }
  .how .h2 { margin-bottom: 20px; }
  .stage { order: -1; }
  .how__side { display: contents; }
  .how__side .h2 { order: -2; }
  .steps { order: 1; }
  .step { opacity: 1; }
  .step.is-dim { opacity: .62; }
  .svc { grid-template-columns: 1fr; }
  .bring__grid, .about__grid, .faq__grid, .request__grid { grid-template-columns: 1fr; }
  .bring__intro, .faq .h2, .request__side { position: static; }
  .portrait { max-width: 360px; }
  .foot__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav__actions .btn, .nav__phone span { display: none; }
  .nav__phone { width: 48px; height: 48px; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-2); padding: 0; }
  .hero__cta .btn { flex: 1 1 100%; }
  .sec-head { align-items: start; }
  .switch { width: 100%; }
  .switch button { padding: 0 10px; font-size: .95rem; }
  .svc__row h3 { font-size: 1.3rem; }
  .fields { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .foot__row { grid-template-columns: 1fr; gap: 20px; }
  .stage__label { font-size: 11px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250,248,243,.96); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -18px rgba(18,26,43,.35);
    transition: transform 300ms var(--ease-out);
  }
  .dock .btn { min-height: 50px; }
  .dock.is-hidden { transform: translateY(110%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .swap > [data-panel], .js [data-rise].is-in, .how__glyph, .step { transition: opacity 200ms ease !important; }
  .js [data-rise] { transform: none; }
}

/* ---------- Print: only the checklist ---------- */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; padding: 0; }
  body > *:not(main), main > section:not(.bring), .nav, .dock, .skip { display: none !important; }
  .bring { background: #fff; border: 0; padding: 0; }
  .bring__grid { display: block; }
  .bring__intro { position: static; }
  .bring__intro .switch, .bring__intro [data-print], .bring__intro > p:not(.bring__count) { display: none; }
  .bring__intro::after { content: "ABC 123 Tax Service, LLC  ·  (757) 768-1648  ·  vernon.mason1@verizon.net"; display: block; font: 500 10pt var(--f-mono); margin: 6pt 0 14pt; }
  .sheet { box-shadow: none; background-image: none; }
  .check [data-panel][hidden] { display: none; }
  .box { border: 1.5pt solid #000; }
}
