/* =========================================================
   EarlyAdvantage.AI — Brand System (White Theme)
   Brand colors:
     Teal     #00B3C6
     Orange   #F58220
     Magenta  #E0007C
     Navy ink #0B1F3D
   ========================================================= */

:root {
  /* Brand palette */
  --teal: #00B3C6;
  --teal-50: #E6F8FA;
  --teal-100: #B5ECF1;
  --teal-700: #008999;

  --orange: #F58220;
  --orange-50: #FEF1E4;
  --orange-700: #D86A0F;

  --magenta: #E0007C;
  --magenta-50: #FCE6F2;
  --magenta-700: #B0005F;

  --ink: #0B1F3D;          /* matches the wordmark */
  --ink-2: #1E2D4A;
  --slate: #4B5B72;
  --slate-2: #6B7A91;
  --line: #E6EAF0;
  --line-2: #F0F3F8;

  --paper: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #FAFBFD;       /* faintest tint */
  --bg-tint: #F4F8FB;       /* a touch cooler */

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11,31,61,0.04), 0 4px 12px rgba(11,31,61,0.06);
  --shadow: 0 6px 20px rgba(11,31,61,0.08), 0 12px 40px rgba(11,31,61,0.06);
  --shadow-lg: 0 24px 60px rgba(11,31,61,0.12);
  --shadow-color: 0 12px 30px rgba(224,0,124,0.18);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--magenta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--slate); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--magenta);
  background: var(--magenta-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.teal { color: var(--teal-700); background: var(--teal-50); }
.eyebrow.orange { color: var(--orange-700); background: var(--orange-50); }

/* Brand gradient text utility */
.grad {
  background: linear-gradient(120deg, var(--teal) 0%, var(--magenta) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 22px rgba(245,130,32,0.32);
}
.btn-primary:hover {
  background: var(--orange-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245,130,32,0.42);
  color: white;
}
.btn-secondary {
  background: var(--ink);
  color: white;
}
.btn-secondary:hover { background: var(--ink-2); color: white; transform: translateY(-2px); }
.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img.logo { height: 36px; width: auto; display: block; }
.brand img.logo-mark { height: 32px; width: auto; display: none; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--magenta));
  border-radius: 2px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img.logo { display: none; }
  .brand img.logo-mark { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    gap: 16px;
  }
}
@media (max-width: 580px) {
  .nav-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  background: white;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(0,179,198,0.10), transparent 60%),
    radial-gradient(50% 45% at 0% 80%, rgba(224,0,124,0.07), transparent 60%),
    radial-gradient(40% 40% at 50% 100%, rgba(245,130,32,0.06), transparent 60%);
  pointer-events: none;
}
/* Subtle dot grid */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,31,61,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 65%);
  pointer-events: none;
  opacity: 0.5;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--slate);
  max-width: 56ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.92rem;
}
.hero-meta strong { color: var(--ink); }
.hero-meta .dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 0 4px rgba(0,179,198,.18);}

/* Hero visual — photo with floating overlay cards */
.hero-art {
  position: relative;
  /* No overflow:hidden here — let floating cards extend outside */
}
.hero-art .photo-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-soft) 0%, white 100%);
}
.hero-art .photo-frame.brand::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 30% 30%, rgba(0,179,198,0.16), transparent 60%),
    radial-gradient(ellipse 70% 55% at 75% 75%, rgba(224,0,124,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(245,130,32,0.12), transparent 60%);
}
.hero-art .hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero-art .center-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18%;
}
.hero-art .center-mark img {
  width: 65%;
  filter: drop-shadow(0 18px 40px rgba(11,31,61,0.18));
  animation: float-mark 8s ease-in-out infinite;
}
@keyframes float-mark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-art .floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px 12px 14px;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  animation: bob 5s ease-in-out infinite;
}
.hero-art .floating-card .ico {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: white; font-size: 0.95rem;
  font-weight: 800;
}
.hero-art .fc-1 { top: 8%; left: -8%; z-index: 2; }
.hero-art .fc-1 .ico { background: var(--teal); }
.hero-art .fc-2 { top: 50%; right: -10%; animation: bob-mid 5s ease-in-out 1.3s infinite; z-index: 2; }
.hero-art .fc-2 .ico { background: var(--orange); }
.hero-art .fc-3 { bottom: -6%; left: 6%; animation-delay: 2.6s; z-index: 2; }
.hero-art .fc-3 .ico { background: var(--magenta); }
@keyframes bob-mid {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}
@media (max-width: 1080px) {
  .hero-art .fc-1 { left: -2%; }
  .hero-art .fc-2 { right: -2%; }
  .hero-art .fc-3 { bottom: -3%; left: 4%; }
}
@media (max-width: 600px) {
  .hero-art .fc-1 { left: 4%; top: 4%; }
  .hero-art .fc-2 { right: 4%; top: 50%; }
  .hero-art .fc-3 { bottom: 4%; left: 4%; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.trust-bar p {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin: 0 0 18px;
  font-weight: 700;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 48px;
}
.logos .studio-logo {
  height: 33px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity .25s var(--ease);
}
.logos .studio-logo:hover { opacity: 1; }
/* Portrait-oriented logos (stacked composition) get more headroom */
.logos .studio-logo[alt="DreamWorks"],
.logos .studio-logo[alt="Blizzard"] { height: 48px; }
.logos .studio-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--slate-2);
  letter-spacing: 0.08em;
  transition: color .25s var(--ease);
}
.logos .studio-wordmark:hover { color: var(--ink); }
.logos .studio-more {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--slate-2);
  letter-spacing: 0.14em;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
@media (max-width: 640px) {
  .logos { gap: 18px 28px; }
  .logos .studio-logo { height: 27px; }
  .logos .studio-logo[alt="DreamWorks"],
  .logos .studio-logo[alt="Blizzard"] { height: 39px; }
  .logos .studio-more { border-left: 0; padding-left: 0; font-size: 0.72rem; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  color: var(--slate);
  font-size: 1.08rem;
}

/* Section accents */
.section-alt { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.why-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.why-card:nth-child(1)::before { background: var(--teal); }
.why-card:nth-child(2)::before { background: var(--orange); }
.why-card:nth-child(3)::before { background: var(--magenta); }
.why-card:nth-child(4)::before { background: var(--teal); }
.why-card:nth-child(5)::before { background: var(--orange); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent;}
.why-card:hover::before { transform: scaleX(1); }
.why-card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
  background: var(--bg-soft);
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--slate); margin: 0; font-size: 0.95rem; }
.icon-1 { background: var(--teal-50); }
.icon-2 { background: var(--orange-50); }
.icon-3 { background: var(--magenta-50); }
.icon-4 { background: var(--teal-50); }
.icon-5 { background: var(--orange-50); }

/* ---------- Programs ---------- */
.programs { background: white; position: relative; }
.programs::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 1200px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.program-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.program-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.program-card.p1::before { background: var(--teal); }
.program-card.p2::before { background: var(--orange); }
.program-card.p3::before { background: var(--magenta); }
.program-card.p4::before { background: linear-gradient(90deg, var(--teal), var(--magenta)); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent;}
.program-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.program-card.p1 .badge { background: var(--teal-50); color: var(--teal-700); }
.program-card.p2 .badge { background: var(--orange-50); color: var(--orange-700); }
.program-card.p3 .badge { background: var(--magenta-50); color: var(--magenta-700); }
.program-card.p4 .badge { background: var(--bg-soft); color: var(--ink); }
.program-card .age {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.program-card h3 { margin-bottom: 8px; color: var(--ink); }
.program-card p { color: var(--slate); font-size: 0.95rem; }
.program-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.program-card ul li {
  padding-left: 24px; position: relative;
  font-size: 0.92rem; color: var(--slate); margin-bottom: 6px;
}
.program-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 800;
}
.program-card.p2 ul li::before { color: var(--orange); }
.program-card.p3 ul li::before { color: var(--magenta); }

/* ---------- Outcomes ---------- */
.outcomes { background: var(--bg-soft); }
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.outcome-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.outcome-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--teal), var(--magenta), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.outcome-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.outcome-card p { color: var(--slate); margin: 0; font-size: 0.95rem; }

/* ---------- Founders ---------- */
.founders { background: white; }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.founder-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.founder-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.founder-card h3 { margin-bottom: 6px; }
.founder-card .role {
  color: var(--magenta);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  display: block;
}
.founder-card .creds {
  display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 20px; align-items: center;
}
.founder-card .creds span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.founder-card .creds .uni-logo {
  height: 36px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(1);
}
.founder-card .creds .studio-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.7;
}
.founder-card .creds .studio-logo[alt="DreamWorks"],
.founder-card .creds .studio-logo[alt="Blizzard"] { height: 40px; }
@media (max-width: 880px) { .founders-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Venue ---------- */
.venue-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start;
}
.venue-info h3 {
  font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 12px;
}
.venue-map iframe { display: block; box-shadow: 0 12px 32px rgba(11,31,61,.08); }
@media (max-width: 880px) { .venue-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--line);
  position: relative;
}
.testi-card .stars { color: var(--orange); margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px;}
.testi-card blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: white; font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--magenta));
  font-size: 0.95rem;
}
.testi-card:nth-child(2) .avatar { background: linear-gradient(135deg, var(--orange), var(--magenta)); }
.testi-card:nth-child(3) .avatar { background: linear-gradient(135deg, var(--teal), var(--orange)); }
.testi-card .who small { display: block; color: var(--slate); }
.testi-card .who strong { display: block; color: var(--ink); }

/* ---------- Pricing (kept for future) ---------- */
.pricing { background: white; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--teal); }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--magenta);
  transition: transform .3s var(--ease);
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--slate);
}

/* ---------- CTA Banner (white, with brand-colored frame) ---------- */
.cta-banner {
  background: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(0,179,198,0.10), transparent 55%),
    radial-gradient(50% 50% at 0% 100%, rgba(224,0,124,0.10), transparent 55%);
  pointer-events: none;
}
.cta-banner .container { position: relative; }
.cta-banner h2 { max-width: 18ch; }
.cta-banner p { color: var(--slate); font-size: 1.1rem; max-width: 56ch; }
.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-banner-grid::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--magenta) 50%, var(--orange) 100%);
}
@media (max-width: 880px) {
  .cta-banner-grid { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Lead form ---------- */
.lead-form h3 { margin-bottom: 6px; color: var(--ink); }
.lead-form .small { color: var(--slate); font-size: 0.9rem; }
.field { display: block; margin-bottom: 12px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 1rem;
  font-family: var(--font-body);
  background: white;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.lead-form .privacy { font-size: 0.78rem; color: var(--slate); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: white;
  color: var(--slate);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 {
  color: var(--ink); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 16px;
  font-weight: 800;
}
.foot-grid a { color: var(--slate); display: block; margin-bottom: 8px; font-size: 0.95rem; }
.foot-grid a:hover { color: var(--magenta); }
.foot-grid img.logo { height: 32px; margin-bottom: 14px; }
.foot-grid p { font-size: 0.92rem; line-height: 1.7; color: var(--slate); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem;
  color: var(--slate-2);
}
.foot-bottom a { color: var(--slate); }
.foot-bottom a:hover { color: var(--magenta); }

/* ---------- Country Splash (index.html, white theme) ---------- */
.splash {
  min-height: 100vh;
  display: grid; place-items: center;
  background: white;
  color: var(--ink);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
.splash::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 45% at 18% 18%, rgba(0,179,198,0.14), transparent 60%),
    radial-gradient(45% 40% at 85% 80%, rgba(224,0,124,0.10), transparent 60%),
    radial-gradient(40% 35% at 60% 25%, rgba(245,130,32,0.08), transparent 60%);
  pointer-events: none;
}
.splash::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,31,61,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}
.splash-inner {
  position: relative;
  max-width: 880px;
  text-align: center;
}
.splash .splash-logo { width: 420px; max-width: 86%; margin: 0 auto 32px; height: auto; }
.splash h1 {
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.splash p {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 auto 40px;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 540px;
  margin: 0 auto;
}
@media (max-width: 480px) { .country-grid { grid-template-columns: 1fr; } }
.country-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .25s;
  display: block;
  position: relative;
  overflow: hidden;
}
.country-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.country-card.sg::before { background: linear-gradient(90deg, var(--teal), var(--magenta)); }
.country-card.my::before { background: linear-gradient(90deg, var(--orange), var(--magenta)); }
.country-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.country-card .flag {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 10px;
}
.country-card h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.country-card p { color: var(--slate); margin: 0; font-size: 0.85rem; }
.country-card .enter {
  margin-top: 12px;
  display: inline-flex;
  gap: 6px; align-items: center;
  font-weight: 700; font-size: 0.85rem;
  color: var(--magenta);
}
.country-card.my .enter { color: var(--orange-700); }
.splash-foot {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--slate);
}
.splash-foot a { color: var(--teal-700); font-weight: 600; }

/* ---------- Sticky bottom CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: none;
  z-index: 60;
  box-shadow: 0 -8px 30px rgba(11,31,61,0.10);
}
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Country toggle in header ---------- */
.country-switch { position: relative; }
.country-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
}
.country-switch-btn:hover { border-color: var(--teal); color: var(--teal-700); }
.country-switch-menu {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 180px;
  display: none;
  z-index: 80;
}
.country-switch.open .country-switch-menu { display: block; }
.country-switch-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.country-switch-menu a:hover { background: var(--bg-soft); }
.country-switch-menu a.active { background: var(--teal-50); color: var(--teal-700); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Gallery (uniform 3x3 grid) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Past Work of Our Students ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) { .works-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 760px)  { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px)  { .works-grid { grid-template-columns: 1fr; } }
.work-item {
  margin: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.work-item .work-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  cursor: zoom-in;
  overflow: hidden;
}
.work-item .work-media img,
.work-item .work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.work-item:hover .work-media img { transform: scale(1.05); }
.work-item .work-media video { cursor: default; background: black; object-fit: contain; }
.work-item figcaption {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.work-item figcaption strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.work-item figcaption span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  background: var(--magenta-50);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 61, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox[hidden] { display: none; }
.lightbox .lb-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: white;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1;
  transition: background .2s, transform .2s;
}
.lightbox button:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 999px;
}
@media (max-width: 600px) {
  .lightbox button { width: 40px; height: 40px; font-size: 1.3rem; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
