/* VDSP — structure type landing immersive, palette Vaud */
:root {
  --vd-green: #009F4D;
  --vd-green-deep: #006B34;
  --vd-green-dark: #053820;
  --vd-green-soft: #E8F7EE;
  --vd-gold: #EADA51;
  --vd-ink: #0F1F16;
  --vd-muted: #5A6B62;
  --vd-line: #D5E3DA;
  --vd-paper: #F4FAF6;
  --vd-white: #FFFFFF;
  --vd-max: 1180px;
  --vd-gutter: clamp(1rem, 4vw, 2.5rem);
  --vd-header: 4.25rem;
  --vd-cta-bar: 3.25rem;
  --font: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--vd-ink);
  background: var(--vd-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2 * var(--vd-gutter), var(--vd-max)); margin-inline: auto; }

/* ——— Header + CTA bar ——— */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}
.topbar-main {
  height: var(--vd-header);
  background: var(--vd-green-dark);
  display: flex;
  align-items: center;
}
.topbar-row {
  width: min(100% - 2 * var(--vd-gutter), var(--vd-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--vd-header);
}
.topbar-brand img { height: 36px; width: auto; }
.topbar-nav { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.topbar-actions .pill--header { display: none; }
.topbar-toggle {
  width: 2.5rem; height: 2.5rem;
  border: 0; background: transparent; cursor: pointer; padding: 0;
}
.topbar-toggle span {
  display: block; width: 1.35rem; height: 2px; margin: 0.32rem auto;
  background: var(--vd-white); border-radius: 2px;
}
.topbar-cta {
  height: var(--vd-cta-bar);
  background: rgba(5, 56, 32, 0.92);
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid var(--vd-white);
  color: var(--vd-white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { background: var(--vd-white); color: var(--vd-green-dark); }
.pill--fill {
  background: var(--vd-green);
  border-color: var(--vd-green);
  color: var(--vd-white);
}
.pill--fill:hover { background: var(--vd-green-deep); border-color: var(--vd-green-deep); color: var(--vd-white); }
.pill--green-line {
  border-color: var(--vd-green);
  color: var(--vd-green);
  background: transparent;
}
.pill--green-line:hover { background: var(--vd-green); color: var(--vd-white); }
.pill--header {
  min-width: 0;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  background: var(--vd-green);
  border-color: var(--vd-green);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 56, 32, 0.96);
  color: var(--vd-white);
  display: none;
  flex-direction: column;
  padding: 1.25rem var(--vd-gutter) 2rem;
}
.drawer.is-open { display: flex; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
}
.drawer-close {
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--vd-white);
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
}
.drawer-nav { display: grid; gap: 0.35rem; }
.drawer-nav a {
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.drawer-nav a.is-current { color: var(--vd-gold); }
body.nav-lock { overflow: hidden; }

/* ——— Fullscreen slider hero ——— */
.splash {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--vd-header) + var(--vd-cta-bar));
  overflow: hidden;
  background: var(--vd-green-dark);
  color: var(--vd-white);
}
.splash-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem var(--vd-gutter) 5rem;
  background-color: var(--vd-green-dark);
  background-size: cover;
  background-position: center;
}
.splash-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,56,32,0.72) 0%, rgba(0,107,52,0.55) 45%, rgba(5,56,32,0.82) 100%);
}
.splash-slide.is-active { opacity: 1; pointer-events: auto; }
.splash-slide .splash-inner { position: relative; z-index: 1; }
.splash-inner { max-width: 46rem; }
.splash-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vd-gold);
  margin-bottom: 1rem;
}
.splash h1, .splash h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.splash p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  opacity: 0.92;
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}
.splash-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.splash-nav {
  position: absolute;
  right: var(--vd-gutter);
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.splash-nav button {
  width: 2.5rem; height: 2.5rem;
  border: 0;
  background: rgba(15, 31, 22, 0.55);
  color: var(--vd-white);
  font-size: 1.1rem;
  cursor: pointer;
}
.splash-dots {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.splash-dots button {
  width: 0.55rem; height: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  padding: 0;
  cursor: pointer;
}
.splash-dots button.is-on { background: var(--vd-gold); width: 1.35rem; }

/* ——— Content blocks ——— */
.block { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.block--paper { background: var(--vd-paper); }
.block--green { background: var(--vd-green); color: var(--vd-white); }
.block--dark { background: var(--vd-green-dark); color: var(--vd-white); }
.block-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.block-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.block-head p { color: var(--vd-muted); margin: 0; }
.block--green .block-head p,
.block--dark .block-head p { color: rgba(255,255,255,0.85); }

/* Edition-style city cards */
.editions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.edition {
  background: var(--vd-white);
  border: 1px solid var(--vd-line);
  overflow: hidden;
  text-align: center;
  display: grid;
  min-height: 260px;
}
.edition-photo {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.edition-body {
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}
.edition h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
.edition p { margin: 0; color: var(--vd-muted); font-size: 0.92rem; }
.edition .pill { min-width: 9rem; }

/* Photo strip Lausanne & environs */
.places {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.place-shot {
  position: relative;
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.place-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,56,32,0.85) 100%);
}
.place-shot span {
  position: relative;
  z-index: 1;
  color: var(--vd-white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 1rem;
}
@media (max-width: 900px) {
  .places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .places { grid-template-columns: 1fr; }
  .place-shot { min-height: 160px; }
}

/* Stats strip */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.metrics strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--vd-gold);
  line-height: 1;
}
.metrics span { font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 640px) {
  .metrics { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Roster / pillars retained but restyled */
.roster { display: flex; flex-direction: column; border-top: 1px solid var(--vd-line); }
.roster-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--vd-line);
}
.roster-row:hover { background: linear-gradient(90deg, var(--vd-green-soft), transparent); }
.roster-row__logo, .roster-row__logo--empty {
  width: 64px; height: 64px;
  border: 1px solid var(--vd-line);
  object-fit: contain;
  background: var(--vd-white);
}
.roster-row__logo--empty {
  display: grid; place-items: center;
  font-weight: 800; color: var(--vd-green); background: var(--vd-green-soft);
}
.roster-row__name { font-size: 1.2rem; margin: 0 0 0.2rem; font-weight: 800; }
.roster-row__meta { font-size: 0.85rem; color: var(--vd-muted); margin: 0; }
.roster-row__go { font-weight: 700; font-size: 0.85rem; color: var(--vd-green); }
@media (max-width: 640px) {
  .roster-row { grid-template-columns: 52px 1fr; }
  .roster-row__go { display: none; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.pillar {
  background: var(--vd-white);
  border: 1px solid var(--vd-line);
  padding: 1.35rem 1.1rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pillar:hover { border-color: var(--vd-green); }
.pillar__index { color: var(--vd-green); font-weight: 800; font-size: 1.4rem; }
.pillar__title { font-size: 1.15rem; margin: 0.4rem 0; }
.pillar__count { font-size: 0.8rem; color: var(--vd-muted); }

/* Signup strip */
.signup {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
.signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  width: min(100%, 520px);
}
.signup input {
  flex: 1 1 220px;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font: inherit;
}
.signup .pill { border: 0; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--vd-line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 0;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--vd-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item button span { color: var(--vd-green); font-size: 1.35rem; line-height: 1; }
.faq-item .faq-body {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--vd-muted);
}
.faq-item.is-open .faq-body { display: block; }

/* Inner pages */
.directory-top {
  padding: calc(var(--vd-header) + var(--vd-cta-bar) + 2rem) 0 1.5rem;
  background: var(--vd-paper);
  border-bottom: 1px solid var(--vd-line);
}
.directory-top h1 { font-size: clamp(2rem, 5vw, 3rem); }
.directory-top p { color: var(--vd-muted); }
.probe {
  display: flex; gap: 0.5rem; margin: 1.25rem 0; max-width: 420px;
  background: var(--vd-white); border: 1px solid var(--vd-line); border-radius: 999px; padding: 0.25rem 0.35rem 0.25rem 1rem;
}
.probe input { border: 0; outline: 0; width: 100%; font: inherit; background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; gap: 0.35rem; align-items: center;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--vd-line); background: var(--vd-white);
  font-size: 0.82rem; font-weight: 700;
}
.chip.is-on, .chip:hover { border-color: var(--vd-green); color: var(--vd-green); }

/* Carte de membres */
.map-band { padding: 0 0 3rem; }
.map-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 0;
  min-height: min(70vh, 640px);
  border: 1px solid var(--vd-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--vd-white);
}
.map-list {
  overflow-y: auto;
  max-height: min(70vh, 640px);
  border-right: 1px solid var(--vd-line);
  background: var(--vd-paper);
}
.map-list__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--vd-line);
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.map-list__item strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.map-list__item span { color: var(--vd-muted); font-size: 0.82rem; }
.map-list__item:hover,
.map-list__item.is-on { background: var(--vd-green-soft); }
.map-list__item:disabled { opacity: 0.5; cursor: not-allowed; }
.map-list__empty { padding: 1.25rem; color: var(--vd-muted); }
.map-canvas { min-height: min(70vh, 640px); width: 100%; z-index: 0; }
.map-canvas .leaflet-popup-content { font-family: inherit; line-height: 1.45; }
.map-canvas .leaflet-popup-content a { color: var(--vd-green); font-weight: 700; }
@media (max-width: 860px) {
  .map-shell { grid-template-columns: 1fr; min-height: auto; }
  .map-list { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--vd-line); }
  .map-canvas { min-height: 420px; }
}

.profile-hero {
  padding: calc(var(--vd-header) + var(--vd-cta-bar) + 2rem) 0 2rem;
  background: linear-gradient(180deg, var(--vd-green-soft), var(--vd-white));
}
.crumbs { font-size: 0.85rem; color: var(--vd-muted); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--vd-green); }
.profile-hero__grid {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; align-items: start;
}
.profile-hero__logo {
  width: 120px; height: 120px; object-fit: contain;
  background: var(--vd-white); border: 1px solid var(--vd-line); padding: 0.5rem; border-radius: 12px;
}
.profile-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 0.75rem 0 1.25rem; color: var(--vd-muted); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.profile-body { padding: 2.5rem 0 4rem; }
.profile-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.panel { border: 1px solid var(--vd-line); border-radius: 16px; padding: 1.5rem; background: var(--vd-white); }
.panel h2 { font-size: 1.35rem; }
.panel dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vd-muted); margin-top: 1rem; }
.panel dd { margin: 0.25rem 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag { font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--vd-green-soft); color: var(--vd-green-deep); }
@media (max-width: 800px) {
  .profile-hero__grid, .profile-columns { grid-template-columns: 1fr; }
}

.form-stack {
  display: grid; gap: 1rem; max-width: 640px; margin: 0 auto;
  border: 1px solid var(--vd-line); border-radius: 20px; padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--vd-white);
}
.form-stack label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; }
.form-stack input, .form-stack select, .form-stack textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--vd-line);
  border-radius: 12px; background: var(--vd-paper);
}
.note-ok { color: var(--vd-green-deep); font-weight: 700; }
.note-err { color: #B42318; font-weight: 700; }

.value-grid, .partner-grid, .ref-grid, .territory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.value-item, .partner-item, .ref-grid article, .territory a {
  border-top: 3px solid var(--vd-green);
  padding: 1.25rem 0.25rem 1rem;
}
.partner-item:hover, .territory a:hover { background: var(--vd-green-soft); padding-inline: 0.75rem; }
.territory a {
  border: 1px solid var(--vd-line);
  border-top: 3px solid var(--vd-green);
  padding: 1.2rem 1rem;
  background: var(--vd-white);
}
.territory strong { display: block; font-size: 1.2rem; }
.territory span { font-size: 0.82rem; color: var(--vd-muted); }
.codebox {
  background: var(--vd-green-dark); color: #E8F7EE;
  padding: 1.25rem; border-radius: 14px; overflow-x: auto;
  font-size: 0.85rem; white-space: pre-wrap;
}

/* Actions (inner pages) */
.action {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 2px solid transparent; cursor: pointer;
}
.action--fill { background: var(--vd-green); color: var(--vd-white); }
.action--fill:hover { background: var(--vd-green-deep); }
.action--line { border-color: var(--vd-green); color: var(--vd-green); }
.action--line:hover { background: var(--vd-green); color: var(--vd-white); }
.action--invert { background: var(--vd-white); color: var(--vd-green-deep); }
.action--ghost { border-color: rgba(255,255,255,0.55); color: var(--vd-white); }
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band--soft { background: var(--vd-paper); }
.band--green { background: var(--vd-green); color: var(--vd-white); }
.band-head { margin-bottom: 2rem; max-width: 40rem; }
.band-head__label {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--vd-green); margin-bottom: 0.5rem;
}
.band-head h1, .band-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.band-head p { color: var(--vd-muted); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Events */
.event-list { display: grid; gap: 1rem; }
.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  border: 1px solid var(--vd-line);
  background: var(--vd-white);
  border-radius: 16px;
  overflow: hidden;
}
.event-card__date {
  background: var(--vd-green-dark);
  color: var(--vd-white);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem 0.5rem;
}
.event-card__day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.event-card__month {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-top: 0.35rem;
}
.event-card__body { padding: 1.25rem 1.25rem 1.25rem 0; }
.event-card__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.event-tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--vd-green-soft);
  color: var(--vd-green-deep);
  font-size: 0.75rem;
  font-weight: 800;
}
.event-status {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--vd-paper);
  color: var(--vd-muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.event-card--soon .event-status {
  background: rgba(0,159,77,0.12);
  color: var(--vd-green-deep);
}
.event-card--past { opacity: 0.78; }
.event-card h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.event-card__when, .event-card__where {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--vd-muted);
  font-weight: 600;
}
@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__date { padding: 1rem; grid-auto-flow: column; gap: 0.5rem; align-items: baseline; justify-content: start; }
  .event-card__body { padding: 0 1.15rem 1.25rem; }
}

/* Footer */
.sitefoot {
  background: var(--vd-ink);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem;
}
.sitefoot a:hover { color: var(--vd-gold); }
.sitefoot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.sitefoot h4 {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--vd-gold); margin-bottom: 1rem;
}
.sitefoot-links { display: grid; gap: 0.45rem; }
.sitefoot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
@media (max-width: 800px) {
  .sitefoot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .sitefoot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .splash-slide.is-active .splash-inner {
    animation: rise 0.65s ease both;
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ========== DESKTOP ========== */
@media (min-width: 1024px) {
  :root {
    --vd-header: 5rem;
    --vd-max: 1240px;
  }

  .topbar-cta--mobile { display: none; }
  .topbar-toggle { display: none; }
  .topbar-actions .pill--header { display: inline-flex; }
  .topbar-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex: 1;
    justify-content: center;
  }
  .topbar-nav a {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
  }
  .topbar-nav a:hover { color: var(--vd-white); }
  .topbar-nav a.is-current {
    color: var(--vd-gold);
    border-bottom-color: var(--vd-gold);
  }
  .topbar-brand img { height: 40px; }

  .splash {
    padding-top: var(--vd-header);
    min-height: min(86vh, 780px);
  }
  .splash-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 4.5rem 0 4rem;
  }
  .splash-slide::before {
    background:
      linear-gradient(100deg, rgba(5,56,32,0.92) 0%, rgba(5,56,32,0.62) 38%, rgba(5,56,32,0.2) 72%);
  }
  .splash-inner {
    width: min(100% - 2 * var(--vd-gutter), var(--vd-max));
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    display: grid;
    justify-items: start;
  }
  .splash-copy {
    max-width: 32rem;
  }
  .splash-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
  }
  .splash h1, .splash h2 {
    font-size: clamp(2.4rem, 3.2vw, 3.1rem);
    margin-bottom: 0.9rem;
    max-width: 18ch;
    line-height: 1.1;
  }
  .splash p {
    font-size: 1.05rem;
    margin: 0 0 1.5rem;
    max-width: 30rem;
    line-height: 1.6;
  }
  .splash-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .splash-actions .pill {
    min-width: 0;
    padding: 0.75rem 1.35rem;
    font-size: 0.9rem;
  }
  .splash-nav { right: 2rem; bottom: 1.75rem; }
  .splash-nav button { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
  .splash-dots { bottom: 2rem; }

  .block { padding: 6rem 0; }
  .block-head { max-width: 46rem; margin-bottom: 3rem; }
  .block-head h2 { font-size: 2.6rem; }

  .places {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .place-shot {
    min-height: 240px;
    border-radius: 18px;
    transition: transform 0.25s ease;
  }
  .place-shot:hover { transform: translateY(-4px); }
  .place-shot span { font-size: 1.05rem; padding: 1.25rem; }

  .editions {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .edition { border-radius: 18px; min-height: 300px; }
  .edition-photo { height: 150px; }
  .edition-body { padding: 1.5rem 1.25rem 1.75rem; }

  .metrics { gap: 2.5rem; }
  .metrics strong { font-size: 3.6rem; }
  .metrics span { font-size: 1rem; }

  .roster-row {
    grid-template-columns: 80px 1fr auto;
    gap: 1.35rem;
    padding: 1.35rem 0.5rem;
    border-radius: 12px;
  }
  .roster-row__logo, .roster-row__logo--empty { width: 80px; height: 80px; }
  .roster-row__name { font-size: 1.4rem; }
  .roster-row__meta { font-size: 0.95rem; max-width: 60ch; }

  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .pillar {
    min-height: 180px;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }
  .pillar__title { font-size: 1.35rem; }

  .faq { max-width: 820px; }
  .faq-item button { font-size: 1.1rem; padding: 1.35rem 0; }

  .directory-top { padding: calc(var(--vd-header) + 3.5rem) 0 2.25rem; }
  .directory-top h1 { font-size: 3.2rem; }
  .chips { gap: 0.65rem; }
  .chip { font-size: 0.9rem; padding: 0.55rem 1rem; }

  .profile-hero { padding: calc(var(--vd-header) + 3rem) 0 2.5rem; }
  .profile-hero__grid { gap: 2rem; align-items: center; }
  .profile-hero h1 { font-size: 3rem; }
  .profile-columns { gap: 2.5rem; }
  .panel { border-radius: 20px; padding: 2rem; }

  .band { padding: 5.5rem 0; }
  .band-head h1, .band-head h2 { font-size: 2.8rem; }

  .sitefoot { padding: 4.5rem 0 2rem; }
  .sitefoot-grid { gap: 3rem; }
  .sitefoot-brand p { font-size: 1.02rem; max-width: 32ch; }
}

@media (min-width: 1280px) {
  :root { --vd-max: 1320px; }
  .splash { min-height: min(82vh, 760px); }
  .splash h1, .splash h2 { font-size: 3.15rem; }
  .splash-copy { max-width: 34rem; }
  .places { gap: 1.15rem; }
  .place-shot { min-height: 260px; }
  .editions { grid-template-columns: repeat(3, 1fr); }
  .topbar-nav { gap: 2rem; }
}

/* Home desktop: dual column promo for join + FAQ feel */
@media (min-width: 1024px) {
  .block--split .wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
  .block--split .block-head {
    text-align: left;
    margin: 0 0 1.5rem;
  }
}
