/* ==========================================================================
   E&N Media. Tokens rebuilt from the brand book cheat sheet, page 9.
   Cream room, linen paper, espresso words, one terracotta door per view.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/BricolageGrotesque-var.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* color, from the cheat sheet */
  --cream: #F6EFE6;
  --linen: #FDF8F1;
  --espresso: #2B211C;
  --terracotta: #C4572E;
  --terracotta-deep: #AD4A25;
  --sand: #E4C4A8;
  --sand-light: #EBD5BF;
  --fern: #5C6B4F;
  --clear: #4C7A4A;

  /* derived, all espresso or cream based */
  --ink: var(--espresso);
  --ink-soft: #6B5D52;                 /* espresso softened toward cream, AA on cream and linen */
  --on-dark: #F3EBE0;                  /* body text on espresso */
  --on-dark-soft: #B8ACA2;             /* labels and captions on espresso */
  --hairline: rgba(43, 33, 28, .14);
  --hairline-strong: rgba(43, 33, 28, .28);
  --hairline-dark: rgba(246, 239, 230, .16);

  /* type */
  --f-head: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --f-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', 'Consolas', ui-monospace, monospace;

  --container: 1200px;
}

/* ---------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset {
  margin: 0;
  padding: 0;
}
fieldset { border: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--sand); color: var(--espresso); }

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible,
.act-dark :focus-visible,
.footer-act :focus-visible,
.site-head:not(.scrolled) :focus-visible {
  outline-color: var(--linen);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 36px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 90;
  background: var(--espresso);
  color: var(--linen);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus-visible { left: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* the arch: top radius equals half the width, always on a baseline */
.arch { border-radius: 999px 999px 0 0; }

/* mono data layer */
.mono-label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mono-note {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 20px;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.caption {
  font-size: 13.5px;
  line-height: 20px;
  color: var(--ink-soft);
}

/* ---------- brand mark ---------- */

.mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 30px;
  height: 36px;
  background: var(--terracotta);
  border-radius: 999px 999px 0 0;
  flex: none;
}
.mark > span {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--linen);
  padding-bottom: 8px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wordmark {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--head-ink, var(--ink));
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: var(--linen);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  padding: 19px 34px 21px;
  border-radius: 30px 30px 10px 10px;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-head {
  display: inline-flex;
  align-items: center;
  background: var(--linen);
  color: var(--espresso);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  padding: 11px 20px 13px;
  border-radius: 18px 18px 8px 8px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-head:hover { transform: translateY(-1px); }
.site-head.scrolled .btn-head { background: var(--espresso); color: var(--linen); }
.site-head.scrolled .btn-head:hover { background: #453730; }

.link-quiet {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color .18s ease;
}
.link-quiet:hover { color: var(--terracotta-deep); }

.link-onDark {
  font-weight: 600;
  font-size: 17px;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color .18s ease;
}
.link-onDark:hover { color: var(--sand); }

/* ---------- header, fixed and adaptive ---------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  --head-ink: var(--linen);
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-head.scrolled {
  --head-ink: var(--espresso);
  background: rgba(246, 239, 230, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
.site-nav a {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--head-ink);
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- hero, the cover ---------- */

.hero {
  position: relative;
  background: var(--espresso);
  overflow: hidden;
}
.hero-in {
  padding-top: clamp(140px, 22vh, 220px);
  padding-bottom: clamp(210px, 26vh, 280px);
}
.eyebrow {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero h1 {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(64px, 10.5vw, 136px);
  line-height: .96;
  letter-spacing: -0.02em;
  color: var(--linen);
  margin-top: 26px;
}
.hero-sub {
  max-width: 56ch;
  margin-top: 30px;
  font-size: 17.5px;
  line-height: 29px;
  color: var(--on-dark);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 54px;
  color: var(--on-dark-soft);
}

/* the doorway row, arches on the hero baseline, like the manual cover */
.door-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 2.6vw, 30px);
}
.door-row span {
  width: clamp(38px, 5.4vw, 64px);
  border-radius: 999px 999px 0 0;
  flex: none;
}
.door-row span:nth-child(1) { height: 66px;  background: var(--terracotta); }
.door-row span:nth-child(2) { height: 46px;  background: var(--fern); }
.door-row span:nth-child(3) { height: 84px;  background: var(--sand); }
.door-row span:nth-child(4) { height: 56px;  background: var(--terracotta); }
.door-row span:nth-child(5) { height: 100px; background: var(--linen); }
.door-row span:nth-child(6) { height: 62px;  background: var(--sand); }
.door-row span:nth-child(7) { height: 78px;  background: var(--fern); }
.door-row span:nth-child(8) { height: 52px;  background: var(--terracotta); }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  padding-block: 17px;
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-seq {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}
.marquee-seq span {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 44s linear infinite; }
  @keyframes marquee {
    to { transform: translateX(-50%); }
  }
}

/* ---------- acts ---------- */

.act { padding-block: clamp(72px, 9.5vw, 128px); }
.act-dark {
  background: var(--espresso);
  color: var(--on-dark);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 2px solid var(--espresso);
  padding-top: 22px;
}
.sec-num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
}
.sec-head h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.sec-note {
  margin-left: auto;
  font-size: 16px;
  color: var(--ink-soft);
}
.sec-lede {
  max-width: 62ch;
  margin-top: 24px;
  font-size: 17px;
  line-height: 28px;
}

.sec-head.on-dark { border-top-color: rgba(246, 239, 230, .4); }
.sec-head.on-dark h2 { color: var(--linen); }
.sec-head.on-dark .sec-num,
.sec-head.on-dark .sec-note { color: var(--on-dark-soft); }

.card {
  background: var(--linen);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}

/* ---------- intro ---------- */

.intro-act { padding-block: clamp(64px, 8vw, 110px); }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.intro-photo {
  align-self: end;
  border-bottom: 2px solid var(--espresso);
}
.intro-photo .photo-tall { max-width: 400px; }
.intro-line {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 18px;
  max-width: 22ch;
}
.intro-body {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 28px;
}

/* photo placeholders: sand stripes inside an arch, mono note, like the book */
.photo-slot {
  position: relative;
  background: repeating-linear-gradient(45deg, var(--sand-light) 0 16px, var(--sand) 16px 32px);
  overflow: hidden;
}
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-tall { width: 100%; aspect-ratio: 4 / 5; }
.photo-portrait { width: min(340px, 100%); aspect-ratio: 3 / 4; }
.photo-note {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-soft);
  background: rgba(253, 248, 241, .92);
  padding: 4px 12px;
  border-radius: 8px;
}

/* ---------- estimator, the instrument ---------- */

.estimator {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--linen);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
.est-controls {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: clamp(28px, 3.6vw, 48px);
}
.est-labelrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.est-readout {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.est-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 2px;
}
.est-note { margin-top: auto; max-width: 40ch; }

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 36px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--hairline-strong);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 32px;
  margin-top: -15px;
  background: var(--terracotta);
  border: 0;
  border-radius: 999px 999px 3px 3px;
  transition: background-color .18s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { background: var(--terracotta-deep); }
input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--hairline-strong);
}
input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 32px;
  background: var(--terracotta);
  border: 0;
  border-radius: 999px 999px 3px 3px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip-row input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chip-row label {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 16px 11px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip-row label:hover { border-color: var(--espresso); }
.chip-row input:checked + label {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--linen);
}
.chip-row input:focus-visible + label {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
}

/* results panel: the dark side of the instrument */
.est-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--espresso);
  padding: clamp(20px, 2.6vw, 34px);
}
.est-cell { padding: clamp(16px, 2vw, 26px); }
.est-cell:nth-child(even) { border-left: 1px solid var(--hairline-dark); }
.est-cell:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
.est-cell .mono-label { color: var(--on-dark-soft); }
.est-value {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  margin-top: 12px;
  color: var(--linen);
  font-variant-numeric: tabular-nums;
}
.est-value-accent { color: var(--terracotta); }
.est-cap {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--on-dark-soft);
  max-width: 26ch;
}

/* ---------- what you get, numbered rows ---------- */

.deliver { margin-top: 20px; }
.deliver-kicker { margin-top: 40px; }
.deliver-rows { margin-top: 6px; }
.deliver-rows li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--hairline);
  transition: transform .22s ease;
}
.d-num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color .22s ease;
}
.d-text {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  max-width: 30em;
}
@media (hover: hover) {
  .deliver-rows li:hover { transform: translateX(10px); }
  .deliver-rows li:hover .d-num { color: var(--terracotta); }
}

/* ---------- the Monday report, dark act ---------- */

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px);
  margin-top: 52px;
  align-items: start;
}
.report-copy p { max-width: 46ch; font-size: 16.5px; line-height: 27px; }
.report-copy p + p { margin-top: 16px; }

.rhythm { margin-top: 34px; border-top: 1px solid var(--hairline-dark); }
.rhythm-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.rhythm-row .mono-label { color: var(--on-dark-soft); }
.rhythm-row dd { font-size: 15.5px; }

.report-card {
  background: var(--linen);
  color: var(--ink);
  border: 1px solid var(--hairline-dark);
  border-radius: 16px;
  overflow: hidden;
}
.report-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--espresso);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 13px 22px;
}
.report-head .mark { width: 22px; height: 26px; }
.report-head .mark > span { font-size: 11px; padding-bottom: 5px; }
.report-brand {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--linen);
}
.report-tag { color: var(--on-dark-soft); }
.chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cream);
  color: var(--espresso);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  padding: 6px 12px 7px;
  border-radius: 999px;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clear);
}
.report-body { padding: 26px 30px 28px; }
.report-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.report-title h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 25px;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.rstat { padding: 2px 16px; }
.rstat:first-child { padding-left: 0; }
.rstat + .rstat { border-left: 1px solid var(--hairline); }
.rstat-num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 33px);
  line-height: 1.2;
  margin-top: 6px;
}
.rstat-accent { color: var(--terracotta); }
.rstat .caption { margin-top: 4px; }
.report-takeaway { padding-top: 18px; font-size: 15.5px; }
.report-caption { margin-top: 14px; color: var(--on-dark-soft); }

/* ---------- how it works ---------- */

.timeline { margin-top: 56px; }
.timeline-arches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  border-bottom: 2px solid var(--espresso);
}
.t-arch {
  width: min(96px, 62%);
  background: var(--sand);
  border-radius: 999px 999px 0 0;
}
.t-arch-1 { height: 88px; }
.t-arch-2 { height: 142px; }
.t-arch-3 { height: 190px; }
.t-arch-accent { background: var(--terracotta); }

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  margin-top: 26px;
}
.timeline-steps h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 23px;
  line-height: 28px;
  margin-top: 10px;
}
.timeline-steps p:last-child { margin-top: 10px; max-width: 34ch; }

/* ---------- benchmarks chart ---------- */

.chart {
  margin-top: 48px;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) 26px;
}
.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  min-height: 236px;
  max-width: 820px;
  margin-inline: auto;
}
.cbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.cbar-num {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}
.cbar-accent .cbar-num { font-weight: 700; }
.cbar-arch {
  width: min(76px, 78%);
  height: calc(var(--h) * 200px);
  background: var(--sand);
  border-radius: 999px 999px 0 0;
  transition: background-color .18s ease;
}
.cbar:hover .cbar-arch { background: var(--sand-light); }
.cbar-accent .cbar-arch { background: var(--terracotta); }
.cbar-accent:hover .cbar-arch { background: var(--terracotta-deep); }
.cbar-label {
  width: 100%;
  text-align: center;
  border-top: 2px solid var(--espresso);
  padding-top: 12px;
  font-size: 11px;
}
.chart-foot {
  text-align: center;
  margin-top: 28px;
}
.chart-caption { margin-top: 14px; }

/* ---------- one person to call ---------- */

.arthur {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(36px, 6vw, 88px);
  margin-top: 52px;
  align-items: end;
}
.arthur-photo { border-bottom: 2px solid var(--espresso); }
.arthur-copy { padding-bottom: 10px; }
.arthur-line {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(25px, 3.2vw, 37px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.arthur-copy h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 27px;
  margin-top: 36px;
}
.arthur-role {
  margin-top: 4px;
  color: var(--ink-soft);
}
.arthur-body {
  margin-top: 16px;
  max-width: 56ch;
}
.founder-mail {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--fern);
  text-decoration: none;
}
.founder-mail:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- pricing ---------- */

.pricing {
  margin-top: 44px;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.price-big {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(52px, 6.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.price-left .mono-label { margin-top: 12px; }
.price-right p { max-width: 58ch; font-size: 16.5px; line-height: 27px; }
.price-right p + p { margin-top: 14px; }

/* ---------- faq ---------- */

.faq {
  margin-top: 36px;
  max-width: 860px;
}
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  padding: 23px 4px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 21px;
  line-height: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.faq-plus {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p {
  padding: 0 4px 26px;
  max-width: 66ch;
}

/* ---------- footer act ---------- */

.footer-act {
  background: var(--espresso);
  color: var(--on-dark);
  padding-top: clamp(88px, 12vw, 150px);
  overflow: hidden;
}
.foot-label { color: var(--on-dark-soft); }
.foot-cta h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--linen);
  margin-top: 18px;
}
.foot-sub {
  margin-top: 24px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 28px;
}
.foot-cta .btn { margin-top: 34px; }
.foot-mail { margin-top: 20px; color: var(--on-dark-soft); }
.foot-mail a { color: var(--on-dark); text-decoration: none; }
.foot-mail a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot-giant {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(64px, 14.8vw, 215px);
  line-height: .95;
  letter-spacing: -0.025em;
  color: var(--linen);
  margin-top: clamp(72px, 10vw, 130px);
  white-space: nowrap;
}
.foot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  border-top: 1px solid var(--hairline-dark);
  margin-top: clamp(28px, 4vw, 44px);
  padding-block: 30px 40px;
}
.foot-tagline {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--linen);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  color: var(--on-dark-soft);
}
.foot-links a { color: var(--on-dark-soft); text-decoration: none; }
.foot-links a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 404 ---------- */

.err-page {
  min-height: 76vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-top: 120px;
  padding-bottom: 48px;
}
.err-arch {
  width: 120px;
  height: 168px;
  border: 2px solid var(--espresso);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  position: relative;
}
.err-arch::after {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  bottom: 0;
  border-bottom: 2px solid var(--espresso);
}
.err-page h1 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  margin-top: 40px;
}
.err-page p { margin-top: 16px; }

/* header variant for plain light pages like the 404 */
.site-head-static {
  position: absolute;
  --head-ink: var(--espresso);
}
.site-head-static .btn-head { background: var(--espresso); color: var(--linen); }

/* ---------- motion: reveals and rises ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.22, .6, .25, 1);
  }
  html.js [data-reveal].in {
    opacity: 1;
    transform: none;
  }

  html.js .rise-group .cbar-arch,
  html.js .rise-group .t-arch,
  html.js .door-row.rise-group span {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  html.js .rise-group.risen .cbar-arch,
  html.js .rise-group.risen .t-arch,
  html.js .door-row.rise-group.risen span {
    transform: scaleY(1);
    transition: transform .7s cubic-bezier(.22, .65, .3, 1);
  }
  html.js .rise-group.risen > :nth-child(2) .cbar-arch,
  html.js .rise-group.risen > .t-arch:nth-child(2),
  html.js .door-row.rise-group.risen span:nth-child(2) { transition-delay: .06s; }
  html.js .rise-group.risen > :nth-child(3) .cbar-arch,
  html.js .rise-group.risen > .t-arch:nth-child(3),
  html.js .door-row.rise-group.risen span:nth-child(3) { transition-delay: .12s; }
  html.js .rise-group.risen > :nth-child(4) .cbar-arch,
  html.js .door-row.rise-group.risen span:nth-child(4) { transition-delay: .18s; }
  html.js .rise-group.risen > :nth-child(5) .cbar-arch,
  html.js .door-row.rise-group.risen span:nth-child(5) { transition-delay: .24s; }
  html.js .rise-group.risen > :nth-child(6) .cbar-arch,
  html.js .door-row.rise-group.risen span:nth-child(6) { transition-delay: .3s; }
  html.js .door-row.rise-group.risen span:nth-child(7) { transition-delay: .36s; }
  html.js .door-row.rise-group.risen span:nth-child(8) { transition-delay: .42s; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; }
  .intro-photo .photo-tall { max-width: 360px; }
  .estimator { grid-template-columns: 1fr; }
  .est-note { margin-top: 4px; }
  .report-grid { grid-template-columns: 1fr; }
  .report-copy p { max-width: 60ch; }
  .arthur { grid-template-columns: 1fr; align-items: start; }
  .arthur-copy h3 { margin-top: 8px; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
}

@media (max-width: 760px) {
  .pricing { grid-template-columns: 1fr; }
  .sec-note { margin-left: 0; flex-basis: 100%; }
  .timeline-steps { grid-template-columns: 1fr; gap: 30px; }
  .t-arch { width: min(68px, 70%); }
  .t-arch-1 { height: 60px; }
  .t-arch-2 { height: 96px; }
  .t-arch-3 { height: 128px; }
  .deliver-rows li { grid-template-columns: 44px minmax(0, 1fr); }
  .foot-giant { white-space: normal; }
}

@media (max-width: 640px) {
  .report-head { padding: 10px 14px; gap: 10px; }
  .report-brand { font-size: 15px; white-space: nowrap; }
  .report-tag { font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
  .report-body { padding: 20px 18px 22px; }
  .report-stats { grid-template-columns: 1fr 1fr; }
  .rstat { padding: 10px 16px; }
  .rstat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .rstat:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .est-results { grid-template-columns: 1fr; }
  .est-cell { padding-left: 0; padding-right: 0; }
  .est-cell:nth-child(even) { border-left: 0; }
  .est-cell:nth-child(n+2) { border-top: 1px solid var(--hairline-dark); }
  .cbar-arch { width: min(46px, 86%); height: calc(var(--h) * 155px); }
  .cbar-label { font-size: 9.5px; letter-spacing: .08em; }
  .cbar-num { font-size: 13px; }
  .chart-bars { min-height: 195px; }
  .hero-in { padding-top: 130px; padding-bottom: 170px; }
  .hero-stats { margin-top: 40px; flex-direction: column; align-items: flex-start; }
  .hero-stats > span[aria-hidden="true"] { display: none; }
  .foot-cta h2 br { display: none; }
}
