/* ==========================================================================
   The Musicgrandeurs — core theme
   Black stage, neon-green light, yellow and orange for heat.
   ========================================================================== */

:root {
  /* ink */
  --black:        #05070a;
  --black-2:      #0a0e12;
  --panel:        #0e1319;
  --panel-2:      #131a21;
  --line:         rgba(155, 255, 60, 0.14);
  --line-soft:    rgba(255, 255, 255, 0.08);

  /* neon */
  --green:        #9bff3c;
  --green-bright: #c4ff6e;
  --green-deep:   #62d40f;
  --yellow:       #ffe23d;
  --orange:       #ff8a1e;
  --red:          #ff4d5e;

  --glow:         rgba(155, 255, 60, 0.55);
  --glow-soft:    rgba(155, 255, 60, 0.22);
  --glow-yellow:  rgba(255, 226, 61, 0.45);
  --glow-orange:  rgba(255, 138, 30, 0.45);

  /* text */
  --text:         #e9f2e6;
  --text-dim:     #93a397;
  --text-faint:   #5f6f66;

  --display: 'Anton', 'Archivo Black', Impact, 'Haettenschweiler', sans-serif;
  --body: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --accent: var(--green);
  --accent-glow: var(--glow);

  --radius: 14px;
  --radius-sm: 8px;
  --shell: 1220px;
  --nav-h: 72px;
}

/* Accent themes. Set on <html> for a whole line-up page, or on a single card
   or row to tint just that element. These must stay after :root so they win. */
[data-accent='green']  { --accent: var(--green);  --accent-glow: var(--glow); }
[data-accent='yellow'] { --accent: var(--yellow); --accent-glow: var(--glow-yellow); }
[data-accent='orange'] { --accent: var(--orange); --accent-glow: var(--glow-orange); }

*, *::before, *::after { box-sizing: border-box; }

/* flex and grid display values beat the hidden attribute unless we say so */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* the nav and the tab strip are both sticky, so anchors need room above them */
:target, [id] { scroll-margin-top: calc(var(--nav-h) + 64px); }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the room the band plays in: two soft light pools + a fine grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(155, 255, 60, 0.13), transparent 65%),
    radial-gradient(760px 520px at 92% 4%, rgba(255, 138, 30, 0.10), transparent 62%),
    radial-gradient(600px 480px at 50% 108%, rgba(255, 226, 61, 0.07), transparent 60%);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green-bright); }

::selection { background: var(--green); color: #05070a; }

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

/* ------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.1rem; letter-spacing: .04em; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.neon { color: var(--green); text-shadow: 0 0 24px var(--glow), 0 0 60px var(--glow-soft); }
.neon-yellow { color: var(--yellow); text-shadow: 0 0 24px var(--glow-yellow); }
.neon-orange { color: var(--orange); text-shadow: 0 0 24px var(--glow-orange); }

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green);
  text-stroke: 1.5px var(--green);
}

.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 62ch; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--mono); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* ----------------------------------------------------------------- layout */

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-head { margin-bottom: 2.75rem; }
.section-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }

/* main column + sidebar, stacking on narrow screens */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* a fixed-width thumbnail beside its details */
.media-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 640px) { .media-row { grid-template-columns: 1fr; } }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cluster { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

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

/* ------------------------------------------------------------------- nav */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #000; padding: .75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: .02em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand .mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 2px solid var(--green);
  border-radius: 9px;
  color: var(--green);
  font-size: 1rem;
  box-shadow: 0 0 18px var(--glow-soft), inset 0 0 14px rgba(155,255,60,.14);
}
.brand em { font-style: normal; color: var(--green); text-shadow: 0 0 18px var(--glow); }

.nav-links { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-dim);
  font-size: .87rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: .7rem; right: .7rem; bottom: .15rem;
  height: 2px; background: var(--green); box-shadow: 0 0 10px var(--glow);
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-soft); color: var(--text);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  font-size: 1.1rem;
}

/* the ensemble tab strip, directly under the nav */
.tabbar {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 14, 18, .6);
  position: sticky; top: var(--nav-h); z-index: 80;
  backdrop-filter: blur(12px);
}
.tabbar-inner { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.tabbar-inner::-webkit-scrollbar { display: none; }
.tab {
  --tab-accent: var(--green);
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: .1rem;
  padding: .85rem 1.15rem;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.tab[data-accent='green']  { --tab-accent: var(--green); }
.tab[data-accent='yellow'] { --tab-accent: var(--yellow); }
.tab[data-accent='orange'] { --tab-accent: var(--orange); }
.tab strong {
  font-family: var(--display); font-size: .98rem; letter-spacing: .04em;
  text-transform: uppercase; font-weight: 400;
}
.tab span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); font-family: var(--mono); }
.tab:hover { color: var(--text); background: rgba(255,255,255,.03); }
.tab.active { color: var(--tab-accent); border-bottom-color: var(--tab-accent); background: rgba(255,255,255,.03); }
.tab.active span { color: var(--tab-accent); opacity: .8; }
.tab.active strong { text-shadow: 0 0 18px currentColor; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem;
  font-family: var(--body);
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

/* Follows the accent of whatever it sits in, so a line-up page's call to
   action is that line-up's colour. */
.btn-primary {
  background: var(--accent);
  color: #04170a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 28px var(--accent-glow), 0 8px 30px rgba(0, 0, 0, .4);
  transform: translateY(-2px);
  color: #04170a;
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); box-shadow: 0 0 22px var(--glow-soft); }
.btn-yellow { background: var(--yellow); color: #1a1400; }
.btn-yellow:hover { box-shadow: 0 0 26px var(--glow-yellow); transform: translateY(-2px); color: #1a1400; }
.btn-orange { background: var(--orange); color: #1d0d00; }
.btn-orange:hover { box-shadow: 0 0 26px var(--glow-orange); transform: translateY(-2px); color: #1d0d00; }
.btn-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.btn-facebook:hover { background: #3b8bff; color: #fff; box-shadow: 0 0 24px rgba(24,119,242,.5); }
.btn-danger { background: transparent; border-color: rgba(255,77,94,.45); color: var(--red); }
.btn-danger:hover { background: rgba(255,77,94,.12); color: var(--red); }
.btn-sm { padding: .5rem 1rem; font-size: .72rem; }
.btn-lg { padding: 1rem 2rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ------------------------------------------------------------------ chips */

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(155,255,60,.06);
  color: var(--green);
  font-family: var(--mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.chip[data-accent='yellow'] { color: var(--yellow); border-color: rgba(255,226,61,.28); background: rgba(255,226,61,.07); }
.chip[data-accent='orange'] { color: var(--orange); border-color: rgba(255,138,30,.28); background: rgba(255,138,30,.07); }
.chip-muted { color: var(--text-dim); border-color: var(--line-soft); background: rgba(255,255,255,.04); }
.chip-red { color: var(--red); border-color: rgba(255,77,94,.3); background: rgba(255,77,94,.08); }

.badge-status { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 4px; }
.status-published, .status-approved, .status-scheduled { background: rgba(155,255,60,.14); color: var(--green); }
.status-draft, .status-pending, .status-new { background: rgba(255,226,61,.14); color: var(--yellow); }
.status-rejected, .status-cancelled, .status-archived { background: rgba(255,77,94,.14); color: var(--red); }
.status-soldout { background: rgba(255,138,30,.16); color: var(--orange); }

/* ------------------------------------------------------------------ cards */

.card {
  background: linear-gradient(160deg, var(--panel), var(--black-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 46px rgba(0,0,0,.6), 0 0 0 1px rgba(155,255,60,.1);
}
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--black-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,7,10,.85), transparent 55%);
}
.card-media .chip { position: absolute; top: .8rem; left: .8rem; z-index: 2; backdrop-filter: blur(6px); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.25rem; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--green); }
.card-meta {
  display: flex; gap: .9rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
}
.card-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-soft); }

.placeholder-media {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(155,255,60,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #101820, #070a0d);
  color: var(--text-faint);
  font-family: var(--display); font-size: 2rem; letter-spacing: .1em;
}

/* ------------------------------------------------------------------- hero */

.hero { position: relative; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .line { display: block; }
.hero-sub {
  font-family: var(--mono);
  font-size: clamp(.8rem, 1.6vw, 1rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(5,7,10,.7));
  mix-blend-mode: multiply;
}
/* the launch film, playing in the hero panel */
.hero-visual-film { aspect-ratio: 16 / 10; }
.hero-visual-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual-film::after {
  background: linear-gradient(200deg, transparent 55%, rgba(5, 7, 10, .55));
}
.film-sound {
  position: absolute; right: .85rem; bottom: .85rem; z-index: 3;
  padding: .45rem .95rem;
  border: 1px solid rgba(155, 255, 60, .45);
  border-radius: 100px;
  background: rgba(5, 7, 10, .55);
  backdrop-filter: blur(8px);
  color: var(--green);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.film-sound:hover { background: rgba(5, 7, 10, .8); box-shadow: 0 0 18px var(--glow-soft); }

.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat strong {
  display: block;
  font-family: var(--display); font-size: 2.2rem; color: var(--green);
  text-shadow: 0 0 26px var(--glow-soft); line-height: 1;
}
.hero-stat span { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }

/* scrolling ticker */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(155,255,60,.04);
  overflow: hidden;
  padding: .7rem 0;
}
.ticker-track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
  display: flex; align-items: center; gap: 2.5rem;
}
.ticker span::after { content: '◆'; color: var(--green); font-size: .6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ----------------------------------------------------------- page headers */

.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { margin-bottom: .35rem; }
.page-head .lead { margin-top: 1rem; }
.breadcrumb { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--green); }

/* ------------------------------------------------------------- shows list */

.show-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), var(--black-2));
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.show-row:hover { border-color: var(--line); transform: translateX(4px); box-shadow: -4px 0 0 0 var(--accent); }
.show-date {
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding-right: 1rem;
}
.show-date .day { font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--accent); text-shadow: 0 0 22px var(--accent-glow); }
.show-date .mon { font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.show-date .yr { font-family: var(--mono); font-size: .62rem; color: var(--text-faint); }
.show-info h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.show-info h3 a { color: var(--text); }
.show-info h3 a:hover { color: var(--accent); }
.show-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* -------------------------------------------------------------- calendar */

.calendar { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.calendar-head h3 { margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-grid .dow {
  padding: .6rem; text-align: center;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint); border-bottom: 1px solid var(--line-soft);
}
.calendar-cell {
  min-height: 96px;
  padding: .5rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell.other { opacity: .3; }
.calendar-cell.today { background: rgba(155,255,60,.05); }
.calendar-cell.today .num { color: var(--green); text-shadow: 0 0 14px var(--glow); }
.calendar-cell .num { font-family: var(--mono); font-size: .75rem; color: var(--text-faint); }
.cal-event {
  display: block; margin-top: .3rem; padding: .22rem .4rem;
  border-radius: 5px; font-size: .7rem; line-height: 1.3;
  background: rgba(155,255,60,.13); color: var(--green);
  border-left: 2px solid var(--green);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-event[data-accent='yellow'] { background: rgba(255,226,61,.13); color: var(--yellow); border-left-color: var(--yellow); }
.cal-event[data-accent='orange'] { background: rgba(255,138,30,.13); color: var(--orange); border-left-color: var(--orange); }

/* --------------------------------------------------------------- gallery */

.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1rem; }
.photo-tile {
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--panel);
}
.photo-tile img { width: 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem .9rem .8rem;
  background: linear-gradient(to top, rgba(5,7,10,.92), transparent);
  font-size: .82rem;
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.photo-tile:hover figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,5,7,.94);
  backdrop-filter: blur(10px);
  display: none; place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; border-radius: 10px; box-shadow: 0 0 80px rgba(155,255,60,.16); }
.lightbox-caption { text-align: center; margin-top: 1rem; color: var(--text-dim); font-size: .9rem; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid var(--line-soft);
  color: var(--text); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: grid; place-items: center;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-nav.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--green); color: var(--green); }

/* ---------------------------------------------------------------- videos */

.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-badge {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: rgba(5,7,10,.28); transition: background .25s ease;
}
.card:hover .play-badge { background: rgba(5,7,10,.1); }
.play-badge i {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green); color: #04170a;
  display: grid; place-items: center; font-style: normal; font-size: 1.2rem;
  box-shadow: 0 0 32px var(--glow);
  transition: transform .25s ease;
  padding-left: 4px;
}
.card:hover .play-badge i { transform: scale(1.12); }

/* -------------------------------------------------------------- article */

.article-body { font-size: 1.06rem; line-height: 1.8; max-width: 74ch; }
.article-body h2 { margin-top: 2.4rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.article-body h3 { margin-top: 2rem; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.article-body img { border-radius: var(--radius); margin: 1.8rem 0; }
.article-body blockquote {
  margin: 1.8rem 0; padding: .4rem 0 .4rem 1.6rem;
  border-left: 3px solid var(--green);
  color: var(--text); font-size: 1.15rem; font-style: italic;
}
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); }

.article-hero { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); margin-bottom: 2.5rem; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.byline { display: flex; align-items: center; gap: .85rem; margin: 1.5rem 0; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); background: var(--panel-2);
  display: grid; place-items: center; font-family: var(--display); color: var(--green); font-size: 1rem;
  flex: 0 0 auto;
}
.avatar-sm { width: 34px; height: 34px; font-size: .8rem; }
.avatar-lg { width: 92px; height: 92px; font-size: 2rem; }

/* -------------------------------------------------------------- comments */

.comments { margin-top: 3.5rem; }
.comment {
  display: flex; gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-soft);
}
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .35rem; }
.comment-head strong { font-size: .95rem; }
.comment-head time { font-family: var(--mono); font-size: .68rem; color: var(--text-faint); letter-spacing: .1em; }
.comment-text { white-space: pre-wrap; margin: 0; color: var(--text-dim); }
.comment-actions { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.comment-replies { margin-left: 2.4rem; margin-top: .5rem; border-left: 1px solid var(--line-soft); padding-left: 1.2rem; }
.comment.pending { opacity: .72; }
.moderator-note {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); border: 1px dashed rgba(255,226,61,.3); padding: .1rem .45rem; border-radius: 4px;
}

/* ----------------------------------------------------------------- forms */

.field { margin-bottom: 1.15rem; }
.field label, .label {
  display: block; margin-bottom: .45rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number],
input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=file], select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--black-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--body);
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(155,255,60,.12);
  background: var(--black);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.hint { font-size: .78rem; color: var(--text-faint); margin-top: .4rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .7rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); margin-top: .18rem; flex: 0 0 auto; }
.check span { font-size: .9rem; color: var(--text-dim); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

.form-panel {
  background: linear-gradient(160deg, var(--panel), var(--black-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.flash-stack { position: fixed; top: calc(var(--nav-h) + 12px); right: 1.25rem; z-index: 150; display: flex; flex-direction: column; gap: .6rem; max-width: min(420px, 90vw); }
.flash {
  padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  font-size: .9rem; display: flex; gap: .6rem; align-items: flex-start;
  animation: flash-in .35s cubic-bezier(.2,.8,.2,1);
}
.flash.error { border-color: rgba(255,77,94,.4); color: #ffd7db; }
.flash.success { border-color: rgba(155,255,60,.4); }
.flash.info { border-color: rgba(255,226,61,.35); }
.flash button { background: none; border: 0; color: inherit; opacity: .5; cursor: pointer; font-size: 1rem; }
@keyframes flash-in { from { opacity: 0; transform: translateX(20px); } }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); font-size: .9rem; margin-bottom: 1.25rem; }
.alert-error { border-color: rgba(255,77,94,.4); color: #ffd7db; background: rgba(255,77,94,.07); }
.alert-info { border-color: rgba(255,226,61,.3); background: rgba(255,226,61,.06); }
.alert-success { border-color: rgba(155,255,60,.35); background: rgba(155,255,60,.06); }

/* ----------------------------------------------------------------- misc */

.empty {
  padding: 3.5rem 1.5rem; text-align: center;
  border: 1px dashed var(--line-soft); border-radius: var(--radius);
  color: var(--text-faint);
}
.empty strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--text-dim); margin-bottom: .5rem; text-transform: uppercase; }

.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-soft); border-radius: 10px;
  font-family: var(--mono); font-size: .8rem; color: var(--text-dim); padding: 0 .8rem;
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); border-color: var(--green); color: #04170a; font-weight: 700; }

.split-cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(155,255,60,.12), transparent 70%),
    radial-gradient(500px 260px at 90% 100%, rgba(255,138,30,.1), transparent 70%),
    linear-gradient(160deg, var(--panel), var(--black-2));
  text-align: center;
}

/* --------------------------------------------------------------- footer */

.footer { border-top: 1px solid var(--line-soft); background: var(--black-2); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; color: var(--text-faint); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: var(--text-dim); font-size: .9rem; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-faint); font-family: var(--mono); letter-spacing: .06em;
}
.footer-credit { color: var(--text-dim); }
.footer-credit em { font-style: normal; color: var(--green); text-shadow: 0 0 16px var(--glow-soft); }
.footer-credit .sep { color: var(--text-faint); margin: 0 .15rem; }

.social { display: flex; gap: .5rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-soft); display: grid; place-items: center;
  color: var(--text-dim); font-size: .95rem;
  transition: all .2s ease;
}
.social a:hover { border-color: var(--green); color: var(--green); box-shadow: 0 0 18px var(--glow-soft); transform: translateY(-2px); }

/* ==========================================================================
   Responsive: desk → tablet → phone
   Breakpoints follow the layout, not device names: 1100 is where the studio
   sidebar gets tight, 980 where the hero can no longer sit beside its visual,
   760 where the main nav stops fitting, 560 where we are on a phone.
   ========================================================================== */

/* ---------------------------------------------------- tablet, landscape -- */

@media (max-width: 1100px) {
  .shell { width: min(100% - 2rem, var(--shell)); }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .masonry { columns: 3 220px; }
  .nav-links a { padding: .5rem .55rem; font-size: .82rem; }
}

/* ----------------------------------------------------- tablet, portrait -- */

@media (max-width: 980px) {
  .hero { padding-top: clamp(2.5rem, 7vw, 4rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-visual { max-width: 560px; aspect-ratio: 16/11; }
  .hero-visual-film { max-width: 640px; aspect-ratio: 16/10; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section-head .row { gap: 1.25rem; }
  .article-body { font-size: 1rem; }
  /* a sidebar under the article should not look like an afterthought */
  .two-col > aside .form-panel { max-width: none; }
}

.mobile-only { display: none; }

/* -------------------------------------------------- nav: menu takes over --
   Six links plus two buttons stop fitting beside the wordmark around here --
   an iPad in portrait included -- and a wrapped nav bar looks broken. */

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  /* the bar only has room for the booking button and the menu */
  .desktop-only { display: none; }
  .nav-links .mobile-only { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: rgba(5,7,10,.97);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line-soft);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .95rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-links a.active { color: var(--green); }
  .nav-links a.active::after { display: none; }
}

/* --------------------------------------------------------------- phone -- */

@media (max-width: 760px) {
  :root { --nav-h: 60px; }

  .brand { font-size: 1.1rem; }
  .brand .mark { width: 30px; height: 30px; font-size: .9rem; }

  /* the tab strip stays, but only its names -- two full sticky bars is too
     much of a small screen to give away */
  .tab { padding: .6rem .8rem; }
  .tab span { display: none; }
  .tab strong { font-size: .88rem; }

  .section { padding: clamp(2.5rem, 9vw, 3.5rem) 0; }
  .section-head { margin-bottom: 1.75rem; }
  .shell { width: min(100% - 2rem, var(--shell)); }

  .show-row { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1rem 1.1rem; }
  .show-date { padding-right: .75rem; }
  .show-date .day { font-size: 1.8rem; }
  .show-info h3 { font-size: 1.1rem; }
  .show-actions { grid-column: 1 / -1; justify-content: stretch; }
  .show-actions .btn { flex: 1; }

  .masonry { columns: 2 140px; column-gap: .7rem; }
  .masonry > * { margin-bottom: .7rem; }
  .footer { padding-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
  .footer-lineups { order: -1; }
  .social { justify-content: center; }

  .article-hero { aspect-ratio: 16/10; margin-bottom: 1.75rem; }
  .comment-replies { margin-left: 0; padding-left: .9rem; }
  .comment { gap: .7rem; }

  .flash-stack { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom)); left: 1rem; right: 1rem; max-width: none; }

  /* full-width, thumb-sized controls */
  .hero-actions { gap: .6rem; }
  .hero-actions .btn, .split-cta .btn { flex: 1 1 100%; }
  .btn-lg { padding: .95rem 1.5rem; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .lead { font-size: 1rem; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hero-stat strong { font-size: 1.8rem; }
  .field-row { grid-template-columns: 1fr; }
  .form-panel { padding: 1.25rem; }
  .cluster { gap: .5rem; }
  .pagination a, .pagination span { min-width: 40px; height: 40px; }
  .avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; }
  .breadcrumb { font-size: .64rem; }

  /* a month grid on a phone is unreadable; the agenda under it does the work */
  .calendar-grid .dow { font-size: .55rem; letter-spacing: .06em; padding: .4rem .1rem; }
  .calendar-cell { min-height: 44px; padding: .25rem .2rem; }
  .calendar-cell .num { font-size: .68rem; }
  .cal-event {
    font-size: 0; line-height: 0; height: 5px; padding: 0;
    margin-top: .2rem; border-radius: 3px; border-left: 0;
    background: var(--green);
  }
  .cal-event[data-accent='yellow'] { background: var(--yellow); }
  .cal-event[data-accent='orange'] { background: var(--orange); }
}

/* The month grid keeps its shape as a glance-at-the-month view; below 560px
   the agenda list under it carries the detail the squares can no longer show. */
.calendar-agenda { display: none; }
@media (max-width: 560px) {
  .calendar-agenda { display: block; margin-top: 1.5rem; }
  .calendar-agenda .show-row { padding: .85rem 1rem; }
}

/* ------------------------------------------------------ touch pointers -- */

@media (hover: none) {
  /* captions that only appear on hover are invisible on a touch screen */
  .photo-tile figcaption { opacity: 1; transform: none; padding-top: 2.2rem; }
  .card:hover { transform: none; }
  .card:hover .card-media img { transform: none; }
  .show-row:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; }
  .social a:hover { transform: none; }
  .stat:hover { transform: none; }

  /* everything tappable gets a finger-sized target */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .nav-toggle { width: 46px; height: 46px; }
  .tab { min-height: 46px; justify-content: center; }
  .lightbox-close, .lightbox-nav { width: 54px; height: 54px; }
  .lightbox-nav.prev { left: .75rem; }
  .lightbox-nav.next { right: .75rem; }
  .footer-links a { padding: .2rem 0; }
}

/* iOS zooms the page when a focused field is smaller than 16px */
@media (max-width: 760px) {
  input[type=text], input[type=email], input[type=password], input[type=url], input[type=number],
  input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea {
    font-size: 16px;
  }
}

/* keep content clear of notches and home indicators */
@supports (padding: max(0px)) {
  .footer { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
  .shell { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* reveal-on-scroll, progressively enhanced by main.js */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
