/* PSLDS — Puget Sound Latin Dance Society
   "Noche de gala": warm night, wine velvet, gold leaf, one ribbon that dances through the page. */

@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #120B0D;        /* the dance floor after midnight */
  --ink-2: #1D1215;
  --velvet: #4A0E20;     /* curtain */
  --wine: #6E1630;
  --crimson: #B0213F;    /* the dress */
  --gold: #D4A548;       /* gold leaf */
  --gold-2: #F3D88F;
  --ivory: #F5EEE3;      /* the pause between songs */
  --on-ivory: #2A1A1E;
  --on-ivory-soft: #6B5357;
  --on-dark: #F5EEE3;
  --on-dark-soft: #C7B6AC;

  --f-serif: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-cond: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section: clamp(5rem, 11vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--on-dark); background: var(--ink); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-serif); font-weight: 500; line-height: 1.05; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: .3rem; font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.7rem;
  border: 1.5px solid var(--bd); border-radius: 0 1.5rem 0 1.5rem; /* a step, not a pill */
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-radius .35s cubic-bezier(.3,.7,.2,1);
}
.btn:hover { border-radius: 1.5rem 0 1.5rem 0; } /* ...and the turn */
.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-gold:hover { --bg: var(--gold-2); }
.btn-line { --bg: transparent; --fg: var(--on-dark); --bd: rgba(212,165,72,.7); }
.btn-line:hover { --bg: rgba(212,165,72,.12); }
.btn-wine { --bg: var(--wine); --fg: var(--ivory); }
.btn-wine:hover { --bg: var(--crimson); }
.btn-small { min-height: 2.5rem; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-big { min-height: 3.75rem; padding: 1rem 2.4rem; font-size: 1.1rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.menu-open { background: rgba(18,11,13,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(212,165,72,.25); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.header-tools { display: flex; align-items: center; gap: .5rem; order: 3; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 500 1.25rem/1 var(--f-cond); letter-spacing: .14em; }
.brand-full { font: italic 400 .8rem/1.2 var(--f-serif); color: var(--on-dark-soft); }

.site-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.site-nav > a:not(.btn) {
  font: 500 .92rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--on-dark); padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) center bottom / 0 1.5px no-repeat; transition: background-size .3s;
}
.site-nav > a:not(.btn):hover { background-size: 100% 1.5px; }
.lang-toggle { background: none; border: 1px solid rgba(212,165,72,.6); color: var(--gold-2); border-radius: 0 .7rem 0 .7rem; padding: .35rem .7rem; font: 500 .8rem/1 var(--f-cond); letter-spacing: .1em; cursor: pointer; }
.lang-toggle:hover { background: rgba(212,165,72,.12); }

.nav-toggle { display: none; background: none; border: 0; width: 2.75rem; height: 2.75rem; cursor: pointer; color: var(--on-dark); }
.bars, .bars::before, .bars::after { display: block; width: 1.5rem; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, opacity .2s; margin-inline: auto; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .brand-full { display: none; }
  .site-nav {
    order: 4; position: fixed; inset: 4.5rem 0 auto; flex-direction: column; align-items: flex-start; gap: .25rem;
    padding: 1rem var(--gutter) 1.75rem; background: var(--ink); border-bottom: 1px solid rgba(212,165,72,.25);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility 0s .3s;
  }
  .site-nav.open { transform: none; visibility: visible; transition: transform .3s; }
  .site-nav > a:not(.btn) { font-size: 1.15rem; padding-block: .7rem; }
  .site-nav .btn { margin-top: .75rem; }
}

/* ---------- The ribbon that runs through the page ---------- */
main { position: relative; }
.ribbon { position: absolute; top: 92vh; left: 0; width: 100%; height: calc(100% - 92vh - 10rem); z-index: 1; pointer-events: none; opacity: .45; overflow: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 58rem); display: flex; align-items: center;
  padding: 8rem 0 9rem;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(110,22,48,.55) 0%, rgba(74,14,32,.25) 45%, transparent 75%),
    var(--ink);
}
.swirl { position: absolute; right: -6vw; top: 56%; translate: 0 -50%; width: min(56vw, 52rem); height: auto; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 2rem; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-title, .hero-kicker { width: max-content; max-width: 92vw; } /* the headline may step over the photo */
.hero-title { text-shadow: 0 2px 24px rgba(18,11,13,.65); }
.hero-photo { position: relative; z-index: 2; margin: 0; justify-self: end; width: 100%; }
.hero-photo img {
  display: block; width: 100%; height: auto; max-height: 68vh; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 50% 100%;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0; /* a ballroom window */
  filter: saturate(1.05) contrast(1.03);
}
.hero-photo .arch { position: relative; }
.hero-photo .arch::after { /* gold leaf frame, offset like a shadow step */
  content: ""; position: absolute; inset: -.9rem .9rem .9rem -.9rem; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}
.hero-kicker { font: 500 .95rem/1.4 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero-title {
  font-style: italic; font-weight: 500;
  font-size: clamp(3.1rem, 8.6vw, 7.6rem); line-height: .95; letter-spacing: -.01em;
  color: var(--ivory); margin-bottom: 2rem;
}
.hero-title span { display: block; }
.hero-title span:last-child { padding-left: 1.1em; color: var(--gold-2); } /* the second step lands a beat later */
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34ch; color: var(--on-dark-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(6rem, 11vw, 10rem); z-index: 1; }

/* One orchestrated entrance: the skirt turns in, then the city draws itself */
@media (prefers-reduced-motion: no-preference) {
  .skirt .r { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s cubic-bezier(.45,.05,.2,1) forwards; }
  .skirt .r1 { animation-duration: 1.8s; }
  .skirt .r2 { animation-delay: .15s; }
  .skirt .r3 { animation-delay: .3s; }
  .skirt .r4 { animation-delay: .45s; }
  .skirt .r5 { animation-delay: 1.1s; animation-duration: 1.2s; }
  .spark { opacity: 0; animation: fade .6s 2.2s forwards; }
  .skyline path { stroke-dasharray: 5200; stroke-dashoffset: 5200; animation: draw 3.2s .6s ease-out forwards; }
  .hero-title span { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero-title span:last-child { animation-delay: .25s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Shared section type ---------- */
.h2 { font-style: italic; font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 16ch; margin-bottom: 1.4rem; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 42ch; }

/* ---------- Who we are (ivory pause) ---------- */
.intro { background: var(--ivory); color: var(--on-ivory); padding-block: var(--section); }
.intro .lede { color: var(--on-ivory-soft); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.nots { list-style: none; margin: 0; padding: 0; }
.nots li { padding: 1.4rem 0; }
.nots li:nth-child(2) { padding-left: clamp(1rem, 5vw, 4rem); }  /* step... */
.nots li:nth-child(3) { padding-left: clamp(2rem, 10vw, 8rem); } /* ...step, turn */
.nots strong { display: block; font: italic 500 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--f-serif); color: var(--wine); margin-bottom: .4rem; }
.nots li:nth-child(3) strong { color: var(--crimson); }
.nots span { color: var(--on-ivory-soft); max-width: 40ch; display: block; }

/* full-width photo band in the ivory pause */
.intro-photo { margin-top: clamp(3rem, 7vw, 5rem); margin-bottom: 0; }
.intro-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 100%; border-radius: 0 4rem 0 4rem; }

/* ---------- Culture (velvet) ---------- */
.culture { background: linear-gradient(170deg, var(--velvet) 0%, var(--wine) 100%); padding-block: var(--section); }
.culture .lede { color: #E8D3CB; margin-bottom: 0; }
.culture-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.dances { width: 100%; height: auto; margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); overflow: visible; }
.dances text { font-family: var(--f-serif); font-size: 50px; }
.dance-thread { stroke: rgba(243,216,143,.35); stroke-width: 1; fill: none; }
.t-a { font-style: italic; font-weight: 500; fill: var(--ivory); }
.t-b { font-style: normal; font-weight: 400; fill: var(--gold-2); }
.t-c { font-style: italic; font-weight: 800; fill: #F2A9B5; }
.t-sep { fill: var(--gold); font-weight: 400; }
.mission { margin: 0 0 clamp(3rem, 7vw, 5rem) auto; padding: 0; max-width: 46rem; position: relative; }
.mission::before { content: "\201C"; position: absolute; left: -.55em; top: -.35em; font: italic 500 6rem/1 var(--f-serif); color: var(--gold); opacity: .8; }
.mission p { font: italic 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.45 var(--f-serif); margin: 0; color: var(--ivory); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(243,216,143,.3); }
.pillar svg { width: 2.25rem; height: 2.25rem; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.pillar h3 { font: italic 500 1.35rem/1.15 var(--f-serif); margin-bottom: .5rem; }
.pillar p { color: #E2CCC4; font-size: 1rem; margin: 0; }

/* ---------- Gallery: this is how we dance ---------- */
.gallery { background: var(--ink); padding-block: var(--section); }
.gallery .lede { color: var(--on-dark-soft); margin-bottom: 0; }
.gallery-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.gallery-grid { columns: 3; column-gap: 1.25rem; }
.gallery-grid figure { margin: 0 0 1.25rem; break-inside: avoid; }
.gallery-grid figure:first-child { margin-top: 3rem; } /* columns start on different beats */
.gallery-grid img { width: 100%; height: auto; border-radius: 0 1.75rem 0 1.75rem; }
.gallery-grid figure:nth-child(3n+2) img { border-radius: 1.75rem 0 1.75rem 0; }
.photo-note { margin-top: .9rem; font-size: .82rem; line-height: 1.45; color: var(--on-dark-soft); }
.photo-note em, .credit em, .small em, .gallery .lede em { font-family: var(--f-serif); font-style: italic; }
.photo-note a { color: var(--gold-2); text-underline-offset: .2em; }
.intro .photo-note { color: var(--on-ivory-soft); }
.intro .photo-note a { color: var(--wine); }
.hero-photo .photo-note { text-align: right; margin-top: 1.4rem; }
.photo-note [data-i18n="cap.by"]::before { content: "\A"; white-space: pre; }
.credit a { color: var(--gold-2); text-underline-offset: .2em; }
.credit a:hover { color: var(--gold); }
.credit { margin: 2rem auto 0; max-width: 46rem; font-size: .92rem; line-height: 1.6; color: var(--on-dark-soft); text-align: center; }

/* ---------- Roadmap (back to night) ---------- */
.road { background: var(--ink-2); padding-block: var(--section); }
.road .lede { color: var(--on-dark-soft); }
.road .dot { background: var(--ink-2); }
.road .stop-mini .dot { background: var(--gold); }
.road .stop-congress .dot { background: var(--crimson); }
.road-track { position: relative; margin-top: clamp(3rem, 7vw, 5rem); }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; z-index: 1; }
.stop { position: relative; padding-top: 1.75rem; }
.stop-now { margin-top: 1.4rem; }
.stop-mini { margin-top: 7.4rem; }
.stop-congress { margin-top: 4.6rem; }
.dot { position: absolute; top: -.55rem; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); z-index: 1; }
.stop-mini .dot { background: var(--gold); }
.stop-congress .dot { width: 1.5rem; height: 1.5rem; top: -.75rem; background: var(--crimson); border-color: var(--gold-2); box-shadow: 0 0 0 6px rgba(176,33,63,.25); }
.when { font: 500 .95rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.stop h3 { font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .75rem; max-width: 14ch; }
.stop-congress h3 { color: var(--gold-2); }
.stop p { color: var(--on-dark-soft); max-width: 36ch; }
.status { display: inline-block; margin-top: .4rem; padding: .55rem .9rem; border-left: 2px solid var(--gold); background: rgba(212,165,72,.08); color: var(--gold-2) !important; font-size: .95rem; }
.road-note { font: italic 500 clamp(2rem, 4.5vw, 3.2rem)/1 var(--f-serif); color: var(--gold-2); text-align: right; margin: 3rem 0 0; }

/* ---------- Get involved ---------- */
.involved { background: var(--ink); padding-block: var(--section); }
.involved .lede { color: var(--on-dark-soft); }
.involved-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.ways { margin: 2rem 0 0; }
.ways div { padding: 1rem 0; border-top: 1px solid rgba(212,165,72,.18); }
.ways dt { font: italic 500 1.3rem/1.2 var(--f-serif); color: var(--ivory); }
.ways dd { margin: .25rem 0 0; color: var(--on-dark-soft); }

.form { background: var(--ink-2); border: 1px solid rgba(212,165,72,.35); border-radius: 0 2rem 0 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); position: sticky; top: 6rem; }
.form-title { font-style: italic; font-size: 1.9rem; margin-bottom: 1.5rem; color: var(--gold-2); }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .98rem; }
input, textarea { width: 100%; font: inherit; color: var(--on-dark); background: transparent; border: 0; border-bottom: 1.5px solid rgba(245,238,227,.3); border-radius: 0; padding: .7rem .1rem; transition: border-color .2s; }
input:hover, textarea:hover { border-bottom-color: rgba(245,238,227,.55); }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1.5px 0 var(--gold); }
input[aria-invalid="true"] { border-bottom-color: #F2A9B5; }
textarea { resize: vertical; min-height: 6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: .5rem 1rem; border-radius: 0 1rem 0 1rem; border: 1px solid rgba(212,165,72,.45); font-size: .95rem; font-weight: 600; transition: background-color .15s, color .15s, border-radius .3s; }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); border-radius: 1rem 0 1rem 0; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: var(--gold-2); }
.form-status.err { color: #F2A9B5; }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--ink-2); padding-block: var(--section); }
.sponsors .lede { color: var(--on-dark-soft); margin-bottom: 0; }
.sponsors-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.tier { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem 2.5rem; align-items: center; padding: 1.75rem 0; border-top: 1px solid rgba(212,165,72,.18); }
.tier:last-of-type { border-bottom: 1px solid rgba(212,165,72,.18); }
.tier-name { font: italic 500 1.5rem/1.15 var(--f-serif); color: var(--gold-2); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tier-presenting .logos { grid-template-columns: minmax(0, 32rem); }
.tier-gold .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier-community .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.slot, .logo { position: relative; display: grid; place-items: center; text-align: center; border-radius: 0 1.25rem 0 1.25rem; }
.slot { border: 1px dashed rgba(212,165,72,.45); color: rgba(243,216,143,.65); font: italic 400 1rem/1.3 var(--f-serif); padding: 1rem; transition: border-color .2s, color .2s; }
.slot:hover { border-color: var(--gold); color: var(--gold-2); }
.tier-presenting .slot, .tier-presenting .logo { min-height: 9rem; font-size: 1.25rem; }
.tier-gold .slot, .tier-gold .logo { min-height: 7rem; }
.tier-community .slot, .tier-community .logo { min-height: 5.5rem; font-size: .92rem; }
.logo { border: 1px solid rgba(212,165,72,.25); background: rgba(212,165,72,.04); color: var(--gold-2); padding: .9rem 1.1rem; }
.logo svg, .logo img { width: 100%; height: auto; max-height: 100%; }
.logo img { max-height: 5rem; object-fit: contain; }
.logo > a { display: grid; place-items: center; width: 100%; height: 100%; }
.tier-presenting .logo svg { max-width: 24rem; }
.sample-tag { position: absolute; top: .45rem; right: .55rem; font: 500 .62rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: .2rem .4rem; border-radius: .2rem; }
.sample-note { margin: 0 0 1.5rem; padding: .75rem 1rem; border-left: 3px solid var(--gold); background: rgba(212,165,72,.1); color: var(--gold-2); font-weight: 600; }
.sponsors-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.sponsors-cta p { margin: 0; color: var(--on-dark-soft); max-width: 40ch; }

/* ---------- Donate (gold leaf) ---------- */
.donate { padding-block: clamp(4.5rem, 9vw, 7rem); background: linear-gradient(115deg, #E9C878 0%, var(--gold) 50%, #B98634 100%); color: var(--ink); }
.donate-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem 4rem; align-items: center; }
.donate .lede { color: var(--ink); }
.donate .fine { font-size: .95rem; max-width: 52ch; margin: 0; opacity: .8; }
.donate-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.text-link { font-weight: 700; text-underline-offset: .2em; }

/* ---------- Donate dialog ---------- */
.donate-dialog { width: min(92vw, 24rem); max-height: 92vh; overflow: auto; padding: 2.25rem 1.75rem 1.75rem; border: 1px solid rgba(212,165,72,.45); border-radius: 0 2rem 0 2rem; background: var(--ink); color: var(--on-dark); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.donate-dialog::backdrop { background: rgba(18,11,13,.75); backdrop-filter: blur(4px); }
.donate-dialog[open] { display: flex; flex-direction: column; align-items: center; }
.dd-close-form { position: absolute; top: .5rem; right: .5rem; margin: 0; }
.dd-close { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.dd-close:hover { background: rgba(212,165,72,.15); }
.dd-title { font-style: italic; font-size: 2.1rem; color: var(--gold-2); margin-bottom: .5rem; }
.dd-lede { color: var(--on-dark-soft); margin-bottom: 1.25rem; max-width: 28ch; }
.dd-qr { width: min(100%, 15rem); height: auto; background: #fff; border-radius: .75rem; padding: .75rem; margin-bottom: 1.25rem; }
.dd-open { width: 100%; margin-bottom: 1rem; }
.dd-note { font-size: .92rem; color: var(--on-dark-soft); margin: 0; max-width: 30ch; }
@media (hover: hover) and (pointer: fine) { .dd-open { display: none; } }
@media (prefers-reduced-motion: no-preference) { .donate-dialog[open] { animation: dd-in .3s cubic-bezier(.2,.7,.2,1); } }
@keyframes dd-in { from { opacity: 0; transform: translateY(12px) rotate(-1deg); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact { background: var(--ink); padding-block: var(--section); }
.contact .lede { color: var(--on-dark-soft); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem 1rem; max-width: 30rem; margin-top: 1.5rem; align-items: end; }
.news-form .form-status { grid-column: 1 / -1; margin: 0; }
.contact-list { font-style: normal; }
.contact-list p { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .95rem 0; margin: 0; border-top: 1px solid rgba(212,165,72,.18); }
.contact-list p:last-child { border-bottom: 1px solid rgba(212,165,72,.18); }
.contact-list .k { font: 500 .85rem/1.9 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-list a { text-underline-offset: .22em; text-decoration-color: rgba(212,165,72,.5); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration-color: var(--gold-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 3.5rem 0 2.5rem; border-top: 1px solid rgba(212,165,72,.18); position: relative; z-index: 2; }
.footer-row { display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.sign { font: italic 400 clamp(1.4rem, 3vw, 2rem)/1.35 var(--f-serif); color: var(--gold-2); max-width: 32ch; margin: 0 0 .75rem; }
.made-by { margin: .5rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(212,165,72,.15); width: min(100%, 30rem); font-size: .85rem; color: var(--on-dark-soft); }
.made-by a { color: var(--gold-2); text-underline-offset: .2em; text-decoration-color: rgba(212,165,72,.5); }
.made-by a:hover { color: var(--gold); }
.small { font-size: .88rem; color: var(--on-dark-soft); margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.5rem; }
.small a { color: var(--on-dark); text-underline-offset: .2em; }
.small.photo-credit { display: block; max-width: 44rem; }
.small.photo-credit a { color: var(--gold-2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } .gallery-grid { columns: 2; } }
@media (max-width: 860px) {
  .intro-grid, .involved-grid, .contact-grid, .donate-grid, .culture-head, .gallery-head, .hero-grid, .sponsors-head, .tier { grid-template-columns: 1fr; }
  .tier-gold .logos { grid-template-columns: 1fr 1fr; }
  .tier-community .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-title, .hero-kicker { width: auto; }
  .hero-photo { justify-self: center; width: min(78vw, 22rem); margin-top: 1.5rem; }
  .intro-photo img { aspect-ratio: 3 / 2; border-radius: 0 2.5rem 0 2.5rem; }
  .swirl { right: -30vw; width: 110vw; opacity: .3; top: 46%; }
  .ribbon { display: none; }
  .hero-title span:last-child { padding-left: .6em; }
  .wave { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 2.25rem; border-left: 1.5px solid rgba(212,165,72,.55); margin-left: .55rem; }
  .stop-now, .stop-mini, .stop-congress { margin-top: 0; }
  .stop { padding-top: 0; }
  .dot { left: -2.25rem; translate: -50% 0; top: .1rem; }
  .stop-congress .dot { top: 0; }
  .form { position: static; }
  .road-note { text-align: left; }
  .nots li:nth-child(n) { padding-left: 0; }
  .dances text { font-size: 50px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .tier-gold .logos, .tier-community .logos { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { margin-top: 0; }
  .news-form { grid-template-columns: 1fr; }
  .contact-list p { grid-template-columns: 1fr; gap: .15rem; }
  .hero { padding-top: 7rem; }
}

/* ---------- La Pista invitation + legal links ---------- */
.pista-cta { margin-top: 2rem; padding: 1.4rem 1.5rem; border: 1px solid rgba(212,165,72,.35); border-radius: 2px 22px 2px 22px; }
.pista-cta h3 { margin: 0 0 .4rem; font: italic 500 1.35rem/1.2 var(--f-serif); color: var(--ivory); }
.pista-cta p { margin: 0 0 1rem; color: var(--on-dark-soft); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }
.legal-links a { color: var(--on-dark-soft); text-underline-offset: .2em; }
.legal-links a:hover { color: var(--gold); }
