/* Tax Reduction Specialists — lead-magnet landing page */

:root {
  --bg: #f6f2ea;
  --bg-2: #ece5d8;
  --surface: #fbf9f4;
  --ink: #1a1411;
  --muted: #5b504a;
  --line: rgba(26, 20, 17, 0.14);
  --redwood: #8e2f22;
  --redwood-deep: #6e2218;
  --dark: #17110e;
  --dark-2: #231a16;
  --on-dark: #f6f2ea;
  --on-dark-muted: #cbbfb4;
  --line-dark: rgba(246, 242, 234, 0.16);

  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --header-h: 76px;

  --r-btn: 8px;
  --r-pill: 6px;
  --r-card: 8px;
  --r-panel: 10px;
  --r-input: 6px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- base ---------- */
*, *::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; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--redwood); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .band :focus-visible, .contact-block :focus-visible, .closing :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: #f1c9a8; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); line-height: 1.4;
  margin-bottom: 24px;
}
.eyebrow-dark { background: rgba(246, 242, 234, 0.1); border-color: var(--line-dark); color: var(--on-dark); backdrop-filter: blur(8px); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 2px; background: #e0a47e; margin-top: 4px; flex: none; }

.statement {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2;
  letter-spacing: -0.01em; max-width: 30ch;
}
.section-title {
  font-family: var(--serif); font-size: clamp(32px, 3.9vw, 52px); line-height: 1.12; letter-spacing: -0.015em;
}
.section-title.centered { text-align: center; max-width: 20ch; margin: 0 auto; }
.lead { font-size: 19px; color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 48px 0 56px; }
.text-link { color: var(--redwood); font-weight: 600; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn);
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(246, 242, 234, 0.5); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-accent { background: var(--redwood); color: #fff; box-shadow: 0 6px 18px -8px rgba(142, 47, 34, 0.55); }

@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #fff; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.45); }
  .btn-ghost-light:hover { background: rgba(246, 242, 234, 0.12); border-color: var(--on-dark); }
  .btn-dark:hover { background: #3a2c25; }
  .btn-accent:hover { background: var(--redwood-deep); box-shadow: 0 10px 26px -8px rgba(142, 47, 34, 0.7); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto; height: 62px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 16px;
  background: rgba(23, 17, 14, 0.46); border: 1px solid var(--line-dark); border-radius: var(--r-panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--on-dark);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled .nav-shell { background: rgba(23, 17, 14, 0.9); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.wordmark-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-pill);
  background: var(--redwood); color: #fff; font-family: var(--serif); font-size: 14px; letter-spacing: 0.02em;
}
.wordmark-text { font-family: var(--serif); font-size: 17px; white-space: nowrap; }

nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 15px; text-decoration: none; color: var(--on-dark-muted); transition: color 180ms ease, background-color 180ms ease;
}
.nav-links a:not(.btn):hover { color: var(--on-dark); background: rgba(246, 242, 234, 0.08); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: var(--r-input);
  background: var(--on-dark); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease-out); }
.site-header.menu-open .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.menu-open .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: stretch; color: var(--on-dark); overflow: hidden; background: var(--dark);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 10, 8, 0.86) 0%, rgba(15, 10, 8, 0.6) 38%, rgba(15, 10, 8, 0.08) 70%),
    linear-gradient(0deg, rgba(15, 10, 8, 0.55) 0%, rgba(15, 10, 8, 0) 35%);
}
.hero-inner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px;
}
.hero-copy { max-width: 640px; }
.hero-title {
  font-family: var(--serif); font-size: clamp(48px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-line { display: block; white-space: nowrap; }
.hero-title em { font-style: italic; color: #f1c9a8; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); color: #e6ddd4; max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  position: absolute; right: var(--gutter); bottom: 48px; width: 380px;
  display: flex; gap: 14px; padding: 12px;
  background: rgba(23, 17, 14, 0.62); border: 1px solid var(--line-dark); border-radius: var(--r-panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-card-img { width: 128px; height: 128px; object-fit: cover; border-radius: var(--r-card); flex: none; }
.hero-card-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 4px 2px 0; }
.hero-card-kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #f1c9a8; }
.hero-card-text { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.hero-card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--on-dark);
}
.hero-card-link span { transition: transform 200ms var(--ease-out); }
.hero-card-link:hover span { transform: translateX(3px); }

/* ---------- glow card (Wescott signature, recoloured) ---------- */
.glow-card {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(214, 150, 118, 0.45), transparent 70%),
    radial-gradient(55% 65% at 90% 85%, rgba(176, 184, 140, 0.4), transparent 70%),
    #efe6da;
}

/* ---------- positioning ---------- */
.pos-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.quote-card { margin: 0; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 360px; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 31px); line-height: 1.3; }
.quote-card figcaption { display: flex; flex-direction: column; }
.quote-name { font-weight: 600; }
.quote-role { font-size: 15px; color: var(--muted); }

.problem-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.problem { background: var(--bg); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.problem-num { font-family: var(--serif); font-size: 14px; color: var(--redwood); }
.problem h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.problem p { color: var(--muted); font-size: 16px; }

/* ---------- approach ---------- */
.approach { padding-top: 0; }
.approach .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; }
.approach-media { grid-row: span 2; }
.approach-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: var(--r-panel); }
.approach-head { display: flex; flex-direction: column; gap: 22px; align-self: end; }
.role-cards { display: grid; gap: 14px; align-self: start; }
.role-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.role-card .icon-tile { grid-row: span 2; }
.role-card h3 { font-family: var(--serif); font-size: 21px; }
.role-card p { color: var(--muted); font-size: 16px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r-input); display: grid; place-items: center;
  background: var(--redwood); color: #fff;
}

/* ---------- dark band ---------- */
.band-wrap { padding: 0 var(--gutter); }
.band {
  max-width: calc(var(--max) + 120px); margin: 0 auto; background: var(--dark); color: var(--on-dark);
  border-radius: var(--r-panel); padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}
.band-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.band .glow-card {
  background:
    radial-gradient(60% 80% at 10% 15%, rgba(190, 110, 80, 0.42), transparent 70%),
    radial-gradient(55% 70% at 95% 90%, rgba(140, 150, 105, 0.32), transparent 70%),
    var(--dark-2);
  border: 1px solid var(--line-dark);
}
.team-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: clamp(28px, 4vw, 52px); }
.team-intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.team-intro-title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.team-intro p { color: var(--on-dark-muted); }
.team-intro .btn { margin-top: auto; background: var(--on-dark); color: var(--ink); }
.team-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.team-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.team-num { font-family: var(--serif); font-size: 14px; color: #f1c9a8; padding-top: 2px; flex: none; }
.team-body { display: flex; flex-direction: column; gap: 2px; }
.team-body strong { font-weight: 600; font-size: 16px; line-height: 1.35; }
.team-body span { font-size: 15px; color: var(--on-dark-muted); line-height: 1.45; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--line-dark); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.stat-num { font-family: var(--serif); font-size: clamp(44px, 5vw, 68px); line-height: 1; }
.stat-note { font-size: 15px; color: var(--on-dark-muted); }
.band-footnote { margin-top: 40px; font-size: 13px; color: var(--on-dark-muted); max-width: 80ch; }

/* ---------- compare ---------- */
.compare-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-bottom: 56px; }
.compare-copy { display: flex; flex-direction: column; gap: 28px; color: var(--muted); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th { text-align: left; font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); padding: 0 0 12px; }
.compare-table th:last-child, .compare-table td:last-child { color: var(--redwood); }
.compare-table th:last-child { color: var(--redwood); }
.compare-table td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.compare-table td:last-child { font-weight: 600; }

.photo-pair { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; }
.photo { position: relative; margin: 0; border-radius: var(--r-panel); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.photo-wide img { aspect-ratio: 3 / 2; height: auto; }
.photo-narrow img { height: 100%; }
.photo-tag {
  position: absolute; left: 16px; bottom: 16px;
  padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}

/* ---------- process ---------- */
.process { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.process-card {
  margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden;
}
.process-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.process-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 44px; padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab:hover { color: var(--ink); border-color: rgba(26, 20, 17, 0.35); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.tab-panel { display: flex; flex-direction: column; gap: 14px; min-height: 180px; animation: panelIn 260ms var(--ease-out); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.tab-panel p { color: var(--muted); font-size: 18px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.process-body .btn { margin-top: auto; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about-copy .eyebrow { margin-bottom: 4px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 58ch; }
.contact-card { padding: 36px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact-kicker { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.contact-list { margin: 0; width: 100%; }
.contact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(26, 20, 17, 0.16); }
.contact-list dt { color: var(--muted); font-size: 15px; }
.contact-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; display: inline-block; min-height: 24px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p { color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; }
.acc-trigger {
  width: 100%; min-height: 64px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3;
}
.acc-icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: var(--r-input); background: var(--bg-2); transition: background-color 200ms ease; }
.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 220ms var(--ease-out), background-color 200ms ease; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--ink); }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--on-dark); }
.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 260ms var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 52px 24px 0; color: var(--muted); }

/* ---------- contact / form ---------- */
.contact { padding-top: 0; }
.contact-block {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px);
  background: var(--dark); color: var(--on-dark); border-radius: var(--r-panel); padding: clamp(28px, 5vw, 64px);
}
.contact-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact-intro .eyebrow { margin-bottom: 0; }
.contact-intro p:not(.eyebrow) { color: var(--on-dark-muted); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 4px;
  background: #f1c9a8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.5 2.4L12 5.4' fill='none' stroke='%2317110e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.lead-form { background: var(--surface); color: var(--ink); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form-note { font-size: 14px; color: var(--muted); }
.req-text { font-weight: 400; color: var(--redwood); font-size: 0.9em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-input);
  border: 1px solid #8f837a; background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--redwood); box-shadow: 0 0 0 3px rgba(142, 47, 34, 0.25); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #a0231b; font-size: 14px; font-weight: 500; }
.checks { border: 0; padding: 0; margin: 0; }
.checks legend { padding: 0; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--redwood); flex: none; }
.lead-form .btn { align-self: flex-start; }
.form-status { font-weight: 600; color: #2f6a3c; }
.form-status:empty { display: none; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 620px; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 17, 14, 0.2) 0%, rgba(23, 17, 14, 0.55) 55%, var(--dark) 100%); }
.closing-inner { position: relative; padding-bottom: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.closing-title { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -0.02em; max-width: 14ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 32px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-line { color: var(--on-dark); font-size: 15px; }
.footer-line span { color: var(--on-dark-muted); margin: 0 6px; }
.footer-meta { font-size: 14px; }
.site-footer a { color: inherit; text-underline-offset: 3px; }

/* ---------- reveal ---------- */
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); }
.reveal.pre-reveal.is-visible { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }

/* ---------- accessibility page ---------- */
.doc-hero { background: var(--dark); color: var(--on-dark); padding: calc(var(--header-h) + 90px) 0 72px; }
.doc-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.doc-hero p { color: var(--on-dark-muted); max-width: 60ch; }
.doc-body { padding: 72px 0 110px; }
.doc-body .container { max-width: calc(820px + var(--gutter) * 2); }
.doc-body h2 { font-family: var(--serif); font-size: 28px; line-height: 1.2; margin: 48px 0 14px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--muted); }
.doc-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.doc-body a { color: var(--redwood); font-weight: 600; }
.doc-updated { display: inline-block; margin-top: 48px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--bg-2); font-size: 14px; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-card { display: none; }
}

@media (max-width: 1100px) {
  .nav-links a:not(.btn) { padding: 0 9px; }
  .team-list { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  nav { margin-left: 0; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 70px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: rgba(23, 17, 14, 0.96); border: 1px solid var(--line-dark); border-radius: var(--r-panel);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { min-height: 48px; padding: 0 12px; font-size: 17px; color: var(--on-dark); }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-links .nav-cta-mobile .btn { width: 100%; color: var(--ink); }

  .hero-card { display: none; }
  .hero-inner { justify-content: flex-end; padding-bottom: 56px; }

  .pos-grid, .approach .container, .team-card, .compare-head, .process-card, .about-grid, .faq-grid, .contact-block { grid-template-columns: minmax(0, 1fr); }
  .nav-shell { gap: 12px; position: relative; }
  .nav-toggle { flex: none; }
  .wordmark { min-width: 0; }
  .approach-media { grid-row: auto; }
  .approach-media img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .team-list { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-media img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .faq-head { position: static; }
  .compare-head { gap: 28px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-shade { background: linear-gradient(180deg, rgba(15, 10, 8, 0.1) 0%, rgba(15, 10, 8, 0.45) 35%, rgba(15, 10, 8, 0.92) 62%, rgba(15, 10, 8, 0.98) 100%); }
  .hero-media img { object-position: 50% 0%; }
  .hero-line { white-space: normal; }
  .hero-title { font-size: clamp(44px, 12.4vw, 60px); }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .tab { width: auto; }
  .lead-form .btn { align-self: stretch; }

  .quote-card { padding: 28px; min-height: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem { padding: 24px 22px; }
  .team-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-narrow img { aspect-ratio: 4 / 5; height: auto; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-block { padding: 28px 16px 16px; }
  .lead-form { padding: 22px 18px; }
  .contact-card { padding: 26px; }
  .contact-list div { flex-direction: column; gap: 2px; }
  .contact-list dd { text-align: left; }
  .acc-inner p { padding-right: 0; }
  .closing { min-height: 480px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  .wordmark-text { font-size: 16px; }
}

@media (max-width: 380px) {
  .wordmark-text { font-size: 14px; }
  .wordmark { gap: 8px; }
  .nav-shell { padding-left: 12px; }
  .hero-title { font-size: 42px; }
  .eyebrow { letter-spacing: 0.05em; }
}

@media (max-height: 820px) and (min-width: 761px) {
  .hero-inner { padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
  .hero-title { font-size: clamp(44px, 9.2vh, 84px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-card { bottom: 28px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .hero-title { font-size: 40px; margin-bottom: 14px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-sub { font-size: 16px; margin-bottom: 18px; }
  .hero-inner { padding-bottom: 32px; }
  .hero-actions { gap: 10px; }
}
