/* Hallows & Company — lead-magnet landing page
   World: Law Firm editorial structure in Hallows' own colors. */

@font-face {
  font-family: "Host Grotesk";
  src: url("fonts/host-grotesk-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f2ec;
  --sand: #ece7df;
  --card: #fffdf9;
  --ink: #221e1b;
  --ink-2: #3d3834;
  --muted: #6b645d;
  --line: rgba(34, 30, 27, 0.14);
  --line-strong: rgba(34, 30, 27, 0.28);
  --orange: #f58634;
  --orange-hover: #ff9a4f;
  --orange-text: #a84a0d;
  --graphite: #2e2a27;
  --graphite-2: #3a3531;
  --on-dark: #f5f2ec;
  --on-dark-2: #c9c1b8;
  --line-dark: rgba(245, 242, 236, 0.16);

  --font: "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 3vw, 40px);
  --maxw: 1360px;
  --section: clamp(84px, 10vw, 148px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.44, 0, 0.56, 1);
  --container-edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --header-h: 84px;

  --r-btn: 8px;
  --r-badge: 6px;
  --r-card: 8px;
  --r-panel: 10px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #9a9188 var(--paper);
}
html.has-smoothscroll { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lenis required rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

::selection { background: var(--orange); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; }

section[id] { scroll-margin-top: var(--header-h); }
#main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible,
.section-graphite :focus-visible,
.site-footer :focus-visible,
.statement :focus-visible { outline-color: var(--orange); }
.statement :focus-visible { outline-color: var(--ink); }

.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(--paper); padding: 12px 18px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(64px, 7vw, 104px) 0; }
.section-sand { background: var(--sand); }
.section-graphite { background: var(--graphite); color: var(--on-dark); }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  max-width: 17ch;
}
.h2-xl { font-size: clamp(46px, 6.2vw, 96px); letter-spacing: -0.038em; line-height: 0.98; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.section-graphite .lede { color: var(--on-dark-2); }

.side-label, .eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; line-height: 1.4; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.side-label::before, .eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.42em;
  background: var(--orange);
}
.statement .side-label { color: var(--ink); }
.statement .side-label::before { background: var(--ink); }
.side-label-light, .section-graphite .side-label { color: var(--on-dark-2); }
.eyebrow-light { color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head > .side-label { grid-column: 1 / span 3; padding-top: 0.9em; }
.section-head > div, .section-head > .h2 { grid-column: 4 / -1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out),
    border-color 200ms var(--ease-out), box-shadow 240ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 10px 24px -12px rgba(245, 134, 52, 0.75); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.62); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  padding: 0 16px; pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 20px;
  width: min(1040px, 100%); margin: 0 auto;
  padding: 8px 8px 8px 18px;
  background: rgba(245, 242, 236, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-radius: var(--r-panel);
  box-shadow: 0 1px 0 rgba(34, 30, 27, 0.04);
  transition: box-shadow 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.site-header.is-scrolled .nav-bar {
  background: rgba(245, 242, 236, 0.96);
  box-shadow: 0 12px 32px -18px rgba(34, 30, 27, 0.35);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--orange); stroke-width: 7; }
.brand-word { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; color: #6f6c6f; white-space: nowrap; }
.brand-light .brand-word { color: var(--on-dark); }

.nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); border-radius: var(--r-badge);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(34, 30, 27, 0.06); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-left: auto;
  border: 0; border-radius: var(--r-btn); background: var(--ink); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--paper); transition: transform 240ms var(--ease-out); }
.menu-open .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.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: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: #2a211b;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 55% 30%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(26, 19, 14, 0.86) 0%, rgba(26, 19, 14, 0.55) 26%, rgba(26, 19, 14, 0.12) 52%, rgba(26, 19, 14, 0) 66%),
    linear-gradient(to right, rgba(26, 19, 14, 0.35) 0%, rgba(26, 19, 14, 0) 45%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero-copy { min-width: 0; }
.hero-title {
  margin-top: 20px;
  font-size: clamp(42px, calc((100vw - 480px) / 13.2), 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero-line { display: block; }
.hero-line > span { display: block; white-space: nowrap; }
.hero-aside { flex: none; width: 360px; }
.hero-aside p { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); margin-bottom: 24px; }

/* Entrance, measured from the reference: photo 1.05 -> 1 over 2s, words blur up one by one,
   actions fade in last. Words stay visible without JS (the failsafe fires at 2.5s). */
.split-w { display: inline-block; }
.js-motion .hero-media img { animation: heroBg 2s cubic-bezier(0.12, 0.23, 0.5, 1) both; }
.js-motion .nav-bar { animation: navIn 0.9s var(--ease-soft) 0.2s both; }
.js-motion .hero-copy .eyebrow { animation: fadeIn 0.7s var(--ease-soft) 0.3s both; }
.js-motion .hero-aside .btn-row { animation: fadeUp 0.7s var(--ease-soft) 1.5s both; }
.js-motion [data-split]:not(.is-split) { opacity: 0; animation: fadeIn 0.01s linear 2.5s forwards; }
.js-motion .is-split .split-w {
  opacity: 0; filter: blur(10px); transform: translateY(10px);
  animation: wordIn 0.9s 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 ---------- */
.statement { background: var(--orange); color: var(--ink); padding: clamp(84px, 9vw, 136px) 0; }
.statement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.statement-grid .side-label { grid-column: 1 / span 3; padding-top: 0.7em; }
.statement-text {
  grid-column: 4 / -1;
  font-size: clamp(26px, 2.75vw, 42px); line-height: 1.18; letter-spacing: -0.025em; font-weight: 450;
  max-width: 30ch;
}
/* scroll-driven fill: JS sets each word's opacity from 0.2 to 1 as the band scrolls up */
.scrub-w { will-change: opacity; }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.proof-photo { grid-column: 1 / span 4; }
.proof-photo img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--r-card); }
.proof-body { grid-column: 6 / -1; display: flex; flex-direction: column; align-items: flex-start; }
.proof-head { display: grid; gap: 22px; }
.proof-lede { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; max-width: 30ch; }
.stats {
  width: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px;
  margin: clamp(40px, 5vw, 64px) 0 40px;
}
.stat { border-top: 1px solid var(--line-strong); padding: 18px 0 26px; }
.stat dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin-top: 6px; font-size: clamp(44px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- difference ---------- */
.diff-photo { margin: 0 0 clamp(40px, 5vw, 64px); }
.diff-photo img { width: 100%; aspect-ratio: 2200 / 933; height: auto; object-fit: cover; border-radius: var(--r-panel); }
.side-label.photo-cap { margin-top: 16px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; color: var(--ink); white-space: normal; }
.compare-wrap { border-top: 1px solid var(--line-strong); }
.compare { width: 100%; border-collapse: collapse; font-size: 17px; }
.compare thead th {
  text-align: left; padding: 18px 16px 18px 0;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.compare thead th.compare-us { color: var(--orange-text); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th {
  width: 22%; text-align: left; padding: 26px 16px 26px 0; vertical-align: top;
  font-size: 19px; font-weight: 500; letter-spacing: -0.015em;
}
.compare td { width: 36%; padding: 26px 24px 26px 0; vertical-align: top; color: var(--muted); }
.compare td.compare-us { color: var(--ink); font-weight: 500; position: relative; padding-left: 20px; }
.compare td.compare-us::after {
  content: ""; position: absolute; left: 0; top: 36px; width: 7px; height: 7px; background: var(--orange);
}

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  aspect-ratio: 4 / 3; background: #3a302a; color: #fff;
  display: flex; align-items: flex-end;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform 900ms var(--ease-out);
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 1;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to top, #000 25%, transparent);
  mask-image: linear-gradient(to top, #000 25%, transparent);
  pointer-events: none;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(22, 16, 12, 0.93) 0%, rgba(22, 16, 12, 0.78) 26%, rgba(22, 16, 12, 0.25) 56%, rgba(22, 16, 12, 0) 72%);
}
.service-card:hover img { transform: scale(1.035); }
.service-copy { position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 34px); max-width: 560px; }
.service-copy h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.028em; line-height: 1.08; }
.service-copy p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.service-copy a { color: #fff; text-decoration: underline; }

/* ---------- reviews (reference testimonial layout) ---------- */
.reviews { padding-bottom: clamp(48px, 5vw, 72px); overflow: hidden; }
.reviews-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.reviews-label { grid-column: 1 / span 3; grid-row: 1; padding-top: 0.9em; }
.review-badge {
  grid-column: 2 / span 2; grid-row: 2; align-self: end;
  width: 132px; aspect-ratio: 4 / 5; margin-top: 48px; border-radius: var(--r-card);
  background: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.review-mono { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.js-motion .review-mono.is-swapping { animation: fadeIn 0.6s var(--ease-soft) both; }
.review-stars { display: flex; gap: 2px; }
.review-stars svg { width: 14px; height: 14px; fill: var(--orange); }
.review-stage { grid-column: 5 / -1; grid-row: 1 / span 2; }
.review-list { min-height: clamp(210px, 17vw, 260px); }
.review blockquote { margin: 0; }
.review-quote { font-size: clamp(25px, 2.45vw, 38px); line-height: 1.22; letter-spacing: -0.025em; font-weight: 450; max-width: 30ch; }
.review-name { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15.5px; color: var(--muted); }
.review-name strong { color: var(--ink); font-weight: 600; }
.js-motion .review-name.is-swapping { animation: fadeIn 0.6s var(--ease-soft) 0.5s both; }
.review-controls { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.review-count { margin-right: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.09em; color: var(--muted); font-variant-numeric: tabular-nums; }
.review-btn {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.review-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 200ms var(--ease-out); }
.review-btn:hover { background: var(--ink); border-color: var(--ink); }
.review-btn:hover svg { stroke: var(--paper); }
.review-btn:active { transform: scale(0.97); }

.ticker {
  margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: flex; align-items: center; gap: 30px; padding-right: 30px;
  font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  color: rgba(34, 30, 27, 0.34);
}
.ticker-track li::after { content: ""; width: 7px; height: 7px; background: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- how we work (reference: pinned photo swaps per step) ---------- */
.how { background: var(--paper); }
.how-layout { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.how-col { padding: var(--section) clamp(32px, 4vw, 64px) calc(var(--section) * 0.6) var(--container-edge); }
.how-intro .h2 { margin-top: 20px; max-width: 11ch; }
.how-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 400px; }
.how-step-photo { display: none; }
.how-label { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; }
.how-step p { color: var(--muted); font-size: 17.5px; max-width: 38ch; }
.how-media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #2a211b; }
.how-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 800ms var(--ease-soft), transform 1.6s var(--ease-soft);
}
.how-media img.is-active { opacity: 1; transform: none; }

/* focus: steps in the middle band of the screen are sharp; JS eases the rest to a light blur (desktop only) */
.js-motion .focus-ready .focus-item { transition: opacity 240ms linear, filter 240ms linear; }

/* ---------- team ---------- */
.team .h2 { color: var(--on-dark); }
.team-list { border-bottom: 1px solid var(--line-dark); }
.person {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 300px; gap: 32px; align-items: start;
  padding: 36px 0; border-top: 1px solid var(--line-dark);
}
.person-mono {
  width: 96px; height: 96px; border-radius: var(--r-card);
  display: grid; place-items: center;
  background: var(--graphite-2); color: var(--orange);
  font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
}
.person-main h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.028em; line-height: 1.1; color: var(--on-dark); }
.person-role { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.person-main p:last-child { margin-top: 14px; color: var(--on-dark-2); max-width: 58ch; }
.tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding-top: 4px; }
.tags li {
  padding: 7px 10px; border: 1px solid rgba(245, 242, 236, 0.28); border-radius: var(--r-badge);
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-dark-2);
  white-space: nowrap;
}

/* ---------- tax year (reference process: pinned photo bleeding left) ---------- */
.taxyear { background: var(--paper); }
.taxyear-layout { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); align-items: start; }
.taxyear-photo { position: sticky; top: 0; height: 100vh; height: 100svh; margin: 0; overflow: hidden; }
.taxyear-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.taxyear-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 16, 12, 0.78) 0%, rgba(22, 16, 12, 0.35) 22%, rgba(22, 16, 12, 0) 42%);
}
.photo-cap-over {
  position: absolute; z-index: 1; left: var(--container-edge); right: 32px; bottom: clamp(28px, 4vh, 44px);
  display: flex; align-items: flex-start; gap: 10px;
  color: #fff; font-size: clamp(18px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
}
.photo-cap-over::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.55em; background: var(--orange); }
.taxyear-body { padding: var(--section) var(--container-edge) var(--section) clamp(40px, 5vw, 88px); }
.taxyear-body .h2 { margin-top: 20px; max-width: 14ch; }
.year-list { margin-top: clamp(40px, 5vw, 64px); }
.year-list li { border-top: 1px solid var(--line-strong); padding: 34px 0 44px; }
.year-when { font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--orange-text); }
.year-list h3 { margin-top: 8px; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.year-list li p:last-child { margin-top: 8px; color: var(--muted); max-width: 46ch; }

/* ---------- tables (pricing) ---------- */
.table-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-panel);
  padding: 28px 26px 26px;
  box-shadow: 0 1px 2px rgba(34, 30, 27, 0.06), 0 14px 30px -24px rgba(34, 30, 27, 0.35);
}
.price-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.price { margin: 14px 0 22px; font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-from { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.price-per { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); margin-left: 2px; }
.price-list { display: grid; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); margin-bottom: auto; }
.price-list li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--orange); }
.price-card .btn { margin-top: 8px; }
.price-card-feature { background: var(--graphite); color: var(--on-dark); position: relative; }
.price-card-feature .price-from, .price-card-feature .price-per { color: var(--on-dark-2); }
.price-card-feature .price-list { border-top-color: var(--line-dark); }
.price-card-feature :focus-visible { outline-color: var(--orange); }
.price-flag {
  align-self: flex-start; margin-bottom: 14px; padding: 6px 9px; border-radius: var(--r-badge);
  background: var(--orange); color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
}

.boosters {
  margin-top: 16px; background: var(--card); border-radius: var(--r-panel);
  padding: clamp(26px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 32px; row-gap: 20px;
  box-shadow: 0 1px 2px rgba(34, 30, 27, 0.06);
}
.boosters-head h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; }
.boosters-head p { margin-top: 8px; color: var(--muted); }
.booster-table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.booster-table thead th { text-align: left; padding: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.booster-table thead th:last-child, .booster-table td { text-align: right; }
.booster-table tbody tr { border-top: 1px solid var(--line); }
.booster-table tbody th { text-align: left; font-weight: 500; padding: 14px 16px 14px 0; }
.booster-table td { padding: 14px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.boosters-note { grid-column: 2; font-size: 15.5px; color: var(--muted); }

/* ---------- offices ---------- */
.valley { margin-bottom: clamp(56px, 7vw, 104px); }
.valley img { width: 100%; aspect-ratio: 21 / 8; height: auto; object-fit: cover; object-position: 50% 60%; border-radius: var(--r-panel); }
.office-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.office-list li { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.office-list h3 { font-size: 19px; letter-spacing: -0.015em; }
.office-list address { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.office-list a { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.faq-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .h2 { margin-top: 20px; }
.accordion { grid-column: 6 / -1; border-bottom: 1px solid var(--line-strong); }
.acc-item { border-top: 1px solid var(--line-strong); }
.acc-item h3 { font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; min-height: 48px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
}
.acc-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: var(--r-badge); background: var(--paper); transition: background-color 200ms var(--ease-out); }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--ink); transition: transform 260ms var(--ease-out);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger:hover .acc-icon { background: var(--orange); }
.is-open .acc-icon { background: var(--orange); }
.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 56px 26px 0; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.contact-intro { grid-column: 1 / span 5; }
.direct { margin: 36px 0 36px; border-top: 1px solid var(--line-strong); }
.direct li { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.direct-label { width: 56px; flex: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.direct a { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.015em; text-decoration: none; overflow-wrap: anywhere; }
.direct a:hover { color: var(--orange-text); text-decoration: underline; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--r-card); }

.lead-form {
  grid-column: 7 / -1;
  background: var(--card); border-radius: var(--r-panel);
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 1px 2px rgba(34, 30, 27, 0.06), 0 24px 48px -32px rgba(34, 30, 27, 0.35);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.form-title { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.028em; }
.form-note { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-top: 20px; min-width: 0; }
.field-row .field { margin-top: 20px; }
.field label, .checks legend { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.req { font-weight: 500; color: var(--muted); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1px solid #8a8178; border-radius: var(--r-badge);
  font-size: 16px; line-height: 1.4;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:not([type="checkbox"]):hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:not([type="checkbox"]):focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--orange-text); box-shadow: 0 0 0 3px rgba(168, 74, 13, 0.28); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin-top: 6px; font-size: 14px; color: #b3261e; font-weight: 500; }
.checks { border: 0; padding: 0; margin: 22px 0 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.checks .check { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; font-size: 15.5px; font-weight: 400; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--orange-text); cursor: pointer; }
.lead-form .btn { margin-top: 26px; }
.form-status { margin-top: 14px; font-size: 15.5px; font-weight: 500; color: #2f6b3a; }
.form-status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark-2); padding: clamp(64px, 7vw, 96px) 0 36px; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin-top: 16px; max-width: 32ch; }
.footer-head { font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-line { margin-top: 28px; line-height: 1.8; color: var(--on-dark); text-align: center; text-wrap: balance; }
.footer-fine { margin-top: 12px; font-size: 13.5px; color: #a39a90; text-align: center; }
.footer-fine > span { display: block; }
.footer-fine > span + span { margin-top: 4px; }

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

/* ================= responsive ================= */
@media (max-width: 1180px) {
  .service-card { aspect-ratio: 1 / 1; }
  .table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .person { grid-template-columns: 88px minmax(0, 1fr); }
  .person-mono { width: 88px; height: 88px; }
  .tags { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 1080px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-title { font-size: clamp(42px, 6.6vw, 72px); }
  .hero-aside { width: min(520px, 100%); }
  .proof-photo { grid-column: 1 / span 5; }
  .proof-body { grid-column: 7 / -1; }
  .how-layout { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
  .reviews-label { grid-column: 1 / span 3; }
  .review-badge { grid-column: 1 / span 3; }
  .review-stage { grid-column: 4 / -1; }
  .boosters { grid-template-columns: 1fr; }
  .boosters-note { grid-column: 1; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { padding: 6px 6px 6px 14px; }
  .nav { margin-left: 0; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 10px; background: var(--paper); border-radius: var(--r-panel);
    box-shadow: 0 20px 44px -20px rgba(34, 30, 27, 0.45);
  }
  .nav-links.is-open a:not(.btn) { min-height: 48px; padding: 0 12px; font-size: 13.5px; }
  .nav-links.is-open .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-links .nav-cta-mobile .btn-primary { width: 100%; color: var(--ink); background: var(--orange); }

  .section-head { display: block; }
  .section-head > .side-label { padding-top: 0; margin-bottom: 18px; }
  .statement-grid { display: block; }
  .statement-grid .side-label { padding-top: 0; margin-bottom: 22px; }
  .statement-text { max-width: none; }

  .proof-grid { display: flex; flex-direction: column; gap: 40px; }
  .proof-photo { width: min(420px, 100%); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4 / 3; }

  .how-layout { display: block; }
  .how-media { display: none; }
  .how-col { padding: var(--section) var(--gutter) calc(var(--section) * 0.4); }
  .how-step { min-height: 0; max-width: none; margin-top: 56px; }
  .how-step-photo { display: block; margin-bottom: 22px; }
  .how-step-photo img { width: 100%; aspect-ratio: 4 / 3.4; height: auto; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); }

  .taxyear-layout { display: block; }
  .taxyear-photo { position: relative; height: auto; aspect-ratio: 4 / 4.4; max-height: 82vh; }
  .photo-cap-over { left: var(--gutter); right: var(--gutter); }
  .taxyear-body { padding: calc(var(--section) * 0.8) var(--gutter) var(--section); }

  .reviews-grid { display: block; }
  .reviews-label { padding-top: 0; margin-bottom: 26px; }
  .review-badge { display: none; }
  .review-list { min-height: 0; }

  .faq-grid { display: block; }
  .faq-head { position: static; margin-bottom: 36px; }

  .contact-grid { display: flex; flex-direction: column; gap: 48px; }
  .lead-form { position: static; width: 100%; }
  .contact-photo { display: none; }

  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 22px 0; }
  .compare tbody th { width: 100%; padding: 0 0 12px; }
  .compare td { padding: 0 0 10px; }
  .compare td::before {
    display: block; margin-bottom: 2px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  }
  .compare td:nth-of-type(1)::before { content: "A traditional accountant"; }
  .compare td.compare-us { padding-left: 0; }
  .compare td.compare-us::before { content: "Hallows & Co"; color: var(--orange-text); }
  .compare td.compare-us::after { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero-inner { padding-bottom: 28px; gap: 22px; }
  .hero-media img { object-position: 50% 0%; }
  .hero-shade {
    background: linear-gradient(to top, rgba(26, 19, 14, 0.94) 0%, rgba(26, 19, 14, 0.78) 38%, rgba(26, 19, 14, 0.2) 62%, rgba(26, 19, 14, 0) 74%);
  }
  .hero-title { font-size: clamp(36px, 10.4vw, 52px); margin-top: 14px; }
  .hero-line > span { white-space: normal; }
  .hero-aside p { font-size: 16px; margin-bottom: 20px; }
  .btn-row { flex-direction: column; width: 100%; gap: 10px; }
  .btn { width: 100%; }
  .nav-bar .btn, .nav-toggle { width: auto; }
  .nav-links.is-open .nav-cta-mobile .btn { width: 100%; }

  .stats { column-gap: 20px; }
  .stat dt { font-size: 12px; letter-spacing: 0.06em; }
  .table-grid { grid-template-columns: 1fr; }
  .office-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .person-mono { width: 64px; height: 64px; font-size: 22px; }
  .tags { grid-column: 1; }
  .service-card { aspect-ratio: 4 / 5; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .booster-table { font-size: 15.5px; }
  .footer-top { grid-template-columns: 1fr; }
  .acc-panel p { padding-right: 0; }
  .valley img { aspect-ratio: 4 / 3; }
  .diff-photo img { aspect-ratio: 2 / 1; object-position: 60% 70%; }
  .side-label.photo-cap { font-size: 15px; letter-spacing: -0.01em; white-space: normal; }
  .side-label, .eyebrow { font-size: 11.5px; letter-spacing: 0.08em; white-space: nowrap; }
  .price-flag { font-size: 11px; }
}

@media (max-width: 400px) {
  .office-list { grid-template-columns: 1fr; }
  .form-title { font-size: 22px; }
  .service-copy { padding: 20px; }
  .service-copy h3 { font-size: 21px; letter-spacing: -0.03em; }
  .stat dt { letter-spacing: 0.04em; }
  .brand-word { font-size: 19px; }
  .direct li { gap: 12px; }
  .direct-label { width: 46px; }
}

/* short viewports: keep the hero at exactly one screen */
@media (max-height: 820px) and (min-width: 1081px) {
  .hero-title { font-size: clamp(40px, min(calc((100vw - 480px) / 13.2), 9.2vh), 82px); }
  .hero-inner { padding-bottom: 36px; }
}
@media (max-height: 820px) and (min-width: 761px) and (max-width: 1080px) {
  .hero-title { font-size: clamp(40px, min(6.6vw, 7.6vh), 72px); }
  .hero-inner { padding-bottom: 36px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-title { font-size: clamp(32px, 9vw, 40px); }
  .hero-aside p { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
  .hero-copy .eyebrow { display: none; }
  .btn { min-height: 48px; }
}

@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; }
}

/* ---------- accessibility statement page ---------- */
.a11y-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 6vw, 88px); }
.a11y-title { margin-top: 22px; font-size: clamp(44px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.038em; }
.a11y-body { padding: clamp(64px, 7vw, 112px) 0; }
.a11y-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.a11y-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 24px); }
.a11y-toc ol { margin-top: 18px; display: grid; gap: 2px; }
.a11y-toc a { display: flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.a11y-toc a:hover { color: var(--orange-text); text-decoration: underline; }
.a11y-content { grid-column: 5 / -1; max-width: 70ch; }
.a11y-content section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line-strong); }
.a11y-content h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.a11y-content p + p { margin-top: 14px; }
.a11y-content a:not(.btn) { color: var(--orange-text); }
.a11y-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.a11y-list li { position: relative; padding-left: 20px; }
.a11y-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--orange); }
.a11y-direct { margin: 22px 0 0; }
.direct-text { font-size: 17px; font-weight: 500; }
.page-a11y .site-footer { padding-top: 48px; }
.page-a11y .footer-line { margin-top: 0; }

@media (max-width: 900px) {
  .a11y-grid { display: block; }
  .a11y-toc { position: static; margin-bottom: 40px; }
}
@media (max-width: 760px) {
  .a11y-hero .side-label { white-space: nowrap; }
}
