:root {
  /* Colours from the brand pitch, sampled from the 2024 cover */
  --ink: #1c1611;        /* Varnish: page background */
  --ink-2: #2a2719;      /* Olive umber: alternate sections */
  --cream: #f2e8d5;      /* Ruff: text */
  --muted: #b3a68e;      /* secondary text */
  --ember: #c8643a;      /* Burnt sienna: buttons */
  --ember-lt: #d9774b;   /* lighter sienna for text links, readable on both backgrounds */
  --gilt: #b8955a;       /* Gilt: kept for the picture frames, not used yet */
  --pink: #e552a7;       /* Keyhole pink: the "New album" tag only */
  --line: rgba(242, 232, 213, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
}

/* Shop switch. While this rule is here, the Shop menu item and the home page's
   shop section are hidden on every page. /shop itself still works for anyone
   with the link, so the band can check products before opening.
   To open the shop: delete this rule, and the noindex line in shop.html. */
[data-shop-entry] { display: none !important; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-lt); }
a:hover { color: var(--cream); }
h2, h1.page-title {
  font: 600 clamp(2rem, 4vw, 2.8rem)/1.1 var(--serif);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-dark { background: var(--ink-2); }
.lede { color: var(--muted); margin: -0.6em 0 2em; max-width: 60ch; }
.small { color: var(--muted); font-size: 0.95rem; margin-top: 1.6em; }

/* Logo is black on transparent; flip it to cream for the dark theme */
.nav-logo img, .hero h1 img { filter: invert(93%) sepia(12%) saturate(300%) hue-rotate(345deg); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ember);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ember);
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--ember-lt); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-big { font-size: clamp(1rem, 3.5vw, 1.25rem); padding: 16px 28px; overflow-wrap: anywhere; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(28, 22, 17, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ember-lt); }
.nav-links .nav-cta { color: var(--ember-lt); }
.nav-links a[aria-current="page"] { color: var(--ember-lt); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--cream);
  font: 500 0.9rem var(--sans); padding: 6px 14px; border-radius: 999px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: end center; text-align: center;
  overflow: hidden;
}
/* The logo and buttons sit low and the photo is zoomed a little from the bottom, so the
   faces stay above the text. Check phone, laptop and wide screens if the photo changes. */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  transform: scale(1.08); transform-origin: 50% 100%;
  filter: brightness(0.72);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28,22,17,0) 55%, var(--ink) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 120px 20px clamp(40px, 8svh, 88px); }
.hero h1 { margin: 0; }
.hero h1 img { width: min(480px, 70vw, 55svh); margin: 0 auto; }
.tag-new {
  display: inline-block; vertical-align: .2em; margin-right: .5em;
  background: var(--pink); color: var(--ink); text-shadow: none;
  font: 700 .62em/1 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 3px;
}
.hero-tag { font: 400 clamp(1.05rem, 2.4vw, 1.35rem)/1.4 var(--serif); font-style: italic; margin: 1.2em 0 2em; text-shadow: 0 2px 12px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.8); }
.hero h1 img { filter: invert(93%) sepia(12%) saturate(300%) hue-rotate(345deg) drop-shadow(0 4px 18px rgba(0,0,0,.6)); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Listen */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.albums iframe { width: 100%; border: 0; border-radius: 12px; background: var(--ink-2); }
.track { display: block; width: 100%; border: 0; border-radius: 12px; margin: 0 0 24px; background: var(--ink-2); }

/* Watch */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.video { margin: 0; }
.video button, .video iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 10px; overflow: hidden; padding: 0;
  background: #000; cursor: pointer; position: relative;
}
.video button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .85; }
.video button:hover img, .video button:focus-visible img { transform: scale(1.04); opacity: 1; }
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%231c1611'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.video figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.video figcaption b { display: block; color: var(--cream); font-weight: 600; font-size: 1rem; }

/* Gigs */
.gigs { min-height: 80px; }
.gigs .bit-widget-initializer { color: var(--ember-lt); }

/* Shop */
.shop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
/* The cart button floats at the bottom right, and gives a small bump when something is added. */
.cart-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.cart-btn.bump { animation: cart-bump .4s ease; }
@keyframes cart-bump { 40% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .cart-btn.bump { animation: none; } }
/* Room under the footer so the floating button never covers its links. */
body:has(.cart-btn:not([hidden])) .footer { padding-bottom: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.test-banner {
  border: 1px dashed var(--ember); color: var(--cream); background: rgba(200, 100, 58, .1);
  padding: 12px 16px; border-radius: 10px; margin: 0 0 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip {
  font: 500 0.9rem var(--sans); color: var(--cream); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ember); }
.chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--ink); font-weight: 600; }
.chip:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product {
  background: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column;
}
.product > img, .product-placeholder {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #000;
}
.product-placeholder { display: grid; place-items: center; background: var(--ink-2); }
.product-placeholder img { width: 70%; filter: invert(93%) sepia(12%) saturate(300%) hue-rotate(345deg); opacity: .35; }
.product h3 { font: 600 1.15rem/1.3 var(--serif); margin: 14px 0 4px; }
.product-option, .product-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 4px; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product .btn { padding: 8px 16px; font-size: 0.9rem; }
.price { font-weight: 600; font-size: 1.1rem; }

.product-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.product-open > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.linklike { all: unset; cursor: pointer; }
.linklike:hover, .linklike:focus-visible { color: var(--ember-lt); }
.sold-out { color: var(--muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product.is-sold-out .product-open > img { opacity: .5; }

/* Product view */
.product-view {
  width: min(880px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  background: var(--ink-2); color: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 0; overflow: auto;
}
.product-view[open] { display: grid; grid-template-columns: 1.1fr 1fr; }
.product-view::backdrop { background: rgba(0, 0, 0, .65); }
.product-view .cart-close { z-index: 2; }
.pv-gallery { position: relative; background: #000; }
.pv-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 1; height: 100%;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-track > * { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.pv-track > .product-placeholder { aspect-ratio: auto; border-radius: 0; }
.pv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(28, 22, 17, .7); color: var(--cream); font-size: 1.5rem; line-height: 1;
}
.pv-prev { left: 10px; }
.pv-next { right: 10px; }
.pv-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.pv-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(242, 232, 213, .4); cursor: pointer; }
.pv-dot[aria-current="true"] { background: var(--cream); }
.pv-body { padding: 28px 24px 24px; display: flex; flex-direction: column; }
.pv-category { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.pv-body h2 { font-size: 1.9rem; margin: 0 0 8px; }
.pv-price { font-size: 1.3rem; margin: 0 0 12px; }
.pv-desc { color: var(--muted); margin: 0 0 12px; }
.pv-label { font-size: .9rem; color: var(--muted); margin: 14px 0 8px; }
.pv-label strong { color: var(--cream); font-weight: 600; }
.swatches, .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 52px; height: 52px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); background: var(--ink); color: var(--cream); font-size: .7rem;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch[aria-pressed="true"] { border-color: var(--ember); }
.swatch.is-out { opacity: .4; }
.opt {
  min-width: 52px; padding: 9px 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--cream); font: 600 .95rem var(--sans);
}
.opt:hover { border-color: var(--ember); }
.opt[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.opt.is-out { text-decoration: line-through; color: var(--muted); opacity: .55; cursor: not-allowed; }
.opt:focus-visible, .swatch:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.pv-hint { color: var(--muted); font-size: .9rem; min-height: 1.4em; margin: 16px 0 8px; }
.pv-add { margin-top: auto; width: 100%; cursor: pointer; }
.pv-add[disabled] { opacity: .45; cursor: not-allowed; }

/* Cart dialog */
.cart {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--line); border-radius: 14px; padding: 24px;
}
.cart::backdrop { background: rgba(0, 0, 0, .65); }
.cart h2 { font-size: 1.8rem; }
.cart-close { position: absolute; top: 10px; right: 12px; margin: 0; }
.cart-close button { background: none; border: 0; color: var(--cream); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.cart-line { display: grid; grid-template-columns: 1fr auto 80px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-amount { text-align: right; }
.cart-sub { color: var(--muted); }
.cart-total { font-weight: 600; border-bottom: 0; }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: none; color: var(--cream); cursor: pointer; font-size: 1rem;
}
.checkout fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.checkout legend { font: 600 1.1rem var(--serif); margin-bottom: 10px; }
.checkout label { display: block; font-size: 0.9rem; margin-bottom: 12px; color: var(--muted); }
.checkout input, .checkout select, .checkout textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  background: var(--ink); color: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 16px;
}
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; }
.checkout .row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.optional { color: var(--muted); opacity: .7; }
.checkout .btn-big { width: 100%; margin-top: 8px; cursor: pointer; }
.checkout .btn[disabled] { opacity: .6; cursor: wait; }
.checkout-error { color: #ffb48a; background: rgba(200, 100, 58, .14); padding: 10px 12px; border-radius: 8px; }

/* Bio */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bio-grid img { border-radius: 12px; }
.bio-grid p { max-width: 58ch; }

/* Returns policy on the shop page */
.returns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.returns h3 { font: 600 1.15rem/1.3 var(--sans); margin: 0 0 .5em; }
.returns p { color: var(--muted); font-size: .95rem; margin: 0 0 1em; }
@media (max-width: 820px) { .returns-grid { grid-template-columns: 1fr; gap: 8px; } }

/* Pages under the fixed menu */
.page-top { padding-top: 140px; }

/* Home: the quiet line pointing to Bookings */
.quiet-line { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); }
.quiet-line p { margin: 0; }
/* The one-line introduction under the home page photo */
.section.intro-line { padding: 56px 0 0; }
.intro-line .lede { margin: 0; font-size: 1.15rem; max-width: 52ch; }

/* Bookings */
/* Wide crop from the bottom of the photo, so the roof and stage light are cut off. */
.bookings-photo { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 12px; margin-bottom: 40px; }
/* Wide photo above the heading on Tour and Music */
.page-photo { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }
.page-photo-tour { object-position: 50% 35%; }
.page-photo-music { object-position: 50% 55%; }
@media (max-width: 820px) { .page-photo { aspect-ratio: 16 / 10; } }
.bookings-body { max-width: 680px; }
.bookings-body p { max-width: 62ch; }
.bookings-body h2 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }
.kicker { margin: 0 0 10px; color: var(--ember-lt); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.bookings-list { margin: 0 0 1.4em; padding-left: 1.2em; }
.bookings-list li { margin-bottom: 4px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 20px; flex-wrap: wrap; }
.socials a { color: var(--cream); text-decoration: none; }
.socials a:hover { color: var(--ember-lt); }
.footer p { margin: 0; }

/* Phones and small tablets */
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .albums, .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product { padding: 10px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .cart { padding: 20px 16px; }
  .product-view[open] { grid-template-columns: 1fr; }
  .pv-body { padding: 20px 16px; }
  .pv-arrow { display: none; }
  .bio-grid img { order: -1; }
  .page-top { padding-top: 104px; }
  .bookings-photo { margin-bottom: 28px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
