/* =====================================================================
   GG Fintech — Design System
   Serif display (Fraunces) + geometric sans (Manrope), deep-ink/blue base
   with a coral accent. Editorial, asymmetric layout — deliberately not a
   centered-hero / rounded-blob template.
   ===================================================================== */

:root {
  /* Site is light-themed only — without this, some Android/Chrome builds auto-apply
     a dark-mode heuristic to web content and can mis-render elements like the
     white welcome-modal card sitting on a dark overlay, making it disappear. */
  color-scheme: light;
  --ink: #14151c;
  --ink-soft: #52545f;
  --ink-faint: #90929c;
  --white: #ffffff;
  --paper: #f7f4ec;
  --line: #e7e3d8;

  --primary: #16217a;
  --primary-dim: #0e1656;
  --accent: #ff5a36;
  --accent-dim: #e2431f;
  --gold: #ffb627;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --container: 1200px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

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

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--primary); color: var(--white); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--gold); }

.section-notch-top {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.section--angled {
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}
.section--angled-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: none;
}
.section-head--split .section-head-copy { max-width: 620px; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 14px 30px -14px rgba(20,21,28,.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 4px 10px rgba(20,21,28,.06), 0 22px 40px -16px rgba(20,21,28,.32); }
.btn:active { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(20,21,28,.14); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 1px 2px rgba(226,67,31,.15), 0 16px 32px -12px rgba(255,90,54,.55);
}
.btn--accent:hover { box-shadow: 0 4px 10px rgba(226,67,31,.2), 0 24px 44px -14px rgba(255,90,54,.6); }

.btn--ghost-light {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.28);
  color: var(--white);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); box-shadow: 0 20px 40px -16px rgba(0,0,0,.55); }

.btn--sm { padding: 10px 22px; font-size: .85rem; box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 10px 20px -12px rgba(20,21,28,.26); }
.btn--sm:hover { box-shadow: 0 4px 8px rgba(20,21,28,.06), 0 16px 28px -12px rgba(20,21,28,.3); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s;
}
.text-link:hover { gap: 12px; color: var(--accent-dim); }

/* ---------------------------------------------------------------------
   Header / Nav
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, padding .3s;
  padding: 22px 0;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(20,21,28,.06);
  padding: 12px 0;
}

.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.brand-logo { height: 34px; width: auto; max-width: 160px; object-fit: contain; display: block; }

/* -- Student/College audience toggle -- */
.audience-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.audience-switch button {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.audience-switch button.is-active { background: var(--ink); color: var(--white); }
.audience-switch--mobile {
  border-color: rgba(255,255,255,.3);
  margin-bottom: 28px;
  width: 100%;
}
.audience-switch--mobile button { flex: 1; color: rgba(255,255,255,.75); font-size: .85rem; }
.audience-switch--mobile button.is-active { background: var(--accent); color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  font-weight: 600;
  font-size: .92rem;
  border-radius: 999px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-item.is-open .nav-link { background: var(--paper); }
.nav-link .chev { transition: transform .25s var(--ease); }
.nav-item.is-open .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(20,21,28,.04), 0 24px 48px -16px rgba(20,21,28,.22);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
}
.dropdown a:hover { background: var(--paper); color: var(--accent-dim); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 6px 16px -8px rgba(20,21,28,.2);
  transition: border-color .2s, box-shadow .2s;
}
.hamburger:hover { border-color: var(--ink); }
.hamburger span { width: 16px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  color: var(--white);
  font-size: 1.3rem;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu li a, .mobile-menu li .mm-toggle {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.mobile-menu .mm-sub {
  display: none;
  flex-direction: column;
  padding-left: 12px;
}
.mobile-menu .mm-sub a { font-size: 1.02rem; font-family: 'Manrope', sans-serif; font-weight: 700; border-bottom: none; padding: 7px 0; }
.mobile-menu li.is-open .mm-sub { display: flex; }
.mobile-menu-foot { margin-top: auto; padding-top: 20px; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Welcome modal (student / institution prompt)
   --------------------------------------------------------------------- */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20,21,28,.6);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
/* Blur is decorative only — scoped to larger screens because some Android/Chrome
   GPU driver combinations fail to paint content on top of a blurred fixed-position
   parent at all, hiding the dialog entirely. The dim overlay above still works
   everywhere; this just skips the frosted-glass effect on small screens. */
@media (min-width: 769px) {
  .welcome-modal {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}
.welcome-modal.is-open { display: flex; opacity: 1; }
.welcome-modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(20,21,28,.4);
  transform: translateY(16px) scale(.97);
  transition: transform .35s var(--ease);
}
.welcome-modal.is-open .welcome-modal-card { transform: translateY(0) scale(1); }
.welcome-modal-card .eyebrow { justify-content: center; }
.welcome-modal-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.welcome-modal-card p { color: var(--ink-soft); margin-bottom: 28px; }
.welcome-modal-actions { display: flex; flex-direction: column; gap: 12px; }
.welcome-modal-actions .btn { width: 100%; }
.welcome-modal-skip {
  border: none; background: transparent; margin-top: 18px;
  font-weight: 700; font-size: .84rem; color: var(--ink-faint);
  text-decoration: underline; text-underline-offset: 3px;
}
.welcome-modal-skip:hover { color: var(--ink-soft); }

.welcome-modal-step[data-welcome-step="college"] { display: none; }
.welcome-modal-card.is-college-step .welcome-modal-step[data-welcome-step="choice"] { display: none; }
.welcome-modal-card.is-college-step .welcome-modal-step[data-welcome-step="college"] { display: block; }
.welcome-modal-status { display: none; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: .85rem; margin-bottom: 16px; text-align: left; }
.welcome-modal-status.is-error { display: block; background: #fdeceb; color: var(--accent-dim); }

@media (prefers-reduced-motion: reduce) {
  .welcome-modal, .welcome-modal-card { transition: none; }
}

/* ---------------------------------------------------------------------
   Hero (premium dark, split text/slider)
   --------------------------------------------------------------------- */
.hero-premium {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 100px 0 90px;
}

.hero-premium-watermark {
  position: absolute;
  top: 50%;
  left: -1%;
  max-width: 100vw;
  overflow: hidden;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(6rem, 19vw, 13rem);
  color: rgba(255,255,255,.045);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-premium-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
}
.hero-premium-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.hero-premium-title { color: var(--white); margin-bottom: .5em; }
.hero-premium-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--accent) 0%, var(--gold) 35%, var(--accent) 65%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heroGradientText 6s linear infinite;
}
@keyframes heroGradientText {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-premium-title em { animation: none; background-position: 0% 50%; }
}

.hero-premium-lead { color: rgba(255,255,255,.68); font-size: 1.15rem; max-width: 520px; }

.hero-premium-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.tag-pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 600;
  transition: border-color .2s, color .2s, background .2s;
}
.tag-pill:hover { border-color: var(--accent); color: var(--white); background: rgba(255,90,54,.14); }

.hero-premium-ctas { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-cta-label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 10px; }

.hero-premium-visual { position: relative; }

.hero-placement-card {
  position: absolute;
  left: -20px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px 12px 12px;
  box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 24px 48px -16px rgba(20,21,28,.35);
  max-width: 260px;
}
.hero-placement-avatar { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.hero-placement-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.hero-placement-avatar span { width: 100%; height: 100%; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Fraunces', serif; }
.hero-placement-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placement-badge svg { width: 10px; height: 10px; }
.hero-placement-text { display: flex; flex-direction: column; gap: 2px; }
.hero-placement-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: .88rem; color: var(--ink); }
.hero-placement-detail { font-size: .78rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 900px) {
  .hero-placement-card { left: 12px; bottom: -20px; max-width: 220px; padding: 10px 14px 10px 10px; }
}

/* Placed Students grid (index.php + placements.php) — a compact certificate-
   style card: gold-bordered, small badge seal, bigger square photo. */
.placement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.placement-cert-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 16px 20px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 24px 48px -20px rgba(22,33,122,.25);
}
.placement-cert-photo {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  border: 3px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
}
.placement-cert-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.placement-cert-photo span { color: var(--white); font-family: 'Fraunces', serif; font-weight: 700; font-size: 3rem; }
.placement-cert-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.4);
}
.placement-cert-badge svg { width: 15px; height: 15px; }
.placement-cert-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.placement-cert-detail { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; margin: 0 0 12px; }
.placement-cert-info { text-align: left; display: flex; flex-direction: column; gap: 5px; }
.placement-cert-row { font-size: .84rem; color: var(--ink); line-height: 1.4; }
.placement-cert-label { font-weight: 700; color: var(--ink-soft); margin-right: 3px; }
.placement-cert-card--placeholder { border-style: dashed; border-color: var(--line); box-shadow: none; }
.placement-cert-card--placeholder .placement-cert-photo { background: var(--ink-faint); border-color: var(--line); }
@media (max-width: 1024px) {
  .placement-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .placement-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .placement-cert-photo { width: 100px; height: 100px; }
  .placement-cert-card { padding: 18px 10px 16px; }
}
@media (max-width: 400px) {
  .placement-cert-photo { width: 84px; height: 84px; }
  .placement-cert-name { font-size: .92rem; }
  .placement-cert-detail { font-size: .74rem; }
}

.hero-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(160deg, var(--primary), var(--primary-dim));
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(20,21,28,.72); backdrop-filter: blur(6px);
  color: var(--white); padding: 8px 16px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
}
.hero-slide--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-family: 'Fraunces', serif;
  font-size: 1.2rem; text-align: center; padding: 40px; line-height: 1.5;
}

.hero-slider-dots { position: absolute; bottom: 18px; right: 18px; z-index: 2; display: flex; gap: 8px; }
.hero-slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; transition: width .3s var(--ease), background .2s; }
.hero-slider-dot.is-active { width: 22px; border-radius: 5px; background: var(--white); }

.hero-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(20,21,28,.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2); color: var(--white);
  z-index: 2; display: flex; align-items: center; justify-content: center;
}
.hero-slider-arrow.prev { left: 14px; }
.hero-slider-arrow.next { right: 14px; }

/* ---------------------------------------------------------------------
   Intro video
   --------------------------------------------------------------------- */
.video-section { background: var(--paper); padding: 72px 0 56px; }
.video-frame-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.video-frame {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 30px 60px -28px rgba(20,21,28,.28);
  background: var(--ink);
}
.video-pointer-image {
  display: none;
  position: absolute;
  bottom: -28px;
  left: -140px;
  width: 220px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(20,21,28,.25));
}
@media (min-width: 1180px) {
  .video-pointer-image.has-image { display: block; }
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--ink); }
.video-frame-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dim));
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 32px;
}
.video-play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}
.video-frame-placeholder p { margin: 0; font-size: .92rem; line-height: 1.6; }

/* ---------------------------------------------------------------------
   Marquee (partner logos)
   --------------------------------------------------------------------- */
.marquee-wrap { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-inner { display: flex; align-items: center; gap: 32px; }
.marquee-label { flex-shrink: 0; font-weight: 700; font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.marquee-label span { color: var(--accent-dim); font-weight: 800; }
.marquee-scroller { position: relative; overflow: hidden; flex: 1; min-width: 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--ink-faint); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(20,21,28,.08), 0 16px 30px -14px rgba(20,21,28,.3);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .8rem;
}
.marquee-arrow.prev { left: 4px; }
.marquee-arrow.next { right: 4px; }

/* ---------------------------------------------------------------------
   The Gap / The Bridge (About) — paired challenge/solution cards
   --------------------------------------------------------------------- */
.bridge-section { position: relative; padding-top: 56px; }
.bridge-section h2 em { font-style: italic; color: var(--accent); }

.bridge-labels {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 52px auto 0;
}
.bridge-group-label {
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  grid-column: 1;
}
.bridge-group-label--challenge { color: var(--ink-faint); }
.bridge-group-label--solution { grid-column: 3; color: var(--accent-dim); }

.bridge-rows { display: flex; flex-direction: column; gap: 16px; max-width: 920px; margin: 14px auto 0; }
.bridge-row { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 20px; align-items: center; }

.bridge-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bridge-card p { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.bridge-card-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.bridge-card-icon svg { width: 19px; height: 19px; }

.bridge-card--challenge {
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 16px 32px -26px rgba(20,21,28,.22);
}
.bridge-card--challenge p { color: var(--ink-soft); }
.bridge-card--challenge .bridge-card-icon { background: rgba(20,21,28,.06); color: var(--ink-faint); }
.bridge-card--challenge:hover {
  transform: translateY(-4px);
  border-color: rgba(20,21,28,.14);
  box-shadow: 0 4px 8px rgba(20,21,28,.05), 0 24px 44px -24px rgba(20,21,28,.28);
}

.bridge-card--solution {
  background: var(--white);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 20px 40px -22px rgba(255,90,54,.38);
}
.bridge-card--solution p { color: var(--ink); }
.bridge-card--solution .bridge-card-icon { background: rgba(255,90,54,.12); color: var(--accent); }
.bridge-card--solution:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(226,67,31,.1), 0 28px 52px -22px rgba(255,90,54,.5);
}
.bridge-card--solution:hover .bridge-card-icon { background: var(--accent); color: var(--white); transform: scale(1.08); }

.bridge-row-arrow {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--ink-faint);
  text-align: center;
  transition: color .3s, transform .3s;
}
.bridge-row:hover .bridge-row-arrow { color: var(--accent); transform: translateX(3px); }

.bridge-quote {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 56px auto 0;
  padding: 0;
  text-align: center;
}
.bridge-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.bridge-quote p::before { content: "\201C"; color: var(--accent); }
.bridge-quote p::after { content: "\201D"; color: var(--accent); }

/* ---------------------------------------------------------------------
   Industry partners — continuous auto-scrolling carousel
   --------------------------------------------------------------------- */
.partner-marquee { position: relative; overflow: hidden; }
.partner-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 6px 2px;
  animation: partnerMarquee 34s linear infinite;
}
.partner-marquee:hover .partner-marquee-track { animation-play-state: paused; }
@keyframes partnerMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track { animation: none; }
}
.partner-card {
  flex: 0 0 auto;
  width: 200px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 18px 36px -24px rgba(20,21,28,.2);
  padding: 28px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20,21,28,.14);
  box-shadow: 0 6px 14px rgba(20,21,28,.06), 0 30px 50px -22px rgba(20,21,28,.3);
}
.partner-card-mark {
  width: 100%; height: 64px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.partner-card:hover .partner-card-mark { transform: scale(1.06); background: var(--white); }
.partner-card-mark img { max-width: 84%; max-height: 90%; object-fit: contain; }
.partner-card-initial {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary);
}
.partner-card-name { font-weight: 700; font-size: .92rem; color: var(--ink); }

.partner-tile {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 20px 40px -26px rgba(20,21,28,.22);
  padding: 32px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-tile:hover { transform: translateY(-5px); box-shadow: 0 6px 14px rgba(20,21,28,.06), 0 30px 50px -22px rgba(20,21,28,.3); }
.partner-tile-mark {
  width: 100%; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.partner-tile-mark img { max-width: 84%; max-height: 90%; object-fit: contain; }
.partner-tile h4 { margin: 0; font-size: 1rem; }

/* ---------------------------------------------------------------------
   Stats counters
   --------------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: left; border-left: 3px solid var(--accent); padding-left: 18px; }
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent-dim);
  margin-bottom: 16px;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-card .num { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; display: flex; }
.stat-card .lbl { color: var(--ink-soft); font-weight: 600; font-size: .92rem; }

/* ---------------------------------------------------------------------
   Cards: courses
   --------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; perspective: 1400px; }
.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,21,28,.04), 0 20px 40px -20px rgba(20,21,28,.22);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.course-card:hover { border-color: rgba(20,21,28,.16); box-shadow: 0 4px 10px rgba(20,21,28,.06), 0 32px 56px -20px rgba(20,21,28,.3); }
.no-js-tilt.course-card { transition: transform .3s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.no-js-tilt.course-card:hover { transform: translateY(-6px); }
.course-card-media {
  height: 168px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.course-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course-card:hover .course-card-media img { transform: scale(1.08); }
.course-card-tag {
  position: relative;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.course-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card-body h3 { font-size: 1.28rem; }
.course-card-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 4px; }
.course-card-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--ink-faint); font-weight: 700; margin-top: auto; padding-top: 10px; }

/* ---------------------------------------------------------------------
   Two-audience benefit columns
   --------------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
/* Personalization: the visitor's chosen audience takes over this section entirely. */
body.audience-college .hero-cta-block[data-audience="college"] { order: -1; }
body.audience-student .hero-cta-block[data-audience="student"] { order: -1; }
body.audience-student .audience-col--college,
body.audience-college .audience-col--student { display: none; }
body.audience-student .audience-col--student,
body.audience-college .audience-col--college { grid-column: 1 / -1; max-width: 720px; margin: 0 auto; }
.audience-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--white);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.audience-col--student { box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 30px 60px -28px rgba(255,90,54,.4); }
.audience-col--college { box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 30px 60px -28px rgba(22,33,122,.4); }
.audience-col:hover { transform: translateY(-4px); }
.audience-col-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dim));
  display: flex; align-items: center; justify-content: center;
}
.audience-col-media img { width: 100%; height: 100%; object-fit: cover; }
.audience-col-media span {
  color: rgba(255,255,255,.55); font-family: 'Fraunces', serif; font-size: .95rem;
  text-align: center; padding: 24px; line-height: 1.5;
}
.audience-col h3 { font-size: 1.6rem; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 26px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: var(--white);
}
.audience-col--student .benefit-icon { background: var(--accent); }
.audience-col--college .benefit-icon { background: var(--primary); }
.benefit-icon svg { width: 17px; height: 17px; }
.benefit-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.benefit-item strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------------------------------------------------------------------
   Process timeline (tabbed)
   --------------------------------------------------------------------- */
.process-tabs { display: inline-flex; gap: 8px; background: var(--paper); padding: 6px; border-radius: 999px; margin-bottom: 44px; border: 1px solid var(--line); }
.process-tab { padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: transparent; border: none; transition: background .2s, color .2s; }
.process-tab.is-active { background: var(--ink); color: var(--white); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.timeline-step { position: relative; padding-top: 60px; }
.timeline-step .step-num {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -12px rgba(20,21,28,.22);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem;
}
.timeline-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-step p { color: var(--ink-soft); font-size: .9rem; }
.process-panel { display: none; }
.process-panel.is-active { display: block; }

/* ---------------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------------- */
.testi-tabs { display: flex; gap: 10px; margin-bottom: 36px; }
.testi-tab { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, border-color .2s; }
.testi-tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.testi-track { position: relative; min-height: 220px; }
.testi-slide {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 24px 48px -26px rgba(20,21,28,.2);
}
.testi-slide.is-active { display: block; }
.testi-slide .quote { font-family: 'Fraunces', serif; font-size: 1.5rem; font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Fraunces', serif; }
.testi-author .name { font-weight: 800; }
.testi-author .role { color: var(--ink-soft); font-size: .88rem; }
.testi-video-toggle { margin-top: 14px; }
.testi-video-toggle summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--primary); list-style: none; }
.testi-video-toggle summary::-webkit-details-marker { display: none; }
.testi-video-toggle video { width: 100%; max-width: 240px; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); border-radius: var(--radius-md); margin-top: 12px; display: block; }
.testi-dots { display: flex; gap: 8px; margin-top: 24px; }

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(20,21,28,.06), 0 16px 32px -16px rgba(20,21,28,.25);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.testi-arrow:hover { background: var(--paper); box-shadow: 0 4px 10px rgba(20,21,28,.08), 0 20px 36px -16px rgba(20,21,28,.3); }
.testi-arrow.prev { left: -16px; }
.testi-arrow.next { right: -16px; }
@media (max-width: 640px) {
  .testi-arrow { width: 34px; height: 34px; }
  .testi-arrow.prev { left: -6px; }
  .testi-arrow.next { right: -6px; }
}
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: none; }
.testi-dot.is-active { background: var(--accent); }

/* ---------------------------------------------------------------------
   Blog cards
   --------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card-media { height: 160px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--gold), var(--accent)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.post-card .meta { font-size: .78rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 1.2rem; }
.post-card p { color: var(--ink-soft); font-size: .92rem; }

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: var(--accent);
  opacity: .25;
  border-radius: 50%;
  right: -120px; top: -140px;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; position: relative; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; position: relative; }
.cta-band .btn-row { position: relative; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--white); margin-bottom: 14px; }
.footer-brand-logo { height: 38px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.footer-col h5 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.footer-credit { margin-top: 18px; text-align: center; font-size: .76rem; color: rgba(255,255,255,.4); letter-spacing: .02em; }

/* ---------------------------------------------------------------------
   Page hero (interior pages)
   --------------------------------------------------------------------- */
.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p.lead { max-width: 640px; }
.breadcrumb { font-size: .82rem; font-weight: 700; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent-dim); }

/* Page-hero variants — each interior page opts into one via a modifier class,
   so headers read distinctly per page rather than sharing one plain white band. */
.page-hero--courses {
  background: linear-gradient(160deg, var(--primary), var(--primary-dim));
  border-bottom: none;
  color: var(--white);
}
.page-hero--courses::before {
  content: attr(data-watermark);
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 8rem;
  line-height: 1;
  color: rgba(255,255,255,.06);
  white-space: nowrap;
  pointer-events: none;
}
.page-hero--courses .eyebrow { color: var(--gold); }
.page-hero--courses h1 { color: var(--white); }
.page-hero--courses p.lead { color: rgba(255,255,255,.72); }
.page-hero--courses .breadcrumb { color: rgba(255,255,255,.45); }
.page-hero--courses .breadcrumb a { color: rgba(255,255,255,.75); }

.page-hero--story {
  background: linear-gradient(160deg, var(--paper), #f0e9d8);
  border-bottom: none;
}

.page-hero--placements {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-bottom: none;
  color: var(--white);
}
.page-hero--placements .eyebrow { color: rgba(255,255,255,.85); }
.page-hero--placements .eyebrow::before { background: var(--white); }
.page-hero--placements h1 { color: var(--white); }
.page-hero--placements p.lead { color: rgba(255,255,255,.85); }
.page-hero--placements .breadcrumb { color: rgba(255,255,255,.55); }
.page-hero--placements .breadcrumb a { color: rgba(255,255,255,.85); }

.page-hero--partners {
  background: linear-gradient(120deg, var(--primary) 45%, var(--accent-dim) 100%);
  border-bottom: none;
  color: var(--white);
}
.page-hero--partners .eyebrow { color: var(--gold); }
.page-hero--partners h1 { color: var(--white); }
.page-hero--partners p.lead { color: rgba(255,255,255,.75); }
.page-hero--partners .breadcrumb { color: rgba(255,255,255,.45); }
.page-hero--partners .breadcrumb a { color: rgba(255,255,255,.75); }

.page-hero--utility {
  background: linear-gradient(160deg, var(--paper) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

/* ---------------------------------------------------------------------
   Filters
   --------------------------------------------------------------------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: .85rem; transition: background .2s, color .2s, border-color .2s; }
.filter-chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------------------------------------------------------------------
   Course detail
   --------------------------------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.detail-fact { border-top: 1px solid var(--line); padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.detail-fact .k { font-weight: 700; color: var(--ink-soft); font-size: .88rem; }
.detail-fact .v { font-weight: 700; text-align: right; }
.sticky-panel { position: sticky; top: 120px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 30px 60px -28px rgba(255,90,54,.4); }

/* ---------------------------------------------------------------------
   Team
   --------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: left; }
.team-photo { aspect-ratio: 4/5; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--primary), var(--primary-dim)); margin-bottom: 16px; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 2px; font-size: 1.1rem; }
.team-card .role { color: var(--accent-dim); font-weight: 700; font-size: .85rem; margin-bottom: 10px; }
.team-card .bio { color: var(--ink-soft); font-size: .88rem; }

/* ---------------------------------------------------------------------
   Gallery
   --------------------------------------------------------------------- */
.gallery-group { margin-bottom: 56px; }
.gallery-group h3 { margin-bottom: 4px; }
.gallery-group .event-date { color: var(--ink-faint); font-weight: 700; font-size: .85rem; margin-bottom: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--accent)); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }

.lightbox { position: fixed; inset: 0; background: rgba(20,21,28,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 85vh; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); color: #fff; font-size: 1.3rem; transition: background .2s, border-color .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 1px 2px rgba(20,21,28,.03), 0 16px 32px -24px rgba(20,21,28,.2); transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: rgba(20,21,28,.16); box-shadow: 0 4px 8px rgba(20,21,28,.05), 0 24px 44px -22px rgba(20,21,28,.26); }
.faq-question { width: 100%; text-align: left; background: var(--white); border: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.02rem; }
.faq-question .plus { transition: transform .3s var(--ease); font-size: 1.4rem; color: var(--accent); }
.faq-item.is-open .faq-question .plus { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: var(--paper); }
.faq-answer-inner { padding: 0 24px 20px; color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   Contact page layout
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: flex-start; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .96rem;
  background: var(--white);
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.audience-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 28px; box-shadow: 0 8px 20px -14px rgba(20,21,28,.3); }
.audience-toggle button { border: none; background: transparent; padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.audience-toggle button.is-active { background: var(--ink); color: var(--white); }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem; margin-bottom: 20px; display: none; }
.form-status.is-success { display: block; background: #e6f4ea; color: #1f7a3d; }
.form-status.is-error { display: block; background: #fdeceb; color: var(--accent-dim); }

/* ---------------------------------------------------------------------
   Scroll-reveal (driven by assets/js/main.js via GSAP)
   --------------------------------------------------------------------- */
[data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1360px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .nav-bar .audience-switch { display: none; }
}

@media (max-width: 1024px) {
  .hero-premium-grid { grid-template-columns: 1fr; }
  .hero-premium-visual { max-width: 420px; margin-top: 48px; }
  .card-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .timeline, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .bridge-labels { grid-template-columns: 1fr; gap: 8px; max-width: 480px; }
  .bridge-group-label--solution { grid-column: 1; margin-top: 18px; }
  .bridge-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 10px; }
  .bridge-row-arrow { transform: rotate(90deg); }
  .bridge-row:hover .bridge-row-arrow { transform: rotate(90deg) translateX(3px); }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .video-section { padding: 48px 0 40px; }
  .bridge-section { padding-top: 40px; }
  .hero-premium { padding: 64px 0 56px; }
  .hero-premium-watermark { font-size: clamp(4rem, 22vw, 8rem); }
  .hero-premium-visual { max-width: 320px; margin: 40px auto 0; }
  .card-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid, .timeline, .team-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .partner-card { width: 160px; padding: 20px 14px; }
  .partner-card-mark { width: 52px; height: 52px; }
  .marquee-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lightbox { padding: 20px; }
}

@media (max-width: 480px) {
  .card-grid, .blog-grid, .stats-grid, .timeline, .team-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-premium-ctas { flex-direction: column; gap: 20px; }
  .hero-premium-ctas .btn { width: 100%; text-align: center; }
  .bridge-card { padding: 16px 18px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; text-align: center; }
  .lightbox { padding: 12px; }
  .lightbox-close { top: 14px; right: 14px; }
}
