/* =============================================================
   Musikschule Homburg gGmbH
   „Ein Haus voller Musik“ — Design system & styles
   ============================================================= */

/* ---------- Schriftarten (lokal gehostet · DSGVO-konform) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/fraunces-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --plum:       #4a1942;
  --plum-deep:  #2c0f28;
  --plum-soft:  #f4e9f1;
  --gold:       #c6952f;
  --gold-bright:#e2b75c;
  --gold-soft:  #faf1de;

  --ink:      #211220;
  --charcoal: #5a4b58;
  --gray:     #83758a;
  --gray-200: #e9e0e6;
  --paper:    #faf6f3;
  --white:    #ffffff;

  /* Surface / text roles */
  --bg:        #fdfbfa;
  --bg-alt:    #f6eff2;
  --bg-ink:    #2c0f28;
  --surface:   #f6eff2;
  --surface-2: #efe1e9;
  --text:      #211220;
  --text-soft: #6d5d6b;
  --border:    rgba(33,18,32,.12);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --container-narrow: 800px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 130px);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(33,15,30,.07);
  --shadow:    0 18px 46px -18px rgba(33,15,30,.28);
  --shadow-lg: 0 40px 90px -30px rgba(33,15,30,.38);
  --ring: 0 0 0 4px rgba(198,149,47,.32);

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

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; color-scheme: light; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
svg[aria-hidden="true"] { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: -0.125em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.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;
}

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--plum); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-sm);
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--plum-deep); }
h1 { font-size: clamp(2.3rem, 4.4vw + 1rem, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.8rem); }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-soft); }
p + p { margin-top: 1em; }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.35rem); color: var(--charcoal); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 10px; }
.section--alt { background: var(--surface); }
.section--ink { background: var(--bg-ink); color: rgba(255,255,255,.86); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: rgba(255,255,255,.68); }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--plum); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--plum-deep); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--plum); background: var(--plum-soft); }
.section--ink .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.3); }
.section--ink .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.cta-banner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.cta-banner .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,250,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.05rem; color: var(--plum-deep); font-weight: 700; }
.brand-text span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; padding: 9px 13px; border-radius: 999px;
  font-weight: 600; font-size: .89rem; color: var(--charcoal);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.main-nav a:hover { background: var(--plum-soft); color: var(--plum); }
.main-nav a[aria-current="page"] { background: var(--plum); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1300px) {
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; z-index: 90;
    height: calc(100vh - 74px); height: calc(100dvh - 74px);
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 18px var(--gutter) 32px; gap: 4px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
    border-top: 1px solid var(--border);
  }
  .nav-open .main-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: 100%; gap: 4px !important; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; width: 100%; padding: 15px 16px; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary.header-cta-desktop { display: none; }
}
@media (min-width: 1301px) {
  .header-cta-mobile { display: none; }
}

/* ---------- Hero (Foto als atmosphärischer Hintergrund, wie bei gihl.eu) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(90px, 13vw, 160px) clamp(64px, 10vw, 120px); }

.hero-photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: .4;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 28%, rgba(0,0,0,.35) 55%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, transparent 28%, rgba(0,0,0,.35) 55%, #000 100%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(253,251,250,0) 34%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.blob.b1 { width: 46vw; height: 46vw; background: radial-gradient(circle at 30% 30%, var(--gold), transparent 68%); top: -16vw; right: -10vw; opacity: .22; }
.blob.b2 { width: 38vw; height: 38vw; background: radial-gradient(circle at 50% 50%, var(--plum), transparent 70%); bottom: -18vw; left: -12vw; opacity: .16; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6em; padding: .55em 1.1em; border-radius: 100px;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .82rem; letter-spacing: .01em; color: var(--charcoal);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-copy h1 { margin-top: 18px; }
.hero-copy .lead { margin-top: 20px; max-width: 56ch; }
.hero-actions { margin-top: 32px; }
.hero-stats { margin-top: 48px; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 2vw, 2.3rem); color: var(--plum-deep); }
.hero-stat span { font-size: .85rem; color: var(--text-soft); }

/* ---------- Photo-Card mit Badge (z.B. "Mitglied im VdM") ---------- */
.photo-card { position: relative; }
.photo-card .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.photo-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .badge {
  position: absolute; left: -18px; bottom: 24px; background: var(--white);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  max-width: 230px;
}
.photo-card .badge strong { display: block; font-family: var(--font-display); color: var(--plum-deep); font-size: 1.1rem; }
.photo-card .badge span { font-size: .85rem; color: var(--text-soft); }
@media (max-width: 640px) { .photo-card .badge { left: 12px; } }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-tile { background: var(--white); padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 28px); text-align: center; }
.stat-tile strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 2.4vw, 2.6rem); color: var(--plum); }
.stat-tile span { font-size: .88rem; color: var(--text-soft); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 14px; background: var(--plum-soft); color: var(--plum);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-weight: 600; color: var(--plum); font-size: .94rem;
  transition: gap .2s var(--ease-out), color .2s var(--ease-out);
}
.card-link svg { transition: transform .2s var(--ease-out); }
.card-link:hover { color: var(--plum-deep); gap: 12px; }
.card-link:hover svg { transform: translateX(2px); }

/* ---------- Event calendar ---------- */
.event-months { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.event-month h3 { color: var(--gold); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border);
}
.event-date { font-family: var(--font-display); font-weight: 600; color: var(--plum-deep); line-height: 1.25; }
.event-date .day { display: block; font-size: 1.5rem; }
.event-date .time { display: block; font-size: .82rem; color: var(--text-soft); font-family: var(--font-body); font-weight: 500; margin-top: 4px; }
.event-body h4 { margin-bottom: 4px; }
.event-meta { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.event-body p { font-size: .92rem; }
@media (max-width: 560px) { .event-item { grid-template-columns: 1fr; } }

/* ---------- Team grid ---------- */
.team-card { text-align: left; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 16px; background: var(--surface); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-role { color: var(--gold); font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.team-card p { font-size: .88rem; }
.team-tag {
  display: inline-block; margin-top: 8px; font-size: .76rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--plum-soft); color: var(--plum);
}

/* ---------- Foto-Mosaik (Impressionen-Teaser, Startseite) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 12px; }
.mosaic-item {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--surface);
}
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-feature { grid-column: span 2; grid-row: span 2; }
.mosaic-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44,15,40,.8) 100%);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.mosaic-item:hover::after { opacity: 1; }
.mosaic-caption {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: var(--white);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.mosaic-item:hover .mosaic-caption { opacity: 1; transform: translateY(0); }
.mosaic-caption strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.mosaic-caption span { font-size: .78rem; color: rgba(255,255,255,.8); }
.mosaic-feature .mosaic-caption strong { font-size: 1.2rem; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic-feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; height: auto; }
}
@media (hover: none) {
  .mosaic-item::after, .mosaic-caption { opacity: 1; transform: none; }
  .mosaic-item::after { background: linear-gradient(180deg, transparent 60%, rgba(44,15,40,.72) 100%); }
}

/* ---------- Gallery / Lightbox ---------- */
.gallery-set { margin-bottom: clamp(40px, 5vw, 64px); }
.gallery-set-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.gallery-set-head h3 { color: var(--plum-deep); }
.gallery-set-head .gallery-date { font-size: .85rem; color: var(--gold); font-weight: 600; }
.gallery-set p.gallery-desc { max-width: 70ch; margin-bottom: 16px; font-size: .93rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}
.gallery-grid button.gthumb {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
  background: var(--surface); cursor: zoom-in;
}
.gallery-grid button.gthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.gallery-grid button.gthumb:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20,10,18,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lightbox img { max-height: 78vh; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: .88rem; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: .78rem; color: var(--text-soft); font-weight: 400; }
.field input, .field textarea, .field select {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--plum); box-shadow: var(--ring); outline: none; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-soft); }
.field-check input { margin-top: 3px; }
.form-actions { margin-top: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--text-soft); }
.form-status { font-size: .9rem; font-weight: 600; }
.form-status[data-state="success"] { color: #2f7a4d; }
.form-status[data-state="error"] { color: #b8412f; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Info blocks (contact, hours) ---------- */
.info-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 16px; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; }
.info-row .icon-badge { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; }
.info-row .icon-badge svg { width: 20px; height: 20px; }
.info-row h4 { margin-bottom: 4px; font-size: .98rem; }
.info-row p { font-size: .92rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------- Download / doc list ---------- */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.doc-item:hover { border-color: var(--plum); box-shadow: var(--shadow-sm); }
.doc-item .icon-badge {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--plum-soft); color: var(--plum); display: flex; align-items: center; justify-content: center;
}
.doc-item .icon-badge svg { width: 20px; height: 20px; }
.doc-item h4 { font-size: .98rem; margin-bottom: 2px; }
.doc-item p { font-size: .84rem; margin: 0; }
.doc-item .btn { flex-shrink: 0; }
.doc-item > .btn { margin-left: auto; }
.doc-actions { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (max-width: 720px) {
  .doc-item { flex-wrap: wrap; }
  .doc-actions { margin-left: 0; width: 100%; justify-content: flex-start; }
}

/* ---------- Press ---------- */
.press-item { padding-block: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--border); }
.press-item:first-child { padding-top: 0; }
.press-item:last-child { border-bottom: 0; }
.press-item h3 { margin-bottom: 6px; }
.press-meta { font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.press-item .press-figure { border-radius: var(--radius); overflow: hidden; margin-block: 18px; }
.press-item figcaption { font-size: .82rem; color: var(--text-soft); margin-top: 8px; }
.press-body p { font-size: .95rem; }
.press-body p + p { margin-top: 1em; }

/* ---------- Legal / prose ---------- */
.prose h2 { margin-top: 2.2em; margin-bottom: .6em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; font-size: 1.1rem; color: var(--text); }
.prose p { font-size: .96rem; }
.prose p + p { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.4em; font-size: .96rem; color: var(--text-soft); }
.prose ul li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.4em; font-size: .92rem; }
.prose table td, .prose table th { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose table th { background: var(--surface); font-family: var(--font-body); font-weight: 600; }
.prose strong { color: var(--text); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--plum), var(--plum-deep));
  color: var(--white); padding: clamp(40px, 6vw, 64px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 56ch; }
.cta-banner .cluster { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink); color: rgba(255,255,255,.7); padding-block: clamp(56px, 7vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.site-footer p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .2s;
}
.footer-social a:hover { background: var(--gold); color: var(--plum-deep); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb / page header ---------- */
.page-header { padding-block: clamp(48px, 7vw, 76px) clamp(36px, 5vw, 56px); }
.page-header .eyebrow { margin-bottom: 14px; }
.page-header .lead { margin-top: 16px; max-width: 62ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--text-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--plum); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--section-y); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .04em;
}
.map-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--plum); }
.map-link:hover { text-decoration: underline; }

::selection { background: var(--gold-soft); color: var(--plum-deep); }
