/* RESTORING THE PRIDE — Home
   Sharp type · Full 400 mosaic · Navy #0D133B · Gold #C9A227 */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Noto+Sans+Sinhala:wght@400;500;600;700&display=swap");

:root {
  --navy: #0d133b;
  --navy-deep: #070a22;
  --gold: #c9a227;
  --gold-light: #d4b84a;
  --white: #ffffff;
  --mist: #f5f5f7;
  --ink: #0d133b;
  --muted: #6e6e73;
  --line: rgba(13, 19, 59, 0.1);
  --font-display: "Inter Tight", "Noto Sans Sinhala", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter Tight", "Noto Sans Sinhala", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-modern: "Inter Tight", "Noto Sans Sinhala", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nav-h: 3.25rem;
  --max: 980px;
  --max-wide: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.005em;
}

p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

.section {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
}

.tagline {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-align: center;
  margin: 1.25rem 0 0;
}

.tagline--light {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 2rem, var(--max-wide));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  color: var(--white);
  transition: color 0.3s;
}

.site-header.is-scrolled .nav-brand {
  color: var(--navy);
}

.nav-brand strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.nav-brand span {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.site-header.is-scrolled .nav-links a {
  color: var(--navy);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links .login {
  opacity: 0.85;
}

.nav-cta {
  padding: 0.4rem 0.9rem !important;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
  border-radius: 980px;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy-deep) !important;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 4px auto;
  background: var(--white);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--navy);
}

/* ——— Language toggle ——— */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  order: 3;
}

.nav-links {
  order: 2;
  margin-left: auto;
}

.nav-toggle {
  order: 5;
}

.lang-toggle-btn {
  border: 0;
  background: transparent;
  padding: 0.2rem 0.28rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.2s;
}

.lang-toggle-sep {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.lang-toggle-btn.is-active,
.lang-toggle-btn[aria-pressed="true"] {
  color: var(--gold);
}

.lang-toggle-btn:hover {
  color: var(--gold-light);
}

.site-header.is-scrolled .lang-toggle-btn {
  color: rgba(13, 19, 59, 0.55);
}

.site-header.is-scrolled .lang-toggle-sep {
  color: rgba(13, 19, 59, 0.28);
}

.site-header.is-scrolled .lang-toggle-btn.is-active,
.site-header.is-scrolled .lang-toggle-btn[aria-pressed="true"],
.site-header.is-scrolled .lang-toggle-btn:hover {
  color: var(--navy);
}

/* ——— Back to BCOBA.lk ——— */
.nav-back {
  order: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.3rem 0.65rem 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 980px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-back:hover,
.nav-back:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.nav-back-arrow {
  font-size: 0.8rem;
  line-height: 1;
}

.site-header.is-scrolled .nav-back {
  color: var(--navy);
  border-color: rgba(13, 19, 59, 0.25);
}

.site-header.is-scrolled .nav-back:hover,
.site-header.is-scrolled .nav-back:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 480px) {
  .nav-inner {
    gap: 0.55rem;
  }

  .nav-back {
    padding: 0.28rem 0.5rem 0.28rem 0.42rem;
    font-size: 0.62rem;
  }

  .nav-back-tld {
    display: none;
  }

  .nav-brand {
    min-width: 0;
  }

  .nav-brand strong,
  .nav-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-brand strong {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }

  .nav-brand span {
    font-size: 0.52rem;
    letter-spacing: 0.05em;
  }
}

html[lang="si"] body {
  font-family: "Noto Sans Sinhala", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3,
html[lang="si"] .nav-brand strong,
html[lang="si"] .eyebrow,
html[lang="si"] .btn {
  font-family: "Noto Sans Sinhala", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: 980px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, opacity 0.25s;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--gold-light);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero options 1–5 + picker ——— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Soft sky clouds — above veil so drift stays visible */
.hero-clouds {
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.hero-cloud {
  position: absolute;
  color: rgba(255, 255, 255, 0.32);
  filter: blur(1.5px);
  opacity: 0.9;
  will-change: transform;
}

.hero-cloud--a {
  width: min(56vw, 30rem);
  top: 8%;
  left: -8%;
  animation: heroCloudDriftA 60s linear infinite;
}

.hero-cloud--b {
  width: min(46vw, 24rem);
  top: 18%;
  right: -6%;
  color: rgba(255, 255, 255, 0.22);
  animation: heroCloudDriftB 72s linear infinite;
}

.hero-cloud--c {
  width: min(40vw, 20rem);
  top: 4%;
  left: 38%;
  color: rgba(255, 255, 255, 0.18);
  animation: heroCloudDriftC 54s linear infinite;
}

.hero-veil {
  z-index: 2;
}

.hero-brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.hero h1 {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.hero .support {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.hero .btn-group {
  margin-top: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.75rem;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.hero-meta span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Shared strip bits (opt 1 & 5) */
.hero-strip-inner {
  width: min(100% - 2.5rem, var(--max-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem 3rem;
  align-items: end;
}

/* ——— Option 1: bottom strip ——— */
.hero--opt1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero--opt1 .hero-media img {
  object-position: center 42%;
  transform: scale(1);
  animation: heroKenBurns 26s var(--ease) forwards;
}

.hero--opt1 .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 34, 0.45) 0%, transparent 18%, transparent 58%, rgba(7, 10, 34, 0.25) 78%, rgba(7, 10, 34, 0.92) 100%);
  pointer-events: none;
}

.hero--opt1 .hero-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 34, 0.55) 12%, var(--navy-deep) 38%);
  padding: 3.5rem 0 1.75rem;
}

.hero--opt1 .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin: 0 0 0.4rem;
}

/* ——— Option 2: left glass panel ——— */
.hero--opt2 {
  display: flex;
  align-items: stretch;
}

.hero--opt2 .hero-media img {
  object-position: 62% 45%;
  transform: scale(1);
  animation: heroKenBurns 26s var(--ease) forwards;
}

.hero--opt2 .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 34, 0.4) 0%, transparent 16%),
    linear-gradient(90deg, rgba(7, 10, 34, 0.2) 0%, transparent 42%);
  pointer-events: none;
}

.hero--opt2 .hero-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  margin: calc(var(--nav-h) + 1.25rem) 0 1.25rem 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(7, 10, 34, 0.52);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero--opt2 .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 0 0 0.85rem;
}

.hero--opt2 .hero-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ——— Option 3: minimal caption + float ——— */
.hero--opt3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero--opt3 .hero-media img {
  object-position: center 40%;
  transform: scale(1);
  animation: heroKenBurns 26s var(--ease) forwards;
}

.hero--opt3 .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 34, 0.5) 0%, transparent 22%, transparent 62%, rgba(7, 10, 34, 0.55) 100%);
  pointer-events: none;
}

.hero--opt3 .hero-caption {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max-wide));
  margin: calc(var(--nav-h) + 1.1rem) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.hero--opt3 .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero--opt3 .hero-caption-sep {
  color: rgba(255, 255, 255, 0.45);
}

.hero--opt3 .hero-caption-sub {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero--opt3 .hero-float {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2rem;
  padding: 1.35rem 1.5rem;
  background: rgba(7, 10, 34, 0.48);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.hero--opt3 .hero-float h1 {
  flex: 1 1 12rem;
  margin: 0;
}

.hero--opt3 .hero-float .btn-group {
  margin: 0;
}

.hero--opt3 .hero-meta {
  width: 100%;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ——— Option 4: split screen ——— */
.hero--opt4 {
  display: grid;
  grid-template-columns: minmax(20rem, 0.92fr) 1.15fr;
}

.hero--opt4 .hero-split-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.5rem, 4vw, 3.5rem) 2.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy-deep), var(--navy) 55%, #12183a);
}

.hero--opt4 .hero-split-copy::after {
  content: "";
  position: absolute;
  top: calc(var(--nav-h) + 2rem);
  bottom: 2.5rem;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.hero--opt4 .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 0 0 1rem;
}

.hero--opt4 .hero-meta {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero--opt4 .hero-split-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero--opt4 .hero-split-media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4.5rem;
  background: linear-gradient(180deg, rgba(7, 10, 34, 0.4), transparent);
  pointer-events: none;
}

.hero--opt4 .hero-split-media img {
  object-position: center 40%;
  transform: scale(1);
  animation: heroKenBurns 26s var(--ease) forwards;
}

/* ——— Option 5: delayed reveal strip ——— */
.hero--opt5 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero--opt5 .hero-media img {
  object-position: center 40%;
  transform: scale(1.06);
  transition: transform 8s var(--ease);
}

.hero--opt5.is-ready .hero-media img {
  transform: scale(1);
}

.hero--opt5 .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 34, 0.42) 0%, transparent 20%, transparent 70%, rgba(7, 10, 34, 0.2) 100%);
  pointer-events: none;
  transition: background 0.9s var(--ease);
}

.hero--opt5.is-ready .hero-veil {
  background:
    linear-gradient(180deg, rgba(7, 10, 34, 0.42) 0%, transparent 18%, transparent 55%, rgba(7, 10, 34, 0.35) 78%, rgba(7, 10, 34, 0.92) 100%);
}

.hero--opt5 .hero-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 34, 0.55) 14%, var(--navy-deep) 40%);
  padding: 3.25rem 0 1.75rem;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.95s var(--ease), opacity 0.7s var(--ease);
}

.hero--opt5.is-ready .hero-strip {
  transform: translateY(0);
  opacity: 1;
}

/* ——— Option 6: open Hall + Memories promo + white bar ——— */
.hero--opt6 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-modern);
  overflow: clip;
  z-index: 1;
}

.hero--opt6 .hero-media img {
  object-position: center 58%;
  transform: scale(1);
  animation: heroKenBurnsSoft 22s var(--ease) forwards;
}

.hero--opt6 .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Left readability only — keep the photo open */
    linear-gradient(105deg, rgba(7, 10, 34, 0.42) 0%, rgba(7, 10, 34, 0.18) 26%, transparent 46%),
    /* Short soft bottom fade into band navy — clean meet, no crush on Memories/status */
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 86%,
      rgba(13, 19, 59, 0.2) 94%,
      rgba(13, 19, 59, 0.48) 100%
    );
  pointer-events: none;
}

.hero--opt6 .hero-opt6-stage {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  /* Clearance for thin band join so Memories + status stay fully visible */
  padding: 4rem 0 calc(3.5rem + 0.5rem);
  min-width: 0;
}

.hero--opt6 .hero-opt6-row {
  width: min(100% - 2.5rem, var(--max-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(14rem, 17.5rem);
  gap: 1rem 1.5rem;
  align-items: end;
  justify-content: space-between;
  box-sizing: border-box;
}

.hero--opt6 .hero-opt6-lead {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  min-width: 0;
  max-width: 26rem;
}

.hero--opt6 .hero-copy {
  width: 100%;
  max-width: 26rem;
  min-width: 0;
  padding: 0.95rem 1.15rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(11px) saturate(112%);
  -webkit-backdrop-filter: blur(11px) saturate(112%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.65rem;
  box-shadow:
    0 8px 22px rgba(7, 10, 34, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: none;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
}

.hero--opt6 .hero-brand {
  font-family: var(--font-modern);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: 0.04em;
  margin: 0 0 0.55rem;
  color: var(--navy);
  transform: none;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.hero--opt6 .hero-brand-accent {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  text-shadow: none;
}

.hero--opt6 h1 {
  font-family: var(--font-modern);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 0.35rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero--opt6 .support {
  font-family: var(--font-modern);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(13, 19, 59, 0.82);
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45);
}

.hero--opt6 .btn-group,
.hero--opt6 .hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  gap: 0.65rem;
  align-items: center;
}

.hero--opt6 .hero-proof {
  margin: 0.85rem 0 0;
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: rgba(13, 19, 59, 0.62);
}

.hero--opt6 .hero-proof-sep {
  margin: 0 0.35rem;
  color: rgba(13, 19, 59, 0.35);
}

.hero--opt6 .btn {
  padding: 0.72rem 1.1rem;
  font-size: 0.78rem;
  white-space: nowrap;
  flex: 0 1 auto;
}

.hero--opt6 .btn-ghost {
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.42);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.42);
}

.hero--opt6 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy-deep);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}

/* Glass panel: navy contrast (base .btn-mypride is light-on-dark) */
.hero--opt6 .btn-mypride {
  padding: 0.72rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 1;
}

.hero--opt6 .btn-mypride.is-locked {
  color: rgba(13, 19, 59, 0.55);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.38);
  opacity: 1;
}

.hero--opt6 .btn-mypride.is-locked:hover {
  color: rgba(13, 19, 59, 0.62);
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.45);
}

.hero--opt6 .btn-mypride.is-open {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.42);
  opacity: 1;
}

.hero--opt6 .btn-mypride.is-open:hover {
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}

.btn-mypride {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 980px;
  border: 0;
  text-decoration: none;
  transition: opacity 0.25s var(--ease), color 0.25s, box-shadow 0.25s;
}

.btn-mypride.is-locked {
  color: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  cursor: not-allowed;
  opacity: 0.75;
  user-select: none;
}

.btn-mypride.is-locked:hover {
  color: rgba(255, 255, 255, 0.55);
}

.btn-mypride.is-open {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(212, 184, 74, 0.55);
  cursor: pointer;
  opacity: 1;
}

.btn-mypride.is-open:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--gold-light);
}

/* Memories of the Pride — compact promo under glass (left column) */
.hero-memories {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: none;
  padding: 0.5rem 0.65rem 0.5rem 0.5rem;
  text-decoration: none;
  color: inherit;
  justify-self: stretch;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.65rem;
  box-shadow:
    0 8px 22px rgba(7, 10, 34, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  isolation: isolate;
  overflow: hidden;
  transform: none;
  transition: background 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  box-sizing: border-box;
}

.hero-memories:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow:
    0 10px 26px rgba(7, 10, 34, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-memories-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(155deg, rgba(201, 162, 39, 0.28), rgba(201, 162, 39, 0.12) 55%, rgba(13, 19, 59, 0.06));
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-memories-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.hero-memories-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.hero-memories-title {
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--navy);
}

.hero-memories-sub {
  font-family: var(--font-modern);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13, 19, 59, 0.58);
}

.hero-memories-arrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  padding-right: 0.1rem;
  transition: transform 0.25s var(--ease);
}

.hero-memories:hover .hero-memories-arrow {
  transform: translateX(2px);
}

/* Live reservation status — compact glass/navy, bottom-right on desktop */
.hero--opt6 .hero-status {
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 17.5rem;
  padding: 0.85rem 0.95rem 0.8rem;
  background:
    linear-gradient(165deg, rgba(13, 19, 59, 0.78) 0%, rgba(7, 10, 34, 0.88) 100%);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.7rem;
  box-shadow:
    0 14px 36px rgba(7, 10, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(201, 162, 39, 0.18);
  color: var(--white);
  box-sizing: border-box;
}

.hero--opt6 .hero-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.55rem;
  text-align: center;
}

.hero--opt6 .hero-status-grid strong {
  display: block;
  font-family: var(--font-modern);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.hero--opt6 .hero-status-grid span {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--font-modern);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.hero--opt6 .hero-status-secured {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-align: center;
  color: rgba(255, 248, 230, 0.92);
}

.hero--opt6 .hero-status-secured strong {
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

/* Legacy white meta strip (opts 1–5 / unused on opt6) */
.hero--opt6 .hero-strip--white {
  display: none;
}

.hero--opt6 .hero-strip-inner--meta {
  display: block;
  grid-template-columns: none;
  width: min(100% - 2rem, 34rem);
  margin: 0 auto;
}

.hero--opt6 .hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  align-items: start;
  gap: 0.65rem 1.1rem;
  text-align: center;
}

.hero--opt6 .hero-meta > div {
  min-width: 0;
}

.hero--opt6 .hero-meta strong {
  font-family: var(--font-modern);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.hero--opt6 .hero-meta span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.hero--opt5 .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin: 0 0 0.4rem;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.6%, 0.4%, 0);
  }
}

@keyframes heroKenBurnsSoft {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

@keyframes heroCloudDriftA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(22%, 3%, 0);
  }
}

@keyframes heroCloudDriftB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-20%, 4%, 0);
  }
}

@keyframes heroCloudDriftC {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(16%, -3%, 0);
  }
}

@media (max-width: 900px) {
  .hero--opt4 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero--opt4 .hero-split-media {
    min-height: 55vh;
    order: -1;
  }

  .hero--opt4 .hero-split-copy {
    padding: 2rem 1.35rem 2.25rem;
  }

  .hero--opt4 .hero-split-copy::after {
    display: none;
  }
}

@media (max-width: 840px) {
  .hero-strip-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero--opt1 .hero-meta,
  .hero--opt5 .hero-meta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero--opt6 .hero-strip-inner--meta {
    width: min(100% - 1.75rem, 30rem);
  }

  .hero--opt6 .hero-meta {
    gap: 0.55rem 0.85rem;
  }

  .hero--opt6 .hero-meta strong {
    font-size: 1.05rem;
  }

  .hero--opt6 .hero-meta span {
    font-size: 0.58rem;
  }

  /* Tablet: glass+Memories left, status right */
  .hero--opt6 .hero-opt6-row {
    width: min(100% - 1.75rem, var(--max-wide));
    grid-template-columns: minmax(0, 22rem) minmax(13rem, 15.5rem);
    gap: 0.9rem 1.15rem;
  }

  .hero--opt6 .hero-opt6-lead,
  .hero--opt6 .hero-copy {
    max-width: 22rem;
  }

  .hero--opt6 .hero-status {
    max-width: 15.5rem;
  }

  .hero--opt6 .hero-status-grid strong {
    font-size: 1.05rem;
  }

  .hero--opt2 .hero-panel {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem 0.75rem;
  }

  .hero--opt2 {
    align-items: flex-end;
  }

}

/* Narrow: stack copy, Memories, then full-width status — not a sparse strip */
@media (max-width: 700px) {
  .hero--opt6 .hero-opt6-row {
    width: min(100% - 2rem, var(--max-wide));
    grid-template-columns: minmax(0, 24rem);
    justify-content: center;
    justify-items: center;
    gap: 0.75rem;
    align-items: start;
  }

  .hero--opt6 .hero-opt6-lead {
    width: min(24rem, 82vw);
    max-width: min(24rem, 82vw);
    margin-inline: auto;
  }

  .hero--opt6 .hero-copy {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    transform: none;
    padding: 0.9rem 1rem 0.95rem;
  }

  .hero--opt6 .hero-brand {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }

  .hero--opt6 .btn-group,
  .hero--opt6 .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
  }

  .hero--opt6 .btn {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  .hero--opt6 .hero-memories {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    justify-self: stretch;
    transform: none;
  }

  .hero--opt6 .hero-status {
    width: min(24rem, 82vw);
    max-width: min(24rem, 82vw);
    justify-self: center;
    padding: 0.8rem 0.85rem 0.75rem;
  }

  .hero--opt6 .hero-status-grid strong {
    font-size: 1.1rem;
  }

  .hero--opt6 .hero-status-grid span {
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .hero--opt6 .hero-opt6-stage {
    gap: 0.85rem;
    padding: 3.25rem 0 calc(3.5rem + 0.35rem);
  }

  .hero--opt6 .hero-opt6-row {
    width: min(100% - 1.75rem, var(--max-wide));
  }

  .hero--opt6 .hero-opt6-lead {
    width: min(22rem, 88vw);
    max-width: min(22rem, 88vw);
  }

  .hero--opt6 .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0.85rem 0.95rem 0.9rem;
  }

  .hero--opt6 .support {
    font-size: 0.82rem;
  }

  .hero--opt6 .hero-proof {
    font-size: 0.68rem;
    text-align: center;
  }

  .hero--opt6 .btn-group,
  .hero--opt6 .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--opt6 .btn {
    width: 100%;
  }

  .hero--opt6 .hero-memories {
    width: 100%;
    max-width: none;
    grid-template-columns: 2.9rem minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem 0.45rem 0.45rem;
  }

  .hero--opt6 .hero-memories-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.55rem;
  }

  .hero--opt6 .hero-memories-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .hero--opt6 .hero-memories-title {
    font-size: 0.76rem;
  }

  .hero--opt6 .hero-memories-sub {
    font-size: 0.58rem;
  }

  .hero--opt6 .hero-status {
    width: min(22rem, 88vw);
    max-width: min(22rem, 88vw);
    padding: 0.75rem 0.7rem 0.7rem;
  }

  .hero--opt6 .hero-status-grid {
    gap: 0.35rem 0.4rem;
  }

  .hero--opt6 .hero-status-grid strong {
    font-size: 1rem;
  }

  .hero--opt6 .hero-status-grid span {
    font-size: 0.52rem;
    letter-spacing: 0.05em;
  }

  .hero--opt6 .hero-status-secured {
    font-size: 0.74rem;
    margin-top: 0.55rem;
    padding-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--opt5 .hero-strip,
  .hero--opt5 .hero-media img,
  .hero--opt5 .hero-veil {
    transition: none;
  }

  .hero--opt5 .hero-strip {
    transform: none;
    opacity: 1;
  }

  .hero--opt5 .hero-media img {
    transform: none;
  }

  .hero--opt1 .hero-media img,
  .hero--opt2 .hero-media img,
  .hero--opt3 .hero-media img,
  .hero--opt4 .hero-split-media img,
  .hero--opt6 .hero-media img {
    animation: none;
    transform: none;
  }

  .hero-cloud {
    animation: none !important;
  }
}

/* ——— Home type scale (calm, consistent) ——— */
main .eyebrow {
  font-size: 0.65rem;
}

main h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 0.9rem;
}

.gallery .tagline {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.gallery-head h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
}

.gallery-head p {
  font-size: 0.85rem;
}

.gallery-stats strong {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
}

.updates-teaser h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
}

.updates-teaser-top p {
  font-size: 0.875rem;
}

.updates-home-project h3 {
  font-size: 1.1rem;
}

.updates-home-news .news-list h3 {
  font-size: 0.95rem;
}

.updates-home-news .news-list p {
  font-size: 0.8125rem;
}

.heritage-line {
  font-size: 0.9rem;
}

.close blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

/* ——— Home band — premium navy + gold; soft mask join to hero ——— */
.home-band {
  --home-band-join: 3.5rem; /* ~56px soft handoff (40–80px) */
  position: relative;
  isolation: isolate;
  z-index: 2;
  /* Thin overlap — photo peeks through mask edge, then solid navy */
  margin-top: calc(var(--home-band-join) * -1);
  /* Rich intentional navy: vertical deepen + soft warm gold corner (no mud / no photo bg) */
  background:
    radial-gradient(
      ellipse 72% 58% at 100% 100%,
      rgba(201, 162, 39, 0.075) 0%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      #101846 0%,
      var(--navy) 38%,
      var(--navy) 62%,
      var(--navy-deep) 100%
    );
  /* Soft join via mask opacity (not tinted transparent navy = no mud) */
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 calc(var(--home-band-join) * 0.92)
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 calc(var(--home-band-join) * 0.92)
  );
  /* Join height + content padding — copy/CTAs sit fully on solid navy */
  padding: calc(var(--home-band-join) + clamp(1.65rem, 3.8vw, 2.35rem)) 0
    clamp(1.75rem, 4vw, 2.65rem);
  border-bottom: none;
  overflow: hidden;
}

/* Top hairline gold glow — posh cue once the band is solid */
.home-band::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(var(--home-band-join) * 0.88);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 162, 39, 0.28) 18%,
    rgba(212, 184, 74, 0.5) 50%,
    rgba(201, 162, 39, 0.28) 82%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Thin gold left accent */
.home-band::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--home-band-join) * 0.95);
  bottom: 12%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(201, 162, 39, 0.55) 0%,
    rgba(201, 162, 39, 0.28) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.home-band > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max-wide));
}

.home-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.home-band-copy #home-bridge-title {
  font-family: var(--font-modern);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.005em;
  color: var(--white);
  margin: 0 0 0.65rem;
}

.home-band-body {
  font-family: var(--font-modern);
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  font-weight: 400;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 36rem;
}

.home-band-note {
  margin: 0.85rem 0 0;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
  max-width: 32rem;
}

.home-band-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.home-band-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  margin: 0;
}

.home-band-ctas .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.2rem;
}

.home-band-ctas .btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.home-band-ctas .btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.home-band-ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.92);
}

.home-band-ghost:hover {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1.5px var(--gold-light);
}

/* Option A — soft links under CTAs */
.home-band-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.home-band-links a {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(201, 162, 39, 0.38);
}

.home-band-links a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.home-band-links .sep {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
  user-select: none;
}

@media (min-width: 800px) {
  .home-band-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem 2.75rem;
  }

  .home-band-copy {
    flex: 1 1 55%;
    min-width: 0;
  }

  .home-band-cta-stack {
    flex: 0 1 42%;
    max-width: 16.5rem;
    margin-left: auto;
  }

  .home-band-ctas {
    max-width: none;
    margin-left: 0;
    flex: none;
  }

  .home-band-ctas .btn {
    width: 100%;
  }

  .home-band-links {
    justify-content: center;
  }
}

/* ——— Updates / Progress page ——— */
.updates-hero {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 1.75rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.updates-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  max-width: 16ch;
}

.updates-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.updates-jump a {
  padding: 0.45rem 0.95rem;
  border-radius: 980px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.18);
  background: var(--white);
  transition: background 0.2s, box-shadow 0.2s;
}

.updates-jump a:hover {
  box-shadow: inset 0 0 0 1px var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.updates-section.progress {
  border-bottom: 0;
}

.updates-duo {
  background: var(--mist);
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.updates-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
  align-items: stretch;
}

.updates-trio {
  background: var(--mist);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.updates-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.updates-panel {
  background: var(--white);
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 19, 59, 0.06);
  box-shadow: 0 8px 28px rgba(13, 19, 59, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.updates-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(13, 19, 59, 0.08);
}

.updates-panel--site {
  background: linear-gradient(180deg, #fff 0%, #f7f3e8 100%);
  border-color: rgba(201, 162, 39, 0.22);
}

.updates-panel--news {
  background: linear-gradient(180deg, #fff 0%, #f3f5fb 100%);
}

.updates-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.updates-panel > p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.updates-checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.updates-checklist li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.updates-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gold);
}

.updates-panel .btn,
.updates-panel .btn-group {
  margin-top: auto;
}

.updates-panel .hub-msg,
.updates-panel .updates-panel-foot {
  margin-top: 0.85rem;
}

.updates-panel-foot a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.updates-panel--news .news-list {
  margin-top: 0.5rem;
}

.updates-teaser {
  background: var(--mist);
  padding: clamp(1.75rem, 3.5vw, 2.35rem) 0;
  padding-top: calc(clamp(1.75rem, 3.5vw, 2.35rem) + 25px);
  border-bottom: 1px solid var(--line);
}

.updates-teaser .eyebrow {
  color: var(--gold);
}

.updates-teaser h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.updates-teaser-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.updates-teaser-top > div {
  max-width: 36rem;
}

.updates-teaser-top .eyebrow {
  margin-bottom: 0.35rem;
}

.updates-teaser-top p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.updates-home-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.updates-home-news,
.updates-home-project {
  background: var(--white);
  border-radius: 8px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.07);
}

.updates-home-news .news-list {
  margin-top: 0.35rem;
}

.updates-home-news .news-list article {
  padding: 0.85rem 0;
}

.updates-home-news .news-list article:first-of-type {
  padding-top: 0.35rem;
}

.updates-more {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.updates-home-project h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 0.45rem;
}

.updates-home-project > p {
  font-size: 0.84rem;
  margin-bottom: 0.55rem;
}

.updates-home-project > p:last-of-type {
  margin-bottom: 0.85rem;
}

.updates-home-project .project-teaser-list {
  margin-bottom: 1.15rem;
}

.updates-home-project .btn-group {
  margin-top: 1rem;
}

.progress-steps--compact {
  margin-top: 1rem;
}

.progress-steps--compact li {
  font-size: 0.7rem;
}

/* ——— Building the Future (Home) ——— */
.uh {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.uh .updates-teaser-top {
  margin-bottom: 1.75rem;
}

.uh .updates-teaser-top .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.uh .updates-teaser-top .eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}

.uh .updates-teaser-top h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.uh .updates-teaser-top p {
  font-size: 0.95rem;
}

.uh .updates-home-grid {
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
}

.uh .updates-home-news,
.uh .updates-home-project {
  border-radius: 18px;
  padding: 1.75rem 1.85rem 1.6rem;
}

.uh .updates-home-news {
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(13, 19, 59, 0.05),
    0 1px 2px rgba(13, 19, 59, 0.04),
    0 22px 44px -26px rgba(13, 19, 59, 0.22);
}

.uh-news {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.uh-news li + li {
  border-top: 1px solid var(--line);
}

.uh-news-item {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  margin: 0 -0.75rem;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}

.uh-news-item:hover,
.uh-news-item:focus-visible {
  background: var(--mist);
}

.uh-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.14), rgba(201, 162, 39, 0.04));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.28);
  line-height: 1.05;
}

.uh-date span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.uh-date strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.uh-news-item--goal .uh-date {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  box-shadow: none;
}

.uh-news-item--goal .uh-date strong {
  color: var(--white);
}

.uh-news-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}

.uh-news-text p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.uh-arrow {
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.uh-news-item:hover .uh-arrow,
.uh-news-item:focus-visible .uh-arrow {
  opacity: 1;
  transform: none;
}

.uh-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease), background-size 0.3s var(--ease);
}

.uh-more:hover {
  color: var(--gold);
}

.uh-progress {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(160deg, #161d52 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 50px -26px rgba(7, 10, 34, 0.6);
}

.uh-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212, 184, 74, 0.18);
  pointer-events: none;
}

.uh .uh-progress h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: var(--white);
}

.uh .uh-progress .uh-status {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 980px;
  background: rgba(201, 162, 39, 0.14);
  box-shadow: inset 0 0 0 1px rgba(212, 184, 74, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.uh-pulse {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-light);
}

.uh-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold-light);
  animation: uh-pulse 2s var(--ease) infinite;
}

@keyframes uh-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3); opacity: 0; }
}

.uh .uh-progress .uh-progress-body {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.uh-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
}

.uh-timeline::before,
.uh-timeline::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 12.5%;
  height: 2px;
  border-radius: 2px;
}

.uh-timeline::before {
  right: 12.5%;
  background: rgba(255, 255, 255, 0.14);
}

.uh-timeline::after {
  width: 25%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.uh-timeline li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.uh-dot {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.uh-timeline .is-done .uh-dot {
  background: var(--gold);
  box-shadow: none;
}

.uh-timeline .is-done .uh-dot::after {
  content: "";
  width: 0.28rem;
  height: 0.5rem;
  margin-top: -0.12rem;
  border: solid var(--navy-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.uh-timeline .is-active .uh-dot {
  background: var(--navy-deep);
  box-shadow:
    inset 0 0 0 2px var(--gold-light),
    0 0 0 5px rgba(212, 184, 74, 0.18);
  animation: uh-glow 2.4s var(--ease) infinite;
}

.uh-timeline .is-active .uh-dot::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold-light);
}

@keyframes uh-glow {
  50% {
    box-shadow:
      inset 0 0 0 2px var(--gold-light),
      0 0 0 8px rgba(212, 184, 74, 0.08);
  }
}

.uh-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.uh-timeline .is-done .uh-label,
.uh-timeline .is-active .uh-label {
  color: var(--white);
}

.uh .uh-progress .btn-group {
  margin-top: auto;
  padding-top: 1.6rem;
}

@media (max-width: 980px) {
  .uh .updates-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .uh .updates-home-news,
  .uh .updates-home-project {
    padding: 1.4rem 1.25rem;
  }

  .uh-news-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.9rem;
  }

  .uh-arrow {
    display: none;
  }

  .uh-label {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-pulse::after,
  .uh-timeline .is-active .uh-dot {
    animation: none;
  }
}

.progress {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.progress-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.progress-head p {
  font-size: 0.95rem;
}

.progress-demo-note {
  color: var(--muted);
  font-size: 0.85em;
}

.progress-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.progress-steps li span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 19, 59, 0.08);
  font-size: 0.68rem;
  flex-shrink: 0;
}

.progress-steps li.is-done {
  color: var(--navy);
}

.progress-steps li.is-done span {
  background: var(--gold);
  color: var(--navy-deep);
}

.progress-steps li.is-active {
  color: var(--navy);
}

.progress-steps li.is-active span {
  background: var(--navy);
  color: #fff;
}

.progress-steps--marks {
  gap: 0.65rem;
}

.progress-steps--marks li {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.progress-steps--marks li span {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.22);
  color: rgba(13, 19, 59, 0.35);
}

.progress-steps--marks li.is-done span {
  background: var(--navy);
  box-shadow: none;
  color: var(--gold-light);
  font-size: 0.65rem;
}

.progress-steps--marks li.is-active span {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--gold);
  color: var(--navy);
  font-size: 0.55rem;
}

.progress-steps--compact.progress-steps--marks li {
  font-size: 0.68rem;
}

.progress-upload {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--mist);
  border-radius: 6px;
}

.progress-upload-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.progress-upload-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.progress-upload-fields select,
.progress-upload-fields input[type="text"] {
  min-width: 10rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
}

.progress-upload-caption {
  flex: 1;
  min-width: 12rem;
}

.progress-upload-btn {
  cursor: pointer;
  margin: 0;
}

.progress-clear {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.25);
}

.progress-meta {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.progress-card {
  margin: 0;
  background: var(--mist);
  border-radius: 6px;
  overflow: hidden;
}

.progress-card-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--navy-deep);
}

.progress-card-open img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s var(--ease);
}

.progress-card-open:hover img {
  opacity: 0.9;
}

.progress-card figcaption {
  padding: 0.65rem 0.75rem 0.75rem;
  display: grid;
  gap: 0.2rem;
}

.progress-stage {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.progress-cap {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.progress-remove {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.progress-foot {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.progress-foot a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-list h3 a {
  color: inherit;
  text-decoration: none;
}

.news-list h3 a:hover {
  color: var(--gold);
}

.progress-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 10, 34, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0.75rem;
}

.progress-lightbox[hidden] {
  display: none !important;
}

.progress-lightbox img {
  max-width: min(960px, 100%);
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.progress-lightbox p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-align: center;
  max-width: 36rem;
}

.progress-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ——— Pride Gallery — full 400 mosaic ——— */
.gallery {
  background: var(--white);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.gallery-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.35rem;
}

.gallery-head p {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.85rem;
}

.gallery-head p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mosaic-wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.85rem;
  background: var(--navy-deep);
  border-radius: 6px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
}

.mosaic .tile {
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 1px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
}

.mosaic .tile:hover {
  transform: scale(1.35);
  z-index: 2;
  position: relative;
}

.mosaic .tile.is-confirmed {
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.3);
}

.mosaic .tile.is-reserved {
  background: rgba(201, 162, 39, 0.42);
}

.mosaic .tile.is-open {
  background: rgba(255, 255, 255, 0.12);
}

.mosaic .tile.is-in-cart {
  background: var(--gold-light);
  box-shadow: 0 0 0 1px #fff;
}

.gallery-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.gallery-legend i {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  vertical-align: middle;
  border-radius: 1px;
}

.gallery-legend .c {
  background: var(--gold);
}
.gallery-legend .r {
  background: rgba(201, 162, 39, 0.45);
}
.gallery-legend .o {
  background: var(--navy);
  opacity: 0.35;
}
.gallery-legend .s {
  background: var(--gold-light);
  box-shadow: 0 0 0 1px var(--navy);
}

.gallery-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 1.35rem;
  text-align: center;
}

.gallery-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.gallery-stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 8.5rem;
  margin-inline: auto;
  line-height: 1.35;
}

.gallery-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.gallery-price {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Tray — under tile selection */
.tray {
  background: var(--navy-deep);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin: 0.85rem auto 0;
  max-width: 48rem;
}

.tray[hidden] {
  display: none !important;
}

.tray--inline {
  position: relative;
  z-index: 2;
  transform: none;
}

.tray-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tray p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.tray strong {
  color: var(--gold-light);
}

.tray-places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.tray-clear-btn {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.tray-clear-btn:hover {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ——— Reserve page ——— */
.reserve-section {
  padding-top: 0.85rem;
}

.container.reserve-col {
  width: min(100% - 2.5rem, 42rem);
}

.about-hero--compact.reserve-hero {
  padding-bottom: 0.85rem;
}

.reserve-hero .about-lead {
  max-width: none;
}

.reserve-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem 2rem;
  align-items: start;
}

.reserve-summary,
.reserve-form,
.reserve-done {
  background: var(--mist);
  border-radius: 8px;
  padding: 1.35rem 1.4rem 1.5rem;
}

.reserve-total {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  line-height: 1.2;
}

.reserve-total strong {
  color: var(--navy);
}

.reserve-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.reserve-places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.reserve-places li {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.reserve-places:empty {
  display: none;
}

.reserve-empty {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.reserve-form {
  display: grid;
  gap: 0.85rem;
}

.reserve-form h2 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.reserve-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
}

.reserve-form textarea {
  resize: vertical;
  min-height: 4.25rem;
  line-height: 1.45;
}

.reserve-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
}

.reserve-check input {
  margin-top: 0.2rem;
  width: auto;
}

.reserve-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.reserve-done h2 {
  font-size: 1.45rem;
}

/* ——— My Pride + News hub (under Gallery) ——— */
.hub {
  background: var(--white);
  padding-top: 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.hub-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.hub-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.hub-card > p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 26rem;
}

.hub-msg {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: var(--navy);
}

.hub-card--news .news-list {
  margin-top: 0.75rem;
}

.hub-card--news .news-list article {
  padding: 0.75rem 0;
}

.hub-card--news .news-list article:first-child {
  padding-top: 0;
}

/* ——— Heritage & Project (Home merge) ——— */
.heritage-project {
  background: var(--mist);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.heritage-project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.heritage-project-copy h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.heritage-project-copy p {
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.heritage-project-facts {
  list-style: none;
  margin: 1.35rem 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  max-width: 34rem;
}

.heritage-project-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  row-gap: 0.1rem;
  align-items: start;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(13, 19, 59, 0.12);
}

.heritage-project-fact-mark {
  grid-row: 1 / span 2;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.35em;
  background: var(--gold);
}

.heritage-project-facts strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.3;
}

.heritage-project-facts li > span:last-child {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.heritage-project .btn-group {
  margin-top: 0.25rem;
}

.heritage-project-media {
  margin: 0;
}

.heritage-project-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.heritage-project-media figcaption {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.45;
}

/* Shared ghost button used across teasers / about */
.project-teaser .btn-ghost,
.project-teaser-ghost {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.28);
}

.project-teaser .btn-ghost:hover,
.project-teaser-ghost:hover {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.project-teaser-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.project-teaser-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.project-teaser-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gold);
  border-radius: 1px;
}

/* ——— About / The Project page ——— */
.page-inner {
  background: var(--white);
}

.page-inner .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.page-inner .nav-brand,
.page-inner .nav-links a {
  color: var(--navy);
}

.page-inner .nav-links a.is-current {
  color: var(--gold);
}

.page-inner main {
  padding-top: var(--nav-h);
}

.page-inner section[id] {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.about-hero--compact {
  padding-bottom: 1.25rem;
}

.about-hero--compact .about-lead {
  margin-bottom: 0;
}

.about-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  max-width: 22ch;
}

.about-hero-tagline {
  text-align: left;
  margin: 1rem 0 0;
}

.about-lead {
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.about-stack-title {
  margin: 0 0 0.2rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1.2;
}

.about-stack-title + h2 {
  margin-top: 0;
}

.about-sub {
  padding: clamp(2rem, 4vw, 2.75rem) 0 0;
}

.about-sub--mist {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: var(--mist);
}

.about-subhead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  margin: 0 0 0.65rem;
}

.about-scope-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.75rem;
  margin-top: 1.35rem;
}

.about-scope-group h4 {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-scope--stack {
  grid-template-columns: 1fr;
  margin-top: 0;
  gap: 0.4rem;
}

.about-scope.about-scope--stack {
  grid-template-columns: 1fr;
}

.about-phase-status {
  display: block;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-timeline li.is-done .about-phase-status,
.about-timeline li.is-active .about-phase-status {
  color: var(--navy);
}

.about-timeline strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: inherit;
}

.about-legacy-who {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.about-who-cards {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-who-cards li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.9rem 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--mist);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-gov-tiles {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-gov-tiles li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 0.75rem;
  text-align: center;
  background: var(--white);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-gov-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--navy);
  background: rgba(201, 162, 39, 0.14);
  border-radius: 50%;
}

.about-gov-tiles strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-block {
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
}

.about-block--mist {
  background: var(--mist);
}

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.about-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro {
  max-width: 40rem;
}

.about-scope,
.about-who {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
}

.about-scope--tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-scope li,
.about-who li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.about-scope li::before,
.about-who li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gold);
}

.about-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.about-figures strong {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.about-figures span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-note {
  margin-top: 1.15rem;
  font-size: 0.875rem;
  max-width: 40rem;
}

.about-note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-gallery figure {
  margin: 0;
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.about-gallery figcaption {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Heritage helpers (About + legacy) ——— */
.heritage-line {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.about-timeline {
  margin: 1.5rem 0 0;
  max-width: 40rem;
}

.about-ba-placeholder {
  margin: 1.5rem 0 0;
  max-width: 42rem;
}

.about-ba-placeholder img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.about-ba-placeholder figcaption {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.45;
}

/* Before ↔ After range slider (when paired images exist) */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: none;
  background: var(--navy);
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__after {
  clip-path: inset(0 0 0 var(--ba-pos, 50%));
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
  pointer-events: none;
}

.ba-slider__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--gold), 0 2px 8px rgba(7, 10, 34, 0.25);
}

.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 2;
}

.ba-slider__label {
  position: absolute;
  top: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(13, 19, 59, 0.55);
  pointer-events: none;
}

.ba-slider__label--before {
  left: 0.65rem;
}

.ba-slider__label--after {
  right: 0.65rem;
}

.about-faq {
  margin-top: 1.25rem;
  max-width: 42rem;
  display: grid;
  gap: 0.55rem;
}

.about-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0 0.85rem;
}

.about-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  padding-right: 2.5rem;
  position: relative;
}

.about-faq summary::-webkit-details-marker {
  display: none;
}

.about-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.8rem;
  border-radius: 50%;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  background: var(--mist);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.about-faq details[open] summary::after {
  color: #fff;
  background: var(--navy);
  transform: rotate(45deg);
}

.about-faq details p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.about-faq a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Funding — compact strip near Gallery ——— */
.funding {
  text-align: center;
  background: var(--white);
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.funding h2 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.funding-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
  max-width: 36rem;
  margin-inline: auto;
}

.funding-figures strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.funding-figures span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.funding .note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
}

/* ——— Notice ——— */
.notice {
  background: var(--navy);
  padding: 1.35rem 0;
}

.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.notice .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 980px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}

.social-links a svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.social-links a:hover {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.16);
  box-shadow: inset 0 0 0 1px rgba(212, 184, 74, 0.45);
}

@media (max-width: 640px) {
  .social-links a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .social-links a {
    padding: 0.55rem;
  }
}

/* ——— News ——— */
.news-list {
  max-width: 36rem;
  margin: 2rem auto 0;
}

.news-list article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.news-list h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.2rem;
}

.news-list p {
  margin: 0;
  font-size: 0.8125rem;
}

/* ——— Close ——— */
.close {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}

.close blockquote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.25;
  color: var(--white);
  max-width: 24ch;
  margin: 0 auto 0.75rem;
}

.close cite {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.close-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.close-form input {
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 980px;
  min-width: 16rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}

.close-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ——— Closing Guardian CTA (all public pages) ——— */
.guardian-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.guardian-cta--light {
  background: var(--mist);
  color: var(--navy);
  border-top: 1px solid var(--line);
}

.guardian-cta-line {
  margin: 0 auto;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.3;
}

.guardian-cta--light .guardian-cta-line {
  color: var(--navy);
}

.guardian-cta-actions {
  justify-content: center;
  margin-top: 1.35rem;
}

.guardian-cta-actions--in-close {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.guardian-cta--light .btn-ghost {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.35);
}

.guardian-cta--light .btn-ghost:hover {
  color: var(--navy-deep);
  box-shadow: inset 0 0 0 1px var(--gold);
}

@media (max-width: 480px) {
  .guardian-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .guardian-cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ——— The Main Hall Story (shareable narrative) ——— */
.hall-story-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 4.5rem)) 0 clamp(2.25rem, 5vw, 3.25rem);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(180deg, #070a22 0%, var(--navy) 60%, #0a0f2e 100%);
  color: var(--white);
  text-align: center;
}

.hall-story-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hall-story-hero .eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.18em;
}

.hall-story-hero h1 {
  margin: 0.5rem auto 0.9rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--white);
}

.hall-story-hero .about-lead {
  margin: 0 auto;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.6;
}

.hall-story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hall-story-share {
  gap: 0.5rem;
  font-family: inherit;
}

.hall-story-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 0;
}

.hall-story-steps a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.hall-story-steps a:hover {
  color: var(--white);
  background: rgba(201, 162, 39, 0.18);
}

.hall-story-steps b {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-size: 0.66rem;
  color: var(--navy-deep);
  background: var(--gold);
}

.hall-story-chapter {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  scroll-margin-top: var(--nav-h);
}

.hall-story-chapter--mist {
  background: var(--mist);
}

.hall-story-grid {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.hall-story-mark {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.hall-story-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.hall-story-mark .eyebrow {
  margin: 0.5rem 0 0;
  color: var(--navy);
}

.hall-story-body {
  max-width: 42rem;
}

.hall-story-chapter h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.2;
}

.hall-story-chapter p {
  margin: 0 0 0.9rem;
  color: rgba(13, 19, 59, 0.78);
  line-height: 1.7;
}

.hall-story-chapter p a,
.hall-story-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.hall-story-note {
  margin-top: 1.25rem !important;
  font-size: 0.9rem;
}

.hall-story-media {
  margin: 1.75rem 0 0;
}

.hall-story-media img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 48px -28px rgba(13, 19, 59, 0.55);
}

.hall-story-media figcaption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.hall-story-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hall-story-cards li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  background: var(--white);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.hall-story-cards li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d133b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
      center / 0.7rem no-repeat,
    var(--gold);
}

.hall-story-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
}

.hall-story-figures div {
  padding: 1rem 1rem 0.9rem;
  border-radius: 12px;
  background: var(--mist);
}

.hall-story-figures strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
}

.hall-story-figures span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hall-story-links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hall-story-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.hall-story-links a:hover {
  box-shadow: inset 0 0 0 1px var(--gold), 0 12px 24px -18px rgba(13, 19, 59, 0.5);
  transform: translateY(-1px);
}

.hall-story-links i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-style: normal;
  color: var(--white);
  background: var(--navy);
}

@media (max-width: 760px) {
  .hall-story-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hall-story-mark {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }

  .hall-story-num {
    font-size: 2rem;
  }

  .hall-story-mark .eyebrow {
    margin: 0;
  }

  .hall-story-cards,
  .hall-story-figures {
    grid-template-columns: 1fr 1fr;
  }

  .hall-story-steps a {
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .hall-story-cards {
    grid-template-columns: 1fr;
  }
}

/* ——— Site progress page ——— */
.site-progress-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: clamp(1.6rem, 4vw, 2.25rem) 0 0;
}

.site-progress-facts div {
  min-width: 9.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-progress-facts dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.site-progress-facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.site-progress-timeline {
  background: var(--white);
  text-align: center;
}

.site-progress-timeline h2,
.site-progress-photos h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
}

.site-track {
  --dot: 2.6rem;
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 56rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  padding: 0;
}

.site-track::before {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 1px);
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0 33.3%, var(--navy) 33.3% 36%, var(--line) 36% 100%);
}

.site-track li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.site-track-dot {
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  margin-bottom: 0.4rem;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
}

.site-track strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.site-track em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-track li.is-done .site-track-dot {
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: none;
}

.site-track li.is-done em {
  color: var(--gold);
}

.site-track li.is-active .site-track-dot {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 0 0 6px rgba(13, 19, 59, 0.1);
}

.site-track li.is-active em {
  color: var(--navy);
}

.site-track li:not(.is-done):not(.is-active) strong {
  color: var(--muted);
}

.site-progress-photos {
  background: var(--mist);
}

.site-progress-photos-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.4rem;
}

.site-progress-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
}

.site-progress-count b {
  font-size: 1.1rem;
  color: var(--navy);
}

.site-progress-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
}

.site-progress-photos .progress-grid {
  gap: 1rem;
}

.site-progress-photos .progress-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(13, 19, 59, 0.04), 0 14px 30px -24px rgba(13, 19, 59, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-progress-photos .progress-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(13, 19, 59, 0.04), 0 22px 36px -24px rgba(13, 19, 59, 0.6);
}

.site-progress-photos .progress-card-open {
  position: relative;
  overflow: hidden;
}

.site-progress-photos .progress-card-open img {
  transition: transform 0.5s var(--ease);
}

.site-progress-photos .progress-card-open:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.progress-card-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
}

.progress-card-zoom {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.progress-card-open:hover .progress-card-zoom,
.progress-card-open:focus-visible .progress-card-zoom {
  opacity: 1;
}

.site-progress-photos .progress-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.95rem;
}

.site-progress-photos .progress-cap {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.progress-date {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-progress-facts div {
    min-width: 0;
    flex: 1 1 22%;
    padding: 0.65rem 0.7rem;
  }

  .site-progress-facts div:first-child {
    flex-basis: 44%;
  }

  .site-progress-facts dd {
    font-size: 0.92rem;
  }

  .site-progress-timeline {
    text-align: left;
  }

  .site-track {
    --dot: 2.2rem;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 24rem;
    margin-left: 0;
  }

  .site-track::before {
    top: calc(var(--dot) / 2);
    bottom: calc(var(--dot) / 2);
    left: calc(var(--dot) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--gold) 0 33.3%, var(--navy) 33.3% 36%, var(--line) 36% 100%);
  }

  .site-track li {
    display: grid;
    grid-template-columns: var(--dot) 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.9rem;
    row-gap: 0.1rem;
    align-items: center;
    padding: 0 0 1.1rem;
  }

  .site-track li:last-child {
    padding-bottom: 0;
  }

  .site-track-dot {
    grid-row: 1 / 3;
    margin: 0;
  }

  .site-track strong {
    align-self: end;
  }

  .site-track em {
    align-self: start;
  }

  .site-progress-count {
    text-align: left;
  }

  .site-progress-photos .progress-grid {
    grid-template-columns: 1fr;
  }

  .progress-card-zoom {
    opacity: 1;
  }
}

.site-footer {
  background: #050714;
  color: rgba(255, 255, 255, 0.45);
  padding: 1rem 0;
  font-size: 0.75rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* ——— Plaque panel ——— */
.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}

.panel-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(100% - 2rem, 22rem);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  z-index: 210;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.panel-preview {
  aspect-ratio: 2 / 1;
  background: #0f121c;
  border-radius: 3px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.25rem;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.4);
}

.panel-preview .no {
  font-size: 0.65rem;
  opacity: 0.7;
}

.panel-preview .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.admin-form .admin-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(13, 19, 59, 0.62);
}

.panel [hidden] {
  display: none !important;
}

.panel-preview .batch {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* Hover card on the Pride wall (mouse only; touch uses the panel) */
.wall-tip {
  position: fixed;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-width: 15rem;
  padding: 0.5rem 0.7rem 0.55rem;
  border-radius: 8px;
  background: var(--navy-deep, #0d133b);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(7, 10, 34, 0.28);
  font-size: 0.72rem;
  line-height: 1.3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.12s, transform 0.12s;
}

.wall-tip.is-on {
  opacity: 1;
  transform: none;
}

.wall-tip strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-light);
}

.wall-tip-no {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.wall-tip.is-reserved {
  border-top: 3px solid rgb(116, 176, 240);
}

.wall-tip.is-reserved strong {
  color: #cfe3fb;
}

.wall-tip.is-confirmed {
  border-top: 3px solid var(--gold);
}

.wall-tip-batch {
  font-size: 0.72rem;
  opacity: 0.85;
}

.panel h3 {
  font-size: 1.35rem;
}

.panel p {
  font-size: 0.9rem;
}

.panel-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.panel .btn {
  width: 100%;
  margin-top: 0.35rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
/* Fewer nav items — hamburger can wait until narrower viewports */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .lang-toggle {
    margin-left: auto;
    margin-right: 0.15rem;
  }

  .lang-toggle-btn {
    font-size: 0.72rem;
    padding: 0.25rem 0.3rem;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
    order: 5;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0;
    color: var(--navy) !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hub-grid,
  .about-split,
  .heritage-project-grid {
    grid-template-columns: 1fr;
  }

  .heritage-project-facts {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .about-scope,
  .about-who,
  .about-scope--tight,
  .about-figures,
  .about-gallery,
  .about-scope-groups,
  .about-who-cards,
  .about-gov-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .about-scope.about-scope--stack {
    grid-template-columns: 1fr;
  }

  .about-gallery figure:last-child {
    grid-column: 1 / -1;
  }

  .progress-steps {
    grid-template-columns: 1fr 1fr;
  }

  .progress-grid {
    grid-template-columns: 1fr 1fr;
  }

  .updates-duo-grid,
  .updates-trio-grid,
  .updates-home-grid,
  .reserve-grid {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: repeat(14, 1fr);
    gap: 2px;
  }

  .mosaic-wrap {
    padding: 0.65rem;
    max-width: 100%;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .close-form input {
    min-width: 0;
    width: 100%;
  }

  .network-roles,
  .network-portfolios,
  .network-roles--two,
  .my-pride-grid,
  .news-page-layout {
    grid-template-columns: 1fr;
  }

  .reserve-pay-methods,
  .reserve-installments {
    grid-template-columns: 1fr;
  }
}

/* ——— Reserve extras ——— */
.req {
  color: var(--gold);
}

.opt {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--muted);
}

.reserve-block {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.reserve-help {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.reserve-field-hint {
  margin: -0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.reserve-field-hint a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 600;
}

.reserve-field-hint a:hover {
  color: var(--gold);
}

.reserve-hold-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.reserve-installments,
.reserve-pay-methods {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.reserve-radio {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  cursor: pointer;
}

.reserve-radio input {
  margin-top: 0.2rem;
  width: auto;
}

.reserve-radio strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.reserve-radio small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.reserve-bank {
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.reserve-bank-dl {
  margin: 0.5rem 0 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.reserve-bank-dl div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.reserve-bank-dl dt {
  color: var(--muted);
  font-weight: 600;
}

.reserve-bank-dl dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

/* ——— Budget + jumps ——— */
.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 1.25rem;
  max-width: 52rem;
}

.about-jump a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Explore the Project: tabs + panels ——— */
.about-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.about-tabs-inner {
  position: relative;
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.about-tabs-inner::-webkit-scrollbar {
  display: none;
}

.about-tab {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.about-tab:hover {
  color: var(--navy);
  background: var(--mist);
}

.about-tab.is-active {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 16px -8px rgba(13, 19, 59, 0.55);
}

.about-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.about-panel [id],
.about-panel {
  scroll-margin-top: calc(var(--nav-h) + 3.6rem);
}

.about-tabbed .about-panel:not([hidden]) {
  animation: about-panel-in 0.4s var(--ease);
}

@keyframes about-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.about-block--band {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.about-block--line {
  border-top: 1px solid var(--line);
}

.about-split--top {
  align-items: start;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}

.about-more:hover {
  color: var(--gold);
}

.about-scope.about-scope--cards {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0;
}

.about-scope--cards li {
  padding: 0.85rem 1rem 0.85rem 2.1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.92rem;
}

.about-scope--cards li::before {
  left: 1rem;
  top: 1.2rem;
}

.about-checklist {
  margin-top: 0;
  padding: 1.25rem 1.35rem;
  background: var(--mist);
  border-radius: 12px;
}

.about-checklist.about-scope--stack {
  gap: 0.7rem;
}

.about-scope-groups--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-scope-groups--cards .about-scope-group {
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-feature {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgba(13, 19, 59, 0.6);
}

.about-feature .eyebrow {
  color: var(--gold);
}

.about-feature .about-subhead {
  color: #fff;
}

.about-feature .about-intro {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.8);
}

#progress .about-ba-placeholder {
  margin: 0;
}

.about-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 clamp(2.25rem, 4.5vw, 3rem);
  border-top: 1px solid var(--line);
}

.about-pager-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.about-pager-link:hover {
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.about-pager-link--next {
  margin-left: auto;
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.about-pager-link--next:hover {
  background: var(--navy-deep);
  box-shadow: none;
}

@media (max-width: 980px) {
  .about-scope-groups--cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .about-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem;
  }

  .about-scope-groups--cards {
    grid-template-columns: 1fr;
  }

  .about-pager-link {
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
  }
}

.about-acc-head {
  scroll-margin-top: calc(var(--nav-h) + 3.6rem);
}

.about-acc-icon {
  display: none;
}

.about-tabbed .about-panel {
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

.about-tabbed .about-panel .about-block:not(#faq),
.about-tabbed .about-panel .about-sub,
.about-tabbed .about-panel .about-legacy-who {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.about-tabbed .about-panel #faq {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.about-tabbed .about-feature {
  padding: 0;
  color: inherit;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.about-tabbed .about-feature .about-subhead {
  color: var(--navy);
}

.about-tabbed .about-feature .about-intro {
  color: var(--muted);
}

.about-tabbed .about-acc-head {
  position: relative;
  padding: 1.35rem 3.75rem 1.35rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.about-tabbed .about-acc-head:hover h2,
.about-tabbed .about-acc-head:hover h3 {
  color: var(--gold);
}

.about-tabbed .about-acc-head:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.about-tabbed .about-panel > :first-child .about-acc:first-child > .about-acc-head,
.about-tabbed .about-panel > .about-acc:first-child .about-acc-head {
  border-top: 0;
}

.about-tabbed .about-acc-head .eyebrow {
  margin: 0 0 0.25rem;
}

.about-tabbed .about-acc-head .about-stack-title {
  margin: 0 0 0.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.about-tabbed .about-acc-head h2,
.about-tabbed .about-acc-head h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  transition: color 0.2s var(--ease);
}

.about-tabbed .about-acc-icon {
  display: block;
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -1.125rem;
  border-radius: 50%;
  background: var(--mist);
  transition: background 0.25s var(--ease);
}

.about-tabbed .about-acc-icon::before,
.about-tabbed .about-acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.8rem;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.about-tabbed .about-acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.about-tabbed .about-acc.is-open .about-acc-icon {
  background: var(--navy);
}

.about-tabbed .about-acc.is-open .about-acc-icon::before,
.about-tabbed .about-acc.is-open .about-acc-icon::after {
  background: #fff;
}

.about-tabbed .about-acc.is-open .about-acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.about-tabbed .about-acc-body {
  display: none;
  padding: 0.25rem 0 2rem;
}

.about-tabbed .about-acc.is-open .about-acc-body {
  display: block;
  animation: about-panel-in 0.3s var(--ease);
}

.about-tabbed .about-acc.is-open .about-acc-body.about-split {
  display: grid;
}

@media (max-width: 760px) {
  .about-hero {
    padding: 1.5rem 0 1.1rem;
  }

  .about-hero h1 {
    font-size: 1.45rem;
  }

  .about-lead {
    font-size: 0.92rem;
  }

  .about-hero-tagline {
    margin-top: 0.6rem;
    font-size: 0.8rem;
  }

  .about-tabs-inner {
    padding: 0.5rem 0;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }

  .about-tabbed .about-acc-head {
    padding: 1rem 2.75rem 1rem 0;
  }

  .about-tabbed .about-acc-head .eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.6rem;
  }

  .about-tabbed .about-acc-head .about-stack-title {
    font-size: 0.78rem;
  }

  .about-tabbed .about-acc-icon {
    width: 1.9rem;
    height: 1.9rem;
    margin-top: -0.95rem;
  }

  .about-tabbed .about-acc-icon::before,
  .about-tabbed .about-acc-icon::after {
    width: 0.7rem;
  }

  .about-tabbed .about-acc-body {
    padding: 0.15rem 0 1.5rem;
  }

  .about-tabbed .about-acc.is-open .about-acc-body.about-split {
    gap: 1rem;
  }

  .about-panel p,
  .about-panel .about-intro {
    font-size: 0.93rem;
  }

  .about-visual {
    aspect-ratio: 16 / 9;
  }

  .about-checklist {
    padding: 1rem 1.1rem;
  }

  .about-scope--cards li {
    padding: 0.7rem 0.85rem 0.7rem 1.9rem;
    font-size: 0.86rem;
  }

  .about-scope--cards li::before {
    left: 0.85rem;
    top: 1.05rem;
  }

  .about-gallery {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 1.25rem;
  }

  .about-gallery::-webkit-scrollbar {
    display: none;
  }

  .about-gallery figure,
  .about-gallery figure:last-child {
    flex: 0 0 78%;
    grid-column: auto;
    scroll-snap-align: start;
  }

  .about-figures {
    gap: 0.9rem;
    margin-top: 1rem;
  }

  .about-figures strong {
    font-size: 1.1rem;
  }

  .budget-table {
    font-size: 0.78rem;
  }

  .budget-table th,
  .budget-table td {
    padding: 0.55rem 0.6rem;
  }

  .about-gov-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .about-gov-tiles li {
    padding: 0.75rem 0.3rem;
    gap: 0.4rem;
  }

  .about-gov-tiles strong {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
  }

  .about-gov-icon {
    width: 2rem;
    height: 2rem;
  }

  .about-who-cards li {
    min-height: 3rem;
    padding: 0.6rem;
    font-size: 0.82rem;
  }

  .about-pager {
    padding: 1rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-tabbed .about-panel:not([hidden]),
  .about-tabbed .about-acc.is-open .about-acc-body {
    animation: none;
  }
}

.budget-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 0.75rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--white);
}

.budget-table th,
.budget-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.budget-table thead th {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
}

.budget-table tbody td:last-child,
.budget-table tfoot th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.budget-table tbody td:nth-child(2) {
  color: var(--muted);
}

.budget-table tfoot th {
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
}

/* ——— News page ——— */
.news-page {
  padding-top: 1.5rem;
}

.news-page-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.news-feed {
  display: grid;
  gap: 0.85rem;
}

.news-card {
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  background: var(--mist);
}

.news-card time {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.news-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.news-card h2 a {
  color: var(--navy);
  text-decoration: none;
}

.news-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.news-aside {
  padding: 1.2rem 1.25rem;
  border-radius: 8px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.news-aside .eyebrow {
  color: var(--gold-light);
}

.news-aside h2 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.news-aside-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.news-aside-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-aside-note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ——— My Pride ——— */
.my-pride-empty,
.my-pride-panel {
  max-width: 56rem;
}

.my-pride-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.my-pride-meta {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.my-pride-status {
  padding: 0.4rem 0.85rem;
  border-radius: 980px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(201, 162, 39, 0.15);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.45);
}

.my-pride-status.is-confirmed {
  background: rgba(13, 19, 59, 0.08);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.2);
}

.my-pride-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.my-pride-card {
  padding: 1.15rem 1.2rem;
  border-radius: 8px;
  background: var(--mist);
}

.my-pride-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.my-pride-dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.my-pride-dl div {
  display: grid;
  gap: 0.1rem;
}

.my-pride-dl dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.my-pride-dl dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

.my-pride-timer {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

/* ——— Network ——— */
.network-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.network-roles--two {
  grid-template-columns: 1fr 1fr;
}

.network-roles article,
.network-portfolios article {
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-block--mist .network-roles article {
  background: var(--mist);
  box-shadow: none;
}

.network-roles h3,
.network-portfolios h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.network-roles p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.network-portfolios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.15rem 0;
}

.network-portfolios ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
}

.network-subhead {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
}

/* ——— Voices of the Pride (Home — film tiles) ——— */
.voices-home {
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.voices-home-head {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.voices-home-head .eyebrow {
  color: var(--gold);
}

.voices-home-head h2 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.voices-home-head p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.voices-film-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem 1.35rem;
  max-width: 44rem;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .voices-film-row {
    grid-template-columns: repeat(6, 1fr);
    max-width: 58rem;
    gap: 1rem 1.1rem;
  }
}

.voice-film {
  margin: 0;
}

.voice-film-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 10px;
  outline: none;
  transition: transform 0.35s var(--ease);
}

.voice-film-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.voice-film-btn:disabled:hover,
.voice-film-btn:disabled:active {
  transform: none;
}

.voice-film-btn:hover:not(:disabled) {
  transform: translateY(-6px);
}

.voice-film-btn:active:not(:disabled) {
  transform: translateY(-2px) scale(0.985);
  transition-duration: 0.12s;
}

.voice-film-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.voice-film-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow:
    0 0 0 1px rgba(13, 19, 59, 0.12),
    0 8px 20px rgba(7, 10, 34, 0.1);
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.voice-film-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s var(--ease);
}

.voice-film-btn:hover:not(:disabled) .voice-film-media {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.45),
    0 18px 36px rgba(7, 10, 34, 0.22);
}

.voice-film-btn:hover:not(:disabled) .voice-film-media img {
  transform: scale(1.045);
}

.voice-film-btn:active:not(:disabled) .voice-film-media {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 10px 22px rgba(7, 10, 34, 0.16);
}

.voice-film-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 34, 0.05) 0%,
    rgba(7, 10, 34, 0.12) 42%,
    rgba(7, 10, 34, 0.72) 78%,
    rgba(7, 10, 34, 0.88) 100%
  );
}

.voice-film-tagline {
  position: absolute;
  left: 0.7rem;
  right: 2.55rem;
  bottom: 0.7rem;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(0.68rem, 1.35vw, 0.78rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(7, 10, 34, 0.45);
  pointer-events: none;
}

.voice-film-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.voice-film-play {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 19, 59, 0.88);
  color: var(--gold-light);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.4),
    0 4px 12px rgba(7, 10, 34, 0.35);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
  pointer-events: none;
}

.voice-film-play svg {
  margin-left: 1px;
}

.voice-film-btn:hover:not(:disabled) .voice-film-play {
  transform: scale(1.08);
  background: var(--navy-deep);
  color: var(--gold);
}

.voice-film-caption {
  display: block;
  padding: 0.7rem 0.1rem 0;
}

.voice-film-caption strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.voice-film-caption .voice-film-meta,
.voice-film-caption small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .voice-film-btn,
  .voice-film-media,
  .voice-film-media img,
  .voice-film-play {
    transition: none;
  }

  .voice-film-btn:hover:not(:disabled),
  .voice-film-btn:active:not(:disabled),
  .voice-film-btn:hover:not(:disabled) .voice-film-media img,
  .voice-film-btn:hover:not(:disabled) .voice-film-play {
    transform: none;
  }
}

.voices-home-foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.voices-home-foot.btn-group {
  margin-top: 1.5rem;
}

@media (max-width: 800px) {
  .voices-film-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 22rem;
  }
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

/* ——— Network Voices (featured + browse) ——— */
.voices-network {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.voices-network-head {
  max-width: 36rem;
  margin: 0 0 2rem;
}

.voices-network-head .eyebrow {
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.voices-network-head .about-intro {
  margin: 0;
}

.voices-network-label {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.voices-network-featured-wrap {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.voices-network-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem 1.5rem;
  max-width: 52rem;
}

@media (min-width: 900px) {
  .voices-network-featured {
    grid-template-columns: repeat(4, 1fr);
    max-width: 72rem;
    gap: 1.5rem 1.65rem;
  }
}

.voices-network-browse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.voices-network-browse-head .voices-network-label {
  margin-bottom: 0;
}

.voices-network-count {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.voices-network-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin: 0.85rem 0 1.15rem;
}

.voices-search {
  flex: 1 1 14rem;
  min-width: 12rem;
  max-width: 22rem;
}

.voices-search input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.voices-search input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.voices-search input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.voices-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.voices-chips--sub {
  margin: -0.35rem 0 1.15rem;
}

.voices-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.voices-chip:hover {
  border-color: rgba(13, 19, 59, 0.35);
  background: var(--mist);
}

.voices-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-light);
}

.voices-chip--sub {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
}

.voices-chip--sub.is-active {
  background: transparent;
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.voices-film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.35rem;
  max-width: 64rem;
}

@media (min-width: 720px) {
  .voices-film-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .voices-film-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 68rem;
    gap: 1.5rem 1.65rem;
  }
}

/* Network cards — same film language, larger than Home */
.voice-film--md .voice-film-tagline {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  left: 0.9rem;
  right: 3rem;
  bottom: 0.9rem;
}

.voice-film--md .voice-film-play {
  width: 2.25rem;
  height: 2.25rem;
  right: 0.7rem;
  bottom: 0.7rem;
}

.voice-film--md .voice-film-caption strong {
  font-size: 1.05rem;
}

.voice-film--md .voice-film-caption .voice-film-meta,
.voice-film--md .voice-film-caption small {
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.voice-film--md .voice-film-caption {
  padding-top: 0.85rem;
}

.voice-film--lg .voice-film-media {
  border-radius: 12px;
}

.voice-film--lg .voice-film-btn {
  border-radius: 12px;
}

.voice-film--lg .voice-film-tagline {
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
  font-weight: 500;
  left: 1rem;
  right: 3.25rem;
  bottom: 1rem;
  line-height: 1.28;
}

.voice-film--lg .voice-film-play {
  width: 2.55rem;
  height: 2.55rem;
  right: 0.85rem;
  bottom: 0.85rem;
}

.voice-film--lg .voice-film-play svg {
  width: 16px;
  height: 16px;
}

.voice-film--lg .voice-film-caption {
  padding-top: 0.95rem;
}

.voice-film--lg .voice-film-caption strong {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

.voice-film--lg .voice-film-caption .voice-film-meta,
.voice-film--lg .voice-film-caption small {
  font-size: 0.72rem;
  margin-top: 0.3rem;
}

.voices-network-empty {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.voices-network-more {
  margin-top: 1.75rem;
  text-align: center;
}

.voices-network-more .btn {
  min-width: 12rem;
}

@media (max-width: 560px) {
  .voices-network-featured,
  .voices-film-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.9rem;
  }

  .voice-film--lg .voice-film-tagline,
  .voice-film--md .voice-film-tagline {
    font-size: 0.72rem;
    left: 0.55rem;
    right: 2.4rem;
    bottom: 0.55rem;
  }
}

.voice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.voice-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.voice-role {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.voice-card h3 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.voice-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.voice-quote {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.45;
}

.voice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.voice-play {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}

.voice-play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.voice-yt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Apply form + portfolio map */
.apply-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem 2rem;
  align-items: start;
}

.apply-form {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

.apply-form label,
.apply-portfolio legend {
  display: grid;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
}

.apply-portfolio {
  border: 0;
  margin: 0.35rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--mist);
}

.apply-help {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}

.apply-portfolio-group {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.apply-portfolio-group:first-of-type {
  margin-top: 0.25rem;
}

.apply-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
}

.apply-checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.apply-checks input {
  width: auto;
  padding: 0;
}

.apply-aside {
  padding: 1.25rem 1.3rem;
  border-radius: 10px;
  background: var(--mist);
  position: sticky;
  top: calc(var(--nav-h, 4rem) + 0.75rem);
}

.apply-aside h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.apply-criteria {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--ink);
}

.apply-focus {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.apply-focus div {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.apply-focus div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.apply-focus dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.apply-focus dd {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.apply-done {
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--mist);
  max-width: 28rem;
}

.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.voice-modal[hidden] {
  display: none !important;
}

.voice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 24, 0.72);
}

.voice-modal-panel {
  position: relative;
  width: min(56rem, 100%);
  max-height: min(92vh, 52rem);
  overflow: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.35rem;
  z-index: 1;
}

.voice-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.voice-modal-panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.voice-modal-meta {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.voice-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0f2c;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.voice-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .voices-grid,
  .apply-layout,
  .apply-checks {
    grid-template-columns: 1fr;
  }

  .apply-aside {
    position: static;
  }
}

.network-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.network-tiers div {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-block--mist .network-tiers div {
  background: var(--mist);
  box-shadow: none;
}

.network-tiers strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.network-tiers span {
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .network-tiers {
    grid-template-columns: 1fr;
  }
}

/* ——— Admin shell ——— */
.page-admin {
  margin: 0;
  min-height: 100vh;
  background: #f3f4f8;
  font-family: var(--font-body);
}

.admin-gate[hidden],
.admin-shell[hidden],
.admin-panel[hidden] {
  display: none !important;
}

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.18), transparent 45%),
    linear-gradient(160deg, #0d133b 0%, #151c4a 55%, #0a0f2c 100%);
}

.admin-gate-card {
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  color: var(--navy);
}

.admin-gate-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.admin-gate-card > p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-gate-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-gate-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-gate-form input {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.admin-gate-hint {
  font-size: 0.78rem !important;
  margin-bottom: 1rem !important;
}

.admin-gate-card > a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.admin-shell {
  display: grid;
  grid-template-columns: 15.5rem 1fr;
  min-height: 100vh;
}

.admin-side {
  background: var(--navy-deep, #0a0f2c);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-side-brand {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
}

.admin-side-brand strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold-light, #d4b84a);
}

.admin-side-brand span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.admin-nav {
  display: grid;
  gap: 0.2rem;
  flex: 1;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav a.is-active {
  box-shadow: inset 2px 0 0 var(--gold, #c9a227);
}

.admin-side-foot {
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-side-foot a,
.admin-side-foot button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.admin-side-foot a:hover,
.admin-side-foot button:hover {
  color: var(--gold-light, #d4b84a);
}

.admin-main {
  padding: 1.35rem 1.5rem 2.5rem;
  max-width: 58rem;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.admin-top h1 {
  margin: 0;
  font-size: 1.55rem;
  color: var(--navy);
}

.admin-demo-badge {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 980px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-demo-badge.is-live {
  color: #0f5132;
  background: #d1e7dd;
  box-shadow: inset 0 0 0 1px #a3cfbb;
}

.admin-demo-badge.is-offline {
  color: #664d03;
  background: #fff3cd;
  box-shadow: inset 0 0 0 1px #ffecb5;
}

.admin-db-status {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.admin-db-status strong {
  color: var(--navy);
  font-weight: 650;
}

.admin-panel .about-intro {
  margin-top: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-stat {
  background: #fff;
  border-radius: 8px;
  padding: 0.9rem 0.95rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.1;
}

.admin-stat span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.85rem;
}

.admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.15rem 1.2rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.admin-invite-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-invite-box label {
  flex: 1 1 16rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-invite-box input {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--navy);
}

.apply-criteria-box {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: 10px;
  background: var(--mist);
}

.apply-criteria-box h2 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
}

.apply-criteria-box ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.apply-form--solo {
  max-width: 40rem;
  margin-top: 1.25rem;
}

.apply-checks--radio {
  grid-template-columns: repeat(2, 1fr);
}

.apply-checks--radio label {
  font-weight: 500;
}

.reserve-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.reserve-facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.75rem;
  row-gap: 0.5rem;
  max-width: 34rem;
}

.reserve-facts li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
}

.reserve-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
}

.reserve-progress {
  --reserve-step-size: 1.6rem;
  position: relative;
  padding: 0.35rem 0 0.1rem;
}

.reserve-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.reserve-progress-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.reserve-progress-num {
  flex-shrink: 0;
  width: var(--reserve-step-size);
  height: var(--reserve-step-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(13, 19, 59, 0.14);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.reserve-progress-label {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  line-height: 1.25;
  padding: 0 0.2rem;
}

.reserve-progress-steps li.is-current {
  color: var(--navy);
}

.reserve-progress-steps li.is-current .reserve-progress-num {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

.reserve-progress-steps li.is-done {
  color: var(--navy);
}

.reserve-progress-steps li.is-done .reserve-progress-num {
  background: var(--gold);
  color: var(--navy);
  box-shadow: none;
}

/* Line runs between circle centers (equal thirds) */
.reserve-progress-track {
  position: absolute;
  top: calc(0.35rem + var(--reserve-step-size) / 2);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  border-radius: 999px;
  background: rgba(13, 19, 59, 0.1);
  overflow: hidden;
  transform: translateY(-50%);
  z-index: 0;
}

.reserve-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 0.35s ease;
}

.reserve-summary {
  position: sticky;
  top: calc(var(--nav-h) + 0.65rem);
  z-index: 20;
  display: grid;
  gap: 0.75rem;
  border-radius: 12px;
  padding: 1.05rem 1.2rem 1.15rem;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 28px rgba(13, 19, 59, 0.06);
}

.reserve-place-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.reserve-subsection {
  margin: 1rem 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.reserve-oba {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.15rem;
}

.reserve-oba-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  cursor: pointer;
  width: fit-content;
}

.reserve-oba-toggle:hover {
  color: var(--gold);
}

.reserve-oba-toggle.is-open {
  color: var(--gold);
}

.reserve-oba-panel {
  display: grid;
  gap: 0.55rem;
}

.reserve-pay-icon {
  display: inline-flex;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.reserve-bank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0.75rem;
}

.reserve-bank-actions .btn {
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
}

.reserve-done {
  background: var(--mist);
  border-radius: 12px;
  padding: 1.5rem 1.45rem 1.6rem;
  border-left: 3px solid var(--gold);
}

.reserve-done-lead {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}

.reserve-done-ref {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.reserve-done-ref strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.reserve-done-msg {
  margin: 0 0 0.75rem;
  color: var(--ink);
  line-height: 1.55;
}

.reserve-done-notify {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.reserve-share {
  margin: 0 0 1.25rem;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
}

.reserve-share .reserve-subsection {
  margin-top: 0;
}

.reserve-share-links {
  margin-top: 0.35rem;
}

.reserve-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.25rem;
}

.reserve-summary-title h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--navy);
}

.reserve-summary-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  padding-top: 0.1rem;
}

.reserve-summary .reserve-hold-note {
  margin: 0;
  line-height: 1.45;
}

.reserve-summary-foot .updates-more {
  margin-left: 0;
}

.reserve-form--cards {
  display: grid;
  gap: 1rem;
  background: transparent;
  padding: 0;
}

.reserve-card {
  background: var(--mist);
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.35rem;
}

.reserve-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reserve-card-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.reserve-card-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.reserve-step {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.reserve-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.85rem;
}

.reserve-fields .span-2 {
  grid-column: 1 / -1;
}

.reserve-plan-grid {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.reserve-plan-tile,
.reserve-pay-tile {
  display: block;
  cursor: pointer;
}

.reserve-plan-tile input,
.reserve-pay-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reserve-plan-tile span,
.reserve-pay-tile span {
  display: grid;
  gap: 0.2rem;
  min-height: 4.5rem;
  padding: 0.75rem 0.7rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, background 0.2s;
}

.reserve-plan-tile em,
.reserve-pay-tile em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.reserve-plan-tile small,
.reserve-pay-tile small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.reserve-plan-tile:has(input:checked) span,
.reserve-pay-tile:has(input:checked) span {
  background: rgba(201, 162, 39, 0.12);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.reserve-pay-grid {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.reserve-pay-tile span {
  min-height: 5.5rem;
}

.reserve-card--action {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.reserve-form--cards .reserve-done {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .reserve-summary {
    position: static;
  }

  .reserve-fields,
  .reserve-plan-grid,
  .reserve-pay-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .reserve-facts {
    grid-template-columns: 1fr;
    max-width: none;
    row-gap: 0.4rem;
  }

  .reserve-progress-label {
    font-size: 0.68rem;
    max-width: none;
  }

  .reserve-summary-head {
    align-items: flex-start;
  }

  .reserve-total {
    justify-content: flex-start;
  }

  .reserve-fields,
  .reserve-plan-grid,
  .reserve-pay-grid {
    grid-template-columns: 1fr;
  }

  .reserve-bank-actions {
    flex-direction: column;
  }

  .reserve-bank-actions .btn {
    width: 100%;
  }
}

.admin-form {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.admin-form--row {
  max-width: none;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.admin-form-span {
  grid-column: 1 / -1;
}

.admin-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-crm-tools input {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 1rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.admin-list li:last-child {
  border-bottom: 0;
}

.admin-del {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
}

.admin-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink);
  max-width: 44rem;
}

.admin-holds {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-crm-tools {
  margin-bottom: 0.75rem;
}

.admin-crm-tools input {
  width: min(24rem, 100%);
}

.admin-grid-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-filter-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

.admin-filter-tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.admin-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.admin-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.admin-table--actions {
  min-width: 52rem;
}

.admin-table th,
.admin-table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table thead th {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
}

.admin-table small {
  color: var(--muted);
  font-size: 0.75rem;
}

.admin-table tr.is-archived td {
  opacity: 0.72;
}

.admin-row-actions {
  white-space: nowrap;
}

.admin-row-actions .btn + .btn {
  margin-left: 0.25rem;
}

.btn-tiny {
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

.admin-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--mist);
  color: var(--navy);
}

.admin-status--pending {
  background: #fff4d6;
  color: #8a5a00;
}

.admin-status--approved {
  background: #e5f5ea;
  color: #1b6b35;
}

.admin-status--rejected,
.admin-status--archived {
  background: #fde8e8;
  color: #8b1e1e;
}

.admin-queue-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.admin-queue-summary li {
  font-size: 0.95rem;
  color: var(--ink);
}

.admin-queue-summary strong {
  color: var(--navy);
  margin-right: 0.25rem;
}

/* Admin modals / CRM drawer */
.admin-modal,
.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-modal[hidden],
.admin-drawer[hidden] {
  display: none !important;
}

.admin-modal-backdrop,
.admin-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 48px rgba(10, 22, 40, 0.22);
}

.admin-modal-card--wide {
  width: min(36rem, 100%);
}

.admin-modal-card h2 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.admin-modal-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-modal-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-modal-card textarea,
.admin-drawer-panel input,
.admin-drawer-panel textarea,
.admin-drawer-panel select {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}

.admin-modal-error {
  margin: 0.5rem 0 0;
  color: #8b1e1e;
  font-size: 0.85rem;
}

.admin-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.admin-drawer {
  place-items: stretch end;
  padding: 0;
}

.admin-drawer-panel {
  position: relative;
  z-index: 1;
  width: min(24rem, 100%);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 1.15rem 1.2rem 1.5rem;
  box-shadow: -12px 0 40px rgba(10, 22, 40, 0.18);
}

.admin-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-drawer-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.admin-drawer-x {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.admin-drawer-panel .admin-form {
  display: grid;
  gap: 0.75rem;
}

.admin-drawer-panel .admin-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-msg a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-panel h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: relative;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-dash-grid,
  .admin-form--row {
    grid-template-columns: 1fr;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ——— Memories of the Pride · Digital Heritage Archive ——— */
.page-memories,
.page-memories main {
  overflow-x: clip;
}

.mem-hero {
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, #151c4a 45%, var(--navy-deep) 100%);
  color: #fff;
}

.mem-hero--compact {
  padding-top: clamp(4.75rem, 10vw, 5.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.mem-hero--compact h1 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
}

.mem-hero--share h1 {
  max-width: 12ch;
}

.mem-back-link {
  margin: 0 0 0.85rem;
}

.mem-back-link a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.mem-back-link a:hover,
.mem-back-link a:active {
  color: var(--gold-light);
}

.mem-hero .eyebrow {
  color: var(--gold);
}

.mem-hero h1 {
  color: #fff;
  max-width: 14ch;
}

.mem-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 28rem;
  line-height: 1.45;
}

.mem-hero--compact .mem-hero-lead {
  margin-top: 0.55rem;
  max-width: 26rem;
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
}

.mem-hero-copy {
  margin: 0.75rem 0 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mem-hero-actions {
  margin-top: 1.25rem;
}

.mem-hero--compact .mem-hero-actions {
  margin-top: 1.1rem;
}

.mem-hero .btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.mem-hero .btn-ghost:active {
  transform: scale(0.98);
}

.mem-form .btn-ghost,
.mem-register-card .btn-ghost {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.28);
}

.mem-form .btn-ghost:hover,
.mem-register-card .btn-ghost:hover {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.mem-form .btn:active,
.mem-register-card .btn:active {
  transform: scale(0.98);
}

.mem-future-note {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
  max-width: 28rem;
  line-height: 1.4;
}

.mem-section {
  background: var(--mist);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.mem-intro {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.mem-intro h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0.15rem 0 0.65rem;
  color: var(--navy);
}

.mem-gallery-block {
  margin-bottom: 2rem;
}

.mem-gallery-head {
  max-width: 32rem;
  margin-bottom: 1.35rem;
}

.mem-gallery-head h2,
.mem-gallery-head h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.mem-gallery-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Film gallery — mirrors Home Voices `.voice-film*` */
.mem-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 1.15rem;
  max-width: none;
}

.memory-film {
  margin: 0;
  min-width: 0;
}

.memory-film-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 10px;
  outline: none;
  transition: transform 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.memory-film-btn:hover {
  transform: translateY(-6px);
}

.memory-film-btn:active {
  transform: translateY(-2px) scale(0.985);
  transition-duration: 0.12s;
}

.memory-film-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.memory-film-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow:
    0 0 0 1px rgba(13, 19, 59, 0.12),
    0 8px 20px rgba(7, 10, 34, 0.1);
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.memory-film-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease);
}

.memory-film-btn:hover .memory-film-media {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.45),
    0 18px 36px rgba(7, 10, 34, 0.22);
}

.memory-film-btn:hover .memory-film-media img {
  transform: scale(1.045);
}

.memory-film-btn:active .memory-film-media {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 10px 22px rgba(7, 10, 34, 0.16);
}

.memory-film-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 34, 0.05) 0%,
    rgba(7, 10, 34, 0.12) 42%,
    rgba(7, 10, 34, 0.72) 78%,
    rgba(7, 10, 34, 0.88) 100%
  );
}

.memory-film-tagline {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(7, 10, 34, 0.45);
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.memory-film-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.memory-film-caption {
  display: block;
  padding: 0.75rem 0.1rem 0;
}

.memory-film-cat {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
}

.memory-film-caption strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.memory-film-caption .memory-film-meta,
.memory-film-caption small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

.memory-film-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}

.memory-film-btn:hover .memory-film-cta,
.memory-film-btn:active .memory-film-cta {
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .memory-film-btn,
  .memory-film-media,
  .memory-film-media img {
    transition: none;
  }

  .memory-film-btn:hover,
  .memory-film-btn:active,
  .memory-film-btn:hover .memory-film-media img {
    transform: none;
  }
}

.mem-demo-tag {
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(201, 162, 39, 0.2);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.mem-author-block {
  display: grid;
  gap: 0.12rem;
  margin: 0.15rem 0 0.35rem;
}

.mem-author-block strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.mem-author-block span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.mem-read-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mem-read-link:hover,
.mem-read-link:active {
  color: var(--gold);
}

.mem-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.mem-share-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.mem-share-section {
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  border-top: 1px solid var(--line);
}

.mem-share-invite {
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

.mem-share-invite h2 {
  margin: 0.15rem 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.mem-share-block {
  margin-top: 1.75rem;
  scroll-margin-top: 5.5rem;
}

.mem-form {
  max-width: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.mem-form h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.mem-form .btn-group {
  margin-top: 0.35rem;
}

.mem-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mem-fields .span-2 {
  grid-column: 1 / -1;
}

.mem-fields label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
}

.mem-fields input,
.mem-fields select,
.mem-fields textarea {
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(13, 19, 59, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
  box-sizing: border-box;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.mem-fields input[type="file"] {
  min-height: 2.75rem;
  padding: 0.55rem 0.35rem;
  font-size: 0.9rem;
  border-style: dashed;
}

.mem-fields input:focus,
.mem-fields select:focus,
.mem-fields textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.mem-fields textarea {
  resize: vertical;
  min-height: 9.5rem;
  line-height: 1.5;
}

.mem-photo-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.mem-photo-preview img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mem-mine-wrap {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.mem-mine-wrap--wide {
  margin-bottom: 1.5rem;
}

.mem-mine-wrap h3 {
  margin: 0.1rem 0 0.85rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.mem-mine-list {
  display: grid;
  gap: 0.75rem;
}

.mem-mine-card {
  padding: 0.85rem 0.9rem;
  border-radius: 6px;
  background: var(--mist);
}

.mem-mine-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  align-items: start;
}

.mem-mine-thumb {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
  border-radius: 6px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.mem-mine-card h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1rem;
}

.mem-mine-card p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.mem-mine-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.mem-mine-top time {
  font-size: 0.75rem;
  color: var(--muted);
}

.mem-mine-meta {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

.mem-mine-link {
  margin-top: 0.5rem !important;
}

.mem-mine-link a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.84rem;
}

.mem-done {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.mem-done p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.mem-badge {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(13, 19, 59, 0.08);
  color: var(--navy);
}

.mem-badge--draft {
  background: rgba(13, 19, 59, 0.06);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.12);
}

.mem-badge--submitted,
.mem-badge--under-review {
  background: rgba(201, 162, 39, 0.18);
  color: var(--navy);
}

.mem-badge--approved,
.mem-badge--published {
  background: rgba(13, 19, 59, 0.12);
  color: var(--navy);
}

.mem-badge--changes-requested {
  background: rgba(180, 100, 40, 0.15);
  color: #6b3a12;
}

.mem-badge--rejected,
.mem-badge--archived {
  background: rgba(120, 40, 40, 0.1);
  color: #6b2a2a;
}

.mem-admin-note {
  font-size: 0.82rem !important;
  color: #6b3a12 !important;
  font-style: italic;
}

.mem-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 80;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(13, 19, 59, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mem-toast.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.mem-admin-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.mem-admin-tools label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.mem-admin-tools select {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  background: #fff;
  text-transform: none;
  letter-spacing: 0.01em;
}

.mem-admin-list {
  display: grid;
  gap: 1rem;
}

.mem-admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mem-admin-main {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem 1rem;
}

.mem-admin-thumb {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 6px;
  background: var(--mist);
}

.mem-admin-thumb--empty {
  box-shadow: inset 0 0 0 1px var(--line);
}

.mem-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.25rem;
}

.mem-admin-head time {
  font-size: 0.75rem;
  color: var(--muted);
}

.mem-admin-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.mem-admin-body p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
}

.mem-admin-contact {
  color: var(--muted);
}

.mem-admin-full {
  margin-top: 0.55rem;
  font-size: 0.84rem;
}

.mem-admin-full summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
}

.mem-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.mem-admin-actions .btn {
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
}

.mem-public-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

/* ——— Pride Stories feed (Memories of the Pride) ——— */
.page-memories-feed {
  background:
    radial-gradient(ellipse 80% 45% at 20% 8%, rgba(201, 162, 39, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 35% at 90% 30%, rgba(13, 19, 59, 0.04), transparent 50%),
    linear-gradient(180deg, #f7f7f9 0%, var(--mist) 38%, #eef0f4 100%);
}

.mem-feed-section {
  background: transparent;
  border-top: 0;
  padding-top: clamp(1.1rem, 2.8vw, 1.6rem);
  padding-bottom: clamp(5.5rem, 12vw, 6.5rem);
}

.mem-feed-rail {
  width: min(100% - 1.25rem, 68rem);
  margin: 0 auto;
}

.mem-feed-head {
  margin-bottom: 1.25rem;
  padding: 0 0.1rem;
  max-width: 36rem;
}

.mem-feed-head h2 {
  margin: 0.1rem 0 0.35rem;
  color: var(--navy);
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  letter-spacing: -0.025em;
}

.mem-feed-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mem-stories {
  display: grid;
  gap: 1.35rem;
}

@keyframes mem-stories-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero spotlight — cinematic featured story */
.mem-spotlight {
  position: relative;
  display: grid;
  margin: 0;
  min-height: min(72vw, 26rem);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 0 0 1px rgba(13, 19, 59, 0.08),
    0 18px 40px rgba(7, 10, 34, 0.14);
  animation: mem-stories-in 0.5s var(--ease) both;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.mem-spotlight:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 22px 48px rgba(7, 10, 34, 0.18);
}

.mem-spotlight:focus-visible {
  box-shadow:
    0 0 0 2px var(--gold),
    0 22px 48px rgba(7, 10, 34, 0.18);
}

.mem-spotlight-media {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: min(72vw, 26rem);
  background: var(--navy-deep);
  overflow: hidden;
}

.mem-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.mem-spotlight:hover .mem-spotlight-media img {
  transform: scale(1.035);
}

.mem-spotlight-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.mem-spotlight-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 10, 34, 0.88) 0%, rgba(7, 10, 34, 0.55) 42%, rgba(7, 10, 34, 0.2) 70%, transparent 100%),
    linear-gradient(0deg, rgba(7, 10, 34, 0.72) 0%, transparent 48%);
  pointer-events: none;
}

.mem-spotlight-copy {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  padding: clamp(1.15rem, 3.5vw, 2rem);
  color: #fff;
  max-width: 34rem;
}

.mem-spotlight-copy .eyebrow {
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.mem-spotlight-title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.45rem, 4.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.mem-spotlight-by,
.mem-spotlight-excerpt,
.mem-spotlight-stamp {
  color: rgba(255, 255, 255, 0.82);
}

.mem-spotlight-by {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mem-spotlight-excerpt {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 28rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mem-spotlight-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.mem-spotlight-cta {
  min-height: 2.55rem;
  padding-inline: 1.1rem;
  font-size: 0.88rem;
}

.mem-spotlight .mem-feed-actions {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 0.4rem;
}

.mem-spotlight .mem-like-btn,
.mem-spotlight .mem-share-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.mem-spotlight .mem-like-btn:hover,
.mem-spotlight .mem-share-btn:hover {
  background: rgba(201, 162, 39, 0.28);
  color: #fff;
}

.mem-spotlight .mem-like-btn.is-liked {
  background: rgba(201, 162, 39, 0.32);
  color: var(--gold-light);
}

.mem-spotlight-stamp {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

/* Story rings / highlights */
.mem-highlights-wrap {
  margin: 0.15rem 0 0;
  animation: mem-stories-in 0.5s 0.06s var(--ease) both;
}

.mem-highlights-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding: 0 0.1rem;
}

.mem-highlights-head .eyebrow {
  margin: 0;
}

.mem-highlights-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mem-highlights {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.55rem;
  margin: 0 -0.15rem;
  scrollbar-width: none;
}

.mem-highlights::-webkit-scrollbar {
  display: none;
}

.mem-ring {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  width: 4.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--navy);
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s var(--ease);
}

.mem-ring:hover {
  transform: translateY(-2px);
}

.mem-ring:active {
  transform: scale(0.97);
}

.mem-ring:focus-visible .mem-ring-face {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--gold);
}

.mem-ring-face {
  display: grid;
  place-items: center;
  width: 3.85rem;
  height: 3.85rem;
  border-radius: 22%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, #1a2258 100%);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow:
    0 0 0 2px var(--mist),
    0 0 0 3px rgba(13, 19, 59, 0.14);
  transition:
    box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.mem-ring-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mem-ring.is-active .mem-ring-face {
  box-shadow:
    0 0 0 2px var(--mist),
    0 0 0 3.5px var(--gold),
    0 6px 16px rgba(201, 162, 39, 0.28);
}

.mem-ring-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
  max-width: 4.6rem;
  color: var(--muted);
}

.mem-ring.is-active .mem-ring-label {
  color: var(--navy);
}

.mem-empty--filter {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(13, 19, 59, 0.06);
}

.mem-empty--filter h2 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.mem-empty--filter .btn {
  margin-top: 0.75rem;
}

/* Asymmetric mosaic */
.mem-mosaic-head {
  margin: 0.25rem 0 -0.35rem;
  padding: 0 0.1rem;
}

.mem-mosaic-head h3 {
  margin: 0.1rem 0 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  letter-spacing: -0.02em;
}

.mem-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.mem-card {
  margin: 0;
  min-width: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 0 0 1px rgba(13, 19, 59, 0.06),
    0 8px 20px rgba(7, 10, 34, 0.05);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  animation: mem-stories-in 0.48s var(--ease) both;
}

.mem-card:nth-child(1) {
  animation-delay: 0.04s;
}
.mem-card:nth-child(2) {
  animation-delay: 0.08s;
}
.mem-card:nth-child(3) {
  animation-delay: 0.12s;
}
.mem-card:nth-child(4) {
  animation-delay: 0.16s;
}
.mem-card:nth-child(5) {
  animation-delay: 0.2s;
}
.mem-card:nth-child(6) {
  animation-delay: 0.24s;
}
.mem-card:nth-child(7) {
  animation-delay: 0.28s;
}

.mem-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.28),
    0 14px 28px rgba(7, 10, 34, 0.1);
}

.mem-card:focus-visible {
  box-shadow:
    0 0 0 2px var(--gold),
    0 14px 28px rgba(7, 10, 34, 0.1);
}

.mem-card--cinema,
.mem-card--essay {
  grid-column: 1 / -1;
}

.mem-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy-deep);
  overflow: hidden;
}

.mem-card--cinema .mem-card-media {
  aspect-ratio: 16 / 11;
}

.mem-card--compact .mem-card-media {
  aspect-ratio: 1 / 1.05;
}

.mem-card-media img,
.mem-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.mem-card:hover .mem-card-media img,
.mem-card:hover .mem-card-thumb img {
  transform: scale(1.04);
}

.mem-card-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.mem-card--essay {
  display: grid;
  grid-template-columns: minmax(0, 5.5rem) 1fr;
  gap: 0;
  align-items: stretch;
}

.mem-card-thumb {
  min-height: 100%;
  aspect-ratio: 4 / 5;
  background: var(--navy-deep);
  overflow: hidden;
}

.mem-card-body {
  padding: 0.8rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.mem-card--essay .mem-card-body {
  padding: 0.9rem 0.95rem 0.95rem 0.8rem;
}

.mem-card-chip {
  align-self: flex-start;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(201, 162, 39, 0.16);
}

.mem-card-title {
  margin: 0.15rem 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mem-card--compact .mem-card-title {
  font-size: 0.92rem;
}

.mem-card--cinema .mem-card-title {
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
}

.mem-card-excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
}

.mem-card--compact .mem-card-excerpt {
  display: none;
}

.mem-card-meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.mem-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.55rem;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(13, 19, 59, 0.06);
}

.mem-card .mem-read-link {
  min-height: 2rem;
  padding: 0;
  font-size: 0.8rem;
}

.mem-card .mem-feed-actions {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 0.3rem;
}

.mem-card--compact .mem-feed-actions .mem-share-btn {
  display: none;
}

.mem-card-stamp {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mem-feed-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mem-like-btn,
.mem-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.15rem;
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: 8px;
  background: rgba(13, 19, 59, 0.04);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mem-like-btn:hover,
.mem-share-btn:hover {
  background: rgba(201, 162, 39, 0.14);
}

.mem-like-btn:active,
.mem-share-btn:active {
  transform: scale(0.96);
}

.mem-like-btn.is-liked {
  color: #a8841a;
  background: rgba(201, 162, 39, 0.18);
}

.mem-like-heart {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.mem-like-btn.is-liked .mem-like-heart {
  transform: scale(1.12);
  color: #b8921f;
}

.mem-feed-footnote {
  margin: 1.65rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.mem-feed-footnote a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.mem-feed-footnote a:hover {
  color: var(--gold);
}

.mem-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(7, 10, 34, 0.28),
    0 0 0 1px rgba(201, 162, 39, 0.5);
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    box-shadow 0.2s ease;
  animation: mem-fab-in 0.5s 0.35s var(--ease) both;
}

@keyframes mem-fab-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mem-fab:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(7, 10, 34, 0.32),
    0 0 0 1px rgba(201, 162, 39, 0.55);
}

.mem-fab:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .mem-spotlight,
  .mem-card,
  .mem-highlights-wrap,
  .mem-fab,
  .mem-spotlight-media img,
  .mem-card-media img,
  .mem-card-thumb img,
  .mem-like-heart,
  .mem-ring {
    animation: none;
    transition: none;
  }

  .mem-spotlight:hover,
  .mem-card:hover,
  .mem-fab:hover,
  .mem-ring:hover,
  .mem-spotlight:hover .mem-spotlight-media img,
  .mem-card:hover .mem-card-media img,
  .mem-card:hover .mem-card-thumb img {
    transform: none;
  }
}

@media (min-width: 720px) {
  .mem-feed-rail {
    width: min(100% - 2rem, 68rem);
  }

  .mem-spotlight {
    min-height: 22rem;
    grid-template-columns: 1.35fr 1fr;
  }

  .mem-spotlight-media {
    grid-area: auto;
    min-height: 22rem;
  }

  .mem-spotlight-shade {
    background:
      linear-gradient(90deg, transparent 0%, rgba(7, 10, 34, 0.35) 55%, rgba(7, 10, 34, 0.92) 100%),
      linear-gradient(0deg, rgba(7, 10, 34, 0.25) 0%, transparent 40%);
  }

  .mem-spotlight-copy {
    grid-area: auto;
    justify-content: center;
    padding: 2rem 2.1rem 2rem 1.25rem;
    background: linear-gradient(165deg, rgba(7, 10, 34, 0.97) 0%, rgba(13, 19, 59, 0.96) 100%);
    max-width: none;
  }

  .mem-spotlight-excerpt {
    -webkit-line-clamp: 3;
  }

  .mem-mosaic {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    grid-auto-flow: dense;
  }

  .mem-card--cinema {
    grid-column: 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .mem-card--cinema .mem-card-media {
    flex: 1 1 auto;
    min-height: 14rem;
    aspect-ratio: auto;
  }

  .mem-card--essay {
    grid-column: 2;
    grid-template-columns: minmax(0, 6.5rem) 1fr;
  }

  .mem-card--compact {
    grid-column: auto;
  }

  .mem-card--compact .mem-feed-actions .mem-share-btn {
    display: inline-flex;
  }

  .mem-fab {
    right: max(1.5rem, env(safe-area-inset-right));
    bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 980px) {
  .mem-spotlight {
    min-height: 24rem;
  }

  .mem-spotlight-media {
    min-height: 24rem;
  }

  .mem-mosaic {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 1.1rem;
  }

  .mem-card--cinema {
    grid-column: 1;
    grid-row: span 2;
  }

  .mem-card--essay {
    grid-column: 2 / span 2;
  }

  .mem-card--compact:nth-child(4n + 2) {
    grid-column: 2;
  }

  .mem-card--compact:nth-child(4n + 3) {
    grid-column: 3;
  }
}

.mem-public-list {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
}

.mem-public-card {
  display: grid;
  grid-template-columns: minmax(0, 11rem) 1fr;
  gap: 1rem 1.25rem;
  padding: 1.15rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}

.mem-public-card:last-child {
  border-bottom: 0;
}

.mem-public-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--mist);
}

.mem-public-body .eyebrow {
  margin-bottom: 0.25rem;
}

.mem-public-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.mem-public-body p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.mem-empty {
  max-width: 28rem;
  padding: 1.5rem 0 2rem;
}

.mem-empty--compact {
  padding: 0.5rem 0 1rem;
}

.mem-empty h2,
.mem-empty h3 {
  margin: 0.2rem 0 0.65rem;
  color: var(--navy);
}

.mem-empty .btn {
  margin-top: 1rem;
}

.mem-network-teaser {
  max-width: 40rem;
}

.mem-network-teaser h2 {
  margin: 0.15rem 0 0.65rem;
}

.mem-register-card {
  background: transparent;
  padding: 0 0 0.5rem;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0.25rem;
  max-width: 36rem;
}

.mem-register-card h3 {
  margin: 0.2rem 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.3rem);
}

.mem-register-card > p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted, var(--muted));
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 32rem;
}

.mem-register-form {
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.mem-register-form > .btn,
.mem-form > .btn-group .btn {
  min-height: 2.75rem;
}

.mem-profile-chip {
  margin: -0.35rem 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.mem-profile-chip strong {
  color: var(--navy);
}

.mem-profile-chip a {
  color: var(--navy);
  font-weight: 600;
}

.mem-declaration {
  padding: 1rem 0 0.25rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid var(--line);
}

.mem-declaration-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mem-declaration-text {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.mem-file-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}

.mem-attach-note {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

.mem-process-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mem-process-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.mem-process-head h2 {
  margin: 0.15rem 0 0.45rem;
  color: var(--navy);
}

.mem-process-head p {
  margin: 0;
  color: var(--muted);
}

.mem-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 36rem;
  position: relative;
}

.mem-flow::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(13, 19, 59, 0.15));
}

.mem-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 1rem;
  padding: 0.85rem 0 0.85rem 0;
}

.mem-flow li strong {
  grid-column: 2;
  color: var(--navy);
  font-size: 1.05rem;
}

.mem-flow li > span:last-child {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}

.mem-flow-step {
  grid-row: 1 / span 2;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 4px var(--white);
  z-index: 1;
}

.mem-principles-section {
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.mem-principles-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.mem-principles-grid h2 {
  margin: 0.15rem 0 0.75rem;
  color: var(--navy);
}

.mem-principles-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.mem-principles-list li {
  margin-bottom: 0.35rem;
}

.mem-recognition {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.mem-recognition h2 {
  margin: 0.15rem 0 0.55rem;
}

.mem-recognition > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mem-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.mem-check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.4;
}

.mem-check-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
}

.mem-check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.18);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.mem-stubs-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.mem-stubs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mem-stub {
  padding: 1rem 0 1.15rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid var(--line);
  opacity: 0.95;
}

.mem-stub h3 {
  margin: 0.2rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.mem-stub p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.mem-stub.is-disabled {
  opacity: 0.7;
}

/* Story modal — full-screen on phone */
body.mem-modal-open {
  overflow: hidden;
}

.mem-story-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: stretch;
  padding: 0;
}

.mem-story-modal[hidden] {
  display: none !important;
}

.mem-story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 34, 0.72);
  backdrop-filter: blur(3px);
}

.mem-story-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  min-height: 100%;
  overflow: auto;
  background: var(--white);
  border-radius: 0;
  padding: 1.15rem 1.1rem 2.25rem;
  box-shadow: none;
  animation: mem-modal-in 0.35s var(--ease);
  -webkit-overflow-scrolling: touch;
}

@keyframes mem-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mem-story-modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.25rem -0.15rem 0.35rem 0.5rem;
  border: 0;
  border-radius: 8px;
  background: var(--mist);
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mem-story-modal-close:active {
  transform: scale(0.96);
  background: rgba(13, 19, 59, 0.1);
}

.mem-story-modal-media {
  margin: 0 0 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
}

.mem-story-modal-media img {
  display: block;
  width: 100%;
  max-height: min(42vh, 18rem);
  object-fit: cover;
}

.mem-story-modal-panel h2 {
  margin: 0.2rem 0 0.65rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  padding-right: 0.25rem;
  clear: both;
}

.mem-story-modal-text {
  margin-top: 1rem;
}

.mem-story-modal-text p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

/* Mobile-first → tablet / desktop */
@media (min-width: 480px) {
  .mem-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
    gap: 1.35rem 1.25rem;
  }

  .memory-film-tagline {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  }
}

@media (min-width: 720px) {
  .mem-fields {
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem 1.1rem;
  }

  .mem-story-modal {
    place-items: center;
    padding: 1.25rem;
  }

  .mem-story-modal-panel {
    width: min(40rem, 100%);
    max-height: min(88vh, 52rem);
    min-height: 0;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 28px 60px rgba(7, 10, 34, 0.35);
  }

  .mem-story-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    float: none;
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
  }

  .mem-story-modal-panel h2 {
    padding-right: 2.5rem;
  }

  .mem-recognition {
    background: var(--white);
    padding: 1.35rem 1.4rem 1.5rem;
    border-top: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--line);
  }
}

@media (min-width: 860px) {
  .mem-layout,
  .mem-share-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.75rem 2.25rem;
  }

  .mem-mine-wrap {
    border-top: 0;
    padding-top: 0;
    background: var(--white);
    padding: 1.25rem 1.3rem 1.4rem;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--line);
  }

  .mem-form {
    background: var(--white);
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(13, 19, 59, 0.1);
  }

  .mem-register-card {
    background: var(--white);
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.4);
  }
}

@media (min-width: 900px) {
  .mem-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 64rem;
    gap: 1.5rem 1.5rem;
  }

  .memory-film-tagline {
    font-size: 0.95rem;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
  }
}

@media (max-width: 980px) {
  .mem-stubs {
    grid-template-columns: 1fr;
  }

  .mem-principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mem-admin-main {
    grid-template-columns: 4.5rem 1fr;
  }

  .mem-public-card {
    grid-template-columns: 1fr;
  }

  .mem-public-media img {
    max-width: 14rem;
  }
}

@media (max-width: 560px) {
  .mem-hero-lead {
    max-width: 22rem;
  }

  .mem-hero-copy {
    max-width: 24rem;
    font-size: 0.9rem;
  }

  .mem-hero-actions,
  .mem-form .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .mem-hero-actions .btn,
  .mem-form .btn-group .btn,
  .mem-register-form > .btn {
    width: 100%;
  }

  .mem-flow li {
    column-gap: 0.85rem;
    padding: 0.95rem 0;
  }

  .mem-flow li strong {
    font-size: 1rem;
  }

  .mem-admin-main {
    grid-template-columns: 1fr;
  }

  .mem-mine-row {
    grid-template-columns: 1fr;
  }

  .mem-stubs {
    gap: 0.25rem;
  }
}

/* ——— Digital Guardian Certificate ——— */
.cert-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(165deg, #070a22 0%, #0d133b 42%, #12184a 100%);
  min-height: 100vh;
}

.cert-page .site-header {
  background: rgba(7, 10, 34, 0.92);
  border-bottom-color: rgba(201, 162, 39, 0.22);
}

.cert-page .site-footer {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.cert-page .site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.cert-main {
  max-width: 58rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

.cert-empty {
  text-align: center;
  color: #f2f3f8;
  padding: 3.5rem 1rem 2rem;
}

.cert-empty h1 {
  color: #fff;
  margin: 0.35rem 0 0.75rem;
}

.cert-empty p {
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  color: rgba(242, 243, 248, 0.78);
  line-height: 1.55;
}

.cert-empty .eyebrow {
  color: var(--gold);
}

.cert-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.35rem;
  color: #f2f3f8;
}

.cert-toolbar .eyebrow {
  color: var(--gold);
  margin: 0 0 0.25rem;
}

.cert-toolbar-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(242, 243, 248, 0.72);
  max-width: 28rem;
}

.cert-stage {
  perspective: 1200px;
}

.cert-sheet {
  position: relative;
  background:
    linear-gradient(180deg, #fcfcfd 0%, #f4f5f9 100%);
  color: var(--navy);
  border-radius: 4px;
  padding: clamp(1.35rem, 3.5vw, 2.35rem) clamp(1.25rem, 3.2vw, 2.5rem) clamp(1.2rem, 2.8vw, 1.85rem);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(201, 162, 39, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) rotateX(4deg);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-sheet.is-in {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.cert-sheet.is-confirmed {
  background:
    linear-gradient(165deg, #fffef9 0%, #f7f4ea 48%, #f3efe3 100%);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 162, 39, 0.55),
    0 0 40px rgba(201, 162, 39, 0.12);
}

.cert-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(13, 19, 59, 0.22);
  pointer-events: none;
  z-index: 0;
}

.cert-sheet.is-confirmed .cert-frame {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: inset 0 0 0 3px rgba(13, 19, 59, 0.08);
}

.cert-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cert-corners span {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}

.cert-corners span:nth-child(1) {
  top: 16px;
  left: 16px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.cert-corners span:nth-child(2) {
  top: 16px;
  right: 16px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.cert-corners span:nth-child(3) {
  bottom: 16px;
  left: 16px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.cert-corners span:nth-child(4) {
  bottom: 16px;
  right: 16px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.cert-head,
.cert-ribbon,
.cert-title,
.cert-intro,
.cert-name,
.cert-engrave,
.cert-body,
.cert-places,
.cert-meta,
.cert-foot {
  position: relative;
  z-index: 2;
}

.cert-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(13, 19, 59, 0.12);
}

.cert-brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.14em;
  color: var(--navy);
}

.cert-brand-sub {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #5c647a;
  max-width: 22rem;
  line-height: 1.4;
}

.cert-seal {
  color: var(--gold);
  flex-shrink: 0;
  animation: cert-seal-in 1.1s ease 0.25s both;
}

.cert-sheet.is-confirmed .cert-seal {
  filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.35));
}

@keyframes cert-seal-in {
  from {
    opacity: 0;
    transform: scale(0.86) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.cert-ribbon {
  display: inline-block;
  margin: 0.35rem 0 0.55rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: rgba(201, 162, 39, 0.12);
}

.cert-sheet.is-confirmed .cert-ribbon {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.cert-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

.cert-intro {
  margin: 0;
  font-size: 0.92rem;
  color: #5c647a;
  letter-spacing: 0.02em;
}

.cert-name {
  margin: 0.35rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), transparent) bottom / 100% 2px no-repeat;
  padding-bottom: 0.35rem;
  animation: cert-name-in 0.85s ease 0.15s both;
}

@keyframes cert-name-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cert-engrave {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #5c647a;
  font-style: italic;
}

.cert-body {
  margin: 0.65rem 0 1.1rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2a3150;
}

.cert-places {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cert-places li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 5.5rem;
  padding: 0.55rem 0.7rem;
  background: rgba(13, 19, 59, 0.04);
  border: 1px solid rgba(13, 19, 59, 0.1);
  border-radius: 2px;
}

.cert-sheet.is-confirmed .cert-places li {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.35);
}

.cert-place-num {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.cert-places li span:last-child {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c647a;
}

.cert-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(13, 19, 59, 0.1);
  border-bottom: 1px solid rgba(13, 19, 59, 0.1);
}

.cert-meta span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c647a;
  margin-bottom: 0.25rem;
}

.cert-meta strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.cert-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.35rem;
}

.cert-sign {
  text-align: left;
}

.cert-sign--right {
  text-align: right;
}

.cert-sign-line {
  width: min(9rem, 100%);
  height: 1px;
  background: rgba(13, 19, 59, 0.35);
  margin-bottom: 0.4rem;
}

.cert-sign--right .cert-sign-line {
  margin-left: auto;
}

.cert-sign p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.cert-sign-sub {
  font-weight: 500 !important;
  color: #5c647a !important;
  font-size: 0.68rem !important;
  margin-top: 0.15rem !important;
}

.cert-motto {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 600;
  max-width: 11rem;
  justify-self: center;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .cert-meta {
    grid-template-columns: 1fr;
  }

  .cert-foot {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .cert-sign,
  .cert-sign--right {
    text-align: center;
  }

  .cert-sign-line,
  .cert-sign--right .cert-sign-line {
    margin-left: auto;
    margin-right: auto;
  }

  .cert-head {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .cert-brand-sub {
    max-width: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cert-toolbar,
  .cert-empty,
  .no-print {
    display: none !important;
  }

  @page {
    size: landscape;
    margin: 12mm;
  }

  body.cert-page {
    background: #fff !important;
  }

  .cert-main {
    max-width: none;
    padding: 0;
  }

  .cert-sheet {
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cert-seal {
    animation: none !important;
    filter: none !important;
  }

  .cert-name {
    animation: none !important;
  }
}

/* ——— Social badge (Facebook) ——— */
.badge-page {
  background:
    radial-gradient(ellipse 70% 45% at 70% 0%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(165deg, #070a22 0%, #0d133b 50%, #12184a 100%);
  min-height: 100vh;
}

.badge-page .site-header {
  background: rgba(7, 10, 34, 0.92);
  border-bottom-color: rgba(201, 162, 39, 0.22);
}

.badge-page .site-footer {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.badge-page .site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.badge-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
  color: #f2f3f8;
}

.badge-empty {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.badge-empty h1,
.badge-intro h1 {
  color: #fff;
  margin: 0.35rem 0 0.75rem;
}

.badge-empty p,
.badge-intro p {
  color: rgba(242, 243, 248, 0.78);
  line-height: 1.55;
  max-width: 34rem;
}

.badge-empty .eyebrow,
.badge-intro .eyebrow {
  color: var(--gold);
}

.badge-intro {
  margin-bottom: 1.35rem;
}

.badge-intro h1 {
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
}

.badge-format-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.badge-tab {
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f2f3f8;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.badge-tab span {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
  font-size: 0.72rem;
  color: rgba(242, 243, 248, 0.55);
}

.badge-tab.is-active {
  border-color: rgba(201, 162, 39, 0.65);
  background: rgba(201, 162, 39, 0.12);
}

.badge-preview-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.badge-preview {
  width: 100%;
  max-width: 28rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: #070a22;
  animation: badge-in 0.65s ease both;
}

.badge-preview[data-format="wide"] {
  max-width: 40rem;
}

.badge-preview canvas {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.badge-actions {
  margin-bottom: 1rem;
}

.badge-help {
  font-size: 0.82rem;
  color: rgba(242, 243, 248, 0.55);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 560px) {
  .badge-format-tabs {
    grid-template-columns: 1fr;
  }
}

/* ——— Mobile-friendly option (same design; ≤700px only) ——— */
.gallery-mobile-tools {
  display: none;
}

.mobile-dock {
  display: none;
}

@media (max-width: 700px) {
  /* Shorter hero — photo stays full-bleed, less empty scroll */
  .hero {
    min-height: 78vh;
    min-height: 78dvh;
  }

  .hero--opt6 .hero-opt6-stage {
    padding: 3.25rem 0 1.75rem;
  }

  .hero--opt6 .hero-status {
    position: relative;
    margin-top: 0.65rem;
  }

  /* Bigger Pride wall tiles for thumbs */
  .mosaic-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .mosaic {
    grid-template-columns: repeat(10, minmax(1.65rem, 1fr));
    gap: 3px;
    min-width: 100%;
  }

  .mosaic .tile {
    min-height: 1.65rem;
    border-radius: 2px;
  }

  .mosaic .tile:hover {
    transform: none;
  }

  .mosaic .tile:active {
    transform: scale(1.08);
  }

  .gallery-mobile-tools {
    display: flex;
    justify-content: center;
    margin-top: 0.85rem;
  }

  .gallery-mobile-tools .btn {
    min-height: 2.75rem;
    padding-inline: 1.1rem;
  }

  /* Inline tray stays in flow on desktop; on mobile dock owns the CTA */
  body.has-mobile-dock .tray--inline {
    display: none;
  }

  body.has-mobile-dock {
    padding-bottom: 5.5rem;
  }

  body.has-mobile-dock.has-mobile-selection {
    padding-bottom: 6.75rem;
  }

  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 10, 34, 0.94);
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
  }

  .mobile-dock[hidden] {
    display: none !important;
  }

  .mobile-dock-inner {
    max-width: var(--max);
    margin: 0 auto;
  }

  .mobile-dock-meta {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    color: rgba(242, 243, 248, 0.78);
    text-align: center;
  }

  .mobile-dock-meta strong {
    color: var(--gold-light);
  }

  .mobile-dock-actions {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
  }

  .mobile-dock-actions .btn {
    flex: 1;
    min-height: 2.85rem;
    justify-content: center;
    margin: 0;
  }

  .mobile-dock-actions .btn-ghost {
    flex: 0 0 auto;
    min-width: 4.5rem;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .mobile-dock-actions .btn-ghost:hover {
    color: #fff;
    border-color: rgba(201, 162, 39, 0.55);
  }

  /* Place panel — larger tap targets */
  #panel .btn,
  .panel .btn {
    min-height: 2.85rem;
  }
}

/* ——— Secure payment (genie Business) status page ——— */
.pay-main {
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--mist);
}

.pay-card {
  width: min(100%, 38rem);
  background: var(--white);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px -28px rgba(13, 19, 59, 0.35);
  border-top: 4px solid var(--gold);
}

.pay-card[data-state="paid"] {
  border-top-color: #2f8f5b;
}

.pay-card[data-state="failed"],
.pay-card[data-state="error"] {
  border-top-color: #b3261e;
}

.pay-card h1 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.pay-card[data-state="loading"] h1::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5rem;
  vertical-align: -0.1em;
  border-radius: 50%;
  border: 2px solid rgba(13, 19, 59, 0.15);
  border-top-color: var(--gold);
  animation: pay-spin 0.9s linear infinite;
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.pay-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.pay-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--mist);
  border-radius: 12px;
}

.pay-facts[hidden] {
  display: none;
}

.pay-facts dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-facts dd {
  margin: 0.25rem 0 0;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.pay-progress {
  margin-top: 1.1rem;
}

.pay-progress-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(13, 19, 59, 0.08);
  overflow: hidden;
}

.pay-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.6s var(--ease);
}

.pay-progress p {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.pay-actions [hidden] {
  display: none !important;
}

.pay-note {
  margin: 1.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.pay-test {
  margin: 0.75rem 0 0;
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: #fff4d6;
  color: #7a5b00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 560px) {
  .pay-facts {
    grid-template-columns: 1fr 1fr;
  }

  .pay-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.admin-genie {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.admin-genie h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.admin-genie .btn-group {
  margin-top: 0.75rem;
}

.admin-genie-test {
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  background: #fff4d6;
  color: #7a5b00;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ——— Home hero: cinematic, photo stays open ——— */
.hero--opt6 .hero-clouds {
  display: none;
}

.hero--opt6 .hero-veil {
  background:
    linear-gradient(180deg, rgba(7, 10, 34, 0.5) 0%, rgba(7, 10, 34, 0.14) 11%, transparent 20%),
    linear-gradient(180deg, transparent 50%, rgba(7, 10, 34, 0.22) 64%, rgba(7, 10, 34, 0.62) 84%, rgba(13, 19, 59, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 10, 34, 0.34) 0%, rgba(7, 10, 34, 0.08) 38%, transparent 58%);
}

.hero--opt6 .hero-opt6-stage {
  padding: 4rem 0 clamp(1.5rem, 2.6vw, 2.25rem);
}

.hero--opt6 .hero-opt6-row {
  grid-template-columns: minmax(0, 36rem) auto;
  gap: 1.5rem 2.5rem;
}

.hero--opt6 .hero-opt6-lead {
  max-width: 36rem;
  gap: 1.35rem;
}

.hero--opt6 .hero-copy {
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.hero--opt6 .hero-brand {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 4.7vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(7, 10, 34, 0.45);
}

.hero--opt6 .hero-brand::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 3px;
  background: var(--gold);
}

.hero--opt6 .hero-brand-accent {
  display: block;
  color: var(--gold-light);
}

.hero--opt6 h1 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(7, 10, 34, 0.5);
}

.hero--opt6 .support {
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 10px rgba(7, 10, 34, 0.5);
}

.hero--opt6 .hero-memories {
  width: auto;
  max-width: 22rem;
  justify-self: start;
  align-self: flex-start;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero--opt6 .hero-memories:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(212, 184, 74, 0.7);
  box-shadow: none;
}

.hero--opt6 .hero-memories-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--gold-light);
  box-shadow: none;
}

.hero--opt6 .hero-memories-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero--opt6 .hero-memories-title {
  font-size: 0.85rem;
  color: var(--white);
}

.hero--opt6 .hero-memories-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero--opt6 .hero-memories-arrow {
  color: var(--gold-light);
}

.hero--opt6 .hero-status {
  display: flex;
  align-items: stretch;
  width: auto;
  max-width: none;
  padding: 0.95rem 0.4rem;
  border-radius: 16px;
  background: rgba(7, 10, 34, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.hero--opt6 .hero-status-grid {
  display: flex;
  gap: 0;
}

.hero--opt6 .hero-status-grid > div,
.hero--opt6 .hero-status-secured {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 5.6rem;
  padding: 0 1.1rem;
  text-align: center;
}

.hero--opt6 .hero-status-grid > div + div,
.hero--opt6 .hero-status-secured {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero--opt6 .hero-status-grid strong {
  font-size: 1.65rem;
  color: var(--white);
}

.hero--opt6 .hero-status-grid > div:last-child strong {
  color: var(--gold-light);
}

.hero--opt6 .hero-status-grid span {
  margin-top: 0.35rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.66);
}

.hero--opt6 .hero-status-secured {
  display: block;
  align-self: center;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.hero--opt6 .hero-status-secured strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold-light);
}

@media (max-width: 1000px) {
  .hero--opt6 .hero-opt6-row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .hero--opt6 .hero-status {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 88vh;
    min-height: 88svh;
  }

  .hero--opt6 {
    --hero-band: calc(var(--nav-h) + 56.3vw);
    min-height: 0;
    background: rgb(13, 19, 59);
  }

  .hero--opt6 .hero-media {
    top: var(--nav-h);
    bottom: auto;
    height: 56.3vw;
  }

  .hero--opt6 .hero-media img {
    object-position: center;
    animation: none;
    transform: none;
  }

  .hero--opt6 .hero-veil {
    background: linear-gradient(180deg, transparent 78%, rgba(13, 19, 59, 0.7) 92%, rgb(13, 19, 59) 100%);
  }

  .hero--opt6 .hero-opt6-stage {
    padding: calc(var(--hero-band) - 1.5rem) 0 1.25rem;
  }

  .hero--opt6 .hero-opt6-row {
    width: min(100% - 2.5rem, var(--max-wide));
    justify-items: stretch;
    gap: 1.25rem;
  }

  .hero--opt6 .hero-opt6-lead {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 1.1rem;
  }

  .hero--opt6 .hero-copy {
    padding: 0;
  }

  .hero--opt6 .hero-brand {
    font-size: clamp(2.5rem, 11vw, 2.9rem);
  }

  .hero--opt6 .hero-brand::before {
    margin-bottom: 0.8rem;
  }

  .hero--opt6 h1 {
    font-size: 1.05rem;
  }

  .hero--opt6 .support {
    font-size: 0.88rem;
  }

  .hero--opt6 .hero-memories {
    width: auto;
    max-width: 100%;
    margin: 0;
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  }

  .hero--opt6 .hero-memories-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
  }

  .hero--opt6 .hero-status {
    display: grid;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0.85rem 0.25rem 0.8rem;
    justify-self: stretch;
  }

  .hero--opt6 .hero-status-grid > div {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.5rem;
  }

  .hero--opt6 .hero-status-grid strong {
    font-size: 1.35rem;
  }

  .hero--opt6 .hero-status-grid span {
    font-size: 0.56rem;
  }

  .hero--opt6 .hero-status-secured {
    margin: 0.75rem 0.75rem 0;
    padding: 0.6rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero--opt6 .hero-status-secured strong {
    display: inline;
    font-size: 1rem;
    margin: 0;
  }
}

html[lang="si"] .hero--opt6 h1 {
  font-size: 1.05rem;
  line-height: 1.5;
}

html[lang="si"] .hero--opt6 .support {
  font-size: 0.85rem;
}

@media (max-height: 520px) and (min-width: 701px) {
  .hero--opt6 {
    min-height: 0;
    background: rgb(13, 19, 59);
  }

  .hero--opt6 .hero-media {
    top: var(--nav-h);
    bottom: auto;
    height: 40vw;
  }

  .hero--opt6 .hero-media img {
    object-position: center 52%;
    animation: none;
    transform: none;
  }

  .hero--opt6 .hero-veil {
    background: linear-gradient(180deg, transparent 84%, rgba(13, 19, 59, 0.7) 95%, rgb(13, 19, 59) 100%);
  }

  .hero--opt6 .hero-opt6-stage {
    padding: calc(var(--nav-h) + 40vw - 1rem) 0 1.5rem;
  }

  .hero--opt6 .hero-brand {
    font-size: 2.25rem;
  }

  .hero--opt6 h1 {
    font-size: 1.05rem;
  }

  html[lang="si"] .hero--opt6 h1 {
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  html[lang="si"] .hero--opt6 h1 {
    font-size: 0.95rem;
  }

  html[lang="si"] .hero--opt6 .support {
    font-size: 0.8rem;
  }
}

/* ——— Mobile dock: slim, appears after the hero ——— */
@media (max-width: 700px) {
  body.has-mobile-dock {
    padding-bottom: 4.75rem;
  }

  body.has-mobile-dock.has-mobile-selection {
    padding-bottom: 6.25rem;
  }

  .mobile-dock {
    padding: 0.55rem 0.9rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }

  .mobile-dock.is-shown {
    transform: none;
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s;
  }

  .mobile-dock-meta[hidden],
  .mobile-dock-actions [hidden] {
    display: none !important;
  }

  .mobile-dock-meta {
    margin-bottom: 0.4rem;
    font-size: 0.74rem;
  }

  .mobile-dock-actions .btn {
    min-height: 2.75rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-dock-actions .btn-ghost {
    min-width: 0;
    padding-inline: 1rem;
    font-size: 0.78rem;
  }
}

/* ——— My Pride ——— */
.mp-guest[hidden],
.mp-profile[hidden],
.mp-next[hidden],
.mp-section [hidden] {
  display: none !important;
}

.mp-section {
  background: var(--mist);
}

.mp-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 19, 59, 0.04), 0 18px 40px -30px rgba(13, 19, 59, 0.5);
}

.mp-card h3 {
  margin: 0.3rem 0 0.9rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
}

.mp-guest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.mp-guest.is-editing {
  grid-template-columns: minmax(0, 30rem);
  justify-content: center;
}

.mp-guest.is-editing .mp-how,
.mp-guest.is-editing .mp-note {
  display: none;
}

.mp-how h2 {
  margin: 0.35rem 0 1.4rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
}

.mp-steps {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mp-steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.mp-steps b {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--navy-deep);
  background: var(--gold);
}

.mp-steps strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
}

.mp-steps p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.mp-text-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mp-text-btn:hover {
  color: var(--gold);
}

.mp-form {
  display: grid;
  gap: 0.85rem;
}

.mp-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.mp-form .opt {
  font-weight: 500;
  color: var(--muted);
}

.mp-form .req {
  color: var(--gold);
}

.mp-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.mp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.mp-form .btn {
  justify-content: center;
  margin-top: 0.25rem;
}

.mp-form .mp-text-btn {
  justify-self: center;
}

.mp-form-error {
  margin: 0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #8a1c1c;
  background: #fdecec;
}

.mp-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.mp-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "avatar text pill"
    "avatar actions actions";
  gap: 0.35rem 1.1rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 1.25rem;
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #070a22 100%);
  box-shadow: 0 20px 40px -28px rgba(7, 10, 34, 0.8);
}

.mp-avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  background: var(--gold-light);
}

.mp-profile-text {
  grid-area: text;
  min-width: 0;
}

.mp-profile .eyebrow {
  color: var(--gold-light);
}

.mp-profile h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
}

.mp-profile-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  overflow-wrap: anywhere;
}

.mp-pill {
  grid-area: pill;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.mp-pill--held {
  color: var(--navy-deep);
  background: var(--gold-light);
  box-shadow: none;
}

.mp-pill--confirmed {
  color: var(--white);
  background: #2e7d5b;
  box-shadow: none;
}

.mp-profile-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.35rem;
}

.mp-profile .mp-text-btn {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.mp-profile .mp-text-btn:hover {
  color: var(--gold-light);
}

.mp-next {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.mp-next-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.mp-quick {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  align-content: start;
}

.mp-quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.mp-quick a:hover {
  box-shadow: inset 0 0 0 1px var(--gold), 0 12px 24px -18px rgba(13, 19, 59, 0.5);
  transform: translateY(-1px);
}

.mp-quick i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-style: normal;
  color: var(--white);
  background: var(--navy);
}

.mp-section .my-pride-panel {
  max-width: none;
}

.mp-section .my-pride-card {
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 19, 59, 0.04), 0 18px 40px -30px rgba(13, 19, 59, 0.5);
}

@media (max-width: 860px) {
  .mp-guest,
  .mp-next,
  .mp-section .my-pride-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .mp-form-row {
    grid-template-columns: 1fr;
  }

  .mp-profile {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "avatar text"
      "pill pill"
      "actions actions";
  }

  .mp-pill {
    justify-self: start;
    margin-top: 0.4rem;
  }

  .mp-avatar {
    width: 3.1rem;
    height: 3.1rem;
    font-size: 1rem;
  }
}

/* ——— Home band text rhythm ——— */
.home-band-copy #home-bridge-title {
  text-wrap: balance;
}

.home-band-body {
  line-height: 1.7;
  text-align: left;
  text-wrap: pretty;
}

.home-band-note {
  font-size: 0.8rem;
  line-height: 1.6;
  text-wrap: pretty;
}

html[lang="si"] .home-band-copy #home-bridge-title {
  line-height: 1.4;
}

html[lang="si"] .home-band-body {
  font-size: clamp(0.94rem, 2vw, 1.04rem);
  line-height: 1.85;
}

html[lang="si"] .home-band-note {
  line-height: 1.75;
  letter-spacing: 0;
}

.reserve-pride-ready {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(196, 162, 64, 0.12);
  border: 1px solid rgba(196, 162, 64, 0.35);
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ——— Stacked, equal-width action buttons ——— */
.pay-actions,
.mp-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}

.pay-actions {
  margin-top: 1.5rem;
}

.mp-card-actions {
  margin-top: 1.1rem;
}

.pay-actions .btn,
.mp-card-actions .btn {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  justify-content: center;
  text-align: center;
}

.mp-card-actions [hidden] {
  display: none !important;
}

/* ——— Phones: no accidental zoom ——— */
html {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 860px) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  html body select,
  html body textarea {
    font-size: 16px !important;
  }
}

/* ——— Legacy Places wall: progress summary, clearer tiles ——— */
.gallery-summary {
  max-width: 48rem;
  margin: 0 auto 0.85rem;
  padding: 1rem 1.1rem 1.05rem;
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.gallery-progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-progress-label {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--navy);
}

.gallery-progress-label strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gallery-progress-pct {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9a7a14;
  font-variant-numeric: tabular-nums;
}

.gallery-bar {
  display: flex;
  height: 8px;
  margin-top: 0.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13, 19, 59, 0.08);
}

.gallery-bar i {
  display: block;
  width: 0;
  height: 100%;
  transition: width 1.2s var(--ease);
}

.gallery-bar .gallery-bar-c {
  background: var(--gold);
}

.gallery-bar .gallery-bar-r {
  background: rgba(110, 168, 230, 0.75);
}

.gallery .gallery-stats {
  display: flex;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  text-align: left;
}

.gallery .gstat {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.gallery .gstat[hidden] {
  display: none !important;
}

.gallery .gstat i {
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.gallery .gstat strong {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.gallery .gstat span {
  max-width: none;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.3;
}

html[lang="si"] .gallery .gstat span {
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
}

.gstat--c i {
  background: var(--gold);
}

.gstat--r i {
  background: rgba(116, 176, 240, 0.75);
  box-shadow: inset 0 0 0 2px rgba(90, 150, 220, 1);
}

.gstat--o i {
  background: #262a44;
}

.gstat--s i {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--gold-light), 0 0 0 3px var(--navy);
}

.gallery-hint {
  max-width: 48rem;
  margin: 0 auto 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.gallery .mosaic-wrap {
  padding: clamp(0.6rem, 1.6vw, 0.95rem);
  border-radius: 12px;
  box-shadow: 0 18px 40px -24px rgba(7, 10, 34, 0.55);
}

.mosaic .tile {
  border-radius: 2px;
}

.mosaic .tile.is-open {
  background: rgba(255, 255, 255, 0.13);
}

.mosaic .tile.is-open:hover,
.mosaic .tile.is-open:focus-visible {
  background: rgba(212, 184, 74, 0.6);
  outline: none;
}

.mosaic .tile.is-reserved {
  background: rgba(116, 176, 240, 0.75);
  box-shadow: inset 0 0 0 1.5px rgba(170, 208, 250, 1);
}

.mosaic .tile.is-confirmed {
  background: var(--gold);
  box-shadow: 0 0 7px rgba(201, 162, 39, 0.6);
}

.mosaic .tile.is-in-cart {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--gold-light);
}

.gallery .gallery-actions .btn {
  min-width: 14rem;
  justify-content: center;
}

@media (max-width: 980px) {
  .mosaic {
    grid-template-columns: repeat(20, 1fr);
    gap: 2px;
  }
}

@media (max-width: 700px) {
  .gallery .mosaic-wrap {
    overflow: visible;
  }

  .mosaic {
    grid-template-columns: repeat(16, 1fr);
    gap: 2px;
    min-width: 0;
  }

  .mosaic .tile {
    min-height: 0;
  }

  .gallery-summary {
    padding: 0.85rem 0.8rem 0.9rem;
  }

  .gallery-progress-label {
    font-size: 0.86rem;
  }

  .gallery-progress-label strong {
    font-size: 1.2rem;
  }

  .gallery .gallery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .gallery .gstat {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 0.15rem;
    padding: 0.5rem 0.3rem;
    text-align: center;
  }

  .gallery .gstat--s {
    grid-column: 1 / -1;
    grid-template-columns: auto auto auto;
    justify-content: center;
    column-gap: 0.5rem;
    padding: 0.45rem 0.6rem;
  }

  .gallery .gstat i {
    grid-row: auto;
    width: 12px;
    height: 12px;
  }

  .gallery .gstat strong {
    font-size: 1.15rem;
  }

  .gallery .gstat span {
    font-size: 0.62rem;
  }

  html[lang="si"] .gallery .gstat span {
    font-size: 0.7rem;
  }

  .gallery .gallery-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

.reserve-pay-now {
  margin: 1.25rem 0 0.5rem;
}

.reserve-summary[hidden],
#reserve-form[hidden] {
  display: none;
}

/* ——— Donor journey: checkout steps, My Pride, receipts ——— */
.jr-steps [hidden],
.jr-res [hidden],
#mp-signed-in[hidden],
#mp-guest[hidden] {
  display: none !important;
}

.jr-phone {
  display: grid;
  grid-template-columns: minmax(8.5rem, 38%) 1fr;
  gap: 0.75rem 0.85rem;
}

.mp-form select {
  width: 100%;
  padding: 0.75rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
}

.jr-error {
  margin: 0.25rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: #fdecea;
  color: #8c1d18;
  font-size: 0.86rem;
  line-height: 1.45;
}

.jr-small {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.jr-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.jr-hold {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.14);
  color: var(--navy);
  font-size: 0.86rem;
}

.jr-hold strong {
  font-variant-numeric: tabular-nums;
}

.jr-hold.is-urgent {
  background: #fdecea;
  color: #8c1d18;
}

.jr-code-box {
  display: grid;
  gap: 0.85rem;
}

.jr-code-lead {
  margin: 0;
  color: var(--navy);
}

.jr-code-box input[data-jr="code"] {
  max-width: 12rem;
  font-size: 1.5rem !important;
  letter-spacing: 0.35em !important;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.jr-test-code {
  margin: 0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px dashed var(--gold);
  background: #fffbea;
  font-size: 0.86rem;
  color: var(--navy);
}

.jr-test-code code {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.jr-plans {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.reserve-form label.jr-plan {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.reserve-form label.jr-plan:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.jr-plan input {
  margin-top: 0.25rem;
  width: auto;
  accent-color: var(--navy);
}

.jr-plan em {
  display: block;
  font-style: normal;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.jr-plan small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.jr-plan-detail {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
}

.jr-plan-detail p {
  margin: 0.2rem 0;
}

.jr-table {
  width: 100%;
  margin: 0.6rem 0;
  border-collapse: collapse;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.jr-table th,
.jr-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.jr-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.jr-table tr.is-paid td {
  color: #2e7d5b;
}

.jr-table tr.is-overdue td {
  color: #8c1d18;
  font-weight: 600;
}

.jr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.6rem 1rem;
  margin: 0.75rem 0;
}

.jr-facts dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.jr-facts dd {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-weight: 600;
}

.jr-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
  background: var(--gold-light);
  color: var(--navy-deep);
}

.jr-badge--reserved,
.jr-badge--processing,
.jr-badge--partially_paid { background: #e3eefb; color: #1c4f8c; box-shadow: inset 0 0 0 1px #9cc0ec; }
.jr-badge--overdue { background: #fdecea; color: #8c1d18; }
.jr-badge--fully_paid { background: #2e7d5b; color: #fff; }
.jr-badge--expired_cancelled { background: #ececef; color: #55565c; }

.jr-res {
  margin-top: 1.25rem;
}

.jr-res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.jr-res-head h3 {
  margin-bottom: 0;
}

.jr-next {
  margin: 0.5rem 0;
  color: var(--navy);
}

.jr-actions {
  margin: 1rem 0 0.5rem;
}

.jr-bank {
  margin: 0.75rem 0;
  padding: 1rem;
  border-radius: 10px;
  background: var(--mist);
}

.jr-history {
  margin-top: 0.75rem;
}

.jr-history summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.jr-help,
.jr-edit {
  margin-top: 1.25rem;
}

.mp-pill.is-verified {
  background: #2e7d5b;
}

.sim-pay-flag {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: #fff3cd;
  color: #664d03;
  font-weight: 700;
  font-size: 0.85rem;
}

.receipt-main {
  width: min(100% - 2rem, 46rem);
  margin: 2rem auto;
}

.receipt {
  padding: 2rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -30px rgba(13, 19, 59, 0.5);
  border-top: 4px solid var(--gold);
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.receipt-head span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.receipt-no {
  text-align: right;
}

.receipt h1 {
  font-size: 1.35rem;
}

.receipt-status {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.receipt-actions {
  margin-top: 1rem;
}

@media print {
  .no-print {
    display: none !important;
  }

  .receipt {
    box-shadow: none;
    border-top: 0;
  }
}

@media (max-width: 700px) {
  .jr-phone {
    grid-template-columns: 1fr;
  }

  .jr-table {
    font-size: 0.8rem;
  }

  .jr-table thead {
    display: none;
  }

  .jr-table tr {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .jr-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0.3rem;
    border: 0;
    text-align: right;
  }

  .jr-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted, #64748b);
    text-align: left;
  }
}

.jr-progress .reserve-progress-steps {
  grid-template-columns: repeat(4, 1fr);
}

.jr-progress .reserve-progress-track {
  left: 12.5%;
  right: 12.5%;
}

.jr-pay-form {
  display: grid;
  gap: 1rem;
}

.jr-pay-form[hidden] {
  display: none;
}

.reserve-plan-grid--journey {
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.reserve-plan-grid--journey .reserve-plan-tile span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.85rem 1rem;
}

.reserve-plan-grid--journey .reserve-plan-tile em {
  font-size: 0.95rem;
}

.reserve-plan-grid--journey .reserve-plan-tile small {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.reserve-layout .reserve-summary {
  position: static;
}

.jr-pay-form .reserve-pay-grid {
  margin-bottom: 0.85rem;
}

.jr-pay-form .reserve-pay-tile .reserve-pay-icon,
.jr-pay-form .reserve-pay-tile:has(input:checked) .reserve-pay-icon {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.jr-pay-form [hidden] {
  display: none !important;
}

.jr-slip-form {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  background: var(--white);
}

.jr-slip-form .btn {
  margin-top: 0.5rem;
}

.jr-steps {
  grid-template-columns: minmax(0, 1fr);
}

.jr-slip-form,
.jr-slip-form .reserve-fields > * {
  min-width: 0;
}

.jr-slip-file input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.6rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--mist);
  font: inherit;
  font-size: 0.9rem;
}

.jr-slip-preview img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.jr-note {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #e3eefb;
  color: #1c4f8c;
  font-size: 0.92rem;
}

.jr-bank .jr-bank-details {
  margin-top: 0.5rem;
}

.jr-ok {
  margin: 0;
  color: #1b6b35;
  font-weight: 600;
}

@media (max-width: 520px) {
  .jr-pay-form .reserve-pay-grid {
    grid-template-columns: 1fr;
  }
}

.jr-sched {
  list-style: none;
  margin: 0.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.jr-sched li {
  display: grid;
  grid-template-columns: 1.9rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-variant-numeric: tabular-nums;
}

.jr-sched-n {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
}

.jr-sched-main {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.jr-sched-main strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.jr-sched-main small {
  color: var(--muted);
  font-size: 0.8rem;
}

.jr-sched-st {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.jr-sched li.is-paid .jr-sched-n {
  background: #2e7d5b;
  color: #fff;
}

.jr-sched li.is-paid .jr-sched-st {
  color: #2e7d5b;
}

.jr-sched li.is-overdue {
  box-shadow: inset 0 0 0 1.5px #d9534f;
}

.jr-sched li.is-overdue .jr-sched-st,
.jr-sched li.is-overdue small {
  color: #8c1d18;
}

.jr-amt-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.45rem;
  margin: 0.25rem 0 0.4rem;
}

.jr-amt-picks + .jr-small {
  margin: 0 0 0.85rem;
}

.jr-amt-pick {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.jr-amt-pick em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.jr-amt-pick small {
  font-size: 0.8rem;
  color: var(--muted);
}

.jr-amt-pick.is-on {
  background: rgba(201, 162, 39, 0.12);
  box-shadow: inset 0 0 0 2px var(--gold);
}

@media (max-width: 640px) {
  .reserve-hero .reserve-facts,
  .reserve-hero .about-lead {
    display: none;
  }

  .reserve-hero h1 {
    margin-bottom: 0;
  }

  .reserve-fields input,
  .reserve-fields select,
  .reserve-fields textarea,
  .jr-code-box input:not([data-jr="code"]) {
    font-size: 16px;
  }

  .jr-pay-form .reserve-pay-tile span {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.7rem;
    min-height: 0;
    padding: 0.75rem 0.9rem;
  }

  .jr-pay-form .reserve-pay-tile .reserve-pay-icon {
    grid-row: span 2;
  }

  .jr-actions,
  .jr-done .btn-group,
  .reserve-card--action .btn-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .jr-actions .btn,
  .jr-done .btn-group .btn,
  .reserve-card--action .btn-group .btn,
  .jr-slip-form .btn {
    width: 100%;
    margin-left: 0;
  }

  .jr-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
  }

  .jr-facts dd {
    font-size: 0.95rem;
  }

  .jr-res-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .mp-card.jr-res {
    padding: 1.1rem 1rem;
  }
}

/* ——— Admin: Pride Places donor journey ——— */

.admin-gate-form input[name="username"] {
  letter-spacing: normal;
}

.admin-gate-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.page-admin .btn-ghost {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.page-admin .btn-ghost:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: #fff;
}

.aj-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.aj-flag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--navy);
}

.aj-stats {
  margin-bottom: 1rem;
}

.aj-stat {
  text-align: left;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.aj-stat[data-aj-tab=""] {
  cursor: default;
}

.aj-stat:not([data-aj-tab=""]):hover {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.aj-tabs {
  margin-bottom: 1rem;
}

.aj-tools input[type="search"] {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  min-width: 14rem;
}

.aj-test {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: #fde8e8;
  color: #8b1e1e;
  vertical-align: middle;
}

.aj-error {
  color: #8b1e1e;
  font-size: 0.88rem;
}

.aj-error[hidden] {
  display: none;
}

.aj-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}

.aj-detail-card {
  width: min(56rem, 100%);
  max-height: 92vh;
}

.aj-detail-head {
  margin-bottom: 0.75rem;
}

.aj-review {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  background: #fff4d6;
  color: #8a5a00;
  font-size: 0.85rem;
}

.aj-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.6rem 1rem;
  margin: 0 0 1rem;
}

.aj-facts dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.aj-facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

.aj-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.aj-danger {
  color: #8b1e1e !important;
  border-color: #e7b3b3 !important;
}

.aj-h {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.aj-action-modal {
  z-index: 90;
}

.aj-action-modal input {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.75rem;
}

.aj-action-modal label[hidden] {
  display: none;
}

body:not(.can-manage) :is([data-aj-act="extend"], [data-aj-act="clear"], [data-aj-act="reinstate"], [data-aj-act="cancel"],
  [data-aj-act="membership"], [data-aj-act="phone"], [data-aj="run-jobs"], [data-res-approve], [data-res-reject],
  #admin-crm-form, [data-crm-edit], [data-crm-archive], [data-app-approve], [data-app-reject]),
body:not(.can-payments) :is([data-aj-act="verify"], [data-aj-act="reject"], [data-aj-act="refund"], [data-aj-act="adjust"],
  [data-aj-check], [data-pay-approve], [data-pay-reject], [data-genie-create], #admin-campaign-form),
body:not(.can-content) :is(#admin-voice-form, [data-voice-del], #admin-news-form, #panel-news [data-del], [data-mem-act],
  #panel-progress .progress-upload, .progress-remove),
body:not(.can-export) #admin-shell a[href*="format=csv"] {
  display: none !important;
}

.admin-readonly-note {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  background: rgba(196, 162, 69, 0.14);
  color: #0d133b;
  font-size: 0.88rem;
}

.admin-readonly-note[hidden] {
  display: none;
}

.admin-side-role {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.au-roles .is-mine dt small {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9a7b22;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.au-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.au-card h3 small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(13, 19, 59, 0.62);
}

.au-roles dl {
  margin: 0 0 0.75rem;
}

.au-roles dl > div {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(13, 19, 59, 0.08);
}

.au-roles dt {
  font-weight: 600;
}

.au-roles dd {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.au-form {
  margin-top: 1.25rem;
}

.au-you {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(13, 19, 59, 0.62);
}

.au-off td {
  opacity: 0.6;
}

#panel-users select[data-au-role] {
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(13, 19, 59, 0.2);
  border-radius: 6px;
  font: inherit;
  font-size: 0.85rem;
  background: #fff;
}

.aj-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
