:root {
  --navy: #112232;
  --navy-2: #1B3452;
  --line: #2B4566;
  --mustard: #D9CA41;
  --mustard-ink: #112232;
  --cream: #FAFAF7;
  --muted: #B4C1D1;
  --mat: #2C5A3C;
  --tape: #2337B5;
  --red: #E86A5A;
  --brick: #B8433A;
  --display: "Jost", "Futura", "Futura PT", "Century Gothic", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* cutting-mat texture, as on the Instagram grid */
.mat {
  background-color: var(--mat);
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px, 22px 22px, 22px 22px;
}
.tape { position: absolute; background: var(--tape); opacity: .92; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.signup.mat { background-color: var(--brick); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(17,34,50,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; filter: invert(1); }
.links.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav { display: none; gap: 28px; }
.nav a { font-family: var(--display); font-weight: 800; font-size: 18px; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--mustard); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.icon-btn:hover { background: var(--navy-2); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mustard); color: var(--mustard-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge[hidden] { display: none; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--navy); display: flex; flex-direction: column; padding: 0 var(--gutter) 28px; }
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid var(--line); margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 8px) 0 var(--gutter); }
.menu nav { display: flex; flex-direction: column; margin-top: 16px; }
.menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 40px; }
.menu nav a span.label { color: var(--mustard); }
.menu .socials { margin-top: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--mustard); background: var(--mustard); color: var(--mustard-ink); font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1 1 160px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-photo { position: relative; height: min(60vh, 540px); min-height: 360px; overflow: hidden; background: var(--navy-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,34,50,0) 45%, rgba(17,34,50,.85) 100%); }
.hero-card { position: relative; margin: -110px var(--gutter) 0; padding: 22px 20px 24px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-card .tape { top: -14px; right: 18px; width: 110px; height: 28px; transform: rotate(-6deg); }
.hero-card h1 { margin: 6px 0 8px; font-size: 44px; }
.hero-card .when { font-size: 16px; margin: 0 0 18px; color: var(--cream); }

/* ---------- sections ---------- */
.section { padding: 48px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-size: 40px; }
.section-head a.more { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--mustard); white-space: nowrap; }
.section-head a.more:hover { text-decoration: underline; }
.page-title { padding: 36px 0 8px; }
.page-title h1 { margin: 0; font-size: 64px; }

/* ---------- gigs ---------- */
.gigs { list-style: none; margin: 0; padding: 0; }
.gig { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gig-date { grid-row: span 2; display: flex; flex-direction: column; }
.gig-date .d { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 34px; line-height: 1; color: var(--mustard); }
.gig-date .m { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.gig-title { font-weight: 700; font-size: 18px; line-height: 1.25; }
.gig-meta { font-size: 14px; color: var(--muted); }
.gig-cta { grid-column: 2; margin-top: 10px; }
.gig.past .gig-date .d { color: var(--cream); }
.tabs { display: flex; gap: 8px; margin: 18px 0 4px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--cream); background: transparent; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--cream); color: var(--navy); }

/* ---------- merch ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 18px; }
.product { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.product-img { position: relative; aspect-ratio: 1 / 1; background: var(--cream); border-radius: 4px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product:hover .product-img img { transform: scale(1.03); transition: transform .25s; }
.ribbon { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.product-price { font-size: 15px; color: var(--muted); }

/* product page */
.pdp { display: grid; gap: 24px; padding: 24px 0 48px; }
.pdp-gallery .main { aspect-ratio: 1 / 1; background: var(--cream); border-radius: 4px; overflow: hidden; }
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: var(--cream); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--mustard); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { margin: 0 0 6px; font-size: 40px; }
.pdp .price { font-size: 22px; font-weight: 700; margin: 0 0 18px; }
.pdp .desc { color: var(--muted); }
.pdp .desc p { margin: 0 0 6px; }
.option { border: 0; padding: 0; margin: 0 0 18px; }
.option legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { min-width: 56px; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 6px; background: transparent; font-weight: 700; cursor: pointer; }
.choice[aria-pressed="true"] { border-color: var(--mustard); background: var(--mustard); color: var(--mustard-ink); }
.choice[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.form-msg { min-height: 24px; margin: 10px 0 0; font-size: 14px; }
.form-msg.error { color: var(--red); }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--muted); text-decoration: none; font-size: 14px; }

/* ---------- show / listen / contact ---------- */
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 18px; background: var(--navy-2); border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.episodes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.episodes a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--mono); font-size: 13px; }
.episodes a:hover { border-color: var(--mustard); color: var(--mustard); }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.links a { display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--navy-2); border-radius: 6px; text-decoration: none; font-weight: 700; }
.links a:hover { background: var(--line); }
.contact a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact a strong { display: block; font-weight: 500; font-size: 17px; word-break: break-all; }

/* ---------- footer + quick bar ---------- */
.signup { position: relative; margin: 0 0 48px; padding: 28px 20px 22px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.signup .tape { top: -14px; right: 18px; width: 110px; height: 28px; transform: rotate(-6deg); }
.signup h2 { margin: 0 0 8px; font-size: 36px; }
.signup > p { margin: 0 0 16px; }
.signup .label { display: block; margin-bottom: 8px; color: var(--cream); }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-row input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid var(--cream); border-radius: 999px; background: rgba(17,34,50,.55); color: var(--cream); font: inherit; font-size: 16px; }
.signup-row input::placeholder { color: rgba(250,250,247,.6); }
.signup-row .btn { flex: 0 0 auto; }
.signup .form-msg.error { color: #FFD0C8; }
/* home: full-width band at the top of the page */
.home-signup .signup { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px var(--gutter); border-radius: 0; box-shadow: none; }
.home-signup .signup .tape, .home-signup .signup > p { display: none; }
.home-signup .signup h2 { flex: 0 0 auto; max-width: 7.2em; margin: 0; font-size: 15px; }
.home-signup .signup form { flex: 1 1 auto; min-width: 0; }
.home-signup .signup .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-signup .signup-row { flex-wrap: nowrap; gap: 8px; }
.home-signup .signup-row input { flex: 1 1 0; min-height: 44px; padding: 0 12px; }
.home-signup .signup-row .btn { min-height: 44px; padding: 0 12px; font-size: 14px; letter-spacing: .05em; }
.home-signup .form-msg { min-height: 0; margin: 4px 0 0; font-size: 13px; }
.home-signup .form-msg:empty { display: none; }
.home-signup .signup-done { font-size: 18px; }
.signup-done { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; }
.site-footer { margin-top: 56px; padding: 36px 0 110px; border-top: 1px solid var(--line); }
.site-footer .big-logo { width: 72%; max-width: 560px; height: auto; margin: 28px 0 14px; filter: invert(1); opacity: .14; }
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--mustard); padding-bottom: env(safe-area-inset-bottom); }
.quickbar a { display: flex; align-items: center; justify-content: center; min-height: 60px; color: var(--mustard-ink); font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-decoration: none; border-right: 1px solid rgba(17,34,50,.2); }
.quickbar a:last-child { border-right: 0; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); }
.scrim[hidden], .drawer[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(420px, 100%); background: var(--navy); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: contain; background: var(--cream); border-radius: 4px; }
.line-name { font-weight: 700; }
.line-desc { font-size: 13px; color: var(--muted); }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line-remove { background: none; border: 0; color: var(--muted); text-decoration: underline; min-height: 44px; cursor: pointer; font-size: 14px; }
.drawer-foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.totals { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.drawer-foot .note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.drawer-foot .btn { width: 100%; }
.empty { padding: 40px 0; color: var(--muted); }

.skeleton { background: linear-gradient(90deg, var(--navy-2), var(--line), var(--navy-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 4px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.status { padding: 18px 0; color: var(--muted); }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .nav { display: flex; }
  .site-header .wrap { height: 84px; }
  .logo img { height: 50px; }
  .links.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #menu-open { display: none; }
  .quickbar { display: none; }
  .site-footer { padding-bottom: 48px; }
  .signup { padding: 36px 40px 30px; max-width: 760px; }
  /* content starts 16px left of the logo and ends 16px past the header's right edge */
  .home-signup .signup { justify-content: center; gap: 24px; padding: 12px calc(max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) - 16px); max-width: none; }
  .home-signup .signup h2 { max-width: none; font-size: 26px; }
  .home-signup .signup form { flex: 1 1 360px; max-width: 520px; }
  .home-signup .signup-row input { padding: 0 16px; }
  .home-signup .signup-row .btn { padding: 0 18px; letter-spacing: .08em; }
  .signup h2 { font-size: 48px; }
  .hero-photo { height: min(82vh, 760px); }
  .hero-card { position: absolute; left: var(--gutter); bottom: 48px; margin: 0; width: 520px; }
  .hero-card h1 { font-size: 60px; }
  .section { padding-top: 80px; }
  .section-head h2 { font-size: 56px; }
  .page-title h1 { font-size: 96px; }
  .home-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
  .home-split .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gig { grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; }
  .gig-title, .gig-meta { grid-column: 2; }
  .gig-cta { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding-top: 40px; }
  .links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .home-signup .signup > p { display: block; margin: 0; font-size: 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
