/* GAME Club: public website styles
   Colours come from the GAME logo: navy #224e71 and butter cream #fffec6. */

:root {
  --bg: #fbfaf3;
  --paper: #ffffff;
  --tint: #f4f2df;
  --line: #e2dfc7;
  --ink: #13283b;
  --ink-2: #3a4b5b;
  --muted: #5b6875;
  --navy: #224e71;
  --navy-2: #2d6593;
  --navy-deep: #173a57;
  --navy-night: #0f2639;
  --butter: #fffec6;
  --butter-2: #f5ec9a;
  --gold: #e2b33f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 40, 59, .06), 0 10px 28px -14px rgba(19, 40, 59, .22);
  --shadow-lg: 0 28px 60px -26px rgba(19, 40, 59, .45);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .35s ease both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); font-variation-settings: "opsz" 72; }
h1 em, h2 em, .h-lg em {
  font-style: italic; font-weight: 400; color: var(--navy-2);
  background: linear-gradient(transparent 62%, rgba(245, 236, 154, .85) 62%, rgba(245, 236, 154, .85) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.1s var(--ease) .25s; padding: 0 .06em;
}
.is-visible em, .anim-done em, .page-hero h1 em, .hero h1 em { background-size: 100% 100%; }
.h-lg { font-size: clamp(1.9rem, 4vw, 2.9rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--butter-2); color: var(--navy-night); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Entrance & scroll animations ---------- */
.anim-in { opacity: 0; animation: fade-up .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.anim-up { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 130ms + 80ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
main { overflow-x: clip; }
@media (max-width: 860px) {
  .js [data-reveal="left"]:not(.is-visible), .js [data-reveal="right"]:not(.is-visible) { transform: translateY(32px); }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite 1s; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-slow { animation: spin 60s linear infinite; }

/* ---------- Scroll progress, back to top ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--navy); color: var(--butter); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top .icon { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-deep); }
.whatsapp-fab ~ .to-top, .whatsapp-fab + .to-top { bottom: 84px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--butter); box-shadow: 0 10px 24px -14px rgba(34, 78, 113, .9); }
.btn-primary:hover { background: var(--navy-deep); color: var(--butter); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--butter); }
.btn-gold, .btn-butter { background: var(--butter); color: var(--navy-night); }
.btn-gold:hover, .btn-butter:hover { background: #fff; color: var(--navy-night); }
.btn-ghost-light { border-color: rgba(255, 254, 198, .6); color: var(--butter); }
.btn-ghost-light:hover { background: var(--butter); color: var(--navy-night); }

.link-arrow { position: relative; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 243, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(19, 40, 59, .5); background: rgba(251, 250, 243, .95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.is-scrolled .header-inner { min-height: 64px; }
.brand img { height: 36px; width: auto; transition: height .3s var(--ease), transform .3s var(--ease); }
.is-scrolled .brand img { height: 30px; }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.nav { display: flex; align-items: center; gap: 16px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav ul a {
  position: relative; display: block; padding: 8px 10px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav ul a:hover { color: var(--navy); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--navy); background: var(--tint); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: .6em 1.15em; font-size: .9rem; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1340px) { .nav-cta { display: none; } }
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--navy); cursor: pointer;
  }
  .burger { position: relative; width: 22px; height: 16px; }
  .burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
  .burger i:nth-child(1) { top: 0; }
  .burger i:nth-child(2) { top: 7px; }
  .burger i:nth-child(3) { top: 14px; }
  .nav-open .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .nav-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .nav-open .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    height: calc(100vh - 64px); height: calc(100dvh - 64px);
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 18px var(--gutter) 32px; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility .5s;
  }
  .nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav ul li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-open .nav ul li { opacity: 1; transform: none; }
  .nav-open .nav ul li:nth-child(1) { transition-delay: .05s; } .nav-open .nav ul li:nth-child(2) { transition-delay: .09s; }
  .nav-open .nav ul li:nth-child(3) { transition-delay: .13s; } .nav-open .nav ul li:nth-child(4) { transition-delay: .17s; }
  .nav-open .nav ul li:nth-child(5) { transition-delay: .21s; } .nav-open .nav ul li:nth-child(6) { transition-delay: .25s; }
  .nav-open .nav ul li:nth-child(7) { transition-delay: .29s; } .nav-open .nav ul li:nth-child(8) { transition-delay: .33s; }
  .nav-open .nav ul li:nth-child(9) { transition-delay: .37s; }
  .nav ul a { font-family: var(--serif); font-size: 1.45rem; padding: 10px 12px; border-radius: 12px; }
  .nav ul a::after { display: none; }
  .nav-cta { display: inline-flex; min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(245, 236, 154, .75), transparent 65%); }
.o2 { width: 380px; height: 380px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(45, 101, 147, .18), transparent 65%); animation-duration: 22s; }
.o3 { width: 220px; height: 220px; left: 42%; top: 12%; background: radial-gradient(circle, rgba(226, 179, 63, .22), transparent 65%); animation-duration: 15s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-stats { display: flex; gap: 12px 44px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font: 500 2.5rem/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) {
  .hero-stats { gap: 12px 22px; }
  .hero-stats dt { font-size: 2rem; }
  .hero-stats dd { font-size: .78rem; line-height: 1.3; }
}

.hero-art { position: relative; justify-self: end; width: min(100%, 480px); }
.arch {
  position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); border: 8px solid var(--paper); background: var(--navy);
}
.carousel .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.carousel .slide.is-active { opacity: 1; z-index: 1; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.carousel .slide.is-active img { animation: kenburns 7.5s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
.carousel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; z-index: 2; background: linear-gradient(transparent, rgba(15, 38, 57, .55)); pointer-events: none; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 30px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dots span { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 254, 198, .4); overflow: hidden; position: relative; }
.carousel-dots span::after { content: ""; position: absolute; inset: 0; background: var(--butter); transform: scaleX(0); transform-origin: 0 50%; }
.carousel-dots [aria-selected="true"] span::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.carousel.is-paused .carousel-dots [aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero-badge {
  position: absolute; left: -11%; bottom: 9%; width: 34%; aspect-ratio: 1; border-radius: 26px; z-index: 4;
  overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); background: var(--navy);
}
.hero-badge img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute; right: -6%; top: 9%; z-index: 4; display: flex; align-items: center; gap: 12px; max-width: 250px;
  background: var(--navy); color: var(--butter); padding: 12px 16px; border-radius: 16px; text-decoration: none;
  box-shadow: var(--shadow-lg); transition: background .2s;
}
.hero-note:hover { background: var(--navy-deep); color: var(--butter); }
.hero-note .icon { color: var(--gold); width: 22px; height: 22px; animation: spin 10s linear infinite; }
.hero-note strong { display: block; font: 600 .9rem/1.25 var(--sans); }
.hero-note small { display: block; font-size: .8rem; opacity: .85; line-height: 1.3; }
.hero-note.is-changing span { animation: note-swap .6s var(--ease); }
@keyframes note-swap { 0% { opacity: 1; transform: none; } 40% { opacity: 0; transform: translateY(6px); } 60% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(34, 78, 113, .35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; width: min(84%, 400px); margin-top: 8px; }
  .hero-badge { left: -8%; }
  .hero-note { right: -6%; max-width: 210px; }
  .scroll-cue { display: none; }
}

/* ---------- University logo marquee ---------- */
.logos { padding: 30px 0 34px; border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.logos-title { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 var(--gutter) 20px; font-weight: 600; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee calc(var(--items, 8) * 3.4s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-held .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.logos .marquee-track li { display: flex; align-items: center; gap: 14px; padding: 0 clamp(22px, 3.4vw, 44px); }
.logos .marquee-track img { height: clamp(52px, 6.5vw, 70px); width: auto; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logos .marquee-track span { font-weight: 600; font-size: .92rem; color: var(--ink-2); white-space: nowrap; opacity: .8; }
.logos .marquee-track li:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .logos .marquee-track span { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 108px) 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-deep); color: #dbe5ee; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em, .section-dark .h-lg em { color: var(--butter); background-image: linear-gradient(transparent 62%, rgba(226, 179, 63, .35) 62%, rgba(226, 179, 63, .35) 92%, transparent 92%); }
.section-dark .eyebrow { color: var(--butter-2); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head.is-center { text-align: center; margin-inline: auto; }
.section-head.is-center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.section-head .lead { margin: 0; }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-row .section-head { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 220px 220px var(--radius) var(--radius); border: 2px solid var(--butter-2); z-index: -1; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media::before { inset: 12px -10px -12px 10px; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--butter); color: var(--navy); margin-bottom: 18px; transition: transform .45s var(--ease), background .3s, color .3s; }
.pillar:hover .pillar-icon { transform: rotate(-8deg) scale(1.08); background: var(--navy); color: var(--butter); }
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 38, 57, .35)); opacity: 0; transition: opacity .4s; }
.card:hover .card-media::after { opacity: 1; }
.chip {
  position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(15, 38, 57, .82); color: var(--butter);
  font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.date-badge {
  position: absolute; right: 14px; top: 14px; z-index: 1; display: flex; flex-direction: column; align-items: center;
  min-width: 58px; padding: 8px 6px 7px; border-radius: 14px; background: var(--butter); color: var(--navy-night);
  font: 600 .74rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--shadow);
}
.date-badge b { font: 600 1.5rem/1 var(--serif); letter-spacing: 0; }
.date-badge small { font-size: .65rem; opacity: .75; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 24px; flex: 1; }
.card-body h3 { font-size: 1.4rem; margin: 2px 0 6px; }
.card-body h3 a { color: inherit; text-decoration: none; background: linear-gradient(var(--butter-2), var(--butter-2)) no-repeat 0 92% / 0 35%; transition: background-size .45s var(--ease); }
.card:hover .card-body h3 a { background-size: 100% 35%; }
.card-body p { color: var(--ink-2); font-size: .97rem; margin: 0 0 8px; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.meta { display: flex; align-items: center; gap: 8px; color: var(--muted) !important; font-size: .88rem !important; font-weight: 500; }
.meta .icon { color: var(--navy-2); }

/* ---------- Verse band ---------- */
.verse { position: relative; overflow: hidden; background: var(--navy); color: var(--butter); padding: clamp(64px, 9vw, 112px) 0; text-align: center; }
.verse::before, .verse::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 254, 198, .16); animation: spin 80s linear infinite; }
.verse::before { left: -140px; top: -180px; border-style: dashed; }
.verse::after { right: -160px; bottom: -220px; }
.verse-glow { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 236, 154, .14), transparent 60%); animation: float 9s ease-in-out infinite; }
.verse-text { position: relative; font: italic 400 clamp(1.4rem, 3.2vw, 2.25rem)/1.35 var(--serif); max-width: 34ch; margin: 0 auto 18px; color: var(--butter); }
.verse-ref { position: relative; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin: 0; }

/* ---------- Speakers ---------- */
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 28px 20px; }
@media (max-width: 520px) { .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }
.speaker-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.speaker-card .speaker-photo { width: 100%; }
.speaker-card .linkedin-link { margin-top: auto; }
.speaker-card .speaker-title { margin-bottom: 10px; }
.speaker-photo {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background: var(--tint); margin-bottom: 16px; border: 5px solid var(--paper); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s;
}
.speaker-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(34, 78, 113, .45)); opacity: 0; transition: opacity .4s; }
.speaker-card:hover .speaker-photo { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.speaker-card:hover .speaker-photo::after { opacity: 1; }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s var(--ease); }
.speaker-card:hover .speaker-photo img { transform: scale(1.06); }
.speaker-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.speaker-title { color: var(--muted); font-size: .9rem; margin: 0; }

.speaker-list { display: grid; gap: 28px; }
.speaker-row {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 4vw, 44px); align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.speaker-row:hover { box-shadow: var(--shadow-lg); }
.speaker-row:target { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 236, 154, .8); }
.speaker-row .speaker-photo { margin: 0; }
.speaker-row h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 4px; }
.speaker-row .speaker-title { font-size: 1rem; color: var(--navy-2); font-weight: 600; margin-bottom: 14px; }
.speaker-row .bio { color: var(--ink-2); }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.pill-links a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--tint); color: var(--navy); text-decoration: none; font-size: .88rem; font-weight: 500; transition: background .2s, color .2s; }
.pill-links a:hover { background: var(--navy); color: var(--butter); }
@media (max-width: 640px) {
  .speaker-row { grid-template-columns: 1fr; text-align: center; }
  .speaker-row .speaker-photo { width: 200px; margin-inline: auto; }
  .pill-links { justify-content: center; }
}

/* ---------- RRR teaser ---------- */
.rrr-teaser::before { content: ""; position: absolute; right: -10%; top: -30%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 236, 154, .12), transparent 60%); }
.rrr-art { position: relative; padding: 0 0 40px 0; }
.rrr-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .08); }
.rrr-logo { position: absolute; left: -24px; bottom: 0; width: clamp(110px, 16vw, 160px); height: auto; border-radius: 50%; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }
@media (max-width: 860px) { .rrr-logo { left: 8px; } }

/* ---------- Testimonials (moving strip) ---------- */
.testimonial-marquee { padding: 6px 0 18px; outline: none; }
.testimonial-marquee .marquee-track { align-items: stretch; animation-duration: calc(var(--items, 5) * 11s); }
.testimonial-marquee .marquee-track li { padding: 0 10px; display: flex; }
.testimonial-marquee:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.testimonial {
  margin: 0; width: clamp(280px, 80vw, 380px); display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quote-mark { display: block; font: 500 4.4rem/1 var(--serif); color: var(--gold); height: 40px; margin-bottom: 8px; }
.testimonial blockquote { margin: 0 0 22px; font: 400 1.04rem/1.6 var(--serif); color: var(--ink); flex: 1; white-space: normal; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption small { color: var(--muted); font-size: .86rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--butter); font: 600 1.1rem/1 var(--serif); flex: none; }

/* Speaker initials (when there is no photo yet) and LinkedIn links */
.initials {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, var(--navy-2), var(--navy) 55%, var(--navy-deep));
  color: var(--butter); font: 500 clamp(2.2rem, 5vw, 3.4rem)/1 var(--serif); letter-spacing: .02em;
}
.linkedin-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: #0a66c2; font-size: .84rem; font-weight: 600; text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.linkedin-link:hover { background: #0a66c2; color: #fff; transform: translateY(-2px); }
.linkedin-link .icon { width: 16px; height: 16px; }
.btn-linkedin { background: #0a66c2; color: #fff; margin-top: 6px; }
.btn-linkedin:hover { background: #084d93; color: #fff; }
.facts-face { display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; }
.facts-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.facts-face .initials { font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 16vw, 200px); gap: 14px; }
.mosaic-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; cursor: zoom-in; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.mosaic-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic .m4 { display: none; } }

.gallery-grid { columns: 3 260px; column-gap: 16px; }
.gallery-grid a { display: block; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gallery-grid img { width: 100%; transition: transform .8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 26, 40, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; border-radius: 10px; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 22px; height: 22px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-night) 0%, var(--navy) 60%, var(--navy-2) 120%); color: #e4ecf3; padding: clamp(56px, 7vw, 88px) 0; }
.cta-shapes span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 254, 198, .15); animation: spin 50s linear infinite; }
.cta-shapes span:nth-child(1) { width: 340px; height: 340px; right: -80px; top: -160px; border-style: dashed; }
.cta-shapes span:nth-child(2) { width: 200px; height: 200px; left: 8%; bottom: -120px; background: rgba(245, 236, 154, .06); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 22ch; }
.cta p { margin: 0; opacity: .9; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--tint); padding: clamp(52px, 7vw, 96px) 0 clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.page-hero-art span { position: absolute; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(34, 78, 113, .14); pointer-events: none; animation: float 10s ease-in-out infinite; }
.page-hero-art span:nth-child(1) { right: -60px; bottom: -240px; width: 460px; height: 460px; }
.page-hero-art span:nth-child(2) { right: 120px; bottom: -280px; width: 300px; height: 380px; animation-delay: -3s; border-color: rgba(226, 179, 63, .35); }
.page-hero-art span:nth-child(3) { right: 30%; top: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(245, 236, 154, .5); border: 0; animation-duration: 7s; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); max-width: 18ch; }
.page-hero .lead { margin: 0; }
@media (max-width: 640px) { .page-hero-art span:nth-child(3) { display: none; } }

/* ---------- Course & session details ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.detail-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--tint); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out both; }
.prose { font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; color: var(--ink); }
.modules { list-style: none; margin: 0; padding: 0; counter-reset: mod; display: grid; gap: 12px; }
.modules li {
  counter-increment: mod; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .3s, transform .3s var(--ease);
}
.modules li:hover { border-color: var(--navy); transform: translateX(4px); }
.modules li::before { content: counter(mod, decimal-leading-zero); font: 500 1.35rem/1.2 var(--serif); color: var(--navy-2); }
.modules strong { display: block; color: var(--ink); font-weight: 600; }
.modules span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.facts { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.facts dl { margin: 0 0 22px; display: grid; gap: 16px; }
.facts dt { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.facts .btn { width: 100%; }
.facts .btn + .btn { margin-top: 10px; }
.facts-person { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.facts-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 18px; color: var(--navy); }
.back-link .icon { transform: scaleX(-1); transition: transform .25s var(--ease); }
.back-link:hover .icon { transform: scaleX(-1) translateX(4px); }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } .facts { position: static; } }

.empty { background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }
.subsection + .subsection { margin-top: clamp(48px, 7vw, 80px); }

/* ---------- Universities page ---------- */
.uni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.uni-card {
  position: relative; display: flex; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; transition: transform .4s var(--ease), box-shadow .4s; color: inherit; text-decoration: none;
}
.uni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.uni-card img { width: 78px; height: 78px; object-fit: contain; flex: none; transition: transform .5s var(--ease); }
.uni-card:hover img { transform: rotate(-6deg) scale(1.08); }
.uni-card h2 { font-size: 1.12rem; margin: 0 0 4px; }
.uni-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- About ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mv-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: transform .4s var(--ease), box-shadow .4s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { color: var(--ink-2); margin: 0; }
.acronym { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.acronym li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-family: var(--serif); font-size: 1.15rem; transition: transform .3s var(--ease), background .3s; }
.acronym li:hover { transform: translateY(-4px) rotate(-2deg); background: var(--butter); }
.acronym b { color: var(--navy); font-size: 1.6rem; font-weight: 600; margin-right: 2px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .icon { color: var(--navy); margin-top: 4px; background: var(--butter); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }

/* ---------- Drama (RRR) page ---------- */
.rrr-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #dbe5ee; padding: clamp(52px, 7vw, 96px) 0; }
.rrr-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
.rrr-hero h1 em { color: var(--butter); background-image: linear-gradient(transparent 62%, rgba(226, 179, 63, .35) 62%, rgba(226, 179, 63, .35) 92%, transparent 92%); }
.rrr-hero .eyebrow { color: var(--butter-2); }
.rrr-hero .lead { color: #c9d6e2; }
.rrr-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.rrr-hero-logo { justify-self: center; width: min(320px, 70vw); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.rrr-hero-logo img { width: 100%; border-radius: 50%; }
@media (max-width: 800px) { .rrr-hero-grid { grid-template-columns: 1fr; } .rrr-hero-logo { order: -1; width: min(200px, 55vw); } }
.vision { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--navy); color: var(--butter); }
.vision p:not(.eyebrow) { font: italic 400 clamp(1.2rem, 2.4vw, 1.6rem)/1.4 var(--serif); margin: 0; }
.vision .eyebrow { color: var(--butter-2); }
.mission-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: m; }
.mission-list li { counter-increment: m; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.mission-list li::before { content: counter(m); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--butter); color: var(--navy); font: 600 1rem/1 var(--serif); }
.team-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: clamp(32px, 5vw, 56px); }
.team-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-photo:hover img { transform: scale(1.03); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 24px 18px; }
@media (max-width: 520px) { .member-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.member { text-align: center; }
.member-photo { aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; margin-bottom: 12px; background: var(--tint); box-shadow: var(--shadow); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member-photo img { transform: scale(1.07); }
.member h3 { font-size: 1.1rem; margin: 0 0 2px; }
.member p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.dept-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dept-table th, .dept-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dept-table thead th { background: var(--navy); color: var(--butter); font: 600 .78rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.dept-table tbody tr { transition: background .2s; }
.dept-table tbody tr:hover { background: var(--tint); }
.dept-table tbody tr:last-child td { border-bottom: 0; }
.dept-table td:first-child { font-weight: 600; }
@media (max-width: 560px) {
  .dept-table thead { display: none; }
  .dept-table tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .dept-table td { display: block; padding: 2px 0; border: 0; }
  .dept-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
}
.follow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.follow-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.follow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.follow-card .pillar-icon { margin: 0; width: 48px; height: 48px; }
.follow-card small { display: block; color: var(--muted); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .highlight-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .35s var(--ease), box-shadow .35s; }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-card .pillar-icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.contact-card h3 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(245, 236, 154, .8); }
.hp { position: absolute !important; left: -9999px !important; }
.notice { border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; font-weight: 500; animation: fade-up .5s var(--ease); }
.notice-ok { background: #e6f3e5; color: #1f5a1a; border: 1px solid #b9dcb2; }
.notice-err { background: #fbe9e4; color: #8a2a12; border: 1px solid #f0c3b5; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-night); color: #b9c8d5; padding: clamp(52px, 7vw, 76px) 0 0; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy-2), var(--gold), var(--butter), var(--navy-2)); background-size: 200% 100%; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; }
.footer-title { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--butter-2); margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e3ebf2; text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.footer-links a:hover { color: var(--butter); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--butter-2); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 254, 198, .3); transition: background .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--butter); color: var(--navy-night); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 254, 198, .12); padding-block: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
.whatsapp-fab .icon { width: 28px; height: 28px; }

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .testimonial-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .testimonial-marquee .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
  .testimonial-marquee li { scroll-snap-align: start; }
  .js [data-reveal], .anim-in, .anim-up { opacity: 1 !important; transform: none !important; }
}

/* ---------- Our Team ---------- */
.team-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #d6e1eb; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px); text-align: center; }
.team-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.05; margin-bottom: .4em; }
.team-hero h1 em { color: var(--butter); background-image: linear-gradient(transparent 62%, rgba(226, 179, 63, .35) 62%, rgba(226, 179, 63, .35) 92%, transparent 92%); }
.team-hero .eyebrow { color: var(--butter-2); }
.team-hero .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.team-hero .lead { color: #c3d1de; margin: 0 auto; }
.team-hero .wrap { position: relative; z-index: 1; }
.team-stats { display: flex; justify-content: center; gap: 12px clamp(28px, 6vw, 64px); margin: 34px 0 0; }
.team-stats div { display: flex; flex-direction: column; }
.team-stats dt { font: 500 2.6rem/1 var(--serif); color: var(--butter); }
.team-stats dd { margin: 6px 0 0; font-size: .86rem; color: #a9bccd; }
.team-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 254, 198, .06); border: 1px solid rgba(255, 254, 198, .16); color: rgba(255, 254, 198, .5);
  font: 500 1.05rem/1 var(--serif); animation: bob 9s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(6deg); } }
.b0 { left: 6%; top: 18%; }
.b1 { left: 9%; top: 58%; width: 84px; height: 84px; animation-delay: -2s; }
.b2 { left: 26%; top: 8%; width: 48px; height: 48px; animation-delay: -4s; }
.b3 { right: 8%; top: 14%; width: 90px; height: 90px; animation-delay: -1s; }
.b4 { right: 9%; top: 60%; animation-delay: -5s; }
.b5 { right: 28%; top: 6%; width: 46px; height: 46px; animation-delay: -3s; }
.b6 { left: 22%; bottom: 3%; width: 52px; height: 52px; animation-delay: -6s; }
.b7 { right: 21%; bottom: 4%; width: 54px; height: 54px; animation-delay: -7s; }
.b8 { left: 3%; bottom: 8%; width: 44px; height: 44px; animation-delay: -2.5s; }
.b9 { right: 3%; bottom: 30%; width: 50px; height: 50px; animation-delay: -4.5s; }
@media (max-width: 700px) { .b2, .b5, .b6, .b7, .b8, .b9 { display: none; } .bubble { opacity: .6; } }

/* Founders slider */
.founders { position: relative; max-width: 980px; margin: 0 auto; }
.founders-stage { position: relative; display: grid; }
.founder {
  grid-area: 1 / 1; display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateX(60px) scale(.98);
  transition: opacity .7s var(--ease), transform .8s var(--ease), visibility .8s;
}
.founder.is-active { opacity: 1; visibility: visible; transform: none; }
.founder.is-leaving { transform: translateX(-60px) scale(.98); }
.founder-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.founder-photo { position: relative; z-index: 1; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.founder-photo img, .founder-photo .initials { width: 100%; height: 100%; object-fit: cover; font-size: clamp(3rem, 7vw, 4.6rem); }
.founder-ring { position: absolute; inset: 2%; border-radius: 50%; border: 2px dashed rgba(34, 78, 113, .35); animation: spin 30s linear infinite; }
.founder-ring.r2 { inset: 12%; border: 2px solid var(--butter-2); border-top-color: var(--gold); animation-duration: 18s; animation-direction: reverse; }
.founder-badge { position: absolute; z-index: 2; bottom: 6%; right: 2%; background: var(--navy); color: var(--butter); padding: 8px 16px; border-radius: 999px; font: 600 .82rem/1 var(--sans); letter-spacing: .04em; box-shadow: var(--shadow); }
.founder.is-active .founder-badge { animation: pop .7s var(--ease) .3s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.founder-text h3 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.founder-bio { font: italic 400 clamp(1.1rem, 2vw, 1.35rem)/1.55 var(--serif); color: var(--ink-2); margin-bottom: 18px; }
.founder.is-active .founder-text > * { animation: fade-up .8s var(--ease) both; }
.founder.is-active .founder-text > :nth-child(2) { animation-delay: .1s; }
.founder.is-active .founder-text > :nth-child(3) { animation-delay: .2s; }
.founder.is-active .founder-text > :nth-child(4) { animation-delay: .3s; }
.founders-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.round-btn:hover { background: var(--navy); color: var(--butter); transform: scale(1.06); }
.round-btn[data-founders-prev] .icon { transform: scaleX(-1); }
.founders-dots { display: flex; gap: 8px; }
.founders-dots button { width: 40px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.founders-dots span { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.founders-dots span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; }
.founders-dots [aria-selected="true"] span::after { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.founders.is-paused .founders-dots [aria-selected="true"] span::after { animation-play-state: paused; }
.founders-cta { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-visual { width: min(260px, 70vw); margin: 0 auto; }
  .founder-text .eyebrow { justify-content: center; }
}

/* Interactive team cards: tilt with the mouse, flip to reveal more */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; perspective: 1200px; }
.tcard { flex: 0 1 255px; min-height: 330px; }
@media (max-width: 520px) { .team-grid { gap: 14px; } .tcard { flex-basis: calc(50% - 7px); } }
.tcard-inner {
  position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; cursor: pointer; outline: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg)));
  transition: transform .7s var(--ease);
}
.tcard-inner.is-tilting { transition: transform .12s linear; }
.tcard-inner:hover, .tcard-inner:focus-visible, .tcard-inner.is-flipped { --flip: 180deg; }
.tcard-inner:focus-visible { box-shadow: 0 0 0 3px var(--gold); border-radius: 24px; }
.tcard-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 26px 22px; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.tcard-front { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tcard-back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--navy-2), var(--navy) 50%, var(--navy-night)); color: #d6e1eb; box-shadow: var(--shadow-lg); }
.tcard-back h3 { color: #fff; }
.tcard-back .eyebrow { color: var(--butter-2); margin-bottom: .6rem; }
.tcard-back .tcard-role { color: var(--butter); }
.tcard-glow { position: absolute; width: 220px; height: 220px; left: calc(var(--mx, 50%) - 110px); top: calc(var(--my, 30%) - 110px); border-radius: 50%; background: radial-gradient(circle, rgba(245, 236, 154, .55), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tcard-inner.is-tilting .tcard-glow { opacity: 1; }
.tcard-back .tcard-glow { left: calc(100% - var(--mx, 50%) - 110px); background: radial-gradient(circle, rgba(245, 236, 154, .22), transparent 65%); }
.tcard-back > :not(.tcard-glow) { position: relative; }
.tcard-photo { position: relative; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--tint), 0 0 0 7px var(--line); transition: box-shadow .4s; }
.tcard:hover .tcard-photo { box-shadow: 0 0 0 6px var(--butter), 0 0 0 7px var(--gold); }
.tcard-photo img, .tcard-photo .initials { width: 100%; height: 100%; object-fit: cover; font-size: 2.4rem; }
.tcard h3 { font-size: 1.3rem; margin: 0 0 4px; }
.tcard-role { margin: 0; color: var(--navy-2); font-weight: 600; font-size: .92rem; }
.tcard-hint { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; color: var(--muted); opacity: .85; }
.tcard-hint .icon { width: 14px; height: 14px; color: var(--gold); animation: spin 8s linear infinite; }
.hint-tap { display: none; }
@media (hover: none) {
  .tcard-inner:hover { --flip: 0deg; }
  .tcard-inner.is-flipped { --flip: 180deg; }
  .hint-hover { display: none; }
  .hint-tap { display: inline; }
}
.tcard-bio { font-size: .9rem; line-height: 1.55; margin: 12px 0 14px; color: #c9d6e2; }
.tcard-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tcard-back .link-arrow { color: var(--butter); }
.tcard-back .linkedin-link { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 520px) {
  .tcard { min-height: 280px; }
  .tcard-photo { width: 92px; height: 92px; }
  .tcard-photo .initials { font-size: 1.8rem; }
  .tcard h3 { font-size: 1.05rem; }
  .tcard-role { font-size: .8rem; }
  .tcard-bio { font-size: .8rem; margin: 8px 0 10px; }
  .tcard-face { padding: 18px 12px 34px; }
  .tcard-hint { font-size: .68rem; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tcard-inner { transform: none !important; display: grid; gap: 12px; }
  .tcard-face { position: relative; }
  .tcard-back { transform: none; }
  .tcard-hint { display: none; }
  .founder:not(.is-active) { display: none; }
}

/* ---------- Courses: spotlight (H1) ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; margin-bottom: 30px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
}
.spotlight-media { position: relative; display: block; min-height: 340px; overflow: hidden; background: var(--tint); }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spotlight:hover .spotlight-media img { transform: scale(1.06); }
.spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.12)); }
.spotlight-badge {
  position: absolute; left: 18px; top: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  background: var(--butter); color: var(--navy-night); padding: 8px 14px; border-radius: 999px; font: 600 .8rem/1 var(--sans);
  box-shadow: var(--shadow); animation: pop .7s var(--ease) .4s both;
}
.spotlight-badge .icon { width: 16px; height: 16px; color: var(--gold); animation: spin 8s linear infinite; }
.spotlight-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.spotlight-body h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.spotlight-body h3 a { color: inherit; text-decoration: none; }
.spotlight-summary { color: var(--ink-2); font-size: 1.05rem; }
.chip-marquee {
  overflow: hidden; margin: 8px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.chip-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 10px; width: max-content; animation: marquee calc(var(--items, 10) * 3.2s) linear infinite; }
.chip-marquee:hover .chip-track { animation-play-state: paused; }
.chip-track li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.chip-track b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--butter); font: 600 .72rem/1 var(--sans); }
.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Courses: swipeable carousel (H2) ---------- */
.ccarousel { position: relative; }
.ccarousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; margin: 0 -4px;
  scrollbar-width: none; outline: none;
}
.ccarousel-track::-webkit-scrollbar { display: none; }
.ccarousel-track > .card { scroll-snap-align: start; }
.ccarousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ccarousel-nav [data-cc-prev] .icon { transform: scaleX(-1); }
.ccarousel-nav .round-btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 980px) { .ccarousel-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .ccarousel-track { grid-auto-columns: 84%; gap: 16px; } .ccarousel-nav { justify-content: center; } }
.js .ccarousel-track [data-reveal] { opacity: 1; transform: none; }

/* ---------- Courses page: filters (P1) ---------- */
.filters-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 .92rem/1 var(--sans); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.filter span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--tint); font-size: .76rem; transition: background .25s, color .25s; }
.filter:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--butter); }
.filter.is-active span { background: var(--butter); color: var(--navy-night); }
.course-card.is-filtered-out { display: none; }
.course-card.is-entering { animation: card-in .55s var(--ease) both; animation-delay: calc(var(--n, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Course page: journey path (P2) ---------- */
.journey { position: relative; list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 22px; }
.journey::before {
  content: ""; position: absolute; left: 50%; top: 20px; bottom: 20px; width: 4px; margin-left: -2px; border-radius: 4px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 10px, transparent 10px 18px);
}
.journey::after {
  content: ""; position: absolute; left: 50%; top: 20px; width: 4px; margin-left: -2px; border-radius: 4px;
  height: calc((100% - 40px) * var(--progress, 0)); background: linear-gradient(var(--navy), var(--gold)); transition: height .2s linear;
}
.journey-start, .journey-end { position: relative; z-index: 1; display: flex; justify-content: center; }
.journey-start span, .journey-end span {
  display: grid; place-items: center; min-width: 64px; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--navy); color: var(--butter); font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.journey-end span { min-width: 44px; height: 44px; padding: 0; background: var(--gold); color: var(--navy-night); }
.journey-stop { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.journey-dot {
  grid-column: 2; z-index: 1; justify-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); color: var(--muted); font: 600 1rem/1 var(--serif);
  transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease), box-shadow .4s;
}
.journey-card {
  grid-column: 1; grid-row: 1; justify-self: end; max-width: 380px; width: 100%; text-align: right;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow);
  opacity: .45; transform: translateX(-16px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s, box-shadow .4s;
}
.journey-stop.is-right .journey-card { grid-column: 3; justify-self: start; text-align: left; transform: translateX(16px); }
.journey-card h3 { font-size: 1.2rem; margin: 0 0 4px; }
.journey-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.journey-step { font: 600 .72rem/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2) !important; margin-bottom: 8px !important; }
.journey-stop.is-lit .journey-dot { background: var(--navy); border-color: var(--navy); color: var(--butter); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(245, 236, 154, .7); }
.journey-stop.is-lit .journey-card { opacity: 1; transform: none; border-color: transparent; box-shadow: var(--shadow-lg); }
@media (max-width: 700px) {
  .journey::before, .journey::after { left: 23px; }
  .journey-start, .journey-end { justify-content: flex-start; }
  .journey-start span { min-width: 0; }
  .journey-stop, .journey-stop.is-right { grid-template-columns: 46px 1fr; gap: 14px; }
  .journey-dot { grid-column: 1; }
  .journey-card, .journey-stop.is-right .journey-card { grid-column: 2; grid-row: 1; justify-self: stretch; text-align: left; max-width: none; transform: translateX(14px); }
}

/* ---------- Course page: click-to-open topics (P2) ---------- */
.acc { display: grid; gap: 10px; }
.acc-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc-item[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.acc-item summary, .acc-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; list-style: none; }
.acc-item summary { cursor: pointer; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-num { font: 500 1.3rem/1 var(--serif); color: var(--navy-2); min-width: 34px; }
.acc-title { flex: 1; font-weight: 600; }
.acc-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); flex: none; transition: background .3s, transform .4s var(--ease); }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), background .3s; }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[open] .acc-plus { background: var(--navy); transform: rotate(180deg); }
.acc-item[open] .acc-plus::before, .acc-item[open] .acc-plus::after { background: var(--butter); }
.acc-item[open] .acc-plus::after { transform: rotate(0); }
.acc-body { padding: 0 18px 16px 66px; color: var(--ink-2); animation: fade-up .4s var(--ease); }
.acc-body p { margin: 0; }
.count-note { font-size: .6em; color: var(--muted); }

/* ---------- Objectives / Methodology / Outcomes tabs ---------- */
.framework { max-width: 1040px; margin: 0 auto; }
.tabs-bar { position: relative; display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 30px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tabs-bar button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 20px; border-radius: 999px;
  border: 0; background: none; color: var(--ink-2); font: 600 .95rem/1 var(--sans); cursor: pointer; transition: color .3s; white-space: nowrap;
}
.tabs-bar button .icon { width: 18px; height: 18px; }
.tabs-bar button[aria-selected="true"] { color: var(--butter); }
.tabs-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: left .45s var(--ease), width .45s var(--ease); }
.pane-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.js .tab-pane { display: none; }
.js .tab-pane.is-active { display: block; animation: fade-up .5s var(--ease); }
.tab-pane + .tab-pane { margin-top: 48px; }
.js .tab-pane + .tab-pane { margin-top: 0; }
@media (max-width: 560px) {
  .tabs-bar { width: 100%; border-radius: 18px; }
  .tabs-bar button { flex: 1; padding: 8px 6px; font-size: .82rem; gap: 4px; flex-direction: column; min-height: 58px; border-radius: 14px; }
  .tabs-ink { border-radius: 14px; }
}

.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.obj-card {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px;
  animation: card-in .6s var(--ease) both; animation-delay: calc(var(--i) * 110ms); transition: transform .4s var(--ease), box-shadow .4s;
}
.obj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.obj-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.obj-card.obj-0 { --accent: linear-gradient(90deg, #b94a3b, #e39b3b); --soft: #fbe6dd; --deep: #b94a3b; }
.obj-card.obj-1 { --accent: linear-gradient(90deg, #7a6a1c, #c9a227); --soft: #f4efcf; --deep: #7a6a1c; }
.obj-card.obj-2 { --accent: linear-gradient(90deg, var(--navy), var(--navy-2)); --soft: #e3edf5; --deep: var(--navy); }
.obj-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--soft); color: var(--deep); margin-bottom: 16px; transition: transform .5s var(--ease); }
.obj-card:hover .obj-icon { transform: rotate(-10deg) scale(1.08); }
.obj-icon .icon { width: 30px; height: 30px; }
.obj-card h4 { font: 500 1.6rem/1.1 var(--serif); margin: 0 0 14px; }
.obj-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.obj-card li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .96rem; }
.obj-card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--deep); }
@media (max-width: 900px) { .obj-grid { grid-template-columns: 1fr; } }

.method-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; counter-reset: none; }
.method-list li {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line);
  font-weight: 500; animation: slide-in .55s var(--ease) both; animation-delay: calc(var(--i) * 60ms); transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.method-list li:nth-child(even) { background: var(--navy); color: #e6eef5; border-color: var(--navy); }
.method-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.method-num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--butter); color: var(--navy-night); font: 600 1.4rem/1 var(--serif); box-shadow: inset 0 0 0 2px var(--gold); }
@keyframes slide-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .method-list { grid-template-columns: 1fr; } }

.out-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.out-card { grid-column: span 2; }
.out-card:nth-child(5), .out-card:nth-child(6) { grid-column: span 3; }
.out-card {
  position: relative; background: linear-gradient(160deg, #fffef0, var(--butter)); border: 1px solid #ece6a8; border-radius: 22px; padding: 26px 22px 22px;
  animation: card-in .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); transition: transform .4s var(--ease), box-shadow .4s;
}
.out-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.out-card.is-wide { grid-column: 1 / -1 !important; display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: start; }
.out-num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--butter); font: 600 1.4rem/1 var(--serif); margin-bottom: 14px; box-shadow: 0 0 0 5px rgba(34, 78, 113, .12); }
.out-text { font-weight: 600; color: var(--ink); margin: 0; line-height: 1.5; }
.out-card.is-wide .out-text { font: 500 1.3rem/1.3 var(--serif); padding-top: 12px; }
.out-subs { grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out-subs li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .75); border-radius: 14px; padding: 12px 14px; }
.out-subs b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-night); font-size: .8rem; }
.out-subs span { color: var(--ink-2); font-size: .94rem; }
.out-subs strong { color: var(--ink); }
@media (max-width: 900px) { .out-grid { grid-template-columns: 1fr 1fr; } .out-card, .out-card:nth-child(5), .out-card:nth-child(6) { grid-column: span 1; } }
@media (max-width: 600px) { .out-grid, .out-subs { grid-template-columns: 1fr; } .out-card.is-wide { grid-template-columns: 1fr; } }

/* ---------- Course page: request form (P3) ---------- */
.request { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.request h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.request-intro p { color: var(--ink-2); }
.opt-label { font-weight: 400; color: var(--muted); }
@media (max-width: 860px) { .request { grid-template-columns: 1fr; } }

/* ---------- Menu: Courses drop-down (M1) ---------- */
.has-mega { position: relative; display: flex; align-items: center; }
.mega-toggle { display: none; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 60; width: 460px; margin-left: -230px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-list a { display: flex !important; align-items: center; gap: 14px; padding: 10px !important; border-radius: 14px !important; color: var(--ink) !important; white-space: normal !important; }
.mega-list a::after { display: none; }
.mega-list a:hover { background: var(--tint); }
.mega-list img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; transition: transform .4s var(--ease); }
.mega-list a:hover img { transform: scale(1.08) rotate(-2deg); }
.mega-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.mega-list small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.mega-tag { font-style: normal; font: 600 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--butter); color: var(--navy); padding: 3px 7px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.mega-all { display: flex !important; justify-content: center; margin: 6px 0 4px; padding: 10px !important; font-size: .9rem !important; }
@media (max-width: 1180px) {
  .has-mega { flex-wrap: wrap; }
  .has-mega > a { flex: 1; }
  .mega-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; }
  .mega-toggle .icon { transform: rotate(90deg); transition: transform .3s var(--ease); }
  .has-mega.is-open .mega-toggle .icon { transform: rotate(-90deg); }
  .mega { position: static; width: 100%; margin: 0; transform: none; display: none; opacity: 1; visibility: visible; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.is-open .mega { display: block; animation: fade-up .35s var(--ease); }
  .mega-inner { box-shadow: none; background: var(--tint); margin: 4px 0 8px; }
  .mega-list strong { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chip-track { animation: none; flex-wrap: wrap; width: auto; }
  .chip-track li[aria-hidden="true"] { display: none; }
  .journey-card { opacity: 1 !important; transform: none !important; }
}
.nav .mega-list { display: grid; flex-direction: initial; gap: 2px; }
.nav .mega-list li { opacity: 1; transform: none; }
.nav .mega-list a::after { display: none; }
.nav .mega-list a[aria-current], .nav .mega-list a:hover { background: var(--tint); }
.mosaic .m3:last-child { grid-column: span 2; }

/* ---------- Filters (courses and gallery albums) ---------- */
[data-filter-grid] > .is-filtered-out { display: none; }
[data-filter-grid] > .is-entering { animation: card-in .55s var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }

/* ---------- Gallery albums (Admin → Gallery) ---------- */
.gallery-item { position: relative; }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; color: #fff; font-size: .86rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(15, 38, 57, .75)); opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease); pointer-events: none;
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery-cap { opacity: 1; transform: none; padding-top: 20px; font-size: .78rem; } }
.album-note { text-align: center; color: var(--ink-2); max-width: 64ch; margin: -14px auto 28px; }

/* ---------- Impact numbers (Admin → Settings) ---------- */
.impact { background: linear-gradient(120deg, var(--navy-night), var(--navy) 70%, var(--navy-2)); color: #dbe5ee; padding: clamp(34px, 5vw, 52px) 0; position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -260px; border-radius: 50%; border: 2px dashed rgba(255, 254, 198, .14); animation: spin 60s linear infinite; }
.impact-grid { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; text-align: center; }
.impact-item b { display: block; font: 500 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--serif); color: var(--butter); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.impact-item > span { display: block; margin-top: 10px; font-size: .9rem; letter-spacing: .04em; color: #c9d6e2; }
.impact-item + .impact-item { border-left: 1px solid rgba(255, 254, 198, .16); }
@media (max-width: 640px) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .impact-item + .impact-item { border-left: 0; }
}

/* ---------- Reflections ---------- */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-art {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--butter);
  background: radial-gradient(circle at 70% 30%, rgba(245, 236, 154, .25), transparent 55%), linear-gradient(140deg, var(--navy-night), var(--navy) 70%, var(--navy-2));
}
.post-art .icon { width: 64px; height: 64px; opacity: .85; transition: transform .9s var(--ease); }
.post-card:hover .post-art .icon { transform: scale(1.12) rotate(-6deg); }
.post-card.is-big { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.is-big .card-media { aspect-ratio: auto; min-height: 320px; }
.post-card.is-big .card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card.is-big h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
@media (max-width: 800px) { .post-card.is-big { grid-template-columns: 1fr; } .post-card.is-big .card-media { min-height: 0; aspect-ratio: 16 / 10; } }

.post-hero { position: relative; overflow: hidden; background: var(--tint); padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.post-hero .wrap { position: relative; }
.post-wrap { max-width: 820px; }
.post-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .icon { width: 17px; height: 17px; color: var(--navy-2); }
.post-section { padding-top: clamp(36px, 5vw, 60px); }
.post-cover { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.post-body { font-size: 1.12rem; line-height: 1.8; }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-size: clamp(1.45rem, 3vw, 1.8rem); margin: 1.7em 0 .55em; }
.post-body ul { padding-left: 1.2em; margin: 0 0 1.3em; }
.post-body li { margin-bottom: .55em; }
.post-body li::marker { color: var(--gold); }
.post-body blockquote {
  position: relative; margin: 1.6em 0; padding: 26px 28px 26px 34px; border-radius: var(--radius-sm);
  background: var(--navy-deep); color: var(--butter); font: italic 400 clamp(1.15rem, 2.4vw, 1.35rem)/1.6 var(--serif);
}
.post-body blockquote::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.post-body strong { color: var(--ink); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-share > span { font-weight: 600; margin-right: 6px; }
.post-share .btn { min-height: 42px; padding: 8px 16px; }
.preview-bar { background: var(--gold); color: var(--navy-night); text-align: center; font-weight: 600; padding: 10px 16px; font-size: .92rem; }

/* ---------- Instagram ---------- */
.insta-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 18px 0 13px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  background: linear-gradient(45deg, #f9b33f, #e1306c 45%, #833ab4); box-shadow: 0 14px 30px -14px rgba(131, 58, 180, .8);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.insta-fab:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 34px -14px rgba(131, 58, 180, .9); }
.insta-fab .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .insta-fab { width: 50px; padding: 0; justify-content: center; } .insta-fab span { display: none; } }
@media print { .insta-fab, .to-top, .whatsapp-fab { display: none; } }

.insta-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.insta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.insta-card-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(45deg, #f9b33f, #e1306c 45%, #833ab4); }
.insta-card-icon .icon { width: 28px; height: 28px; }
.insta-card-text { flex: 1; min-width: 0; }
.insta-card-text strong { display: block; font: 500 1.25rem/1.25 var(--serif); }
.insta-card-text small { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
@media (max-width: 560px) { .insta-card { flex-wrap: wrap; } .insta-card .btn { width: 100%; } }

/* ---------- For institutions ---------- */
.impact.is-flush { margin-top: 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.format-list { display: grid; gap: 14px; }
.format-row {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 14px 22px 14px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.format-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.format-row img { width: 132px; height: 100px; object-fit: cover; border-radius: 12px; }
.format-main { display: block; min-width: 0; }
.format-main strong { display: block; font: 500 1.35rem/1.25 var(--serif); margin: 6px 0 4px; }
.format-main small { display: block; color: var(--ink-2); font-size: .95rem; }
.format-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.format-tags .chip { position: static; }
.format-tags span:not(.chip) { display: inline-flex; align-items: center; gap: 6px; }
.format-tags .icon { width: 15px; height: 15px; color: var(--navy-2); }
.format-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease); }
.format-row:hover .format-go { background: var(--navy); color: var(--butter); transform: rotate(-45deg); }
@media (max-width: 640px) {
  .format-row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .format-row img { width: 88px; height: 88px; }
  .format-go { display: none; }
  .format-main strong { font-size: 1.15rem; }
  .format-main small { display: none; }
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-n {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--navy); color: var(--butter); font: 500 1.5rem/1 var(--serif); box-shadow: 0 0 0 8px var(--bg), var(--shadow);
  transition: transform .4s var(--ease);
}
.steps li:hover .step-n { transform: scale(1.1) rotate(-8deg); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.brochure-card {
  display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1.5px dashed var(--navy-2); transition: background .3s, transform .3s var(--ease);
}
.brochure-card:hover { background: var(--butter); transform: translateY(-2px); color: var(--ink); }
.brochure-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--butter); }
.brochure-card strong { display: block; }
.brochure-card small { display: block; color: var(--muted); font-size: .86rem; }
