:root{
  --blue:#4361EE;
  --teal:#2FA6B0;
  --mint:#4BE0B0;
  --orange:#EE6C3B;
  --gold:#E7A93E;
  --indigo:#4F5FE0;
  --ink:#1B2340;
  --muted:#6B7280;
  --paper:#FCFCFB;
  --line:#E7E7E2;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins',sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle, #e9e9e4 1px, transparent 1px) 0 0/24px 24px,
    var(--paper);
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}

/* Page transitions */
@keyframes pageIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
body{animation:pageIn .45s ease;}
body.page-leaving{opacity:0;transform:translateY(-10px);transition:opacity .28s ease, transform .28s ease;}
@media (prefers-reduced-motion: reduce){
  body{animation:none;}
  body.page-leaving{transition:none;}
}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
h1,h2,h3{font-weight:700;line-height:1.15;}
.btn{
  display:inline-block;
  padding:14px 34px;
  border-radius:30px;
  font-weight:600;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-orange{background:var(--orange);color:#fff;box-shadow:0 8px 20px rgba(238,108,59,.35);}
.btn-mint{background:var(--mint);color:#12241d;box-shadow:0 8px 20px rgba(75,224,176,.35);}
.btn-outline{border:2px solid var(--mint);color:var(--teal);background:transparent;border-radius:30px;padding:10px 28px;font-size:14px;}
.eyebrow{color:var(--blue);font-weight:700;}

/* Header */
/* Reserve header height before it is injected, so the page doesn't jump */
#site-header{display:block;min-height:120px;}
header{
  position:sticky;top:0;z-index:100;
  min-height:120px;
  background:transparent;
  transition:transform .35s ease, background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
header.scrolled{
  background:rgba(252,252,251,.65);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 4px 20px rgba(0,0,0,.06);
}
header.header-hidden{transform:translateY(-140%);}
.nav{
  max-width:1180px;margin:0 auto;padding:22px 32px;
  display:flex;align-items:flex-start;justify-content:space-between;
}
.logo-block{display:flex;align-items:center;}
.header-logo{height:92px;width:auto;}
.logo-sub{display:flex;align-items:flex-end;gap:4px;margin-left:6px;margin-top:-6px;}
.logo-sub .by{font-family:'Caveat',cursive;font-weight:600;font-size:22px;color:#000;line-height:1;transform:rotate(-6deg);}
.logo-sub .brand{font-family:'Playfair Display',serif;line-height:1.1;color:#000;}
.logo-sub .brand span{display:block;}
.logo-sub .brand .top{font-size:12px;font-style:italic;font-weight:500;}
.logo-sub .brand .bottom{font-size:13px;font-weight:700;letter-spacing:.08em;font-style:normal;}
nav.links{display:flex;align-items:flex-end;filter:drop-shadow(0 8px 16px rgba(20,60,70,.14));}
nav.links a{
  background:var(--teal);
  color:#fff;
  padding:12px 30px;
  border:2.5px solid #fff;
  border-bottom:none;
  border-radius:22px 22px 0 0;
  font-size:16px;
  font-weight:700;
  text-align:center;
}
nav.links a:not(:first-child){margin-left:-20px;padding-left:50px;}
nav.links a:hover{background:#2E9CA6;}
nav.links a:nth-child(1){z-index:5;}
nav.links a:nth-child(2){z-index:4;}
nav.links a:nth-child(3){z-index:3;}
nav.links a:nth-child(4){z-index:2;}
nav.links a:nth-child(5){z-index:1;}
/* Hamburger (mobile only) */
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:10px 6px;}
.nav-toggle span{display:block;width:26px;height:3px;border-radius:2px;background:var(--ink);transition:transform .25s ease, opacity .2s ease;}
header.nav-open .nav-toggle span:nth-child(1){transform:translateY(8px) rotate(45deg);}
header.nav-open .nav-toggle span:nth-child(2){opacity:0;}
header.nav-open .nav-toggle span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* Hero */
.hero{
  max-width:1180px;margin:0 auto;padding:80px 32px 60px;
  display:flex;justify-content:space-between;align-items:flex-start;
  position:relative;
}
.hero h1{
  font-size:82px;color:var(--blue);
  text-transform:uppercase;
  max-width:820px;
  letter-spacing:-.01em;
}
.hero h1 .hero-rocket{height:82px;width:auto;display:inline-block;vertical-align:-18px;margin-left:10px;}
.hero p.sub{margin-top:22px;font-size:24px;color:var(--ink);font-weight:600;}

section{padding:70px 0;}
.section-title{font-size:48px;color:var(--blue);max-width:520px;}

/* Write your prologue */
.split{
  display:flex;gap:60px;align-items:flex-start;flex-wrap:wrap;
}
.split .section-title{flex:1;min-width:260px;}
.split .copy{flex:1.4;min-width:320px;}
.split .copy p{color:#000;font-size:15px;line-height:1.8;margin-bottom:24px;}

/* Offerings */
.tabs{
  display:flex;gap:8px;margin-top:36px;align-items:flex-end;position:relative;z-index:2;
}
.tabs button{
  flex:1;border:none;padding:16px;font-family:inherit;font-size:15px;font-weight:600;
  cursor:pointer;background:var(--blue);color:#fff;
  border-radius:14px 14px 0 0;transition:background .2s ease,color .2s ease;
}
.tabs button.active{background:#EFEFEA;color:var(--blue);}
.offer-panel{
  background:#EFEFEA;border-radius:18px;
  box-shadow:0 20px 50px rgba(30,40,80,.08);
  overflow:hidden;padding:26px;margin-top:-2px;
}
.tab-content{display:none;}
.tab-content.active{display:block;}

.offer-media{
  position:relative;min-height:300px;border-radius:14px;overflow:hidden;
  background-size:cover;background-position:center;
  display:flex;align-items:center;
}
.offer-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(20,40,90,.55),rgba(8,14,40,.55));
}
.offer-media p{
  position:relative;z-index:1;color:#fff;font-size:26px;font-weight:700;
  max-width:560px;padding:0 40px;line-height:1.45;
}
.offer-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px;
}
.offer-cards .card{
  padding:26px 22px;color:#fff;border-radius:14px;min-height:220px;
}
.offer-cards .card h3{font-size:26px;margin-bottom:10px;font-weight:700;}
.offer-cards .card .rule{border:none;border-top:1.5px dashed rgba(255,255,255,.6);margin:0 0 18px;}
.offer-cards .card p{font-size:13px;line-height:1.7;font-weight:600;font-style:italic;}
.offer-cards .card:nth-child(1){background:var(--blue);}
.offer-cards .card:nth-child(2){background:#2FB0D6;}
.offer-cards .card:nth-child(3){background:var(--teal);}
.offer-cta{padding-top:20px;text-align:center;}
.offer-cta .btn-mint{width:100%;}

/* Education & Mentorship text panels */
.offer-lead{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:14px 6px 26px;}
.offer-lead p{font-size:19px;font-weight:700;color:#000;line-height:1.5;max-width:640px;}
.offer-lead .trophy{flex-shrink:0;width:110px;height:110px;}
.offer-still{width:100%;height:420px;object-fit:cover;border-radius:14px;display:block;}
.offer-text-only{padding:24px 6px 24px;}
.offer-text-only p{font-size:19px;font-weight:700;color:#000;line-height:1.6;margin-bottom:26px;max-width:760px;}
.offer-text-only p.link{color:var(--blue);}
.mentors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:8px;}
.mentor-card .photo{aspect-ratio:1/1;background:var(--gold);border-radius:4px;overflow:hidden;}
.mentor-card .photo img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block;}
.mentor-card .name{margin-top:12px;font-size:15px;font-weight:700;text-align:center;color:var(--ink);}

/* Ensuring scale grid */
.scale-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-radius:16px;overflow:hidden;
  box-shadow:0 20px 50px rgba(30,40,80,.08);
}
.scale-grid .cell{
  position:relative;
  padding:300px 28px 44px;color:#fff;min-height:580px;
  display:flex;flex-direction:column;justify-content:flex-start;
}
.scale-grid .cell .dash{
  position:absolute;right:0;width:150px;height:3px;
  background:rgba(255,255,255,.95);border-radius:2px;
}
.scale-grid .cell:nth-child(1) .dash{top:250px;}
.scale-grid .cell:nth-child(2) .dash{top:218px;}
.scale-grid .cell:nth-child(3) .dash{top:186px;}
.scale-grid .cell:nth-child(4) .dash{top:154px;}
.scale-grid .cell h3{font-size:23px;margin-bottom:28px;line-height:1.25;font-weight:700;}
.scale-grid .cell p{font-size:14px;line-height:1.7;font-weight:400;}
.scale-grid .cell:nth-child(1){background:var(--orange);}
.scale-grid .cell:nth-child(2){background:var(--blue);}
.scale-grid .cell:nth-child(3){background:var(--gold);}
.scale-grid .cell:nth-child(4){background:var(--mint);}

/* Testimonials */
.testi{
  background:#F1F1EC;border-radius:16px;
  display:flex;align-items:center;gap:48px;
  padding:56px 60px;
}
.testi .content{flex:0 0 360px;max-width:360px;}
.testi h4{font-size:22px;font-weight:700;}
.testi .role{color:#000;font-size:16px;margin:4px 0 28px;}
.testi p.quote{font-size:15px;color:#333;line-height:1.75;}
.testi .avatar{
  flex:1;height:300px;border-radius:6px;
  background:#D9D9D3 center/cover no-repeat;
}
.testi .nav-arrow{
  width:78px;height:78px;border-radius:50%;background:var(--teal);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:36px;flex-shrink:0;cursor:pointer;border:none;padding:0;
  box-shadow:0 10px 24px rgba(63,183,194,.35);line-height:1;
}
.testi .nav-arrow span, .testi .nav-arrow{align-self:center;}
.testi .nav-arrow:hover{background:#2E9CA6;}
.testi .nav-arrow.prev{order:-1;}
.testi.at-start .nav-arrow.prev{display:none;}
.testi.at-end .nav-arrow.next{display:none;}

/* Articles */
.articles-row{display:flex;gap:24px;overflow-x:auto;padding-bottom:10px;}
.article-card{
  flex:0 0 300px;
  border:2px solid var(--mint);
  border-radius:16px;
  padding:16px;
}
.article-card .thumb{
  background:#D9D9D3;border-radius:10px;height:170px;margin-bottom:16px;
}
.article-card h4{font-size:15px;line-height:1.4;margin-bottom:8px;}
.article-card .caption{font-size:12px;color:var(--muted);margin-bottom:16px;}
.dots{display:flex;gap:8px;justify-content:center;margin-top:24px;}
.dots span{width:8px;height:8px;border-radius:50%;background:var(--line);}
.dots span.active{background:var(--teal);}

/* CTA */
.cta{
  display:flex;justify-content:space-between;align-items:center;
  gap:40px;flex-wrap:wrap;
}
.cta h2{color:var(--gold);font-size:46px;max-width:440px;}
.cta .right{max-width:400px;}
.cta .right p{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:20px;}

/* Footer */
footer{background:var(--gold);color:#fff;padding:56px 0;}
.foot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;}
.foot-grid h5{font-size:14px;text-transform:uppercase;letter-spacing:.05em;padding-bottom:10px;border-bottom:2px solid rgba(255,255,255,.6);margin-bottom:16px;}
.foot-grid p, .foot-grid a{font-size:13px;line-height:2;color:rgba(255,255,255,.92);display:block;}

.foot-bottom{
  position:relative;
  color:#fff;padding:82px 0 46px;
  overflow:hidden;
}
.foot-bottom video, .foot-bottom .fallback-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(60%);
}
.foot-bottom::before{
  content:"";position:absolute;inset:0;background:rgba(8,10,20,.82);
}
.foot-bottom .inner{position:relative;z-index:1;text-align:center;}
.foot-bottom .big-logo{width:min(552px,85%);height:auto;margin:0 auto 32px;}
.foot-bottom .divider{width:60%;max-width:500px;height:1px;background:var(--blue);margin:0 auto 20px;}
.foot-bottom .meta{font-size:12px;color:rgba(255,255,255,.7);margin-bottom:10px;}
.foot-bottom .legal{display:flex;justify-content:center;gap:24px;font-size:12px;color:rgba(255,255,255,.85);}

/* ===================== Responsive ===================== */
@media(max-width:900px){
  /* Header → hamburger menu */
  #site-header{min-height:92px;}
  header{min-height:92px;}
  .nav{padding:16px 20px;align-items:center;}
  .header-logo{height:62px;}
  .nav-toggle{display:flex;}
  nav.links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;filter:none;
    background:rgba(252,252,251,.98);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    box-shadow:0 14px 30px rgba(0,0,0,.12);padding:6px 20px 14px;
  }
  header.nav-open nav.links{display:flex;}
  nav.links a{
    background:transparent;color:var(--ink);border:none;border-radius:0;
    border-bottom:1px solid var(--line);margin:0;padding:16px 4px;
    font-size:17px;text-align:left;box-shadow:none;
  }
  nav.links a:not(:first-child){margin-left:0;padding-left:4px;}
  nav.links a:last-child{border-bottom:none;}
  nav.links a:hover{background:rgba(0,0,0,.03);}

  /* Layout & type */
  .wrap{padding:0 22px;}
  section{padding:48px 0;}
  .hero{flex-direction:column;gap:20px;padding:48px 22px 40px;}
  .hero h1{font-size:44px;}
  .hero h1 .hero-rocket{height:56px;vertical-align:-12px;margin-left:6px;}
  .hero p.sub{font-size:19px;}
  .section-title{font-size:36px;}
  .split{gap:24px;}

  /* Offerings */
  .tabs{gap:5px;}
  .tabs button{font-size:12px;padding:14px 6px;}
  .offer-panel{padding:18px;}
  .offer-media{min-height:220px;}
  .offer-media p{font-size:20px;padding:0 24px;}
  .offer-cards{grid-template-columns:1fr;}
  .mentors-grid{grid-template-columns:repeat(2,1fr);}

  /* Scale grid */
  .scale-grid{grid-template-columns:repeat(2,1fr);}
  .scale-grid .cell{padding:170px 22px 32px;min-height:0;}
  .scale-grid .cell .dash{width:110px;}
  .scale-grid .cell:nth-child(1) .dash{top:140px;}
  .scale-grid .cell:nth-child(2) .dash{top:122px;}
  .scale-grid .cell:nth-child(3) .dash{top:104px;}
  .scale-grid .cell:nth-child(4) .dash{top:86px;}

  /* Testimonials */
  .testi{flex-wrap:wrap;justify-content:center;gap:20px;padding:30px 24px;}
  .testi .avatar{flex:1 1 100%;order:1;height:220px;}
  .testi .content{flex:1 1 100%;order:2;max-width:none;}
  .testi .nav-arrow{order:3;width:56px;height:56px;font-size:28px;}
  .testi .nav-arrow.prev{order:3;}

  /* CTA */
  .cta{flex-direction:column;align-items:flex-start;gap:18px;}
  .cta h2{font-size:36px;}

  /* Footer */
  .foot-grid{grid-template-columns:1fr;text-align:center;gap:28px;}
  .foot-grid h5{border-bottom:none;}
  .foot-bottom{padding:56px 0 36px;}
}

@media(max-width:600px){
  .wrap{padding:0 18px;}
  .header-logo{height:54px;}
  .hero h1{font-size:34px;}
  .hero p.sub{font-size:17px;}
  .section-title{font-size:28px;}
  .cta h2{font-size:28px;}
  .scale-grid{grid-template-columns:1fr;}
  .scale-grid .cell{padding:34px 24px;min-height:0;}
  .scale-grid .cell .dash{display:none;}
  .offer-cards .card{min-height:0;}
  .btn{padding:13px 26px;font-size:14px;}
}
