/* ============================================================
   CANTO·33 — STRATEGIC DIAGNOSTIC ADVISORY
   Design system. Dark · Editorial · Confrontational.
   ============================================================ */

:root {
  /* Backgrounds */
  --base: #000000;
  --surface: #0B0B0C;
  --lift: #131315;
  --lift-2: #1A1A1D;

  /* Text */
  --warm-white: #FAF9F6;
  --muted: #C6C5C2;
  --dim: #75746F;
  --faint: #363531;

  /* Oxblood */
  --ox-deep: #7C1F1F;
  --ox: #C2554F;
  --flame: #E8503F;

  /* Rules */
  --rule: rgba(250, 249, 246, 0.06);
  --rule-strong: rgba(250, 249, 246, 0.13);
  --rule-accent: #C2554F;

  /* Type families */
  --syne: "Syne", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing (8px base) */
  --s-4xs: 8px;
  --s-xs: 16px;
  --s-s: 24px;
  --s-m: 32px;
  --s-l: 56px;
  --s-xl: 80px;
  --s-2xl: clamp(80px, 12vw, 140px);

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* -------- Reset / Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--warm-white);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: var(--ox-deep); color: var(--warm-white); }
::-moz-selection { background: var(--ox-deep); color: var(--warm-white); }

/* -------- Type tokens -------- */
.display-hero {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(70px, 11vw, 176px);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.display-xl {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.display-l {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.heading-m {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.heading-s {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.title-card {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lead {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.62;
  color: var(--muted);
}
.body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}
.small {
  font-size: 13.5px;
  line-height: 1.6;
}
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: var(--s-m);
}
.label, .label-s {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.label-s { font-size: 9.5px; letter-spacing: 0.18em; }
.serif-l {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--warm-white);
}
.dim { color: var(--dim); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ox); }
strong { font-weight: 600; color: var(--warm-white); }
.ox { color: var(--ox); }

/* -------- The Mark -------- */
.mark {
  display: inline-flex;
  align-items: baseline;
  color: var(--warm-white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.mark-c {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.5em;
  line-height: 1;
}
.mark-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--ox);
  border-radius: 50%;
  margin: 0 0.18em 0.4em 0.18em;
  flex-shrink: 0;
  transition: background 240ms ease;
}
.mark-33 {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 1em;
  line-height: 1;
}
.mark:hover .mark-dot { background: var(--flame); }

.mark-nav { font-size: 16px; }
.mark-intro { font-size: 52px; }
.mark-etym { font-size: 64px; }
.mark-footer { font-size: 22px; }

/* -------- Buttons -------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  transition: color 280ms var(--ease);
  cursor: pointer;
}
.btn .arrow {
  display: inline-block;
  transition: transform 320ms var(--ease);
}
.btn-primary {
  background: var(--warm-white);
  color: var(--base);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ox);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms var(--ease);
  z-index: -1;
}
.btn-primary:hover { color: var(--warm-white); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--dim);
  border-bottom: 1px solid var(--faint);
  padding: 18px 0;
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--warm-white);
  border-bottom-color: var(--warm-white);
}

.btn:disabled {
  opacity: 0.32;
  pointer-events: none;
}

/* -------- Intro screen (00) -------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 700ms var(--ease) 400ms, visibility 0ms linear 1100ms;
}
.intro.is-hidden { opacity: 0; visibility: hidden; }
.intro-inner {
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: introIn 1000ms var(--ease) 150ms forwards;
}
@keyframes introIn {
  to { opacity: 1; transform: none; }
}
.intro-line {
  display: block;
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--dim);
  opacity: 0;
  animation: introIn 800ms var(--ease) 700ms forwards;
}
.intro-bar {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  height: 1px;
  width: clamp(120px, 30vw, 280px);
  background: var(--ox);
  animation: introBar 1200ms var(--ease) 1100ms forwards;
}
@keyframes introBar {
  to { transform: translateX(-50%) scaleX(1); }
}
html.no-intro .intro { display: none; }
html.no-intro body.is-loading { overflow: visible; }

/* -------- Custom cursor (desktop only) -------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--ox);
  border-radius: 50%;
  transition: opacity 300ms ease, width 220ms var(--ease), height 220ms var(--ease), background 220ms ease;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(194, 85, 79, 0.55);
  border-radius: 50%;
  transition: opacity 300ms ease, width 280ms var(--ease), height 280ms var(--ease), border-color 280ms ease;
}
.cursor-dot.is-on,
.cursor-ring.is-on { opacity: 1; }
.cursor-dot.is-link { width: 13px; height: 13px; }
.cursor-ring.is-link { width: 58px; height: 58px; border-color: rgba(194, 85, 79, 0.7); }
.cursor-dot.is-cta { background: var(--flame); }
.cursor-ring.is-cta { border-color: rgba(232, 80, 63, 0.7); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* -------- Hero glow -------- */
.hero-glow {
  position: fixed;
  top: -10vh;
  right: -10vw;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at 50% 50%,
    rgba(124, 31, 31, 0.25) 0%,
    rgba(124, 31, 31, 0.08) 30%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50%  { transform: translate(-3%, 4%) scale(1.08); opacity: 1; }
  100% { transform: translate(2%, -2%) scale(0.95); opacity: 0.85; }
}

/* -------- Nav -------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px var(--s-l);
  transition: padding 320ms var(--ease), background 320ms var(--ease), backdrop-filter 320ms var(--ease);
}
.site-nav.is-scrolled {
  padding: 15px var(--s-l);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  padding: 4px 0;
  transition: color 220ms ease;
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ox);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta {
  padding: 14px 24px;
  font-size: 10.5px;
}

/* -------- Sections base -------- */
.section-base { background: var(--base); }
.section-surface { background: var(--surface); }
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: start;
}
.col-head { position: sticky; top: 120px; align-self: start; }
.col-body p + p { margin-top: var(--s-m); }
.col-body p + .pull { margin-top: var(--s-l); }
.col-body p + .body { margin-top: var(--s-m); }

/* -------- Hero (01) -------- */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: var(--s-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-grid {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--s-l);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-xl);
  align-items: end;
}
.hero-content { max-width: 1100px; }
.hero-title {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(64px, 11vw, 176px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: var(--s-m) 0 var(--s-l);
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero-title .line-i {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1100ms cubic-bezier(0.2, 0.85, 0.2, 1);
}
.hero-title.is-shown .line-i { transform: translateY(0); }
.hero-title .line:nth-child(1) .line-i { transition-delay: 120ms; }
.hero-title .line:nth-child(2) .line-i { transition-delay: 240ms; }
.hero-title .line:nth-child(3) .line-i { transition-delay: 360ms; }
.line-serif em {
  color: var(--dim);
}
.hero-sub {
  max-width: 720px;
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease) 600ms, transform 700ms var(--ease) 600ms;
}
.hero-title.is-shown ~ .hero-sub,
.hero-content.is-shown .hero-sub { opacity: 1; transform: none; }
.hero-actions {
  margin-top: var(--s-l);
  display: flex;
  gap: var(--s-l);
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease) 800ms, transform 700ms var(--ease) 800ms;
}
.hero-content.is-shown .hero-actions { opacity: 1; transform: none; }

.hero-meta {
  align-self: end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  border-left: 1px solid var(--rule);
  padding-left: var(--s-s);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease) 1000ms, transform 700ms var(--ease) 1000ms;
}
.hero-content.is-shown ~ .hero-meta,
body .hero-meta.is-shown { opacity: 1; transform: none; }
.hero-meta dl > div { display: flex; gap: 10px; padding: 6px 0; }
.hero-meta dt { color: var(--muted); }
.hero-meta dd { margin: 0; color: var(--dim); }

.eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease 200ms, transform 600ms var(--ease) 200ms;
}
.hero-content.is-shown .eyebrow,
.eyebrow.rev.is-visible { opacity: 1; transform: none; }

/* -------- Dante band (02) -------- */
.dante {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.dante-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l);
  text-align: center;
}
.dante-quote {
  margin: 0 0 var(--s-l);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--warm-white);
}
.dante-quote .ox { color: var(--ox); }
.dante-original {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 1.9;
  margin-bottom: var(--s-m);
}
.dante-attr {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ox);
}

/* -------- Problem section (03) -------- */
.col-head .eyebrow { margin-bottom: var(--s-l); }
.col-head h2 em { color: var(--ox); }
.col-body .lead { color: var(--muted); }
.pull {
  position: relative;
  padding: var(--s-s) 0 var(--s-s) var(--s-m);
  border-left: 2px solid var(--ox);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--warm-white);
  margin-top: var(--s-l);
}

/* -------- Creed (04) -------- */
.creed-head {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l) var(--s-xl);
  text-align: center;
}
.creed-head .eyebrow,
.creed-head h2 { margin-left: auto; margin-right: auto; }
.creed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.creed-cell {
  background: var(--base);
  padding: 44px 36px 48px;
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  transition: background 280ms var(--ease);
}
.creed-cell:hover { background: var(--lift); }
.cell-num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: 10px;
}
.creed-cell h3 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--warm-white);
  margin-bottom: 6px;
}
.creed-cell p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dim);
}
.creed-close {
  max-width: 880px;
  margin: var(--s-xl) auto 0;
  padding: 0 var(--s-l) var(--s-2xl);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
}

/* -------- Dimensions / Process rows (05, 07) -------- */
.rows {
  max-width: 1600px;
  margin: var(--s-xl) auto 0;
  padding: 0 var(--s-l);
}
.row {
  display: grid;
  grid-template-columns: 72px 230px 1fr 40px;
  gap: var(--s-l);
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  cursor: default;
  transition: background 320ms var(--ease);
}
.row:last-child { border-bottom: 1px solid var(--rule); }
.row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--ox);
  transition: width 500ms var(--ease);
}
.row:hover::after { width: 100%; }
.row:hover .row-arrow { color: var(--ox); transform: translateX(4px); }
.row-num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ox);
  padding-top: 5px;
}
.row-name {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 33px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--warm-white);
}
.row-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 60ch;
}
.row-desc strong { color: var(--warm-white); font-weight: 600; }
.row-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--dim);
  text-align: right;
  padding-top: 4px;
  transition: color 280ms ease, transform 280ms var(--ease);
}

.rows-timed .row {
  grid-template-columns: 72px 260px 1fr 130px;
}
.row-timing {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.7;
  text-align: right;
  padding-top: 5px;
}
.row-timing em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ox);
  margin-top: 4px;
}

/* -------- Product statement (06) -------- */
.statement .section-inner { max-width: 1400px; }
.statement-body {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--warm-white);
}
.statement-body em {
  color: var(--ox);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.statement-body .dim { color: var(--dim); font-weight: 700; }

/* -------- Tiers (08) -------- */
.tiers-head {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l) var(--s-xl);
}
.tier-grid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--s-l);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}
.tier {
  background: var(--base);
  padding: 54px 46px;
  display: flex;
  flex-direction: column;
  gap: var(--s-s);
  transition: background 320ms var(--ease);
}
.tier:hover { background: var(--lift); }
.tier-feature {
  background: rgba(124, 31, 31, 0.05);
  border: 1px solid rgba(124, 31, 31, 0.45);
  outline: none;
}
.tier-feature:hover { background: rgba(124, 31, 31, 0.08); }
.tier-num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ox);
}
.tier-name {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(28px, 2.8vw, 33px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--warm-white);
}
.tier-name .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--dim);
  font-size: 0.7em;
  letter-spacing: -0.01em;
}
.tier-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}
.tier-meta {
  margin-top: var(--s-s);
  padding-top: var(--s-s);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tier-meta dt { color: var(--dim); }
.tier-meta dd { color: var(--muted); margin: 0; }
.tier-feature .tier-meta { border-color: rgba(124, 31, 31, 0.45); }

.tiers-note {
  max-width: 720px;
  margin: var(--s-xl) auto 0;
  padding: 0 var(--s-l) var(--s-2xl);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.55;
}

/* -------- Etymology (09) -------- */
.etymology { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.etym-grid { grid-template-columns: 320px 1fr; gap: var(--s-xl); }
.etym-side { position: sticky; top: 140px; align-self: start; }
.etym-side .eyebrow { display: block; margin-bottom: var(--s-m); }
.etym-body > * + * { margin-top: var(--s-l); }
.etym-body p:last-child { color: var(--dim); font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; }

/* -------- FAQ (10) -------- */
.faq-head {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l) var(--s-xl);
}
.faq-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-l) var(--s-2xl);
}
.faq-item {
  border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: var(--s-s);
  align-items: center;
  padding: 32px 0;
  cursor: pointer;
  transition: color 220ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ox);
}
.faq-q {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}
.faq-toggle {
  font-family: var(--syne);
  font-weight: 400;
  font-size: 28px;
  color: var(--ox);
  text-align: right;
  transition: transform 320ms var(--ease);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease);
}
.faq-item[open] .faq-a { max-height: 420px; }
.faq-a p {
  padding: 0 0 32px 80px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 65ch;
}
.faq-item summary:hover .faq-q { color: var(--ox); }

/* -------- Application (11) -------- */
.apply-section {
  border-top: 1px solid var(--rule-accent);
}
.apply-head {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l) var(--s-xl);
}
.apply-head h2 em { color: var(--ox); }

.apply-choices {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--s-l) var(--s-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
}
.choice {
  background: var(--base);
  padding: var(--s-l) var(--s-m);
  display: flex;
  flex-direction: column;
  gap: var(--s-s);
}
.choice-tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}
.choice-second .choice-tag { color: var(--ox); }
.choice p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}
.choice p strong {
  font-family: var(--syne);
  font-style: normal;
  font-weight: 800;
  color: var(--warm-white);
  font-size: 1em;
  display: block;
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.apply-form-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l);
}

/* Progress bar */
.progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: var(--s-2xl);
}
.step-cell {
  position: relative;
  background: var(--surface);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  transition: background 300ms var(--ease), color 300ms ease;
}
.step-cell.is-current {
  background: var(--ox-deep);
  color: var(--warm-white);
}
.step-cell.is-complete {
  background: rgba(124, 31, 31, 0.22);
  color: var(--ox);
}
.cell-i { font-weight: 600; font-size: 11px; }
.cell-label { font-size: 10.5px; }

/* Form steps */
.step {
  display: none;
  flex-direction: column;
  gap: var(--s-m);
}
.step.is-active { display: flex; animation: stepIn 480ms var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.step-intro {
  display: flex;
  align-items: baseline;
  gap: var(--s-s);
  padding-bottom: var(--s-m);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-s);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--ox);
  line-height: 1;
}
.step-title {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step-sub {
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--dim);
  margin-left: var(--s-m);
}

/* Fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ox);
}
.req { display: inline-block; margin-left: 6px; color: var(--ox); }
.hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.4;
  margin: 0;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 249, 246, 0.16);
  color: var(--warm-white);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  padding: 10px 0;
  width: 100%;
  transition: border-color 280ms var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ox);
}
.field input::placeholder,
.field textarea::placeholder {
  font-family: var(--serif);
  font-style: italic;
  color: var(--faint);
  opacity: 0.9;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23C2554F' stroke-width='1.4' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.field select option {
  background: var(--base);
  color: var(--warm-white);
}
.field[data-invalid] input,
.field[data-invalid] select,
.field[data-invalid] textarea { border-bottom-color: var(--flame); }

.consent {
  margin-top: var(--s-m);
  padding: var(--s-s);
  background: var(--lift);
  border-left: 2px solid var(--ox);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Step navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-m);
  margin-top: var(--s-xl);
  padding-top: var(--s-m);
  border-top: 1px solid var(--rule);
}
.step-position {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--dim);
}

/* Success */
.step-success {
  align-items: center;
  text-align: center;
  padding: var(--s-2xl) 0;
  gap: var(--s-m);
}
.seal {
  width: 92px;
  height: 92px;
  border: 2px solid var(--ox);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ox);
  margin-bottom: var(--s-m);
  position: relative;
  animation: sealIn 700ms var(--ease-spring) both;
}
.seal::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--ox);
  opacity: 0.5;
  animation: sealPulse 2.2s ease-out infinite;
}
@keyframes sealIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes sealPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.ref-num {
  margin-top: var(--s-l);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--ox);
}

/* -------- Footer (12) -------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-l) var(--s-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-xl);
}
.footer-brand .mark { margin-bottom: var(--s-s); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: var(--s-s);
}
.footer-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 36ch;
}
.footer-col h5 {
  color: var(--muted);
  margin-bottom: var(--s-s);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a,
.footer-col ul li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--dim);
  transition: color 220ms ease;
}
.footer-col ul a:hover { color: var(--ox); }
.footer-bar {
  border-top: 1px solid var(--rule);
  padding: var(--s-s) var(--s-l);
  display: flex;
  justify-content: space-between;
  gap: var(--s-m);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* -------- Reveal animation -------- */
.rev {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.rev.is-visible { opacity: 1; transform: none; }

/* Stagger inside grids */
.creed-grid .rev:nth-child(1) { transition-delay: 0ms; }
.creed-grid .rev:nth-child(2) { transition-delay: 120ms; }
.creed-grid .rev:nth-child(3) { transition-delay: 240ms; }

.rows .row.rev:nth-child(1) { transition-delay: 0ms; }
.rows .row.rev:nth-child(2) { transition-delay: 100ms; }
.rows .row.rev:nth-child(3) { transition-delay: 200ms; }
.rows .row.rev:nth-child(4) { transition-delay: 300ms; }
.rows .row.rev:nth-child(5) { transition-delay: 400ms; }

/* -------- Responsive (≤900px) -------- */
@media (max-width: 900px) {
  :root { --s-l: 24px; --s-2xl: 80px; }

  .site-nav { padding: 18px 24px; }
  .site-nav.is-scrolled { padding: 14px 24px; }
  .nav-links { display: none; }

  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-l); padding: 0 24px; }
  .hero-meta {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: var(--s-s);
  }

  .two-col { grid-template-columns: 1fr; gap: var(--s-m); }
  .col-head { position: static; }

  .creed-grid { grid-template-columns: 1fr; }

  .row {
    grid-template-columns: 56px 1fr 32px;
    gap: var(--s-s);
    padding: 28px 0;
  }
  .row-name { grid-column: 2; }
  .row-desc { grid-column: 2; }
  .row-arrow { grid-row: 1 / span 2; }
  .rows-timed .row { grid-template-columns: 56px 1fr 32px; }
  .row-timing { grid-column: 2; text-align: left; padding-top: 10px; }

  .tier-grid { grid-template-columns: 1fr; }
  .tier { padding: 36px 28px; }

  .etym-grid { grid-template-columns: 1fr; }
  .etym-side { position: static; }

  .apply-choices { grid-template-columns: 1fr; }

  .progress { grid-template-columns: repeat(5, 1fr); gap: 1px; }
  .step-cell { padding: 10px 6px; }
  .cell-label { display: none; }

  .step-intro { flex-direction: column; align-items: flex-start; gap: 8px; }
  .step-sub { margin-left: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--s-l); }
  .footer-bar { padding: var(--s-s) 24px; flex-direction: column; align-items: flex-start; }
}

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot, .cursor-ring, .hero-glow { display: none; }
  .rev { opacity: 1; transform: none; }
  .hero-title .line-i { transform: none; }
  .intro { display: none; }
  body.is-loading { overflow: auto; }
}
