@font-face {
  font-family: "BDO Grotesk";
  src: url("./fonts/BDOGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("./fonts/BDOGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --mint: #eff9f1;
  --green: #5fbf75;
  --green-dark: #3a8449;
  --ink: #14170f;
  --gray: #6f7570;
  --dark: #171a16;
  --dark-card: #21251e;
  --white: #ffffff;
  --border: rgba(20, 23, 15, 0.1);
  --border-dark: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "BDO Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "BDO Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

p { margin: 0; line-height: 1.5; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  background: var(--mint);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { position: relative; display: inline-block; }
.logo img { height: 22px; width: auto; }
.logo .logo-hover { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.2s ease; }
.logo:hover .logo-hover { opacity: 1; }
.main-nav {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 15px;
  color: var(--ink);
}
.main-nav a:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-size: 13px;
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--gray);
}
.lang-switch a.active { background: var(--ink); color: var(--white); }
.lang-switch a:not(.active):hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #06210c; }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: #000 url("./images/eXOkxzR5BTsSH7umZkcbIN59TA.webp") center center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 110px 32px 90px;
}
.hero .eyebrow {
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { font-size: 64px; margin-bottom: 6px; }
.hero p.lede {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
}
.hero p.lede + p.lede { margin-top: 18px; }
.hero .btn-primary { margin-top: 36px; padding: 16px 32px; font-size: 16px; }
.hero .taglines {
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

/* Stats */
.stats-section { padding: 90px 32px; text-align: center; }
.stats-section h2:not(.section-label):not(.cohort-label) { font-size: 40px; max-width: 820px; margin: 0 auto 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
  max-width: 980px;
  margin: 0 auto;
}
.stat .num { font-size: 48px; font-weight: 500; }
.stat .label { color: var(--gray); font-size: 16px; margin-top: 8px; }

/* Mint section modifier (applies to stats-section/team-section instances) */
.mint-section { background: var(--mint); }

/* Dark section wrapper */
.dark-section { background: var(--dark); color: var(--white); padding: 90px 32px; }
.dark-section h2 { font-size: 40px; margin-bottom: 16px; }
.dark-section .sub { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 640px; }

/* Light section wrapper (dark-section's white-background counterpart) */
.beast-section { background: var(--white); color: var(--ink); padding: 90px 32px; }
.beast-section h2 { font-size: 40px; margin-bottom: 16px; }
.beast-section .sub { color: var(--gray); font-size: 17px; max-width: 640px; }

.video-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  margin-top: 40px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  min-width: 0;
}
.gallery-grid img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.gallery-row-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-width: 0;
}
.gallery-row-bottom img { aspect-ratio: 1 / 1; }

/* Beast mode section */
.criteria-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.criteria-list li { display: flex; gap: 12px; font-size: 16px; color: var(--gray); }
.criteria-list b { color: var(--ink); font-weight: 500; }
.criteria-list .dot { color: var(--green-dark); flex-shrink: 0; }

.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.fit-card { border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.fit-columns h3 { font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.fit-columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fit-columns li { font-size: 15px; color: var(--gray); padding-left: 22px; position: relative; }
.fit-columns li::before { content: "•"; position: absolute; left: 0; color: var(--green-dark); }

.domain-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.domain-tag {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--mint);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 500;
}

/* Cards grid (What You Gain / What Makes Different) */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid rgba(95, 191, 117, 0.35); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.card-dark { background: var(--dark-card); border: 1px solid var(--border-dark); border-radius: 14px; padding: 32px; }
.card h3, .card-dark h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px; }
.card p, .card-dark p { color: var(--gray); font-size: 15px; }
.card-dark p { color: rgba(255,255,255,0.7); }
.card .tag { color: var(--green-dark); font-size: 36px; font-weight: 500; margin-bottom: 12px; }

/* Program phases */
.phase-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; margin-top: 48px; text-align: left; }
.phase-photo-wrap { border-radius: 14px; overflow: hidden; }
.phase-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.phase-list { display: flex; flex-direction: column; }
.phase { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--border); align-items: center; }
.phase:last-child { border-bottom: 1px solid var(--border); }
.phase .tag { color: var(--green-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.phase h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.phase .duration { color: var(--gray); font-size: 14px; }
.phase p { color: var(--gray); font-size: 15px; margin: 0; }

/* Who Should Attend & Program Fees */
.attend-fees-layout { text-align: left; margin-top: 40px; }
.fee-rows { display: flex; flex-direction: column; margin-top: 20px; }
.fee-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--border); align-items: center; }
.fee-row:last-child { border-bottom: 1px solid var(--border); }
.fee-row h4 { font-size: 18px; font-weight: 500; margin: 0; }
.fee-row p { color: var(--gray); font-size: 15px; margin: 0; }

/* FAQ */
.faq-list { margin-top: 40px; display: grid; gap: 0; text-align: left; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item .q { font-size: 17px; font-weight: 500; }
.faq-item .icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-item .icon::before, .faq-item .icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-item .icon::before { width: 14px; height: 2px; }
.faq-item .icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item[open] .icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item .a { color: var(--gray); font-size: 15px; padding: 0 0 22px; }

/* Team */
.team-section { padding: 90px 32px; text-align: center; }
.team-section h2 { font-size: 40px; }
.team-section .sub { color: var(--gray); font-size: 17px; max-width: 640px; margin: 16px auto 0; }
.section-label { color: var(--green-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.team-card { position: relative; display: block; color: inherit; text-decoration: none; }
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.team-card .name { margin-top: 14px; font-size: 18px; font-weight: 500; }
.team-card .role { color: var(--gray); font-size: 14px; margin-top: 2px; }
.team-card:hover .name { color: var(--green-dark); }
.team-card .linkedin-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 23, 15, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.team-card .linkedin-icon svg { width: 16px; height: 16px; fill: var(--white); }
.team-card:hover .linkedin-icon { opacity: 1; transform: translateY(0); }

/* Alumni logos grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.logo-card {
  border: 1px solid rgba(95, 191, 117, 0.35);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
a.logo-card:hover { border-color: var(--green-dark); }
.mint-section .logo-card { border-color: var(--green-dark); }
.mint-section a.logo-card:hover { border-color: var(--ink); }
.logo-card img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: var(--dark);
  padding: 10px 14px;
  border-radius: 6px;
  box-sizing: border-box;
}
.logo-card .cname { font-size: 15px; font-weight: 500; }
.logo-card .ctag { font-size: 13px; color: var(--green-dark); font-weight: 500; }
.cohort-label { font-size: 22px; font-weight: 500; margin: 56px 0 0; }
.cohort-label:first-of-type { margin-top: 40px; }

/* Partner logos */
.partner-logos { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 40px; }
.partner-logos img { height: 46px; width: auto; }

/* CTA band */
.cta-band { background: var(--mint); padding: 70px 32px; text-align: center; }
.cta-band h2 { font-size: 34px; }
.cta-band .residency { color: var(--green-dark); font-size: 15px; margin: 14px 0 26px; }

/* CTA band green modifier (Pre-register for Cohort 3) */
.cta-band-green { background: #5fbf75; color: #3a3f39; padding: 44px 32px; }
.cta-band-green h2 { font-size: 28px; }
.cta-band-green .residency { color: #3a3f39; margin: 10px 0 20px; }
.cta-band-green .btn-primary { background: var(--white); color: var(--green-dark); }
.cta-band-green .btn-primary:hover { background: var(--green-dark); color: var(--white); }

/* Footer */
.site-footer { background: var(--dark); color: var(--white); padding: 60px 32px 32px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; margin-bottom: 8px; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Page hero (non-home pages) */
.page-hero { padding: 70px 32px 40px; text-align: center; }
.page-hero .section-label { text-align: center; }
.page-hero h1 { font-size: 46px; }
.page-hero p { color: var(--gray); font-size: 17px; max-width: 640px; margin: 16px auto 0; }

/* Alumni page hero photo */
.alumni-hero {
  background: linear-gradient(rgba(10,20,14,0.55), rgba(10,20,14,0.68)), url("./images/pXbtxjGYFY7zHiKwQMCrr6eKI-hero.jpg") center / cover no-repeat;
  aspect-ratio: 1800 / 1198;
  padding: 18% 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.alumni-hero h1 { color: var(--green); }
.alumni-hero p { color: rgba(255,255,255,0.85); }

/* Contact page hero photo */
.contact-hero {
  background: linear-gradient(rgba(10,20,14,0.5), rgba(10,20,14,0.6)), url("./images/RTrVWkgZ43S3fDzfMbiRpMdtWhE.png") center / cover no-repeat;
  aspect-ratio: 1536 / 1024;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-hero h1 { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.85); }

/* Contact form */
.contact-section { padding: 70px 32px 100px; background: var(--mint); }
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(95, 191, 117, 0.35);
  border-radius: 14px;
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--gray); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--green); }

/* Thank you */
.thankyou-section { padding: 140px 32px; text-align: center; }
.thankyou-section h1 { font-size: 46px; margin-bottom: 16px; }
.thankyou-section p { color: var(--gray); font-size: 17px; }

/* Legal */
.legal-section { padding: 60px 32px 100px; max-width: 760px; margin: 0 auto; }
.legal-section .updated { color: var(--gray); font-size: 14px; margin-bottom: 8px; }
.legal-section h1 { font-size: 34px; margin-bottom: 24px; }
.legal-section p { color: var(--ink); font-size: 16px; }

@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 20px; padding-bottom: 20px; }
  .nav-toggle { display: flex; order: 2; }
  .header-actions {
    display: none;
    order: 4;
    flex-basis: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .site-header nav { order: 3; flex-basis: 100%; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
  }
  .nav-open .main-nav,
  .nav-open .header-actions { display: flex; }
  .main-nav li { border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px 2px; font-size: 16px; }

  .stats-grid, .cards-grid, .fit-columns { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-row-bottom { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .phase-layout { grid-template-columns: 1fr; }
  .phase-photo-wrap { height: 220px; margin-bottom: 8px; }
  .phase { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .phase .duration { margin-bottom: 4px; }
  .fee-row { grid-template-columns: 1fr; gap: 4px; align-items: start; }
  .footer-grid { flex-direction: column; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .hero { padding: 70px 24px 60px; }
  .stats-section, .dark-section, .beast-section, .team-section { padding: 56px 24px; }
  .stats-section h2:not(.section-label):not(.cohort-label), .dark-section h2, .beast-section h2, .team-section h2 { font-size: 30px; }
  .page-hero { padding: 48px 24px 32px; }
  .page-hero h1 { font-size: 34px; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band-green { padding: 36px 24px; }
  .cta-band-green h2 { font-size: 24px; }
  .video-row { align-items: flex-start; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 32px; }
  .hero .eyebrow { font-size: 18px; }
  .stats-section h2:not(.section-label):not(.cohort-label), .dark-section h2, .beast-section h2, .team-section h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band-green h2 { font-size: 21px; }
  .team-grid, .logo-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
