/* ICARVS temporary website — implemented from "ICARUS Website.dc.html" */

:root {
  --cream: #F4EDE0;
  --panel: #EFE7D6;
  --card: #FBF7EF;
  --ink: #241E19;
  --ink-deep: #1B150F;
  --text: #3A2F27;
  --muted: #6B5A49;
  --label: #5C4416;
  --red: #8C2B22;
  --red-hover: #A83226;
  --red-link: #7A231B;
  --gold: #D6B26A;
  --gold-bright: #E9C077;
  --gold-dim: #A8874A;
  --sand: #F2D9A8;
  --light: #F7F1E4;
  --light-2: #F0E7D8;
  --light-3: #E6DCCB;
  --line: #DCCFB8;
  --line-2: #C9BBA2;

  --f-display: 'Cinzel', serif;
  --f-serif: 'Cormorant Garamond', serif;
  --f-sans: 'Public Sans', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 28px);
  --section-y: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-width: thin;
  scrollbar-color: #6E6253 var(--ink-deep);
  scrollbar-gutter: stable;
  background: var(--ink-deep);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: rgba(240,231,216,.30); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,231,216,.46); }
::selection { background: rgba(140,43,34,.18); color: var(--ink); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-family: var(--f-serif);
}
img { max-width: 100%; }
a { color: var(--red-link); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout primitives ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--dark { background: var(--ink); color: var(--light-2); }
.section--panel { background: var(--panel); }
.wrap { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; }
.stack { display: flex; flex-direction: column; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: end;
}
.grid { display: grid; gap: 24px; }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--360 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.accent-red { color: var(--red); }
.accent-gold { color: var(--gold); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--label);
}
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.label {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  text-wrap: balance;
}
.section--dark .h2 { color: var(--light); }
.h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}
.lead {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.section--dark .lead { color: var(--light-3); }
.body {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
}
.numeral { font-family: var(--f-display); font-weight: 600; color: var(--red); }

.fleuron {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.fleuron::before, .fleuron::after { content: ""; width: 60px; height: 1px; background: var(--gold-dim); }
.fleuron span { font-family: var(--f-serif); font-size: 22px; line-height: 1; color: var(--label); }
.fleuron--gold span { color: var(--gold); }

.statement {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-serif);
  font-size: 21px;
  font-weight: 600;
  padding: 14px 28px;
}
.btn--primary { background: var(--red); color: var(--light); }
.btn--primary:hover { background: var(--red-hover); color: var(--light); }
.btn--ghost { color: var(--light); padding: 13px 27px; border: 1px solid rgba(214,178,106,.6); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Announcement bar ---------- */
.announce {
  display: block;
  background: var(--red);
  color: var(--light);
  padding: 10px 20px;
  text-align: center;
  line-height: 1.4;
  text-wrap: balance;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
}
.announce:hover { background: var(--red-hover); color: var(--light); }
.announce span { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--light-2);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(20,14,10,.55) 0%, rgba(20,14,10,0) 55%),
    linear-gradient(90deg, rgba(20,14,10,.8) 0%, rgba(20,14,10,.6) 45%, rgba(20,14,10,.1) 100%);
}
.hero__shade-top { position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(180deg, rgba(20,14,10,.55), transparent); }

.site-header { position: relative; z-index: 2; }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.site-header__logo { display: flex; }
.site-nav {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
  padding-bottom: 2px;
  font-family: var(--f-sans); font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--light-3); }
.site-nav a:hover { color: var(--gold); }
.site-nav .site-nav__cta { color: var(--light); background: var(--red); padding: 10px 16px; }
.site-nav .site-nav__cta:hover { background: var(--red-hover); color: var(--light); }

.music-toggle {
  background: none; border: 0; padding: 4px;
  min-width: 32px; min-height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--light-3);
  transition: color .15s;
}
.music-toggle:hover { color: var(--gold); }
.music-toggle .wave { opacity: 0; }
.music-toggle .mute { opacity: 1; }
.music-toggle[aria-pressed="true"] .wave { opacity: 1; }
.music-toggle[aria-pressed="true"] .mute { opacity: 0; }

.hero__body {
  position: relative; flex: 1;
  display: flex; align-items: center;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(80px, 12vw, 150px);
}
.hero__content { max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.hero__kicker, .hero__motto { font-family: var(--f-display); font-size: 14px; letter-spacing: .26em; color: var(--gold); }
.hero__kicker { font-weight: 600; }
.hero__motto { padding-top: 10px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.06;
  color: var(--light); text-wrap: balance;
}
.hero__lead {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(21px, 2.2vw, 27px); line-height: 1.4;
  color: var(--light-3); max-width: 620px; text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }

/* ---------- About ---------- */
.about .wrap { gap: clamp(40px, 6vw, 64px); }
.compare { border: 1px solid var(--line); }
.compare__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.compare__head {
  padding: 16px clamp(20px, 3vw, 32px);
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.compare__head--today { background: var(--panel); color: var(--label); }
.compare__head--with { background: var(--red); color: var(--light); }
.compare__cell {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 22px clamp(20px, 3vw, 32px);
  font-family: var(--f-serif); font-weight: 500; font-size: 21px; line-height: 1.4;
}
.compare__cell > span:first-child { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.compare__cell--today { background: var(--card); border-bottom: 1px solid var(--line); color: var(--text); }
.compare__cell--today > span:first-child { color: var(--red); }
.compare__cell--with { background: var(--ink); border-bottom: 1px solid rgba(168,135,74,.3); color: var(--light); }
.compare__cell--with > span:first-child { color: var(--gold); font-weight: 400; }
.closing { gap: 22px; }
.closing .statement { font-size: clamp(20px, 2.4vw, 28px); }

/* ---------- Mission ---------- */
.mission {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,14,10,.9) 0%, rgba(20,14,10,.8) 40%, rgba(20,14,10,.97) 75%),
    url('../img/demo-forum-960.jpg') center top / cover,
    var(--ink);
  color: var(--light-2);
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  overflow: hidden;
}
.mission .wrap { gap: clamp(56px, 8vw, 96px); }
.mission__intro { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; max-width: 1000px; margin: 0 auto; }
.mission__statement {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4.2vw, 54px); line-height: 1.16;
  color: var(--light); text-wrap: balance;
}
.layer { display: flex; flex-direction: column; align-items: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--light-2);
  border: 1px solid rgba(214,178,106,.55);
  background: rgba(36,30,25,.7);
  padding: 10px 16px;
}
.layer__stem { width: 2px; height: 48px; background: var(--gold-dim); }
.layer__stem--grad { background: linear-gradient(var(--gold-dim), var(--gold)); }
.layer__badge {
  background: var(--ink);
  padding: 26px clamp(28px, 6vw, 56px) 22px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px rgba(36,30,25,.6);
}
.layer__badge .label { color: var(--gold); letter-spacing: .16em; }
.layer__motto {
  margin: 0 0 8px;
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px); color: var(--gold); text-align: center;
}
.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0 48px; padding: 0; margin: 0; list-style: none;
}
.principles li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 24px 0; border-top: 1px solid rgba(214,178,106,.35);
}
.principles .num { font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1; color: var(--gold); }
.principles h3 { font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: .08em; color: var(--light); text-transform: uppercase; }
.principles p { font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--light-3); margin-top: 6px; }

.what-we-do {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px clamp(40px, 6vw, 80px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 2px solid var(--gold-dim);
}
.what-we-do h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.16;
  color: var(--light); text-wrap: balance;
}
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 14px 0;
  font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4;
}
.numbered .num { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.numbered--dark li { border-bottom: 1px solid rgba(214,178,106,.3); color: var(--light-3); }
.numbered--dark .num { color: var(--gold); }
.numbered--light li { line-height: normal; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 21px; color: var(--text); }
.numbered--light .num { color: var(--red); }
.numbered--light strong { color: var(--ink); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-top: 3px solid var(--red);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.card--dark { background: var(--ink); color: var(--light-2); border-top-color: var(--gold); }
.card .numeral { font-size: 36px; }
.card--dark .numeral { color: var(--gold); }
.card h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.card--dark h3 { color: var(--light); }
.card--dark .body { color: var(--light-3); }

.objectives .wrap { gap: 52px; }
.objectives__intro { gap: 18px; max-width: 820px; }
.cycle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 22px 26px; border: 1px solid var(--line);
  font-family: var(--f-display); font-size: 14px; font-weight: 600; letter-spacing: .16em;
  color: var(--label);
}
.cycle .accent-red { color: var(--red); }

/* ---------- Background / timeline ---------- */
.background .wrap { gap: clamp(44px, 6vw, 64px); }
.background .split { gap: 24px clamp(40px, 6vw, 80px); }
.rule { width: 120px; height: 2px; background: var(--gold-dim); margin-top: 6px; }
.stats {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px;
  padding-top: 20px; border-top: 1px solid var(--line-2);
}
.stat { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-serif); font-weight: 500; font-size: 21px; color: var(--text); }
.stat strong { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--red); }
.stats .sep { font-family: var(--f-serif); font-size: 22px; color: var(--label); }

.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 36px 0; list-style: none; margin: 0; padding: 0;
}
.timeline li { display: flex; flex-direction: column; gap: 10px; padding-right: 24px; }
.timeline__marker { position: relative; height: 28px; display: flex; align-items: center; }
.timeline__marker::before {
  content: ""; position: absolute; left: 0; right: -20px; top: 13px; height: 2px; background: var(--gold-dim);
}
.timeline__marker i {
  position: relative; width: 18px; height: 18px;
  background: var(--cream); border: 3px solid var(--gold-dim);
}
.timeline__year {
  font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600;
  color: var(--red); padding-top: 8px; font-variant-numeric: lining-nums;
}
.timeline__title {
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.timeline__text { font-family: var(--f-serif); font-weight: 500; font-size: 19px; line-height: 1.4; color: var(--text); }
.timeline li.is-now .timeline__marker::before { background: linear-gradient(90deg, var(--red), transparent); }
.timeline li.is-now .timeline__marker i { width: 28px; height: 28px; background: var(--red); border-color: var(--gold); }
.timeline li.is-now .timeline__year { color: var(--ink); }

.initiators {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px 64px; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--line-2);
}
.initiators blockquote {
  margin: 0;
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.2vw, 26px); line-height: 1.45; color: var(--ink);
}
.initiators__logos { display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap; }
.initiators__logos .divider { width: 1px; height: 48px; background: var(--line-2); }

/* ---------- Team (capacities) ---------- */
.team .wrap { gap: clamp(44px, 6vw, 64px); }
.capacity h3 { font-size: 22px; line-height: 1.25; color: var(--ink); }
.capacity .label { color: var(--red); }
.capacity.card--dark .label { color: var(--gold); }
.capacity.card--dark h3 { color: var(--light); }
.capacity ul { list-style: none; margin: 0; padding: 6px 0 0; }
.capacity li {
  font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4;
  padding: 8px 0; border-top: 1px solid var(--line); color: var(--text);
}
.capacity.card--dark li { border-top-color: rgba(214,178,106,.3); color: var(--light-3); }
.team__quote { align-items: center; gap: 22px; text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.team__quote .statement { max-width: 980px; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }

/* ---------- People ---------- */
.people {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,14,10,.97) 0%, rgba(20,14,10,.82) 45%, rgba(20,14,10,.97) 100%),
    url('../img/demo-vista.jpg') center / cover,
    var(--ink-deep);
  color: var(--light-2);
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  overflow: hidden;
}
.people .wrap { gap: clamp(48px, 7vw, 80px); }
.people__intro { align-items: center; gap: 20px; text-align: center; }
.people__intro h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.08;
  color: var(--light); text-wrap: balance;
}
.people__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 3vw, 36px);
  max-width: 1100px; width: 100%; margin: 0 auto; align-items: start;
}
.person { display: flex; flex-direction: column; gap: 22px; }
.person__frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(214,178,106,.55), 0 0 0 7px rgba(20,14,10,.6), 0 0 0 8px rgba(214,178,106,.25);
}
.person__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.person__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,14,10,.95) 0%, rgba(20,14,10,.55) 28%, rgba(20,14,10,0) 55%);
}
.person__caption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  padding: 0 24px 24px; display: flex; flex-direction: column; gap: 8px;
}
.person__caption .num { font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--gold); }
.person__caption h3 { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 27px); font-weight: 600; line-height: 1.15; color: var(--light); }
.person__caption .label { color: var(--gold); }
.person > p { font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.45; color: var(--light-3); text-wrap: pretty; padding: 0 4px; }

/* ---------- Roadmap ---------- */
.roadmap .wrap { gap: 52px; }
.roadmap .split { gap: 32px 80px; }
.roadmap .lead strong { color: var(--gold); font-weight: 600; }
.roadmap__now { display: flex; align-items: center; gap: 14px; }
.roadmap__now .label { color: #C9BBA2; }
.now-tag {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold-dim); padding: 4px 10px;
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.now-tag span { font-family: var(--f-serif); font-size: 16px; line-height: 1; letter-spacing: 0; }
.phases {
  --pad: clamp(20px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px 0; list-style: none; margin: 0; padding: 0;
}
.phase { display: flex; flex-direction: column; gap: 14px; padding-right: var(--pad); }
.phase__marker { position: relative; height: 34px; display: flex; align-items: center; }
.phase__marker::before {
  content: ""; position: absolute; left: 0; right: calc(-1 * var(--pad)); top: 16px; height: 2px; background: var(--gold-dim);
}
.phase:last-child .phase__marker::before { right: 0; background: linear-gradient(90deg, var(--gold-dim), transparent); }
.phase__marker i { position: relative; width: 22px; height: 22px; background: var(--ink); border: 3px solid var(--gold-dim); }
.phase.is-current .phase__marker i { width: 34px; height: 34px; background: var(--red); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(214,178,106,.15); }
.phase__when { font-family: var(--f-display); font-size: clamp(16px, 1.6vw, 18px); font-weight: 600; letter-spacing: .12em; color: var(--gold); padding-top: 10px; }
.phase h3 { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.05; color: var(--light); }
.phase__rule { width: 48px; height: 2px; background: rgba(168,135,74,.6); margin: 4px 0; }
.phase.is-current .phase__rule { background: var(--red); }
.phase ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.phase li {
  display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: start;
  font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--light-3);
}
.phase li::before { content: ""; width: 14px; height: 1px; background: var(--gold-dim); margin-top: 15px; }

.nine {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px clamp(40px, 6vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 48px);
  background: linear-gradient(90deg, rgba(27,21,15,.92), rgba(27,21,15,.8)), url('../img/demo-vista-960.jpg') center / cover;
  border: 1px solid rgba(168,135,74,.35);
}
.nine__head { display: flex; align-items: center; gap: clamp(20px, 3vw, 32px); }
.nine__digit { font-family: var(--f-display); font-size: clamp(88px, 11vw, 140px); font-weight: 600; line-height: .9; color: var(--gold); }
.nine__head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.18; color: var(--light); text-wrap: balance; margin-top: 12px; }
.nine p { font-family: var(--f-serif); font-weight: 500; font-size: 21px; line-height: 1.5; color: var(--light-3); text-wrap: pretty; }
.nine p.motto { line-height: normal; font-style: italic; font-size: 22px; color: var(--gold); margin-top: 16px; }

/* ---------- Membership ---------- */
.membership .wrap { gap: 48px; }
.membership .split { gap: 24px 80px; }
.ask-get { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px clamp(40px, 6vw, 80px); align-items: start; }
.ask-get > div { gap: 14px; }
.ask-get p { font-family: var(--f-serif); font-weight: 500; font-size: 21px; line-height: 1.5; color: var(--text); text-wrap: pretty; }

.benefit {
  background: var(--card); border-top: 3px solid var(--red);
  padding: 26px 26px 28px;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline;
}
.benefit .numeral { font-size: 28px; }
.benefit h4 { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
.benefit p { font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--text); }
.benefit--dark { background: var(--ink); border-top-color: var(--gold); }
.benefit--dark .numeral { color: var(--gold); }
.benefit--dark h4 { color: var(--light); }
.benefit--dark p { color: var(--light-3); }
.membership .closing .statement { font-size: clamp(19px, 2.2vw, 26px); }

.structure { gap: 24px; padding-top: clamp(16px, 3vw, 32px); border-top: 2px solid var(--gold-dim); }
.structure .split { gap: 16px 80px; padding-top: 24px; }
.structure .split > .stack { gap: 14px; }
.bodies { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.bodies > div {
  box-sizing: content-box;
  flex: 1 1 140px; display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border: 1px solid var(--line); background: var(--card);
}
.bodies > div:first-child { border-color: var(--red); background: var(--red); }
.bodies strong { font-family: var(--f-sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.bodies span { font-family: var(--f-serif); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--text); }
.bodies > div:first-child strong, .bodies > div:first-child span { color: var(--light); }
.bodies > i { align-self: center; font-style: normal; font-family: var(--f-display); color: var(--label); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 14px clamp(12px, 2vw, 20px); text-align: left; vertical-align: top;
  font-family: var(--f-serif); font-weight: 500; font-size: 19px; line-height: 1.35; color: var(--text);
}
.compare-table tbody th, .compare-table tbody td { border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { width: 40%; color: var(--ink); font-weight: 600; }
.compare-table thead th {
  font-family: var(--f-sans); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.compare-table thead th:nth-child(1) { background: var(--panel); }
.compare-table thead th:nth-child(2) { background: var(--red); color: var(--light); }
.compare-table thead th:nth-child(3) { background: var(--ink); color: var(--gold); }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.doc {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(20px, 5vw, 30px);
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: clamp(16px, 4vw, 28px); align-items: stretch;
}
.doc__icon {
  position: relative; width: 84px; height: 108px; background: var(--ink);
  clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%);
  padding: 12px;
  font-family: var(--f-sans); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--gold);
}
.doc__icon::after { content: ""; position: absolute; top: 0; right: 0; width: 30%; height: 22%; background: #4A3D33; }
.doc__icon--red { background: var(--red); color: var(--light); }
.doc__icon--red::after { background: #B5584C; }
.doc__body { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.doc__title { font-family: var(--f-display); font-size: 23px; font-weight: 600; line-height: 1.2; }
.doc__desc { font-family: var(--f-serif); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--text); flex: 1; }
.doc__links { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; }
.doc__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex: 1 1 140px; min-width: 140px;
  padding: 12px 16px; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--f-sans); font-size: 14px; font-weight: 600;
}
.doc__links a:hover { background: var(--ink); color: var(--light); }
.doc__links a span:last-child { width: 16px; text-align: center; font-size: 15px; line-height: 1; }

.apply { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px; align-items: center; border-top: 2px solid var(--gold-dim); padding-top: 8px; }

/* ---------- Contact ---------- */
.contact {
  position: relative; background: var(--red); color: var(--light);
  padding: clamp(72px, 9vw, 112px) var(--gutter); overflow: hidden;
}
.contact icarus-pattern { position: absolute; inset: 0; pointer-events: none; }
.contact__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(140,43,34,.9) 0%, rgba(140,43,34,.55) 55%, rgba(140,43,34,0) 100%); }
.contact__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px 80px; align-items: end;
}
.contact__inner > div:first-child { gap: 18px; }
.contact .eyebrow { color: var(--sand); }
.contact h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; text-wrap: balance; }
.contact__links { display: flex; flex-direction: column; border-top: 1px solid rgba(247,241,228,.4); }
.contact__links a {
  display: grid; grid-template-columns: minmax(80px, 120px) minmax(0, 1fr); gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(247,241,228,.4); color: var(--light);
}
.contact__links a:hover { color: var(--sand); }
.contact__links .label { color: inherit; padding-top: 6px; }
.contact__links .value { font-family: var(--f-serif); font-size: clamp(20px, 5vw, 26px); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--line-2); padding: 56px var(--gutter) 36px; }
.site-footer .wrap { gap: 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand p { font-family: var(--f-serif); font-weight: 500; font-size: 19px; max-width: 360px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 32px; font-family: var(--f-sans); font-size: 14px; }
.site-footer nav a { color: var(--light-3); }
.site-footer nav a:hover, .site-footer__bottom a:hover { color: var(--gold); }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(168,135,74,.3);
  font-family: var(--f-sans); font-size: 14px; color: #B5A68E;
}
.site-footer__bottom .motto { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 19px; color: var(--line-2); }
.site-footer__bottom a { color: var(--line-2); }


/* Per-portrait crops carried over from the design */
.person__frame img.crop-popov { transform: scale(1.22); transform-origin: 50% 24%; }
.person__frame img.crop-palpurin { transform: scale(1.14); transform-origin: 62% 30%; }
