/* Fairfax Digital Media: shared styles for every page.
   Brand kept from the original site: warm off-white ground, navy ink, burnt orange,
   Syne for headings, Public Sans for reading text. Colours tuned for WCAG AA contrast. */

@font-face { font-family: "Syne"; src: url("../fonts/syne-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url("../fonts/syne-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #f6f5f0;
  --ground-2: #eeece4;
  --paper: #ffffff;
  --ink: #1b2130;
  --soft: #4f5b72;
  --orange: #b8511c;
  --orange-hover: #9c4415;
  --orange-pale: #e9c7b3;
  --night: #1b2130;
  --night-2: #252c3d;
  --night-ink: #f6f5f0;
  --night-soft: #b7bfcd;
  --night-orange: #e0703a;
  --line: #dcd9cf;
  --error: #a3260f;

  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --step-h3: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  --step-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --step-h1: clamp(3rem, 1.4rem + 5.6vw, 6.75rem);

  --margin: clamp(20px, 4.4vw, 72px);
  --max: 1400px;
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(88px, 10vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
.h1 { font-size: var(--step-h1); line-height: 0.98; }
.h2 { font-size: var(--step-h2); line-height: 1.02; }
.h3 { font-size: var(--step-h3); line-height: 1.15; letter-spacing: -0.035em; }
.quiet { font-family: var(--display); font-weight: 400; letter-spacing: -0.035em; }
.accent { color: var(--orange); }
.label {
  display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--soft); }
.soft { color: var(--soft); }
.prose { display: grid; gap: 1.1em; }
.prose p { color: var(--soft); }
.pull {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.375rem);
  line-height: 1.2; letter-spacing: -0.035em; color: var(--ink);
  border-left: 3px solid var(--orange); padding-left: clamp(20px, 2.4vw, 36px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 0;
  font-family: var(--text); font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 160ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 220ms var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn:hover svg.down { transform: translateY(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ground); }
.btn--big { min-height: 68px; padding: 0 36px; font-size: 1.1875rem; }
.night .btn--ghost { border-color: var(--night-ink); color: var(--night-ink); }
.night .btn--ghost:hover { background: var(--night-ink); color: var(--night); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ground);
  transition: border-color 200ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: var(--ground);
  font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0;
}
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.05em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.nav__links { display: flex; gap: clamp(20px, 3vw, 48px); }
.nav__links a { position: relative; text-decoration: none; color: var(--soft); font-size: 1.0625rem; padding: 8px 0; transition: color 160ms var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); min-height: 48px; padding: 0 18px; font-weight: 600; cursor: pointer; }
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--night-ink);
  display: flex; flex-direction: column; padding: 28px var(--margin) 40px;
  transform: translateX(100%); visibility: hidden;
  transition: transform 380ms var(--ease), visibility 0s linear 380ms;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 380ms var(--ease); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.drawer__close { background: none; border: 1.5px solid var(--night-ink); color: inherit; min-height: 48px; padding: 0 18px; font-weight: 600; cursor: pointer; }
.drawer nav { display: grid; gap: 4px; margin-bottom: 32px; }
.drawer nav a { font-family: var(--display); font-weight: 700; font-size: 3rem; letter-spacing: -0.05em; line-height: 1.15; text-decoration: none; }
.drawer nav a[aria-current="page"] { color: var(--night-orange); }
.drawer .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 96px) var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft);
  margin-bottom: 32px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero .h1 { max-width: 12.5ch; }
.hero .lead { margin-top: 32px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero__media { position: relative; }
.hero__media picture, .hero__media img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.hero__note { margin-top: 14px; font-size: var(--step-small); color: var(--soft); display: flex; justify-content: space-between; gap: 12px; }
.seal {
  position: absolute; left: -58px; bottom: -58px; width: 150px; height: 150px;
  display: grid; place-items: center; pointer-events: none;
}
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal svg.ring text { font-family: var(--text); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; fill: var(--ink); text-transform: uppercase; }
.seal__mark { width: 74px; height: 74px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- why it matters: the customer journey ---------- */
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.why .prose { margin-top: 36px; }
.journey { position: relative; }
.journey ol { display: grid; grid-template-columns: 1fr 1fr; background: var(--line); gap: 1px; border: 1px solid var(--line); counter-reset: step; }
.journey li { background: var(--ground); padding: clamp(28px, 3vw, 48px); display: grid; gap: 14px; align-content: start; min-height: 260px; transition: background-color 240ms var(--ease); }
.journey li:hover { background: var(--paper); }
.journey__top { display: flex; align-items: center; gap: 18px; }
.journey__num { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 3.4vw, 3.25rem); line-height: 1; letter-spacing: -0.04em; color: #c9825d; }
.journey__top svg { width: 30px; height: 30px; color: var(--ink); }
.journey li .h3 { margin-top: 18px; }
.journey li p { color: var(--soft); }
.journey__caption { display: flex; align-items: center; gap: 20px; margin-top: 28px; color: var(--soft); font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.02em; }
.journey__caption::before, .journey__caption::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- who we work with ---------- */
.who { background: var(--paper); }
.who .h2 { max-width: 19ch; margin-bottom: clamp(48px, 6vw, 88px); }
.who__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.who__list { border-top: 1px solid var(--line); }
.who__item { border-bottom: 1px solid var(--line); }
.who__item h3 { margin: 0; }
.who__btn {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.05em;
  color: #737c8f; transition: color 200ms var(--ease);
}
.who__btn:hover, .who__btn[aria-expanded="true"] { color: var(--ink); }
.who__btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.who__btn svg { width: 26px; height: 26px; flex: none; color: var(--orange); transition: transform 300ms var(--ease); }
.who__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.who__panel { padding: 0 0 32px; }
.who__panel[hidden] { display: none; }
.who__panel p { color: var(--soft); max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips li { border: 1px solid var(--line); background: var(--ground); padding: 10px 18px; font-size: 1rem; }
.who__panel .who__img { display: none; }
.who__stage { position: sticky; top: 120px; }
.who__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ground-2); }
.who__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--ease), transform 1200ms var(--ease); }
.who__frame img.is-on { opacity: 1; transform: none; }
.who__cap { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.04em; }
.who__cap span:last-child { font-family: var(--text); font-weight: 400; font-size: var(--step-small); color: var(--soft); letter-spacing: 0; align-self: center; }

/* ---------- approach ---------- */
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.approach figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.approach figcaption { display: flex; align-items: center; gap: 20px; margin-top: 18px; font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.02em; color: var(--soft); }
.approach figcaption::before { content: ""; flex: 1; height: 1px; background: var(--line); }
.approach .prose { margin-top: 32px; }
.approach .pull { margin-top: 44px; }

/* ---------- dark: digital front door ---------- */
.night { background: var(--night); color: var(--night-ink); }
.night .label { color: var(--night-orange); }
.night .lead, .night .prose p, .night .soft { color: var(--night-soft); }
.door__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.door .h2 { max-width: 12ch; }
.door .prose { margin-top: 40px; max-width: 36em; }
.door .prose p:first-child { color: var(--night-ink); font-size: var(--step-lead); line-height: 1.5; }
.open-card { border: 1px solid #3a4256; padding: clamp(32px, 4vw, 60px); }
.open-card__clock { width: 40px; height: 40px; color: var(--night-orange); }
.open-card .quiet { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); line-height: 1; margin-top: 28px; }
.open-card p { margin-top: 18px; color: var(--night-soft); }
.open-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #3a4256; text-align: center; }
.open-card dt { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.05em; color: var(--night-orange); line-height: 1.1; }
.open-card dd { font-size: var(--step-small); color: var(--night-soft); margin-top: 6px; }
.live-status { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: var(--step-small); color: var(--night-soft); }
.live-status i { width: 10px; height: 10px; border-radius: 50%; background: #5bc27a; box-shadow: 0 0 0 0 rgba(91, 194, 122, 0.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 194, 122, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(91, 194, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 194, 122, 0); } }

/* ---------- how it works ---------- */
.how .h2 { max-width: 14ch; margin-bottom: clamp(48px, 6vw, 88px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; position: relative; }
.steps li { background: var(--ground); padding: clamp(28px, 3vw, 52px); display: grid; align-content: start; gap: 16px; position: relative; }
.steps__num { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 4.4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; color: #c9825d; margin-bottom: 24px; }
.steps li p { color: var(--soft); }
.steps__bar { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* ---------- pricing ---------- */
.pricing .h2 { max-width: 16ch; }
.pricing .lead { margin-top: 28px; max-width: 46em; }
.banner {
  margin-top: clamp(48px, 6vw, 80px); border-block: 3px solid var(--ink); padding: clamp(20px, 2.4vw, 36px) 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 5.8vw, 5.75rem);
  letter-spacing: -0.055em; line-height: 1; text-align: center; white-space: nowrap; overflow: hidden;
}
.plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 5vw, 72px); border: 1px solid var(--line); }
.plan { padding: clamp(32px, 4vw, 64px); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 0; }
.plan + .plan { border-left: 1px solid var(--line); background: var(--paper); }
.plan__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); letter-spacing: -0.045em; }
.plan__price { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); letter-spacing: -0.05em; line-height: 1.1; margin-top: 10px; }
.plan__for { color: var(--soft); margin-top: 12px; }
.plan ul { margin-top: 36px; margin-bottom: 44px; display: grid; gap: 14px; align-content: start; }
.plan li { display: flex; gap: 16px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 4px; }
.plan .btn { width: 100%; }
.pricing__note { margin-top: 24px; font-size: var(--step-small); color: var(--soft); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--display); font-weight: 700; font-size: var(--step-h3); letter-spacing: -0.04em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--orange); transition: transform 280ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding: 0 0 28px; max-width: 42em; }

/* ---------- closing call to action ---------- */
.cta { background: var(--orange); color: #fff; }
.cta .container { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; }
.cta .h2 { max-width: 13ch; }
.cta p { margin-top: 24px; font-size: var(--step-lead); max-width: 30em; color: #fff; }
.cta__actions { display: grid; gap: 14px; justify-items: stretch; }
.cta .btn--primary { background: var(--ink); }
.cta .btn--primary:hover { background: #000; }
.cta .btn--ghost { border-color: #fff; color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--orange); }

/* ---------- about page ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 96px); }
.mission__img { position: relative; min-height: 420px; }
.mission__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission__text { padding: clamp(48px, 6vw, 104px) var(--margin) clamp(48px, 6vw, 104px) clamp(32px, 6vw, 120px); align-self: center; max-width: 760px; }
.mission__text .prose { margin-top: 32px; }
.mission__text .pull { margin-top: 44px; border-left: 0; padding-left: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; margin-top: clamp(48px, 6vw, 80px); }
.values li { background: var(--ground); padding: clamp(28px, 3vw, 48px); display: grid; gap: 14px; align-content: start; }
.values li p { color: var(--soft); }
.values svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 12px; }
.founder__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.founder .prose { margin-top: 0; }
.founder .prose p:first-child { color: var(--ink); font-size: var(--step-lead); line-height: 1.5; }
.path { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.path li { padding: 10px 18px; border: 1px solid var(--line); background: var(--paper); }
.path li:last-child { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* ---------- contact page ---------- */
.contact-hero { padding-block: clamp(48px, 6vw, 96px) 0; }
.contact-hero .h1 { max-width: 12ch; }
.contact-hero .lead { margin-top: 28px; max-width: 36em; }
.contact__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.form { display: grid; gap: 26px; background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.field .opt { font-weight: 400; color: var(--soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; background: var(--ground); border: 1.5px solid #b9b5a8; border-radius: 0;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--ink); background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b2130' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 170px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.choice span { display: grid; gap: 2px; padding: 16px; border: 1.5px solid #b9b5a8; min-height: 100%; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.choice span b { font-weight: 600; }
.choice span small { color: var(--soft); font-size: var(--step-small); }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--orange); background: #fbefe7; box-shadow: inset 0 0 0 1.5px var(--orange); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hint { font-size: var(--step-small); color: var(--soft); margin-top: 6px; }
.err { font-size: var(--step-small); color: var(--error); font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); background: #fdf1ee; }
.summary { border-left: 4px solid var(--error); background: #fdf1ee; padding: 18px 22px; }
.summary h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; font-family: var(--text); }
.summary a { color: var(--error); font-weight: 600; }
.status { background: var(--ink); color: var(--ground); padding: 18px 22px; }
.summary[hidden], .status[hidden] { display: none; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.aside { display: grid; gap: 40px; position: sticky; top: 120px; }
.aside h2 { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.04em; margin-bottom: 10px; }
.aside p { color: var(--soft); }
.aside .mail { font-size: var(--step-lead); overflow-wrap: anywhere; color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
.aside ol { display: grid; gap: 14px; counter-reset: n; }
.aside ol li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--soft); }
.aside ol li::before { counter-increment: n; content: counter(n); font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 1.25rem; line-height: 1.3; }
.aside ol li b { color: var(--ink); font-weight: 600; }

/* ---------- 404 ---------- */
.lost { padding-block: var(--section); min-height: 70svh; display: grid; align-content: center; }
.lost .h1 { font-size: clamp(6rem, 22vw, 18rem); color: var(--orange); }
.lost p { margin-top: 20px; }
.lost .btn { margin-top: 32px; justify-self: start; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-ink); padding-top: clamp(72px, 8vw, 120px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer__top .brand__mark { background: var(--night-ink); color: var(--night); }
.footer__top p { color: var(--night-soft); margin-top: 22px; max-width: 30ch; }
.site-footer h2 { font-family: var(--text); font-size: var(--step-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-orange); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--night-soft); text-decoration: none; transition: color 160ms var(--ease); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__word {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8;
  font-size: 9.6vw; white-space: nowrap; color: var(--night-2); text-align: center; overflow: hidden;
  padding-bottom: 0.04em; user-select: none;
}
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px 32px; border-top: 1px solid #3a4256; font-size: var(--step-small); color: var(--night-soft); }

/* ---------- reveal on scroll (content stays visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 900ms; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .hero__grid, .why__grid, .approach__grid, .door__grid, .faq__grid, .founder__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; }
  .hero .h1 { max-width: 13ch; }
  .seal { left: auto; right: -20px; bottom: -48px; }
  .who__grid { grid-template-columns: 1fr; }
  .who__stage { display: none; }
  .who__panel .who__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta .container { grid-template-columns: 1fr; align-items: start; }
  .cta__actions { justify-items: start; grid-auto-flow: column; }
  .mission { grid-template-columns: 1fr; min-height: 0; }
  .mission__img { min-height: 56svh; }
  .mission__text { padding-inline: var(--margin); max-width: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .site-header .container { min-height: 76px; }
  .brand__mark { width: 44px; height: 44px; font-size: 22px; }
  .brand__name { font-size: 1.125rem; }
  .nav__links, .nav > .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .pill { letter-spacing: 0.1em; font-size: 0.75rem; padding: 9px 16px; }
  .hero__actions .btn { width: 100%; }
  .seal { width: 112px; height: 112px; right: 12px; bottom: -40px; }
  .seal__mark { width: 56px; height: 56px; font-size: 24px; }
  .seal svg.ring text { font-size: 10px; }
  .journey ol { grid-template-columns: 1fr; }
  .journey li { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .banner { white-space: normal; text-wrap: balance; }
  .open-card dl { gap: 8px; }
  .cta__actions { grid-auto-flow: row; justify-items: stretch; width: 100%; }
  .values { grid-template-columns: 1fr; }
  .pair, .choices { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__word { font-size: 12vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .who__frame img { transform: none; }
}
