/* Jukebox Band NZ — jukeboxband.co.nz
   Retro-diner neon: dark room, warm jukebox glow, chrome trim. */

:root {
  --bg: #0e0906;
  --bg-2: #180f0a;
  --panel: #221610;
  --line: rgba(247, 237, 216, 0.12);
  --cream: #f7edd8;
  --cream-dim: rgba(247, 237, 216, 0.72);
  --yellow: #f7c531;
  --yellow-2: #ffdf70;
  --red: #e03a2f;
  --red-2: #ff6a4d;
  --chrome: #cfc7ba;
  --neon: #8fdcff;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-script: "Lobster", "Brush Script MT", cursive;
  --radius: 14px;
  --shadow-glow: 0 0 60px rgba(247, 197, 49, 0.25), 0 0 140px rgba(224, 58, 47, 0.18);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--yellow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--yellow-2); }

h1, h2, h3 {
  font-family: var(--font-cond);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--yellow); color: #000; padding: 8px 14px; z-index: 100; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

.hidden { display: none !important; }

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--yellow);
  margin-bottom: 0.9em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #1a1006;
  box-shadow: 0 0 0 4px rgba(247, 197, 49, 0.15), 0 8px 24px rgba(247, 197, 49, 0.25);
}
.btn--primary:hover { color: #1a1006; box-shadow: 0 0 0 4px rgba(247, 197, 49, 0.25), 0 12px 30px rgba(247, 197, 49, 0.35); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 237, 216, 0.35);
}
.btn--ghost:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) var(--gutter) 0;
  position: relative;
}
.wordmark {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(180deg, #ffe58a 0%, var(--yellow) 42%, var(--red-2) 60%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(247, 197, 49, 0.35));
  padding: 0.1em 0.2em;
}
.wordmark:hover { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 28px rgba(247, 197, 49, 0.6)); }
.site-header .tagline {
  font-family: var(--font-cond);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--chrome);
  margin: 0.4em 0 1.2em;
}
.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
  flex-wrap: wrap;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a { color: var(--cream-dim); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--yellow); }
.site-nav .nav-cta { color: var(--yellow); }
@media (max-width: 480px) { .site-nav { gap: 14px 18px; font-size: 0.95rem; letter-spacing: 0.12em; } }

/* Chrome strip */
.chrome-strip {
  height: 6px;
  margin-top: 22px;
  background: linear-gradient(90deg, #6e675d, #e9e3d6 25%, #8a8378 50%, #f2ede2 75%, #6e675d);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 -1px 0 rgba(0, 0, 0, 0.6) inset;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 90px) 0 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(224, 58, 47, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(247, 197, 49, 0.10), transparent 70%),
    var(--bg);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.hero__copy { padding-bottom: clamp(40px, 7vw, 90px); }
.hero__copy h1 { margin-bottom: 0.35em; }
.hero__copy h1 em { font-style: normal; color: var(--yellow); }
.hero__lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--cream-dim); max-width: 34ch; line-height: 1.45; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.8em; }

.hero__art {
  position: relative;
  align-self: start;
  display: flex;
  justify-content: center;
  margin-top: -0.4em;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 20% -10% -10%;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 197, 49, 0.45), rgba(224, 58, 47, 0.25) 40%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero__art img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
}

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { margin-top: 24px; }
  .hero__art img { width: min(70%, 280px); }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--red);
  color: #fff3d6;
  overflow: hidden;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  font-family: var(--font-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  padding: 12px 0;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 1.4em; }
.marquee span::after { content: "\2022"; color: var(--yellow); margin-left: 1.4em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { white-space: normal; text-align: center; }
  .marquee__track > *:nth-child(n+4) { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--panel { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__intro { max-width: 60ch; }
.section__intro p { color: var(--cream-dim); font-size: 1.15rem; }
.center { text-align: center; }
.center .section__intro { margin-inline: auto; }

/* Big statement */
.statement {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  text-transform: none;
  max-width: 24ch;
  margin: 0 auto;
}
.statement em { font-style: normal; color: var(--yellow); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  padding: 0;
  margin: clamp(32px, 5vw, 56px) 0 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 26px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.3rem;
  color: #1a1006;
  background: radial-gradient(circle at 35% 30%, #fff1b0, var(--yellow) 55%, #c9950f);
  box-shadow: 0 0 0 4px var(--bg-2), 0 0 0 6px rgba(247, 197, 49, 0.35), 0 0 22px rgba(247, 197, 49, 0.5);
}
.step h3 { margin-top: 6px; }
.step p { color: var(--cream-dim); margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Video ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000 center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  margin-top: clamp(28px, 4vw, 44px);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
  border: 0; cursor: pointer; color: var(--cream);
  font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.video__play span {
  display: inline-grid; place-items: center; gap: 12px;
}
.video__play i {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(224, 58, 47, 0.3), 0 0 40px rgba(224, 58, 47, 0.6);
  display: grid; place-items: center;
  transition: transform 0.15s ease;
}
.video__play i::after {
  content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px;
}
.video__play:hover i { transform: scale(1.07); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, 1fr);
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .g-1 { grid-column: span 4; grid-row: span 2; }
.gallery .g-2 { grid-column: span 2; grid-row: span 2; }
.gallery .g-3 { grid-column: span 2; }
.gallery .g-4 { grid-column: span 2; }
.gallery .g-5 { grid-column: span 2; grid-row: span 2; }
.gallery .g-6 { grid-column: span 2; }
.gallery .g-7 { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g-1 { grid-column: span 2; grid-row: span 2; }
  .gallery .g-2 { grid-column: span 1; grid-row: span 2; }
  .gallery .g-3, .gallery .g-4, .gallery .g-6, .gallery .g-7 { grid-column: span 1; }
  .gallery .g-5 { grid-column: span 1; grid-row: span 2; }
}

/* ---------- House rules card ---------- */
.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.rules__card {
  background: #120c08;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-glow);
  text-align: center;
}
.rules__card .script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--yellow);
  line-height: 1.1;
  margin: 0 0 0.5em;
}
.rules__card p { color: var(--cream-dim); font-size: 1.1rem; margin: 0; }
.rules__card .handle { display: block; margin-top: 1.2em; font-family: var(--font-cond); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.9rem; }
.rules__photo { border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* ---------- Occasions ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.4em; }
.chips span {
  font-family: var(--font-cond); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.95rem;
  border: 1px solid rgba(247, 237, 216, 0.25); border-radius: 999px; padding: 8px 16px; color: var(--cream-dim);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(64px, 10vw, 130px) 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(224, 58, 47, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(247, 197, 49, 0.12), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.cta-band p { color: var(--cream-dim); font-size: 1.2rem; max-width: 40ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.95rem;
}
.site-footer .wordmark { font-size: 2rem; margin-bottom: 0.4em; }
.social { display: flex; justify-content: center; gap: 22px; margin: 18px 0 10px; }
.social a { color: var(--cream); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-cond); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; }
.social a:hover { color: var(--yellow); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer p { margin: 0.35em 0; }
.site-footer small { display: block; margin-top: 18px; color: rgba(247, 237, 216, 0.45); }
.site-footer small a { color: inherit; }

/* ---------- Page title (inner pages) ---------- */
.page-title { padding: clamp(40px, 7vw, 80px) 0 clamp(20px, 3vw, 32px); text-align: center; }
.page-title p { color: var(--cream-dim); font-size: 1.2rem; max-width: 50ch; margin-inline: auto; }

/* ---------- Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form__row--single { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--chrome);
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  font: inherit;
  color: var(--cream);
  background: #0f0a07;
  border: 1px solid rgba(247, 237, 216, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(247, 197, 49, 0.2);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(247, 237, 216, 0.35); }
.form textarea { min-height: 150px; resize: vertical; }
.form input[type="date"] { color-scheme: dark; }
.form__hint { color: var(--cream-dim); font-size: 0.95rem; margin: 0 0 1.4em; }
.form .btn { width: 100%; text-align: center; }

.aside h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.aside p { color: var(--cream-dim); }
.aside .contact-line { font-size: 1.15rem; color: var(--cream); }
.aside .contact-line a { color: var(--yellow); }
.aside ul { padding-left: 1.1em; color: var(--cream-dim); }
.aside li { margin-bottom: 0.4em; }

/* ---------- Thanks / 404 ---------- */
.simple-page { padding: clamp(60px, 10vw, 120px) 0; text-align: center; }
.simple-page p { color: var(--cream-dim); font-size: 1.2rem; max-width: 46ch; margin-inline: auto; }
.simple-page .btn { margin-top: 1.4em; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
