/* Shared styles for the sub pages (music/, booking/).
   Copied from the <style> block in index.html (tokens, buttons, nav, sections, shows, form, footer).
   If you restyle those in index.html, update this file too. */
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Steamwreck"; src: url("../fonts/Steamwreck-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Steamwreck"; src: url("../fonts/Steamwreck-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #141414; --ink-deep: #101010; --ink-soft: #1b1a17;
  --soot: #2c220f; --bronze: #674e2e; --cream: #fbeeb7; --blush: #fde5db;
  --grey-3: #3b3b3b; --grey-5: #8c8c8c; --grey-7: #b7b7b7;
  --bg: var(--ink); --fg: var(--blush); --muted: var(--grey-7); --accent: var(--cream);
  --line: rgba(251, 238, 183, 0.14); --line-strong: rgba(251, 238, 183, 0.35); --line-active: rgba(251, 238, 183, 0.55);
  --error: #e0664a; --error-text: #f0907a;
  --sans: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --display: "Steamwreck", "Chakra Petch", sans-serif;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 40px; --s-8: 64px; --s-9: 96px;
  --t-xs: 12px; --t-sm: 14px; --t-base: 16px; --t-lg: 18px; --t-xl: 20px; --t-2xl: 24px; --t-3xl: 30px; --t-4xl: 36px; --t-5xl: 48px;
  --chamfer: 12px; --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: var(--t-base); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.1; text-wrap: balance; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--cream); color: var(--ink); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: var(--t-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Primitives ---------- */
.chamfer { clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer)); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; font-weight: 600; font-size: var(--t-sm); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent); color: var(--ink); }
.chamfer:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.btn-primary.chamfer:focus-visible, .btn.chamfer:hover:focus-visible { box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--blush); border-color: var(--blush); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; pointer-events: none; }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: var(--fg); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); color: var(--muted); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow { font-family: var(--display); font-size: clamp(16px, 1.5vw, 20px); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.mono-label { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-5); }

/* Social thumbnails (brand "highlights" badges) */
.socials { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.socials a { display: grid; justify-items: center; gap: 8px; width: 88px; padding: 6px 0; color: var(--muted); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; transition: color .2s var(--ease); }
.socials img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(251,238,183,.25); box-shadow: 0 6px 18px rgba(0,0,0,.5); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.socials a:hover, .socials a:focus-visible { color: var(--cream); }
.socials a:hover img, .socials a:focus-visible img { transform: translateY(-3px) scale(1.05); border-color: var(--cream); }
.socials.compact { justify-content: flex-start; gap: 10px; }
.socials.compact a { width: 44px; padding: 0; }
.socials.compact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.socials.compact img { width: 44px; height: 44px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20,20,20,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.nav .brand img { height: 30px; width: auto; }
.nav ul { display: flex; gap: 28px; font-size: var(--t-sm); letter-spacing: .14em; text-transform: uppercase; }
.nav ul a { color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.nav ul a:hover { color: var(--cream); border-color: var(--cream); }
.nav .btn { min-height: 44px; padding: 0 16px; }
.nav ul a[aria-current="true"] { color: var(--cream); border-color: var(--cream); }
.nav .menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line-strong); color: var(--fg); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.nav .menu-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .nav .menu-btn { display: inline-flex; }
  .nav nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(20,20,20,.97); border-bottom: 1px solid var(--line); }
  .nav nav[hidden] { display: none; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn span.long { display: none; }
}

/* ---------- Sections ---------- */
section.block { padding: var(--s-9) 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.sec-head { display: grid; gap: 10px; justify-items: center; text-align: center; margin-bottom: var(--s-7); }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 48px); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.sec-head p { color: var(--muted); max-width: 520px; }
.rule { width: 64px; height: 2px; background: var(--cream); }
.cta-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--cream); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; }
.cta-hint svg { width: 12px; height: 12px; }

/* Shows */
.shows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.shows h3 { font-size: var(--t-sm); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.show-list { list-style: none; }
.show-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.show-row .date { color: var(--cream); font-weight: 600; font-size: var(--t-sm); letter-spacing: .06em; }
.show-row .venue { color: var(--muted); font-size: var(--t-sm); }
.show-row .place { color: var(--grey-5); font-size: var(--t-sm); text-align: right; }
.show-row .tickets { display: inline-block; padding: 6px 0; color: var(--cream); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-active); transition: border-color .2s var(--ease); }
.show-row .tickets:hover, .show-row .tickets:focus-visible { border-color: var(--cream); }
.empty { padding: 24px; border: 1px solid var(--line-strong); display: grid; gap: 12px; justify-items: start; }
.empty p { color: var(--muted); }
@media (max-width: 860px) { .shows { grid-template-columns: 1fr; } }

/* Booking */
.book { background: linear-gradient(180deg, var(--ink-deep) 0%, #1a150c 100%); border-top: 2px solid var(--cream) !important; }
.book-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.book-info { display: grid; gap: 20px; color: var(--muted); }
.book-info h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 52px); letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.book-info dl { display: grid; gap: 12px; }
.book-info dt { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-5); }
.book-info dd { color: var(--fg); }
.book-info dd a, footer p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-active); transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.book-info dd a:hover, footer p a:hover { color: var(--cream); text-decoration-color: currentColor; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; background: var(--ink-soft); border: 1px solid var(--line); }
form .span { grid-column: 1 / -1; }
form .actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
form .btn-primary { min-height: 56px; padding: 0 32px; font-size: var(--t-base); }
form .form-error { grid-column: 1 / -1; padding: 12px 16px; border: 1px solid var(--error); color: var(--error-text); font-size: var(--t-sm); }
@media (max-width: 640px) { form .btn-primary { width: 100%; } form { padding: 20px; } }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea { background-color: rgba(251,238,183,.05); border: 1px solid var(--line-strong); padding: 12px 16px; min-height: 48px; color: var(--fg); transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b7b7b7' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: #1b1a17; color: var(--blush); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-active); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background-color: rgba(251,238,183,.08); }
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error :is(input, select, textarea):focus { box-shadow: 0 0 0 1px var(--error); border-color: var(--error); }
.field .error { display: none; font-size: var(--t-sm); color: var(--error-text); }
.field.has-error .error { display: block; }
.form-note { font-size: var(--t-sm); color: var(--grey-7); }
.form-note .req { color: var(--accent); }
.form-success { display: none; padding: 32px; border: 1px solid var(--accent); }
.form-success h3 { font-size: var(--t-2xl); margin-bottom: 8px; }
form.is-done { display: none; }
form.is-done + .form-success { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
footer { padding: var(--s-7) 0; border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; color: var(--grey-5); font-size: var(--t-sm); }
footer .wrap > p { justify-self: end; text-align: right; }
@media (max-width: 860px) { footer .wrap { grid-template-columns: 1fr; justify-items: center; } footer .wrap > p { justify-self: center; text-align: center; } }
footer .emblem { height: 40px; }



/* ---------- Sub page parts ---------- */
.page-head { position: relative; padding: var(--s-9) 0 var(--s-8); text-align: center; overflow: hidden; isolation: isolate; background: var(--ink-deep); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #0f0d0a url("../img/texture-1.jpg") center / cover no-repeat; opacity: .55; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 60% at 50% 30%, rgba(224,138,42,.16), transparent 70%), linear-gradient(180deg, rgba(20,20,20,.35) 0%, rgba(20,20,20,.95) 100%); }
.page-head .sec-head { margin-bottom: 0; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 60px); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.page-head .lead { max-width: 640px; color: var(--muted); font-size: var(--t-lg); }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--s-4); }
.page-head .actions .btn svg { width: 12px; height: 12px; }
.prose { max-width: 720px; margin-inline: auto; display: grid; gap: 16px; color: var(--muted); font-size: var(--t-lg); text-align: center; }
.prose strong { color: var(--fg); font-weight: 500; }
.labels { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.labels li { display: contents; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts > div { padding: 20px; border: 1px solid var(--line); background: var(--ink-soft); }
.facts dt { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-5); margin-bottom: 6px; }
.facts dd { color: var(--fg); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--s-6); }

/* Discography list */
.disco { display: grid; gap: var(--s-7); max-width: 860px; margin-inline: auto; }
.disco h3 { font-size: var(--t-sm); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.disco-list { list-style: none; }
.disco-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.disco-row img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); background: var(--ink-deep); }
.disco-row .t { display: block; color: var(--fg); font-weight: 600; line-height: 1.25; }
.disco-row .t small { display: block; font-weight: 400; color: var(--grey-7); font-size: var(--t-sm); }
.disco-row .m { display: block; color: var(--grey-5); font-size: var(--t-sm); margin-top: 2px; }
.disco-row .go { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-strong); color: var(--cream); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.disco-row .go svg { width: 12px; height: 12px; }
.disco-row .go:hover, .disco-row .go:focus-visible { background: var(--cream); color: var(--ink); }
.disco-row .go.presave { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@media (max-width: 560px) { .disco-row { grid-template-columns: 48px minmax(0, 1fr); } .disco-row img { width: 48px; height: 48px; } .disco-row .go { grid-column: 2; justify-self: start; } }
footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; }
footer nav a { color: var(--grey-7); }
footer nav a:hover, footer nav a[aria-current="page"] { color: var(--cream); }
.nav ul a[aria-current="page"] { color: var(--cream); border-color: var(--cream); }

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