/* Tall City Memorial Stair Climb & Benefit Concert
   Brand: charcoal / white / rust accent · Archivo (condensed for display) */

:root {
  --bg: #1f1f1d;
  --bg-2: #2d2d2a;
  --card: #38382f;
  --ink: #ffffff;
  --muted: #b9b9b4;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ca3107;
  --accent-hover: #e03a0c;
  --blue: #4277b0;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

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

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
}
h1 { font-size: clamp(3.4rem, 10vw, 9rem); }
h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; color: #e8e8e4; max-width: 60ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(24, 24, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: 12px 20px; color: #fff; }
.nav-links .btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 0 var(--gutter);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav-links a {
    font-family: var(--display);
    font-stretch: 62%;
    font-weight: 800;
    font-size: clamp(2.4rem, 10vw, 3.6rem);
    letter-spacing: 0;
    color: #fff;
  }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-links li:last-child { margin-top: 24px; }
  .nav-links .btn { font-family: var(--body); font-stretch: 100%; font-size: 0.85rem; letter-spacing: 0.16em; padding: 16px 28px; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-sub { min-height: 78svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 20, 18, 0.55) 0%, rgba(20, 20, 18, 0.15) 35%, rgba(20, 20, 18, 0.85) 80%, var(--bg) 100%);
}
.hero-logo { width: min(620px, 88vw); margin-bottom: 36px; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--line);
  background: rgba(20, 20, 18, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.date-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(202, 49, 7, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(202, 49, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(202, 49, 7, 0); }
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 64px;
  background: linear-gradient(var(--muted), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-tight { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
  .section-head.split .lead { justify-self: end; }
}

/* Statement band */
.statement {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.6vw, 5rem);
  line-height: 1;
  max-width: 18ch;
}
.statement .dim { color: rgba(255, 255, 255, 0.28); transition: color 0.6s; }
.statement .dim.lit { color: #fff; }

/* Two events */
.events { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .events { grid-template-columns: 1fr 1fr; } }
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(520px, 62vw, 720px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
.event-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.event-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,18,0) 25%, rgba(20,20,18,0.92) 100%);
}
.event-card:hover img { transform: scale(1.05); }
.event-card .part {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.event-card h3 { font-size: clamp(2.8rem, 5vw, 4.4rem); margin-bottom: 14px; }
.event-card p { color: #e2e2de; max-width: 44ch; }
.event-card .meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.event-card .meta strong { color: #fff; font-weight: 600; }
.event-card .go {
  position: absolute; top: clamp(28px, 4vw, 48px); right: clamp(28px, 4vw, 48px);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.event-card:hover .go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.event-card .go svg { width: 20px; height: 20px; }

/* Timeline strip: 1 day, 2 events */
.day {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.day-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .day-row { grid-template-columns: 180px 1fr 1.2fr; align-items: baseline; }
}
.day-row .when { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.day-row h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.day-row p { margin: 0; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.section-alt .stat { background: var(--bg-2); }
.stat .num {
  font-family: var(--display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 6rem); line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.stat .num .accent { color: var(--accent); }
.stat .label { margin-top: 12px; font-size: 0.85rem; color: var(--muted); max-width: 22ch; line-height: 1.45; }

/* Split media/text */
.split { display: grid; gap: clamp(36px, 6vw, 88px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.split-media { position: relative; overflow: hidden; border-radius: var(--radius); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.wide img { aspect-ratio: 3 / 2; }
.split-media .cap {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(20,20,18,0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px; border-radius: 2px;
}
.split h2 { margin-bottom: 28px; }

/* Parallax container for images */
[data-parallax] { overflow: hidden; }
[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }

/* Photo marquee */
.marquee { overflow: hidden; padding: 8px 0; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: clamp(220px, 28vw, 360px); width: auto; border-radius: var(--radius); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mosaic recap */
.mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(160px, 22vw, 300px);
  grid-auto-flow: dense;
}
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic .full { grid-column: 1 / -1; }

/* Countdown / 2027 */
.teaser {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
}
.teaser .bg { position: absolute; inset: 0; z-index: -2; }
.teaser .bg img { width: 100%; height: 100%; object-fit: cover; }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 18, 0.8); }
.teaser h2 { font-size: clamp(3.2rem, 10vw, 8.5rem); }
.teaser .lead { margin: 24px auto 0; }
.teaser .btn-row { justify-content: center; margin-top: 40px; }
.countdown {
  display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 56px);
}
.countdown div { min-width: 64px; }
.countdown .n {
  display: block;
  font-family: var(--display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown .u { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Info cards (FAQ, venue) */
.info-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .info-grid.three { grid-template-columns: repeat(3, 1fr); } }
.info { background: var(--bg); padding: clamp(28px, 3.5vw, 44px); }
.section-alt .info { background: var(--bg-2); }
.info .idx { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 18px; display: block; }
.info h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 14px; }
.info p, .info li { color: var(--muted); }
.info p:last-child { margin-bottom: 0; }
.info ul { margin: 0; padding: 0; list-style: none; }
.info li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.info li:last-child { border-bottom: 0; }
.info li strong { color: #fff; font-weight: 600; min-width: 96px; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 28px; color: var(--muted); max-width: 70ch; }

/* Venue */
.venue {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .venue { grid-template-columns: 1.1fr 1fr; } }
.venue .map { background: var(--bg-2); min-height: 340px; }
.venue .map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }
.venue .detail { background: var(--bg); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.venue .detail h3 { margin-bottom: 12px; }
.venue .detail address { font-style: normal; color: var(--muted); margin-bottom: 24px; }

/* Memorial names band */
.honor {
  text-align: center;
  padding: clamp(96px, 14vw, 180px) 0;
}
.honor .big {
  font-family: var(--display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(8rem, 30vw, 24rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.9);
}
.honor .big .fill { color: var(--accent); -webkit-text-stroke: 0; }
.breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; text-align: left; }
.breakdown > div { background: var(--bg); padding: clamp(20px, 3vw, 36px); }
.breakdown .num { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; }
.breakdown .label { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 600px) { .breakdown { grid-template-columns: 1fr; } }

/* Quote */
.quote {
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 0.98; max-width: 16ch;
}
.quote-mark { color: var(--accent); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  font: inherit; font-size: 16px;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.07); }
.form-status { font-size: 0.9rem; min-height: 1.4em; margin: 0; }
.form-status.ok { color: #8fd18f; }
.form-status.err { color: #ff8a6a; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }

/* Involvement cards */
.roles { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.4s var(--ease); background: var(--bg); }
.role:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-4px); }
.role .ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(202,49,7,0.14); color: var(--accent); display: grid; place-items: center; margin-bottom: 28px; }
.role .ico svg { width: 22px; height: 22px; }
.role h3 { margin-bottom: 14px; }
.role p { color: var(--muted); flex: 1; }
.role .btn { align-self: flex-start; margin-top: 12px; }

/* ---------- Gallery ---------- */
.gallery-bar {
  position: sticky; top: var(--nav-h); z-index: 20;
  background: rgba(24, 24, 22, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.gallery-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  transition: all 0.2s;
}
.tab .count { opacity: 0.6; margin-left: 6px; font-weight: 500; }
.tab:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.tab[aria-selected="true"] { background: #fff; color: var(--bg); border-color: #fff; }
.gallery-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gallery-actions .btn { padding: 12px 18px; }
.gallery-actions .progress { font-size: 0.8rem; color: var(--muted); }

.grid {
  columns: 2;
  column-gap: 8px;
  padding-top: 20px;
}
@media (min-width: 640px) { .grid { columns: 3; column-gap: 12px; padding-top: 28px; } }
@media (min-width: 1000px) { .grid { columns: 4; } }
.tile {
  position: relative;
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
}
.tile img { width: 100%; height: auto; transition: transform 0.8s var(--ease), opacity 0.6s; opacity: 0; }
.tile img.loaded { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
.tile .dl {
  position: absolute; right: 10px; bottom: 10px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20,20,18,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s, transform 0.3s var(--ease), background 0.2s;
}
.tile .dl svg { width: 18px; height: 18px; }
.tile:hover .dl, .tile:focus-within .dl { opacity: 1; transform: none; }
.tile .dl:hover { background: var(--accent); }
@media (hover: none) { .tile .dl { opacity: 1; transform: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 12, 11, 0.96);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px var(--gutter); }
.lb-count { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 180px); object-fit: contain; border-radius: 2px; user-select: none; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  display: grid; place-items: center; cursor: pointer; color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; } }
.lb-meta { font-size: 0.85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 14ch; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.6); }
.cta-band .btn-light { background: #fff; color: var(--accent); }
.cta-band .btn-light:hover { background: #f1efe9; }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 8vw, 110px) 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { width: 240px; margin-bottom: 24px; }
.footer h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #e8e8e4; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer .tag { color: var(--muted); max-width: 34ch; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 0.2s, background 0.2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.line-draw { height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.line-draw.in { transform: scaleX(1); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  [data-parallax] img { transform: scale(1.02); }
}

/* Inline text links */
.answer a, .role p a, .info a, .muted a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.answer a:hover, .role p a:hover, .info a:hover, .muted a:hover { color: var(--accent); }

/* Mobile menu: drop the nav blur while open so the fixed overlay isn't clipped to the bar */
.nav-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-logo { position: relative; z-index: 60; }

@media (max-width: 520px) {
  .date-chip { font-size: 0.68rem; letter-spacing: 0.12em; white-space: nowrap; gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .gallery-bar { padding: 10px 0; }
  .gallery-bar .wrap { flex-wrap: nowrap; gap: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 8px 12px; font-size: 0.68rem; letter-spacing: 0.1em; white-space: nowrap; }
  .gallery-actions .btn { padding: 10px 12px; }
  .gallery-actions .btn span { display: none; }
  .gallery-actions .progress { position: absolute; left: var(--gutter); top: 100%; background: var(--bg); padding: 4px 8px; border-radius: 2px; }
  .gallery-actions .progress:empty { display: none; }
  .tile { margin-bottom: 8px; }
  .tile .dl { width: 34px; height: 34px; right: 6px; bottom: 6px; }
}

[hidden] { display: none !important; }
