/* Coda World — E.A.T
   Layout: framed modular grid; chunky cream borders with a crimson offset shadow, label-style tags. */
:root {
  --brown: #2B231F;      /* Pastel Espresso Brown — page */
  --black: #161312;      /* Deep Charcoal — containers */
  --crimson: #A33B37;    /* Muted Crimson — accent / CTA */
  --cream: #E6DFD5;      /* Warm Sand — text & framing */
  --rose: #C48B83;       /* Dusty Rose — secondary highlight */
  --brown-2: #3A2F29;    /* lifted brown for hovers */
  --muted: #A99C90;      /* softened sand for metadata */
  --crimson-text: #BA6C69; /* crimson lifted for readable text on dark */
  --crimson-text: color-mix(in srgb, var(--crimson) 75%, white);

  --display: "Fraunces", "Cooper Black", "Cooper Std", Georgia, serif;
  --body: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --label: "Courier Prime", "Courier New", Courier, monospace;

  --frame: 4px solid var(--cream);
  --shadow: 6px 6px 0 var(--crimson);
  --gutter: clamp(16px, 4vw, 36px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Keep the footer at the bottom of the window on short pages. */
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  /* faint paper grain */
  background-image: radial-gradient(rgba(230, 223, 213, .035) 1px, transparent 1px);
  background-size: 4px 4px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--crimson); color: var(--cream); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--crimson); padding: 8px 12px; }
.skip:focus { left: 8px; }

h1, h2, h3, .logo-main {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7.5vw, 96px); letter-spacing: -.5px; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0; }
.label {
  font-family: var(--label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.crimson { color: var(--crimson-text); }
.rose { color: var(--rose); }

/* ---------- Frames & tags ---------- */
.frame { border: var(--frame); background: var(--black); box-shadow: var(--shadow); }
.frame.red { border-color: var(--crimson); box-shadow: 6px 6px 0 var(--cream); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border: 2px solid var(--cream); background: var(--brown); color: var(--cream);
  border-radius: 2px; align-self: flex-start; width: fit-content;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); }
.tag.rose { border-color: var(--rose); color: var(--rose); }
.tag.rose::before { background: var(--rose); }
.tag.solid { background: var(--crimson); }
.tag.solid::before { background: var(--cream); }
.tag.dim { opacity: .65; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  background: var(--crimson); color: var(--cream); border: 3px solid var(--cream);
  padding: 12px 20px; text-decoration: none; border-radius: 3px;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform .12s, box-shadow .12s, background .12s, color .12s;
}
.btn:hover { background: var(--cream); color: var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--black); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--cream); color: var(--black); }
.btn:disabled { opacity: .5; cursor: not-allowed; background: var(--brown-2); color: var(--muted); }
.btn.block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--brown);
  padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 10px max(var(--gutter), env(safe-area-inset-left, 0px));
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 12px 18px;
}
.logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-main { font-size: 30px; letter-spacing: 2px; }
.logo-main.small { font-size: 24px; }
.logo-sub { font-family: var(--label); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--crimson-text); margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; padding: 6px 12px; border: 2px solid transparent; border-radius: 3px;
}
.nav a:hover { border-color: var(--cream); }
.nav a[aria-current="page"] { background: var(--crimson); border-color: var(--cream); }
.cart-btn {
  font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  border: 3px solid var(--cream); background: var(--brown); padding: 6px 12px; border-radius: 3px;
}
.cart-btn:hover { background: var(--brown-2); }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 6px; display: inline-grid; place-items: center;
  background: var(--crimson); border-radius: 12px; font-size: 13px;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); background: var(--rose); } }

/* ---------- Layout ---------- */
.main {
  flex: 1 0 auto; width: 100%;
  max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; outline: none;
  padding-block: 36px 72px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.page { display: flex; flex-direction: column; gap: 40px; animation: rise .35s ease; }
#main.still .page { animation: none; }
@keyframes rise { from { opacity: .001; transform: translateY(8px); } }
.section { padding: clamp(20px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.page-title { display: flex; flex-direction: column; gap: 12px; }
.page-title p { color: var(--muted); max-width: 60ch; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(20px, 3.5vw, 40px); }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-copy h1 { font-size: clamp(40px, 5.6vw, 80px); }
.hero-copy h1 .line2 { color: var(--crimson-text); display: block; }
.hero-copy p { font-size: 18px; max-width: 52ch; }
.hero-copy p a { text-decoration-color: var(--crimson); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.hero-copy p a:hover { color: var(--rose); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.polaroid {
  background: var(--cream); padding: 14px 14px 56px; position: relative;
  transform: rotate(-2.5deg); box-shadow: 10px 10px 0 var(--crimson);
  max-width: 460px; justify-self: center; width: 100%;
}
.polaroid .photo { aspect-ratio: 4 / 5; background: var(--brown); overflow: hidden; border: 2px solid var(--black); }
.polaroid .photo img, .polaroid .photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .caption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-family: var(--label); font-weight: 700; color: var(--black); letter-spacing: 1px;
}
.polaroid .tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(3deg);
  background: rgba(196, 139, 131, .75);
}

/* ---------- Tiles (home) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tile { padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--crimson); }
.tile p { color: var(--muted); }
.tile .go { font-family: var(--label); font-weight: 700; color: var(--rose); margin-top: auto; }

/* ---------- Music ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  border: 3px solid var(--cream); background: var(--brown); text-decoration: none; border-radius: 3px;
  transition: background .12s, transform .12s;
}
.platform:hover { background: var(--crimson); transform: translateY(-2px); }
.platform b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 22px; line-height: 1.15; }
.platform span { font-family: var(--label); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.platform:hover span { color: var(--cream); }
.platform.soon { opacity: .6; pointer-events: none; }

.singles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.single { display: flex; flex-direction: column; }
.single .art { aspect-ratio: 1; border-bottom: var(--frame); overflow: hidden; }
.single .art svg { width: 100%; height: 100%; display: block; }
.single .meta { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.single .links { display: flex; gap: 8px; flex-wrap: wrap; }
.single .links a { font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 4px 8px; border: 2px solid var(--cream); text-decoration: none; border-radius: 2px; }
.single .links a:hover { background: var(--cream); color: var(--black); }

.embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.embeds iframe { width: 100%; border: 3px solid var(--cream); border-radius: 4px; background: transparent; }
/* The page is dark-mode; players are not. Matching color-scheme stops browsers painting a white box behind them. */
.embeds iframe, .player-frame iframe { color-scheme: normal; }
.embeds iframe.spotify { border: 0; border-radius: 12px; }
.embed-card {
  min-height: 315px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  padding: 28px; border: 3px solid var(--cream); border-radius: 4px; background: var(--brown-2); text-decoration: none;
}
.embed-card h3 { margin: 0; font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.embed-card:hover { background: var(--crimson); }

/* ---------- Bio ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bio-text { padding: clamp(20px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.bio-text p { font-size: 18px; max-width: 62ch; }
.bio-side { display: flex; flex-direction: column; gap: 36px; }
.bio-photo { transform: rotate(2deg); max-width: none; margin-top: 8px !important; }
.bio-photo .photo { aspect-ratio: 5 / 4; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 40px; line-height: 1; }
.fact.wide { grid-column: 1 / -1; }
.route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 24px; }
.route .arrow { color: var(--crimson-text); font-family: var(--label); }

.venues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.venue { padding: 20px; border: 3px solid var(--cream); background: var(--brown); display: flex; flex-direction: column; gap: 8px; border-radius: 3px; }
.venue address { font-style: normal; color: var(--muted); }
.venue a { font-family: var(--label); font-weight: 700; color: var(--rose); text-decoration: none; margin-top: auto; }
.venue a:hover { text-decoration: underline; }

/* ---------- Shop ---------- */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--label); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 12px; border: 2px solid var(--cream); background: transparent; border-radius: 20px;
}
.chip:hover { background: var(--brown-2); }
.chip[aria-pressed="true"] { background: var(--crimson); }
.notice { padding: 14px 18px; border: 2px dashed var(--rose); color: var(--rose); font-family: var(--label); font-size: 14px; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product { display: flex; flex-direction: column; background: var(--brown); border: 3px solid var(--cream); border-radius: 3px; }
.product .ph { aspect-ratio: 1; position: relative; background: var(--black); border-bottom: 3px solid var(--crimson); display: grid; place-items: center; overflow: hidden; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .ph svg { width: 72%; height: auto; transition: transform .3s; }
.product:hover .ph svg { transform: rotate(-3deg) scale(1.04); }
.product .ph .tag { position: absolute; top: 12px; left: 12px; }
.product .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product h3 { font-size: 20px; }
.price { font-family: var(--label); font-weight: 700; color: var(--rose); font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product select {
  font-family: var(--label); font-size: 14px; color: var(--cream); background: var(--black);
  border: 2px solid var(--cream); padding: 8px 10px; border-radius: 3px; width: 100%;
}
.product .btn { margin-top: auto; }
.pay-note { font-family: var(--label); font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .5px; }
.skeleton { height: 420px; border: 3px dashed var(--brown-2); border-radius: 3px; animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .4; } }

/* ---------- Tour / events ---------- */
.countdown { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(20px, 3.5vw, 36px); }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.clock div { border: 3px solid var(--cream); background: var(--brown); padding: 12px 6px; text-align: center; border-radius: 3px; }
.clock b { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: clamp(30px, 4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

.feed { display: flex; flex-direction: column; gap: 16px; }
.event {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 16px 20px; border: 3px solid var(--cream); background: var(--brown); border-radius: 3px;
}
.event .date { text-align: center; border-right: 2px dashed var(--muted); padding-right: 16px; }
.event .date b { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 36px; line-height: 1; }
.event .date span { font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--rose); }
.event .info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event .info h3 { font-size: 20px; }
.event.past { opacity: .7; }
.event.drop { border-color: var(--crimson); }

/* ---------- Connect ---------- */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.socials { display: grid; gap: 16px; }
.social {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  border: 3px solid var(--cream); background: var(--brown); text-decoration: none; border-radius: 3px;
}
.social:hover { background: var(--crimson); }
.social b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 24px; }
.signup { padding: clamp(20px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; min-width: 0; padding: 12px 14px; color: var(--cream); background: var(--brown);
  border: 3px solid var(--cream); border-radius: 3px;
}
.signup input::placeholder { color: var(--muted); }
.form-msg { font-family: var(--label); font-size: 14px; min-height: 1.4em; }
.form-msg.err { color: var(--rose); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ig-grid a { aspect-ratio: 1; border: 3px solid var(--cream); display: grid; place-items: center; background: var(--black); text-decoration: none; font-family: var(--label); font-size: 12px; color: var(--muted); overflow: hidden; }
.ig-grid a svg { width: 100%; height: 100%; }
.ig-grid a:hover { border-color: var(--crimson); }

/* ---------- Footer & floating social ---------- */
.site-footer {
  border-top: var(--frame); background: var(--black); margin-top: 24px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--crimson-text); }

.float-social {
  position: fixed; z-index: 25;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px;
}
.float-social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--black); border: 3px solid var(--cream); border-radius: 50%;
  font-family: var(--label); font-weight: 700; font-size: 13px; text-decoration: none;
  box-shadow: 3px 3px 0 var(--crimson);
}
.float-social a:hover { background: var(--crimson); }

/* ---------- Mini player ---------- */
.player {
  position: fixed; z-index: 30;
  left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100% - 32px));
  background: var(--black); border: 3px solid var(--cream); border-radius: 6px; box-shadow: 4px 4px 0 var(--crimson);
}
.player[hidden] { display: none; }
.player-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; }
.player-bar .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-bar .icon-btn { width: auto; min-width: 36px; height: 32px; padding: 0 10px; font: 700 12px var(--label); text-transform: uppercase; letter-spacing: 1px; color: var(--cream); }
body.has-player .site-footer { padding-bottom: 220px; }
.player-frame { height: 152px; overflow: hidden; transition: height .2s ease; }
.player-frame iframe { display: block; width: 100%; height: 152px; border: 0; }
.player.collapsed .player-frame { height: 0; }   /* hidden but still playing */
.play-fab {
  position: fixed; z-index: 30;
  left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  background: var(--crimson); color: var(--cream); border: 3px solid var(--cream); border-radius: 999px;
  font: 700 14px var(--label); text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
  box-shadow: 3px 3px 0 var(--black);
}
.play-fab:hover { background: var(--cream); color: var(--black); }
.play-fab[hidden] { display: none; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(22, 19, 18, .6); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(420px, 100%);
  background: var(--black); border-left: var(--frame);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .25s ease;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 3px solid var(--crimson); }
.drawer-head h2 { font-size: 30px; }
.icon-btn { width: 40px; height: 40px; border: 3px solid var(--cream); background: transparent; border-radius: 3px; }
.icon-btn:hover { background: var(--crimson); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 20px; border-top: 3px solid var(--cream); display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding-bottom: 14px; border-bottom: 2px dashed var(--brown-2); }
.line .name { font-weight: 700; }
.line .opt { font-family: var(--label); font-size: 13px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border: 2px solid var(--cream); background: transparent; border-radius: 3px; line-height: 1; }
.qty button:hover { background: var(--crimson); }
.qty span { min-width: 20px; text-align: center; font-family: var(--label); font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; font-family: var(--label); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.group-label { font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--rose); }
.empty { color: var(--muted); font-family: var(--label); padding: 24px 0; text-align: center; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--cream); color: var(--black); border: 3px solid var(--black); box-shadow: 4px 4px 0 var(--crimson); padding: 10px 16px; font-family: var(--label); font-weight: 700; font-size: 14px; animation: pop .2s ease; }
.toast.out { animation: fadeout .25s ease forwards; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
@keyframes fadeout { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .products, .singles, .venues, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { gap: 10px 16px; padding: 10px 14px; }
  .nav {
    order: 3; width: 100%; margin-left: 0;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    border-top: 2px dashed var(--brown-2); padding-top: 8px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: 0 0 auto; }
  .cart-btn { margin-left: auto; }
}
@media (max-width: 760px) {
  .hero, .bio, .countdown, .connect { grid-template-columns: minmax(0, 1fr); }
  .polaroid { max-width: 360px; }
  .event { grid-template-columns: 72px minmax(0, 1fr); }
  .event .cta { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .products, .singles, .venues, .tiles { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 0; justify-content: space-between; }
  .nav a { padding: 4px 5px; font-size: 11px; letter-spacing: .5px; }
  .logo-main { font-size: 22px; letter-spacing: 1px; }
  .logo-sub { display: none; }
  .cart-btn { padding: 4px 10px; font-size: 13px; }
  .clock { gap: 6px; }
  .float-social { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
#shop-notice:empty { display: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--brown); }
@media (max-width: 400px) {
  .nav a { padding: 4px 3px; letter-spacing: 0; }
}

/* secondary line under a heading: body face, normal case */
.sub { font-family: var(--body); font-size: 15px; color: var(--muted); line-height: 1.45; }
/* floating social buttons only where there is free space beside the content */
@media (max-width: 1399px) { .float-social { display: none; } }
@media (max-width: 760px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
