/* VACLV — Cộng Đồng Người Việt Las Vegas — modern theme
   Photo-led: full-screen photo slideshow hero, moving photo ribbon, dark festival
   gallery, photo cards, photo banners on inner pages. Palette from the seal. */
:root {
  --navy: #0B1D36;        /* hero, dark sections */
  --navy-2: #12294A;
  --cobalt: #1E4F8C;      /* logo blue */
  --cobalt-2: #2A64AE;
  --sky: #6F98D2;
  --gold: #F2C230;        /* heritage yellow */
  --gold-2: #FFD95A;
  --red: #C8282E;         /* heritage red, sparingly */
  --page: #F5F7FA;
  --paper: #FFFFFF;
  --ink: #0B1D36;
  --muted: #55657C;
  --line: #E1E7EF;
  --on-dark: #DCE6F4;
  --on-dark-2: #9DB2CF;

  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 76rem;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 29, 54, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 200; border-radius: 8px; }
.skip:focus { left: 16px; top: 16px; }

.lang-en .vi, .lang-vi .en { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------------- header ---------------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11, 29, 54, .78); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-text { display: grid; line-height: 1.2; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: .04em; }
.brand-sub { font-size: .74rem; color: var(--on-dark-2); }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .5rem .75rem; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(242,194,48,.16); color: var(--gold-2); }
.head-tools { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.lang-switch button { font: inherit; font-size: .78rem; font-weight: 700; border: 0; background: transparent; color: var(--on-dark-2); padding: .32rem .7rem; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1120px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem max(20px, env(safe-area-inset-right, 0px)) 1.25rem max(20px, env(safe-area-inset-left, 0px)); background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; padding: .85rem 1rem; border-radius: 12px; }
  .head-tools .btn-donate { display: none; }
}
@media (max-width: 480px) { .brand-sub { display: none; } }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; padding: .9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(242,194,48,.7); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--cobalt); color: #fff; }
.btn-soft { background: #E7EEF8; color: var(--cobalt); }
.btn-soft:hover { background: #DCE6F4; color: var(--navy); }
.btn-sm { font-size: .85rem; padding: .6rem 1.1rem; }

/* ---------------- hero: full-screen photo slideshow ---------------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; margin-top: -4.5rem; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.slides { position: absolute; inset: 0; z-index: -3; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on img { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(11,29,54,.65) 0, rgba(11,29,54,0) 22%),
  linear-gradient(0deg, rgba(11,29,54,.9) 0, rgba(11,29,54,0) 38%),
  linear-gradient(90deg, rgba(11,29,54,.9) 0, rgba(11,29,54,.62) 36%, rgba(11,29,54,.08) 72%); }
.hero-inner { flex: 1; display: flex; align-items: center; padding-top: 6.5rem; padding-bottom: 8rem; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; max-width: 40rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; font-size: .85rem; font-weight: 600; color: var(--gold-2); background: rgba(11,29,54,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: .4rem .9rem .4rem .45rem; border-radius: 999px; }
.hero-kicker img { width: 26px; height: 26px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 .gold { color: var(--gold); display: block; }
.hero-en { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; color: #fff; }
.hero-lead { color: var(--on-dark); font-size: 1.1rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .25rem; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-foot-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.dots { display: flex; gap: .5rem; align-items: center; padding-bottom: .6rem; }
.dot { width: 2.2rem; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; }
.dot::after { content: ""; position: absolute; inset: -12px 0; }
.dot.on { background: var(--gold); }
.badge { display: flex; align-items: center; gap: .85rem; background: #fff; color: var(--ink); padding: .75rem 1.4rem .75rem .75rem; border-radius: 999px; box-shadow: var(--shadow); max-width: 22rem; }
.badge img { width: 58px; height: 58px; flex: none; }
.badge strong { display: block; font-size: 1.5rem; line-height: 1.05; font-weight: 800; }
.badge span { font-size: .84rem; color: var(--muted); line-height: 1.3; display: block; }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; } .hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .slide.on img, .hero-in > * { animation: none; } .slide { transition: none; } }
@media (max-width: 700px) {
  .hero-shade { background:
    linear-gradient(180deg, rgba(11,29,54,.6) 0, rgba(11,29,54,0) 18%),
    linear-gradient(0deg, rgba(11,29,54,.96) 0, rgba(11,29,54,.8) 36%, rgba(11,29,54,0) 62%); }
  .hero-inner { align-items: flex-end; padding-top: 5.5rem; padding-bottom: 9.5rem; }
  .hero-copy { gap: 1rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-lead, .hero-kicker { display: none; }
  .hero-foot-in { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .badge { max-width: 100%; }
}

/* photo ribbon, edge to edge */
.ribbon { background: var(--navy); overflow: hidden; }
.ribbon-track { display: flex; gap: 6px; width: max-content; animation: slide 80s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track img { height: clamp(200px, 25vw, 340px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section.white { background: var(--paper); }
.section.dark { background: var(--navy); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head > div:first-child { display: grid; gap: .75rem; max-width: 44rem; min-width: 0; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.dark .sec-head p { color: var(--on-dark-2); }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--red); }
.tag::before { content: ""; width: 1.4rem; height: 2px; background: currentColor; }
.dark .tag, .give .tag { color: var(--gold); }

/* program photo cards: four full-height panels, edge to edge */
.section.work { padding-bottom: 0; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--navy); }
@media (max-width: 1000px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } }
.pcard { position: relative; display: block; height: clamp(26rem, 46vw, 56rem); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy-2); }
@media (max-width: 1000px) { .pcard { height: clamp(22rem, 62vw, 40rem); } }
@media (max-width: 520px) { .pcard { height: 26rem; } }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,29,54,0) 40%, rgba(11,29,54,.94) 100%); }
.pcard:hover img { transform: scale(1.06); }
.pcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 2.4vw, 2.2rem); display: grid; gap: .55rem; }
.pcard h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; }
.pcard p { font-size: .98rem; color: var(--on-dark); line-height: 1.5; }

/* festival gallery (dark) */
.strip-nav { display: flex; gap: .5rem; }
.strip-nav button { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.strip-nav button:hover { background: var(--gold); color: var(--navy); }
.strip-nav svg { width: 20px; height: 20px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(15rem, 23vw, 18rem); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.fest { scroll-snap-align: start; display: grid; gap: .85rem; align-content: start; min-width: 0; }
.fest a.poster { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.fest a.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fest a.poster:hover img { transform: scale(1.04); }
.fest .year { position: absolute; top: .8rem; left: .8rem; background: rgba(11,29,54,.82); color: #fff; font-weight: 800; font-size: .85rem; padding: .25rem .7rem; border-radius: 999px; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fest-meta { display: grid; gap: .3rem; }
.fest-meta h3 { font-size: 1.12rem; font-weight: 700; }
.fest-meta .lunar { font-size: .85rem; color: var(--on-dark-2); }
.fest-meta a { color: var(--gold-2); font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.fest-meta a:hover { text-decoration: underline; }
.fest-meta a svg { width: 14px; height: 14px; flex: none; }
.chip { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; }
.chip-tet { background: rgba(200,40,46,.2); color: #FFB3B5; }
.chip-tt { background: rgba(242,194,48,.18); color: var(--gold-2); }
.chip-cd { background: rgba(255,255,255,.12); color: var(--on-dark); }

/* news cards */
.news3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .news3 { grid-template-columns: 1fr; } }
.ncard { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11,29,54,.3); transition: transform .3s var(--ease), box-shadow .3s; }
.ncard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 24px 44px -20px rgba(11,29,54,.38); color: var(--ink); }
.ncard .nimg { aspect-ratio: 16 / 9; background: var(--navy); position: relative; overflow: hidden; }
.ncard .nimg img { width: 100%; height: 100%; object-fit: cover; }
.ncard .nimg .drum-mini { position: absolute; inset: -40% -10%; width: 120%; height: 180%; color: var(--sky); opacity: .35; }
.ncard .nimg .nlabel { position: absolute; left: 1.2rem; bottom: 1rem; color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.ncard .nbody { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .55rem; align-content: start; }
.ncard time { font-size: .82rem; font-weight: 600; color: var(--cobalt); }
.ncard h3 { font-size: 1.15rem; font-weight: 700; }
.ncard p { font-size: .93rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* donate + volunteer over a photo */
.give { position: relative; isolation: isolate; color: #fff; padding-block: clamp(4rem, 8vw, 6.5rem); }
.give > .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.give::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11,29,54,.96) 0%, rgba(11,29,54,.86) 50%, rgba(30,79,140,.78) 100%); }
.give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 24px; padding: clamp(1.5rem, 3.5vw, 2.4rem); display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.glass h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.glass p { color: var(--on-dark); }
.glass a { color: #fff; }
.donate-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.qr { width: 11.5rem; aspect-ratio: 1; background: #fff; border-radius: 16px; padding: .8rem; flex: none; }
.qr img { width: 100%; height: 100%; }
.donate-row .txt { flex: 1 1 14rem; display: grid; gap: .7rem; min-width: 0; }
.donate-row strong { color: #fff; word-break: break-word; }
.give-notes { display: grid; gap: .4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.fine { font-size: .82rem; color: var(--on-dark-2) !important; }
.quote { display: grid; gap: .4rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.quote p { font-size: .96rem; font-style: italic; color: var(--on-dark) !important; }
.quote cite { font-style: normal; font-weight: 700; font-size: .85rem; }

/* forms */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 1rem; width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid #C9D4E3; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(30,79,140,.18); }
.glass .field input, .glass .field textarea { background: rgba(255,255,255,.95); border-color: transparent; }
.glass .field input:focus { box-shadow: 0 0 0 4px rgba(242,194,48,.45); }
.field textarea { min-height: 9rem; resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.form-status { font-size: .92rem; border-radius: 12px; padding: .8rem 1rem; }
.form-status.ok { background: #E3F4E8; color: #17502A; }
.form-status.err { background: #FDE7E8; color: #7A1A1F; }
.form-status a { color: inherit; }
.hp { position: absolute; left: -9999px; }

/* supporters marquee */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; padding-block: .25rem; }
.logos:hover .logos-track { animation-play-state: paused; }
.logo { width: 13rem; aspect-ratio: 4 / 3; background: #fff; border-radius: 14px; display: grid; place-items: center; padding: .6rem; box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11,29,54,.3); flex: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------------- inner pages ---------------- */
.page-hero { position: relative; isolation: isolate; color: #fff; margin-top: -4.5rem; padding-top: 4.5rem; background: var(--navy); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,29,54,.95) 0%, rgba(11,29,54,.8) 45%, rgba(11,29,54,.35) 100%), linear-gradient(0deg, rgba(11,29,54,.6), transparent 50%); }
.page-hero .wrap { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; max-width: 14ch; }
.page-hero p { color: var(--on-dark); font-size: 1.1rem; max-width: 38rem; }
.crumb { font-size: .85rem; color: var(--gold-2); font-weight: 600; }
.crumb a { color: var(--on-dark-2); text-decoration: none; }
.crumb a:hover { color: #fff; }

/* mission statement */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.mission blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.5; font-weight: 600; letter-spacing: -.01em; }
.mission blockquote[lang="vi"] { color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } }

/* albums */
.group { display: grid; gap: 2rem; }
.group + .group { margin-top: clamp(4rem, 7vw, 5.5rem); }
.group-head { display: grid; gap: .6rem; max-width: 46rem; }
.group-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
.group-head p { color: var(--muted); }
.schedule { display: grid; gap: .5rem; background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.5rem; font-size: .95rem; box-shadow: 0 1px 0 var(--line); border-left: 4px solid var(--gold); max-width: 50rem; }
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .albums { grid-template-columns: 1fr; } }
.album { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.album .cover { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album .cover:hover img { transform: scale(1.05); }
.album .count { position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .4rem; background: rgba(11,29,54,.8); color: #fff; font-size: .8rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.album .count svg { width: 15px; height: 15px; }
.album h3 { font-size: 1.15rem; font-weight: 700; }
.album .when { font-size: .88rem; color: var(--muted); margin-top: -.5rem; }
.hidden-set { display: none; }

/* about + board */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about .stack { display: grid; gap: 1.1rem; }
.about h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.about p { font-size: 1.08rem; }
.about .muted { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: .5rem 1.5rem; background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 12px 32px -22px rgba(11,29,54,.35); }
.facts li { display: grid; gap: .15rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts .k { font-size: .8rem; color: var(--muted); font-weight: 600; }
.facts .v { font-weight: 700; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.member { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(11,29,54,.4); display: grid; }
.member .photo { aspect-ratio: 1; background: var(--navy-2); overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .photo img { transform: scale(1.04); }
.member .who { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .2rem; }
.member h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.member p { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.member.lead { grid-column: span 2; grid-template-columns: 1fr 1fr; }
.member.lead .photo { aspect-ratio: auto; }
.member.lead .who { align-content: center; padding: 1.5rem; gap: .5rem; }
.member.lead h3 { font-size: 1.5rem; }
.member.lead p { font-size: 1rem; }
.member.lead .role-tag { justify-self: start; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; }
@media (max-width: 640px) { .member.lead { grid-template-columns: 1fr; } .member.lead .photo { aspect-ratio: 1.2; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--cobalt) 0%, var(--navy) 100%); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; position: relative; overflow: hidden; isolation: isolate; }
.cta-band .drum { position: absolute; right: -10rem; top: -12rem; width: 32rem; height: 32rem; color: var(--sky); opacity: .2; z-index: -1; }
.cta-band > div { display: grid; gap: .6rem; max-width: 36rem; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.cta-band p { color: var(--on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* news list */
.posts { display: grid; gap: 22px; }
.post { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 2rem; background: var(--paper); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(11,29,54,.35); scroll-margin-top: 6rem; }
.post-date { display: grid; align-content: start; gap: .1rem; }
.post-date .d { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--cobalt); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.post-date .my { font-size: .88rem; font-weight: 600; color: var(--muted); }
.post-body { display: grid; gap: .9rem; min-width: 0; }
.post-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; }
.post-body ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .25rem; }
.post-body p { max-width: 65ch; }
@media (max-width: 700px) { .post { grid-template-columns: 1fr; gap: .9rem; } .post-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .5rem; } .post-date .d { font-size: 1.6rem; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 10px; }
.thumbs a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--line); }
.thumbs a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumbs a:hover img { transform: scale(1.06); }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: 0 1px 0 var(--line); border-left: 4px solid var(--gold); margin-bottom: 2rem; }

/* annual report */
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } }
.report .stack { display: grid; gap: 1rem; }
.report h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.report-doc { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding: .75rem; }
.report-doc img { border-radius: 8px; }
.tiers { display: grid; gap: 14px; }
.tier { background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.2rem; box-shadow: 0 1px 0 var(--line); }
.tier.top { background: var(--navy); color: #fff; }
.tier.top .amt { color: var(--gold); }
.tier.top small { color: var(--on-dark-2); }
.amt { font-weight: 800; font-size: 1.45rem; color: var(--cobalt); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.amt small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: .2rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.tier.top li { font-size: 1.2rem; font-weight: 700; }
.tier.mid li { font-weight: 600; }
.tier.base ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; font-size: .95rem; }
@media (max-width: 560px) { .tier { grid-template-columns: 1fr; gap: .6rem; } .tier.base ul { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact .intro { display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.contact .intro h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.contact .intro p { color: var(--muted); }
.ways { display: grid; gap: 12px; }
.way { display: flex; gap: 1rem; align-items: center; background: var(--paper); border-radius: 16px; padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: transform .25s var(--ease); min-width: 0; }
a.way:hover { transform: translateX(4px); color: var(--ink); }
.way .ic { width: 2.9rem; height: 2.9rem; border-radius: 12px; background: #E7EEF8; color: var(--cobalt); display: grid; place-items: center; flex: none; }
.way .ic svg { width: 21px; height: 21px; }
.way .k { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.way .v { display: block; font-weight: 700; font-size: 1.05rem; word-break: break-word; }
.map { margin-top: 12px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.card { background: var(--paper); border-radius: 24px; padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(11,29,54,.4); display: grid; gap: 1.2rem; }
.card h2 { font-size: 1.7rem; font-weight: 800; }

/* ---------------- footer ---------------- */
.site-foot { background: var(--navy); color: var(--on-dark-2); font-size: .93rem; }
.heritage-band { height: 12px; background: var(--gold); display: grid; align-content: center; gap: 2px; }
.heritage-band i { display: block; height: 2px; background: var(--red); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand .lock { display: flex; gap: .9rem; align-items: center; }
.foot-brand img { width: 60px; height: 60px; }
.foot-brand strong { color: #fff; font-size: 1.05rem; line-height: 1.35; }
.site-foot h2 { font-size: .95rem; color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--gold-2); text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-foot address { font-style: normal; line-height: 1.75; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); }
.foot-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.2rem; font-size: .82rem; }
.nowrap { white-space: nowrap; }

/* lightbox */
.lb-dialog { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; background: rgba(6, 16, 31, .97); overflow: hidden; }
.lb-dialog::backdrop { background: rgba(6, 16, 31, .9); }
.lb-inner { width: 100%; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(env(safe-area-inset-top, 0px) + .8rem) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + .8rem) max(16px, env(safe-area-inset-left, 0px)); color: #fff; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .92rem; }
.lb-cap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--on-dark); }
.lb-pos { color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; min-height: 0; margin-block: .8rem; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb-bottom { display: flex; justify-content: center; gap: .75rem; }
.lb-btn { font: inherit; font-weight: 700; font-size: .92rem; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: .65rem 1.2rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.22); }

/* scroll reveal (only when JS is on; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.notfound { min-height: 55vh; display: grid; align-content: center; gap: 1.2rem; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }

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