/* ==========================================================================
   IERRTA — Signal & Stillness design system
   Editorial · institutional · not a generic nonprofit template
   ========================================================================== */

:root {
  --ink: #14181f;
  --ink-2: #2c3440;
  --ink-3: #5c6675;
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --paper-3: #ddd5c6;
  --white: #fffcf7;
  --ocean: #0b4f5c;
  --ocean-2: #0e6676;
  --ocean-deep: #073842;
  --signal: #d95d0f;
  --signal-2: #f07a2e;
  --line: rgba(20, 24, 31, 0.1);
  --line-strong: rgba(20, 24, 31, 0.18);
  --shadow: 0 18px 50px rgba(20, 24, 31, 0.08);
  --shadow-lg: 0 30px 80px rgba(20, 24, 31, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max: 1160px;
  --header-h: 76px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(11, 79, 92, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(217, 93, 15, 0.05), transparent 45%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid rgba(11, 79, 92, 0.35); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* Skip */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: var(--white); padding: 10px 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(244, 240, 232, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(20,24,31,0.06); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}

.brand {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.brand img {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 6px 18px rgba(11,79,92,0.18);
}
.brand-text strong {
  display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--ocean-deep);
}
.brand-text span {
  display: block; font-size: 0.68rem; color: var(--ink-3); font-weight: 600;
  letter-spacing: 0.02em; max-width: 220px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.nav-toggle {
  display: none; border: 1px solid var(--line-strong); background: var(--white);
  border-radius: 999px; width: 44px; height: 44px; cursor: pointer;
  color: var(--ink); font-size: 1.1rem;
}

.site-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  display: inline-flex; align-items: center; padding: 8px 11px;
  font-size: 0.82rem; font-weight: 650; color: var(--ink-2);
  border-radius: 999px; transition: 0.2s var(--ease);
}
.site-nav a:hover { background: rgba(11,79,92,0.08); color: var(--ocean-deep); }
.site-nav a.active { background: var(--ocean); color: var(--white); }
.site-nav a.nav-cta {
  margin-left: 6px; background: var(--signal); color: #fff;
  box-shadow: 0 8px 20px rgba(217,93,15,0.25);
}
.site-nav a.nav-cta:hover { background: var(--signal-2); color: #fff; }

/* ===================== Type / UI ===================== */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocean);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 18px; height: 1.5px; background: var(--signal);
}

h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2); line-height: 1.7; max-width: 42rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid transparent; cursor: pointer; transition: 0.22s var(--ease);
  line-height: 1.1; text-align: center;
}
.btn-primary {
  background: var(--ocean); color: #fff; border-color: var(--ocean);
  box-shadow: 0 12px 28px rgba(11,79,92,0.22);
}
.btn-primary:hover { background: var(--ocean-2); transform: translateY(-1px); }
.btn-signal {
  background: var(--signal); color: #fff; border-color: var(--signal);
  box-shadow: 0 12px 28px rgba(217,93,15,0.25);
}
.btn-signal:hover { background: var(--signal-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--ink-3); }
.btn-light {
  background: var(--white); color: var(--ocean-deep); border-color: transparent;
}
.btn-light:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 0.82rem; }

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

/* ===================== Hero ===================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
}
.hero-cinema {
  position: relative;
  min-height: min(86vh, 780px);
  display: grid; align-items: end;
  padding: 0;
  color: #fff;
}
.hero-cinema .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-cinema .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 20, 26, 0.92) 0%, rgba(8, 20, 26, 0.72) 42%, rgba(8, 20, 26, 0.35) 100%),
    linear-gradient(to top, rgba(8, 18, 22, 0.75), transparent 45%);
}
.hero-cinema .container {
  position: relative; z-index: 1;
  padding: clamp(100px, 14vh, 140px) 0 clamp(48px, 7vh, 72px);
}
.hero-cinema h1 { color: #fff; max-width: 14ch; }
.hero-cinema .lead { color: rgba(255,255,255,0.88); }
.hero-cinema .kicker { color: #9fd5df; }
.hero-cinema .kicker::before { background: var(--signal-2); }
.hero-cinema .trust-strip {
  border-top-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.75);
}
.hero-cinema .pill {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: #fff;
}
.hero-cinema .trust-strip a { color: #9fd5df; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end;
}
.full-bleed-photo {
  position: relative; min-height: 420px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.full-bleed-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.full-bleed-photo .overlay-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px;
  background: linear-gradient(transparent, rgba(8,18,22,0.9)); color: #fff;
}
.full-bleed-photo .overlay-copy h3 {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 8px;
}
.full-bleed-photo .overlay-copy p { color: rgba(255,255,255,0.82); max-width: 40rem; font-size: 0.95rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin-bottom: 18px; max-width: 11ch;
}
.hero h1 em {
  font-style: italic; color: var(--ocean);
}
.hero .lead { margin-bottom: 28px; }
.hero-panel {
  position: relative;
  background: linear-gradient(165deg, var(--ocean-deep), var(--ocean) 55%, #146978);
  color: #e9f5f7;
  border-radius: 28px;
  padding: 28px 26px 24px;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(240,122,46,0.35), transparent 40%),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  opacity: 0.55; pointer-events: none;
}
.hero-panel-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }
.hero-panel .tag {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.8; margin-bottom: 18px;
}
.hero-panel h2 {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff; margin-bottom: 12px; max-width: 14ch;
}
.hero-panel p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: auto; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px;
}
.hero-metrics div {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 12px 10px;
}
.hero-metrics strong {
  display: block; font-size: 1.05rem; color: #fff; font-weight: 800; margin-bottom: 2px;
}
.hero-metrics span { font-size: 0.7rem; color: rgba(255,255,255,0.7); line-height: 1.3; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--ink-3); font-weight: 600;
}
.trust-strip a { color: var(--ocean); text-decoration: underline; text-underline-offset: 3px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; color: var(--ink-2);
}

/* ===================== Sections ===================== */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: 40px 0; }
.section-dark {
  background: linear-gradient(180deg, var(--ocean-deep), #0a2f38);
  color: #e8f2f4;
}
.section-dark h2, .section-dark .display { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .kicker { color: #8fd0dc; }
.section-dark .kicker::before { background: var(--signal-2); }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: end; margin-bottom: 36px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.section-head .lead { margin: 0; }

.band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

/* Bento / cards */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile.span-4 { grid-column: span 4; }
.tile.span-5 { grid-column: span 5; }
.tile.span-6 { grid-column: span 6; }
.tile.span-7 { grid-column: span 7; }
.tile.span-8 { grid-column: span 8; }
.tile.span-12 { grid-column: span 12; }
.tile.ocean {
  background: linear-gradient(145deg, var(--ocean-deep), var(--ocean));
  color: #fff; border: none;
}
.tile.ocean p { color: rgba(255,255,255,0.82); }
.tile.ocean h3 { color: #fff; }
.tile.signal {
  background: linear-gradient(145deg, #b84a08, var(--signal));
  color: #fff; border: none;
}
.tile .num {
  font-family: var(--mono); font-size: 0.75rem; color: var(--signal);
  letter-spacing: 0.08em; margin-bottom: 10px; font-weight: 600;
}
.tile.ocean .num, .tile.signal .num { color: rgba(255,255,255,0.7); }
.tile h3 {
  font-family: var(--display); font-size: 1.55rem; font-weight: 400;
  margin-bottom: 8px; line-height: 1.2;
}
.tile p { color: var(--ink-3); font-size: 0.95rem; }
.tile .more {
  display: inline-flex; margin-top: 16px; font-weight: 750; font-size: 0.88rem;
  color: var(--ocean); gap: 6px;
}
.tile.ocean .more, .tile.signal .more { color: #fff; }

/* Split */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { margin: 12px 0 18px; }
.prose li {
  position: relative; padding: 7px 0 7px 22px; color: var(--ink-2); font-size: 0.95rem;
}
.prose li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
}

/* Course / price */
.course-hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0;
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-lg);
}
.course-hero-main { padding: clamp(24px, 4vw, 40px); }
.course-hero-side {
  background: linear-gradient(180deg, var(--ocean-deep), var(--ocean));
  color: #fff; padding: clamp(24px, 4vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.course-hero-side .price {
  font-family: var(--display); font-size: 4rem; line-height: 1; color: #fff;
}
.course-hero-side .price small {
  font-family: var(--font); font-size: 1rem; font-weight: 700; opacity: 0.75;
}
.course-list { display: grid; gap: 8px; margin: 18px 0 22px; }
.course-list li {
  padding: 10px 12px; border-radius: 12px; background: var(--paper);
  font-size: 0.9rem; color: var(--ink-2); border: 1px solid transparent;
}
.course-list li strong { color: var(--ink); }

.price-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px 20px; display: flex; flex-direction: column; min-height: 100%;
}
.price-card.featured {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,0.75); }
.price-card .level {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 8px; font-weight: 600;
}
.price-card.featured .level { color: #f5b27a; }
.price-card h3 {
  font-family: var(--display); font-size: 2rem; margin-bottom: 4px;
}
.price-card .tagline { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 14px; }
.price-card .price {
  font-size: 2rem; font-weight: 800; margin-bottom: 4px; color: var(--ocean-deep);
}
.price-card.featured .price { color: #fff; }
.price-card .meta {
  font-size: 0.78rem; color: var(--ink-3); margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.price-card.featured .meta { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }
.price-card ul { flex: 1; margin-bottom: 18px; }
.price-card li {
  font-size: 0.86rem; color: var(--ink-2); padding: 5px 0 5px 14px; position: relative;
}
.price-card li::before {
  content: "–"; position: absolute; left: 0; color: var(--signal); font-weight: 700;
}

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st;
}
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.step::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.78rem; color: var(--signal);
  display: block; margin-bottom: 10px; letter-spacing: 0.08em;
}
.step h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 8px; font-weight: 400; }
.step p { font-size: 0.88rem; color: var(--ink-3); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 750; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-3); font-size: 0.95rem; }

/* Forms */
.form-shell {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 750; margin-bottom: 6px; color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--paper);
  transition: 0.2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--ocean); background: #fff;
  box-shadow: 0 0 0 4px rgba(11,79,92,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status {
  display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 650;
}
.form-status.ok { display: block; background: #e5f6ea; color: #176b3a; }
.form-status.err { display: block; background: #fdecea; color: #a3261b; }

.contact-stack { display: grid; gap: 12px; }
.contact-item {
  display: flex; gap: 14px; padding: 16px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
}
.contact-item .ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(11,79,92,0.1);
  color: var(--ocean); font-weight: 800; font-size: 0.85rem;
}
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: var(--ink-3); }
.contact-item a:hover { color: var(--ocean); }

/* Verify */
.verify-box {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 36px 28px; box-shadow: var(--shadow);
}
.verify-box input {
  width: 100%; margin: 16px 0; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--paper);
  font-family: var(--mono); font-size: 0.88rem; text-align: center;
}
.verify-result {
  display: none; margin-top: 18px; text-align: left; padding: 16px;
  border-radius: 16px; font-size: 0.92rem;
}
.verify-result.show { display: block; }
.verify-result.valid { background: #e5f6ea; border: 1px solid #b7e4c7; }
.verify-result.invalid { background: #fdecea; border: 1px solid #f5c6cb; }
.verify-result h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.verify-result dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; margin-top: 10px; }
.verify-result dt { color: var(--ink-3); font-weight: 650; }
.verify-result dd { font-weight: 700; word-break: break-all; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.news-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.news-card .source {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 8px; font-weight: 600;
}
.news-card h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 8px; font-weight: 400; }
.news-card p { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 10px; }
.news-card a { font-weight: 750; color: var(--ocean); font-size: 0.85rem; }
.news-loading { text-align: center; padding: 40px; color: var(--ink-3); }
.notice {
  padding: 14px 16px; border-radius: 14px; background: rgba(11,79,92,0.08);
  border: 1px solid rgba(11,79,92,0.12); color: var(--ink-2); font-size: 0.92rem;
}
.notice.warn {
  background: rgba(217,93,15,0.08); border-color: rgba(217,93,15,0.18); color: #8a3d08;
}

/* Page banner */
.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 40px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 14px; max-width: 16ch;
}
.page-hero .lead { max-width: 40rem; }

/* CTA */
.cta {
  margin: 0 auto; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(240,122,46,0.35), transparent 35%),
    linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  color: #fff; padding: clamp(36px, 6vw, 56px); text-align: center;
}
.cta h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.82); max-width: 34rem; margin: 0 auto 22px; }
.cta .actions { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.72); padding: 56px 0 0; margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand strong {
  display: block; font-size: 1.3rem; color: #fff; font-weight: 800; margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; max-width: 320px; }
.footer-brand a { color: #9fd5df; }
.footer-brand a:hover { color: #fff; }
.site-footer h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px; font-family: var(--mono); font-weight: 500;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.68); }
.site-footer ul a:hover { color: #fff; }
.footer-note { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.55; margin-top: 12px; }
.footer-bottom {
  padding: 16px 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4);
}

/* Utils */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.zh {
  font-size: 0.92em; color: var(--ink-3); font-weight: 600;
}

/* Donate bars */
.donate-bars { display: grid; gap: 12px; max-width: 480px; }
.donate-bar-row {
  display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center;
}
.donate-bar-row span { font-size: 0.82rem; color: var(--ink-3); font-weight: 650; }
.donate-bar-row strong { text-align: right; font-size: 0.9rem; }
.bar-track { height: 8px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--ocean-deep), var(--signal));
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .section-head, .course-hero, .price-row, .steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .tile.span-4, .tile.span-5, .tile.span-6, .tile.span-7, .tile.span-8 { grid-column: span 6; }
  .brand-text span { max-width: 140px; }
  .hero h1 { max-width: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 12px auto 12px;
    background: rgba(255,252,247,0.97); border: 1px solid var(--line);
    border-radius: 18px; padding: 12px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.25s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { margin-left: 0; justify-content: center; }
  .tile.span-4, .tile.span-5, .tile.span-6, .tile.span-7, .tile.span-8, .tile.span-12 {
    grid-column: span 12;
  }
  .form-row, .hero-metrics { grid-template-columns: 1fr; }
  .hero-panel { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== Media / gallery / video ===================== */
.media-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 10px;
}
.media-card {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); background: var(--ink);
}
.media-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease); display: block;
}
.media-card:hover img { transform: scale(1.04); }
.media-card .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 14px 12px;
  background: linear-gradient(transparent, rgba(10, 18, 22, 0.88));
  color: #fff;
}
.media-card .cap strong {
  display: block; font-size: 0.92rem; font-weight: 750; margin-bottom: 2px;
}
.media-card .cap span {
  font-size: 0.72rem; opacity: 0.8; line-height: 1.35; display: block;
}
.media-card.m-tall { grid-row: span 3; }
.media-card.m-wide { grid-column: span 6; grid-row: span 2; }
.media-card.m-mid { grid-column: span 4; grid-row: span 2; }
.media-card.m-sm { grid-column: span 3; grid-row: span 2; }
.media-card.m-lg { grid-column: span 8; grid-row: span 3; }

.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.video-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.video-frame {
  position: relative; aspect-ratio: 16/9; background: #0a1216;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-card .vbody { padding: 16px 18px 18px; }
.video-card .vbody h3 {
  font-family: var(--display); font-size: 1.35rem; margin-bottom: 6px; font-weight: 400;
}
.video-card .vbody p { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 8px; }
.video-card .vmeta {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--signal); font-weight: 600;
}

.timeline { display: grid; gap: 18px; }
.tl-item {
  display: grid; grid-template-columns: 100px 1fr; gap: 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
.tl-item .tl-year {
  background: var(--ocean-deep); color: #fff;
  display: grid; place-items: center; font-family: var(--display);
  font-size: 1.5rem; padding: 16px 8px; text-align: center;
}
.tl-body { padding: 18px 18px 18px 0; display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.tl-body img {
  width: 100%; height: 120px; object-fit: cover; border-radius: 12px;
}
.tl-body h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 6px; font-weight: 400; }
.tl-body p { font-size: 0.9rem; color: var(--ink-3); }
.credit-line {
  font-size: 0.75rem; color: var(--ink-3); margin-top: 8px;
}
.credit-line a { color: var(--ocean); text-decoration: underline; text-underline-offset: 2px; }

.photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.photo-strip a {
  display: block; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; position: relative; border: 1px solid var(--line);
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip .ps-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-size: 0.78rem; font-weight: 700;
}

@media (max-width: 900px) {
  .media-card.m-wide, .media-card.m-mid, .media-card.m-sm, .media-card.m-lg {
    grid-column: span 6;
  }
  .video-grid, .photo-strip, .tl-body { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 72px 1fr; }
  .tl-body img { height: 160px; }
}
@media (max-width: 640px) {
  .media-card.m-wide, .media-card.m-mid, .media-card.m-sm, .media-card.m-lg, .media-card.m-tall {
    grid-column: span 12;
  }
  .media-mosaic { grid-auto-rows: 140px; }
}
