/* Stormnet Events styles.
   Brand colours and fonts are the variables in :root below. Change --brand to recolour buttons and accents. */
/* Layout: a dark plum "show" world (hero, gallery, team) alternating with light working sections (events, hire, contact). Purple and grey come from the logo; stage-light violet is the one bright accent. */
:root {
  --bg: #f5f3f8;
  --surface: #ffffff;
  --ink: #1d1a24;
  --muted: #5d5a66;
  --line: #dfdae6;
  --night: #170c20;
  --night-2: #241330;
  --night-ink: #f5f0fb;
  --night-muted: #b9aec7;
  --night-line: #3a2848;
  --brand: #8a3db4;
  --brand-ink: #ffffff;
  --brand-soft: #f0e6f7;
  --glow: #d4a8f2;
  --logo-grey: #5c5c5c;
  --link: #7a2fa6;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #110d16; --surface: #1a1621; --ink: #ece8f2; --muted: #a49fb0; --line: #2c2636;
    --night: #0c0611; --night-2: #1a0e23; --night-ink: #f5f0fb; --night-muted: #b9aec7; --night-line: #33233f;
    --brand: #a65bd1; --brand-ink: #ffffff; --brand-soft: #291c33; --glow: #dcb6f6; --logo-grey: #bdbdbd; --link: #cf9ff2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #110d16; --surface: #1a1621; --ink: #ece8f2; --muted: #a49fb0; --line: #2c2636;
  --night: #0c0611; --night-2: #1a0e23; --night-ink: #f5f0fb; --night-muted: #b9aec7; --night-line: #33233f;
  --brand: #a65bd1; --brand-ink: #ffffff; --brand-soft: #291c33; --glow: #dcb6f6; --logo-grey: #bdbdbd; --link: #cf9ff2;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.eyebrow { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; max-width: 52ch; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.dark { background: var(--night); color: var(--night-ink); }
.dark .eyebrow { color: var(--glow); }
.dark .section-head p { color: var(--night-muted); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--night-ink); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--night-ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-muted); }
.chip { flex: none; display: grid; place-items: center; width: 52px; height: 38px; border-radius: 10px; background: #ffffff; }
.chip .l { stroke: #8a3db4; } .chip .r { stroke: #5c5c5c; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--night-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.82; }
.nav a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font: 600 1rem var(--font-body); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 28px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-brand:hover { filter: brightness(1.08); box-shadow: 0 12px 34px -10px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--night-ink) 6%, transparent); color: var(--night-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--night-ink) 35%, transparent); }
.nav .btn { padding: 9px 18px; font-size: 0.92rem; opacity: 1; }
.menu-toggle { display: none; background: none; border: 1px solid var(--night-line); border-radius: 8px; color: var(--night-ink); font: 600 0.95rem var(--font-body); cursor: pointer; padding: 7px 12px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--night-line); }
  .nav .btn { margin-top: 12px; border: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 55%, transparent) 50%, transparent 80%), linear-gradient(0deg, var(--night) 0%, transparent 30%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(84px, 12vw, 160px) clamp(48px, 7vw, 80px); display: grid; gap: 30px; }
.hero h1 { font-size: clamp(2.9rem, 8.6vw, 6.6rem); font-weight: 800; letter-spacing: -0.04em; max-width: 15ch; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #f1dcff 0%, var(--glow) 40%, #b06ee0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 48ch; color: color-mix(in srgb, var(--night-ink) 84%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: 28px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--night-ink) 16%, transparent); max-width: 860px; }
.hero-facts div { display: grid; gap: 2px; align-content: start; }
.hero-facts strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.hero-facts span { font-size: 0.92rem; color: var(--night-muted); }
@media (max-width: 640px) { .hero-facts { grid-template-columns: 1fr; } .hero::after { background: linear-gradient(0deg, var(--night) 10%, color-mix(in srgb, var(--night) 60%, transparent) 100%); } }

/* Ticker */
.ticker { background: var(--brand); color: var(--brand-ink); overflow: hidden; white-space: nowrap; border-block: 1px solid color-mix(in srgb, var(--brand-ink) 15%, transparent); }
.ticker-track { display: inline-flex; gap: 0; padding-block: 14px; animation: tick 48s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--brand-ink) 60%, transparent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Event types */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.type { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 26px; display: grid; gap: 8px; align-content: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.type:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--brand) 70%, transparent); }
.type .tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--link); letter-spacing: 0.12em; text-transform: uppercase; }
.type p { color: var(--muted); font-size: 0.95rem; }
.type.ask { background: linear-gradient(150deg, var(--brand), #5b2280); border-color: transparent; color: #ffffff; }
.type.ask p, .type.ask .tag { color: rgba(255, 255, 255, 0.85); }
.type.ask a { color: #ffffff; font-weight: 600; }
@media (max-width: 980px) { .types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .types { grid-template-columns: 1fr; } }

/* Gallery: three equal photo tiles */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--night-2); color: #ffffff; isolation: isolate; box-shadow: 0 30px 60px -34px rgba(166, 91, 209, 0.65); }
.shot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); z-index: 2; pointer-events: none; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: -2; transition: transform .7s ease; }
.shot:hover img { transform: scale(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 4, 16, 0) 45%, rgba(10, 4, 16, 0.88) 100%); z-index: -1; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 4px; }
.shot .tag { justify-self: start; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); padding: 4px 9px; border-radius: 999px; margin-bottom: 6px; }
.shot strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.shot span.desc { font-size: 0.92rem; color: rgba(255, 255, 255, 0.84); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shot:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .shot, .shot:last-child { grid-column: auto; aspect-ratio: 4 / 5; } }

/* Hire */
.hire { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.hire .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.hire-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.hire-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hire-list .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; }
.hire-list .ic svg { width: 21px; height: 21px; stroke: var(--link); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hire-list strong { font-weight: 600; }
.hire-list span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .hire { grid-template-columns: 1fr; } .hire .section-head { position: static; } }
@media (max-width: 560px) { .hire-list { grid-template-columns: 1fr; } }

/* Process */
.process-band { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.team-copy { display: grid; gap: 18px; max-width: 54ch; }
.team-copy p { color: var(--night-muted); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.person { margin: 0; display: grid; gap: 16px; justify-items: center; text-align: center; }
.portrait { position: relative; border-radius: 50%; overflow: hidden; width: 180px; aspect-ratio: 1 / 1; max-width: 100%; background: var(--night-2); outline: 3px solid var(--brand); outline-offset: 5px; box-shadow: 0 24px 50px -24px rgba(166, 91, 209, 0.7); }
.portrait::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); z-index: 1; pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.person figcaption { display: grid; gap: 2px; }
.person strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.person .role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); }
.person .num { color: var(--night-muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.values div { border-top: 2px solid var(--brand); padding-top: 10px; display: grid; gap: 4px; }
.values strong { font-family: var(--font-display); font-size: 1.05rem; }
.values span { font-size: 0.9rem; color: var(--night-muted); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .portrait { width: 132px; } }

/* Quote */
.quote { margin: 0 auto; max-width: 900px; text-align: center; display: grid; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.reviews-copy { display: grid; gap: 22px; }
.review-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.5vw, 32px); display: grid; gap: 14px; }
.review-card .rating { color: var(--brand); font-size: 1.1rem; letter-spacing: 0.15em; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.3; }
.review-card cite { font-style: normal; color: var(--muted); font-size: 0.92rem; }
.review-note { color: var(--muted); font-size: 0.95rem; }
.review-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 18px; }
.review-form-card h3 { font-size: 1.4rem; }
#review-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
#review-form input, #review-form select, #review-form textarea { background: var(--bg); }
.stars-field { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.stars-field legend { font-weight: 600; font-size: 0.92rem; padding: 0; margin-bottom: 6px; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .12s ease, transform .12s ease; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--brand); }
.stars label:hover { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
#review-notice { grid-column: 1 / -1; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
@media (max-width: 480px) { #review-form { grid-template-columns: 1fr; } }

/* Contact */
.book-band { background: var(--surface); border-top: 1px solid var(--line); }
.book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list .value { font-weight: 600; font-size: 1.08rem; }
.contact-list .value a { color: var(--ink); text-decoration-color: var(--glow); text-underline-offset: 3px; }
.contact-list .sub { color: var(--muted); font-size: 0.92rem; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3.5vw, 36px); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { min-height: 120px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); }
.notice { grid-column: 1 / -1; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: 10px; padding: 14px 16px; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 480px) { form { grid-template-columns: 1fr; } }

/* Footer */
.foot .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 0.92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--night-ink); opacity: 0.8; text-decoration: none; }
.foot a:hover { opacity: 1; }
.foot .addr { color: var(--night-muted); }
