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

:root {
  --paper:       #faf7f0;
  --paper-2:     #f2ede0;
  --paper-3:     #e8e0cc;
  --ink:         #14100a;
  --ink-mid:     #3a2e1e;
  --ink-light:   #7a6a50;
  --ink-faint:   #c4b49a;
  --accent:      #1a5c2e;
  --accent-dim:  #e6f2ea;
  --accent-hover:#125122;
  --red:         #7a1a1a;
  --gold:        #8a6a1a;
  --rule:        #2a1f10;

  --serif:  'Playfair Display', Georgia, serif;
  --body:   'Source Serif 4', Georgia, serif;
  --fell:   'IM Fell English', Georgia, serif;
  --mono:   'IBM Plex Mono', monospace;

  --max-w: 1240px;
  --gap:   48px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.65;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.kicker {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 5px;
}

.kicker-red  { color: var(--red); }
.kicker-gold { color: var(--gold); }

.byline {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 12px;
  display: block;
}

.headline {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--ink);
}

.h-xl  { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-style: italic; }
.h-lg  { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.h-md  { font-size: 1.4rem; }
.h-sm  { font-size: 1.1rem; font-weight: 700; }
.h-xs  { font-size: .96rem; font-weight: 700; }

.body-text {
  font-size: .88rem;
  line-height: 1.78;
  color: var(--ink-mid);
}

.body-text + .body-text {
  margin-top: 10px;
}

.dropcap::first-letter {
  font-family: var(--fell);
  font-size: 3.6rem;
  line-height: .78;
  float: left;
  margin-right: 6px;
  margin-top: 5px;
  color: var(--ink);
}

.ornament {
  font-family: var(--fell);
  font-size: 1.2rem;
  color: var(--ink-faint);
  letter-spacing: .4em;
  text-align: center;
  padding: 12px 0;
  display: block;
}

.rule-single { border: none; border-top: 1px solid var(--ink-faint); margin: 16px 0; }
.rule-double { border: none; border-top: 3px double var(--rule);     margin: 20px 0; }
.rule-thick  { border: none; border-top: 3px solid var(--rule);      margin: 20px 0; }

.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 18px;
}

.sec-label::before,
.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink);
}

.sec-label span {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
}

.pull-quote {
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  margin: 18px 0;
  text-align: center;
}

.pull-quote p {
  font-family: var(--fell);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: 320px;
  margin: 0 auto;
}

.pull-quote cite {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 7px;
  display: block;
}

.stat-table { margin-top: 16px; }

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-faint);
}

.stat-row:last-child { border-bottom: none; }

.stat-lbl {
  font-family: var(--mono);
  font-size: .56rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-light);
}

.stat-val {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.stat-val sup {
  font-size: .55em;
  color: var(--accent);
}

.dates-timeline {
  position: relative;
  padding-left: 0;
  border-left: 2px solid var(--rule);
  margin: 12px 0 0 0;
  padding-left: 24px;
}

.date-item {
  padding: 12px 0 12px 0;
  border-bottom: 1px solid var(--ink-faint);
  position: relative;
}

.date-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
}

.date-item:last-child { border-bottom: none; }

.date-when {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.date-what {
  font-family: var(--serif);
  font-size: 1.0rem;
  font-weight: 700;
}

.apply-strip {
  background: var(--ink);
  padding: 64px var(--gap);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.apply-strip::before {
  content: 'APPLY';
  position: absolute;
  font-family: var(--serif);
  font-size: 18rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.apply-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.apply-kicker {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #8abf9a;
  margin-bottom: 16px;
  display: block;
}

.apply-headline {
  font-family: var(--fell);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 16px;
}

.apply-body {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(250,247,240,.45);
  max-width: 380px;
  margin: 0 auto 32px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(250,247,240,.35);
  color: var(--paper);
  padding: 13px 44px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  background: transparent;
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-outline-dim {
  border-color: rgba(250,247,240,.15);
  color: rgba(250,247,240,.4);
}

.btn-outline-dim:hover {
  background: rgba(250,247,240,.08);
  color: var(--paper);
  border-color: rgba(250,247,240,.35);
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-pill {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 7px 14px;
  border: 1px solid var(--ink-faint);
  transition: border-color .2s, color .2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.partner-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.partner-pill .tag {
  color: var(--accent);
  font-size: .5rem;
}

.masthead {
  border-top: 5px solid var(--rule);
}

.masthead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--gap);
  border-bottom: 1px solid var(--ink-faint);
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  flex-wrap: wrap;
  gap: 8px;
}

.masthead-center {
  padding: 16px var(--gap) 0;
  text-align: center;
}

.masthead-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 6px;
}

.masthead-divider span.line {
  flex: 1;
  height: 1px;
  background: var(--ink-faint);
  display: block;
  max-width: 200px;
}

.paper-name {
  font-family: var(--fell);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--ink);
}

.paper-name em {
  font-style: italic;
  color: var(--accent);
}

.paper-tagline {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin: 10px 0 0;
  padding-bottom: 16px;
}

nav {
  background: var(--ink);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

nav a {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250,247,240,.55);
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
  cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

nav a:last-child { border-right: none; }

nav a:hover,
nav a.active   { color: var(--paper); }

nav a.active   { background: rgba(255,255,255,.06); }

nav a.nav-cta  {
  background: var(--accent);
  color: var(--paper);
  font-weight: 500;
  border-right: none;
}

nav a.nav-cta:hover { background: var(--accent-hover); }

.page          { display: none; }
.page.active   { display: block; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  border-top: 3px double var(--rule);
  margin-top: 20px;
}

.hero-col {
  padding: 24px 26px;
  border-right: 1px solid var(--ink-faint);
}

.hero-col:last-child { border-right: none; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--rule);
}

.pillar {
  padding: 30px 26px;
  border-right: 1px solid var(--ink-faint);
  text-align: center;
}

.pillar:last-child { border-right: none; }

.pillar-num {
  font-family: var(--fell);
  font-size: 3rem;
  font-style: italic;
  color: var(--ink-faint);
  line-height: 1;
  margin-bottom: 10px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 10px;
}

.pillar p {
  font-size: .84rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule);
}

.mentor-card {
  padding: 20px 18px;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  transition: background .2s;
}

.mentor-card:hover { background: var(--paper-2); }
.mentor-card:nth-child(4n) { border-right: none; }

.mentor-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--ink-faint);
  overflow: hidden;
  margin-bottom: 12px;
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-name {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mentor-role {
  font-family: var(--mono);
  font-size: .53rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.45;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--rule);
}

.testimonial {
  padding: 28px 26px;
  border-right: 1px solid var(--ink-faint);
}

.testimonial:last-child { border-right: none; }

.testimonial blockquote {
  font-family: var(--fell);
  font-style: italic;
  font-size: 1.0rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--ink-faint);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--serif);
  font-size: .86rem;
  font-weight: 700;
}

.testimonial-title {
  font-family: var(--mono);
  font-size: .53rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.partners-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.media-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
}

.media-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-light);
  cursor: pointer;
  transition: color .2s;
}

.media-name:hover { color: var(--ink); }

.program-hero {
  background: var(--paper-2);
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--ink-faint);
  padding: 48px var(--gap);
  text-align: center;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 2px solid var(--rule);
}

.week-card {
  padding: 24px 16px;
  border-right: 1px solid var(--ink-faint);
  text-align: center;
}

.week-card:last-child { border-right: none; }

.week-num {
  font-family: var(--mono);
  font-size: .53rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
  display: block;
}

.week-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .25s, border-color .25s, color .25s;
}

.week-card:hover .week-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.week-title {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
}

.typical-week-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule);
}

.tw-card {
  padding: 26px 20px;
  border-right: 1px solid var(--ink-faint);
}

.tw-card:last-child { border-right: none; }

.tw-icon {
  font-family: var(--fell);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--ink-faint);
  margin-bottom: 10px;
  line-height: 1;
}

.tw-card h4 {
  font-family: var(--serif);
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tw-card p {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--ink-mid);
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--rule);
}

.benefits-table th {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--rule);
  border-right: 1px solid var(--ink-faint);
  background: var(--paper-2);
  vertical-align: top;
}

.benefits-table th:first-child { width: 42%; }
.benefits-table th:last-child  { border-right: none; }

.benefits-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--ink-faint);
  border-right: 1px solid var(--ink-faint);
  font-size: .86rem;
  color: var(--ink-mid);
  text-align: center;
  vertical-align: middle;
}

.benefits-table td:first-child {
  text-align: left;
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
}

.benefits-table td:last-child  { border-right: none; }
.benefits-table tr:last-child td { border-bottom: none; }

.check { color: var(--accent); font-size: 1.1rem; }
.dash  { color: var(--ink-faint); }

.tier-head {
  font-family: var(--serif);
  font-size: .96rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.tier-sub {
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

.team-page-hero {
  background: var(--paper-2);
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--ink-faint);
  padding: 48px var(--gap);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--rule);
}

.team-card {
  padding: 24px 20px;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  transition: background .2s;
}

.team-card:hover { background: var(--paper-2); }
.team-card:nth-child(4n) { border-right: none; }

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--ink-faint);
  overflow: hidden;
  margin-bottom: 14px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.team-role {
  font-family: var(--mono);
  font-size: .53rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.team-bio {
  font-size: .8rem;
  line-height: 1.65;
  color: var(--ink-mid);
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--rule);
}

.advisor-card {
  padding: 24px 20px;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .2s;
}

.advisor-card:hover { background: var(--paper-2); }
.advisor-card:nth-child(3n) { border-right: none; }

.advisor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--ink-faint);
  overflow: hidden;
  flex-shrink: 0;
}

.advisor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-name {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.advisor-role {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.advisor-bio {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ink-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-top: 3px double var(--rule);
}

.about-col {
  padding: 32px 28px;
  border-right: 1px solid var(--ink-faint);
}

.about-col:last-child { border-right: none; }

.cases-hero {
  background: var(--paper-2);
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--ink-faint);
  padding: 48px var(--gap);
  text-align: center;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.filter-btn {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--ink-faint);
  background: transparent;
  color: var(--ink-light);
  cursor: pointer;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--rule);
}

.project-card {
  padding: 24px 22px;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  transition: background .2s;
}

.project-card:hover { background: var(--paper-2); }
.project-card:nth-child(3n) { border-right: none; }
.project-card.hidden { display: none; }

.project-ticker {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.project-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-cat {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.project-desc {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 14px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ink-faint);
}

.project-batch {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.project-status {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
}

.status-live     { background: var(--accent-dim); color: var(--accent); }
.status-building { background: #eef2e6; color: #4a6a2d; }

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 52px;
  padding: 40px 0 80px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-nav h5 {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-faint);
}

.sidebar-nav ul { list-style: none; }
.sidebar-nav li { margin-bottom: 2px; }

.sidebar-nav a {
  font-size: .84rem;
  color: var(--ink-light);
  display: block;
  padding: 6px 10px;
  border-radius: 2px;
  transition: all .2s;
  cursor: pointer;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.sidebar-nav a.active { font-weight: 600; }

.doc-section {
  scroll-margin-top: 80px;
  margin-bottom: 64px;
}

.doc-section:last-child { margin-bottom: 0; }

.doc-section h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.doc-section h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.doc-section p {
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 14px;
}

.doc-section ul,
.doc-section ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.doc-section li {
  font-size: .88rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.doc-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  margin-bottom: 14px;
}

.doc-divider {
  height: 1px;
  background: var(--ink-faint);
  margin: 52px 0;
}

.batch-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--ink-faint);
  margin: 20px 0;
}

.bt-step {
  padding: 18px 14px;
  border-right: 1px solid var(--ink-faint);
  background: white;
}

.bt-step:last-child { border-right: none; }

.bt-week {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.bt-step h4 {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.bt-step p {
  font-size: .74rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0;
}

.faq-item { border-bottom: 1px solid var(--ink-faint); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  font-size: .9rem;
  gap: 16px;
  user-select: none;
}

.faq-q svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  font-size: .86rem;
  color: var(--ink-mid);
  line-height: 1.8;
  padding-bottom: 16px;
}

.checklist { list-style: none; padding-left: 0; }

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink-faint);
  font-size: .88rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.checklist li::before {
  content: '○';
  color: var(--ink-faint);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist li.done::before { content: '●'; color: var(--accent); }

footer {
  background: var(--ink);
  color: rgba(250,247,240,.55);
  border-top: 3px double var(--rule);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 36px;
}

.footer-brand .brand-name {
  font-family: var(--fell);
  font-size: 2.1rem;
  color: var(--paper);
  display: block;
  margin-bottom: 10px;
}

.footer-brand .brand-name em { color: #6abf7a; font-style: italic; }

.footer-brand p {
  font-size: .8rem;
  color: rgba(250,247,240,.3);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250,247,240,.25);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }

.footer-col a {
  font-size: .82rem;
  color: rgba(250,247,240,.38);
  cursor: pointer;
  transition: color .2s;
}

.footer-col a:hover { color: #6abf7a; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,247,240,.18);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,247,240,.3);
  cursor: pointer;
  transition: all .2s;
  font-size: .65rem;
  font-family: var(--mono);
}

.footer-social a:hover {
  border-color: #6abf7a;
  color: #6abf7a;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (max-width: 1100px) {
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-col           { border-right: none; border-bottom: 1px solid var(--ink-faint); }
  .hero-col:last-child{ border-bottom: none; }

  .mentors-grid       { grid-template-columns: repeat(2, 1fr); }
  .mentor-card:nth-child(4n)   { border-right: 1px solid var(--ink-faint); }
  .mentor-card:nth-child(2n)   { border-right: none; }

  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(4n)  { border-right: 1px solid var(--ink-faint); }
  .team-card:nth-child(2n)  { border-right: none; }

  .advisors-grid      { grid-template-columns: repeat(2, 1fr); }
  .advisor-card:nth-child(3n) { border-right: 1px solid var(--ink-faint); }
  .advisor-card:nth-child(2n) { border-right: none; }

  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .project-card:nth-child(3n) { border-right: 1px solid var(--ink-faint); }
  .project-card:nth-child(2n) { border-right: none; }

  .weeks-grid         { grid-template-columns: repeat(3, 1fr); }
  .week-card:nth-child(3n) { border-right: none; }

  .typical-week-grid  { grid-template-columns: repeat(2, 1fr); }
  .tw-card:nth-child(2n) { border-right: none; }
  .tw-card:nth-child(odd):not(:last-child) { border-right: 1px solid var(--ink-faint); }

  .testimonials-grid  { grid-template-columns: 1fr; }
  .testimonial        { border-right: none; border-bottom: 1px solid var(--ink-faint); }

  .pillars-grid       { grid-template-columns: 1fr; }
  .pillar             { border-right: none; border-bottom: 1px solid var(--ink-faint); }

  .about-grid         { grid-template-columns: 1fr; }
  .about-col          { border-right: none; border-bottom: 1px solid var(--ink-faint); }

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

  .docs-layout        { grid-template-columns: 1fr; gap: 0; }
  .docs-sidebar       { position: static; margin-bottom: 32px; }

  .batch-timeline     { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --gap: 20px; }

  .masthead-meta      { font-size: .5rem; flex-direction: column; align-items: flex-start; gap: 4px; }

  nav                 { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  nav a               { flex-shrink: 0; }

  .weeks-grid         { grid-template-columns: repeat(2, 1fr); }
  .week-card:nth-child(3n) { border-right: 1px solid var(--ink-faint); }
  .week-card:nth-child(2n) { border-right: none; }

  .mentors-grid       { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid     { grid-template-columns: 1fr; }
  .project-card:nth-child(2n) { border-right: none; }
  .project-card       { border-right: none; }

  .footer-grid        { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; gap: 12px; text-align: center; }

  .batch-timeline     { grid-template-columns: 1fr; }
  .bt-step            { border-right: none; border-bottom: 1px solid var(--ink-faint); }

  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .advisors-grid      { grid-template-columns: 1fr; }
  .advisor-card:nth-child(2n) { border-right: none; }

  .form-row-2 { grid-template-columns: 1fr; }
  .modal-box  { padding: 28px 22px 36px; }
}

.btn-dark {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 44px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
  border: none;
}
.btn-dark:hover { background: var(--accent); }

#cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
  top: 0;
  left: 0;
}

#page-transition {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99990;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}
#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  text-align: center;
  animation: preloader-fade-in .6s ease;
}
@keyframes preloader-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.preloader-ornament {
  font-family: var(--fell);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 14px;
  animation: preloader-spin 3s linear infinite;
  display: inline-block;
}
@keyframes preloader-spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}
.preloader-name {
  font-family: var(--fell);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--paper);
  line-height: .9;
  margin-bottom: 22px;
}
.preloader-name em {
  font-style: italic;
  color: var(--accent);
}
.preloader-bar {
  width: 200px;
  height: 1px;
  background: rgba(250,247,240,.1);
  margin: 0 auto 16px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  animation: preloader-load 1.8s ease forwards;
}
@keyframes preloader-load {
  0%   { width: 0; }
  40%  { width: 45%; }
  70%  { width: 72%; }
  100% { width: 100%; }
}
.preloader-sub {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(250,247,240,.22);
}

#apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(20,16,10,.78);
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  backdrop-filter: blur(4px);
}
#apply-modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--paper);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--rule);
  padding: 40px 44px 48px;
  position: relative;
  animation: modal-slide-in .35s ease;
}
@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  padding: 6px;
  transition: color .2s;
  line-height: 0;
}
.modal-close:hover { color: var(--ink); }
.modal-close svg { width: 20px; height: 20px; }
.modal-header { margin-bottom: 28px; }
.modal-kicker {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.modal-title {
  font-family: var(--fell);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-style: italic;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--ink-light);
  margin: 0;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 16px; }
.form-group label {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: block;
  margin-bottom: 6px;
}
.form-group .req { color: var(--red); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--body);
  font-size: .88rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--ink-faint);
  padding: 10px 14px;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--ink); }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6a50' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--body);
  font-size: .84rem;
  color: var(--ink-mid);
  cursor: pointer;
  line-height: 1.5;
}
.check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .25s;
}
.form-submit:hover:not(:disabled) { background: var(--accent); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 14px;
}
.success-icon {
  font-family: var(--fell);
  font-size: 3rem;
  color: var(--accent);
  animation: preloader-spin 4s linear infinite;
  display: inline-block;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}
.form-success p {
  font-size: .88rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 380px;
  margin: 0;
}
.success-email {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .1em;
}
.footer-social a svg {
  width: 14px;
  height: 14px;
  display: block;
}

#cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: var(--paper);
  border-top: 3px solid var(--rule);
  border: 1px solid var(--ink-faint);
  border-top: 3px solid var(--rule);
  z-index: 99994;
  box-shadow: 0 8px 40px rgba(20,16,10,.18);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
}
#cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-inner { padding: 22px 22px 18px; }
.cookie-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-icon {
  font-family: var(--fell);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1;
}
.cookie-title {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.cookie-desc {
  font-size: .78rem;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 16px;
}
.cookie-toggles { margin-bottom: 16px; }
.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-faint);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-label {
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1px;
}
.cookie-row-sub {
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .08em;
  color: var(--ink-light);
  text-transform: uppercase;
}
.cookie-toggle.locked {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 8px;
}
.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--ink-faint);
  cursor: pointer;
  transition: background .25s;
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: white;
  transition: transform .25s;
}
.toggle-switch input:checked + .toggle-track { background: var(--accent); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(18px); }
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.cookie-btn {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 8px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .22s;
}
.cookie-btn-all {
  background: var(--ink);
  color: var(--paper);
}
.cookie-btn-all:hover { background: var(--accent); border-color: var(--accent); }
.cookie-btn-save { background: transparent; color: var(--ink); }
.cookie-btn-save:hover { background: var(--paper-2); }
.cookie-legal-links {
  text-align: center;
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.cookie-legal-links a {
  color: var(--ink-light);
  cursor: pointer;
  transition: color .2s;
}
.cookie-legal-links a:hover { color: var(--accent); }

#legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(20,16,10,.72);
  z-index: 99996;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(3px);
}
#legal-modal.open { opacity: 1; visibility: visible; }
.legal-box {
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  overflow-y: auto;
  border-top: 4px solid var(--rule);
  padding: 48px 52px 56px;
  position: relative;
  animation: modal-slide-in .3s ease;
}
.legal-close {
  position: sticky;
  top: 0;
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  padding: 6px;
  transition: color .2s;
  line-height: 0;
  z-index: 2;
  margin: -10px -10px 0 0;
}
.legal-close:hover { color: var(--ink); }
.legal-close svg { width: 20px; height: 20px; }
#legal-content h1 {
  font-family: var(--fell);
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.1;
}
#legal-content .legal-meta {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink-faint);
  display: block;
}
#legal-content h2 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 8px;
}
#legal-content p, #legal-content li {
  font-size: .86rem;
  line-height: 1.82;
  color: var(--ink-mid);
  margin-bottom: 10px;
}
#legal-content ul { padding-left: 20px; margin-bottom: 12px; }
#legal-content strong { color: var(--ink); }

@media (max-width: 768px) {
  #cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .legal-box { padding: 28px 22px 36px; }
}
