/* =========================================================
   TYPHOON — Modern Botanical
   Forest-green identity · Be Vietnam Pro · clean, contemporary
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette */
  --forest:   #173B2D;
  --midnight: #102820;
  --botanical:#526B52;
  --sage:     #A5B39A;
  --ivory:    #F2EFE6;
  --brass:    #B39A69;
  --charcoal: #20231F;

  /* Derived tones */
  --ivory-2:  #E9E5D9;
  --ink:      #16241D;
  --ink-soft: #4A5A4E;
  --line-dark:  rgba(242, 239, 230, .14);
  --line-light: rgba(23, 59, 45, .14);

  /* Type — Be Vietnam Pro is drawn for Vietnamese: diacritics sit correctly
     at every weight, including stacked marks like Ấ, Ộ, Ữ. */
  --font: "Be Vietnam Pro", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Handwritten accent — Dancing Script ships a full Vietnamese subset */
  /* Chinese has no Dancing Script glyphs → Ma Shan Zheng (brush calligraphy) takes over */
  --script: "Dancing Script", "Ma Shan Zheng", "Segoe Script", "Brush Script MT", cursive;

  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-small: .875rem;
  --fs-label: .75rem;
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-hero: clamp(2.6rem, 1.1rem + 4.3vw, 5.25rem);

  /* Vietnamese needs a little more vertical room than English
     so marks above capitals never collide with the line above. */
  --lh-display: 1.1;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Space & layout */
  --gutter: clamp(1rem, .5rem + 2.5vw, 3rem);
  --max: 1360px;
  --section-y: clamp(5rem, 3rem + 7vw, 9rem);
  --header-h: 5.5rem;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* very large screens (2K / 4K / TV): scale the whole layout up a step at a
   time so it fills the screen instead of floating in a narrow column */
@media (min-width: 1800px) { html { font-size: 106.25%; } :root { --max: 1520px; } }
@media (min-width: 2200px) { html { font-size: 118.75%; } :root { --max: 1760px; } }
@media (min-width: 2800px) { html { font-size: 137.5%; } :root { --max: 2100px; } }
@media (min-width: 3400px) { html { font-size: 162.5%; } :root { --max: 2500px; } }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 200;
  padding: .75rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--ivory);
  color: var(--forest);
  font-size: var(--fs-small);
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Typography primitives ---------- */
.display {
  font-weight: 600;
  line-height: var(--lh-display);
  letter-spacing: -.035em;
}

/* Two-tone headline: strong sans line + handwritten Latin accent.
   Script x-height is small, so it is set ~12% larger; extra line-height
   keeps Vietnamese marks on the script line clear of the line above. */
.hero__title em,
.section-title em,
.about__statement em {
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.12em;
  letter-spacing: 0;
  line-height: 1.2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .95rem .45rem .75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  background: rgba(242,239,230,.04);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
}
.eyebrow__line {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(179,154,105,.18);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-label__num {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 1.6rem;
  padding-inline: .5rem;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-size: .6875rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}
.section--ivory .section-label { color: var(--botanical); }
.section--dark .section-label,
.section--midnight .section-label,
.section--forest .section-label { color: var(--sage); }

.section-title {
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  letter-spacing: -.035em;
  max-width: 20ch;
}
.section-title em { color: var(--sage); }
.section--ivory .section-title { color: var(--forest); }
.section--ivory .section-title em { color: var(--botanical); }

.section-intro {
  max-width: 36ch;
  color: var(--sage);
}
.section--ivory .section-intro { color: var(--ink-soft); }

.caption-num {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--brass);
  margin-right: .6rem;
}

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(82,107,82,.1);
  font-size: .8125rem;
  color: var(--botanical);
}
.placeholder-note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* ---------- 4. Section surfaces ---------- */
.section { padding-block: var(--section-y); position: relative; }

.section--ivory   { background: var(--ivory); color: var(--ink); }
.section--dark    { background: var(--forest); color: var(--ivory); }
.section--midnight{ background: var(--midnight); color: var(--ivory); }
.section--forest  { background: var(--forest); color: var(--ivory); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--split {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.4fr 1fr; }
  .section-head--split .section-intro { justify-self: end; }
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1rem .95rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  font-size: .9rem;
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px) rotate(-45deg); }



.link-underline {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  padding-block: .35rem;
  color: rgba(242,239,230,.85);
  transition: color .3s var(--ease);
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-underline:hover { color: var(--ivory); }
.link-underline:hover::after { transform: scaleX(0); }

/* ---------- 6. Media + placeholders ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(165,179,154,.28), transparent 55%),
    radial-gradient(90% 70% at 10% 95%, rgba(179,154,105,.16), transparent 60%),
    repeating-radial-gradient(circle at 0% 100%, transparent 0 38px, rgba(242,239,230,.045) 38px 39px),
    linear-gradient(160deg, var(--botanical) 0%, var(--forest) 45%, var(--midnight) 100%);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* When an image file is not yet supplied, script.js adds .is-missing:
   the botanical placeholder shows, labelled with the file to add. */
.media.is-missing img { display: none; }

.media--hero { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.media--wide { aspect-ratio: 16 / 9; }

/* ---------- 7. Header (floating bar) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
  color: var(--ivory);
}
.site-header__inner.container {
  position: relative;
  z-index: 0;
  height: 4rem;
  max-width: var(--max);
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--r-pill);
}
/* glass background lives on a pseudo-element so the mobile nav
   (position: fixed) is not trapped by backdrop-filter */
.site-header__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--line-dark);
  background: rgba(16, 40, 32, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.site-header.is-scrolled .site-header__inner::before,
body.nav-open .site-header__inner::before { opacity: 1; }

.wordmark {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .28em;
  margin-right: -.28em;
  line-height: 1;
}

.nav__list { display: flex; gap: .25rem; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(242,239,230,.75);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__num {
  font-size: .6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}
.nav__link:hover { color: var(--ivory); background: rgba(242,239,230,.06); }
.nav__link.is-active { color: var(--ivory); background: rgba(242,239,230,.1); }

.site-header__tools { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang__btn {
  padding: .3rem .65rem;
  border-radius: var(--r-pill);
  color: rgba(242,239,230,.55);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.lang__btn[aria-pressed="true"] { background: var(--ivory); color: var(--forest); }
.lang__btn:not([aria-pressed="true"]):hover { color: var(--ivory); }
.lang__sep { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .65rem;
  padding: .5rem .5rem .5rem .9rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
}
.menu-toggle__lines { display: grid; gap: 5px; width: 18px; }
.menu-toggle__lines span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* five menu items: keep each on one line, tighten before switching to the menu button */
.nav__link { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav__list { gap: 0; }
  .nav__link { padding: .55rem .7rem; }
  .nav__num { display: none; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--midnight);
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s var(--ease);
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-dark); }
  .nav__link {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 0;
    border-radius: 0;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.2;
    background: none !important;
  }
  .nav__num { font-size: .8125rem; font-weight: 500; letter-spacing: 0; }

  body.nav-open { overflow: hidden; }
  .nav { overflow-y: auto; overscroll-behavior: contain; }
  .menu-toggle { min-height: 40px; min-width: 40px; }
}
/* phones turned sideways: the open menu must fit a short screen */
@media (max-width: 1100px) and (max-height: 520px) {
  .nav { padding-top: calc(var(--header-h) + .5rem); }
  .nav__link { padding: .6rem 0; font-size: clamp(1.25rem, 4vh, 1.6rem); }
}
/* comfortable touch targets */
@media (pointer: coarse) {
  .lang__btn { min-height: 36px; }
  .footer-members, .back-top { padding-block: .6rem; }
}
@media (max-width: 420px) {
  .site-header__inner.container { padding-inline: 1rem 6px; gap: .75rem; }
  .menu-toggle__label { display: none; }
  .menu-toggle { padding: .65rem; }
  .wordmark { letter-spacing: .2em; margin-right: -.2em; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(6rem, 12vw, 11rem);
  background:
    radial-gradient(60% 55% at 78% 35%, rgba(82,107,82,.35), transparent 70%),
    var(--midnight);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: repeat(12, 1fr); }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__figure { grid-column: 8 / span 5; }
}

.hero__title {
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { color: var(--sage); }

.hero__lead {
  margin-top: 1.75rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  line-height: 1.65;
  color: rgba(242,239,230,.72);
}
.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.hero__figure { position: relative; }
.hero__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ivory);
}

.hero__wordmark {
  position: absolute;
  left: 50%;
  bottom: -.12em;
  transform: translateX(-50%);
  z-index: -1;
  font-weight: 800;
  font-size: clamp(5rem, 21vw, 21rem);
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(165,179,154,.06);
  user-select: none;
}



/* ---------- 9. Marquee band ---------- */
.marquee {
  overflow: hidden;
  background: var(--forest);
  border-block: 1px solid var(--line-dark);
  padding-block: clamp(1rem, 2vw, 1.5rem);
  color: var(--ivory);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.25;
  white-space: nowrap;
}
.marquee__strong { font-weight: 600; }
.marquee__script {
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: 0;
  color: var(--brass);
}
.marquee__dot {
  width: .35em; height: .35em;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 10. About ---------- */
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.35fr 1fr; align-items: end; }
}

.about__statement {
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  line-height: var(--lh-display);
  letter-spacing: -.035em;
  color: var(--forest);
}
.about__statement span, .about__statement em { display: block; }
.about__statement em { color: var(--botanical); }

.about__body { max-width: 46ch; color: var(--ink-soft); }
.about__body p + p { margin-top: 1.1rem; }
.about__dropcap { color: var(--ink); font-size: 1.125rem; font-weight: 500; line-height: 1.6; }

.principles {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
}
.principle {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--ivory-2);
  border: 1px solid var(--line-light);
  color: var(--ink-soft);
  transition: transform .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.principle:hover { transform: translateY(-4px); background: var(--forest); color: rgba(242,239,230,.75); }
.principle:hover .principle__title { color: var(--ivory); }
.principle__num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 3rem;
  border-radius: 50%;
  border: 1px solid var(--brass);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--brass);
}
.principle__title {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--forest);
  margin-bottom: .6rem;
  transition: color .5s var(--ease);
}
.principle p { max-width: 34ch; font-size: .9375rem; line-height: 1.65; }

/* ---------- 11. Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(48px, 6.2vw, 92px);
  gap: clamp(.6rem, 1vw, .9rem);
}
.gallery__item { position: relative; min-width: 0; }

.g1 { grid-column: 1 / 6;   grid-row: 1 / 8; }
.g2 { grid-column: 6 / 10;  grid-row: 1 / 5; }
.g3 { grid-column: 10 / 13; grid-row: 2 / 7; }
.g4 { grid-column: 6 / 10;  grid-row: 5 / 8; }
.g5 { grid-column: 1 / 4;   grid-row: 8 / 13; }
.g6 { grid-column: 4 / 10;  grid-row: 8 / 13; }
.g7 { grid-column: 10 / 13; grid-row: 7 / 13; }

.gallery__btn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  position: relative;
  cursor: zoom-in;
  border-radius: var(--r-md);
}
.gallery__btn .media { width: 100%; height: 100%; }
.gallery__btn img { transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(.9); }
.gallery__btn:hover img,
.gallery__btn:focus-visible img { transform: scale(1.04); filter: saturate(1); }

.gallery__cap {
  position: absolute;
  left: .75rem; bottom: .75rem;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 1.5rem);
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gallery__btn:hover .gallery__cap,
.gallery__btn:focus-visible .gallery__cap { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .gallery__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; }
  .gallery__item { grid-row: auto; }
  .g1 { grid-column: 1 / span 4; grid-row: span 5; }
  .g2 { grid-column: 5 / span 2; grid-row: span 3; }
  .g3 { grid-column: 5 / span 2; grid-row: span 2; }
  .g4 { grid-column: 1 / span 3; grid-row: span 3; }
  .g5 { grid-column: 4 / span 3; grid-row: span 3; }
  .g6 { grid-column: 1 / span 4; grid-row: span 4; }
  .g7 { grid-column: 5 / span 2; grid-row: span 4; }
}
@media (max-width: 559px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 64px; }
  .g1 { grid-column: 1 / span 2; grid-row: span 5; }
  .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: span 3; }
  .g6, .g7 { grid-column: 1 / span 2; grid-row: span 3; }
  .gallery__cap { left: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); font-size: .75rem; padding: .35rem .7rem; }
}
@media (hover: none), (max-width: 559px) {
  .gallery__cap { opacity: 1; transform: none; }
}

/* ---------- 12. Videos ---------- */
.videos__grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 760px) {
  .videos__grid { grid-template-columns: 1fr 1fr; }
  .video--feature { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .videos__grid { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .video--feature { grid-column: 1; grid-row: 1 / span 2; }
}

.video__frame { position: relative; overflow: hidden; border-radius: var(--r-md); }
.video--feature .video__frame { border-radius: var(--r-lg); }
.video__frame .media { height: 100%; border-radius: 0; }
.video__frame img { transition: transform 1.2s var(--ease-out); filter: saturate(.85) brightness(.88); }
.video:hover .video__frame img { transform: scale(1.03); }

.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--ivory);
  background: linear-gradient(transparent 35%, rgba(16,40,32,.5));
}
.video__icon {
  position: relative;
  width: clamp(56px, 6vw, 80px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ivory);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.video__tri { width: 38%; height: 38%; margin-left: 6%; }
.video__state {
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.5);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.video__play:not(:disabled):hover .video__icon { transform: scale(1.06); }
.video__play:disabled { cursor: default; }

.video__meta {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: 1rem;
}
.video__title {
  flex: 1;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.video--feature .video__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.video__kind {
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--sage);
}
.section--ivory .video__title { color: var(--forest); }
.section--ivory .video__kind { border-color: var(--line-light); color: var(--botanical); }

/* ---------- 13. Socials (footer) ---------- */
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.socials:empty { display: none; }
.socials a {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(242,239,230,.8);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.socials a:hover { background: var(--ivory); color: var(--forest); }
.socials a.social-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: rgba(242,239,230,.78);
}
.socials a.social-icon svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.socials a.social-icon:hover { color: var(--forest); }

/* ---------- 14. Footer — mirrors the hero / header ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(3rem, 6vw, 5rem);
  color: rgba(242,239,230,.7);
  font-size: var(--fs-small);
  /* same midnight + sage glow as the hero, mirrored to the left */
  background:
    radial-gradient(60% 70% at 22% 0%, rgba(82,107,82,.35), transparent 70%),
    var(--midnight);
}

/* glass bar — the same treatment as the scrolled header */
.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 4rem;
  padding: .6rem .75rem .6rem 1.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  background: rgba(16, 40, 32, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.wordmark--footer { font-size: 1.125rem; color: var(--ivory); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.footer-nav a {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(242,239,230,.75);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.footer-nav a:hover { color: var(--ivory); background: rgba(242,239,230,.06); }
.socials--footer { margin-top: 0; gap: .4rem; flex-wrap: nowrap; }
.site-footer__bar nav { margin-left: auto; }
.socials--footer:empty { display: none; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding: 1.5rem 1.5rem 0;
}
.site-footer__copy { color: rgba(242,239,230,.5); }
/* studio credit */
.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(242,239,230,.5);
}
.credit-brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .3s var(--ease);
}
a.credit-brand[href]:hover { color: var(--brass); }
.credit-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  border: 1px solid rgba(179,154,105,.6);
  color: var(--brass);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
}
@media (min-width: 1100px) {
  .site-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-footer__credit { justify-self: center; }
  .back-top { justify-self: end; }
}

.back-top { font-weight: 500; color: rgba(242,239,230,.75); transition: color .3s var(--ease); }
.back-top:hover { color: var(--ivory); }

/* giant watermark — identical treatment to the hero wordmark */
.site-footer__wordmark {
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(5rem, 21vw, 21rem);
  letter-spacing: -.05em;
  line-height: .78;
  color: rgba(165,179,154,.06);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* narrower screens: one tidy card instead of a stretched pill */
@media (max-width: 1180px) {
  .site-footer__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem 1.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--r-lg);
  }
  .site-footer__bar nav { grid-column: 1 / -1; grid-row: 2; margin-left: -.9rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
  .socials--footer { justify-self: end; }
}
@media (max-width: 640px) {
  .site-footer__bar { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; }
  .socials--footer { justify-self: start; flex-wrap: wrap; grid-row: 3; }
  .site-footer__bar nav { padding-top: 1rem; }
  .site-footer__bottom { padding-inline: .25rem; }
}

/* ---------- 15. Lightbox & video modal ---------- */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(16, 40, 32, .96);
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(16,40,32,.6); }
.lightbox[open] { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 4.5rem clamp(1rem, 7vw, 6rem);
}
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; max-width: 100%; }
.media--lightbox { background: transparent; border-radius: var(--r-md); }
.media--lightbox img { max-height: calc(100vh - 11rem); width: auto; height: auto; object-fit: contain; }
.media--lightbox.is-missing {
  width: min(70vw, 720px);
  aspect-ratio: 4/3;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(165,179,154,.28), transparent 55%),
    linear-gradient(160deg, var(--botanical) 0%, var(--forest) 45%, var(--midnight) 100%);
}
.lightbox__cap { font-size: var(--fs-small); font-weight: 500; color: var(--sage); }

.lightbox__btn {
  position: absolute;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--ivory);
}
.lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.4rem; line-height: 1; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; transform: none; }
}


/* ---------- 16. Reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Latin layer ---------- */

/* Two-tier wordmark: TYPHOON + handwritten "Latin Band" */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  letter-spacing: 0;
  margin-right: 0;
}
.wordmark__main {
  letter-spacing: .28em;
  margin-right: -.28em;
}
.wordmark__script {
  white-space: nowrap;
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.2em;
  letter-spacing: 0;
  color: var(--brass);
  transform: rotate(-4deg) translateY(-.05em);
}
.wordmark--footer .wordmark__script { font-size: 1.15em; }
@media (max-width: 420px) {
  .wordmark { gap: .35rem; font-size: 1rem; }
  .wordmark__main { letter-spacing: .18em; margin-right: -.18em; }
  .wordmark__script { font-size: 1.05em; }
}

/* Equaliser bars in the eyebrow pill — a quiet nod to rhythm */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eq i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--brass);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .9s; }
.eq i:nth-child(3) { animation-delay: -.7s;  animation-duration: 1.3s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.35); }
  50%      { transform: scaleY(1); }
}

/* Hero: script line in brass-warm sage, "¡Vamos!" stamp, palm fronds */
.hero__title em { color: var(--sage); margin-top: .05em; }
.hero__stamp {
  position: absolute;
  top: -1.4rem;
  right: -.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(92px, 9vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brass);
  color: var(--midnight);
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  line-height: 1;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 6px rgba(179,154,105,.18);
}
@media (max-width: 899px) {
  .hero__stamp { top: -1rem; right: .75rem; }
}

.frond {
  position: absolute;
  pointer-events: none;
  color: var(--sage);
  z-index: -1;
}
.frond--hero {
  width: clamp(220px, 26vw, 380px);
  height: auto;
  aspect-ratio: 260 / 410;
  bottom: 4%;
  right: -7%;
  opacity: .12;
  transform: rotate(-32deg);
  transform-origin: 50% 100%;
}
.frond--hero-2 {
  width: clamp(160px, 18vw, 260px);
  height: auto;
  aspect-ratio: 260 / 410;
  bottom: 10%;
  left: -3%;
  opacity: .08;
  transform: rotate(-150deg);
}
@media (max-width: 899px) {
  .frond--hero { top: auto; bottom: 30%; right: -18%; opacity: .1; }
  .frond--hero-2 { display: none; }
}

/* About: Spanish handwritten word above each principle */
.principle__script {
  display: block;
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--brass);
  margin-bottom: .15rem;
  transform: rotate(-3deg);
  transform-origin: left;
}
.principle__num { margin-bottom: 2rem; }

/* Section accents: script em on ivory uses botanical, on dark uses sage */
.section--ivory .section-title em,
.about__statement em { color: var(--botanical); }

/* Marquee: a touch warmer for the Latin band */
.marquee {
  background:
    linear-gradient(90deg, var(--forest), #1d4434 50%, var(--forest));
}

/* ---------- 18. Hologram (opt-in via .holo) ----------
   A refined "botanical iridescence": the shimmer only uses the brand's own
   hues (sage, pale mint, ivory, brass), so it reads as a premium foil
   rather than a rainbow. At rest it is calm; it comes alive on hover.
   Only elements with the .holo class receive the effect.

   Layers, back to front:
     background → glass / pearl fill
     ::after    → hover-only sheen + soft pointer-tracked glare
     content    → label / icon
     ::before   → thin iridescent ring (masked to the border)
*/
@property --holo-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
:root {
  --holo-mint: #CFE6D6;
  --holo-ring: conic-gradient(from var(--holo-angle),
                 var(--sage), var(--holo-mint), var(--ivory),
                 var(--brass), var(--sage), var(--holo-mint), var(--sage));
}

.holo {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: rgba(242,239,230,.06);
  transition: box-shadow .5s var(--ease), background-color .5s var(--ease), transform .45s var(--ease);
}
.holo > * { position: relative; z-index: 2; }

/* thin iridescent ring — slow, quiet rotation */
.holo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: var(--holo-ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .7;
  pointer-events: none;
  animation: holo-spin 10s linear infinite;
  transition: opacity .5s var(--ease);
}

/* sheen: parked off to the right, crosses once on hover (no idle sweeping) */
.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 55%),
    linear-gradient(110deg,
      transparent 38%,
      rgba(207,230,214,.55) 47%,
      rgba(255,255,255,.65) 50%,
      rgba(179,154,105,.35) 54%,
      transparent 62%) 140% 0 / 250% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), background-position 0s linear .4s;
}

.holo:hover::after,
.holo:focus-visible::after,
.video__play:not(:disabled):hover .holo::after {
  opacity: 1;
  background-position: 0 0, -40% 0;
  transition: opacity .25s var(--ease), background-position 1.1s var(--ease-out);
}
.holo:hover::before,
.holo:focus-visible::before,
.video__play:not(:disabled):hover .holo::before { opacity: 1; }

.holo:hover,
.holo:focus-visible,
.video__play:not(:disabled):hover .holo {
  box-shadow:
    0 0 0 1px rgba(207,230,214,.18),
    0 8px 28px -8px rgba(165,179,154,.45);
}

/* light variant (main CTA): ivory pearl with a whisper of mint */
.holo--light {
  color: var(--forest);
  background: linear-gradient(120deg, var(--ivory) 0%, #EAF1E9 45%, var(--ivory) 70%, #F1EADB 100%);
}
.holo--light::before { opacity: .9; }
.holo--light::after {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.7), transparent 50%),
    linear-gradient(110deg,
      transparent 38%,
      rgba(165,179,154,.35) 47%,
      rgba(255,255,255,.9) 50%,
      rgba(179,154,105,.3) 54%,
      transparent 62%) 140% 0 / 250% 100% no-repeat;
}
.holo--light:hover,
.holo--light:focus-visible { transform: translateY(-1px); }
.holo--light .btn__arrow {
  background: var(--forest);
  color: var(--ivory);
}

/* language switch: the container is glass, the active chip is solid ivory */
.lang.holo { background: rgba(242,239,230,.04); }
.lang__btn[aria-pressed="true"] { background: var(--ivory); color: var(--forest); }

/* video disc */
.video__icon.holo { background: rgba(16,40,32,.35); }
.video__play:not(:disabled):hover .video__icon.holo { background: rgba(16,40,32,.5); }

/* not-yet-available video: static, muted, no hover response */
.video__play:disabled .holo::before { animation: none; opacity: .45; }
.video__play:disabled .holo::after { display: none; }
.video__play:disabled .holo { filter: saturate(.6); }

/* lightbox buttons keep their positioning */
.lightbox__btn.holo { position: absolute; }

@keyframes holo-spin { to { --holo-angle: 360deg; } }

/* ---------- 20. Albums (home tiles + albums.html) ---------- */

/* home tiles that open an album: caption always visible, two lines */
.gallery__btn--album { cursor: pointer; }
.gallery__btn.is-empty { cursor: default; }
.gallery__btn.is-empty img { display: none; }
.gallery__cap--album {
  opacity: 1;
  transform: none;
  align-items: center;
  gap: .1rem;
  padding: .5rem .95rem .5rem .8rem;
  border-radius: var(--r-md);
  white-space: normal;
}
.gallery__cap-text { display: grid; line-height: 1.3; min-width: 0; }
.gallery__cap-text strong {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery__cap-text small { font-size: .75rem; color: var(--sage); font-weight: 500; }
.gallery__btn--album:hover .gallery__cap--album { background: rgba(16,40,32,.8); }

.badge-new {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--brass);
  color: var(--midnight);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.45);
}
.badge-new::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--midnight);
  opacity: .7;
}
.badge-new--inline { position: static; box-shadow: none; }

.gallery__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.gallery__stats { color: var(--sage); font-size: .9375rem; font-weight: 500; }
.gallery__footer .btn { margin-left: auto; }

/* ----- albums.html ----- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(82,107,82,.38), transparent 70%),
    var(--midnight);
}
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-title {
  font-weight: 600;
  font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  max-width: 18ch;
}
.page-title em {
  display: block;
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--sage);
}
.page-intro {
  margin-top: 1.25rem;
  max-width: 52ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: rgba(242,239,230,.72);
}
.page-stats {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: .45rem .95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .875rem;
  font-weight: 500;
  color: var(--sage);
}

.year-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.year-chip {
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light);
  font-size: .875rem;
  font-weight: 600;
  color: var(--botanical);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cat-filter:not([hidden]) + .year-filter { margin-top: calc(-1 * clamp(1rem, 2vw, 1.5rem)); }
.year-chip:hover { border-color: var(--botanical); color: var(--forest); }
.year-chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--ivory); }

.albums-grid {
  --gx: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  /* columns at least 1/3 of the row → never more than 3 albums per row */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, calc((100% - 2 * var(--gx)) / 3))), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) var(--gx);
}
/* page buttons under the album grid (6 albums per page) */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pager .year-chip { min-width: 2.75rem; justify-content: center; text-align: center; }
.pager .year-chip:disabled { opacity: .4; cursor: default; pointer-events: none; }
.album-card { display: block; color: var(--ink); }
.album-card__media { position: relative; display: block; }
.album-card .media { aspect-ratio: 4 / 3; }
.album-card img { transition: transform 1.2s var(--ease-out); }
.album-card:hover img, .album-card:focus-visible img { transform: scale(1.04); }
.album-card__count {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: .75rem;
  font-weight: 600;
}
.album-card__body { display: grid; gap: .2rem; padding: 1rem .25rem 0; }
.album-card__date { font-size: .8125rem; font-weight: 600; color: var(--brass); }
.album-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--forest);
  transition: color .3s var(--ease);
}
.album-card:hover .album-card__title { color: var(--botanical); }
.album-card__venue { font-size: .9rem; color: var(--ink-soft); }

.albums-empty {
  padding: 3rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-light);
  text-align: center;
  color: var(--ink-soft);
}
.notice {
  margin-bottom: 1.5rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(179,154,105,.15);
  color: #6e5a33;
  font-weight: 500;
}

/* album detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: .5rem 1rem .5rem .8rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(242,239,230,.8);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.back-link:hover { background: rgba(242,239,230,.08); color: var(--ivory); }
.album-head {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
}
@media (min-width: 900px) {
  .album-head { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
}
.album-head__top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin-bottom: 1rem; }
.album-head__date { font-size: .9375rem; font-weight: 600; color: var(--brass); }
.album-head .page-title { max-width: 20ch; }
.album-desc {
  margin-top: 1.25rem;
  max-width: 60ch;
  color: rgba(242,239,230,.75);
  white-space: pre-line;
}
.album-facts {
  display: grid;
  margin: 0;
  padding: .5rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: rgba(242,239,230,.04);
}
.album-facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.album-facts > div:last-child { border-bottom: 0; }
.album-facts dt { font-size: .8125rem; font-weight: 500; color: var(--sage); }
.album-facts dd { margin: 0; font-weight: 600; color: var(--ivory); overflow-wrap: anywhere; }
.album-facts a { border-bottom: 1px solid var(--brass); transition: color .3s var(--ease); }
.album-facts a:hover { color: var(--brass); }

/* photos: justified rows — same height per row, original proportions kept (no cropping).
   --r = width / height of the photo (set in albums.js) */
.photo-grid {
  --row: clamp(150px, 26vw, 300px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.6rem, 1.2vw, 1rem);
}
.photo-grid::after { content: ""; flex: 999 1 0; }   /* keeps the last row from stretching */
.photo {
  --r: 1.5;
  display: block;
  flex: var(--r) 1 calc(var(--r) * var(--row));
  min-width: 0;
  max-width: 100%;
  aspect-ratio: var(--r);
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background:
    linear-gradient(160deg, var(--botanical) 0%, var(--forest) 45%, var(--midnight) 100%);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity .5s var(--ease);
}
.photo:hover img, .photo:focus-visible img { transform: scale(1.03); }
.photo.is-missing img { opacity: 0; }
@media (max-width: 559px) { .photo-grid { --row: clamp(96px, 30vw, 130px); } }
/* tablet and up: an album holds up to 5 photos — keep them all on one row */
@media (min-width: 700px) {
  .photo-grid { flex-wrap: nowrap; }
  .photo-grid::after { display: none; }
  .photo { flex: var(--r) 1 0; }
}

.nav__link[aria-current="page"] { color: var(--ivory); background: rgba(242,239,230,.1); }

/* ---------- 21. Inline video player ---------- */
.video__frame { isolation: isolate; }
.video__player {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.video__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;           /* our own controls handle clicks — YouTube UI stays hidden */
}
.video__frame .media {
  position: relative;
  z-index: 1;
  transition: opacity .7s var(--ease);
}
.video__play { z-index: 2; transition: opacity .5s var(--ease), visibility 0s; }
.video__frame.is-playing .media { opacity: 0; pointer-events: none; }
.video__frame.is-playing .video__play { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.video__frame.is-playing img { transform: none; }

.video__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  background: transparent;
}
.video__hint {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  font-size: .8125rem;
  font-weight: 600;
  opacity: .85;
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.video__hit:hover .video__hint,
.video__hit:focus-visible .video__hint { opacity: 1; background: rgba(16,40,32,.85); }
.video:not(.video--feature) .video__hint > span:last-child { display: none; }

/* ---------- 22. Video popup ---------- */
.vpop {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(10, 26, 20, .97);
  color: var(--ivory);
}
.vpop::backdrop { background: rgba(10,26,20,.6); }
.vpop[open] { animation: fade .35s var(--ease); }
.vpop__inner {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1200px, calc((100vh - 11rem) * 16 / 9));
  animation: vpop-in .45s var(--ease-out);
}
@keyframes vpop-in { from { transform: translate(-50%, calc(-50% + 18px)) scale(.98); opacity: 0; } }
.vpop__frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px var(--line-dark);
}
.vpop__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.vpop__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.vpop__info { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; min-width: 0; }
.vpop__title {
  font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.vpop__nav { display: flex; gap: .5rem; flex-shrink: 0; }
.vpop .vpop__nav .vpop__btn.holo { position: relative; inset: auto; transform: none; }
@media (max-width: 640px) {
  .vpop__inner { width: calc(100vw - 1.5rem); }
  .vpop__bar { align-items: flex-start; }
}

/* ---------- 23. videos.html ---------- */
.videos__footer { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.section--ivory .gallery__stats { color: var(--botanical); }
.vlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
}
.vcard { display: block; width: 100%; text-align: left; color: var(--ink); cursor: pointer; }
.vcard__media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.vcard .media { aspect-ratio: 16 / 9; border-radius: 0; }
.vcard img { transition: transform 1.1s var(--ease-out), filter .6s var(--ease); filter: saturate(.9) brightness(.92); }
.vcard:hover img, .vcard:focus-visible img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(transparent 40%, rgba(16,40,32,.45));
}
.vcard__play .video__icon { width: 60px; transition: transform .4s var(--ease); }
.vcard:hover .vcard__play .video__icon { transform: scale(1.07); }
.vcard__body { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .9rem .2rem 0; }
.vcard__title { font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--forest); }
.vcard .video__kind { flex-shrink: 0; margin-top: .15rem; }
.vcard.is-current .vcard__media { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- 24. Chinese (中文) typography ----------
   Tight negative tracking suits Latin display type but crowds Chinese
   characters, and the calligraphy line reads best a little smaller. */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3,
:lang(zh) .page-title, :lang(zh) .about__statement, :lang(zh) .contact__title,
:lang(zh) .marquee__group, :lang(zh) .principle__title, :lang(zh) .release-feature__title,
:lang(zh) .vpop__title, :lang(zh) .vcard__title, :lang(zh) .album-card__title {
  letter-spacing: .02em;
}
:lang(zh) .hero__title em, :lang(zh) .section-title em, :lang(zh) .about__statement em,
:lang(zh) .page-title em { font-size: 1em; font-weight: 400; letter-spacing: .04em; line-height: 1.3; }
:lang(zh) body { line-height: 1.8; }
:lang(zh) .eyebrow, :lang(zh) .section-label { letter-spacing: .12em; }
.lang__btn { white-space: nowrap; }
.lang__btn--zh { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
@media (max-width: 420px) {
  .lang__btn { padding: .3rem .5rem; }
}
/* language switch inside the mobile menu (phones only) */
.lang--menu { display: none; }
@media (max-width: 640px) {
  .site-header__tools > .lang { display: none; }
  .nav .lang--menu {
    display: inline-flex;
    margin-top: 2rem;
    font-size: .875rem;
  }
  .nav .lang--menu .lang__btn { padding: .55rem 1rem; }
  /* five languages: let the chips wrap instead of running off the screen */
  .nav .lang--menu { flex-wrap: wrap; max-width: 100%; border-radius: 1.4rem; row-gap: 2px; }
  .nav .lang--menu .lang__btn { padding: .5rem .85rem; }
}
/* In Chinese, the CJK font leads so Chinese punctuation (——、。) uses proper
   glyphs; the brand wordmarks keep their own typeface. */
html:lang(zh) {
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Be Vietnam Pro", system-ui, sans-serif;
}
/* ---------- 24b. Korean (한국어) & Japanese (日本語) typography ----------
   Each gets its own CJK font (Japanese kanji must not fall back to the
   Simplified-Chinese font) and its own handwritten accent font. */
html:lang(ko) {
  --font: "Be Vietnam Pro", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --script: "Dancing Script", "Nanum Pen Script", cursive;
}
html:lang(ja) {
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", "Be Vietnam Pro", system-ui, sans-serif;
  --script: "Dancing Script", "Klee One", cursive;
}
:lang(ko) body, :lang(ja) body { line-height: 1.8; }
:lang(ko) body { word-break: keep-all; }
:lang(ja) body { word-break: normal; line-break: strict; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ja) h1, :lang(ja) h2, :lang(ja) h3,
:lang(ko) .page-title, :lang(ja) .page-title, :lang(ko) .about__statement, :lang(ja) .about__statement,
:lang(ko) .album-card__title, :lang(ja) .album-card__title, :lang(ko) .vcard__title, :lang(ja) .vcard__title {
  letter-spacing: 0;
}
:lang(ko) .hero__title em, :lang(ko) .section-title em, :lang(ko) .about__statement em, :lang(ko) .page-title em { font-size: 1.12em; font-weight: 400; line-height: 1.3; }
:lang(ja) .hero__title em, :lang(ja) .section-title em, :lang(ja) .about__statement em, :lang(ja) .page-title em { font-size: .92em; font-weight: 600; letter-spacing: .04em; line-height: 1.35; }
:lang(ko) .eyebrow, :lang(ko) .section-label, :lang(ja) .eyebrow, :lang(ja) .section-label { letter-spacing: .08em; }
.lang__btn--ko { font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; letter-spacing: 0; }
.lang__btn--ja { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; letter-spacing: 0; }

.wordmark__main, .hero__wordmark, .site-footer__wordmark, .caption-num, .nav__num, .section-label__num {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}

/* ---------- 25. Album catalog (home page) ---------- */
.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 959px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .catalog { grid-template-columns: minmax(0, 1fr); } }

.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(242,239,230,.04);
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
a.cat-card:hover, a.cat-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(179,154,105,.5);
  background: rgba(242,239,230,.07);
}
.cat-card__media { position: relative; display: block; }
.cat-card .media { aspect-ratio: 4 / 3; border-radius: 0; }
.cat-card img { transition: transform 1.2s var(--ease-out), filter .6s var(--ease); filter: saturate(.92); }
a.cat-card:hover img { transform: scale(1.04); filter: saturate(1); }
.cat-card__count {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .75rem;
  font-weight: 600;
}
.cat-card__body {
  display: grid;
  gap: .35rem;
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  align-content: start;
}
.cat-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.cat-card__no { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--sage); font-variant-numeric: tabular-nums; }
.cat-card__date { font-size: .8125rem; font-weight: 600; color: var(--brass); text-align: right; }
.cat-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.cat-card__meta { font-size: .875rem; color: rgba(242,239,230,.7); }
.cat-card__posted {
  margin-top: .5rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line-dark);
  font-size: .75rem;
  color: var(--sage);
}
.cat-card.is-empty { opacity: .7; }
.cat-card.is-empty .cat-card__title { font-size: 1.05rem; color: var(--sage); }

/* ---------- 26. Members area (/thanh-vien/) ---------- */
.page-members .site-header__inner { gap: 1rem; }
.m-tabs { display: flex; gap: .25rem; }
.m-tabs a {
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(242,239,230,.75);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.m-tabs a:hover { color: var(--ivory); background: rgba(242,239,230,.08); }
.m-user { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.m-user__email {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8125rem;
  color: var(--sage);
}
.m-user__out {
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.m-user__out:hover { background: var(--ivory); color: var(--forest); }
@media (max-width: 860px) {
  .page-members .site-header { padding-top: 8px; }
  .page-members .site-header__inner.container { height: auto; flex-wrap: wrap; row-gap: .25rem; padding-block: .6rem; border-radius: var(--r-lg); }
  .m-tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .m-tabs::-webkit-scrollbar { display: none; }
  .m-tabs a { flex-shrink: 0; padding: .4rem .75rem; }
  .m-user__email { display: none; }
  .page-members { --header-h: 128px; }
}

.m-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.m-hello { overflow-wrap: anywhere; }
.m-bday-today {
  display: inline-block;
  margin-top: 1.25rem;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(179,154,105,.16);
  border: 1px solid rgba(179,154,105,.45);
  color: var(--ivory);
  font-weight: 500;
}
.m-bday-today[hidden] { display: none; }

/* member profiles */
.m-people__intro { margin-top: .35rem; color: var(--ink-soft); font-size: .9rem; }
.m-empty { color: var(--ink-soft); }
.m-bdays { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.m-bdays[hidden] { display: none; }
.m-bday {
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  background: rgba(179,154,105,.14);
  color: #5f4c27;
  font-size: .875rem;
  font-weight: 500;
}
.m-bday.is-today { background: var(--brass); color: var(--midnight); font-weight: 600; }
.m-people { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.m-person {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: 0 18px 40px -32px rgba(16,40,32,.6);
}
.m-person.is-me { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 18px 40px -32px rgba(16,40,32,.6); }
.m-person__photo {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--botanical), var(--forest) 55%, var(--midnight));
}
.m-person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.m-person__initials { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: rgba(242,239,230,.85); }
.m-person__photo.has-img .m-person__initials { visibility: hidden; }
.m-person__me {
  position: absolute; left: 50%; bottom: .3rem; z-index: 1;
  transform: translateX(-50%);
  padding: .1rem .5rem; border-radius: var(--r-pill);
  background: var(--brass); color: var(--midnight);
  font-size: .6875rem; font-weight: 700;
}
.m-person__body { flex: 1; min-width: 0; display: grid; align-content: start; gap: .2rem; padding-top: .1rem; }
.m-person__role { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--botanical); }
.m-person__name { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--forest); }
.m-person__nick { font-family: var(--script); font-size: 1.35rem; line-height: 1.1; color: #8a7444; }
.m-person__info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem .7rem; margin-top: .35rem; font-size: .8125rem; align-items: center; }
.m-person__info dt { color: var(--ink-soft); }
.m-person__info dd { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-weight: 500; }
.m-person__link { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(31,77,58,.35); text-underline-offset: 3px; }
.m-person__link:hover { text-decoration-color: currentColor; }
.m-person__note { margin-top: .3rem; font-size: .8125rem; line-height: 1.55; color: var(--ink-soft); }
.m-person__note a { color: var(--forest); text-decoration: underline; }
@media (max-width: 560px) {
  .m-people { gap: .6rem; }
  .m-person { gap: .75rem; padding: .75rem; }
  .m-person__photo { width: 72px; }
  .m-person__name { font-size: 1rem; }
}
.m-person .m-mini-btn--light { border-color: rgba(23,59,45,.28); color: var(--forest); }
.m-person .m-mini-btn--light:hover { background: var(--forest); border-color: var(--forest); color: var(--ivory); }

.m-sec { padding-block: clamp(3.5rem, 6vw, 6rem); }
.m-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.m-head .year-filter { margin: 0; }
.m-h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.section--ivory .m-h2 { color: var(--forest); }
.m-month { margin: 1.75rem 0 .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--botanical); }
.m-month:first-child { margin-top: 0; }

/* event card */
.m-events { display: grid; gap: .75rem; }
.m-event {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem 1.2rem 1rem 1rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-light);
  color: var(--ink);
}
.m-event.is-today { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(179,154,105,.18); }
.m-event__date {
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: var(--r-md);
  background: var(--forest);
  color: var(--ivory);
  padding: .6rem 0;
  align-self: start;
}
.m-event.is-show .m-event__date { background: var(--brass); color: var(--midnight); }
.m-event.is-other .m-event__date { background: var(--botanical); }
.m-event__day { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.m-event__month { font-size: .75rem; font-weight: 600; margin-top: .25rem; opacity: .85; }
.m-event__top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.m-tag {
  padding: .15rem .6rem;
  border-radius: var(--r-pill);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(23,59,45,.1);
  color: var(--forest);
}
.m-event.is-show .m-tag { background: rgba(179,154,105,.22); color: #6e5a33; }
.m-event__rel { font-size: .8125rem; font-weight: 600; color: var(--brass); }
.m-event__title { margin-top: .35rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--forest); }
.m-event__meta { margin-top: .2rem; font-size: .875rem; color: var(--ink-soft); }
.m-event__place { font-size: .9rem; font-weight: 500; color: var(--ink); }
.m-event__place a { border-bottom: 1px solid var(--brass); }
.m-event__note { margin-top: .4rem; font-size: .875rem; color: var(--ink-soft); line-height: 1.6; }
.m-event__note a { color: var(--botanical); text-decoration: underline; }
.m-event__actions { margin-top: .75rem; display: flex; gap: .5rem; }
.m-chip-btn {
  padding: .4rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--forest);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.m-chip-btn:hover { background: var(--forest); color: var(--ivory); }
.m-event--big { background: rgba(242,239,230,.96); }
.m-event--big .m-event__title { font-size: 1.4rem; }

.m-past { margin-top: 1.5rem; }
.m-past summary { cursor: pointer; font-weight: 600; color: var(--botanical); padding: .5rem 0; }
.m-events--past { margin-top: .75rem; opacity: .75; }

/* announcements */
.m-news { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.m-news__item {
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: rgba(242,239,230,.05);
}
.m-news__item.is-pinned { border-color: rgba(179,154,105,.55); background: rgba(179,154,105,.08); }
.m-news__top { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.m-news__date { font-size: .8125rem; font-weight: 600; color: var(--sage); }
.m-news__fresh { font-size: .6875rem; font-weight: 700; color: var(--brass); text-transform: uppercase; letter-spacing: .06em; }
.m-news__title { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.m-news__body { margin-top: .5rem; color: rgba(242,239,230,.78); font-size: .95rem; line-height: 1.7; }
.m-news__body a { color: var(--sage); text-decoration: underline; }
.m-empty-dark { color: var(--sage); }

/* setlists */
.m-setlists { display: grid; gap: .75rem; }
.m-set { border-radius: var(--r-lg); border: 1px solid var(--line-light); background: #fff; overflow: hidden; }
.m-set__sum {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  list-style: none;
}
.m-set__sum::-webkit-details-marker { display: none; }
.m-set__sum::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--brass); }
.m-set[open] .m-set__sum::after { content: "–"; }
.m-set__title { font-size: 1.2rem; font-weight: 600; color: var(--forest); letter-spacing: -.015em; }
.m-set__meta { font-size: .8125rem; color: var(--ink-soft); }
.m-set__body { padding: 0 1.3rem 1.3rem; }
.m-set__note { font-size: .9rem; color: var(--ink-soft); margin-bottom: .75rem; }
.m-songs { counter-reset: song; margin-bottom: 1rem; }
.m-song {
  counter-increment: song;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: .25rem .75rem;
  align-items: baseline;
  padding: .6rem 0;
  border-top: 1px solid var(--line-light);
}
.m-song::before { content: counter(song, decimal-leading-zero); font-size: .8125rem; font-weight: 600; color: var(--brass); }
.m-song__title { font-weight: 600; color: var(--ink); }
.m-song__key { font-size: .8125rem; font-weight: 700; padding: .1rem .5rem; border-radius: 6px; background: rgba(23,59,45,.08); color: var(--forest); }
.m-song__note { grid-column: 2 / -1; font-size: .8125rem; color: var(--ink-soft); }

/* documents */
/* documents — list rows (sorted A→Z) */
.m-doclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.m-doclist__item[hidden], .m-doclist__letter[hidden] { display: none; }
.m-doclist__letter {
  padding: 1.1rem .25rem .35rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brass);
  border-bottom: 1px solid var(--line-dark);
}
.m-doclist__item { border-bottom: 1px solid var(--line-dark); }
.m-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 3.5rem;
  padding: .75rem .5rem;
  text-align: left;
  color: inherit;
  font: inherit;
  border-radius: var(--r-md);
  transition: background-color .25s var(--ease);
}
button.m-row { cursor: pointer; }
a.m-row:hover, button.m-row:hover { background: rgba(242,239,230,.06); }
a.m-row:focus-visible, button.m-row:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.m-row.is-disabled { opacity: .55; }
.m-row__icon {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(179,154,105,.14);
  color: var(--brass);
  font-size: .95rem;
}
.m-row__text { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.m-row__title { font-weight: 600; overflow-wrap: anywhere; }
.m-row__note { font-size: .8125rem; color: rgba(242,239,230,.65); overflow-wrap: anywhere; }
.m-row__go { flex-shrink: 0; font-size: .8125rem; font-weight: 600; color: var(--brass); white-space: nowrap; }

/* documents — search + A–Z index */
.m-docs__tools { display: grid; gap: .85rem; margin-bottom: 1.25rem; }
.m-docs__tools .m-docs__find { margin-bottom: 0; }
.m-az { display: flex; flex-wrap: wrap; gap: .3rem; }
.m-az__btn {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .45rem;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ivory);
  background: rgba(242,239,230,.04);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.m-az__btn--all { padding: 0 .8rem; }
.m-az__btn:hover:not(:disabled) { border-color: var(--brass); }
.m-az__btn[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--midnight); }
.m-az__btn:disabled { opacity: .25; cursor: default; }
@media (max-width: 430px) {
  .m-az__btn { min-width: 1.85rem; height: 1.95rem; padding: 0 .3rem; }
  .m-row { gap: .7rem; padding: .7rem .25rem; }
  .m-row__icon { width: 2rem; height: 2rem; }
}

/* documents — category tabs */
.m-docs__tabs {
  display: flex;
  gap: .25rem 1.75rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-dark);
  overflow-x: auto;
  scrollbar-width: none;
}
.m-docs__tabs::-webkit-scrollbar { display: none; }
.m-docs__tab {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .75rem 0 .9rem;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(242,239,230,.62);
  transition: color .3s var(--ease);
}
.m-docs__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.m-docs__tab:hover { color: var(--ivory); }
.m-docs__tab[aria-selected="true"] { color: var(--ivory); font-weight: 600; }
.m-docs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.m-docs__count { font-size: .75rem; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.m-docs__find {
  width: 100%;
  max-width: 420px;
  margin-bottom: 1rem;
  padding: .7rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  background: rgba(242,239,230,.06);
  color: var(--ivory);
  font: inherit;
}
.m-docs__find::placeholder { color: rgba(242,239,230,.5); }
.m-docs__find:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
.m-docs__panel > .m-empty-dark { margin-bottom: 1rem; }

/* documents — full-screen PDF viewer */
.m-viewer {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: var(--midnight);
  color: var(--ivory);
}
.m-viewer[open] { display: flex; flex-direction: column; animation: fade .3s var(--ease); }
.m-viewer::backdrop { background: rgba(16,40,32,.7); }
.m-viewer__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem .6rem clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--line-dark);
}
.m-viewer__title { flex: 1; min-width: 0; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-viewer__open { flex-shrink: 0; font-size: .875rem; font-weight: 600; color: var(--brass); white-space: nowrap; }
.m-viewer__dl {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  background: var(--brass);
  color: var(--midnight);
  font-size: .875rem; font-weight: 700; white-space: nowrap;
}
.m-viewer__dl[hidden] { display: none; }
.m-viewer__dl:hover { background: var(--ivory); }
.m-viewer__close { flex-shrink: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.25rem; color: var(--ivory); }
.m-viewer__close:hover { background: rgba(242,239,230,.1); }
.m-viewer__frame { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 480px) {
  .m-viewer__open-text { display: none; }
  .m-viewer__open { font-size: 1.1rem; padding: .25rem; }
  .m-viewer__bar { gap: .5rem; }
}

/* members — online rehearsal room */
.m-event.is-online .m-event__date { background: var(--midnight); color: var(--brass); }
.m-event.is-online .m-tag { background: rgba(179,154,105,.18); color: #6e5a33; }
.m-online__intro { margin-top: .4rem; color: rgba(242,239,230,.72); max-width: 52ch; }
.m-live-link {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: var(--r-pill);
  border: 1px solid rgba(179,154,105,.5); color: var(--brass);
  font-size: .8125rem; font-weight: 600;
  transition: background-color .3s var(--ease);
}
.m-live-link:hover { background: rgba(179,154,105,.12); }
.m-live-link.is-live { border-color: rgba(229,83,60,.6); color: #F08A76; --live-red: #E5533C; }
.m-live-link.is-live .live__dot { background: var(--live-red); }
.m-live-link[hidden] { display: none; }

.m-online__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.m-oncard {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: rgba(16,40,32,.45);
}
.m-oncard__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.m-oncard__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.m-oncard__text { font-size: .9rem; line-height: 1.65; color: rgba(242,239,230,.72); }
.m-oncard__text a { color: var(--sage); text-decoration: underline; }
.m-oncard__actions { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.m-on-btn {
  display: inline-flex; align-items: center;
  padding: .6rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .875rem; font-weight: 600; color: var(--ivory);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.m-on-btn:hover { background: rgba(242,239,230,.1); }
.m-on-btn.is-primary { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.m-on-btn.is-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--midnight); }
.m-on-muted { font-size: .875rem; color: rgba(242,239,230,.55); }

.m-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem .9rem; align-items: center; margin: .2rem 0; }
.m-kv dt { font-size: .8125rem; color: var(--sage); }
.m-kv dd { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-width: 0; }
.m-kv dd.m-on-muted { grid-column: 1 / -1; }
.m-kv__val { font-weight: 600; overflow-wrap: anywhere; }
.m-kv__val.is-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9rem; padding: .15rem .45rem; border-radius: 6px; background: rgba(242,239,230,.08); }
.m-mini-btn {
  padding: .2rem .6rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  font-size: .75rem; font-weight: 600; color: rgba(242,239,230,.85);
}
.m-mini-btn:hover { background: rgba(242,239,230,.12); color: var(--ivory); }

.m-online__cols { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .m-online__cols { grid-template-columns: 1.1fr 1fr; } }
.m-onblock { padding: 1.35rem 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: rgba(242,239,230,.04); }
.m-onblock--wide { margin-top: 1rem; }
.m-onblock__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.m-onblock__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.m-onblock > .m-onblock__title { margin-bottom: .75rem; }
.m-onblock__head .m-onblock__title { margin: 0; }
.m-chip-btn--dark { color: rgba(242,239,230,.8); border-color: var(--line-dark); }
.m-chip-btn--dark:hover { background: var(--ivory); color: var(--forest); }

.m-onsched { display: grid; }
.m-onsched__row { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: .9rem; align-items: start; padding: .8rem 0; border-top: 1px solid var(--line-dark); }
.m-onsched__row:first-child { border-top: 0; padding-top: 0; }
.m-onsched__date { font-size: 1.05rem; font-weight: 700; color: var(--brass); font-variant-numeric: tabular-nums; }
.m-onsched__title { font-weight: 600; }
.m-onsched__meta { font-size: .8125rem; color: rgba(242,239,230,.68); line-height: 1.55; }
.m-onsched__meta a { color: var(--sage); text-decoration: underline; }
.m-onsched .m-chip-btn { color: rgba(242,239,230,.85); border-color: var(--line-dark); white-space: nowrap; }
.m-onsched .m-chip-btn:hover { background: var(--ivory); color: var(--forest); }
@media (max-width: 520px) {
  .m-onsched__row { grid-template-columns: 3rem minmax(0, 1fr); }
  .m-onsched__row .m-chip-btn { grid-column: 2; justify-self: start; }
}

.m-check { display: grid; gap: .1rem; }
.m-check__item { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; cursor: pointer; font-size: .9375rem; line-height: 1.5; }
.m-check__item input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--brass); }
.m-check__item input:checked + span { color: rgba(242,239,230,.5); text-decoration: line-through; }

.m-roster { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.m-roster__item { display: grid; gap: .15rem; padding: .85rem 1rem; border-radius: var(--r-md); background: rgba(16,40,32,.45); border: 1px solid var(--line-dark); }
.m-roster__name { font-weight: 600; }
.m-roster__part { font-size: .8125rem; font-weight: 600; color: var(--brass); }
.m-roster__meta { font-size: .8125rem; color: rgba(242,239,230,.68); }

.m-footer { padding-bottom: 2rem; }
.m-footer .site-footer__bottom { padding-top: 0; }

/* print one setlist */
@media print {
  body.printing-set * { visibility: hidden !important; }
  body.printing-set .m-set.is-printing, body.printing-set .m-set.is-printing * { visibility: visible !important; }
  body.printing-set .m-set.is-printing { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; }
  body.printing-set .m-chip-btn, body.printing-set .m-set__sum::after { display: none !important; }
  body.printing-set::after { display: none; }
}

/* small "members" link in the public footer */
.footer-members { display: inline-flex; align-items: center; gap: .35rem; color: rgba(242,239,230,.55); font-weight: 500; transition: color .3s var(--ease); }
.footer-members:hover { color: var(--ivory); }
.footer-end { display: inline-flex; align-items: center; gap: 1.5rem; justify-self: end; }
.footer-end .back-top { padding-top: 0; border-top: 0; }

/* ---------- 27. Live mini show (home page) ---------- */
.live, .live-pill { --live-red: #E5533C; }
.live { isolation: isolate; overflow: hidden; }
.live__inner { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .live__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); } }
/* on phones the player comes first once the show is on */
@media (max-width: 959px) { .live:not([data-state="upcoming"]) .live__stage { order: -1; } }
.live__frond {
  width: clamp(200px, 22vw, 320px);
  aspect-ratio: 260 / 410;
  left: -5%;
  bottom: -12%;
  opacity: .08;
  transform: rotate(28deg);
}

.live__status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .9rem .4rem .75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(179,154,105,.45);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass);
}
.live__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.live[data-state="live"] .live__status { border-color: rgba(229,83,60,.6); color: #F08A76; }
.live[data-state="live"] .live__status .live__dot,
.live__badge .live__dot,
.live-pill .live__dot { background: var(--live-red); }
.live[data-state="live"] .live__dot::after,
.live-pill .live__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--live-red);
  animation: live-pulse 1.6s var(--ease) infinite;
}
@keyframes live-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.live[data-state="replay"] .live__status { border-color: var(--line-dark); color: var(--sage); }

.live__title { margin-top: 1.25rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); max-width: 16ch; }
.live__when { margin-top: 1rem; font-weight: 500; color: var(--ivory); }
.live__when::first-letter { text-transform: uppercase; }
.live__desc { margin-top: .75rem; max-width: 44ch; }

.live__count { margin-top: 2rem; }
.live__count-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .75rem; }
.live__count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 26rem; }
.live__unit {
  display: grid;
  justify-items: center;
  gap: .25rem;
  padding: .85rem .25rem .7rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-dark);
  background: rgba(242,239,230,.04);
}
.live__unit b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ivory); }
.live__unit small { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }

.live__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.live__actions .btn[hidden], .live__actions a[hidden] { display: none; }
.live__actions .btn__arrow { transform: none; }
.live__actions .btn:hover .btn__arrow { transform: rotate(90deg); }

.live__frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  background: #000;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}
.live__frame .media { position: relative; z-index: 1; border-radius: 0; transition: opacity .6s var(--ease); }
.live__frame img { filter: saturate(.85) brightness(.8); }
.live__player { position: absolute; inset: 0; z-index: 0; background: #000; }
.live__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.live__frame .live__play { z-index: 2; }
.live__frame.is-playing .media,
.live__frame.is-playing .live__play,
.live__frame.is-playing .live__badge { opacity: 0; visibility: hidden; pointer-events: none; }
.live__frame.is-playing .live__player { z-index: 3; }
.live__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(16,40,32,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.live__badge[hidden] { display: none; }

/* home page strip that points to liveshow.html */
.live-strip {
  --live-red: #E5533C;
  display: block;
  background: var(--midnight);
  color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color .3s var(--ease);
}
.live-strip[hidden] { display: none; }
.live-strip:hover { background: #142a33; }
.live-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  padding-block: 1rem;
}
.live-strip__status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass);
}
.live-strip[data-state="live"] .live-strip__status { color: #F08A76; }
.live-strip[data-state="live"] .live__dot { background: var(--live-red); }
.live-strip[data-state="live"] .live__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--live-red); animation: live-pulse 1.6s var(--ease) infinite;
}
.live-strip__title { font-weight: 600; font-size: 1.05rem; }
.live-strip__when { font-size: .875rem; color: rgba(242,239,230,.68); }
.live-strip__when[hidden] { display: none; }
.live-strip__when::first-letter { text-transform: uppercase; }
.live-strip__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 600; color: var(--ivory);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.live-strip__cta span:last-child { transition: transform .3s var(--ease); }
.live-strip:hover .live-strip__cta span:last-child { transform: translateX(3px); }
@media (max-width: 640px) { .live-strip__cta { margin-left: 0; } }

/* liveshow.html */
.page-liveshow .live { padding-top: clamp(1rem, 3vw, 2rem); }
.live-none { padding-top: clamp(1rem, 3vw, 2rem); }
.live-none[hidden], .live-archive[hidden] { display: none; }
.live-none__box {
  display: grid; justify-items: start; gap: .75rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-dark);
}
.live-none__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.live-none__hint { color: var(--sage); max-width: 46ch; }
.live-none__box .btn { margin-top: .5rem; }
.live-none__box .btn[hidden] { display: none; }
.live-archive__title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.live-archive .vcard { padding: 0; margin: 0; border: 0; background: none; font: inherit; align-self: start; }
.live-archive a.vcard { color: var(--ink); }

/* header pill while a show is live */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  border-radius: var(--r-pill);
  background: rgba(229,83,60,.14);
  border: 1px solid rgba(229,83,60,.55);
  color: var(--ivory);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: background-color .3s var(--ease);
}
.live-pill:hover { background: rgba(229,83,60,.3); }
.live-pill[hidden] { display: none; }
@media (max-width: 420px) {
  .live-pill { padding: .55rem; gap: 0; }
  .live-pill [data-live-pill-text] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 28. Costumes page ---------- */
.wardrobe { padding-top: 0; }
.wardrobe__groups {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  border-radius: var(--r-pill);
  background: rgba(242,239,230,.06);
  border: 1px solid var(--line-dark);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.wardrobe__groups::-webkit-scrollbar { display: none; }
.wardrobe__groups .wardrobe__tab { flex-shrink: 0; white-space: nowrap; }
.wardrobe__groups[hidden], .wardrobe__tabs[hidden] { display: none; }
.wardrobe__groups .wardrobe__tab {
  padding: .7rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(242,239,230,.7);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.wardrobe__groups .wardrobe__tab:hover { color: var(--ivory); }
.wardrobe__groups .wardrobe__tab[aria-selected="true"] { background: var(--ivory); color: var(--forest); }

.wardrobe__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line-dark);
}
.wardrobe__tabs .wardrobe__tab {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .75rem 0 .9rem;
  font-size: .9875rem;
  font-weight: 500;
  color: rgba(242,239,230,.62);
  transition: color .3s var(--ease);
}
.wardrobe__tabs .wardrobe__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.wardrobe__tabs .wardrobe__tab:hover { color: var(--ivory); }
.wardrobe__tabs .wardrobe__tab[aria-selected="true"] { color: var(--ivory); font-weight: 600; }
.wardrobe__tabs .wardrobe__tab[aria-selected="true"]::after { transform: scaleX(1); }
.wardrobe__tab-count { font-size: .75rem; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }

.wardrobe__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
@media (max-width: 559px) { .wardrobe__grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }
.outfit {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: zoom-in;
  text-align: left;
  background: linear-gradient(160deg, var(--botanical) 0%, var(--forest) 45%, var(--midnight) 100%);
  box-shadow: 0 24px 60px -36px rgba(0,0,0,.85);
}
.outfit__media { display: block; aspect-ratio: 2 / 3; }
.outfit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease-out), opacity .5s var(--ease);
}
.outfit:hover .outfit__media img, .outfit:focus-visible .outfit__media img { transform: scale(1.035); }
.outfit.is-missing .outfit__media img { opacity: 0; }
.outfit::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10,24,19,.82), transparent);
  pointer-events: none;
}
.outfit__num {
  position: absolute;
  left: clamp(.85rem, 1.6vw, 1.25rem);
  bottom: clamp(.7rem, 1.4vw, 1.1rem);
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.outfit__no { font-family: var(--script); font-weight: 600; font-size: .7em; color: var(--brass); letter-spacing: 0; }
.wardrobe__empty {
  padding: 3rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-dark);
  text-align: center;
  color: var(--sage);
}

/* ---------- 19. Preview badge (index.html?preview=1 from config.html) ---------- */
.preview-badge {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 300;
  transform: translateX(-50%);
  padding: .6rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--brass);
  color: var(--midnight);
  font-size: .8125rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track { animation: none; transform: none; }
  .eq i { animation: none; transform: scaleY(.7); }
  .holo, .holo::before { animation: none !important; }
  .holo::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* documents — pages of 10 rows */
.m-pager { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: 1.1rem; }
.m-pager[hidden] { display: none; }
.m-pager__info { margin-left: .5rem; font-size: .8125rem; color: rgba(242,239,230,.6); font-variant-numeric: tabular-nums; }
