/* ============================================================
   JENLOW — Design System
   A premium dark, music-rooted brand ecosystem.
   ------------------------------------------------------------
   Edit the tokens in :root to retune the whole site at once.
   Per-branch accent colours are set on <body class="b-xxx">.
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Neutrals (from the JENLOW brand board) */
  --bg:        #0a0f19;
  --bg-deep:   #070b13;
  --surface:   #111827;
  --surface-2: #141d2e;
  --elevated:  #1a2233;
  --line:      #2a3345;
  --line-soft: rgba(140, 156, 188, 0.14);

  /* Text */
  --text:      #e6ecf4;
  --text-soft: #c2cad9;
  --muted:     #8b95ab;
  --faint:     #5d6678;

  /* Mother-brand gold (refined, used with restraint) */
  --gold-1: #f6e2ab;
  --gold-2: #e3c074;
  --gold-3: #b98a3e;
  --gold:   #e3c074;

  /* Primary universe colours */
  --violet:  #7a3fff;
  --magenta: #ff2dbd;
  --blue:    #1e71ff;
  --cyan:    #00ceff;
  --live:    #ffb42e;

  /* Default accent = mother gold (overridden per branch) */
  --accent:     var(--gold);
  --accent-2:   var(--gold-1);
  --accent-rgb: 227, 192, 116;

  /* Type */
  --display: 'Jost', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;
  --s-7: 9rem;

  /* Layout */
  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 74px;
}

/* Per-branch accent overrides */
body.b-production { --accent: #af3fff;        --accent-2: #c98bff; --accent-rgb: 175, 63, 255; }
body.b-network    { --accent: var(--magenta); --accent-2: #ff6ad6; --accent-rgb: 255, 45, 189; }
body.b-gear       { --accent: var(--blue);    --accent-2: var(--cyan); --accent-rgb: 30, 113, 255; }
body.b-live       { --accent: var(--live);    --accent-2: #ffd479; --accent-rgb: 255, 180, 46; }

/* Brand landing pages: calmer, tighter rhythm so more is visible at a glance */
body.b-production .page-hero,
body.b-network .page-hero,
body.b-gear .page-hero,
body.b-live .page-hero { padding-block: clamp(1.8rem, 4vw, 3rem) var(--s-3); }

body.b-production .section,
body.b-network .section,
body.b-gear .section,
body.b-live .section { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }

body.b-production .section-head,
body.b-network .section-head,
body.b-gear .section-head,
body.b-live .section-head { margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }

body.b-production .eq-divider,
body.b-network .eq-divider,
body.b-gear .eq-divider,
body.b-live .eq-divider { margin-block: clamp(1.8rem, 3.5vw, 2.6rem); }

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient backdrop: deep navy with a faint top glow tinted by the page accent */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(var(--accent-rgb), 0.10), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(122, 63, 255, 0.05), transparent 55%),
    radial-gradient(900px 700px at 90% 4%, rgba(30, 113, 255, 0.05), transparent 55%),
    var(--bg);
}
/* Very subtle grain to avoid flat banding on gradients */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(var(--accent-rgb), 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; line-height: 1.12; }

.display {
  font-family: var(--display);
  font-weight: 200;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.lead { font-size: 1.12rem; color: var(--text-soft); font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- 4. LAYOUT HELPERS ---------- */
.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s-2); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin-block: var(--s-5);
}

.section-head { max-width: 640px; margin-bottom: var(--s-4); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: 1rem; letter-spacing: 0.02em; }
.section-head p { margin-top: 1.1rem; }

.text-gradient {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. EQUALIZER — the brand signature ---------- */
/* A small row of animated bars: "sound made visible". Colour = accent. */
.eq { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; color: var(--accent); }
.eq span {
  width: 4px;
  border-radius: 4px;
  background: currentColor;
  transform-origin: bottom;
}
/* Static equalizer — bars hold a fixed, balanced shape (no motion) */
.eq span:nth-child(1) { height: 40%; }
.eq span:nth-child(2) { height: 75%; }
.eq span:nth-child(3) { height: 100%; }
.eq span:nth-child(4) { height: 60%; }
.eq span:nth-child(5) { height: 90%; }
.eq span:nth-child(6) { height: 50%; }
.eq span:nth-child(7) { height: 80%; }

/* Equalizer used as a section divider */
.eq-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  margin-block: var(--s-5);
  color: var(--accent);
}
.eq-divider .line {
  height: 1px; flex: 1; max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.eq-divider .line:last-child { background: linear-gradient(90deg, var(--line), transparent); }

/* ---------- 6. BUTTONS ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0f19;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.42); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.14);
}

.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row.center { justify-content: center; }

/* Text link with arrow */
.arrow-link {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  transition: gap .25s ease;
}
.arrow-link:hover { gap: 0.85rem; }

/* ---------- 7. CARDS ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.0), rgba(var(--accent-rgb), 0.0));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

/* Branch card: each carries its OWN colour, independent of page accent */
.branch-card { --accent-rgb: var(--c-rgb); display: flex; flex-direction: column; }
.branch-card .branch-logo { height: 64px; width: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 6px 22px rgba(var(--c-rgb), 0.4)); }
.branch-card h3 { font-size: 1.45rem; letter-spacing: 0.04em; }
.branch-card .branch-kicker {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgb(var(--c-rgb));
  display: block;
  margin: 0.6rem 0 1rem;
}
.branch-card p { color: var(--muted); font-size: 0.96rem; }
/* margin-top:auto pushes the link to the card bottom, so all four align */
.branch-card .arrow-link { color: rgb(var(--c-rgb)); margin-top: auto; padding-top: 1.4rem; }
.branch-card:hover { border-color: rgba(var(--c-rgb), 0.4); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 50px rgba(var(--c-rgb), 0.10); }
.branch-card .eq { color: rgb(var(--c-rgb)); height: 18px; position: absolute; top: 1.6rem; right: 1.6rem; opacity: 0.55; }

/* Colour seeds for branch cards */
.c-production { --c-rgb: 175, 63, 255; }
.c-network    { --c-rgb: 255, 45, 189; }
.c-gear       { --c-rgb: 30, 113, 255; }
.c-live       { --c-rgb: 255, 180, 46; }

/* Association badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
}

/* Feature / value tiles */
.tile { padding: 1.8rem; }
.tile h3 { font-size: 1.15rem; letter-spacing: 0.03em; margin-bottom: 0.6rem; }
.tile .num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.tile p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 8. NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 11, 19, 0.62);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(100% - 3rem, 1320px); }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 30px; width: auto; }
.brand .brand-name {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.34em;
  font-size: 1.05rem;
  padding-left: 0.34em;
}
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; }
.nav-links a {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
/* Live nav item: visually distinct */
.nav-links a.nav-live {
  color: var(--live);
  border: 1px solid rgba(255, 180, 46, 0.32);
  margin-left: 0.4rem;
}
.nav-links a.nav-live:hover { background: rgba(255, 180, 46, 0.08); }
.nav-links a.nav-admin { color: var(--muted); }

/* Accessible visually-hidden utility (hides the switcher's text label) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Language switcher — themed to match the dark nav */
.lang-switch { display: flex; align-items: center; margin-left: 0.6rem; }
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.4rem 1.7rem 0.4rem 0.7rem;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
  /* caret */
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.lang-select:hover { border-color: rgba(var(--accent-rgb), 0.5); color: var(--text); }
.lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-select option { background: #0f1422; color: var(--text); }

/* Defensive: brand / hero logos must never be clipped by any container */
.brand img, .hero .mark, .page-hero .branch-logo, .branch-card .branch-logo,
.footer .brand img { display: block; object-fit: contain; max-width: 100%; }
.brand, .hero, .page-hero { overflow: visible; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 9. HERO ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6rem) var(--s-5); text-align: center; }
.hero .mark { height: clamp(84px, 13vw, 128px); width: auto; margin: 0 auto 1.8rem; filter: drop-shadow(0 14px 60px rgba(122, 63, 255, 0.3)); }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero .sub { max-width: 620px; margin: 0 auto 2.2rem; font-size: clamp(1rem, 2.4vw, 1.22rem); color: var(--text-soft); font-weight: 300; }

/* Page hero (interior pages) — compact so more content shows at a glance */
.page-hero { position: relative; padding-block: clamp(2.4rem, 6vw, 4.2rem) var(--s-4); }
.page-hero .branch-logo { height: clamp(60px, 9vw, 84px); width: auto; margin-bottom: 1.3rem; filter: drop-shadow(0 12px 44px rgba(var(--accent-rgb), 0.4)); }
.page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 200; letter-spacing: 0.08em; }
.page-hero .sub { max-width: 600px; margin-top: 1.1rem; font-size: 1.06rem; color: var(--text-soft); }

/* ---------- 10. PRICING / OFFERS ---------- */
.offer { display: flex; flex-direction: column; }
.offer .price {
  font-family: var(--display);
  font-weight: 200;
  font-size: 2.4rem;
  color: var(--text);
  margin: 0.3rem 0 0.2rem;
}
.offer .price small { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em; }
.offer h3 { font-size: 1.25rem; letter-spacing: 0.03em; }
.offer ul { list-style: none; margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.offer li { color: var(--text-soft); font-size: 0.94rem; padding-left: 1.5rem; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7); }
.offer.featured { border-color: rgba(var(--accent-rgb), 0.4); box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.08); }
.offer .tag { position: absolute; top: 1.4rem; right: 1.4rem; }
.offer .btn { margin-top: auto; }

/* Service list */
.service { display: flex; gap: 1.2rem; align-items: flex-start; }
.service .dot {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.service .dot .eq { height: 16px; }
.service h3 { font-size: 1.08rem; letter-spacing: 0.02em; }
.service p { color: var(--muted); font-size: 0.93rem; margin-top: 0.3rem; }

/* ---------- 11. FORMS ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.field label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.input, .textarea, select.input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus, select.input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.form-msg {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent-2);
  font-size: 0.9rem;
  display: none;
}
.form-msg.show { display: block; }

/* Lock / password mock */
.lock {
  max-width: 460px;
  margin-inline: auto;
  text-align: center;
}
.lock .lock-icon {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  border-radius: 16px; display: grid; place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
}
.lock-row { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.lock-row .input { text-align: center; letter-spacing: 0.3em; }

/* ---------- 12. DIRECTORY (Gear) ---------- */
.city-block { margin-bottom: var(--s-5); }
.city-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.city-head h3 { font-size: 1.5rem; letter-spacing: 0.06em; }
.city-head .count { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; }
.city-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.biz { padding: 1.5rem; }
.biz .biz-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.biz h4 { font-family: var(--display); font-weight: 400; font-size: 1.1rem; letter-spacing: 0.02em; }
.biz .type {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}
.biz .biz-meta { margin-top: 1rem; display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--muted); }
.biz .biz-meta a { color: var(--text-soft); }
.biz .biz-meta a:hover { color: var(--accent); }
.biz .note { margin-top: 0.9rem; font-size: 0.85rem; color: var(--faint); font-style: italic; }

/* ---------- 13. TIMELINE (Live) ---------- */
.timeline { display: grid; gap: 1.2rem; }
.event { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; padding: 1.5rem; align-items: center; }
.event .when {
  font-family: var(--display);
  font-weight: 200;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
}
.event .when .day { font-size: 2rem; color: var(--accent); }
.event .when .mon { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.event h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.02em; }
.event p { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.event .place { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; margin-top: 0.4rem; }

/* ---------- 14. ADMIN ---------- */
.admin-shell { max-width: 1000px; margin-inline: auto; }
.admin-dash { display: none; }
.admin-dash.show { display: block; animation: fade-up .5s ease; }
.admin-login.hide { display: none; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--surface); margin-bottom: 1.6rem;
}
.admin-bar .who { font-size: 0.85rem; color: var(--muted); }
.admin-tile { padding: 1.6rem; }
.admin-tile .k {
  font-family: var(--display); font-weight: 200; font-size: 2.2rem; color: var(--text);
}
.admin-tile .l { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.admin-tile .eq { height: 16px; margin-bottom: 1rem; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 15. CALLOUT / NOTE ---------- */
.callout {
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.07), transparent);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.callout .eq { flex: 0 0 auto; margin-top: 0.2rem; }
.callout p { color: var(--text-soft); font-size: 0.96rem; }
.callout strong { color: var(--accent); font-weight: 500; }

/* Big quote / mission */
.mission { font-family: var(--display); font-weight: 200; font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.4; letter-spacing: 0.02em; max-width: 880px; }
.mission .text-gradient { font-weight: 300; }

/* ---------- 16. LEGAL / PROSE ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; letter-spacing: 0.04em; margin-top: 2.6rem; margin-bottom: 0.9rem; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-soft); margin-bottom: 1rem; }
.prose a { color: var(--accent); }

/* ---------- 17. FOOTER ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: var(--s-5) var(--s-4); margin-top: var(--s-6); }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer .brand img { height: 28px; }
.footer .f-about { color: var(--muted); font-size: 0.9rem; max-width: 32ch; margin-top: 1.1rem; }
.footer h4 { font-family: var(--display); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text); margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer a { color: var(--muted); font-size: 0.9rem; }
.footer a:hover { color: var(--accent); }
.footer .nav-live-link { color: var(--live); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-soft);
  font-size: 0.8rem; color: var(--faint);
}
.footer-bottom .eq { height: 14px; }

/* ---------- 18. SCROLL REVEAL ---------- */
/* Only hide when JS is active (progressive enhancement). Without JS,
   the .js class is never added, so all content stays visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer .brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --s-7: 5rem; --s-6: 4rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 11, 19, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.5rem 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 0.95rem 0.5rem; border-radius: 8px; font-size: 0.88rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links a.nav-live { margin-left: 0; border: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child a { border-bottom: 0; }
  .lang-switch { margin-left: auto; margin-right: 0.4rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .event { grid-template-columns: 80px 1fr; gap: 1rem; }
  .event .when { padding-right: 1rem; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .footer .cols { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: auto; }
  .lock-row { flex-direction: column; }
}

/* ---------- 20. MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero .mark { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
