/* TEAM U.S.V.I. — global styles */

:root {
  /* Brand (sampled from the TEAM logo) */
  --sky-50: #ecf8fd;
  --sky-100: #d3eefa;
  --sky-400: #3dbbea;
  --sky-500: #1ea4dc;   /* logo ring */
  --sky-700: #0b6f9c;   /* AA on white for text */
  --navy-700: #29466e;
  --navy-800: #1f3656;
  --navy-900: #172a45;  /* logo lettering */
  --navy-950: #0e1c31;
  --orange-500: #f47a20; /* logo orange */
  --orange-600: #d9600b;
  --orange-700: #b54c05; /* AA on white for text */
  --sun-300: #ffe066;
  --sun-400: #fcd22a;    /* logo yellow */
  --sand-50: #fffaf1;

  --ink: #13233a;
  --text: #33425a;
  --muted: #5d6a7e;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max-width: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 28, 49, .06), 0 2px 8px rgba(14, 28, 49, .05);
  --shadow-md: 0 16px 36px -16px rgba(14, 28, 49, .3);
  --shadow-lg: 0 30px 70px -24px rgba(14, 28, 49, .42);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.015em; line-height: 1.2; }
h4 { font-size: 18px; letter-spacing: 0; line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--sky-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
strong { color: var(--ink); font-weight: 700; }

.hl { color: var(--orange-600); }
.section-dark .hl, .on-dark .hl { color: var(--sun-400); }

:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; }

.section { padding: clamp(68px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 76px) 0; }
.section-soft { background: var(--bg-soft); }
.section-sand { background: var(--sand-50); }
.section-dark { background: var(--navy-900); color: #c3cfe0; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--sky-500) 0 50%, var(--sun-400) 50%);
}
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--sun-400); }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); }
.section-dark .lead, .on-dark .lead { color: #c3cfe0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(217, 96, 11, .8); }
.btn-primary:hover { background: var(--orange-700); color: #fff; }
.btn-sky { background: var(--sky-700); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 111, 156, .8); }
.btn-sky:hover { background: var(--navy-800); color: #fff; }
.btn-sun { background: var(--sun-400); color: var(--navy-950); }
.btn-sun:hover { background: var(--sun-300); color: var(--navy-950); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--sky-700); color: var(--sky-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: var(--navy-950); }
.btn-white:hover { background: var(--sky-50); color: var(--navy-800); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }

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

[hidden] { display: none !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header::before {
  /* thin brand stripe */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--sky-500) 0 33%, var(--sun-400) 33% 66%, var(--orange-500) 66%);
}
.site-header.is-solid { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 28, 49, .5); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 60px; width: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-700); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
  position: relative;
  padding: 10px 12px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.site-nav a:not(.btn):hover { color: var(--sky-700); background: var(--sky-50); }
.site-nav a[aria-current="page"] { color: var(--sky-700); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 3px; border-radius: 3px; background: var(--sun-400);
}
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--sky-50); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(14, 28, 49, .35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .site-nav a:not(.btn) { padding: 13px 12px; font-size: 18px; }
  .site-nav a[aria-current="page"]::after { left: 12px; right: auto; width: 24px; bottom: 7px; }
  .site-nav .btn { margin: 12px 0 0; }
}

@media (max-width: 480px) {
  :root { --header-h: 70px; }
  .brand img { height: 48px; width: 48px; }
  .brand-text b { font-size: 19px; }
  .brand-text small { font-size: 10.5px; letter-spacing: .1em; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-end;
  padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 7vw, 88px);
  color: #fff;
}
.hero > img:not(.badge) {
  /* taller than the hero and pinned to the bottom, so the top of the photo is trimmed */
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -2;
  width: 100%; height: 114%; object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 28, 49, .25) 0%, rgba(14, 28, 49, .35) 35%, rgba(14, 28, 49, .88) 100%),
    linear-gradient(90deg, rgba(14, 28, 49, .55), rgba(14, 28, 49, 0) 70%);
}
.hero h1 { color: #fff; max-width: 900px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { color: #e3ebf5; max-width: 680px; margin-bottom: 30px; }
.hero .badge {
  position: absolute; right: var(--gutter); top: clamp(24px, 4vw, 48px);
  width: clamp(110px, 14vw, 170px); height: auto; border-radius: 50%; z-index: 1;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.35));
}
@media (max-width: 640px) { .hero .badge { display: none; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(56px, 7vw, 84px);
  background: var(--navy-900); color: #fff;
}
.page-hero > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 28, 49, .9) 0%, rgba(14, 28, 49, .72) 50%, rgba(14, 28, 49, .35) 100%);
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #dbe5f1; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--sun-400); }
@media (max-width: 700px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(14, 28, 49, .7) 0%, rgba(14, 28, 49, .88) 100%); }
}

/* ---------- T · E · A · M tiles ---------- */

.team-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: calc(clamp(40px, 5vw, 64px) * -1);
  position: relative; z-index: 2;
}
.tile {
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.tile .letter {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1;
  margin-bottom: 16px; color: #fff;
}
.tile:nth-child(1) .letter { background: var(--sky-500); }
.tile:nth-child(2) .letter { background: var(--sun-400); color: var(--navy-950); }
.tile:nth-child(3) .letter { background: var(--orange-500); }
.tile:nth-child(4) .letter { background: var(--navy-900); }
.tile h3 { font-size: 21px; margin-bottom: 6px; }
.tile p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) { .team-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-tiles { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.split-media .chip {
  position: absolute; left: -14px; bottom: 28px;
  padding: 14px 18px; border-radius: 16px; background: var(--sun-400); color: var(--navy-950);
  font-family: var(--font-display); font-weight: 700; line-height: 1.2; box-shadow: var(--shadow-md);
  max-width: 220px;
}
.split-media .chip b { display: block; font-size: 30px; font-weight: 800; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .chip { left: 12px; }
}

/* ---------- Program cards (home) ---------- */

.program-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.program-card {
  grid-column: span 2;
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.program-card:nth-child(4), .program-card:nth-child(5) { grid-column: span 3; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.program-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.program-card .logo-wrap { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--sky-50); }
.program-card .logo-wrap img { width: auto; height: 86%; aspect-ratio: 1; object-fit: cover; clip-path: circle(46.5%); }
.program-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.program-card h3 { margin-bottom: 8px; }
.program-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.program-card .link-arrow { margin-top: auto; color: var(--sky-700); }
@media (max-width: 960px) {
  .program-grid { grid-template-columns: 1fr 1fr; }
  .program-card, .program-card:nth-child(4), .program-card:nth-child(5) { grid-column: span 1; }
  .program-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .program-card:nth-child(5) { flex-direction: row; }
  .program-card:nth-child(5) .logo-wrap { width: 46%; aspect-ratio: auto; min-height: 240px; }
  .program-card:nth-child(5) .logo-wrap img { height: auto; width: 72%; }
  .program-card:nth-child(5) .body { justify-content: center; }
}
@media (max-width: 600px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-card:nth-child(5) { grid-column: auto; }
}

/* ---------- Stats ---------- */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat { padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--sun-400); line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: 15px; color: #c3cfe0; line-height: 1.45; display: block; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Image band (harbor) ---------- */

.image-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0; color: #fff;
}
.image-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.image-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 28, 49, .92) 0%, rgba(14, 28, 49, .75) 55%, rgba(14, 28, 49, .3) 100%);
}
.image-band h2 { color: #fff; max-width: 640px; }
.image-band p { max-width: 600px; color: #dbe5f1; font-size: 18px; }
@media (max-width: 700px) {
  .image-band::before { background: rgba(14, 28, 49, .82); }
}

/* ---------- Partners ---------- */

.partner-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.partner-logo {
  display: grid; place-items: center; min-height: 140px; padding: 22px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
}
.partner-logo img { max-height: 90px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 860px) { .partner-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .partner-logo { min-height: 110px; padding: 16px; } .partner-logo img { max-height: 70px; } }

.partner-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.partner .logo { display: grid; place-items: center; height: 200px; padding: 28px; background: #fff; border-bottom: 1px solid var(--line); }
.partner .logo img { max-height: 140px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.partner .body { padding: 20px 24px; }
.partner h3 { font-size: 20px; margin: 0; }
@media (max-width: 700px) { .partner-list { grid-template-columns: 1fr; } .partner .logo { height: 170px; } }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 72px);
  background: var(--sky-700);
  color: #e1f2fb;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -130px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun-300), var(--sun-400) 55%, #e6b800 85%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -130px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 6px solid transparent; border-left-color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.85);
  transform: rotate(-20deg) scale(.8);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 560px; font-size: 18px; }
.cta-band .btn-row { position: relative; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band::before, .cta-band::after { width: 200px; height: 200px; right: -80px; top: auto; bottom: -100px; }
}

/* ---------- About ---------- */

.mission {
  position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: var(--sand-50); border: 1px solid #f3e6cc;
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink);
}
.mission p:last-child { margin: 0; }

.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.founder {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.founder .initials {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; background: var(--sky-500);
  margin-bottom: 18px;
}
.founder:nth-child(2) .initials { background: var(--orange-500); }
.founder:nth-child(3) .initials { background: var(--navy-900); }
.founder h3 { margin-bottom: 4px; }
.founder .role { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 14px; }
.founder p { font-size: 16px; }
.founder p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .founders { grid-template-columns: 1fr; max-width: 680px; } }

.highlight {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px 26px; border-radius: var(--radius); background: var(--navy-900); color: #c3cfe0;
}
.highlight .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sun-400); color: var(--navy-950); }
.highlight .icon svg { width: 24px; height: 24px; }
.highlight p { margin: 0; }
.highlight strong { color: #fff; }

/* ---------- Programs page ---------- */

.sub-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.sub-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.sub-nav ul::-webkit-scrollbar { display: none; }
.sub-nav a {
  display: block; padding: 16px 14px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--muted); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.sub-nav a:hover, .sub-nav a.is-active { color: var(--ink); border-color: var(--sun-400); }

.program {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.program:first-of-type { border-top: 0; }
.program.reverse .program-media { order: 2; }
.program-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.program-media.logo-media { display: grid; place-items: center; aspect-ratio: 4 / 3.2; border-radius: var(--radius); background: var(--sky-50); }
.program-media.logo-media img { width: auto; height: 84%; aspect-ratio: 1; object-fit: cover; clip-path: circle(46.5%); }
.program .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: var(--sky-50); color: var(--sky-700);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px;
}
.program .tag svg { width: 16px; height: 16px; }
.program h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.program .note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--sand-50); border: 1px solid #f3e6cc; color: var(--ink); font-size: 15.5px; margin-bottom: 24px;
}
.program .note svg { width: 20px; height: 20px; margin-top: 3px; color: var(--orange-600); }
@media (max-width: 900px) {
  .program { grid-template-columns: 1fr; }
  .program.reverse .program-media { order: 0; }
}

/* ---------- Registration ---------- */

.focus-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.focus-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.3;
}
.focus-list svg { width: 22px; height: 22px; color: var(--sky-700); }
@media (max-width: 560px) { .focus-list { grid-template-columns: 1fr; } }

.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.commit div { padding: 24px; border-radius: var(--radius-sm); text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.commit b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--sun-400); }
.commit span { font-size: 15px; }
@media (max-width: 640px) { .commit { grid-template-columns: 1fr; } }

/* ---------- Board ---------- */

.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-align: center;
}
.member .initials {
  display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--navy-900);
  background: var(--sky-50); border: 4px solid var(--sky-500);
}
.member.founder-m .initials { border-color: var(--orange-500); background: #fff3e8; }
.member h3 { font-size: 20px; margin-bottom: 6px; }
.member p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-700); }
.member.founder-m p { color: var(--orange-700); }
@media (max-width: 1000px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .board-grid { grid-template-columns: 1fr; } }

/* ---------- Support / donate ---------- */

.donate-card {
  padding: clamp(28px, 4vw, 44px); border-radius: calc(var(--radius) + 4px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); text-align: center;
}
.donate-card .icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #fff3e8; color: var(--orange-600); }
.donate-card .icon svg { width: 30px; height: 30px; }
.donate-card p { color: var(--muted); }
.donate-card small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { padding: 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.way svg { width: 28px; height: 28px; color: var(--sky-700); margin-bottom: 12px; }
.way h3 { font-size: 19px; margin-bottom: 6px; }
.way p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-sm); background: #fff3e8; border: 1px solid #fbd9bd;
  color: var(--ink); font-size: 16px; margin: 24px 0;
}
.callout svg { width: 24px; height: 24px; color: var(--orange-600); margin-top: 2px; }
.callout p { margin: 0; }

.contact-methods { display: grid; gap: 12px; margin: 24px 0 0; }
.contact-method {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  text-decoration: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
a.contact-method:hover { border-color: var(--sky-700); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-method .icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sky-50); color: var(--sky-700); }
.contact-method .icon svg { width: 22px; height: 22px; }
.contact-method small { display: block; color: var(--muted); font-size: 13.5px; }
.contact-method b { font-family: var(--font-display); font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }

.form-card {
  padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 4px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(26px, 3vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky-700); background: #fff; box-shadow: 0 0 0 4px rgba(30, 164, 220, .16);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 42px;
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; min-width: 200px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--sky-50); color: var(--navy-800); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; background: var(--navy-950); color: #9fb0c8; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15.5px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--sky-500) 0 33%, var(--sun-400) 33% 66%, var(--orange-500) 66%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; background: #fff; margin-bottom: 18px; }
.footer-brand .tagline { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: #fff; margin-bottom: 16px; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd6e5; text-decoration: none; }
.site-footer a:hover { color: var(--sun-400); }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer address strong { color: #fff; font-weight: 700; display: block; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, color .2s;
}
.socials a:hover { background: var(--sun-400); color: var(--navy-950); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 404 ---------- */

.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: var(--bg-soft); }
.not-found img { width: 110px; height: 110px; margin: 0 auto 24px; }
.not-found .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 18vw, 180px); line-height: .9; color: var(--sky-500); letter-spacing: -.04em; margin-bottom: 12px; }
.not-found .big span { color: var(--orange-500); }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
