/* ============================================================
   EGNITE — Design tokens
   Igniting Minds. Empowering Careers.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* color */
  --ink:        #16231F;
  --teal-900:   #0E2E2A;
  --teal-800:   #123832;
  --teal-700:   #1C4B43;
  --teal-500:   #2E6E62;
  --sage-100:   #E4EDE6;
  --sage-50:    #EFF4EF;
  --parchment:  #F7F3EA;
  --paper:      #FBF9F4;
  --gold-500:   #D8A44D;
  --gold-600:   #BE8A34;
  --gold-100:   #F3E3C2;
  --line:       rgba(22,35,31,0.12);
  --line-soft:  rgba(247,243,234,0.18);

  /* type */
  --f-display: 'Fraunces', serif;
  --f-body: 'Work Sans', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  /* layout */
  --maxw: 1180px;
  --radius: 14px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{
  font-family:var(--f-display);
  font-weight:600;
  line-height:1.08;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; }
.eyebrow{
  font-family:var(--f-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-600);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:18px; height:1.5px;
  background:var(--gold-500);
  display:inline-block;
}

:focus-visible{
  outline:2.5px solid var(--gold-600);
  outline-offset:3px;
}

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-dark{ background:var(--teal-800); color:var(--parchment); }
.section-sage{ background:var(--sage-50); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------------- Nav ---------------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(251,249,244,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  flex-wrap:nowrap;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--f-display); font-weight:700; font-size:21px;
  text-decoration:none; color:var(--ink);
  white-space:nowrap;
}
.brand-mark{ width:30px; height:30px; flex:none; object-fit:contain; }
.brand small{
  display:block; font-family:var(--f-mono); font-size:9.5px; font-weight:400;
  letter-spacing:.08em; text-transform:uppercase; color:var(--teal-500); margin-top:1px;
}
.nav-links{
  display:flex; align-items:center; gap:18px;
  list-style:none; margin:0; padding:0;
  font-size:13.5px; font-weight:500;
  flex-wrap:nowrap; white-space:nowrap;
}
.nav-links a{
  text-decoration:none; color:var(--ink); opacity:.78;
  padding:6px 0; border-bottom:1.5px solid transparent;
  transition:opacity .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  opacity:1; border-color:var(--gold-500);
}
.nav-cta{
  background:var(--teal-800); color:var(--parchment) !important;
  padding:9px 16px; border-radius:100px; font-size:13px; font-weight:600;
  border:none !important; white-space:nowrap;
}
.nav-cta:hover{ background:var(--gold-600); color:var(--ink) !important; }
.gk-messenger-btn{
  background:#1B5E20; color:#FFFFFF !important;
  padding:9px 16px; border-radius:100px; font-size:13px; font-weight:600;
  border:none !important; white-space:nowrap;
  transition:background .15s ease, color .15s ease;
}
.gk-messenger-btn:hover, .gk-messenger-btn:focus-visible{
  background:#E8720C; color:#FFFFFF !important;
}
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; flex-direction:column; gap:5px; width:34px; height:34px; align-items:center; justify-content:center; }
.nav-toggle-bar{
  display:block; width:22px; height:2px; background:var(--ink);
  transition:transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:1140px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; background:var(--paper);
    flex-direction:column; align-items:flex-start; padding:24px 28px; gap:18px;
    font-size:17px; transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto; z-index:99; box-shadow:-4px 0 24px rgba(0,0,0,.08);
    flex-wrap:wrap; white-space:normal;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:14px 26px; border-radius:100px;
  font-family:var(--f-body); font-weight:600; font-size:15px;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent;
  transition:transform .15s ease, background .15s ease, color .15s, border-color .15s;
}
.btn:hover{ transform:translateY(-1.5px); }
.btn-gold{ background:var(--gold-500); color:var(--teal-900); }
.btn-gold:hover{ background:var(--gold-600); }
.btn-outline{ background:transparent; border-color:currentColor; color:inherit; }
.btn-outline:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn-outline-light{ background:transparent; border-color:rgba(247,243,234,.5); color:var(--parchment); }
.btn-outline-light:hover{ background:var(--parchment); color:var(--teal-900); }
.btn-block{ width:100%; justify-content:center; }

/* ---------------- Hero spark path ---------------- */
.spark-path{ overflow:visible; }
.spark-path path{
  fill:none; stroke:var(--gold-500); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:1200; stroke-dashoffset:1200;
  transition:stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1);
}
.spark-path.lit path{ stroke-dashoffset:0; }
.spark-dot{
  fill:var(--gold-500);
  filter:drop-shadow(0 0 6px rgba(216,164,77,.8));
}

/* ---------------- Hero ---------------- */
.hero{
  padding:64px 0 40px;
  display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;
}
.hero h1{ font-size:clamp(34px,4.6vw,58px); }
.hero-lede{ font-size:18px; max-width:46ch; color:var(--teal-700); }
.hero-actions{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:32px; margin-top:44px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--f-mono); font-size:26px; color:var(--teal-800); }
.hero-stat span{ font-size:12.5px; color:var(--teal-500); text-transform:uppercase; letter-spacing:.06em; }
.hero-card{
  background:var(--teal-800); color:var(--parchment);
  border-radius:20px; padding:34px; position:relative; overflow:hidden;
}
.hero-card::after{
  content:""; position:absolute; inset:auto -40% -60% auto; width:280px; height:280px;
  background:radial-gradient(circle,rgba(216,164,77,.35),transparent 70%);
}
.kalam-row{ display:flex; gap:18px; align-items:flex-start; position:relative; z-index:1; }
.kalam-portrait{
  width:64px; height:64px; border-radius:50%; object-fit:cover; flex:none;
  border:2px solid var(--gold-500);
}
.kalam-row blockquote{ margin-bottom:8px; }
.hero-card blockquote{
  font-family:var(--f-display); font-size:21px; font-style:italic; margin:0 0 16px;
  position:relative; z-index:1;
}
.hero-card cite{ font-style:normal; font-size:13px; opacity:.75; }
@media (max-width:900px){
  .hero{ grid-template-columns:1fr; padding-top:36px; }
}

/* ---------------- Hero image slider ---------------- */
.hero-slider{
  position:relative; width:100%; height:min(64vh,560px); min-height:380px;
  overflow:hidden; background:var(--teal-900);
}
.hero-slider-track{ position:relative; width:100%; height:100%; }
.hero-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; visibility:hidden; transition:opacity 1s ease;
  display:flex; align-items:flex-end;
}
.hero-slide.is-active{ opacity:1; visibility:visible; }
.hero-slide-overlay{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(14,46,42,.88) 0%, rgba(14,46,42,.45) 55%, rgba(14,46,42,.15) 100%);
}
.hero-slide-content{
  position:relative; z-index:1; color:var(--parchment); padding-bottom:56px; max-width:640px;
}
.hero-slide-content .eyebrow{ color:var(--gold-500); }
.hero-slide-content h2{ font-size:clamp(26px,3.4vw,40px); margin:6px 0 10px; color:var(--parchment); }
.hero-slide-content p{ font-size:16px; color:rgba(247,243,234,.85); max-width:50ch; }
.hero-slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(247,243,234,.5);
  background:rgba(14,46,42,.35); color:var(--parchment); cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .2s,border-color .2s;
}
.hero-slider-arrow svg{ width:20px; height:20px; }
.hero-slider-arrow:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--teal-900); }
.hero-slider-arrow.prev{ left:20px; }
.hero-slider-arrow.next{ right:20px; }
.hero-slider-dots{
  position:absolute; z-index:2; bottom:20px; right:28px; display:flex; gap:9px;
}
.hero-slider-dots button{
  width:9px; height:9px; border-radius:50%; border:none; padding:0;
  background:rgba(247,243,234,.4); cursor:pointer; transition:background .2s,transform .2s;
}
.hero-slider-dots button.is-active{ background:var(--gold-500); transform:scale(1.25); }
@media (max-width:900px){
  .hero-slider{ height:52vh; min-height:320px; }
  .hero-slide-content{ padding-bottom:36px; }
  .hero-slider-arrow{ width:36px; height:36px; }
  .hero-slider-arrow.prev{ left:12px; }
  .hero-slider-arrow.next{ right:12px; }
}
@media (max-width:520px){
  .hero-slider-arrow{ display:none; }
}

/* ---------------- Full-width interior page hero image ---------------- */
.page-hero-image{
  position:relative; width:100%; height:56vh; min-height:360px; max-height:540px;
  background-size:cover; background-position:center;
  display:flex; align-items:flex-end;
}
.page-hero-image-overlay{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(14,46,42,.92) 0%, rgba(14,46,42,.55) 55%, rgba(14,46,42,.18) 100%);
}
.page-hero-image-content{
  position:relative; z-index:1; color:var(--parchment); padding:40px 0 52px;
}
.page-hero-image-content .eyebrow{ color:var(--gold-500); margin-bottom:10px; }
.page-hero-image-content h1{ color:var(--parchment); font-size:clamp(30px,4vw,46px); max-width:20ch; margin-bottom:.4em; }
.page-hero-image-content p{ color:rgba(247,243,234,.88); max-width:56ch; font-size:17px; margin:0; }
@media (max-width:900px){
  .page-hero-image{ height:48vh; min-height:320px; }
}
@media (max-width:520px){
  .page-hero-image{ height:52vh; min-height:340px; }
  .page-hero-image-content{ padding:28px 0 32px; }
}

/* ---------------- Video embed (lite YouTube) ---------------- */
.video-embed{
  position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--radius);
  overflow:hidden; cursor:pointer; background:var(--teal-900);
  border:1px solid var(--line);
}
.video-embed-thumb{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;
}
.video-embed:hover .video-embed-thumb{ transform:scale(1.03); }
.video-embed::after{
  content:""; position:absolute; inset:0; background:rgba(14,46,42,.25);
}
.video-embed-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:1;
  width:72px; height:72px; border-radius:50%; background:var(--gold-500);
  display:flex; align-items:center; justify-content:center; color:var(--teal-900);
  transition:background .2s,transform .2s;
}
.video-embed-play svg{ width:28px; height:28px; margin-left:3px; }
.video-embed:hover .video-embed-play{ background:var(--gold-600); transform:translate(-50%,-50%) scale(1.06); }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
@media (max-width:520px){
  .video-embed-play{ width:56px; height:56px; }
  .video-embed-play svg{ width:22px; height:22px; }
}

/* ---------------- Step / journey path ---------------- */
.journey{ position:relative; }
.journey-line{
  position:absolute; left:29px; top:14px; bottom:14px; width:2px;
  background:repeating-linear-gradient(to bottom,var(--gold-500) 0 6px,transparent 6px 12px);
}
.journey-item{
  position:relative; padding-left:76px; padding-bottom:44px;
}
.journey-item:last-child{ padding-bottom:0; }
.journey-num{
  position:absolute; left:0; top:0; width:60px; height:60px; border-radius:50%;
  background:var(--paper); border:2px solid var(--gold-500);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-mono); font-size:13px; color:var(--gold-600);
}
.journey-item h3{ font-size:21px; margin-bottom:6px; }
.journey-item p{ color:var(--teal-700); max-width:52ch; margin:0; }

/* ---------------- Cards / grids ---------------- */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-form{ grid-template-columns:1.3fr .9fr; }
@media (max-width:880px){ .grid-3,.grid-2,.grid-form{ grid-template-columns:1fr; } }

.card{
  background:var(--sage-50); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; transition:border-color .15s, transform .15s;
}
.card:hover{ border-color:var(--gold-500); transform:translateY(-2px); }
.card h3{ font-size:19px; margin-bottom:8px; }
.card p{ font-size:14.5px; color:var(--teal-700); margin:0; }
.card-icon{ width:34px; height:34px; margin-bottom:16px; color:var(--gold-600); }

.tag-list{ display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none; }
.tag-list li{
  font-size:13.5px; padding:7px 14px; border-radius:100px;
  border:1px solid var(--line); color:var(--teal-700);
}

/* checklist */
.check-list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; }
.check-list svg{ flex:none; width:19px; height:19px; margin-top:2px; color:var(--gold-600); }

/* section headers */
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(26px,3.2vw,38px); }
.section-head p{ color:var(--teal-700); font-size:16.5px; }
.section-dark .section-head p{ color:rgba(247,243,234,.75); }

/* stat strip */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line-soft); border-radius:var(--radius); overflow:hidden;
}
.stat-strip div{ background:var(--teal-800); padding:28px 20px; text-align:center; }
.stat-strip b{ display:block; font-family:var(--f-mono); font-size:28px; color:var(--gold-500); }
.stat-strip span{ font-size:12.5px; color:rgba(247,243,234,.7); }
@media (max-width:700px){ .stat-strip{ grid-template-columns:repeat(2,1fr);} }

/* logos / badges */
.badge-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.badge{
  display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500;
  padding:9px 14px; border:1px solid var(--line); border-radius:100px; color:var(--teal-700);
}
.badge svg{ width:16px; height:16px; color:var(--gold-600); }

/* CTA band */
.cta-band{
  background:var(--teal-800); color:var(--parchment);
  border-radius:24px; padding:56px; text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{ font-size:clamp(24px,3vw,34px); max-width:20ch; margin:0 auto 12px; }
.cta-band p{ color:rgba(247,243,234,.78); max-width:48ch; margin:0 auto 28px; }
.cta-band .hero-actions{ justify-content:center; }

/* form */
.form-card{
  background:var(--sage-50); border:1px solid var(--line); border-radius:20px; padding:36px;
}
.form-row{ display:grid; gap:18px; }
.form-row.two{ grid-template-columns:1fr 1fr; }
@media (max-width:600px){ .form-row.two{ grid-template-columns:1fr; } }
label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; color:var(--teal-800); }
input,select,textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-family:var(--f-body); font-size:15px; background:var(--paper); color:var(--ink);
}
input:focus,select:focus,textarea:focus{ border-color:var(--gold-500); outline:none; }
.field{ margin-bottom:0; }
.confirm-box{
  display:none; background:var(--teal-800); color:var(--parchment); border-radius:14px;
  padding:22px 24px; margin-top:18px; font-size:14.5px;
}
.confirm-box.show{ display:block; }

/* table (locations) */
.loc-table{ width:100%; border-collapse:collapse; font-size:15px; }
.loc-table th,.loc-table td{ text-align:left; padding:14px 10px; border-bottom:1px solid var(--line); }
.loc-table th{ font-family:var(--f-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--teal-500); font-weight:500; }

/* footer */
.footer{ background:var(--teal-900); color:rgba(247,243,234,.85); padding:64px 0 28px; }
.footer .wrap{ display:grid; grid-template-columns:1.3fr repeat(4,1fr); gap:32px; }
.footer h4{ font-family:var(--f-mono); font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--gold-500); margin-bottom:16px; font-weight:500; }
.footer a{ text-decoration:none; color:inherit; opacity:.82; font-size:14.5px; }
.footer a:hover{ opacity:1; text-decoration:underline; }
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-bottom{
  max-width:var(--maxw); margin:48px auto 0; padding:22px 28px 0; border-top:1px solid rgba(247,243,234,.14);
  font-size:13px; opacity:.6; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
@media (max-width:900px){ .footer .wrap{ grid-template-columns:1fr 1fr; } }

/* breadcrumb / page-hero (interior pages) */
.page-hero{ padding:56px 0 20px; }
.page-hero .eyebrow{ margin-bottom:10px; }
.page-hero h1{ font-size:clamp(30px,4vw,46px); max-width:16ch; }
.page-hero p{ max-width:56ch; font-size:17px; color:var(--teal-700); }

/* ---------------- Animation system ---------------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

.reveal-stagger > *{ opacity:0; transform:translateY(22px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in-view > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay:.02s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay:.09s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay:.16s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay:.23s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay:.30s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay:.37s; }

@keyframes heroFadeUp{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:translateY(0); } }
.hero-animate{ animation:heroFadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-animate-delay{ animation:heroFadeUp .8s cubic-bezier(.2,.7,.2,1) .16s both; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ opacity:1 !important; transform:none !important; transition:none !important; }
  .hero-animate, .hero-animate-delay{ animation:none !important; }
}

/* ---------------- Illustration card (page-hero right side) ---------------- */
.illus-card{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:20px;
  padding:48px 30px; position:relative; overflow:hidden;
}
.illus-stage{ position:relative; width:172px; height:172px; display:flex; align-items:center; justify-content:center; flex:none; }
.illus-ring{
  position:absolute; inset:0; border:1.5px dashed rgba(216,164,77,.4); border-radius:50%;
  animation:illusSpin 26s linear infinite;
}
.illus-ring2{
  position:absolute; inset:18px; border:1px solid rgba(247,243,234,.15); border-radius:50%;
}
.illus-icon{ width:76px; height:76px; color:var(--gold-500); position:relative; z-index:1; }
.illus-dot{ position:absolute; width:9px; height:9px; border-radius:50%; background:var(--gold-500); animation:illusFloat 4.5s ease-in-out infinite; box-shadow:0 0 10px rgba(216,164,77,.7); }
.illus-dot.d1{ top:2px; right:22px; animation-delay:.2s; }
.illus-dot.d2{ bottom:10px; left:6px; width:7px; height:7px; animation-delay:1.3s; }
.illus-dot.d3{ top:52%; left:-4px; width:6px; height:6px; animation-delay:2.4s; }
.illus-label{ font-family:var(--f-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-500); }
.illus-caption{ font-size:14.5px; color:rgba(247,243,234,.8); max-width:30ch; margin:0; }
@keyframes illusSpin{ to{ transform:rotate(360deg); } }
@keyframes illusFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
@media (prefers-reduced-motion: reduce){
  .illus-ring{ animation:none; }
  .illus-dot{ animation:none; }
}

.count-num{ display:inline-block; }

.mt-0{ margin-top:0; } .center{ text-align:center; }
.divider{ height:1px; background:var(--line); border:none; margin:0; }

