﻿/* ============================================================================
   Aletheia Theranostics â€” stylesheet
   Monochrome by instruction: white dominant, black anchor, greys between.
   No accent colour. The discipline is the identity.
   ==========================================================================*/

:root {
  /* --- colour -------------------------------------------------------- */
  --paper:      #ffffff;
  --panel:      #f4f4f4;
  --panel-deep: #eaeaea;
  --rule:       #e0e0e0;
  --mist:       #6e6e6e;
  --graphite:   #4d4d4d;
  --ink:        #141414;

  /* --- type ---------------------------------------------------------- */
  --display: "Cambria", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --t-hero:  clamp(2.6rem, 6.2vw, 5.1rem);
  --t-h2:    clamp(1.85rem, 3.4vw, 2.9rem);
  --t-h3:    clamp(1.15rem, 1.7vw, 1.45rem);
  --t-lead:  clamp(1.05rem, 1.45vw, 1.28rem);
  --t-body:  1rem;
  --t-small: 0.86rem;
  --t-micro: 0.74rem;

  /* --- space --------------------------------------------------------- */
  --gutter:  clamp(1.25rem, 5vw, 5.5rem);
  --stack:   clamp(3.5rem, 8vw, 7.5rem);
  --measure: 34rem;
  --max:     78rem;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================ reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
p  { margin: 0 0 1.05em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================ layout ==== */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--stack); }
.section--panel { background: var(--panel); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: #9a9a9a; }
.section--ink .rule { background: #333; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================ type ====== */
.eyebrow {
  font-family: var(--data);
  font-size: var(--t-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 1.1rem;
}
.display { font-family: var(--display); font-size: var(--t-hero); font-weight: 600; letter-spacing: -0.028em; }
.h2      { font-family: var(--display); font-size: var(--t-h2); }
.h3      { font-family: var(--display); font-size: var(--t-h3); }
.lead    { font-size: var(--t-lead); color: var(--graphite); max-width: 46rem; }
.measure { max-width: var(--measure); }
.small   { font-size: var(--t-small); color: var(--mist); }
.micro   { font-family: var(--data); font-size: var(--t-micro); color: var(--mist); letter-spacing: .04em; }

/* Technical identifiers â€” isotopes, regulations, statutes â€” are set in mono.
   They are names of things, not prose, and the page should say so. */
.tech { font-family: var(--data); font-size: .92em; letter-spacing: -0.01em; }

/* ============================================================ header ==== */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 82px;
}
.masthead__logo { height: clamp(42px, 4vw, 54px); width: auto; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.nav a {
  font-size: var(--t-small); text-decoration: none; color: var(--graphite);
  padding-block: .35rem; border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 720px) { .nav__links { display: none; } }
@media (max-width: 560px) { .masthead__inner { min-height: 74px; } .masthead__logo { height: 38px; } }

/* ============================================================ buttons === */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-size: var(--t-small); font-weight: 500;
  padding: .72rem 1.35rem; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn--ghost { color: var(--paper); border-color: var(--paper); }
.section--ink .btn--ghost:hover { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--ink :focus-visible { outline-color: var(--paper); }

/* ============================================================ hero ====== */
.hero { padding-block: clamp(4rem, 11vw, 9rem) clamp(2.5rem, 6vw, 5rem); }
.hero__claim {
  font-family: var(--display);
  font-size: var(--t-hero); font-weight: 600; letter-spacing: -0.03em;
  max-width: 21ch; margin: 0 0 1.6rem;
}
.hero__sub { max-width: 42rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule);
}
.hero__meta div { min-width: 8rem; }
.hero__meta dt { font-family: var(--data); font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.hero__meta dd { margin: .3rem 0 0; font-family: var(--display); font-size: 1.45rem; }

/* --- the signature: one continuous line ---------------------------------
   In the hero it is a radioactive decay curve. In the economics section the
   same line is redrawn as the cash flow J curve. The isotope decays; the
   investment recovers. One line, two meanings. ---------------------------*/
.curve { width: 100%; height: auto; overflow: visible; }
.curve__path {
  fill: none; stroke: var(--ink); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.curve__path--draw {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
}
.is-visible .curve__path--draw {
  animation: draw 2850ms var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.curve__axis { stroke: var(--rule); stroke-width: 1; }
.curve__zero { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 3 4; }
.curve__label { font-family: var(--data); font-size: 11px; fill: var(--mist); letter-spacing: .04em; }
.curve__marker { fill: var(--ink); }

/* ============================================================ funnel ==== */
.funnel { display: grid; gap: .55rem; margin-top: 2.5rem; }
.funnel__row {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.25rem; align-items: center;
  padding: .95rem 1.35rem; border: 1px solid var(--rule); border-radius: 2px;
  margin-inline: auto; width: 100%;
}
.funnel__row:nth-child(1) { max-width: 100%;  background: var(--paper); }
.funnel__row:nth-child(2) { max-width: 93%;   background: #fafafa; }
.funnel__row:nth-child(3) { max-width: 86%;   background: var(--panel); }
.funnel__row:nth-child(4) { max-width: 79%;   background: var(--panel-deep); }
.funnel__row:nth-child(5) { max-width: 72%;   background: var(--ink); color: var(--paper); border-color: var(--ink); }
.funnel__n { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; }
.funnel__t { font-size: var(--t-small); line-height: 1.45; }
.funnel__row:nth-child(5) .funnel__t { color: #d4d4d4; }
@media (max-width: 700px) {
  .funnel__row { grid-template-columns: 1fr; gap: .3rem; max-width: 100% !important; }
}

/* ============================================================ cards ===== */
.card {
  border: 1px solid var(--rule); border-radius: 2px; padding: 1.75rem;
  background: var(--paper); height: 100%;
}
.card--filled { background: var(--panel); }
.card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--ink p { color: #c9c9c9; }
.card__k { font-family: var(--data); font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.card--ink .card__k { color: #9a9a9a; }
.card h3 { margin: .5rem 0 .8rem; }

/* --- ledger: a plain two column list, used for barriers and facts ------- */
.ledger { border-top: 1px solid var(--rule); }
.ledger__row {
  display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--rule);
}
.ledger__row dt { font-family: var(--display); font-size: 1.12rem; }
.ledger__row dd { margin: 0; color: var(--graphite); font-size: var(--t-small); line-height: 1.6; }
@media (max-width: 760px) { .ledger__row { grid-template-columns: 1fr; gap: .35rem; } }

/* ============================================================ form ====== */
.form { display: grid; gap: 1.15rem; max-width: 34rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-small); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-small);
  padding: .7rem .85rem; border: 1px solid var(--rule); border-radius: 2px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.section--ink .field input,
.section--ink .field select,
.section--ink .field textarea {
  background: #1e1e1e; border-color: #3a3a3a; color: var(--paper);
}
.field textarea { min-height: 6rem; resize: vertical; }
.field__hint { font-size: var(--t-micro); color: var(--mist); }
.section--ink .field__hint { color: #9a9a9a; }
.form__status { font-size: var(--t-small); min-height: 1.4rem; }
.form__status[data-state="error"] { color: var(--ink); font-weight: 600; }
.section--ink .form__status[data-state="error"] { color: var(--paper); }

/* ============================================================ gate ====== */
.gate {
  min-height: 100dvh; display: grid; place-items: center;
  padding: var(--gutter); background: var(--paper);
}
.gate__box { width: min(26rem, 100%); }
.gate__box img { height: 34px; margin-bottom: 2rem; }

/* ============================================================ table ===== */
.table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.table caption { text-align: left; font-size: var(--t-micro); color: var(--mist); padding-bottom: .7rem; font-family: var(--data); letter-spacing: .12em; text-transform: uppercase; }
.table th, .table td { padding: .7rem .8rem; border-bottom: 1px solid var(--rule); text-align: right; }
.table th:first-child, .table td:first-child { text-align: left; }
.table thead th { background: var(--ink); color: var(--paper); border-bottom: 0; font-weight: 600; }
.table tbody tr.is-key td { background: var(--panel); font-weight: 600; }
.table td.num { font-family: var(--data); font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* ============================================================ footer ==== */
.foot { border-top: 1px solid var(--rule); padding-block: 3rem 4rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot a { text-decoration: none; color: var(--graphite); font-size: var(--t-small); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: var(--t-micro); color: var(--mist); max-width: 58rem; line-height: 1.7; }

/* ============================================================ reveal ==== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }
[hidden] { display: none !important; }

/* ============================================================ modular pages ==== */
[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.footer-credit {
  margin: 2rem 0 0;
  font-size: var(--t-small);
  color: var(--graphite);
}
.legal-page .lead { margin-top: 1.2rem; }
.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.legal-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.legal-card p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; }
}



/* ============================================================ exclusive finish ==== */
:root {
  --paper: #fbfaf7;
  --panel: #f1f0ec;
  --panel-deep: #e7e4dd;
  --rule: #d8d3c8;
  --mist: #746f66;
  --graphite: #3f3c36;
  --ink: #11100e;
  --champagne: #b8aa8a;
  --shadow-soft: 0 18px 50px rgba(17, 16, 14, .08);
  --shadow-float: 0 28px 70px rgba(17, 16, 14, .12);
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 170, 138, .12), transparent 32rem),
    linear-gradient(180deg, #fffefb 0%, var(--paper) 38rem);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .32;
  background-image:
    linear-gradient(rgba(17, 16, 14, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 14, .018) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
}

.masthead {
  background: rgba(251, 250, 247, .88);
  border-bottom-color: rgba(184, 170, 138, .36);
  box-shadow: 0 10px 32px rgba(17, 16, 14, .045);
}

.masthead__inner { min-height: 124px; }
.masthead__logo { height: clamp(76px, 7vw, 98px); }

.nav a {
  color: rgba(63, 60, 54, .76);
  letter-spacing: .01em;
}
.nav a:hover,
.nav a:focus-visible,
[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--champagne);
}

.btn {
  border-radius: 999px;
  padding: .82rem 1.55rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(17, 16, 14, .12);
}
.btn:hover {
  background: #2a2824;
  border-color: #2a2824;
  transform: translateY(-1px);
}
.btn--ghost {
  box-shadow: none;
  border-color: rgba(17, 16, 14, .26);
  background: rgba(251, 250, 247, .2);
}
.section--ink .btn--ghost { border-color: rgba(251, 250, 247, .55); }

.hero {
  position: relative;
  padding-block: clamp(5.8rem, 12vw, 11rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: clamp(1.2rem, 3vw, 3rem) var(--gutter) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  opacity: .55;
}
.hero__claim {
  max-width: 18ch;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 45rem;
  color: rgba(63, 60, 54, .86);
}
.hero__meta {
  border-top-color: rgba(184, 170, 138, .52);
  gap: .85rem;
}
.hero__meta div {
  min-width: 10rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(184, 170, 138, .34);
  box-shadow: 0 12px 34px rgba(17, 16, 14, .045);
}
.hero__meta dd { font-size: 1.62rem; }

.eyebrow {
  color: var(--mist);
  letter-spacing: .19em;
}
.h2, .h3, .display { text-wrap: balance; }
.lead { color: rgba(63, 60, 54, .84); }

.section {
  position: relative;
}
.section + .section::before,
.rule + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 170, 138, .45), transparent);
}
.section--panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)),
    var(--panel);
}
.section--ink {
  background:
    radial-gradient(circle at 76% 16%, rgba(184, 170, 138, .16), transparent 24rem),
    linear-gradient(135deg, #171512 0%, #0e0d0c 72%);
}
.section--ink .eyebrow { color: #b8aa8a; }

.card,
.legal-card {
  border-color: rgba(184, 170, 138, .32);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, .64);
  backdrop-filter: blur(8px);
}
.card:hover,
.legal-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}
.card,
.legal-card,
.funnel__row,
.table,
.field input,
.field select,
.field textarea {
  transition: box-shadow .24s var(--ease), transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.card--filled { background: rgba(255, 255, 255, .48); }
.card--ink {
  background: linear-gradient(145deg, #191815, #0f0e0c);
  border-color: rgba(184, 170, 138, .42);
}
.card--ink .card__k { color: var(--champagne); }
.card__k { color: var(--mist); }
.card h3 { margin-top: .62rem; }

.curve__path { stroke-width: 2.35; }
.curve__axis { stroke: rgba(184, 170, 138, .42); }
.curve__zero { stroke: rgba(17, 16, 14, .42); }
.curve__marker { fill: var(--champagne); }

.funnel { gap: .72rem; }
.funnel__row {
  border-color: rgba(184, 170, 138, .38);
  border-radius: 0;
  box-shadow: 0 12px 36px rgba(17, 16, 14, .055);
}
.funnel__row:nth-child(1) { background: rgba(255, 255, 255, .78); }
.funnel__row:nth-child(2) { background: rgba(250, 249, 246, .86); }
.funnel__row:nth-child(3) { background: rgba(244, 242, 237, .94); }
.funnel__row:nth-child(4) { background: rgba(231, 228, 221, .94); }
.funnel__row:nth-child(5) {
  background: linear-gradient(135deg, #171512, #0d0c0a);
  border-color: rgba(184, 170, 138, .55);
}

.ledger { border-top-color: rgba(184, 170, 138, .48); }
.ledger__row { border-bottom-color: rgba(184, 170, 138, .32); }
.ledger__row dt { color: var(--ink); }

.form {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(184, 170, 138, .32);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}
.field input,
.field select,
.field textarea {
  border-color: rgba(184, 170, 138, .32);
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(184, 170, 138, .18);
  outline: 0;
}
.section--ink .field input,
.section--ink .field select,
.section--ink .field textarea {
  background: rgba(255, 255, 255, .065);
  border-color: rgba(184, 170, 138, .35);
}

.table {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(184, 170, 138, .34);
  box-shadow: var(--shadow-soft);
}
.table th,
.table td { border-bottom-color: rgba(184, 170, 138, .28); }
.table thead th {
  background: linear-gradient(135deg, #171512, #0d0c0a);
}
.table tbody tr.is-key td { background: rgba(184, 170, 138, .12); }

.gate {
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 170, 138, .14), transparent 28rem),
    var(--paper);
}
.gate__box {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid rgba(184, 170, 138, .34);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-float);
}
.gate__box img { height: 48px; }

.foot {
  background: #f5f3ee;
  border-top-color: rgba(184, 170, 138, .42);
}
.foot a { color: rgba(63, 60, 54, .82); }
.legal { border-top-color: rgba(184, 170, 138, .34); }
.footer-credit a { color: var(--ink); }

@media (max-width: 760px) {
  .hero__meta div { min-width: min(100%, 14rem); }
  .form { padding: 1.25rem; }
}

@media (max-width: 560px) {
  .masthead__inner { min-height: 96px; }
  .masthead__logo { height: 64px; }
  .hero { padding-top: 4.4rem; }
  .hero__meta div { width: 100%; }
}


.foot__logo { height: clamp(72px, 6vw, 90px); width: auto; }
@media (max-width: 560px) { .foot__logo { height: 64px; } }


/* ============================================================ compliance utilities ==== */
.cookie-banner {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 120;
  width: min(31rem, calc(100vw - 2rem));
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  background: rgba(251, 250, 247, .9);
  border: 1px solid rgba(184, 170, 138, .42);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px);
  transform: translateY(calc(100% + 2rem));
  transition: transform .55s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner strong { display: block; font-family: var(--display); font-size: 1.06rem; line-height: 1.2; }
.cookie-banner p { margin: .25rem 0 0; font-size: var(--t-small); color: var(--graphite); line-height: 1.45; }
.cookie-banner .btn { box-shadow: none; }
@media (max-width: 620px) {
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner .btn { justify-content: center; }
}

/* ============================================================ footer refinement ==== */
.foot {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}
.foot__grid {
  grid-template-columns: minmax(17rem, 1.45fr) minmax(7rem, .62fr) minmax(9rem, .72fr) minmax(16rem, 1fr);
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: start;
}
.foot__brand { max-width: 24rem; }
.foot__address { margin-top: 1.2rem; }
.foot__nav,
.foot__contact { padding-top: .65rem; }
.foot__links {
  display: grid;
  gap: .82rem;
  margin-top: 1rem;
}
.foot__links--contact { gap: 1rem; }
.foot__cta {
  display: inline-flex;
  width: fit-content;
  padding-bottom: .22rem;
  border-bottom: 1px solid rgba(184, 170, 138, .62);
}
.foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(2.8rem, 5vw, 4.8rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(184, 170, 138, .34);
}
.footer-credit,
.foot__copyright {
  margin: 0;
  font-size: var(--t-small);
  color: var(--graphite);
}
.legal {
  margin-top: 1.4rem;
  padding-top: 0;
  border-top: 0;
  max-width: 70rem;
}
@media (max-width: 980px) {
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot__contact { grid-column: 2 / span 2; }
}
@media (max-width: 720px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot__brand,
  .foot__contact { grid-column: 1 / -1; }
  .foot__bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot__brand,
  .foot__contact { grid-column: auto; }
}

/* ============================================================ form select readability ==== */
.field select option {
  background: var(--paper);
  color: var(--ink);
}
.field select option:checked {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .field select option {
  background: #f7f5ef;
  color: #11100e;
}
.section--ink .field select option:checked {
  background: #3f3c36;
  color: #ffffff;
}
.section--ink .field select:focus {
  background: rgba(255, 255, 255, .09);
  color: var(--paper);
}

/* ============================================================ header CTA contrast ==== */
.nav .btn,
.nav .btn:visited {
  color: var(--paper);
  border-bottom-color: transparent;
}
.nav .btn:hover,
.nav .btn:focus-visible {
  color: var(--paper);
  border-bottom-color: transparent;
  text-decoration: none;
}
.masthead .btn[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: transparent;
}

/* ============================================================ agency-grade finish ==== */
:root {
  --paper: #fbfaf6;
  --panel: #efede7;
  --panel-deep: #e2ded3;
  --rule: #d5cbb8;
  --mist: #756f63;
  --graphite: #3b3832;
  --ink: #0d0c0a;
  --champagne: #bda878;
  --bronze: #8c7650;
  --max: 84rem;
  --measure: 37rem;
  --t-hero: clamp(3.25rem, 7.8vw, 7.6rem);
  --t-h2: clamp(2.15rem, 4.1vw, 4rem);
  --t-h3: clamp(1.2rem, 1.75vw, 1.62rem);
  --stack: clamp(4.5rem, 9vw, 9rem);
  --shadow-soft: 0 22px 70px rgba(13, 12, 10, .08);
  --shadow-float: 0 34px 90px rgba(13, 12, 10, .16);
}

body {
  background:
    radial-gradient(circle at 78% -10%, rgba(189, 168, 120, .16), transparent 30rem),
    radial-gradient(circle at 0% 18%, rgba(255, 255, 255, .88), transparent 28rem),
    linear-gradient(180deg, #fffefa 0, #f8f6ef 48rem, var(--paper) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(115deg, transparent 0 48%, rgba(141, 119, 80, .12) 48.1% 48.25%, transparent 48.35% 100%);
  background-size: 180px 180px;
}

.masthead {
  background: rgba(251, 250, 246, .82);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(189, 168, 120, .34);
}
.masthead__inner { min-height: 118px; }
.masthead__logo { filter: drop-shadow(0 14px 28px rgba(13, 12, 10, .08)); }
.nav__links {
  padding: .58rem .76rem;
  border: 1px solid rgba(189, 168, 120, .26);
  background: rgba(255, 255, 255, .38);
  box-shadow: 0 12px 34px rgba(13, 12, 10, .05);
}
.nav a { font-weight: 500; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 31rem);
  column-gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
  min-height: min(760px, calc(100vh - 118px));
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(4rem, 8vw, 7rem);
}
.hero::before {
  inset: clamp(1.8rem, 3vw, 3.2rem) var(--gutter) auto;
  background: linear-gradient(90deg, rgba(189, 168, 120, .08), rgba(189, 168, 120, .78), rgba(189, 168, 120, .08));
}
.hero::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  top: clamp(4rem, 9vw, 8rem);
  width: min(34vw, 27rem);
  aspect-ratio: 1;
  border: 1px solid rgba(189, 168, 120, .34);
  background:
    linear-gradient(90deg, rgba(189, 168, 120, .24) 1px, transparent 1px),
    linear-gradient(rgba(189, 168, 120, .20) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(189, 168, 120, .13), transparent 58%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: .62;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.hero > .eyebrow,
.hero > .hero__claim,
.hero > .hero__sub { grid-column: 1; position: relative; z-index: 1; }
.hero .reveal {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  border: 1px solid rgba(189, 168, 120, .36);
  background: rgba(255, 255, 255, .5);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px);
}
.hero .curve { min-height: 180px; }
.hero__claim {
  margin-bottom: 2rem;
  line-height: .96;
  max-width: 11.5ch;
}
.hero__sub {
  padding-left: clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid rgba(189, 168, 120, .55);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}
.hero__meta {
  grid-column: 1 / -1;
  margin-top: clamp(3rem, 5vw, 4.8rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid rgba(189, 168, 120, .36);
  background: rgba(255, 255, 255, .45);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}
.hero__meta div {
  min-width: 0;
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
  border: 0;
  border-right: 1px solid rgba(189, 168, 120, .28);
  background: transparent;
  box-shadow: none;
}
.hero__meta div:last-child { border-right: 0; }
.hero__meta dt { color: var(--bronze); }
.hero__meta dd { font-size: clamp(1.42rem, 2.5vw, 2.2rem); }

.section { overflow: hidden; }
.section .wrap > .eyebrow + .h2,
.section .wrap > .eyebrow + h2 {
  position: relative;
}
.section .wrap > .eyebrow + .h2::after,
.section .wrap > .eyebrow + h2::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 1px;
  margin-top: 1.6rem;
  background: linear-gradient(90deg, var(--champagne), transparent);
}
.section--panel {
  box-shadow: inset 0 1px rgba(189, 168, 120, .22), inset 0 -1px rgba(189, 168, 120, .22);
}

.card,
.legal-card {
  position: relative;
  padding: clamp(1.75rem, 3.2vw, 2.65rem);
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.48));
  border: 1px solid rgba(189, 168, 120, .34);
  box-shadow: 0 20px 65px rgba(13, 12, 10, .07);
}
.card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--champagne), transparent 62%);
  opacity: .82;
}
.card--filled { background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(239,237,231,.72)); }
.card--ink {
  background:
    radial-gradient(circle at 88% 0%, rgba(189, 168, 120, .18), transparent 16rem),
    linear-gradient(145deg, #171410, #080807);
  border-color: rgba(189, 168, 120, .45);
}
.card h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.card p:not(.card__k) { color: rgba(59, 56, 50, .9); }
.card--ink p:not(.card__k) { color: rgba(251, 250, 246, .78); }

.funnel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(189, 168, 120, .28);
  background: rgba(255, 255, 255, .34);
  box-shadow: var(--shadow-soft);
}
.funnel__row {
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1.2rem, 2.5vw, 2rem);
  border-left: 4px solid rgba(189, 168, 120, .55);
}
.funnel__n { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.35rem); }
.funnel__row:nth-child(5) .funnel__n { color: var(--paper); }

.ledger {
  border-top: 0;
  background: rgba(255, 255, 255, .34);
  border: 1px solid rgba(189, 168, 120, .28);
  box-shadow: var(--shadow-soft);
}
.ledger__row {
  padding: clamp(1.35rem, 2.4vw, 1.95rem);
  transition: background .24s var(--ease);
}
.ledger__row:hover { background: rgba(255, 255, 255, .44); }
.ledger__row dt { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }

#shape figure.reveal {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid rgba(189, 168, 120, .32);
  background: rgba(255, 255, 255, .48);
  box-shadow: var(--shadow-soft);
}

#leadership .grid > div:first-child {
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}
#leadership .micro { color: var(--bronze); }

.section--ink {
  position: relative;
  box-shadow: inset 0 1px rgba(189, 168, 120, .35), inset 0 -1px rgba(189, 168, 120, .28);
}
.section--ink::after {
  content: "";
  position: absolute;
  inset: 2rem var(--gutter);
  pointer-events: none;
  border: 1px solid rgba(189, 168, 120, .18);
}
.section--ink .wrap { position: relative; z-index: 1; }
.form {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(189, 168, 120, .44);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  backdrop-filter: blur(18px);
}
.field label { color: rgba(251, 250, 246, .92); }
.field__hint { line-height: 1.55; }
.section--ink .field input,
.section--ink .field select,
.section--ink .field textarea {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(189, 168, 120, .38);
}
.section--ink .field input:hover,
.section--ink .field select:hover,
.section--ink .field textarea:hover {
  border-color: rgba(189, 168, 120, .7);
}

.curve__path { filter: drop-shadow(0 8px 14px rgba(13, 12, 10, .08)); }
.curve__label { fill: rgba(117, 111, 99, .92); }

.foot {
  background:
    linear-gradient(180deg, #f3f0e8, #ebe6d9);
}
.foot__grid {
  padding-top: clamp(.5rem, 1vw, 1rem);
}
.foot__logo { height: clamp(86px, 7vw, 112px); }
.foot__bottom { border-top-color: rgba(141, 119, 80, .28); }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero::after { width: 48vw; opacity: .28; }
  .hero .reveal {
    grid-column: 1;
    grid-row: auto;
    margin-top: 3rem !important;
  }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__meta div:nth-child(2) { border-right: 0; }
  .hero__meta div:nth-child(-n + 2) { border-bottom: 1px solid rgba(189, 168, 120, .28); }
}

@media (max-width: 640px) {
  .masthead__inner { min-height: 96px; }
  .nav .btn { padding: .72rem 1rem; }
  .hero__claim { max-width: 12ch; }
  .hero__sub { padding-left: 1rem; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta div,
  .hero__meta div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(189, 168, 120, .28);
  }
  .hero__meta div:last-child { border-bottom: 0; }
  .section--ink::after { inset: 1rem; }
}

/* ============================================================ mobile navigation fix ==== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masthead__menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(17, 16, 14, .24);
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(13, 12, 10, .08);
  cursor: pointer;
}

.masthead__menu-line {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-open .masthead__menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .masthead__menu-line:nth-child(2) { opacity: 0; }
.nav-open .masthead__menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .masthead { overflow: visible; }
  .masthead__inner {
    position: relative;
    min-height: 104px;
  }
  .masthead__logo {
    max-width: calc(100vw - 118px);
    height: clamp(58px, 13vw, 72px);
  }
  .masthead__menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .masthead .nav {
    position: absolute;
    left: clamp(1rem, 5vw, 1.5rem);
    right: clamp(1rem, 5vw, 1.5rem);
    top: calc(100% - 4px);
    display: grid;
    gap: .35rem;
    padding: .8rem;
    border: 1px solid rgba(189, 168, 120, .38);
    background: rgba(251, 250, 246, .98);
    box-shadow: 0 24px 60px rgba(13, 12, 10, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .nav-open .masthead .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .masthead .nav__links {
    display: grid;
    gap: .15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .masthead .nav a {
    min-height: 44px;
    align-items: center;
    padding: .72rem .85rem;
    border-bottom: 1px solid rgba(189, 168, 120, .18);
  }
  .masthead .nav .btn {
    width: 100%;
    justify-content: center;
    margin-top: .35rem;
    border-bottom: 0;
  }
}

@media (min-width: 721px) {
  .masthead .nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}
/* ============================================================ mobile performance recovery ==== */
@media (max-width: 720px) {
  .masthead,
  .hero .reveal,
  .card,
  .form,
  .cookie-banner {
    backdrop-filter: none !important;
  }

  .masthead {
    background: rgba(251, 250, 246, .98);
  }

  .masthead__logo,
  .curve__path {
    filter: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .ledger__row:hover {
    transform: none;
  }

  .cookie-banner {
    transition: transform .18s var(--ease);
  }
}
/* ============================================================ premium mobile menu polish ==== */
@media (max-width: 720px) {
  .masthead {
    border-bottom-color: rgba(141, 119, 80, .28);
    box-shadow: 0 8px 24px rgba(13, 12, 10, .045);
  }

  .masthead__inner {
    min-height: 96px;
    align-items: center;
  }

  .masthead__menu-toggle {
    width: 52px;
    height: 52px;
    gap: 6px;
    border-color: rgba(141, 119, 80, .36);
    background: linear-gradient(180deg, #ffffff 0%, #f5f1e8 100%);
    box-shadow: 0 10px 26px rgba(13, 12, 10, .10);
    transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  }

  .masthead__menu-toggle:hover,
  .masthead__menu-toggle:focus-visible {
    border-color: rgba(17, 16, 14, .54);
    box-shadow: 0 12px 30px rgba(13, 12, 10, .14);
  }

  .masthead__menu-toggle:active {
    transform: translateY(1px);
  }

  .masthead__menu-line {
    width: 20px;
    height: 1.5px;
  }

  .nav-open .masthead__menu-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .masthead__menu-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .masthead .nav {
    left: clamp(1rem, 5vw, 1.35rem);
    right: clamp(1rem, 5vw, 1.35rem);
    top: calc(100% - 1px);
    gap: 0;
    padding: .95rem;
    border: 1px solid rgba(141, 119, 80, .28);
    border-top: 2px solid var(--ink);
    background: #fbfaf6;
    box-shadow: 0 18px 42px rgba(13, 12, 10, .15);
  }

  .masthead .nav::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 0 .35rem;
    background: linear-gradient(90deg, rgba(17, 16, 14, .34), rgba(189, 168, 120, .18), transparent);
  }

  .masthead .nav__links {
    gap: 0;
  }

  .masthead .nav a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: .86rem .25rem;
    color: rgba(17, 16, 14, .86);
    font-size: .94rem;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(141, 119, 80, .18);
  }

  .masthead .nav a:not(.btn)::after {
    content: "";
    width: 26px;
    height: 1px;
    margin-left: 1rem;
    background: rgba(141, 119, 80, .42);
  }

  .masthead .nav a:not(.btn):hover,
  .masthead .nav a:not(.btn):focus-visible {
    color: var(--ink);
    border-bottom-color: rgba(17, 16, 14, .32);
  }

  .masthead .nav .btn {
    min-height: 52px;
    margin-top: 1rem;
    border-radius: 999px;
    box-shadow: none;
    font-size: .94rem;
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  .masthead__logo {
    height: 56px;
  }

  .masthead__menu-toggle {
    width: 48px;
    height: 48px;
  }
}

/* ============================================================ desktop navigation finish ==== */
@media (min-width: 721px) {
  .masthead .nav {
    gap: clamp(1.1rem, 2.2vw, 2.2rem);
  }

  .masthead .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.9vw, 1.85rem);
    padding: .38rem .1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    white-space: nowrap;
  }

  .masthead .nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: .35rem 0;
    color: rgba(63, 60, 54, .82);
    font-size: .9rem;
    letter-spacing: .015em;
  }

  .masthead .nav__links a:hover,
  .masthead .nav__links a:focus-visible {
    color: var(--ink);
  }

  .masthead .nav > .btn {
    min-height: 48px;
    padding-inline: 1.45rem;
    font-size: .9rem;
    white-space: nowrap;
  }
}

/* ============================================================ website page-flow update ==== */
.cover-title { max-width: 10.5ch; }
.cover-index {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, rgba(251, 250, 246, .2), rgba(239, 237, 231, .72));
}
.cover-index__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(189, 168, 120, .34);
  background: rgba(255, 255, 255, .42);
  box-shadow: var(--shadow-soft);
}
.route-card {
  min-height: 13rem;
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  text-decoration: none;
  border-right: 1px solid rgba(189, 168, 120, .25);
  border-bottom: 1px solid rgba(189, 168, 120, .25);
  background: rgba(255, 255, 255, .38);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.route-card:nth-child(3n) { border-right: 0; }
.route-card:nth-last-child(-n + 3) { border-bottom: 0; }
.route-card span {
  font-family: var(--data);
  font-size: var(--t-micro);
  color: var(--bronze);
  letter-spacing: .16em;
}
.route-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.04;
}
.route-card em {
  display: block;
  max-width: 18rem;
  font-style: normal;
  color: rgba(59, 56, 50, .74);
  font-size: var(--t-small);
  line-height: 1.5;
}
.route-card:hover,
.route-card:focus-visible {
  background: rgba(255, 255, 255, .72);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(13, 12, 10, .08);
}
.route-card--dark {
  background: linear-gradient(145deg, #171410, #080807);
  color: var(--paper);
}
.route-card--dark em { color: rgba(251, 250, 246, .68); }
.route-card--dark:hover,
.route-card--dark:focus-visible { background: linear-gradient(145deg, #211d18, #0d0c0a); }
.page-section { padding-top: clamp(4.5rem, 8vw, 7rem); }
.page-next { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-next a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 54px;
  padding: .9rem 1.35rem;
  border: 1px solid rgba(189, 168, 120, .42);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 12px 34px rgba(13, 12, 10, .06);
}
.page-next a::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--champagne);
}
@media (max-width: 900px) {
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-card:nth-child(3n) { border-right: 1px solid rgba(189, 168, 120, .25); }
  .route-card:nth-child(2n) { border-right: 0; }
  .route-card:nth-last-child(-n + 3) { border-bottom: 1px solid rgba(189, 168, 120, .25); }
  .route-card:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 620px) {
  .cover-index__head { display: block; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card,
  .route-card:nth-child(2n),
  .route-card:nth-child(3n),
  .route-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(189, 168, 120, .25);
  }
  .route-card:last-child { border-bottom: 0; }
  .route-card { min-height: 10rem; }
}

/* ============================================================ cover brand refinement ==== */
.hero--cover {
  align-items: center;
  min-height: min(780px, calc(100vh - 118px));
}
.cover-brand {
  grid-column: 1 / -1;
  width: min(620px, 72vw);
  height: auto;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  filter: drop-shadow(0 22px 45px rgba(13, 12, 10, .08));
}
.hero--cover > .eyebrow,
.hero--cover > .hero__claim,
.hero--cover > .hero__sub {
  grid-column: 1;
}
.hero--cover .reveal {
  grid-row: 2 / span 4;
}
@media (max-width: 980px) {
  .cover-brand {
    width: min(560px, 88vw);
  }
  .hero--cover .reveal {
    grid-row: auto;
  }
}
@media (max-width: 620px) {
  .cover-brand {
    width: min(420px, 94vw);
    margin-bottom: 1.8rem;
  }
}

/* ============================================================ basic front cover ==== */
.is-front-page {
  min-height: 100vh;
}
.front-cover {
  min-height: calc(100vh - 118px);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}
.front-cover__mark {
  width: min(680px, 82vw);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.front-cover__mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(13, 12, 10, .08));
}
.front-cover__title {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  margin: .2rem 0 1.1rem;
}
.front-cover__copy {
  max-width: 43rem;
  margin: 0 auto;
  color: rgba(59, 56, 50, .78);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}
.front-cover__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.front-cover__link {
  color: var(--graphite);
  text-decoration: none;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(189, 168, 120, .65);
}
.front-cover__link:hover,
.front-cover__link:focus-visible {
  color: var(--ink);
}
@media (max-width: 720px) {
  .front-cover {
    min-height: calc(100vh - 96px);
    padding-block: clamp(3rem, 8vw, 5rem);
  }
  .front-cover__mark {
    width: min(440px, 92vw);
  }
  .front-cover__actions {
    display: grid;
    width: min(100%, 22rem);
  }
  .front-cover__actions .btn {
    justify-content: center;
  }
}

/* ============================================================ front page assembly animation ==== */
.front-cover {
  position: relative;
  overflow: hidden;
}
.front-cover::before,
.front-cover::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(48rem, 72vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(189, 168, 120, .85), transparent);
  transform: translateX(-50%) scaleX(.08);
  opacity: 0;
  animation: front-line-assemble 1400ms var(--ease) .45s forwards;
}
.front-cover::before { top: clamp(8rem, 18vh, 12rem); }
.front-cover::after { bottom: clamp(4rem, 10vh, 8rem); animation-delay: .72s; }
.front-cover__mark {
  opacity: 0;
  transform: translateY(14px) scale(.985);
  animation: front-mark-arrive 900ms var(--ease) .08s forwards;
}
.front-cover .eyebrow {
  opacity: 0;
  transform: translateY(10px);
  animation: front-fade-up 680ms var(--ease) .65s forwards;
}
.front-cover__title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(.55rem, 1.5vw, 1rem);
  overflow: hidden;
}
.front-cover__word {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity, letter-spacing;
}
.front-cover__word--left {
  transform: translateX(-2.3rem);
  animation: front-word-left 1050ms var(--ease) .86s forwards;
}
.front-cover__word--right {
  transform: translateX(2.3rem);
  animation: front-word-right 1050ms var(--ease) .86s forwards;
}
.front-cover__copy,
.front-cover__actions {
  opacity: 0;
  transform: translateY(14px);
}
.front-cover__copy { animation: front-fade-up 720ms var(--ease) 1.32s forwards; }
.front-cover__actions { animation: front-fade-up 720ms var(--ease) 1.55s forwards; }

@keyframes front-mark-arrive {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes front-word-left {
  0% { opacity: 0; transform: translateX(-2.3rem); letter-spacing: .08em; }
  100% { opacity: 1; transform: translateX(0); letter-spacing: 0; }
}
@keyframes front-word-right {
  0% { opacity: 0; transform: translateX(2.3rem); letter-spacing: .08em; }
  100% { opacity: 1; transform: translateX(0); letter-spacing: 0; }
}
@keyframes front-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes front-line-assemble {
  to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@media (max-width: 620px) {
  .front-cover__title {
    display: grid;
    gap: .1rem;
  }
  .front-cover__word--left,
  .front-cover__word--right {
    transform: translateY(1rem);
    animation-name: front-fade-up;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-cover::before,
  .front-cover::after,
  .front-cover__mark,
  .front-cover .eyebrow,
  .front-cover__word,
  .front-cover__copy,
  .front-cover__actions {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================ front-to-content transition ==== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(189, 168, 120, .28) 46.05% 46.2%, transparent 46.25% 100%),
    #0d0c0a;
  color: var(--paper);
  opacity: 0;
  transform: scaleY(.02);
  transform-origin: 50% 50%;
  transition: opacity 260ms var(--ease), transform 620ms var(--ease);
}
.page-transition span {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 420ms var(--ease) 180ms, transform 420ms var(--ease) 180ms;
}
.is-transitioning .page-transition {
  opacity: 1;
  transform: scaleY(1);
}
.is-transitioning .page-transition span {
  opacity: 1;
  transform: translateY(0);
}
.page-arrived body main {
  animation: page-arrive 560ms var(--ease) both;
}
@keyframes page-arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-transition { display: none; }
  .page-arrived body main { animation: none; }
}

/* ============================================================ transition upgrade ==== */
.is-front-page .masthead,
.is-front-page .front-cover {
  transition: opacity 520ms var(--ease), transform 720ms var(--ease), filter 720ms var(--ease);
}
.is-front-page.is-transitioning .masthead,
.is-front-page.is-transitioning .front-cover {
  opacity: .24;
  transform: scale(.985);
  filter: blur(2px);
}
.page-transition {
  background:
    radial-gradient(circle at 50% 46%, rgba(189, 168, 120, .16), transparent 20rem),
    linear-gradient(115deg, rgba(189, 168, 120, .18) 0 1px, transparent 1px 100%),
    #0d0c0a;
  background-size: 100% 100%, 94px 94px, 100% 100%;
  transform: translateY(100%);
  transition: opacity 360ms var(--ease), transform 980ms cubic-bezier(.77, 0, .18, 1);
}
.page-transition__panel {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.4rem);
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 680ms var(--ease) 420ms, transform 680ms var(--ease) 420ms;
}
.page-transition__panel img {
  width: min(420px, 70vw);
  filter: invert(1) brightness(1.2);
  opacity: .92;
}
.page-transition__panel span {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.7vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
  opacity: .96;
}
.page-transition__panel i {
  display: block;
  width: min(18rem, 54vw);
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(.12);
  transform-origin: 50% 50%;
  animation: transition-line-sweep 980ms var(--ease) 620ms forwards;
}
.is-transitioning .page-transition {
  opacity: 1;
  transform: translateY(0);
}
.is-transitioning .page-transition__panel {
  opacity: 1;
  transform: translateY(0);
}
.page-arrived body .masthead {
  animation: content-header-arrive 600ms var(--ease) both;
}
.page-arrived body main {
  animation: content-main-arrive 900ms var(--ease) both;
}
@keyframes transition-line-sweep {
  to { transform: scaleX(1); }
}
@keyframes content-header-arrive {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes content-main-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .page-transition__panel img { width: min(320px, 78vw); }
}
@media (prefers-reduced-motion: reduce) {
  .is-front-page .masthead,
  .is-front-page .front-cover,
  .page-transition,
  .page-transition__panel {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .page-transition__panel i,
  .page-arrived body .masthead,
  .page-arrived body main {
    animation: none !important;
  }
}






/* Server-safe cover arrival fade. The class is added in the head before the page paints. */
html.cover-arrival body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(189, 168, 120, .16), transparent 20rem),
    linear-gradient(115deg, rgba(189, 168, 120, .18) 0 1px, transparent 1px 100%),
    #0d0c0a;
  background-size: 100% 100%, 94px 94px, 100% 100%;
  animation: cover-arrival-fade 1150ms var(--ease) 180ms forwards;
}
@keyframes cover-arrival-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.cover-arrival body::before {
    display: none;
    animation: none;
  }
}
