/* =====================================================================
   SATCI public website — modern theme (light + dark)
   --primary / --accent are injected from Admin > Settings
   ===================================================================== */
:root {
  --primary: #0b3d91;
  --accent: #f5b301;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink: #0f1b33;
  --text: #3d4659;
  --muted: #687287;
  --line: #e3e8f1;
  --brand-ink: var(--primary);
  --shadow-sm: 0 2px 8px rgba(15, 27, 51, .06);
  --shadow: 0 14px 40px rgba(15, 27, 51, .10);
  --shadow-lg: 0 30px 80px rgba(15, 27, 51, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 74px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a1120; --bg-alt: #0e1729; --surface: #121c30; --surface-2: #172238;
  --ink: #eef2fb; --text: #c4ccdc; --muted: #8e98ad; --line: #233049;
  --brand-ink: color-mix(in srgb, var(--primary) 35%, #ffffff);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3); --shadow: 0 14px 40px rgba(0,0,0,.35); --shadow-lg: 0 30px 80px rgba(0,0,0,.5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1120; --bg-alt: #0e1729; --surface: #121c30; --surface-2: #172238;
    --ink: #eef2fb; --text: #c4ccdc; --muted: #8e98ad; --line: #233049;
    --brand-ink: color-mix(in srgb, var(--primary) 35%, #ffffff);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3); --shadow: 0 14px 40px rgba(0,0,0,.35); --shadow-lg: 0 30px 80px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; overflow-x: clip; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
kbd { font-family: inherit; font-size: .72em; padding: .1em .45em; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, transparent); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mb { margin-bottom: 2rem; }
.mt { margin-top: 2rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 5000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; font-family: inherit; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .45rem 1rem; font-size: .86rem; }
.btn-lg { padding: .95rem 1.75rem; font-size: 1.02rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-accent { background: var(--accent); color: #14213d; }
.btn-accent:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 50%, transparent); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { border-color: color-mix(in srgb, var(--brand-ink) 60%, transparent); color: var(--brand-ink); background: transparent; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-light { background: rgba(255,255,255,.92); color: #14213d; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; opacity: .85; }
.link-btn:hover { opacity: 1; text-decoration: underline; }

/* ---------- Announcement bar ---------- */
.announce { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff)); color: #14213d; font-size: .9rem; font-weight: 600; }
.announce-inner { display: flex; align-items: center; gap: .6rem; min-height: 40px; justify-content: center; text-align: center; }
.announce a, .announce span { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce-close { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; margin-left: .5rem; opacity: .7; }
.announce-close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .3s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; margin-right: auto; }
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: .74rem; }
.site-nav { display: flex; align-items: center; }
.site-nav > ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 10px; font-size: .94rem; position: relative; }
.site-nav > ul > li > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav > ul > li > a:hover::after, .site-nav a.current::after { transform: scaleX(1); }
.site-nav a.current { color: var(--brand-ink); }
.site-nav .sub { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); }
.site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a:hover { background: var(--bg-alt); }
.site-nav .nav-enroll-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { display: inline-flex; align-items: center; gap: .5rem; height: 40px; min-width: 40px; padding: 0 .6rem; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; font-size: .95rem; text-decoration: none; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--bg-alt); border-color: color-mix(in srgb, var(--brand-ink) 35%, var(--line)); }
.search-hint { color: var(--muted); font-size: .85rem; display: none; }
@media (min-width: 1280px) { .search-trigger { padding: 0 .8rem; } .search-hint { display: inline; } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--primary)); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a { padding: .8rem .6rem; font-size: 1.05rem; }
  .site-nav > ul > li > a::after { display: none; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .site-nav .nav-enroll-mobile { display: inline-flex; padding: .85rem 1.3rem; color: #14213d; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand img { height: 42px; }
  .brand-text small { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: min(90vh, 820px); display: flex; align-items: center; padding: 5rem 0 7rem;
  background: #0a1735 var(--hero-img, none) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(105deg, color-mix(in srgb, var(--primary) 96%, #000) 0%, color-mix(in srgb, var(--primary) 82%, transparent) 45%, color-mix(in srgb, var(--primary) 35%, transparent) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: color-mix(in srgb, var(--accent) 70%, transparent); top: -180px; right: -120px; }
.b2 { width: 420px; height: 420px; background: color-mix(in srgb, var(--primary) 50%, #3ba3ff); bottom: -200px; left: 20%; animation-delay: -6s; opacity: .45; }
.b3 { width: 300px; height: 300px; background: #22c3a6; top: 30%; left: -120px; animation-delay: -12s; opacity: .25; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.hero-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 1.3rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-bottom: .35em; text-wrap: balance; }
.rotator { font-family: var(--font-head); font-size: clamp(1.15rem, 2.3vw, 1.6rem); font-weight: 600; color: rgba(255,255,255,.88); margin-bottom: 1.1rem; }
.rotate-wrap { display: block; position: relative; min-height: 1.3em; }
.rotate { display: inline-block; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .35s var(--ease); }
.rotate.out { opacity: 0; transform: translateY(-40%); }
.rotate.in { opacity: 0; transform: translateY(40%); }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 58ch; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-card { padding: 1.6rem; animation: rise 1s var(--ease) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hc-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.hc-title i { color: var(--accent); }
.hc-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .8rem; }
.hc-list li { display: flex; gap: .75rem; font-size: .93rem; color: rgba(255,255,255,.9); }
.hc-list i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--accent); }
.hc-list a { color: #fff; text-decoration: none; align-self: center; }
.hc-list span { align-self: center; }
.hc-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.hc-partners { display: flex; align-items: center; gap: .6rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.hc-partners span { margin-right: auto; }
.hc-partners img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.scroll-cue { position: absolute; left: 50%; bottom: 5.2rem; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 1.3rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 3.5rem 0 6.5rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: -4.5rem; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.hl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hl-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #3ba3ff)); }
.hl-card:nth-child(even) .hl-icon { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ff7a00)); color: #14213d; }
.hl-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hl-label { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ---------- Image strip ---------- */
.strip { overflow: hidden; padding: 3rem 0 0; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 230px; width: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 600px) { .strip img { height: 150px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section.alt, .programs, .testimonials { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.75rem; }
.section-head h2, .location h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head.row-head { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 1rem; flex-wrap: wrap; }
.section-sub { color: var(--muted); font-size: 1.07rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--brand-ink); margin-bottom: .8rem; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .55rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 26px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px; border: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); z-index: -1; }
.about-badge { position: absolute; left: -12px; bottom: 28px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow); font-weight: 700; font-family: var(--font-head); display: flex; gap: .5rem; align-items: center; }
.about-badge i { color: var(--accent); font-size: 1.2rem; }
.about-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.mv-card { display: flex; gap: 1.1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.mv-card:hover { border-color: color-mix(in srgb, var(--brand-ink) 40%, var(--line)); transform: translateX(4px); }
.mv-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.mv-card p { margin: 0; }
.mv-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--brand-ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-media::before { display: none; } }

/* ---------- Program Explorer ---------- */
.px-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.px-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
.px-tabs::-webkit-scrollbar { display: none; }
.px-tab { flex-shrink: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.px-tab span { display: inline-block; min-width: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: .78em; margin-left: .25rem; }
.px-tab:hover { color: var(--brand-ink); }
.px-tab.active { background: var(--primary); color: #fff; }
.px-tab.active span { background: rgba(255,255,255,.2); color: #fff; }
.px-search { position: relative; flex: 1 1 260px; max-width: 360px; }
.px-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.px-search input { width: 100%; padding: .75rem 1rem .75rem 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.px-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
.px-intro { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; color: var(--muted); font-size: .93rem; }
.px-intro i { color: var(--brand-ink); }
.px-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .85rem; }
.px-item { display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font: inherit; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.px-item.pop { animation: popIn .35s var(--ease); }
.px-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-ink) 40%, var(--line)); }
@keyframes popIn { from { opacity: 0; transform: scale(.97); } }
.px-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; color: var(--brand-ink); background: color-mix(in srgb, var(--primary) 11%, var(--surface)); transition: background .25s, color .25s; }
.px-item:hover .px-icon { background: var(--primary); color: #fff; }
.px-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.px-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.px-group { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.px-go { color: var(--muted); opacity: 0; transform: translate(-4px, 4px); transition: .25s var(--ease); }
.px-item:hover .px-go { opacity: 1; transform: none; color: var(--brand-ink); }
.px-empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- How to enroll ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: 0; }
.step { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; padding-top: 3.2rem; margin-top: 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { position: absolute; top: -30px; left: 1.5rem; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #3ba3ff)); box-shadow: 0 0 0 6px var(--bg), var(--shadow); }
.step:nth-child(even) .step-num { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ff7a00)); color: #14213d; }
.step-icon { position: absolute; top: 1rem; right: 1.25rem; font-size: 1.5rem; color: color-mix(in srgb, var(--brand-ink) 45%, transparent); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .94rem; }
.step-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.step-link i { transition: transform .2s; }
.step-link:hover i { transform: translateX(4px); }
@media (max-width: 960px) { .steps::before { display: none; } }

/* ---------- Bento gallery ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; grid-auto-flow: dense; }
.bento-item { position: relative; overflow: hidden; border-radius: 16px; background: var(--bg-alt); display: block; }
.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(6) { grid-column: span 2; }
.bento-item:nth-child(9) { grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento-item:hover img { transform: scale(1.07); }
.bento-zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #14213d; opacity: 0; transform: scale(.8); transition: .25s var(--ease); }
.bento-item:hover .bento-zoom { opacity: 1; transform: none; }
@media (max-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .bento-item:nth-child(9) { grid-row: auto; } }

/* Gallery page grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery-item { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 1; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* ---------- Testimonials carousel ---------- */
.carousel-track { display: grid; justify-content: center; }
.carousel.is-many .carousel-track { grid-auto-flow: column; grid-auto-columns: min(100%, 560px); justify-content: start; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.carousel.is-many .carousel-track::-webkit-scrollbar { display: none; }
.carousel.is-many .testimonial { scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.carousel-nav button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testimonial { margin: 0; max-width: 780px; background: var(--surface); padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 24px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--line); }
.quote-mark { font-size: 3.4rem; line-height: 1; display: block; margin-bottom: .25rem; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #ff7a00)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.testimonial blockquote { margin: 0 0 1.5rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink); font-family: var(--font-head); font-weight: 500; line-height: 1.5; }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; }
.testimonial figcaption img, .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #3ba3ff)); font-size: 1.3rem; }
.testimonial figcaption > span { display: flex; flex-direction: column; }
.testimonial small { color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; }
.stars .off { color: var(--line); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-thumb { display: block; aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.thumb-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.5rem; color: color-mix(in srgb, var(--brand-ink) 40%, transparent); }
.post-body { padding: 1.25rem 1.4rem 1.5rem; }
.post-body h3 { font-size: 1.15rem; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { color: var(--brand-ink); }
.post-body p { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; }
.post-meta { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--brand-ink); }
.tag-event { background: color-mix(in srgb, #1aa35c 16%, var(--surface)); color: #1aa35c; }
.tag-announcement { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: color-mix(in srgb, var(--accent) 45%, #7a4a00); }
.event-date { color: var(--ink) !important; font-weight: 600; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list i { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--brand-ink); font-size: 1.1rem; }
.info-list strong { display: block; color: var(--ink); font-size: .9rem; }
.info-list a, .info-list span { color: var(--text); text-decoration: none; }
.info-list a:hover { color: var(--brand-ink); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--bg-alt); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95); } :root:not([data-theme="light"]) .partner-logos img { background: #fff; border-radius: 50%; padding: 4px; } }
.map-wide { aspect-ratio: 21/8; margin-top: 3rem; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } .map-wide { aspect-ratio: 4/3; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: #0a1735 var(--hero-img, none) center/cover; color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 95%, #000), color-mix(in srgb, var(--primary) 72%, transparent)); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 60%, transparent); filter: blur(80px); opacity: .45; z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; margin: 0; }
.crumbs { font-size: .85rem; opacity: .85; margin-bottom: .8rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs i { font-size: .7rem; margin: 0 .3rem; }
.post-hero .tag { background: var(--accent); color: #14213d; margin-bottom: .8rem; }
.post-byline { opacity: .85; margin: .8rem 0 0; }
.post-feature { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }
.event-box { background: color-mix(in srgb, #1aa35c 14%, var(--surface)); color: #1aa35c; padding: .9rem 1.1rem; border-radius: 12px; }

.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose img { border-radius: 12px; height: auto; margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1.5rem 0; padding: .5rem 1.25rem; color: var(--ink); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }

.share { display: flex; align-items: center; gap: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--brand-ink); text-decoration: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 500; background: var(--surface); }
.chip.active, .chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pager a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Downloads */
.download-group { margin-bottom: 2.5rem; }
.download-group h2 { font-size: 1.2rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.download-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); background: var(--surface); transition: .2s; }
.download-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.download-item > i { font-size: 2rem; color: #e5484d; }
.download-item > span:nth-child(2) { flex: 1; min-width: 0; }
.download-item strong { display: block; color: var(--ink); }
.download-item small { color: var(--muted); }
.dl-btn { font-size: .85rem; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
@media (max-width: 520px) { .dl-btn { display: none; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid.single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.form-card h2 { font-size: 1.4rem; }
.form-card label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 1rem; }
.form-card input, .form-card textarea { display: block; width: 100%; margin-top: .35rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.25rem; font-size: .95rem; }
.alert.success { background: color-mix(in srgb, #1aa35c 14%, var(--surface)); color: #1aa35c; }
.alert.error { background: color-mix(in srgb, #e5484d 14%, var(--surface)); color: #e5484d; }
.not-found .big { font-family: var(--font-head); font-size: 7rem; font-weight: 800; line-height: 1; margin-bottom: .5rem; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Search page */
.page-search { position: relative; display: flex; gap: .5rem; margin-top: 1.5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35rem .35rem .35rem 2.8rem; backdrop-filter: blur(8px); }
.page-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); }
.page-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 1.05rem; outline: none; }
.page-search input::placeholder { color: rgba(255,255,255,.7); }
.result-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.result-list a { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--text); transition: .2s; }
.result-list a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.r-icon { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--brand-ink); }
.result-list small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.result-list strong { display: block; color: var(--ink); }
.result-list em { display: block; font-style: normal; color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: color-mix(in srgb, var(--primary) 22%, #070d1c); color: #c3cbdc; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.partners { background: var(--surface); padding: 2.25rem 0; border-top: 1px solid var(--line); }
.partners-label { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--muted); }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.partner-logos img { height: 64px; width: auto; object-fit: contain; transition: transform .25s var(--ease); }
:root[data-theme="dark"] .partner-logos img { background: #fff; border-radius: 50%; padding: 4px; }
.partner-logos a:hover img { transform: scale(1.08); }
.cta-band { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 26px; background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 45%), linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #3ba3ff)); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-accent { color: #14213d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 16px; padding: 4px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-contact, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact li > *, .footer-brand > div, .footer-grid > div { min-width: 0; overflow-wrap: anywhere; }
.footer-contact i { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quick bar & back-to-top ---------- */
.quickbar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .quickbar { position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .quickbar a, .quickbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: .68rem; font-weight: 600; color: var(--text); text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; }
  .quickbar i { font-size: 1.25rem; color: var(--brand-ink); }
  .quickbar .qb-main i { width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #14213d; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); }
}
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1050; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 768px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; } }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--text); background: var(--surface); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(5, 10, 25, .55); backdrop-filter: blur(4px); }
dialog[open] { animation: dlgIn .25s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.search-dialog { width: min(680px, 94vw); margin: 10vh auto auto; border-radius: 20px; overflow: hidden; }
.search-box { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.search-box > i { font-size: 1.2rem; color: var(--brand-ink); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.08rem; color: var(--ink); }
.search-box input::-webkit-search-cancel-button { display: none; }
.esc { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 8px; font: inherit; font-size: .75rem; padding: .25rem .5rem; cursor: pointer; }
.search-results { max-height: min(60vh, 480px); overflow-y: auto; padding: .5rem; }
.search-empty { padding: .75rem; }
.search-empty p { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: .6rem; }
.search-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.search-chips button { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: .4rem .85rem; font: inherit; font-size: .88rem; cursor: pointer; }
.search-chips button:hover { border-color: var(--primary); color: var(--brand-ink); }
.sr-item { display: flex; gap: .85rem; align-items: center; padding: .7rem .8rem; border-radius: 12px; text-decoration: none; color: var(--text); }
.sr-item.active, .sr-item:hover { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.sr-item .r-icon { flex-basis: 38px; height: 38px; }
.sr-item small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.sr-item strong { display: block; color: var(--ink); font-weight: 600; }
.sr-item em { display: block; font-style: normal; color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item > span:last-child { min-width: 0; }
.sr-msg { padding: 1.25rem; text-align: center; color: var(--muted); }
.search-foot { display: flex; gap: 1.25rem; justify-content: flex-end; padding: .6rem 1rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .search-foot { display: none; } .search-dialog { margin-top: 4vh; } }

.program-dialog { width: min(540px, 94vw); border-radius: 24px; padding: 2rem; margin: auto; text-align: left; }
.pd-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.pd-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #3ba3ff)); margin-bottom: 1rem; }
.pd-group { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand-ink); margin-bottom: .4rem; }
.program-dialog h2 { font-size: 1.55rem; }
.pd-desc { color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 1rem; }
.pd-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(5,10,25,.94); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; touch-action: pan-y; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.4rem; left: 1.4rem; color: rgba(255,255,255,.7); font-size: .85rem; }
@media (max-width: 600px) { .lightbox { padding: 3.5rem .5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Scroll reveal ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .strip { overflow-x: auto; }
  .blob { display: none; }
}

@media print {
  .site-header, .quickbar, .to-top, .announce, .cta-band, .hero-bg, .scroll-cue { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
