:root {
  --c0: #0B0B0B; --c1: #1A1A1A; --c2: #333333; --c3: #6B6B6B; --c4: #D9D9D9; --c5: #FFFFFF;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1); --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--c0); color: var(--c4); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--c5); }
:focus-visible { outline: 3px solid var(--c5); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 99px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 72px 28px 88px; }
.in { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(11,11,11,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c2); }
.site-head .in { display: flex; align-items: center; gap: 16px 28px; min-height: 80px; }
.brand { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 14px; color: var(--c5); text-decoration: none; font: 800 1.05rem/1.1 var(--font); letter-spacing: -.01em; }
.brand img { width: 48px; height: 48px; border-radius: 50%; display: block; flex: none; }
nav.main { margin-left: auto; flex: none; }
nav.main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav.main a { display: block; padding: 10px 18px; border-radius: 99px; color: var(--c5); text-decoration: none; font-weight: 700; font-size: 1rem; transition: background .25s, color .25s; }
nav.main a:hover { background: var(--c2); }
nav.main a[aria-current="page"] { background: var(--c5); color: var(--c0); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--c5); border-radius: 99px; width: 48px; height: 48px; cursor: pointer; color: var(--c5); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; flex: none; }
  nav.main { display: none; margin: 0; width: 100%; order: 3; padding-bottom: 14px; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; }
  nav.main a { padding: 14px 18px; }
  .site-head .in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; }
  .brand { font-size: .92rem; }
}

/* Type */
h1, h2, h3 { color: var(--c5); }
h1 { font: 800 clamp(2.4rem, 6vw, 4.6rem)/1.02 var(--font); letter-spacing: -.03em; margin: 0 0 14px; }
h2.sec { font: 800 clamp(1.9rem, 3.6vw, 2.8rem)/1.05 var(--font); letter-spacing: -.025em; margin: 0 0 32px; }

/* Buttons: white pills */
.btn { font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 34px; border-radius: 99px; border: 2px solid var(--c5); background: var(--c5); color: var(--c0); transition: background .25s, color .25s, transform .3s var(--ease); }
.btn:hover { background: var(--c4); border-color: var(--c4); transform: translateY(-3px); }
.btn.ghost, .btn.outline-light { background: transparent; color: var(--c5); border-color: var(--c5); }
.btn.ghost:hover, .btn.outline-light:hover { background: var(--c5); color: var(--c0); }
.btn.light { background: var(--c5); color: var(--c0); }
.btn[hidden] { display: none; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero: rounded inset card like Elevation */
.hero { position: relative; isolation: isolate; margin: 20px 20px 0; min-height: min(82svh, 760px); display: flex; align-items: flex-end; color: var(--c5); background: var(--c1) url("images/anniversary-6th-lg.jpg") center/cover no-repeat; border-radius: var(--r); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.15) 0%, rgba(11,11,11,.55) 55%, rgba(11,11,11,.92) 100%); }
.hero .in { width: 100%; padding-top: 64px; padding-bottom: 48px; }
.hero .logo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin-bottom: 24px; border: 3px solid var(--c5); }
.hero .logo img { width: 100%; height: 100%; display: block; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 6.4rem); max-width: 13ch; }
.hero p { max-width: 54ch; font-size: 1.15rem; margin: 0 0 28px; color: var(--c5); }
.hero .motto { font-weight: 700; color: var(--c4); margin: 0 0 12px; }
.js .hero .logo, .js .hero h1, .js .hero .motto, .js .hero p, .js .hero .row { opacity: 0; transform: translateY(36px); animation: rise .9s var(--ease) forwards; }
.js .hero h1 { animation-delay: .15s; } .js .hero .motto { animation-delay: .3s; } .js .hero p { animation-delay: .4s; } .js .hero .row { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.banner { margin: 20px 20px 0; background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); }
.banner .in { padding-top: 64px; padding-bottom: 56px; }
.banner h1 { margin: 0 0 10px; }
.banner p { color: var(--c4); max-width: 56ch; margin: 0; font-size: 1.15rem; }

/* Marquee */
.marquee { margin-top: 20px; border-block: 1px solid var(--c2); color: var(--c5); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.marquee .track { display: inline-flex; animation: scroll 40s linear infinite; }
.marquee span { font: 800 clamp(1.2rem, 2.6vw, 1.8rem)/1 var(--font); letter-spacing: -.02em; padding-right: 40px; }
.marquee span::after { content: "\2022"; margin-left: 40px; color: var(--c3); }
@keyframes scroll { to { transform: translateX(-50%); } }

.band { background: var(--c1); border-radius: var(--r) var(--r) 0 0; }
.panel { background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); padding: 36px; max-width: 64ch; }
.panel p { margin: 0 0 10px; } .panel p:last-child { margin: 0; }

/* Video cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px 22px; list-style: none; margin: 0; padding: 0; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 28px 24px; margin: 0 -28px; scrollbar-width: thin; scrollbar-color: var(--c3) transparent; }
.rail > li { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; }
.card { display: block; width: 100%; text-align: left; padding: 0 0 22px; border: 1px solid var(--c2); border-radius: 24px; overflow: hidden; background: var(--c1); font: inherit; color: inherit; cursor: pointer; text-decoration: none; transition: transform .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--c3); }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c0); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .thumb img { transform: scale(1.06); }
.play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; transition: transform .35s var(--ease); }
.play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--c0); }
.card:hover .play, .card:focus-visible .play { transform: scale(1.14); }
.card h2, .card h3 { font: 700 1.05rem/1.35 var(--font); color: var(--c5); margin: 16px 20px 4px; overflow-wrap: anywhere; }
.card time { display: block; margin: 0 20px; color: var(--c4); font-size: .875rem; opacity: .8; }
.more { display: flex; margin: 48px auto 0; }

/* Search + filters (Elevation style) */
.finder { margin: 0 0 20px; }
.finder-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pill-search { position: relative; flex: 1 1 320px; max-width: 640px; display: block; }
.pill-search svg { position: absolute; left: 22px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--c5); pointer-events: none; }
.pill-search input { width: 100%; height: 60px; padding: 0 24px 0 60px; font: 500 1.05rem var(--font); color: var(--c5); background: transparent; border: 2px solid var(--c5); border-radius: 99px; transition: background .25s; }
.pill-search input::placeholder { color: var(--c4); opacity: 1; }
.pill-search input:focus { background: var(--c1); outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.filter-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; font: 700 1.05rem var(--font); color: var(--c5); background: var(--c2); border: 0; border-radius: 99px; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.filter-btn:hover { background: var(--c3); transform: translateY(-2px); }
.filter-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--c5); color: var(--c0); font: 700 .8rem/26px var(--font); text-align: center; }
.filter-panel { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding: 22px; background: var(--c1); border: 1px solid var(--c2); border-radius: 24px; animation: pop .3s var(--ease); }
.filter-panel[hidden] { display: none; }
.filter-panel label { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--c5); flex: 1 1 200px; }
.filter-panel select { font: 500 1rem var(--font); color: var(--c5); background: var(--c0); border: 2px solid var(--c2); border-radius: 99px; padding: 12px 20px; min-height: 52px; }
.filter-panel select:focus { border-color: var(--c5); outline: none; }
#status { font-weight: 700; color: var(--c5); font-size: .9rem; margin: 0 0 28px; min-height: 1.4em; }
.empty { text-align: center; padding: 56px 0; color: var(--c4); } .empty button { margin-top: 12px; }

/* Player */
dialog.player { width: min(960px, calc(100vw - 24px)); max-width: none; padding: 0; border: 1px solid var(--c2); background: var(--c0); color: var(--c5); border-radius: var(--r); overflow: hidden; }
dialog.player[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(14px); } }
dialog.player::backdrop { background: rgba(0,0,0,.85); }
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meta { padding: 18px 24px 24px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.meta .text { flex: 1 1 260px; min-width: 0; }
.meta h3 { margin: 0; font: 700 1.1rem/1.35 var(--font); overflow-wrap: anywhere; }
.meta time, .hint { color: var(--c4); font-size: .85rem; opacity: .8; } .hint { margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions .btn { padding: 10px 20px; font-size: .9rem; background: transparent; color: var(--c5); border-color: var(--c3); }
.actions .btn:hover { background: var(--c2); border-color: var(--c5); transform: none; }
.actions .btn.yt { background: var(--c5); color: var(--c0); border-color: var(--c5); }
.close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c0); color: var(--c5); font-size: 24px; line-height: 1; cursor: pointer; }
.close:hover { background: var(--c5); color: var(--c0); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); padding: 36px; }
.form-card form { display: grid; gap: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 700; color: var(--c5); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: 500 1rem var(--font); color: var(--c5); background: var(--c0); border: 2px solid var(--c2); border-radius: 20px; padding: 15px 20px; transition: border-color .2s; }
.field input { border-radius: 99px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--c5); outline: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 700; color: var(--c5); } .form-status.err { text-decoration: underline; }
.form-card .btn { width: fit-content; min-width: 160px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 18px; align-items: center; background: var(--c1); border: 1px solid var(--c2); border-radius: 24px; padding: 18px 22px; transition: border-color .3s, transform .3s var(--ease); }
.contact-list li:hover { border-color: var(--c3); transform: translateX(4px); }
.contact-list .ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c5); color: var(--c0); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list h2 { font: 500 .85rem/1.3 var(--font); color: var(--c4); opacity: .8; margin: 0 0 2px; }
.contact-list a { color: var(--c5); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

/* About */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.split .pic { flex: 0 1 380px; width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; margin: 0 auto; border: 1px solid var(--c2); }
.split .pic img { width: 100%; height: 100%; display: block; transform: scale(1.04); }
.split .copy { flex: 1 1 380px; min-width: 0; }
.split .copy p { font-size: 1.2rem; max-width: 56ch; margin: 0 0 18px; }
.split .motto { font: 800 1.6rem/1.15 var(--font); letter-spacing: -.02em; color: var(--c5); margin: 0 0 8px; }
.split .motto-en { font-weight: 500; color: var(--c4); margin: 0 0 20px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tiles li { background: var(--c0); border: 1px solid var(--c2); border-radius: 24px; padding: 32px 26px 36px; transition: background .3s, color .3s, transform .4s var(--ease); }
.tiles li:hover { background: var(--c5); transform: translateY(-6px); }
.tiles li:hover h3 { color: var(--c0); } .tiles li:hover p { color: var(--c2); }
.tiles h3 { font: 800 1.3rem/1.15 var(--font); letter-spacing: -.02em; margin: 0 0 10px; transition: color .3s; }
.tiles p { margin: 0; transition: color .3s; }
.cta { margin: 0 20px 20px; background: var(--c5); color: var(--c0); border-radius: var(--r); }
.cta .in { padding-top: 80px; padding-bottom: 80px; }
.cta h2 { color: var(--c0); font: 800 clamp(2.4rem, 7vw, 5.4rem)/.98 var(--font); letter-spacing: -.035em; margin: 0 0 16px; }
.cta p { color: var(--c2); max-width: 52ch; margin: 0 0 30px; font-size: 1.2rem; font-weight: 500; }
.cta .btn { background: var(--c0); border-color: var(--c0); color: var(--c5); } .cta .btn:hover { background: var(--c2); border-color: var(--c2); }
.cta .btn.outline-light { background: transparent; color: var(--c0); } .cta .btn.outline-light:hover { background: var(--c0); color: var(--c5); }
figure.photo { margin: 0; overflow: hidden; border-radius: var(--r); }
figure.photo img { width: 100%; height: auto; display: block; }
figure.photo figcaption { margin-top: 14px; color: var(--c4); font-size: .95rem; }

/* Events */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; margin: 0 0 72px; }
.feature { background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); overflow: hidden; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--c0); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.feature .info { padding: 22px 26px 28px; }
.feature h3 { font: 800 1.45rem/1.1 var(--font); letter-spacing: -.02em; margin: 0 0 6px; }
.when { color: var(--c5); font-weight: 700; margin: 0 0 10px; }
.feature p { margin: 0 0 4px; }
.flyers { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.flyer .shot { border-radius: 20px; border: 1px solid var(--c2); }
.flyer h3 { font: 700 1rem/1.4 var(--font); margin: 14px 0 0; }
.flyer p { margin: 0; color: var(--c4); opacity: .8; font-size: .9rem; }
.note { margin: 40px 0 0; color: var(--c4); max-width: 62ch; }
dialog.lightbox { max-width: none; width: fit-content; height: fit-content; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.92); }
dialog.lightbox img { display: block; max-width: min(1100px, 94vw); max-height: 88vh; width: auto; height: auto; border-radius: 20px; }
.lb-close { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c5); color: var(--c0); font-size: 24px; line-height: 1; cursor: pointer; }

/* Footer */
.site-foot { background: var(--c0); border-top: 1px solid var(--c2); color: var(--c4); }
.site-foot .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 32px; padding-top: 56px; padding-bottom: 56px; }
.site-foot .official { margin: 0 0 8px; color: var(--c5); font: 800 clamp(1.2rem, 2.4vw, 1.6rem)/1.2 var(--font); letter-spacing: -.02em; max-width: 30ch; }
.site-foot .mail { color: var(--c4); font-weight: 500; } .site-foot .mail:hover { color: var(--c5); }
.social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--c5); border: 2px solid var(--c3); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--c5); border-color: var(--c5); color: var(--c0); transform: translateY(-4px); }
.social svg { width: 22px; height: 22px; }
.credit { font-weight: 700; color: var(--c5); padding-left: 20px; border-left: 2px solid var(--c2); }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee .track { animation: none; }
  .js .hero .logo, .js .hero h1, .js .hero .motto, .js .hero p, .js .hero .row { opacity: 1; transform: none; animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ===== Light / dark themes ===== */
html[data-theme="light"] { --c0: #FFFFFF; --c1: #F4F4F4; --c2: #D9D9D9; --c3: #6B6B6B; --c4: #333333; --c5: #0B0B0B; color-scheme: light; --head-bg: rgba(255,255,255,.92); }
html[data-theme="dark"] { color-scheme: dark; --head-bg: rgba(11,11,11,.92); }
.site-head { background: var(--head-bg); }
.theme-toggle { order: 5; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--c3); background: transparent; color: var(--c5); cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.theme-toggle:hover { background: var(--c2); border-color: var(--c5); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1/1; }
html[data-theme="dark"] .i-moon, html[data-theme="light"] .i-sun { display: none; }
.amara { height: 30px; width: auto; display: block; }
html[data-theme="dark"] .a-light, html[data-theme="light"] .a-dark { display: none; }
/* hero stays photographic in both themes */
.hero, .hero h1, .hero p, .hero .motto { color: #fff; }
.hero .motto { color: #D9D9D9; }
.hero .logo { border-color: #fff; }
.hero .btn { background: #fff; border-color: #fff; color: #0B0B0B; }
.hero .btn:hover { background: #D9D9D9; border-color: #D9D9D9; }
.hero .btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.hero .btn.outline-light:hover { background: #fff; color: #0B0B0B; }
.play::before { border-color: transparent transparent transparent #0B0B0B; }

/* ===== Smaller, calmer sizing ===== */
body { font-size: 16px; }
.wrap { padding: 52px 24px 64px; }
.in { padding: 0 24px; }
.site-head .in { min-height: 68px; }
.brand { font-size: .95rem; } .brand img { width: 40px; height: 40px; }
nav.main a { padding: 8px 14px; font-size: .92rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.025em; }
h2.sec { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 24px; }
.btn { padding: 12px 26px; font-size: .95rem; }
.hero { min-height: min(68svh, 580px); margin: 14px 14px 0; }
.hero .in { padding-top: 48px; padding-bottom: 36px; }
.hero .logo { width: 64px; height: 64px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 4rem); }
.hero p { font-size: 1.02rem; margin-bottom: 22px; }
.banner { margin: 14px 14px 0; }
.banner .in { padding-top: 36px; padding-bottom: 32px; }
.banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.banner p { font-size: 1.02rem; }
.marquee { margin-top: 14px; padding: 12px 0; }
.marquee span { font-size: clamp(1rem, 1.8vw, 1.25rem); }
.band .wrap { padding-top: 52px; padding-bottom: 60px; }
.split { gap: 32px 52px; }
.split .pic { flex-basis: 260px; width: min(260px, 70vw); }
.split .copy p { font-size: 1.05rem; }
.split .motto { font-size: 1.25rem; }
.tiles li { padding: 24px 22px 28px; } .tiles h3 { font-size: 1.1rem; }
.cta { margin: 0 14px 14px; }
.cta .in { padding-top: 44px; padding-bottom: 44px; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.cta p { font-size: 1rem; margin-bottom: 20px; }
.form-card { padding: 26px; } .contact-list li { padding: 14px 18px; } .contact-list .ico { width: 42px; height: 42px; }
.features { margin-bottom: 52px; } .feature h3 { font-size: 1.2rem; }
.site-foot .top { padding-top: 28px; padding-bottom: 28px; gap: 18px 28px; }
.site-foot .official { font-size: 1.02rem; margin: 0; max-width: 34ch; }
.social-row { gap: 12px 16px; }
.social a { width: 42px; height: 42px; border-width: 1.5px; } .social svg { width: 19px; height: 19px; }
.site-foot .mail { font-size: .92rem; font-weight: 600; color: var(--c4); text-decoration: none; overflow-wrap: anywhere; }
.site-foot .mail:hover { color: var(--c5); text-decoration: underline; }
.credit { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; padding-left: 16px; }
.pill-search input { height: 52px; font-size: 1rem; } .filter-btn { height: 48px; padding: 0 22px; font-size: 1rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .theme-toggle { order: 0; margin-left: auto; }
  .nav-toggle { margin-left: 0; width: 44px; height: 44px; }
  nav.main a { padding: 13px 16px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 36px 18px 48px; } .in { padding: 0 18px; }
  .hero, .banner { margin: 10px 10px 0; border-radius: 22px; } .cta { margin: 0 10px 10px; border-radius: 22px; }
  .hero { min-height: 60svh; } .hero .in { padding-top: 32px; padding-bottom: 26px; }
  .hero .row .btn, .cta .row .btn { flex: 1 1 100%; }
  .brand { font-size: .8rem; gap: 10px; } .brand img { width: 36px; height: 36px; }
  .site-foot .top { flex-direction: column; align-items: flex-start; }
  .credit { padding-left: 0; border-left: 0; width: 100%; }
  .finder-row { gap: 10px; } .pill-search { flex-basis: 100%; max-width: none; }
  .filter-panel label { flex-basis: 100%; }
  .rail { padding: 0 18px 20px; margin: 0 -18px; }
  .tiles { grid-template-columns: 1fr; }
  .flyers { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .grid { grid-template-columns: 1fr; }
  .meta { padding: 14px 16px 18px; } .actions { width: 100%; } .actions .btn { flex: 1; }
}
@media (min-width: 641px) and (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1600px) { body { font-size: 17px; } .wrap, .in { max-width: 1360px; } }
.hero::before { background: linear-gradient(180deg, rgba(11,11,11,.45) 0%, rgba(11,11,11,.72) 50%, rgba(11,11,11,.94) 100%); }
.hero h1, .hero p, .hero .motto { text-shadow: 0 2px 14px rgba(0,0,0,.45); }

/* ===== Hero slider (home) ===== */
.hero { display: block; min-height: 0; background: var(--c1); padding: 0; }
.hero::before { display: none; }
.slides { display: grid; }
.slide { grid-area: 1/1; position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; text-align: center; min-height: min(62svh, 520px); background: var(--c1) var(--bg) center/cover no-repeat; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; color: #fff; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.45) 0%, rgba(11,11,11,.75) 50%, rgba(11,11,11,.95) 100%); }
.slide.on { opacity: 1; visibility: visible; }
.hero .slide .in { padding: 44px 76px 26px; display: flex; flex-direction: column; align-items: center; }
.hero .slide .logo { margin-bottom: 14px; }
.hero h1, .hero .slide-title { font: 800 clamp(1.8rem, 4.4vw, 3rem)/1.05 var(--font); letter-spacing: -.03em; color: #fff; max-width: 20ch; margin: 0 0 10px; }
.hero .slide p { max-width: 58ch; font-size: .98rem; margin: 0 0 18px; }
.hero .row { justify-content: center; }
.hero .btn.outline-light { background: rgba(51,51,51,.92); border-color: transparent; color: #fff; }
.hero .btn.outline-light:hover { background: #6B6B6B; color: #fff; }
.js .hero .logo, .js .hero h1, .js .hero .motto, .js .hero p, .js .hero .row { opacity: 1; transform: none; animation: none; }
.js .slide.on .in > * { animation: rise .7s var(--ease) both; }
.js .slide.on .in > *:nth-child(2) { animation-delay: .08s; } .js .slide.on .in > *:nth-child(3) { animation-delay: .16s; } .js .slide.on .in > *:nth-child(4) { animation-delay: .24s; } .js .slide.on .in > *:nth-child(5) { animation-delay: .32s; }
.hero-arrow { position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(11,11,11,.55); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; transition: background .25s, color .25s; }
.hero-arrow:hover { background: #fff; color: #0B0B0B; }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.dots { display: flex; justify-content: center; gap: 10px; padding: 14px 0 0; }
.dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 99px; background: var(--c3); cursor: pointer; transition: width .35s var(--ease), background .25s; }
.dot[aria-current="true"] { width: 34px; background: var(--c5); }
/* Row headings with arrows */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head .sec { margin: 0; }
.arrows { display: flex; gap: 8px; flex: none; }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--c3); background: transparent; color: var(--c5); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.arrow:hover { background: var(--c5); color: var(--c0); border-color: var(--c5); }
.arrow svg { width: 20px; height: 20px; }
.wrap-2 { padding-top: 0; }
.flyrail > li { flex-basis: min(240px, 66vw); }

/* ===== Compact sizes everywhere ===== */
.wrap { padding: 34px 24px 44px; } .band .wrap { padding-top: 34px; padding-bottom: 40px; }
.band .wrap-2 { padding-top: 0; }
h2.sec { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 18px; }
.banner { margin: 12px 14px 0; border-radius: 20px; }
.banner .in { padding-top: 20px; padding-bottom: 18px; }
.banner h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 4px; }
.banner p { font-size: .95rem; }
.btn { font-size: .92rem; padding: 11px 22px; }
.cta { margin: 0 14px 14px; border-radius: 20px; }
.cta .in { padding-top: 28px; padding-bottom: 28px; }
.cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 6px; }
.cta p { font-size: .95rem; margin-bottom: 14px; }
.split { gap: 24px 40px; } .split .pic { flex-basis: 200px; width: min(200px, 60vw); }
.split .copy p { font-size: 1rem; margin-bottom: 12px; } .split .motto { font-size: 1.1rem; }
.tiles li { padding: 18px 18px 22px; } .tiles h3 { font-size: 1rem; }
.form-card { padding: 20px; } .feature h3 { font-size: 1.1rem; } .feature .info { padding: 16px 20px 20px; }
.features { margin-bottom: 36px; }

/* ===== Phone: icon tab bar like Elevation ===== */
.ni { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: none !important; }
  nav.main, nav.main.open { display: block !important; order: 3; width: 100%; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--c2); }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main ul { flex-direction: row; justify-content: space-between; gap: 0; min-width: max-content; width: 100%; }
  nav.main li { flex: 1 0 auto; }
  nav.main a, nav.main a[aria-current="page"] { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px 10px; background: none; border-radius: 0; font-size: .74rem; font-weight: 500; letter-spacing: .02em; color: var(--c4); }
  nav.main a[aria-current="page"] { color: var(--c5); font-weight: 700; }
  nav.main a::after { left: 22%; right: 22%; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; background: var(--c5); }
  .ni { display: block; width: 26px; height: 26px; }
  .site-head .in { padding-top: 8px; padding-bottom: 0; min-height: 0; }
  .brand, .theme-toggle { margin-bottom: 8px; }
  .hero .slide .in { padding: 32px 22px 22px; }
  .hero-arrow { top: 34%; width: 38px; height: 38px; } .hero-arrow.prev { left: 8px; } .hero-arrow.next { right: 8px; }
}
@media (max-width: 640px) {
  .wrap, .band .wrap { padding: 26px 18px 34px; } .band .wrap-2 { padding-top: 0; }
  .banner { margin: 10px 10px 0; } .banner .in { padding: 16px 18px 14px; }
  .cta { margin: 0 10px 10px; } .cta .in { padding: 22px 18px; }
  .slide { min-height: 58svh; }
  .hero .row .btn { flex: 1 1 100%; }
  .arrow { width: 38px; height: 38px; }
  .flyrail > li { flex-basis: 62vw; }
}
@media (prefers-reduced-motion: reduce) { .js .slide.on .in > * { animation: none; } .slide { transition: none; } }

/* ===== Welcome slide + larger logo ===== */
.brand img { width: 54px; height: 54px; }
.hero .logo { width: 92px; height: 92px; margin-bottom: 8px; }
.slide.s1 { min-height: min(80svh, 680px); }
.slide.s1::before { background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,.05) 40%, rgba(11,11,11,.82) 68%, rgba(11,11,11,.96) 100%); }
.hero .slide.s1 .in { padding-top: 28px; }
.hero .s1 h1 { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0 0 18px; max-width: none; text-align: center; font-size: clamp(2.3rem, 7vw, 5.2rem); line-height: .94; letter-spacing: -.05em; color: #EDE9DD; text-shadow: 0 4px 30px rgba(0,30,70,.35); }
.hero .s1 .motto { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.hero .s1 p:not(.motto) { font-size: .9rem; max-width: 60ch; opacity: .92; }
.split .pic { flex-basis: 250px; width: min(250px, 66vw); }
@media (max-width: 900px) { .brand img { width: 46px; height: 46px; } .hero .logo { width: 80px; height: 80px; } .hero .slide.s1 .in { padding-top: 22px; } }
@media (max-width: 640px) { .slide.s1 { min-height: 78svh; } .hero .s1 h1 { font-size: clamp(2.2rem, 11vw, 3rem); } .hero .s1 p:not(.motto) { font-size: .85rem; } }

/* ===== Sharp media slides ===== */
.slide.s-media { background: #0B0B0B; min-height: 0; align-items: center; }
.slide.s-media::before { display: none; }
.hero .slide.s-media .in { flex-direction: row; align-items: center; gap: 36px; padding: 28px 76px 28px; text-align: left; }
.media-pic { position: relative; flex: 1.15 1 0; display: block; border-radius: 22px; overflow: hidden; background: #1A1A1A; box-shadow: 0 18px 50px rgba(0,0,0,.5); aspect-ratio: 16 / 9; }
.media-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-pic .play { width: 64px; height: 64px; }
.media-pic:hover .play { transform: scale(1.12); }
.s-media .txt { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero .s-media .slide-title { max-width: none; }
.hero .s-media .row { justify-content: flex-start; }
.js .slide.on .media-pic { animation: rise .7s var(--ease) both; }

/* ===== Rails: no scrollbar, no cut-off edge ===== */
.rail { scrollbar-width: none; scroll-padding-left: 28px; }
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 8px; }

/* ===== Three-line menu (phones) ===== */
.drawer { display: none; }
.drawer-theme { font: inherit; }
@media (max-width: 900px) {
  .nav-toggle { display: grid !important; order: -1; margin: 0 0 8px; width: 46px; height: 46px; border: 0; background: transparent; }
  .nav-toggle:hover { background: var(--c2); }
  .nav-toggle svg { width: 26px; height: 26px; }
  .drawer:not([hidden]) { display: block; border-top: 1px solid var(--c2); animation: pop .3s var(--ease); }
  .drawer nav { display: flex; flex-direction: column; padding: 8px 18px 16px; }
  .drawer a, .drawer-theme { display: block; width: 100%; text-align: left; padding: 14px 6px; font-size: 1.05rem; font-weight: 700; color: var(--c5); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--c2); cursor: pointer; }
  .drawer a[aria-current="page"] { color: var(--c4); } .drawer a[aria-current="page"]::after { content: "  \2022"; }
  .drawer-theme { border-bottom: 0; font-weight: 500; color: var(--c4); }
  .hero .slide.s-media .in { flex-direction: column; gap: 18px; padding: 22px 18px 20px; text-align: center; }
  .media-pic { width: 100%; flex: none; }
  .s-media .txt { align-items: center; } .hero .s-media .row { justify-content: center; }
  .hero .slide.s-media { min-height: 0; }
}
@media (max-width: 640px) { .hero .s-media .row .btn { flex: 1 1 100%; } }

/* Editable content: announcement + team */
.announce { background: var(--c5); color: var(--c0); text-align: center; padding: 10px 20px; font-weight: 700; font-size: .95rem; }
.announce p { margin: 0; } .announce a { color: var(--c0); text-underline-offset: 3px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.member { background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); padding: 18px 18px 24px; }
.member img, .member .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; display: block; background: var(--c2); margin-bottom: 14px; }
.member h3 { font: 800 1.15rem/1.2 var(--font); color: var(--c5); margin: 0 0 4px; }
.member .role { color: var(--c4); font-weight: 700; margin: 0 0 8px; font-size: .95rem; }
.member p { margin: 0 0 6px; font-size: .95rem; }

/* Flyers: every picture sits in the same-size frame, whatever its shape */
.feature .shot img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--c0); }
.flyer .shot img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--c0); }

/* ===== Blue theme (client palette: #007FFF, #66CCFF, #F0F8FF, #1E90FF) ===== */
:root {
  --blue: #007FFF; --sky: #66CCFF; --ice: #F0F8FF; --azure: #1E90FF;
  --c0: #06111F; --c1: #0B1D33; --c2: #17304F; --c3: #6F8CB0; --c4: #CFE2F6; --c5: #FFFFFF;
}
html[data-theme="dark"] { --head-bg: rgba(6,17,31,.92); }
html[data-theme="light"] { --c0: #F0F8FF; --c1: #FFFFFF; --c2: #CBE0F5; --c3: #4B6A8F; --c4: #1B3555; --c5: #08264A; --head-bg: rgba(240,248,255,.92); }
:focus-visible { outline-color: var(--sky); }
nav.main a[aria-current="page"], .btn.light, .actions .btn.yt, .badge, .contact-list .ico, .lb-close { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.light:hover, .actions .btn.yt:hover { background: var(--azure); border-color: var(--azure); }
nav.main a::after, .dot[aria-current="true"] { background: var(--blue); }
.arrow:hover, .close:hover, .btn.ghost:hover, .btn.outline-light:hover, .social a:hover, .hero-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.tiles li:hover { background: var(--blue); border-color: var(--blue); }
.tiles li:hover h3 { color: #fff; } .tiles li:hover p { color: var(--ice); }
.announce { background: var(--blue); color: #fff; } .announce a { color: #fff; }
.play::before { border-color: transparent transparent transparent var(--blue); }

/* Hero and slides stay dark navy so the text stays readable */
.hero::before { background: linear-gradient(180deg, rgba(6,17,31,.45) 0%, rgba(6,17,31,.72) 50%, rgba(6,17,31,.94) 100%); }
.slide::before { background: linear-gradient(180deg, rgba(6,17,31,.45) 0%, rgba(6,17,31,.75) 50%, rgba(6,17,31,.95) 100%); }
.slide.s1::before { background: linear-gradient(180deg, rgba(6,17,31,0) 0%, rgba(6,17,31,.05) 40%, rgba(6,17,31,.78) 68%, rgba(6,17,31,.94) 100%); }
.slide.s-media { background: #06111F; } .media-pic { background: #0B1D33; }
.hero .btn { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero .btn:hover { background: var(--azure); border-color: var(--azure); }
.hero .btn.outline-light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn.outline-light:hover { background: #fff; border-color: #fff; color: var(--blue); }
.hero .motto { color: var(--ice); }

/* Join us strip */
.cta { background: linear-gradient(135deg, #007FFF 0%, #1E90FF 60%, #66CCFF 140%); color: #fff; }
.cta h2 { color: #fff; } .cta p { color: var(--ice); }
.cta .btn { background: #fff; border-color: #fff; color: var(--blue); } .cta .btn:hover { background: var(--ice); border-color: var(--ice); }
.cta .btn.outline-light { background: transparent; border-color: #fff; color: #fff; } .cta .btn.outline-light:hover { background: #fff; color: var(--blue); }

/* Donate page */
.give { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 24px; align-items: start; }
.give-qr { margin: 0; background: #fff; border: 1px solid var(--c2); border-radius: var(--r); padding: 20px; text-align: center; box-shadow: 0 14px 40px rgba(0,127,255,.18); }
.give-qr img { width: 100%; height: auto; display: block; border-radius: 12px; }
.give-qr figcaption { margin-top: 12px; color: #08264A; font-weight: 800; }
.give-info { background: var(--c1); border: 1px solid var(--c2); border-radius: var(--r); padding: 26px 28px; }
.give-list { margin: 0 0 22px; }
.give-list > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--c2); }
.give-list > div:first-child { padding-top: 0; }
.give-list dt { color: var(--c3); font-weight: 700; } .give-list dd { margin: 0; color: var(--c5); font-weight: 800; font-size: 1.1rem; }
.copy-btn { font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; margin-left: 10px; padding: 8px 16px; border-radius: 99px; border: 0; background: var(--blue); color: #fff; transition: background .25s, transform .25s; }
.copy-btn:hover { background: var(--azure); transform: translateY(-2px); }
.give-info h2 { font: 800 1.2rem/1.2 var(--font); color: var(--c5); margin: 0 0 10px; }
.give-steps { margin: 0; padding-left: 1.2em; } .give-steps li { margin: 0 0 8px; }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; } .give-qr { max-width: 340px; margin: 0 auto; width: 100%; } .give-info { padding: 20px; } }
.hero .slide .btn.outline-light, .hero .s1 .btn.outline-light { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.hero .slide .btn.outline-light:hover, .hero .s1 .btn.outline-light:hover { background: #fff; border-color: #fff; color: var(--blue); }

/* ===== Bluer colours (layout unchanged) ===== */
:root { --c0: #061F4A; --c1: #0A2D66; --c2: #1B4A94; --c3: #86A9DD; --c4: #D6E6FF; --c5: #FFFFFF; }
html[data-theme="light"] { --c0: #E6F2FF; --c1: #FFFFFF; --c2: #BFD9F5; --c3: #3F68A0; --c4: #163A6B; --c5: #062A5E; }
.slide.s-media { background: #061F4A; } .media-pic { background: #0A2D66; }
.hero::before { background: linear-gradient(180deg, rgba(4,24,60,.45) 0%, rgba(4,24,60,.72) 50%, rgba(4,24,60,.94) 100%); }
.slide::before { background: linear-gradient(180deg, rgba(4,24,60,.45) 0%, rgba(4,24,60,.75) 50%, rgba(4,24,60,.95) 100%); }
.slide.s1::before { background: linear-gradient(180deg, rgba(4,24,60,0) 0%, rgba(4,24,60,.05) 40%, rgba(4,24,60,.78) 68%, rgba(4,24,60,.94) 100%); }

/* Header: blue with white text in both modes */
html .site-head { background: linear-gradient(90deg, #0062E0 0%, #007FFF 55%, #1E90FF 100%); border-bottom: 0; }
html .site-head .brand, html .site-head .brand span, html .site-head nav.main a, html .site-head .nav-toggle, html .site-head .theme-toggle { color: #fff; }
html .site-head .theme-toggle { border-color: rgba(255,255,255,.65); }
html .site-head .theme-toggle:hover { background: #fff; color: var(--blue); }
html .site-head nav.main a[aria-current="page"] { background: #fff; color: var(--blue); }
html .site-head nav.main a::after { background: #fff; }

/* Page title banners, scrolling strip, footer */
.banner { background: linear-gradient(120deg, #0066E0 0%, #007FFF 45%, #1E90FF 80%, #66CCFF 170%); border-color: transparent; }
.banner h1 { color: #fff; } .banner p { color: #EAF4FF; }
.marquee { background: var(--blue); color: #fff; border-color: transparent; }
.marquee span::after { color: var(--sky); }
.site-foot { background: linear-gradient(120deg, #0057C8 0%, #007FFF 60%, #1E90FF 100%); border-top: 0; color: #fff; }
.site-foot .official { color: #fff; }
.site-foot .mail, .site-foot .credit { color: #EAF4FF; } .site-foot .mail:hover { color: #fff; }
.site-foot .social a { border-color: rgba(255,255,255,.6); color: #fff; }
.site-foot .social a:hover { background: #fff; border-color: #fff; color: var(--blue); }
html[data-theme="light"] .a-dark { display: inline-block; } html[data-theme="light"] .a-light { display: none; }

/* Donate notice */
.notice { display: flex; gap: 12px; align-items: flex-start; background: rgba(0,127,255,.14); border: 1px solid var(--blue); border-radius: 20px; padding: 16px 20px; margin: 0 0 20px; color: var(--c5); }
.notice svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--blue); }
html[data-theme="dark"] .notice svg { color: var(--sky); }
.notice p { margin: 0; } .notice a { font-weight: 800; text-underline-offset: 3px; }

/* ===== Blueprint palette: #0A2550 #1240A0 #2060D0 #4090E0 #DDEEFA ===== */
:root {
  --blue: #2060D0; --azure: #1240A0; --sky: #4090E0; --ice: #DDEEFA;
  --c0: #0A2550; --c1: #0E3070; --c2: #1A4DB0; --c3: #8FB6EA; --c4: #DDEEFA; --c5: #FFFFFF;
}
html[data-theme="light"] { --c0: #DDEEFA; --c1: #FFFFFF; --c2: #B5D2F0; --c3: #3A62A0; --c4: #0A2550; --c5: #0A2550; }

/* Mobile: remove the thin line between the logo row and the icon tabs */
html .site-head nav.main, html .site-head nav.main.open { border-top: 0; }

html .site-head { background: linear-gradient(90deg, #1240A0 0%, #2060D0 100%); }
.banner { background: linear-gradient(120deg, #1240A0 0%, #2060D0 70%, #4090E0 170%); }
.banner p { color: #DDEEFA; }
.site-foot { background: linear-gradient(120deg, #1240A0 0%, #2060D0 100%); }
.site-foot .mail, .site-foot .credit { color: #DDEEFA; }
.cta { background: linear-gradient(135deg, #1240A0 0%, #2060D0 100%); }
.cta p { color: #DDEEFA; }
.slide.s-media { background: #0A2550; } .media-pic { background: #0E3070; }
.hero::before { background: linear-gradient(180deg, rgba(10,37,80,.45) 0%, rgba(10,37,80,.72) 50%, rgba(10,37,80,.94) 100%); }
.slide::before { background: linear-gradient(180deg, rgba(10,37,80,.45) 0%, rgba(10,37,80,.75) 50%, rgba(10,37,80,.95) 100%); }
.slide.s1::before { background: linear-gradient(180deg, rgba(10,37,80,0) 0%, rgba(10,37,80,.05) 40%, rgba(10,37,80,.78) 68%, rgba(10,37,80,.94) 100%); }
.notice { background: rgba(32,96,208,.14); }
.give-qr { box-shadow: 0 14px 40px rgba(32,96,208,.25); }

/* ===== Custom overrides: single-line header + aligned uncropped team portraits ===== */
.site-head .in {
  gap: 12px 18px;
}
.brand {
  flex: 0 1 auto;
  white-space: nowrap;
}
.brand span {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .brand { font-size: .86rem; gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  nav.main a { padding: 8px 10px; font-size: .86rem; }
}

@media (max-width: 900px) {
  .brand { font-size: clamp(.72rem, 3.2vw, .95rem); gap: 8px; }
  .brand img { width: 38px; height: 38px; }
}

@media (max-width: 400px) {
  .site-head .in { padding: 8px 12px 0; gap: 8px; }
  .brand { font-size: clamp(.64rem, 3.1vw, .75rem); gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  .theme-toggle { width: 36px; height: 36px; }
}

.member {
  display: flex;
  flex-direction: column;
}
.member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* ===== Southland-style redesign (visual only; markup, content & scripts untouched) ===== */
:root { --r: 0px; --sl-accent: #2060D0; }
html[data-theme="light"] { --c0: #FFFFFF; --c1: #F5F5F3; --c2: #E3E3DF; --c3: #6E6E6A; --c4: #3A3A38; --c5: #0B2545; --head-bg: rgba(255,255,255,.96); }
html[data-theme="dark"]  { --c0: #0B2545; --c1: #171717; --c2: #2A2A2A; --c3: #8A8A86; --c4: #CFCFCB; --c5: #FFFFFF; --head-bg: rgba(11,37,69,.97); }
body { font-weight: 400; letter-spacing: .005em; }
h1, h2, h3, h2.sec { text-transform: uppercase; letter-spacing: .01em; font-weight: 800; line-height: 1.02; }
h2.sec { font-size: clamp(1.7rem, 3.2vw, 2.6rem); padding-bottom: 14px; position: relative; }
h2.sec::after { content: ""; display: block; width: 48px; height: 4px; background: var(--sl-accent); margin-top: 14px; }

/* Header: slim, flat, uppercase tracked links */
.site-head { background: var(--head-bg, var(--c0)); border-bottom: 1px solid var(--c2); backdrop-filter: blur(10px); }
.site-head .in { min-height: 72px; }
.brand { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .88rem; }
.brand img { border-radius: 0; width: 42px; height: 42px; object-fit: cover; }
nav.main ul { gap: 2px; }
nav.main a { border-radius: 0; padding: 26px 12px 22px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: none; border-bottom: 3px solid transparent; }
nav.main a:hover { background: none; border-bottom-color: var(--c3); }
nav.main a[aria-current="page"] { background: none; color: var(--c5); border-bottom-color: var(--sl-accent); }
.nav-toggle, .theme-toggle { border-radius: 0; }
@media (max-width: 900px) { nav.main a { padding: 14px 6px; border-bottom: 1px solid var(--c2); } }

/* Buttons: square, uppercase, solid or outlined */
.btn { border-radius: 0; padding: 16px 30px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; border-width: 2px; }
.btn:hover { transform: none; background: var(--sl-accent); border-color: var(--sl-accent); color: #fff; }
.btn.ghost:hover, .btn.outline-light:hover { background: #fff; border-color: #fff; color: #0B2545; }
.btn.light { background: #fff; color: #0B2545; border-color: #fff; }
.btn.light:hover { background: var(--sl-accent); border-color: var(--sl-accent); color: #fff; }

/* Hero: full-bleed edge-to-edge, big uppercase statement */
.hero { margin: 0; border-radius: 0; }
.slide, .slides, .hero .slide::before { border-radius: 0; }
.hero h1, .slide h1 { text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.01em; max-width: 16ch; }
.hero .logo, .slide .logo { border-radius: 0; border: 0; width: 72px; height: 72px; }
.hero .motto, .slide .motto { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; }
.hero p, .slide p { font-size: 1.08rem; }
.media-pic { border-radius: 0; }
.dots .dot { border-radius: 0; }

/* Sections, cards, tiles: flat, square, image-led */
.band { border-radius: 0; background: var(--c1); }
.sec-head { border-bottom: 1px solid var(--c2); padding-bottom: 14px; }
.card, .panel, .form-card, .notice, .member, .tiles > *, .feature, .flyer, .give-info, .finder, .filter-panel { border-radius: 0; box-shadow: none; }
.card { border: 0; background: transparent; padding-bottom: 18px; }
.card:hover { transform: none; }
.card .thumb, .card .thumb img, .team img, .member img, .photo, .pic, .frame, .flyer img, .give-qr, .lightbox img { border-radius: 0; }
.card h2, .card h3 { text-transform: uppercase; letter-spacing: .03em; font-size: .98rem; margin: 14px 0 4px; }
.card time, .when, .meta { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.card .play { border-radius: 50%; }
.badge, .pill-search input, .filter-btn, .field input, .field textarea, .field select, input, textarea, select { border-radius: 0; }
.pill-search input { border: 1px solid var(--c2); background: var(--c0); }
.notice { background: var(--c1); border-left: 4px solid var(--sl-accent); }

/* Footer: solid dark, quiet */
.site-foot { background: #0B2545; background-image: none; border-top: 0; color: #CFCFCB; }
.site-foot .official, .site-foot .mail, .site-foot .credit { color: #fff; text-transform: none; }
.site-foot .official { text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.site-foot .social a { border-radius: 0; border-color: #555; color: #fff; }
.site-foot .social a:hover { background: var(--sl-accent); border-color: var(--sl-accent); color: #fff; }
.drawer, .drawer nav a { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* ===== Southland-style redesign v2: stronger overrides (beat earlier blue-theme rules) ===== */
html body { --blue: #0B2545; --sky: #fff; }
html[data-theme="dark"] body { --blue: #fff; }
html body .site-head { background: var(--c0) !important; border-bottom: 1px solid var(--c2) !important; color: var(--c5); }
html body .site-head .in { min-height: 76px; max-width: 1400px; }
html body .brand, html body .site-head .brand span { color: var(--c5) !important; }
html body nav.main a { color: var(--c5) !important; background: none !important; border-radius: 0 !important; border-bottom: 3px solid transparent !important; padding: 28px 13px 24px !important; font-size: .72rem !important; letter-spacing: .16em; }
html body nav.main a:hover { border-bottom-color: var(--c3) !important; }
html body nav.main a[aria-current="page"] { border-bottom-color: var(--c5) !important; color: var(--c5) !important; }
html body nav.main a::after { display: none !important; }
html body .site-head .theme-toggle, html body .nav-toggle { color: var(--c5) !important; border-color: var(--c2) !important; background: none !important; border-radius: 0 !important; }
@media (max-width: 900px) { html body nav.main a { padding: 14px 10px !important; } }

/* Hero: full-bleed photo, text bottom-left, huge uppercase type */
html body .hero { margin: 0 !important; border-radius: 0 !important; }
html body .hero .slide { justify-content: flex-start; text-align: left; min-height: min(86svh, 760px); }
html body .hero .slide.s-media { min-height: min(70svh, 600px); background: var(--c0); color: var(--c5); }
html body .hero .slide::before { background: linear-gradient(180deg, rgba(11,37,69,.25) 0%, rgba(11,37,69,.35) 45%, rgba(11,37,69,.82) 100%) !important; }
html body .hero .slide.s-media::before { display: none; }
html body .hero .slide .in { align-items: flex-start; padding: 80px 88px 72px; max-width: 1400px; margin: 0 auto; width: 100%; }
html body .hero h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: .94; letter-spacing: -.02em; max-width: 14ch; margin: 0 0 22px; text-transform: uppercase; }
html body .hero .slide-title { font-size: clamp(2rem, 4.6vw, 3.8rem); text-transform: uppercase; letter-spacing: -.01em; color: var(--c5); }
html body .hero .slide.s-media p { color: var(--c4); }
html body .hero .motto { color: #fff; border-left: 4px solid #fff; padding-left: 14px; margin-bottom: 14px; }
html body .hero .slide p { text-align: left; font-size: 1.05rem; max-width: 52ch; }
html body .hero .row { justify-content: flex-start; }
html body .hero .logo { display: none; }
html body .hero .btn, html body .hero .btn.light { background: #fff !important; color: #0B2545 !important; border-color: #fff !important; }
html body .hero .btn.outline-light { background: transparent !important; color: #fff !important; border-color: #fff !important; }
html body .hero .btn:hover, html body .hero .btn.light:hover { background: #0B2545 !important; color: #fff !important; border-color: #0B2545 !important; }
html body .hero .s-media .btn.light { background: var(--c5) !important; color: var(--c0) !important; border-color: var(--c5) !important; }
html body .hero .s-media .btn.outline-light { color: var(--c5) !important; border-color: var(--c5) !important; }
html body .hero-arrow { border-radius: 0; width: 52px; height: 52px; background: rgba(11,37,69,.45); border-color: #fff; }
html body .hero-arrow:hover { background: #fff; color: #0B2545; border-color: #fff; }
html body .media-pic { border-radius: 0 !important; }
@media (max-width: 760px) { html body .hero .slide .in { padding: 56px 22px 48px; } }

/* Dots + marquee: neutral black bar */
html body .dots { padding: 0; background: var(--c0); }
html body .dots .dot { width: 40px; height: 4px; border-radius: 0; background: var(--c2); margin: 0; }
html body .dots .dot[aria-current="true"] { background: var(--c5); }
html body .marquee { margin: 0 !important; background: #0B2545 !important; color: #fff !important; border: 0 !important; padding: 16px 0 !important; }
html body .marquee span { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem !important; font-weight: 700; }
html body .marquee span::after { color: #777 !important; }

/* Sections */
html body .band { background: var(--c1); }
html body .wrap { padding-top: 88px; padding-bottom: 96px; }
html body .sec-head { border-bottom: 2px solid var(--c5); }
html body h2.sec::after { background: var(--c5); }
html body .card, html body .flyer { background: transparent !important; border: 0 !important; }
html body .card .thumb, html body .flyer .shot { border-radius: 0 !important; overflow: hidden; }
html body .card:hover .thumb img { transform: scale(1.04); }
html body .arrow { border-radius: 0; }
html body .arrow:hover, html body .btn.ghost:hover, html body .social a:hover { background: var(--c5) !important; border-color: var(--c5) !important; color: var(--c0) !important; }
html body .btn { background: var(--c5); color: var(--c0); border-color: var(--c5); }
html body .btn.ghost { background: transparent; color: var(--c5); }
html body .btn:hover { background: var(--c3); border-color: var(--c3); color: #fff; }
html body .notice { border-radius: 0 !important; border: 0; border-left: 4px solid var(--c5); background: var(--c1); }
html body .tiles li { border-radius: 0 !important; }
html body .tiles li:hover { background: var(--c5); color: var(--c0); }
html body .badge, html body .contact-list .ico, html body .copy-btn, html body .announce { background: var(--c5) !important; color: var(--c0) !important; border-radius: 0 !important; border-color: var(--c5) !important; }
html body .cta { border-radius: 0 !important; background: #0B2545 !important; }
html body .site-foot { background: #0B2545 !important; }
html body .site-foot .social a { border-radius: 0; }
html body .hero h1, html body .hero .slide-title, html body .hero .motto { text-align: left; }
html body .dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
html body .banner { margin: 0 !important; border-radius: 0 !important; background: #0B2545 !important; color: #fff !important; }
html body .banner h1, html body .banner p { color: #fff !important; text-transform: uppercase; }
html body .banner h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
html body .banner p { letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; opacity: .8; }
html body .banner .in, html body .banner .wrap { max-width: 1400px; padding-top: 56px; padding-bottom: 56px; }

/* ===== Palette: 134074 / 13315C / 0B2545 / 8DA9C4 / EEF4ED ===== */
:root { --sl-accent: #134074; }
html[data-theme="light"] { --c0: #EEF4ED; --c1: #FFFFFF; --c2: #C9D6E2; --c3: #134074; --c4: #13315C; --c5: #0B2545; --head-bg: #EEF4ED; }
html[data-theme="dark"]  { --c0: #0B2545; --c1: #13315C; --c2: #134074; --c3: #8DA9C4; --c4: #EEF4ED; --c5: #FFFFFF; --head-bg: #0B2545; }
html[data-theme="light"] body { --blue: #134074; --sky: #8DA9C4; }
html[data-theme="dark"] body { --blue: #8DA9C4; --sky: #8DA9C4; }
html body .band { background: var(--c1); }
html[data-theme="light"] body .band { background: #E3ECE6; }
html body .marquee { background: #0B2545 !important; color: #EEF4ED !important; }
html body .marquee span::after { color: #8DA9C4 !important; }
html body .hero .slide::before { background: linear-gradient(180deg, rgba(11,37,69,.35) 0%, rgba(11,37,69,.5) 45%, rgba(11,37,69,.9) 100%) !important; }
html body .btn:hover { background: #134074; border-color: #134074; color: #fff; }
html[data-theme="dark"] body .btn:hover { background: #8DA9C4; border-color: #8DA9C4; color: #0B2545; }
html body .hero .btn:hover, html body .hero .btn.light:hover { background: #8DA9C4 !important; border-color: #8DA9C4 !important; color: #0B2545 !important; }
html body .banner, html body .cta, html body .site-foot { background: #0B2545 !important; }
html body .notice { border-left-color: #134074; background: var(--c1); }
html body .badge, html body .contact-list .ico, html body .copy-btn, html body .announce { background: #134074 !important; border-color: #134074 !important; color: #fff !important; }
html[data-theme="dark"] body .copy-btn { background: #8DA9C4 !important; border-color: #8DA9C4 !important; color: #0B2545 !important; }
html body .site-foot .social a:hover { background: #8DA9C4; border-color: #8DA9C4; color: #0B2545; }

/* Donation: QR card and KBZPay info line up (same height, QR centered) */
html body .give { align-items: stretch; grid-template-columns: minmax(260px, 380px) 1fr; }
html body .give-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 0; box-shadow: none; border: 1px solid var(--c2); background: #fff; height: 100%; }
html body .give-qr img { width: 100%; max-width: 320px; border-radius: 0; }
html body .give-qr figcaption { color: #0B2545; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
html body .give-info { border-radius: 0; display: flex; flex-direction: column; justify-content: center; height: 100%; }
html body .give-list { margin-bottom: 20px; }
@media (max-width: 760px) { html body .give { grid-template-columns: 1fr; } html body .give-qr { height: auto; } }

/* ===== Round logo + motion + card styling ===== */
img[src*="logo"], html body .brand img, html body .hero .logo, html body .hero .logo img { border-radius: 50% !important; object-fit: cover; }
html body .brand img { width: 46px; height: 46px; box-shadow: 0 0 0 2px #8DA9C4; transition: transform .6s var(--ease); }
html body .brand:hover img { transform: rotate(360deg) scale(1.05); }
html body .hero .logo { display: block; width: 84px; height: 84px; border: 3px solid #8DA9C4 !important; box-shadow: 0 0 0 8px rgba(141,169,196,.25); animation: sl-pulse 3s ease-in-out infinite; }

@keyframes sl-pulse { 0%,100% { box-shadow: 0 0 0 6px rgba(141,169,196,.25); } 50% { box-shadow: 0 0 0 16px rgba(141,169,196,0); } }
@keyframes sl-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes sl-shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(240%) skewX(-20deg); } }
@keyframes sl-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }

/* Hero: slow zoom on photo, gentle text rise */
html body .hero .slide.s1 { background-size: cover; }
html body .hero .slide.s1.on { animation: sl-kb 14s ease-out forwards; }
html body .hero .slide.s1.on .in { animation: none; }
html body .hero h1 { text-shadow: 0 4px 30px rgba(11,37,69,.5); }

/* Buttons: shine sweep + lift */
html body .btn { position: relative; overflow: hidden; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
html body .btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
html body .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,37,69,.28); }
html body .btn:hover::after { animation: sl-shine .8s ease; }

/* Nav links: growing underline */
html body nav.main a { transition: border-color .3s, letter-spacing .3s; }
html body nav.main a:hover { letter-spacing: .2em; }

/* Video cards */
html body .grid .card, html body .rail .card { background: var(--c1) !important; padding: 0 0 20px !important; border: 1px solid var(--c2) !important; box-shadow: 0 2px 10px rgba(11,37,69,.08); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; position: relative; }
html body .card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11,37,69,.28); border-color: #8DA9C4 !important; }
html body .card .thumb { position: relative; overflow: hidden; }
html body .card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,37,69,.75)); opacity: .55; transition: opacity .4s; pointer-events: none; }
html body .card:hover .thumb::after { opacity: 1; }
html body .card .thumb img { transition: transform .8s var(--ease); }
html body .card:hover .thumb img { transform: scale(1.1); }
html body .card .play { z-index: 2; background: #fff; transition: transform .35s var(--ease); animation: sl-ring 2.2s ease-out infinite; }
html body .card .play::before { border-color: transparent transparent transparent #0B2545; }
html body .card h2, html body .card h3 { margin: 16px 18px 4px; }
html body .card time { margin: 0 18px; color: var(--c3); }
html body .card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: #8DA9C4; transition: width .5s var(--ease); }
html body .card:hover::after { width: 100%; }

/* Team cards */
html body .team { gap: 28px; }
html body .member { background: var(--c1) !important; border: 1px solid var(--c2) !important; padding: 0 0 24px !important; overflow: hidden; position: relative; box-shadow: 0 2px 10px rgba(11,37,69,.08); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
html body .member:hover { transform: translateY(-10px); box-shadow: 0 26px 50px rgba(11,37,69,.3); border-color: #8DA9C4 !important; }
html body .member img, html body .member .ph { margin: 0 0 18px !important; transition: transform .9s var(--ease), filter .5s; filter: saturate(.9); }
html body .member:hover img { transform: scale(1.07); filter: saturate(1.1); }
html body .member::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #134074, #8DA9C4); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 2; }
html body .member:hover::before { transform: scaleX(1); }
html body .member h3, html body .member .role, html body .member p { padding: 0 20px; }
html body .member .role { color: var(--c3); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }

/* Other cards + reveal polish */
html body .flyer .shot { overflow: hidden; display: block; }
html body .flyer .shot img { transition: transform .8s var(--ease); }
html body .flyer:hover .shot img { transform: scale(1.06); }
.js [data-reveal] { transform: translateY(44px) scale(.98); }
.js [data-reveal].seen { transform: none; }
html body .marquee .track { animation-duration: 30s; }

@media (prefers-reduced-motion: reduce) {
  html body .hero .slide.s1.on, html body .hero .logo, html body .card .play { animation: none; }
  html body .btn:hover::after { animation: none; }
  html body .card:hover, html body .member:hover, html body .btn:hover { transform: none; }
}

/* ===== More blue (palette 134074 / 13315C / 0B2545 / 8DA9C4 / EEF4ED) + one-line footer ===== */
html body .site-foot { background: linear-gradient(120deg, #0B2545 0%, #13315C 55%, #134074 100%) !important; border-top: 4px solid #8DA9C4; }
html body .site-foot .top { flex-wrap: nowrap; padding-top: 34px; padding-bottom: 34px; }
html body .site-foot .official { max-width: none; white-space: nowrap; font-size: clamp(.78rem, 1.25vw, 1rem); letter-spacing: .06em; color: #EEF4ED !important; }
html body .site-foot .social-row { flex: none; }
html body .site-foot .mail { color: #8DA9C4 !important; }
html body .site-foot .mail:hover { color: #fff !important; }
html body .site-foot .social a { border-color: #8DA9C4; color: #8DA9C4; }
@media (max-width: 900px) { html body .site-foot .top { flex-wrap: wrap; } html body .site-foot .official { white-space: normal; } }

html body .banner { background: linear-gradient(120deg, #0B2545 0%, #13315C 50%, #134074 100%) !important; border-bottom: 4px solid #8DA9C4; }
html body .banner p { color: #8DA9C4 !important; opacity: 1; }
html body .marquee { background: linear-gradient(90deg, #134074, #13315C, #134074) !important; border-block: 2px solid #8DA9C4 !important; }
html body .hero .slide::before { background: linear-gradient(180deg, rgba(19,64,116,.45) 0%, rgba(19,49,92,.6) 45%, rgba(11,37,69,.94) 100%) !important; }
html body .hero .slide.s-media { background: linear-gradient(135deg, #0B2545, #13315C 60%, #134074) !important; color: #fff; }
html body .hero .slide.s-media .slide-title, html body .hero .slide.s-media p { color: #EEF4ED !important; }
html body .hero .s-media .btn.light { background: #8DA9C4 !important; color: #0B2545 !important; border-color: #8DA9C4 !important; }
html body .hero .s-media .btn.outline-light { color: #fff !important; border-color: #8DA9C4 !important; }
html body .dots .dot[aria-current="true"] { background: #134074; }
html[data-theme="dark"] body .dots .dot[aria-current="true"] { background: #8DA9C4; }
html body .dots { background: var(--c0); }

html[data-theme="light"] body .band { background: linear-gradient(180deg, #DCE6EE 0%, #C9D9E6 100%); }
html[data-theme="dark"] body .band { background: linear-gradient(180deg, #13315C 0%, #0F2A50 100%); }
html body .sec-head { border-bottom: 2px solid #134074; }
html[data-theme="dark"] body .sec-head { border-bottom-color: #8DA9C4; }
html body h2.sec::after { background: #134074; width: 64px; }
html[data-theme="dark"] body h2.sec::after { background: #8DA9C4; }
html[data-theme="light"] body h1, html[data-theme="light"] body h2.sec, html[data-theme="light"] body h3 { color: #13315C; }
html[data-theme="light"] body .banner h1, html[data-theme="light"] body .hero h1, html[data-theme="light"] body .hero .slide-title { color: #fff; }
html body .btn { background: #134074; border-color: #134074; color: #fff; }
html body .btn.ghost { background: transparent; color: #134074; border-color: #134074; }
html[data-theme="dark"] body .btn.ghost { color: #8DA9C4; border-color: #8DA9C4; }
html body .btn.ghost:hover { background: #134074 !important; border-color: #134074 !important; color: #fff !important; }
html[data-theme="dark"] body .btn { background: #8DA9C4; border-color: #8DA9C4; color: #0B2545; }
html body .arrow { border-color: #134074; color: #134074; }
html[data-theme="dark"] body .arrow { border-color: #8DA9C4; color: #8DA9C4; }
html body .arrow:hover { background: #134074 !important; border-color: #134074 !important; color: #fff !important; }
html body .site-head { border-bottom: 3px solid #134074 !important; }
html[data-theme="dark"] body .site-head { border-bottom-color: #8DA9C4 !important; }
html body nav.main a[aria-current="page"] { border-bottom-color: #134074 !important; color: #134074 !important; }
html[data-theme="dark"] body nav.main a[aria-current="page"] { border-bottom-color: #8DA9C4 !important; color: #fff !important; }
html body .card:hover::after, html body .member::before { background: linear-gradient(90deg, #134074, #8DA9C4); }
html body .member .role { color: #134074; }
html[data-theme="dark"] body .member .role { color: #8DA9C4; }
html body .card, html body .member, html body .give-info, html body .notice { border-top: 3px solid #134074 !important; }
html[data-theme="dark"] body .card, html[data-theme="dark"] body .member, html[data-theme="dark"] body .give-info { border-top-color: #8DA9C4 !important; }
html body .give-qr { border-top: 3px solid #134074; }
html[data-theme="dark"] body .btn.ghost { background: transparent; }
html[data-theme="dark"] body .btn.ghost:hover { background: #8DA9C4 !important; color: #0B2545 !important; border-color: #8DA9C4 !important; }
html body .site-foot [data-reveal], html body .site-foot [data-reveal].seen { opacity: 1 !important; transform: none !important; transition: none; }
.js [data-reveal] { transform: translateY(28px) scale(.99); }

/* ===== Page transitions (curtain in/out + content rise) ===== */
@keyframes sl-curtain-in { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes sl-curtain-out { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
html::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: radial-gradient(circle at 50% 50%, #134074 0%, #0B2545 70%); animation: sl-curtain-in .3s ease .02s both; }
html.sl-leaving::after { visibility: visible; animation: sl-curtain-out .16s ease forwards; }
html body main, html body .banner .in, html body .banner .wrap { animation: sl-rise .4s cubic-bezier(.2,.7,.2,1) .08s both; }
html body .site-head { animation: sl-rise .3s ease .05s both; }

/* ===== Glass: soft blue light behind translucent, blurred surfaces ===== */
html[data-theme="light"] body { background: radial-gradient(60vmax 50vmax at 8% 0%, rgba(141,169,196,.6), transparent 60%), radial-gradient(50vmax 45vmax at 100% 45%, rgba(19,64,116,.22), transparent 62%), radial-gradient(45vmax 40vmax at 20% 100%, rgba(141,169,196,.45), transparent 60%), #EEF4ED; background-attachment: fixed; }
html[data-theme="dark"] body { background: radial-gradient(60vmax 50vmax at 8% 0%, rgba(19,64,116,.85), transparent 60%), radial-gradient(50vmax 45vmax at 100% 45%, rgba(141,169,196,.18), transparent 62%), radial-gradient(45vmax 40vmax at 20% 100%, rgba(19,64,116,.7), transparent 60%), #0B2545; background-attachment: fixed; }

html[data-theme="light"] body .site-head { background: rgba(238,244,237,.62) !important; }
html[data-theme="dark"] body .site-head { background: rgba(11,37,69,.55) !important; }
html body .site-head { -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 8px 30px rgba(11,37,69,.12); }

html[data-theme="light"] body .band { background: rgba(255,255,255,.28); }
html[data-theme="dark"] body .band { background: rgba(19,49,92,.28); }
html body .band { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

html[data-theme="light"] body .grid .card, html[data-theme="light"] body .rail .card, html[data-theme="light"] body .card,
html[data-theme="light"] body .member, html[data-theme="light"] body .give-info, html[data-theme="light"] body .notice,
html[data-theme="light"] body .form-card, html[data-theme="light"] body .panel, html[data-theme="light"] body .tiles li,
html[data-theme="light"] body .filter-panel, html[data-theme="light"] body .finder, html[data-theme="light"] body .feature { background: rgba(255,255,255,.55) !important; border: 1px solid rgba(255,255,255,.75) !important; border-top: 3px solid rgba(19,64,116,.9) !important; box-shadow: 0 10px 34px rgba(11,37,69,.14), inset 0 1px 0 rgba(255,255,255,.8); }
html[data-theme="dark"] body .grid .card, html[data-theme="dark"] body .rail .card, html[data-theme="dark"] body .card,
html[data-theme="dark"] body .member, html[data-theme="dark"] body .give-info, html[data-theme="dark"] body .notice,
html[data-theme="dark"] body .form-card, html[data-theme="dark"] body .panel, html[data-theme="dark"] body .tiles li,
html[data-theme="dark"] body .filter-panel, html[data-theme="dark"] body .finder, html[data-theme="dark"] body .feature { background: rgba(19,49,92,.42) !important; border: 1px solid rgba(141,169,196,.28) !important; border-top: 3px solid rgba(141,169,196,.9) !important; box-shadow: 0 10px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); }
html body .card, html body .member, html body .give-info, html body .notice, html body .form-card, html body .panel, html body .tiles li, html body .filter-panel, html body .finder, html body .feature { -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
html body .card:hover, html body .member:hover { box-shadow: 0 24px 50px rgba(11,37,69,.3), inset 0 1px 0 rgba(255,255,255,.4); }
html body .give-qr { background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 34px rgba(11,37,69,.18); }

/* Glass controls on photos and dark areas */
html body .hero .btn.outline-light, html body .hero .s-media .btn.outline-light { background: rgba(255,255,255,.14) !important; border-color: rgba(255,255,255,.6) !important; color: #fff !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html body .hero .btn.outline-light:hover { background: rgba(255,255,255,.9) !important; color: #0B2545 !important; }
html body .hero-arrow { background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255,255,255,.6); }
html body .media-pic { box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.3); }
html body .hero .slide.s1 .in { position: relative; }
html body .hero .slide.s1 .in::before { content: ""; position: absolute; inset: 40px 56px 36px; z-index: -1; background: rgba(11,37,69,.28); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); max-width: 880px; }
html body .nav-toggle, html body .site-head .theme-toggle { background: rgba(255,255,255,.18) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html body .drawer { background: rgba(11,37,69,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
html body dialog.player::backdrop { background: rgba(11,37,69,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html body .site-foot { position: relative; }
html body .site-foot .social a { background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

@media (prefers-reduced-motion: reduce) {
  html::after, html body main, html body .banner .in, html body .banner .wrap, html body .site-head { animation: none !important; }
  html::after { display: none; }
}
html body .hero .slide h1, html body .hero .slide .motto, html body .hero .slide p { text-align: left !important; align-self: flex-start; }
html body .hero .slide.s1 .in { padding-left: 100px; }
html body .hero .slide.s1 .in::before { inset: 40px 56px 36px 56px; }
@media (max-width: 760px) { html body .hero .slide.s1 .in { padding-left: 34px; } html body .hero .slide.s1 .in::before { inset: 24px 12px 20px 12px; } }

/* ===== v6: blue header, centered responsive glass hero, compact video finder ===== */
/* Header: blue that matches the page body (palette 134074 / 13315C) */
html[data-theme="light"] body .site-head { background: rgba(19,64,116,.94) !important; border-bottom: 3px solid #8DA9C4 !important; }
html[data-theme="dark"] body .site-head { background: rgba(19,49,92,.92) !important; border-bottom: 3px solid #8DA9C4 !important; }
html body .site-head .brand, html body .site-head .brand span, html body nav.main a { color: #fff !important; }
html body nav.main a:hover { border-bottom-color: #8DA9C4 !important; }
html body nav.main a[aria-current="page"], html[data-theme="dark"] body nav.main a[aria-current="page"] { color: #fff !important; border-bottom-color: #8DA9C4 !important; }
html body .site-head .theme-toggle, html body .nav-toggle { color: #fff !important; border-color: rgba(141,169,196,.7) !important; background: rgba(255,255,255,.1) !important; }
html body .brand img { box-shadow: 0 0 0 2px #8DA9C4; }
@media (max-width: 900px) { html body nav.main a { border-bottom: 1px solid rgba(141,169,196,.25) !important; } }

/* Hero slide 1: everything centered; the glass box is the content box and fits the text */
html body .hero .slide.s1 { justify-content: center; align-items: center; padding: 56px 20px; }
html body .hero .slide.s1 .in { width: auto; max-width: min(940px, 100%); margin: 0 auto; padding: clamp(26px, 4.5vw, 56px) clamp(20px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(11,37,69,.38); border: 1px solid rgba(255,255,255,.28); border-radius: 0; box-shadow: 0 24px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
html body .hero .slide.s1 .in::before { display: none; }
html body .hero .slide.s1 .logo { margin: 0 auto 18px; }
html body .hero .slide.s1 h1 { max-width: none; text-align: center !important; align-self: center; font-size: clamp(1.9rem, 6vw, 4.6rem); margin: 0 0 16px; }
html body .hero .slide.s1 .motto { text-align: center !important; align-self: center; border-left: 0; padding-left: 0; font-size: clamp(.68rem, 1.8vw, .8rem); letter-spacing: .14em; }
html body .hero .slide.s1 p { text-align: center !important; align-self: center; max-width: 60ch; font-size: clamp(.95rem, 2vw, 1.08rem); }
html body .hero .slide.s1 .row { justify-content: center; }
@media (max-width: 560px) { html body .hero .slide.s1 .row { flex-direction: column; width: 100%; } html body .hero .slide.s1 .row .btn { width: 100%; } html body .hero .slide { min-height: 0; } html body .hero .slide.s1 { min-height: 80svh; } }
html body .hero-arrow { top: 50%; }
@media (max-width: 760px) { html body .hero-arrow { width: 40px; height: 40px; } html body .hero-arrow.prev { left: 6px; } html body .hero-arrow.next { right: 6px; } }

/* Hero slides 2 & 3 (media) stack neatly on small screens */
@media (max-width: 860px) { html body .hero .slide.s-media .in { flex-direction: column; padding: 40px 20px; gap: 22px; } html body .hero .slide.s-media .media-pic { width: 100%; flex: none; } }

/* Video search + filters: compact, not full-width boxes */
html body .finder, html[data-theme] body .finder { background: transparent !important; border: 0 !important; border-top: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
html body .finder-row { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: nowrap; }
html body .pill-search { flex: 0 1 460px; max-width: 460px; min-width: 0; }
html body .pill-search input { height: 48px; font-size: .95rem; padding: 0 16px 0 52px; border: 1px solid rgba(141,169,196,.7); background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html[data-theme="dark"] body .pill-search input { background: rgba(19,49,92,.5); }
html body .pill-search svg { left: 16px; width: 20px; height: 20px; }
html body .filter-btn { flex: none; height: 48px; padding: 0 22px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; background: #134074; color: #fff; border-radius: 0; }
html[data-theme="dark"] body .filter-btn { background: #8DA9C4; color: #0B2545; }
html body .filter-btn:hover { transform: none; background: #13315C; color: #fff; }
html body .filter-panel { display: flex; flex-wrap: wrap; gap: 14px; max-width: 760px; margin-top: 14px; padding: 18px; }
html body .filter-panel[hidden] { display: none; }
html body .filter-panel label { flex: 1 1 200px; min-width: 0; }
html body .filter-panel select { width: 100%; max-width: 100%; border-radius: 0; min-height: 46px; padding: 10px 14px; }
@media (max-width: 560px) { html body .finder-row { flex-wrap: wrap; } html body .pill-search { flex: 1 1 100%; max-width: none; } html body .filter-btn { width: 100%; justify-content: center; } html body .filter-panel { max-width: none; } html body .filter-panel label { flex-basis: 100%; } }

/* Mobile header: one tidy top row (logo+name, theme, menu), icon nav row below */
@media (max-width: 900px) {
  html body .site-head .in { flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 12px 0; }
  html body .site-head .brand { order: 1; flex: 1 1 0; min-width: 0; white-space: normal; font-size: clamp(.62rem, 2.9vw, .85rem); line-height: 1.15; letter-spacing: .05em; gap: 8px; }
  html body .site-head .brand span { white-space: normal; color: #fff; }
  html body .site-head .brand img { width: 38px; height: 38px; flex: none; }
  html body .site-head .theme-toggle { order: 2; flex: none; width: 40px; height: 40px; margin: 0; }
  html body .site-head .nav-toggle { order: 3; flex: none; width: 40px; height: 40px; margin: 0; }
  html body .site-head nav.main { order: 4; }
}
