/* =========================================================================
   FeastMatch — Aperture-derived design system.

   The whole visual language of this build is lifted from aperturecomms.com and
   re-pointed at FeastMatch's proposition. Four decisions carry it:

     1. Two grounds, alternating. Bone (#EEE6D6) and ink (#181513). Sections are
        full-bleed bands of one or the other, never a card floating on grey.
     2. One accent. Rust (#B83E14) on bone, ember (#E0703F) on ink — the same
        hue, lifted for contrast where the ground is dark.
     3. Mixed-voice headings. Heavy grotesque for the statement, italic serif in
        the accent for the turn. `<em>` inside a heading does this automatically,
        which is why no heading in this codebase carries a span with a class.
     4. Square corners and hairlines. 2px radius on buttons, 0 everywhere else.
        Structure comes from 1px rules, not shadows — there are no shadows.
   ========================================================================= */

/* ---------- tokens ---------- */

:root {
  --bone:        #eee6d6;
  --bone-2:      #e5dbc8;
  --bone-3:      #dbcfb8;
  --ink:         #181513;
  --ink-2:       #211c19;
  --ink-3:       #2c2521;
  --rust:        #b83e14;
  --ember:       #e0703f;

  --on-bone:     #181513;
  --on-bone-dim: #6b6055;
  --on-ink:      #eee6d6;
  --on-ink-dim:  #a2978a;

  --rule-bone:   rgba(24, 21, 19, 0.16);
  --rule-ink:    rgba(238, 230, 214, 0.16);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --measure: 76rem;
  --band-y: clamp(4.5rem, 9vw, 8.5rem);
  --slash: 5.5vw;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset-ish ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--on-bone);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--rust); color: var(--bone); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.band--ink :where(a, button, input, select, textarea, summary):focus-visible {
  outline-color: var(--ember);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rust);
  color: var(--bone);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-y);
}
.band--bone { background: var(--bone); color: var(--on-bone); }
.band--bone-2 { background: var(--bone-2); color: var(--on-bone); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--ink a { color: var(--on-ink); }

.band--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

/* The signature transition: the dark band cuts up into the bone band on a
   diagonal. Only ever applied to a dark band that directly follows a light one. */
.band--slash-top {
  clip-path: polygon(0 var(--slash), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slash) * -1);
  padding-top: calc(var(--band-y) + var(--slash));
}
.band--slash-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slash)), 0 100%);
  padding-bottom: calc(var(--band-y) + var(--slash));
  margin-bottom: calc(var(--slash) * -1);
}

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.band--ink .eyebrow { color: var(--on-ink-dim); }
.eyebrow--ruled::before {
  content: "";
  width: clamp(1.75rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

/* The mixed-voice heading. `em` is the turn, always italic serif in the accent.
   `.hero__line` is a paragraph rather than a heading — the h1 is the wordmark —
   but it is typographically a heading and takes the same treatment. */
h1 em, h2 em, h3 em, .display em, .hero__line em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--rust);
}
.band--ink :where(h1, h2, h3) em,
.hero__line em { color: var(--ember); }

.display   { font-size: clamp(2.5rem, 6.2vw, 4.35rem); }
.display-l { font-size: clamp(3rem, 9vw, 6.5rem); }
.display-s { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -0.028em; }

.lede {
  font-size: clamp(1.0625rem, 1vw + 0.8rem, 1.25rem);
  line-height: 1.5;
  color: var(--on-bone-dim);
  max-width: 46ch;
  margin: 1.5rem 0 0;
}
.band--ink .lede { color: var(--on-ink-dim); }

.prose p { max-width: 66ch; line-height: 1.62; }
.prose h3 { margin-top: 2.5rem; }
.prose h3 + p { margin-top: 0.75rem; }
.prose ul { max-width: 66ch; padding-left: 1.1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { font-weight: 700; }

.mono-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--on-bone-dim);
}
.band--ink .mono-note { color: var(--on-ink-dim); }

/* ---------- wordmark ---------- */

.wordmark {
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.82;
  font-stretch: 105%;
  display: inline-block;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--rust { background: var(--rust); color: var(--bone); }
.btn--rust:hover { background: #a03411; }

.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: #2c2521; }

.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.band--ink .btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--sm { padding: 0.7rem 1rem; font-size: 0.625rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.link-arrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.link-arrow .arw { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arw { transform: translateX(4px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
  color: var(--on-ink);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(24, 21, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--rule-ink);
}
/* Pages that don't open on a dark hero need the bar opaque from the first pixel. */
.nav--always { background: var(--ink); border-bottom-color: var(--rule-ink); }

.nav__brand {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.25rem;
  text-decoration: none;
  margin-right: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav__links a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__links a:hover { opacity: 1; color: var(--ember); }
.nav__links a[aria-current="page"] { opacity: 1; color: var(--ember); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-ink);
  border-radius: 2px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 60rem) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 3.75rem 0 auto;
    background: var(--ink);
    border-bottom: 1px solid var(--rule-ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid var(--rule-ink); opacity: 1; }
  .nav__links .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(94vh, 54rem);
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(24,21,19,0.96) 0%, rgba(24,21,19,0.82) 38%, rgba(24,21,19,0.35) 72%, rgba(24,21,19,0.55) 100%),
    linear-gradient(to top, rgba(24,21,19,0.95), rgba(24,21,19,0) 45%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  width: 100%;
}
.hero .wordmark { font-size: clamp(3.5rem, 11.5vw, 8.5rem); }
.hero__line {
  /* Sized to keep "Three quotes. One format." on one line at desktop widths —
     the phrase splitting after "One" reads as a mistake rather than a break. */
  font-size: clamp(1.6rem, 3.9vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0.35rem 0 0;
}
.hero__sub {
  margin: 1.6rem 0 0;
  max-width: 42ch;
  color: rgba(238, 230, 214, 0.78);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
}

@media (max-width: 64rem) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* the product, floated in the hero — three quotes in one format, in miniature */
.quotecard {
  background: rgba(238, 230, 214, 0.97);
  color: var(--ink);
  padding: 1.25rem;
  border-radius: 2px;
}
.quotecard__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-bone);
}
.quotecard__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-bone);
  font-size: 0.875rem;
}
.quotecard__row:last-of-type { border-bottom: 0; }
.quotecard__name { font-weight: 700; letter-spacing: -0.01em; }
.quotecard__meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
}
.quotecard__num { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.quotecard__row--best .quotecard__num { color: var(--rust); }
.quotecard__foot {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule-bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.marquee {
  background: var(--ink);
  padding-block: 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 52s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__item {
  position: relative;
  width: clamp(11rem, 19vw, 17.5rem);
  aspect-ratio: 4 / 3;
  flex: none;
  border-right: 1px solid var(--ink);
}
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
.marquee__item figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* ---------- coverage strip ---------- */

.coverage {
  background: var(--ink-2);
  border-block: 1px solid var(--rule-ink);
  padding-block: 1.5rem;
}
.coverage__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.coverage__label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  flex: none;
}
.coverage__towns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.5vw, 2.25rem);
  align-items: baseline;
}
.coverage__towns span {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  color: rgba(238, 230, 214, 0.62);
  transition: color 0.25s var(--ease);
}
.coverage__towns span:hover { color: var(--bone); }
.coverage__towns span[data-core="false"] { color: rgba(238, 230, 214, 0.34); }

/* ---------- section header ---------- */

.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sechead > p { margin: 0; }
@media (max-width: 54rem) { .sechead { grid-template-columns: 1fr; } }

/* ---------- numbered rows ---------- */

.rows { border-top: 1px solid var(--rule-bone); }
.band--ink .rows { border-top-color: var(--rule-ink); }

.row {
  display: grid;
  grid-template-columns: 3.5rem minmax(9rem, 1fr) minmax(0, 1.6fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--rule-bone);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease), background-color 0.3s var(--ease);
}
.band--ink .row { border-bottom-color: var(--rule-ink); }
a.row:hover { padding-left: 0.75rem; background: rgba(184, 62, 20, 0.05); }
a.row:hover .link-arrow .arw { transform: translateX(4px); }

.row__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--rust);
  padding-top: 0.4rem;
}
.band--ink .row__num { color: var(--ember); }
.row__title { font-size: clamp(1.375rem, 2.3vw, 1.9rem); font-weight: 800; letter-spacing: -0.032em; }
.row__body { margin: 0; color: var(--on-bone-dim); font-size: 0.9375rem; line-height: 1.55; }
.band--ink .row__body { color: var(--on-ink-dim); }
.row__end { padding-top: 0.4rem; }

@media (max-width: 54rem) {
  .row { grid-template-columns: 2.5rem 1fr; }
  .row__body { grid-column: 2; }
  .row__end { grid-column: 2; }
}

/* ---------- case cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* A case card carries its own dark ground, so it must also carry its own text
   colour — it is used on bone bands as well as ink ones. */
.case {
  background: var(--ink-2);
  color: var(--on-ink);
  border: 1px solid var(--rule-ink);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.case:hover { border-color: rgba(224, 112, 63, 0.55); transform: translateY(-3px); }
.case__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case:hover .case__media img { transform: scale(1.04); }
.chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
}
.case__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.case__who {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  margin-bottom: 0.7rem;
}
.case__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-ink);
}
.case__stats > div + div { border-left: 1px solid var(--rule-ink); padding-left: 0.75rem; }
.stat__n {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ---------- principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  border-top: 1px solid var(--rule-bone);
}
.principle {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--rule-bone);
  border-right: 1px solid var(--rule-bone);
}
.principle:last-child { border-right: 0; }
.principle__n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 1.25rem;
}
.principle h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.principle p { margin: 0.85rem 0 0; font-size: 0.9375rem; color: var(--on-bone-dim); line-height: 1.55; }

/* ---------- testimonial band ---------- */

.testimonials { position: relative; overflow: hidden; }
.testimonials__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.testimonials::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24,21,19,0.72), rgba(24,21,19,0.92));
}
.testimonials > .wrap { position: relative; z-index: 1; }

.quote {
  background: var(--bone);
  color: var(--on-bone);
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  background: var(--rust);
  margin-bottom: 1.1rem;
}
.quote blockquote { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.quote__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.quote__by img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 2px;
  object-fit: cover;
  flex: none;
}
.quote__name { display: block; font-weight: 700; font-size: 0.875rem; letter-spacing: -0.01em; }
.quote__role {
  display: block;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  margin-top: 0.15rem;
}

/* ---------- big split CTA cards ---------- */

.splitcard {
  position: relative;
  min-height: clamp(20rem, 42vw, 30rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: var(--bone);
}
.splitcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.splitcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,21,19,0.92) 12%, rgba(24,21,19,0.25) 62%, rgba(24,21,19,0.45));
}
.splitcard:hover img { transform: scale(1.05); }
.splitcard > * { position: relative; z-index: 1; }
.splitcard__label {
  position: absolute;
  top: clamp(1.25rem, 2.5vw, 2rem);
  left: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.splitcard__label::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--ember);
}
.splitcard h3 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.splitcard p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  margin: 0.6rem 0 0;
  color: rgba(238, 230, 214, 0.85);
}
.splitcard .link-arrow { margin-top: 1.5rem; }

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

.foot { background: var(--ink); color: var(--on-ink); padding-block: clamp(3rem, 6vw, 5rem) 0; }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 60rem) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .foot__grid { grid-template-columns: 1fr; } }

.foot .wordmark { font-size: clamp(2.5rem, 6vw, 3.75rem); }
.foot__blurb { color: var(--on-ink-dim); font-size: 0.875rem; margin: 1.25rem 0 1.75rem; max-width: 34ch; }
.foot__col h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  margin-bottom: 1.1rem;
}
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: 0.65rem; }
.foot__col a { font-size: 0.9375rem; text-decoration: none; opacity: 0.86; }
.foot__col a:hover { opacity: 1; color: var(--ember); }

.foot__base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule-ink);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: var(--ember); }

/* ---------- page header (interior pages) ---------- */

.pagehead {
  background: var(--ink);
  color: var(--on-ink);
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.pagehead .display { max-width: 18ch; }
.pagehead .lede { color: rgba(238, 230, 214, 0.75); }

/* ---------- comparison table ---------- */

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-block: 1px solid var(--rule-bone);
}
.toggle {
  display: inline-flex;
  border: 1px solid var(--rule-bone);
  border-radius: 2px;
  overflow: hidden;
}
.toggle button {
  background: transparent;
  border: 0;
  padding: 0.55rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.controls__label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
}

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cmp {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.cmp th, .cmp td {
  text-align: right;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule-bone);
  font-size: 0.9375rem;
}
.cmp th:first-child, .cmp td:first-child { text-align: left; padding-left: 0; width: 34%; }
.cmp thead th {
  vertical-align: bottom;
  border-bottom: 1px solid var(--on-bone);
  padding-bottom: 1rem;
}
.cmp__sup { display: block; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.03em; }
.cmp__supmeta {
  display: block;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  font-weight: 400;
  margin-top: 0.35rem;
}
.cmp__lbl { font-weight: 600; }
.cmp__note {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--on-bone-dim);
  font-weight: 400;
  margin-top: 0.2rem;
  text-transform: none;
}
.cmp tr.is-total :is(td, th) {
  border-top: 1px solid var(--on-bone);
  border-bottom: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding-top: 1.25rem;
}
/* The cheapest figure on a line is marked under the number itself, never under
   the note beneath it — the note explains how the number was reached and would
   read as struck through. */
.cmp td.is-best { color: var(--rust); }
.cmp td.is-best [data-money] {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--rust);
}
.cmp tr.is-section td {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  padding-top: 1.75rem;
  border-bottom: 1px solid var(--rule-bone);
}
.cmp .yes { color: var(--rust); font-weight: 700; }
.cmp .no { color: var(--on-bone-dim); }

/* ---------- evidence gate blocks ---------- */

.band-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 2px;
}
.band-band__n {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.band-band__meta { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-dim); }

.gate {
  border: 1px solid var(--rust);
  border-left-width: 3px;
  border-radius: 2px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(184, 62, 20, 0.05);
}
.gate h3 { font-size: 1.25rem; }
.gate p { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--on-bone-dim); max-width: 62ch; }
.gate__meter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gate__meter div { border-top: 1px solid var(--rule-bone); padding-top: 0.6rem; }

/* ---------- forms ---------- */

.form { max-width: 44rem; }
.field { margin-bottom: 1.5rem; }
.field > label, .fieldset__legend {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  margin-bottom: 0.6rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: transparent;
  border: 1px solid var(--rule-bone);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: inherit;
  transition: border-color 0.2s var(--ease);
}
.field :is(input, select, textarea):focus { border-color: var(--rust); }
.field textarea { min-height: 7rem; resize: vertical; }
.field__hint { font-family: var(--mono); font-size: 0.6875rem; color: var(--on-bone-dim); margin-top: 0.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--rule-bone);
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}
.chips input:checked + label { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--rust); outline-offset: 2px; }

.steps__bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.steps__bar span {
  height: 3px;
  flex: 1;
  background: var(--rule-bone);
  transition: background-color 0.3s var(--ease);
}
.steps__bar span[data-done="true"] { background: var(--rust); }
.steps__count {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  margin-bottom: 2rem;
}
.step[hidden] { display: none; }
.step h2 { margin-bottom: 1.75rem; }

.summary {
  border: 1px solid var(--rule-bone);
  border-radius: 2px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.summary dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 0.75rem 1.5rem; margin: 0; }
.summary dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  padding-top: 0.2rem;
}
.summary dd { margin: 0; font-weight: 600; }

/* ---------- fee calculator ---------- */

.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.calc input[type="range"] { width: 100%; accent-color: var(--rust); margin-top: 1rem; }
.calc__out { border: 1px solid var(--rule-bone); border-radius: 2px; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.calc__fee { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.calc__basis { font-family: var(--mono); font-size: 0.75rem; line-height: 1.6; color: var(--on-bone-dim); margin-top: 1rem; }

.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { text-align: right; padding: 0.8rem 0.75rem; border-bottom: 1px solid var(--rule-bone); font-size: 0.9375rem; }
.fee-table th:first-child, .fee-table td:first-child { text-align: left; padding-left: 0; }
.fee-table thead th {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-bone-dim);
  font-weight: 500;
}

/* ---------- misc ---------- */

.callout {
  border-left: 3px solid var(--rust);
  padding: 0.35rem 0 0.35rem 1.25rem;
  margin: 2rem 0;
  max-width: 62ch;
}
.callout p { margin: 0; }

.notice {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--on-bone-dim);
  border: 1px dashed var(--rule-bone);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  max-width: 70ch;
}
.band--ink .notice { color: var(--on-ink-dim); border-color: var(--rule-ink); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tag-list a {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--rule-bone);
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}
.tag-list a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.tag-list a[data-gated="true"] { color: var(--on-bone-dim); border-style: dashed; }

.stack > * + * { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.mt-0 { margin-top: 0; }

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- print ---------- */

@media print {
  .nav, .marquee, .foot__base, .btn { display: none; }
  body { background: #fff; color: #000; }
}
