/* bekka.com — Sonnig & Disco
 * Y2K-leaning disco-house aesthetic. Warm cream + hot pink + chartreuse.
 * Tweaks (palette/font/photo/cursor/density/bg) are applied to :root via
 * CSS variables by src/tweaks-app.jsx. Most defaults live there as JSON
 * so the host can rewrite them on disk.
 *
 * Density factor `--d` scales paddings/gaps; switching from 1 → 0.78 makes
 * the whole site denser without rewriting layout rules. Photo treatment
 * is an SVG filter id on `<html>`; "color" is the no-op identity filter.
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* — Palette (bubblegum + acid lime) — */
  --bg: #ffe7ee;
  --bg-soft: #edd6dd;
  --ink: #1d0f15;
  --ink-mute: #837077;
  --pink: #ff5fa0;
  --pink-deep: #c74b7d;
  --green: #9ae04e;
  --green-deep: #81b643;
  --chrome-1: #ffb7d3;
  --chrome-2: #d2e0f6;
  --chrome-3: #dbe4b6;

  /* — Type — */
  --display: "Bagel Fat One", "Sansita Swashed", system-ui;
  --body: "Space Grotesk", ui-sans-serif, system-ui;

  /* — Density — */
  --d: 1;
  --section-pad: calc(140px * var(--d));
  --gutter: calc(48px * var(--d));

  /* — Photo filter (set by Tweaks; "none" = no-op) — */
  --photo-filter: none;

  /* — Bg animation overlay opacity — */
  --grain-opacity: 0.55;
  --noise-opacity: 0;

  --radius-blob: 999px;
  --radius-card: 20px;

  --max: 1480px;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

/* — Bg overlay (grain / noise / none) — */
.bg-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
.bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.08 0 0 0 0 0.09 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='turbulence' baseFrequency='0.04' numOctaves='4'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.5 0 0 0 0 0.7 0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: noise-drift 12s linear infinite;
}
@keyframes noise-drift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-10px, 6px); }
  50% { transform: translate(8px, -4px); }
  75% { transform: translate(-4px, -8px); }
  100% { transform: translate(0, 0); }
}

main, header, footer { position: relative; z-index: 2; }

/* — Photo treatment — */
img.bekka {
  filter: var(--photo-filter);
  transition: filter 0.4s ease;
}

/* — Cursor (rotating disco ball) — */
html.cursor-on, html.cursor-on * { cursor: none !important; }
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  pointer-events: none;
  z-index: 99999;
  display: none;
  filter: drop-shadow(0 0 14px rgba(255, 126, 182, 0.55)) drop-shadow(0 0 18px rgba(200, 236, 90, 0.35));
  transition: width 0.18s ease, height 0.18s ease;
}
html.cursor-on .cursor { display: block; }
.cursor.lg { width: 60px; height: 60px; }
.cursor-ball {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><radialGradient id='g' cx='35%25' cy='28%25' r='75%25'><stop offset='0' stop-color='%23ffffff'/><stop offset='0.22' stop-color='%23eaf0fc'/><stop offset='0.6' stop-color='%237b8db0'/><stop offset='1' stop-color='%231b2238'/></radialGradient></defs><circle cx='32' cy='32' r='30' fill='url(%23g)'/><g stroke='rgba(0,0,0,0.42)' stroke-width='0.7' fill='none'><ellipse cx='32' cy='32' rx='30' ry='6'/><ellipse cx='32' cy='32' rx='30' ry='15'/><ellipse cx='32' cy='32' rx='30' ry='23'/><ellipse cx='32' cy='32' rx='6' ry='30'/><ellipse cx='32' cy='32' rx='15' ry='30'/><ellipse cx='32' cy='32' rx='23' ry='30'/></g><circle cx='22' cy='19' r='5' fill='rgba(255,255,255,0.55)'/></svg>");
  background-size: cover;
  animation: ballspin 3.2s linear infinite;
}
@keyframes ballspin { to { transform: rotate(360deg); } }
.cursor-trail {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--pink);
  pointer-events: none;
  z-index: 99998;
  mix-blend-mode: multiply;
  opacity: 0.6;
  transform: translate(-50%, -50%);
  display: none;
}
html.cursor-on .cursor-trail { display: block; }

/* — Language switching — */
html[data-lang="de"] [lang="en"] { display: none; }
html[data-lang="en"] [lang="de"] { display: none; }

/* — Nav — */
.nav {
  position: fixed;
  top: 16px; left: 16px; right: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px 10px 22px;
  background: rgba(255, 241, 226, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(42, 20, 24, 0.08);
  border-radius: 999px;
}
.nav-brand {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand:hover { color: var(--pink-deep); }

/* Hero CTA cluster */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: calc(20px * var(--d, 1));
}
.btn-primary.big {
  font-size: 17px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid rgba(42, 20, 24, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.18s, border-color 0.18s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-ghost .ico { display: inline-flex; }
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--ink);
  color: var(--bg);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-toggle {
  display: inline-flex;
  background: rgba(42, 20, 24, 0.06);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-mute);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* — Layout — */
section {
  padding: var(--section-pad) var(--gutter);
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}

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

h2.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-top: 18px;
  margin-bottom: calc(40px * var(--d));
}

/* — Hero — */
.hero {
  min-height: 100vh;
  padding: 110px var(--gutter) 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--gutter);
  position: relative;
}
.hero-text { min-width: 0; }
.hero-text { padding-bottom: 40px; }
.hero-wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  display: block;
  position: relative;
  color: var(--ink);
  user-select: none;
  white-space: nowrap;
}
.hero-wordmark .wm-letter {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s, font-family 0.5s;
}
.hero-wordmark .wm-letter:hover {
  transform: rotate(-6deg) translateY(-8px);
  color: var(--pink);
}
.hero-tagline {
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 500;
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-tagline em {
  font-style: italic;
  font-family: "Sansita Swashed", var(--display);
  color: var(--pink-deep);
  font-weight: 700;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--green);
  color: var(--ink);
  border: 1px solid rgba(42, 20, 24, 0.12);
}
.pill.pink { background: var(--pink); color: var(--ink); }
.pill.outline { background: transparent; }

.hero-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo .photo-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255, 241, 226, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 100px; }
  .hero-photo { aspect-ratio: 4/5; max-height: 70vh; }
  .hero-text { padding-bottom: 0; }
  .hero-wordmark { font-size: clamp(80px, 22vw, 200px); }
}

/* — Marquee — */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--pink);
  border-bottom: 1px solid var(--green);
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.01em;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
.marquee-track .star {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--green);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  flex-shrink: 0;
}
.marquee-track .star.pink { background: var(--pink); }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* — About — */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: start;
}
.about-copy {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.4;
  max-width: 600px;
}
.about-copy p + p { margin-top: 1em; }
.about-copy em {
  font-style: italic;
  color: var(--pink-deep);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid rgba(42, 20, 24, 0.08);
  border-radius: var(--radius-card);
  padding: 24px;
}
.stat-value {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.about-photos > div {
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.about-photos img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
}

/* — Music — */
.music {
  background: var(--ink);
  color: var(--bg);
  border-radius: 36px;
  margin: 40px var(--gutter);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}
.music::before, .music::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform, opacity;
}
.music::before {
  background: var(--pink);
  top: -120px; right: -80px;
  animation: music-drift-a 20s ease-in-out infinite alternate;
}
.music::after {
  background: var(--green);
  bottom: -150px; left: -100px;
  animation: music-drift-b 26s ease-in-out infinite alternate;
}
@keyframes music-drift-a {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50%  { transform: translate(-50px, 60px) scale(1.18); opacity: 0.6; }
  100% { transform: translate(70px, 30px) scale(0.95); opacity: 0.4; }
}
@keyframes music-drift-b {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50%  { transform: translate(70px, -45px) scale(1.12); opacity: 0.6; }
  100% { transform: translate(-40px, 70px) scale(0.92); opacity: 0.42; }
}
.music-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
}
.music-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(
      460px 460px at var(--mx, 50%) var(--my, 50%),
      rgba(255, 95, 160, 0.55),
      rgba(255, 95, 160, 0) 55%
    ),
    radial-gradient(
      300px 300px at calc(var(--mx, 50%) + 8%) calc(var(--my, 50%) - 6%),
      rgba(154, 224, 78, 0.35),
      rgba(154, 224, 78, 0) 60%
    );
  mix-blend-mode: screen;
  transition: background 120ms linear;
}
#music-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: screen;
}
.music .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .music::before, .music::after { animation: none; }
  .music-glow { transition: none; }
}
.music .eyebrow { color: var(--green); }
.music .eyebrow::before { background: var(--green); }
.music h2.section-title { color: var(--bg); }
.music-intro {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 40px;
  color: rgba(255, 241, 226, 0.8);
}
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.music-card {
  background: rgba(255, 241, 226, 0.08);
  border: 1px solid rgba(255, 241, 226, 0.18);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.music-card.featured {
  background: var(--pink);
  color: var(--ink);
  border-color: var(--pink-deep);
}
.music-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.music-card p {
  font-size: 14px;
  opacity: 0.78;
  line-height: 1.45;
}
.music-card iframe {
  border: 0;
  border-radius: 12px;
  display: block;
  width: 100%;
  background: rgba(0,0,0,0.2);
}
.music-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.music-card .meta .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 241, 226, 0.12);
}
.music-card.featured .meta .tag { background: rgba(42, 20, 24, 0.12); }
.music-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 14px 22px;
  background: var(--green);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s;
}
.music-cta:hover { transform: translateY(-2px) rotate(-1deg); }
@media (max-width: 900px) {
  .music-grid { grid-template-columns: 1fr; }
  .music { margin: 24px 12px; padding: 80px 22px; }
}

/* — Events — */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(42, 20, 24, 0.12);
  border: 1px solid rgba(42, 20, 24, 0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.event-row {
  background: var(--bg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: background 0.2s;
}
.event-row:hover { background: var(--bg-soft); }
.event-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--pink);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.event-row:nth-child(2n) .event-icon { background: var(--green); }
.event-row:nth-child(3n) .event-icon { background: var(--chrome-1); }
.event-row:nth-child(5n) .event-icon { background: var(--chrome-3); }
.event-icon svg { width: 28px; height: 28px; }
.event-text h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.event-text p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .events-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .event-row {
    padding: 20px 18px;
    gap: 16px;
    align-items: flex-start;
  }
  .event-icon { width: 44px; height: 44px; }
  .event-icon svg { width: 22px; height: 22px; }
  .event-text h3 { font-size: 22px; margin-bottom: 4px; }
  .event-text p { font-size: 13.5px; line-height: 1.35; }
}
@media (max-width: 420px) {
  .event-row { padding: 16px 14px; gap: 12px; }
  .event-icon { width: 38px; height: 38px; }
  .event-icon svg { width: 19px; height: 19px; }
  .event-text h3 { font-size: 19px; }
}

.where {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.where-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* — Gallery / moodboard — */
.gallery {
  background: var(--bg-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 14px;
  margin-top: 40px;
}
.tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.text {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.tile.text.pink { background: var(--pink); color: var(--ink); }
.tile.text.green { background: var(--green); color: var(--ink); }
.tile.text.cream { background: var(--chrome-3); color: var(--ink); }

/* tile sizing helpers */
.t-a { grid-column: span 4; grid-row: span 5; }
.t-b { grid-column: span 4; grid-row: span 4; }
.t-c { grid-column: span 4; grid-row: span 4; }
.t-d { grid-column: span 4; grid-row: span 3; }
.t-e { grid-column: span 4; grid-row: span 5; }
.t-f { grid-column: span 4; grid-row: span 5; }
.t-g { grid-column: span 4; grid-row: span 4; }
.t-h { grid-column: span 4; grid-row: span 3; }
.t-i { grid-column: span 4; grid-row: span 3; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g, .t-h, .t-i { grid-column: span 3; }
}

/* — Contact — */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--gutter);
}
.contact-side { padding-top: 60px; }
.contact-form {
  background: var(--bg-soft);
  border: 1px solid rgba(42, 20, 24, 0.1);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
  display: block;
}
.field input[type=text], .field input[type=email], .field input[type=date], .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(42, 20, 24, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--pink);
  background: #fff;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 20, 24, 0.18);
  background: var(--bg);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tag-chip input { display: none; }
.tag-chip.checked {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tag-chip.checked .check {
  display: inline-block;
}
.tag-chip .check {
  display: none;
  width: 12px; height: 12px;
  background: var(--green);
  border-radius: 999px;
}
.btn-primary {
  margin-top: 6px;
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 18px 28px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--pink-deep); }
.contact-side h2.section-title { font-size: clamp(40px, 6vw, 92px); }
.contact-side p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 480px;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
}
.contact-direct a:hover { color: var(--pink-deep); }
.contact-direct .ico {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* — Footer — */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px var(--gutter) 32px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.footer-brand {
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--bg);
  text-decoration: none;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--pink); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 241, 226, 0.18);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.5;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* — Toast — */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 100px);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* — Tweaks panel intro hint — */
.tweak-hint {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 50;
  background: var(--pink);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(42, 20, 24, 0.15);
  opacity: 0.85;
  pointer-events: none;
  display: none;
}

/* — Mobile responsiveness fine-tuning —
 * Shrink the section gutter on smaller viewports so content has breathing
 * room on both sides; tighten the hero wordmark so it can never push its
 * grid track past the viewport; reflow .where so the label gets its own
 * line and all locations stay grouped after Berlin.
 */
@media (max-width: 900px) {
  :root {
    --gutter: 28px;
    --section-pad: 110px;
  }
}
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --section-pad: 84px;
  }
  .hero-wordmark { font-size: clamp(64px, 20vw, 140px); }
  .marquee-track { gap: 32px; }
  .marquee-track > span { gap: 32px; }
  .marquee-track .star { width: 22px; height: 22px; }
  .where { gap: 8px; }
  .where-label { flex-basis: 100%; margin-bottom: 4px; }
}
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
  .hero-wordmark { font-size: clamp(50px, 18vw, 92px); }
  .stat { padding: 18px 16px; }
  .stat-value { font-size: 42px; }
  .about-stats { gap: 10px; }
  .about-photos { gap: 10px; margin-top: 12px; }
  .music { margin: 24px 8px; padding: 70px 16px; border-radius: 24px; }
}
