/* ==========================================================================
   Swiss S-Group — Design System
   Swiss-modernist grid · editorial serif accents · restrained red
   ========================================================================== */

:root {
  --accent: #2E5BFF;
  --accent-deep: #1B3BC7;
  --accent-soft: #E8EDFF;
  --violet: #7A5CFF;
  --ink: #0D0D0F;
  --ink-2: #1A1A1F;
  --ink-3: #2A2A31;
  --paper: #F7F4EF;
  --paper-2: #EFEAE2;
  --white: #FFFFFF;
  --muted: #6B6A70;
  --muted-light: #A3A2AA;
  --line: rgba(13, 13, 15, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(13, 13, 15, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.accent, .red { color: var(--accent); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.display { font-size: clamp(48px, 9vw, 132px); font-weight: 600; letter-spacing: -0.05em; line-height: .92; }
.h1 { font-size: clamp(42px, 6.6vw, 92px); }
.h2 { font-size: clamp(34px, 4.6vw, 64px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 640px; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, .16);
}
.on-dark .eyebrow { color: var(--muted-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(46, 91, 255, .6); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--red { --bg: var(--accent); }
.btn--red::before { background: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: #fff; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: padding .4s var(--ease);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .25);
  transition: background .4s var(--ease);
}
.site-header.scrolled { padding: 8px 0; }
.site-header.scrolled .bar { background: rgba(255, 255, 255, .9); }
.logo img { height: 38px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  transition: background .3s, color .3s;
}
.nav a:hover { background: rgba(13, 13, 15, .06); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}
.header-cta { padding: 12px 20px; font-size: 15px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.mobile-menu nav a {
  display: block; font-size: clamp(36px, 10vw, 56px); font-weight: 600; letter-spacing: -0.04em;
  line-height: 1.15; padding: 4px 0; color: rgba(255, 255, 255, .9);
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu .meta { color: var(--muted-light); font-size: 15px; }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 150px 0 60px; overflow: hidden;
  background: var(--ink); color: #fff;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-bg .glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax;
  background: radial-gradient(circle, rgba(46, 91, 255, .55), rgba(46, 91, 255, 0) 60%);
  filter: blur(20px); animation: drift 16s ease-in-out infinite alternate;
}
.hero-bg .glow.two {
  width: 50vmax; height: 50vmax; left: -20vmax; bottom: -30vmax; top: auto; right: auto;
  background: radial-gradient(circle, rgba(122, 92, 255, .22), transparent 60%);
  animation-duration: 22s;
}
@keyframes drift { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }
.grain {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-cross {
  position: absolute; right: 6vw; top: 44%; width: clamp(220px, 24vw, 380px); aspect-ratio: 1;
  transform: translateY(-58%); perspective: 1000px;
}
.hero-cross .shield {
  width: 100%; height: 100%; transform-style: preserve-3d;
  animation: float 9s ease-in-out infinite;
  filter: drop-shadow(0 40px 80px rgba(46, 91, 255, .45));
}
@keyframes float {
  0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(14deg) rotateX(-4deg) translateY(-18px); }
}
.hero-cross .orbit {
  position: absolute; inset: -18%; border: 1px dashed rgba(255, 255, 255, .18); border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-cross .orbit::after {
  content: ""; position: absolute; top: 14%; left: 14%; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 20px 4px rgba(255, 255, 255, .6);
}
.hero-cross .orbit.two { inset: -34%; animation-duration: 90s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,.07); }
.hero-cross .orbit.two::after { background: var(--accent); box-shadow: 0 0 20px 4px rgba(46, 91, 255, .7); top: auto; bottom: 8%; left: 70%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 1000px; }
.hero h1 .serif { color: var(--accent); }
.hero-bottom {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-light);
}
.hero-bottom p { color: rgba(255, 255, 255, .7); font-size: clamp(17px, 1.4vw, 20px); max-width: 520px; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; width: 22px; height: 36px; margin-left: -11px;
  border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 20px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  background: #fff; border-radius: 3px; animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Split-word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 180px 0 90px; overflow: hidden;
  background: var(--ink); color: #fff;
}
.page-hero .hero-bg .glow { width: 60vmax; height: 60vmax; top: -30vmax; right: -15vmax; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 22px 0 28px; max-width: 980px; }
.page-hero h1 .serif { color: var(--accent); }
.page-hero .lead { color: rgba(255, 255, 255, .68); }
.breadcrumb { font-size: 14px; color: var(--muted-light); display: flex; gap: 8px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--white { background: var(--white); }
.section--red { background: var(--accent); color: #fff; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { margin-top: 18px; }
.section-head .lead { justify-self: end; }
.section--dark .lead, .on-dark .lead { color: rgba(255, 255, 255, .65); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 28px 0; background: var(--accent); color: #fff;
  border-block: 1px solid rgba(255, 255, 255, .15);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 48px; white-space: nowrap;
  font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.035em;
}
.marquee span .serif { font-weight: 400; }
.marquee span::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / statement ---------- */
.statement {
  font-size: clamp(28px, 3.8vw, 54px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12;
  max-width: 1100px;
}
.statement .serif { color: var(--accent); }
.statement .fade-word { opacity: .15; transition: opacity .4s; }
.statement .fade-word.lit { opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stat .num sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.stat .label { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 220px; }
.section--dark .stats { border-color: var(--line-light); }
.section--dark .stat { border-color: var(--line-light); }
.section--dark .stat .label { color: var(--muted-light); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 34px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(46, 91, 255, .1), transparent 45%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46, 91, 255, .25); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 28px;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.card:hover .icon { background: var(--accent); color: #fff; transform: rotate(-8deg) scale(1.05); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card .card-foot { margin-top: auto; padding-top: 28px; }
.card .index { position: absolute; top: 30px; right: 32px; font-size: 14px; color: var(--muted-light); font-variant-numeric: tabular-nums; }

.section--dark .card { background: var(--ink-2); border-color: var(--line-light); }
.section--dark .card p { color: var(--muted-light); }
.section--dark .card .icon { background: rgba(46, 91, 255, .15); }

/* Feature card (large, image-like) */
.feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px;
  padding: 40px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff; isolation: isolate;
}
.feature-card .art { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease); }
.feature-card:hover .art { transform: scale(1.06); }
.feature-card h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.feature-card p { color: rgba(255, 255, 255, .72); max-width: 440px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .tall { grid-row: span 2; }
.bento .card--red { background: var(--accent); color: #fff; border-color: transparent; }
.bento .card--red p { color: rgba(255, 255, 255, .85); }
.bento .card--red .icon { background: rgba(255, 255, 255, .18); color: #fff; }
.bento .card--ink { background: var(--ink); color: #fff; border-color: transparent; }
.bento .card--ink p { color: var(--muted-light); }
.bento .card--ink .icon { background: rgba(255, 255, 255, .08); color: #fff; }
.big-word { font-size: clamp(54px, 7vw, 104px); font-weight: 600; letter-spacing: -0.055em; line-height: .9; margin-bottom: 18px; }

/* ---------- Split layout ---------- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-layout--top { align-items: start; }
.sticky { position: sticky; top: 120px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist .tick {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--accent); color: var(--accent); transition: background .4s, color .4s;
}
.checklist li:hover .tick { background: var(--accent); color: #fff; }
.checklist h4 { font-size: 20px; letter-spacing: -0.02em; margin: 8px 0 6px; }
.checklist p { color: var(--muted); margin: 0; }
.section--dark .checklist li { border-color: var(--line-light); }
.section--dark .checklist p { color: var(--muted-light); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 28px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); font-weight: 600; font-size: 18px;
  position: relative; z-index: 1; margin-bottom: 28px; transition: background .4s, color .4s, border-color .4s;
}
.step:hover::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.step::after {
  content: ""; position: absolute; top: 32px; left: 64px; right: 0; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); opacity: .3;
}
.step:last-child::after { display: none; }
.step h4 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
.section--white .step::before { background: #fff; }

/* ---------- Programs ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-weight: 500; font-size: 15px; color: var(--ink-3); transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.program-list { border-top: 1px solid var(--line); }
.program {
  display: grid; grid-template-columns: 120px 1.2fr 1.5fr 48px; gap: 28px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .5s var(--ease);
}
.program::before {
  content: ""; position: absolute; inset: 0 -9999px; background: var(--white); z-index: -1;
  opacity: 0; transition: opacity .4s;
}
.program:hover { padding-left: 16px; }
.program:hover::before { opacity: 1; }
.program .level {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.program h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.program p { margin: 0; color: var(--muted); font-size: 16px; }
.program .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); font-weight: 500; }
.program .go {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: all .4s var(--ease);
}
.program:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.program.hidden { display: none; }
.programs-wrap { position: relative; z-index: 0; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 28px 60px 28px 0; position: relative;
  font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px;
  border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent-soft); }
.faq .answer { padding: 0 60px 28px 0; color: var(--muted); max-width: 760px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46, 91, 255, .12);
}
.form-note { font-size: 14px; color: var(--muted); }
.form-success {
  display: none; padding: 40px; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center;
}
.form-success.show { display: block; animation: pop .6s var(--ease); }
.form-success .icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.section--white .panel { background: var(--paper); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; }
.contact-list li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 3px; }
.contact-list .v { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.contact-list a.v:hover { color: var(--accent); }

/* ---------- Globe ---------- */
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-left: auto; }
.globe-wrap canvas { width: 100%; height: 100%; }
.globe-wrap .ring {
  position: absolute; inset: 4%; border-radius: 50%; border: 1px solid var(--line-light);
}

/* ---------- Quote / big CTA ---------- */
.cta-block {
  position: relative; border-radius: calc(var(--radius) * 1.6); overflow: hidden;
  padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px);
  background: var(--accent); color: #fff; isolation: isolate;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .25), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0, 0, 0, .3), transparent 60%);
}
.cta-block .bg-cross {
  position: absolute; right: -6%; top: 50%; width: clamp(260px, 38vw, 520px); transform: translateY(-50%) rotate(12deg);
  opacity: .14; z-index: -1; animation: slowspin 40s linear infinite;
}
@keyframes slowspin { to { transform: translateY(-50%) rotate(372deg); } }
.cta-block h2 { max-width: 800px; margin-bottom: 24px; }
.cta-block p { max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 19px; margin-bottom: 36px; }
.cta-block .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Values (about) ---------- */
.value-row {
  display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 30px; align-items: baseline;
  padding: 40px 0; border-top: 1px solid var(--line-light); transition: padding .5s var(--ease);
}
.value-row:last-child { border-bottom: 1px solid var(--line-light); }
.value-row:hover { padding-left: 14px; }
.value-row .n { font-size: 15px; color: var(--accent); font-weight: 600; }
.value-row h3 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.045em; transition: color .4s; }
.value-row:hover h3 { color: var(--accent); }
.value-row p { color: var(--muted-light); margin: 0; font-size: 18px; }

.mv-card { padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; }
.mv-card.light { background: var(--white); border: 1px solid var(--line); }
.mv-card.dark { background: var(--ink); color: #fff; }
.mv-card .tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.mv-card p { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -0.025em; margin: 40px 0 0; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 100px 0 36px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 70px; }
.footer-brand .mark { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-brand .mark svg { width: 44px; height: 44px; }
.footer-brand .mark b { font-size: 26px; letter-spacing: -0.03em; }
.footer-brand .mark small { display: block; font-size: 11px; letter-spacing: .16em; color: var(--muted-light); font-weight: 600; margin-top: 2px; }
.footer-brand p { color: var(--muted-light); max-width: 340px; }
.footer-col h5 { margin: 0 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .85); transition: color .3s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-giant {
  font-size: clamp(64px, 17vw, 260px); font-weight: 600; letter-spacing: -0.065em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
  white-space: nowrap; user-select: none; margin: 0 0 30px -0.04em;
}
.footer-giant span { color: var(--accent); -webkit-text-stroke: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line-light); color: var(--muted-light); font-size: 14px;
}
.footer-bottom a:hover { color: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 22px; max-width: 360px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 15px;
}
.newsletter input:focus { outline: 0; border-color: var(--accent); }
.newsletter button { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.newsletter button:hover { transform: rotate(-45deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 1; }
  .bento .span-4 { grid-column: span 2; }
  .bento .tall { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .step:nth-child(2)::after { display: none; }
  .hero-cross { opacity: .45; right: -6vw; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .section-head, .split-layout, .hero-bottom { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .hero-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 16px 20px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 20px !important; }
  .section--dark .stat { border-color: var(--line-light); }
  .program { grid-template-columns: 1fr 48px; gap: 12px; }
  .program .level { grid-column: 1 / -1; }
  .program > div:nth-of-type(2) { grid-column: 1 / -1; order: 3; }
  .value-row { grid-template-columns: 1fr; gap: 10px; }
  .sticky { position: static; }
  .globe-wrap { margin: 0 auto; }
  .contact-list li { grid-template-columns: 1fr; gap: 6px; }
  .hero-cross { top: 120px; transform: none; width: 220px; right: -40px; opacity: .35; }
}
@media (max-width: 600px) {
  .cards, .cards--2, .cards--4, .bento { grid-template-columns: 1fr; }
  .bento .span-4 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  .feature-card { min-height: 380px; padding: 28px; }
  .site-header .bar { padding-left: 16px; }
  .logo img { height: 32px; }
  .faq summary, .faq .answer { padding-right: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > *, .split .w > span { opacity: 1 !important; transform: none !important; }
  .statement .fade-word { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   v2 — neutral global identity, institutions, map
   ========================================================================== */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font-size: 21px; letter-spacing: -0.04em; font-weight: 700; line-height: 1; display: block; }
.brand small { display: block; font-size: 9.5px; letter-spacing: .16em; font-weight: 600; color: var(--muted); margin-top: 3px; }
.site-footer .brand small { color: var(--muted-light); }
.site-footer .brand svg { width: 44px; height: 44px; }
.site-footer .brand b { font-size: 26px; }

.hero h1 .serif, .page-hero h1 .serif {
  background: linear-gradient(100deg, #6E8BFF, #A08BFF 60%, #6E8BFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero-globe {
  position: absolute; right: -4vw; top: 50%; width: min(60vw, 800px); aspect-ratio: 1;
  transform: translateY(-56%); pointer-events: none;
}
.hero-globe canvas { width: 100%; height: 100%; }
@media (max-width: 1080px) { .hero-globe { opacity: .55; right: -20vw; width: 90vw; } }
@media (max-width: 820px) { .hero-globe { top: 70px; transform: none; width: 120vw; right: -45vw; opacity: .45; } }

.cta-block { background: linear-gradient(135deg, var(--accent) 0%, #4B3BFF 55%, var(--violet) 100%); }
.cta-block .bg-orbits {
  position: absolute; right: -8%; top: 50%; width: clamp(300px, 44vw, 620px); aspect-ratio: 1;
  margin-top: calc(clamp(300px, 44vw, 620px) / -2); z-index: -1; opacity: .35; animation: spin 80s linear infinite;
}

/* Institutions strip */
.logo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  min-height: 190px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.logo-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46, 91, 255, .3); }
.logo-tile .logo-box { height: 64px; display: flex; align-items: center; }
.logo-tile .logo-box img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile .where { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.logo-tile .where b { color: var(--ink); font-weight: 600; }
.badge-soon {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}

/* Interactive map */
.map-shell {
  display: grid; grid-template-columns: 380px 1fr; border-radius: calc(var(--radius) * 1.3); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-light); min-height: 620px;
}
.map-list { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.map-item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: left;
  padding: 14px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: #fff;
  transition: background .3s, border-color .3s;
}
.map-item:hover { background: rgba(255, 255, 255, .04); }
.map-item.active { background: rgba(46, 91, 255, .16); border-color: rgba(46, 91, 255, .55); }
.map-item .pin {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); font-weight: 700; font-size: 12px; letter-spacing: -0.01em;
}
.map-item.active .pin { background: var(--accent); }
.map-item .t { font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.map-item .s { font-size: 13.5px; color: var(--muted-light); margin-top: 2px; }
.map-item .arr { color: var(--muted-light); transition: transform .3s var(--ease); }
.map-item.active .arr { color: #fff; transform: translateX(3px); }
.map-detail { margin-top: 10px; padding: 22px; border-radius: 16px; background: #fff; color: var(--ink); }
.map-detail .logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 14px; }
.map-detail .logos img { max-height: 40px; width: auto; max-width: 150px; }
.map-detail h4 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.map-detail p { color: var(--muted); font-size: 15px; margin: 0 0 14px; line-height: 1.5; }
.map-detail .links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; }
.map-detail .links a { color: var(--accent); }
#map { min-height: 620px; height: 100%; background: #e9eaee; z-index: 0; }
.leaflet-container { font-family: var(--sans); }
.s-marker { position: relative; width: 22px; height: 22px; }
.s-marker::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.3); transition: background .3s, transform .3s; }
.s-marker::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.2s var(--ease) infinite; }
.s-marker.active::before { background: var(--violet); transform: scale(1.25); }
.s-marker.active::after { border-color: var(--violet); }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.leaflet-tooltip.s-tip {
  background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px;
  font-weight: 600; font-size: 13px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
}
.leaflet-tooltip.s-tip::before { display: none; }
.map-fallback { display: grid; place-items: center; height: 100%; min-height: 400px; color: var(--muted); padding: 40px; text-align: center; }

/* Institutions page */
.inst { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 80px); padding: 64px 0; border-top: 1px solid var(--line); align-items: start; }
.inst:last-child { border-bottom: 1px solid var(--line); }
.inst .logo-panel {
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 12%; position: relative;
}
.inst .logo-panel img { max-height: 120px; width: auto; max-width: 100%; }
.inst h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 14px 0 16px; }
.inst .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 26px 0; }
.inst .facts div { background: var(--paper); padding: 16px 18px; }
.inst .facts span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.inst .facts b { font-weight: 600; font-size: 15.5px; }
.inst .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Programs: levels + by institution */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.level-card { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-light); display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); }
.level-card:hover { border-color: rgba(46, 91, 255, .6); transform: translateY(-4px); }
.level-card .n { font-size: 13px; color: #8FA6FF; font-weight: 600; }
.level-card h3 { font-size: 22px; letter-spacing: -0.025em; margin: 30px 0 10px; }
.level-card p { color: var(--muted-light); font-size: 15px; margin: 0; }
.level-card .count { margin-top: auto; padding-top: 18px; font-size: 13px; color: #fff; opacity: .8; }
.school-block { margin-top: 64px; }
.school-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; }
.school-head .id { display: flex; align-items: center; gap: 20px; }
.school-head .id img { height: 46px; width: auto; max-width: 160px; object-fit: contain; }
.school-head h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.school-head .loc { font-size: 14px; color: var(--muted); margin-top: 3px; }
.program-note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.school-block.hidden-all { display: none; }
.empty-note { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

@media (max-width: 1080px) {
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(3, 1fr); }
  .map-shell { grid-template-columns: 1fr; }
  .map-shell #map { min-height: 420px; order: -1; }
}
@media (max-width: 820px) {
  .inst { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr 1fr; }
  .inst .facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo-strip { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .map-shell #map { min-height: 340px; }
}

/* v2 fixes */
.hero h1 .serif, .page-hero h1 .serif { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #8FA6FF; }
.map-item .t, .map-item .s { display: block; }
#map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9) sepia(.15) hue-rotate(190deg) saturate(1.6); }
#map { background: #1a1b22; }
.hero-globe { width: min(50vw, 680px); right: 0; transform: translateY(-50%); }
@media (max-width: 1080px) { .hero-globe { opacity: .55; right: -18vw; width: 80vw; } }
@media (max-width: 820px) { .hero-globe { top: 70px; transform: none; width: 110vw; right: -40vw; opacity: .45; } }
