/* Ohana Bookkeeping and Tax Services — lead-magnet demo */

@font-face { font-family: "Gilda Display"; src: url("fonts/GildaDisplay-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fonts/AtkinsonHyperlegibleNext-200-800.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("fonts/FragmentMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --sand: #F5EFE6;
  --paper: #FBF8F3;
  --mist: #E6ECE8;
  --ink: #16302D;
  --ink-2: #1F3F3B;
  --text: #16302D;
  --muted: #4A5D59;
  --clay: #B4513A;
  --clay-hover: #9C4430;
  --clay-text: #A3472F;      /* clay for small text on sand/paper */
  --clay-soft: #E8A48F;      /* clay accent on ink */
  --on-ink: #F5EFE6;
  --on-ink-muted: #C7D1CC;
  --line: rgba(22, 48, 45, 0.16);
  --line-ink: rgba(245, 239, 230, 0.2);

  --display: "Gilda Display", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "Cascadia Mono", monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.44, 0, 0.56, 1);   /* the reference's default Framer ease */
  --r-btn: 8px; --r-pill: 6px; --r-card: 8px; --r-panel: 10px; --r-input: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.has-smoothscroll { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.band-ink :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--clay-soft); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(80px, 10vw, 150px) 0; }
.band-sand { background: var(--sand); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.services { background: var(--paper); }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px; line-height: 1.5;
}
.eyebrow-mark { flex: none; width: 8px; height: 8px; margin-top: 6px; background: var(--clay); border-radius: 2px; }
.eyebrow-light { color: var(--on-ink-muted); }
.eyebrow-light .eyebrow-mark { background: var(--clay-soft); }
.h2 { font-family: var(--display); font-size: clamp(36px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.012em; }
.h3 { font-family: var(--display); font-size: clamp(25px, 2.1vw, 31px); line-height: 1.15; letter-spacing: -0.005em; }
.h4 { font-family: var(--body); font-size: 19px; font-weight: 650; line-height: 1.3; }
.lead { font-size: 19px; color: var(--on-ink-muted); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px; border-radius: var(--r-btn);
  font-family: var(--body); font-size: 16px; font-weight: 650; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-hover); box-shadow: 0 8px 20px -12px rgba(10, 20, 18, 0.55); }
.btn-ghost-light { background: transparent; color: var(--on-ink); border-color: rgba(245, 239, 230, 0.6); }
.btn-ghost-light:hover { background: rgba(245, 239, 230, 0.12); border-color: var(--on-ink); }
.btn-sm { min-height: 48px; padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  color: var(--clay-text); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link span { transition: transform 200ms var(--ease-out); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 14px 0 24px;
  background: rgba(251, 248, 243, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(22, 48, 45, 0.08); border-radius: var(--r-panel);
  transition: box-shadow 250ms var(--ease-out), background-color 250ms var(--ease-out);
}
.site-header.is-scrolled .nav-bar { background: rgba(251, 248, 243, 0.97); box-shadow: 0 10px 30px -18px rgba(22, 48, 45, 0.45); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; min-height: 48px; border-radius: var(--r-input); }
.logo { height: 46px; width: auto; }
.logo-footer { height: 54px; width: auto; }
.site-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); border-radius: var(--r-pill);
  transition: background-color 180ms var(--ease-out);
}
.nav-links a:not(.btn):hover { background: rgba(22, 48, 45, 0.07); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: var(--r-input);
  background: var(--ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--on-ink); transition: transform 220ms var(--ease-out); }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh;
  display: flex; align-items: flex-end; color: var(--on-ink); overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: var(--hero-x, 50%) 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 30, 28, 0) 30%, rgba(14, 30, 28, 0.55) 58%, rgba(14, 30, 28, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 30, 28, 0.35) 0%, rgba(14, 30, 28, 0) 55%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 7vh, 80px);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: end;
}
.hero-title { font-family: var(--display); font-size: clamp(46px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.015em; }
.hero-line { display: block; white-space: nowrap; }
.hero-sub { font-size: 18px; line-height: 1.55; color: #E4E9E5; max-width: 44ch; margin-bottom: 24px; }
.hero-side { padding-bottom: 6px; }

/* Entrance, measured from the reference (law-firm-template.framer.website): photo 1.05 -> 1 over 2s,
   nav blurs in, words blur up one by one, buttons fade up last. Words stay visible without JS
   (the failsafe shows them at 1.6s). */
.split-w { display: inline-block; }
.js-motion .hero-media img { animation: heroBg 1.2s cubic-bezier(0.12, 0.23, 0.5, 1) both; }
.js-motion .nav-bar { animation: navIn 0.6s var(--ease-soft) 0.1s both; }
.js-motion .hero-copy .eyebrow { animation: fadeIn 0.5s var(--ease-soft) 0.15s both; }
.js-motion .hero-side .btn-row { animation: fadeUp 0.6s var(--ease-soft) 0.85s both; }
.js-motion [data-split]:not(.is-split) { opacity: 0; animation: fadeIn 0.01s linear 1.6s forwards; }
.js-motion .is-split .split-w {
  opacity: 0; filter: blur(10px); transform: translateY(10px);
  animation: wordIn 0.7s var(--ease-soft) forwards; animation-delay: var(--wd, 0ms);
}
@keyframes heroBg { from { opacity: 0.001; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { to { opacity: 1; filter: none; transform: none; } }

/* statement: JS sets each word's opacity from 0.2 to 1 as the band scrolls up */
.scrub-w { will-change: opacity; }
/* process steps: sharp in the middle band of the screen, light blur outside it (desktop) */
.js-motion .focus-ready .focus-item { transition: opacity 240ms linear, filter 240ms linear; }
.js-motion .focus-ready .step { padding: 11vh 0; }
.js-motion .focus-ready .step .h4 { font-size: 22px; }

/* ---------- statement + proof ---------- */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 40px; align-items: start; }
.statement-text { font-family: var(--display); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.16; letter-spacing: -0.01em; }
.proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-ink);
}
.proof-item { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.proof-item + .proof-item { padding-left: 24px; border-left: 1px solid var(--line-ink); }
.proof-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); }
.proof-num { font-family: var(--display); font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.proof-num small { font-family: var(--body); font-size: 16px; letter-spacing: 0; color: var(--on-ink-muted); margin-left: 4px; }
.proof-word { font-size: clamp(32px, 3vw, 44px); }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 40px; align-items: start; }
.section-head-split .h2 { max-width: 18ch; }

/* ---------- problems ---------- */
#problems { padding-bottom: clamp(56px, 7vw, 100px); }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.problem { padding: 30px 32px 8px 0; }
.problem + .problem { padding-left: 32px; border-left: 1px solid var(--line); }
.problem-num { display: block; font-family: var(--mono); font-size: 13px; color: var(--clay-text); margin-bottom: 40px; }
.problem .h3 { margin-bottom: 14px; max-width: 16ch; }
.problem p { color: var(--muted); max-width: 36ch; }

/* ---------- services ---------- */
.svc {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 3vw, 40px) 0;
}
.svc + .svc { border-top: 1px solid var(--line); }
.svc-flip .svc-media { order: 2; }
.svc-media { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; }
.svc-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) { .svc:hover .svc-media img { transform: scale(1.035); } }
.svc-tag { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--display); font-size: 26px; color: #fff; }
.svc-title { margin-bottom: 16px; }
.svc-body > p { color: var(--muted); max-width: 46ch; }
.ticks { margin: 22px 0 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(-45deg); }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.how-copy .h2 { max-width: 14ch; margin-bottom: clamp(40px, 5vw, 64px); }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--clay-text); padding-top: 4px; }
.step .h4 { margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 44ch; }
.how-media { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; border-radius: var(--r-panel); overflow: hidden; }
.how-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- dates ---------- */
.date-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.date { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.date:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.date time { display: flex; align-items: baseline; gap: 6px; }
.d-mon { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-text); }
.d-day { font-family: var(--display); font-size: 40px; line-height: 1; }
.date p { margin: 0; color: var(--text); }
.dates-note { margin-top: 32px; color: var(--muted); }
.dates-note a { color: var(--clay-text); font-weight: 650; text-underline-offset: 4px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { margin: 0; border-radius: var(--r-panel); overflow: hidden; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) { .about-media:hover img { transform: scale(1.03); } }
.about-copy .h2 { max-width: 15ch; margin-bottom: 28px; }
.about-text p { color: var(--on-ink-muted); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.tags li { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-ink); border-radius: var(--r-pill); color: var(--on-ink); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head .h2 { max-width: 12ch; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { font: inherit; }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--body); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--text);
}
.acc-icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 240ms var(--ease-out); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 56px 24px 0; color: var(--muted); max-width: 62ch; }
.acc-panel:not(:has(*)) { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy .h2 { max-width: 14ch; margin-bottom: 24px; }
.contact-points { margin-top: 32px; display: grid; gap: 12px; }
.contact-points li { position: relative; padding-left: 22px; color: var(--on-ink); }
.contact-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--clay-soft); border-radius: 2px; }
.lead-form { background: var(--paper); color: var(--text); border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field label, .checks legend { font-weight: 650; font-size: 16px; }
.req, .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--text);
  background: #fff; border: 1.5px solid #7D8C88; border-radius: var(--r-input);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-color: var(--ink); }
input[aria-invalid="true"] { border-color: #A3271B; }
.field-err { margin: 0; font-size: 15px; color: #A3271B; min-height: 0; }
.field-err:empty { display: none; }
.checks { border: 0; padding: 0; display: grid; gap: 4px; }
.checks legend { padding: 0; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--r-input); background: #F6E1DC; color: #7E1F15; font-weight: 600; }
.form-success { padding: 18px; border-radius: var(--r-input); background: var(--mist); }
.form-success .h4 { margin-bottom: 4px; }
.lead-form.is-sent > :not(.form-success) { display: none; }

/* ---------- footer ---------- */
.site-footer { background: #10231F; color: var(--on-ink-muted); padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; }
.footer-line { margin: 14px 0 0; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--on-ink); text-underline-offset: 4px; font-size: 15px; }
.icon-link { justify-content: center; min-width: 48px; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: 14px; }

/* ---------- accessibility page ---------- */
.a11y-hero { padding-top: calc(var(--header-h) + 110px); padding-bottom: 80px; }
.a11y-hero .h2 { margin-bottom: 20px; }
.a11y-updated { margin-top: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink-muted); }
.a11y-wrap { max-width: calc(860px + var(--gutter) * 2); }
.a11y-block + .a11y-block { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.a11y-block .h3 { margin-bottom: 14px; }
.a11y-block p, .a11y-list li { color: var(--muted); }
.a11y-block a { color: var(--clay-text); font-weight: 650; text-underline-offset: 4px; }
.a11y-list { display: grid; gap: 10px; margin-bottom: 1em; }
.a11y-list li { position: relative; padding-left: 22px; }
.a11y-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--clay); border-radius: 2px; }

/* ---------- reveal ---------- */
.pre-reveal { opacity: 0; transform: translateY(20px); }
.pre-reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-soft) var(--d, 0ms), transform 0.7s var(--ease-soft) var(--d, 0ms); }

/* ---------- responsive ---------- */
@media (max-height: 820px) and (min-width: 701px) {
  .hero-title { font-size: clamp(42px, 8.6vh, 80px); }
  .hero-sub { font-size: 17px; margin-bottom: 18px; }
  .hero-inner { padding-bottom: 5vh; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--paper); border: 1px solid rgba(22, 48, 45, 0.1); border-radius: var(--r-panel);
    padding: 12px; box-shadow: 0 24px 40px -24px rgba(22, 48, 45, 0.5);
  }
  .nav-links.is-open a:not(.btn) { min-height: 52px; font-size: 14px; }
  .nav-links.is-open .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-links.is-open .nav-cta-mobile .btn { width: 100%; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-sub { max-width: 52ch; }
  .statement-grid, .section-head-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-item:nth-child(n + 3) { margin-top: 28px; border-top: 1px solid var(--line-ink); }
  .date-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .date:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
}

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .problem, .problem + .problem { padding: 26px 0; border-left: 0; }
  .problem + .problem { border-top: 1px solid var(--line); }
  .problem-num { margin-bottom: 16px; }
  .problem .h3 { max-width: none; }
  .svc, .about-grid, .how-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-flip .svc-media { order: 0; }
  .how-media { position: relative; top: 0; }
  .how-media img { aspect-ratio: 4 / 3; }
  .about-media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .site-header { top: 10px; padding: 0 12px; }
  .nav-bar { padding: 0 8px 0 16px; gap: 12px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .logo { height: 40px; }
  .hero-title { font-size: clamp(36px, 10.6vw, 52px); }
  .hero-line { white-space: normal; }
  .hero-sub { font-size: 16.5px; margin-bottom: 20px; }
  .hero-inner { padding-bottom: 28px; }
  .hero .eyebrow { font-size: 11.5px; margin-bottom: 16px; }
  .hero-media img { object-position: 50% 30%; }
  .btn-row { flex-direction: column; }
  .btn, .btn-row .btn { width: 100%; }
  .proof-num { font-size: 40px; }
  .proof-word { font-size: 30px; }
  .proof-item { padding-right: 12px; }
  .proof-item + .proof-item { padding-left: 16px; }
  .proof-item:nth-child(3) { padding-left: 0; }
  .date-list { grid-template-columns: minmax(0, 1fr); }
  .date, .date:nth-child(even), .date:not(:nth-child(3n + 1)) { padding: 20px 0; border-left: 0; grid-template-columns: 84px minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .acc-trigger { font-size: 17.5px; }
  .acc-inner p { padding-right: 0; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .svc-tag { font-size: 22px; left: 18px; bottom: 14px; }
  .proof-num small { display: block; margin: 8px 0 0; }
  .footer-line .sep { display: none; }
  .footer-line span { display: block; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .hero-sub { display: none; }
  .hero-title { font-size: clamp(34px, 9.6vw, 44px); }
}

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