:root {
  --bg: #0F0D0B;
  --bg-elevated: #18140F;
  --bg-warm: #1F1A14;
  --ink: #EDE6D8;
  --ink-dim: #9F9684;
  --ink-quiet: #6A6151;
  --accent: #B86F2F;
  --accent-soft: #C88248;
  --rule: #2A241D;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
}

/* Subtle film grain over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.93 0 0 0 0 0.90 0 0 0 0 0.84 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/></svg>");
  z-index: 100;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* Navigation */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 13, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
nav.top.scrolled { border-bottom-color: var(--rule); }
nav.top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
nav .mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 12, "SOFT" 50;
}
nav .mark span { color: var(--accent); }
nav .links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
nav .links a { transition: color .25s ease; }
nav .links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  nav .links { display: none; }
}

/* Hero */
section.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-topo {
  position: absolute;
  right: -8%;
  top: 0;
  width: 70%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 36px;
  animation: fadeUp .8s ease .1s both;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}
h1.headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(58px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 38px;
  animation: fadeUp 1s ease .25s both;
}
h1.headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ink);
}
h1.headline .dot { color: var(--accent); }

.subhead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 640px;
  margin-bottom: 48px;
  animation: fadeUp 1s ease .45s both;
}
.subhead strong { color: var(--ink); font-weight: 500; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  animation: fadeUp 1s ease .65s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: var(--accent);
  color: #14100A;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .25s ease, background .25s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-dim);
  padding: 18px 8px;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
  transition: color .25s ease;
}
.btn-ghost:hover { color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

section.block { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 14ch;
  font-variation-settings: "opsz" 80, "SOFT" 50;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 80, "SOFT" 100;
}

.recog {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.recog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .recog-grid { grid-template-columns: 1fr; } }

.recog-list { list-style: none; }
.recog-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  align-items: baseline;
}
.recog-list li:last-child { border-bottom: none; }
.recog-list .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  padding-top: 4px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
}
.story-text { max-width: 560px; }
.story-text p {
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 22px;
}
.story-text p strong, .story-text p b { color: var(--ink); font-weight: 500; }
.story-text p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4.2em;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  padding: 28px 0 28px 28px;
  border-left: 2px solid var(--accent);
  margin: 30px 0;
  font-variation-settings: "opsz" 30, "SOFT" 100;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  background: var(--bg-elevated);
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
@media (max-width: 880px) { .portrait-frame { justify-self: start; } }
.portrait-frame svg { width: 100%; height: 100%; display: block; }
.portrait-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 50%;
}
.portrait-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.method { background: var(--bg-elevated); }
.method-intro {
  max-width: 680px;
  font-family: var(--display);
  font-size: clamp(20px, 1.6vw, 26px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-dim);
  margin: 36px 0 80px;
  font-variation-settings: "opsz" 30, "SOFT" 100;
}
.movements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
}
@media (max-width: 880px) { .movements { grid-template-columns: 1fr; } }

.movement {
  padding: 36px 0 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.movement-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  color: var(--accent);
}
.movement-num {
  position: absolute;
  top: 16px;
  right: 0;
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-quiet);
  font-size: 14px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}
.movement h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 60, "SOFT" 30;
}
.movement p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.cohort {
  border-top: 1px solid var(--rule);
}
.cohort-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 880px) { .cohort-head { grid-template-columns: 1fr; } }
.cohort-stats {
  display: flex;
  gap: clamp(24px, 4vw, 50px);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.9;
  color: var(--ink);
  font-variation-settings: "opsz" 80, "SOFT" 30;
  letter-spacing: -0.02em;
}
.stat .num .small {
  font-size: 0.45em;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "opsz" 30, "SOFT" 100;
}
.stat .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.cohort-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 720px) { .cohort-cols { grid-template-columns: 1fr; } }
.cohort-col h4 {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 18, "SOFT" 100;
  letter-spacing: 0;
}
.cohort-col ul { list-style: none; }
.cohort-col li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}
.cohort-col li:last-child { border-bottom: 1px solid var(--rule); }
.cohort-col li::before {
  content: '—';
  color: var(--accent);
  font-family: var(--display);
}

.cohort-note {
  margin-top: 60px;
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--bg-warm);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--ink-dim);
  font-variation-settings: "opsz" 30, "SOFT" 100;
}
.cohort-note strong { color: var(--ink); font-weight: 400; }

.apply {
  background: var(--bg-elevated);
  border-top: 1px solid var(--rule);
}
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .apply-grid { grid-template-columns: 1fr; } }

.apply-intro p {
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--ink-dim);
  margin-top: 28px;
}
.apply-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
  line-height: 1.8;
}
.apply-meta strong {
  display: block;
  color: var(--accent);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 18, "SOFT" 100;
  margin-bottom: 4px;
  font-size: 16px;
}
.apply-meta a:hover { color: var(--ink); }
.direct-links {
  margin-top: 14px;
}
.whatsapp-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.whatsapp-capsule:hover {
  background: var(--accent);
  color: #14100A;
  transform: translateY(-1px);
}

form.apply-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.field label .req { color: var(--accent); }
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color .25s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 100px; }
form.apply-form button {
  align-self: flex-start;
  margin-top: 12px;
}

footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-quiet);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-dim);
  font-variation-settings: "opsz" 18, "SOFT" 100;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
