/* ==========================================================================
   Robert Cartner — riso screen-print design system
   Inks: ink black, cream, bubblegum, tomato, lime, sky, sunny, peach
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* palette */
  --ink: #0b0b0b;
  --ink-2: #141311;
  --cream: #fff6e3;
  --cream-dim: #efe3cc;
  --bubble: #ff8fc7;
  --bubble-deep: #f264ae;
  --tomato: #f4482e;
  --lime: #b7e544;
  --sky: #6ec5e9;
  --sunny: #ffd23f;
  --peach: #ffc9a6;

  /* type */
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* structure */
  --max: 1160px;
  --radius: 18px;
  --radius-sm: 10px;
  --ink-line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --ease: cubic-bezier(.22, .9, .24, 1);

  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 72px) + 14px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw + 12px, 18px);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--sunny);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--bubble); color: var(--ink); }

/* ---------- starfield + grain backdrop ---------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--ink);
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 246, 227, .55), transparent 60%),
    radial-gradient(2px 2px at 27% 62%, rgba(255, 246, 227, .4), transparent 60%),
    radial-gradient(1.5px 1.5px at 41% 32%, rgba(255, 210, 63, .5), transparent 60%),
    radial-gradient(2px 2px at 58% 12%, rgba(255, 246, 227, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 48%, rgba(255, 246, 227, .5), transparent 60%),
    radial-gradient(2px 2px at 88% 24%, rgba(255, 210, 63, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 18% 84%, rgba(255, 246, 227, .35), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 78%, rgba(255, 246, 227, .4), transparent 60%),
    radial-gradient(1.5px 1.5px at 94% 66%, rgba(255, 246, 227, .35), transparent 60%),
    radial-gradient(2px 2px at 34% 92%, rgba(110, 197, 233, .4), transparent 60%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .085;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* floating decorative stars */
.deco-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco-layer .star {
  position: absolute;
  animation: twinkle 4.5s var(--ease) infinite;
}
.deco-layer .star:nth-child(1) { left: 4%;  top: 16%;  animation-delay: .1s; }
.deco-layer .star:nth-child(2) { right: 5%; top: 12%;  animation-delay: 1.2s; }
.deco-layer .star:nth-child(3) { right: 9%; top: 40%;  animation-delay: 2.1s; }
.deco-layer .star:nth-child(4) { left: 6%;  top: 46%;  animation-delay: .7s; }
.deco-layer .star:nth-child(5) { left: 12%; top: 72%;  animation-delay: 1.7s; }
.deco-layer .star:nth-child(6) { right: 4%; top: 76%;  animation-delay: 2.6s; }

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(.78) rotate(-8deg); opacity: .45; }
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

section[data-hermes-section] { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sunny);
}

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.mono { font-family: var(--mono); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--bubble);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .82em 1.7em;
  font-family: var(--display);
  font-size: clamp(15px, 1.1vw + 10px, 20px);
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--ink-line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  position: relative;
  text-align: center;
}
.btn:hover,
.btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--bubble-deep);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn--sunny { --btn-bg: var(--sunny); }
.btn--sunny:hover, .btn--sunny:focus-visible { background: #ffc400; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  box-shadow: none;
  border-color: var(--cream);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 11, .88);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(255, 246, 227, .16);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__text { display: grid; gap: 1px; }
.brand__name {
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw + 8px, 21px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -.01em;
}
.brand__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: .8;
}

.nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 34px); }
.nav__link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  padding: 12px 4px;
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .18s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: 8px;
  height: 4px;
  background: var(--lime);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="true"]::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--sunny); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bubble);
  color: var(--ink);
  border: var(--ink-line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 14px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars i {
  display: block;
  width: 18px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h, 72px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    background: var(--ink);
    border-bottom: var(--ink-line);
    padding: 8px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100dvh - var(--header-h, 72px));
    overflow-y: auto;
    z-index: 39;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    font-family: var(--display);
    font-size: 24px;
    letter-spacing: 0;
    text-transform: none;
    padding: 16px 4px;
    border-bottom: 2px dashed rgba(255, 246, 227, .18);
  }
  .nav__link::after { bottom: 12px; height: 5px; }
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(36px, 6vw, 76px);
  padding-bottom: clamp(26px, 3vw, 34px);
  text-align: center;
}
.hero__inner { display: grid; justify-items: center; gap: clamp(14px, 1.6vw, 22px); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sunny);
  border: 2px solid rgba(255, 210, 63, .5);
  border-radius: 999px;
  padding: 6px 14px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bubble); }
.hero__title {
  font-family: var(--display);
  font-size: clamp(34px, 7.4vw, 86px);
  line-height: .94;
  letter-spacing: -.025em;
  color: var(--cream);
  max-width: 15ch;
  margin: 0;
  text-shadow: 5px 5px 0 var(--tomato), 9px 9px 0 rgba(0, 0, 0, .55);
}
.hero__lede {
  max-width: 54ch;
  font-size: clamp(15px, .6vw + 13px, 18px);
  color: var(--cream-dim);
  line-height: 1.6;
}
.hero__lede b { color: var(--sunny); font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.hero__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: .78;
}

/* ---------- PLAYER panel ---------- */
.player-section { padding-block: clamp(20px, 3vw, 34px) clamp(56px, 7vw, 90px); }

.deck {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .5), inset 0 0 0 3px var(--ink), inset 0 0 0 9px var(--peach);
  padding: clamp(14px, 2vw, 22px);
  isolation: isolate;
}
.deck::after {
  /* drip tendrils under the panel */
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -17px;
  height: 18px;
  background-image: radial-gradient(circle at 9px 0, var(--cream) 9px, transparent 10px);
  background-size: 26px 18px;
  background-repeat: repeat-x;
  background-position: 0 0;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 rgba(11, 11, 11, .55));
}

.deck__head {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  flex-wrap: wrap;
  padding: 4px 4px 14px;
  border-bottom: 3px dashed rgba(11, 11, 11, .25);
}

.deck__transports { display: flex; gap: 8px; }
.tbtn {
  width: 46px; height: 46px;
  display: inline-grid;
  place-items: center;
  background: var(--cream);
  border: var(--ink-line);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s var(--ease), background .14s var(--ease), box-shadow .14s var(--ease);
  padding: 0;
}
.tbtn:hover { background: var(--sunny); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.tbtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.tbtn svg { width: 20px; height: 20px; }
.tbtn[data-state="on"] { background: var(--lime); }
.tbtn--stop[data-state="on"] { background: var(--tomato); }

.deck__name {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.deck__filename {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.deck__bpm-note {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, .6);
}

/* progress slider */
.deck__progress {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.deck__progress input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: linear-gradient(to right, var(--tomato) 0%, var(--tomato) var(--p, 0%), var(--cream-dim) var(--p, 0%), var(--cream-dim) 100%);
  cursor: pointer;
  margin: 0;
}
.deck__progress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--ink);
  cursor: grab;
}
.deck__progress input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--ink);
  cursor: grab;
}

.deck__tempo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.dial { width: 46px; height: 46px; }
.dial__needle { transform-origin: 24px 24px; transition: transform .35s var(--ease); }
.deck__bpm {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: left;
}
.deck__bpm strong { display: block; font-size: 13px; }

/* master meter */
.meter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 150px;
  min-width: 0;
}
.meter__bars {
  display: flex;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 3px;
  background: var(--cream-dim);
  overflow: hidden;
}
.meter__bars i {
  flex: 1 1 0;
  min-width: 2px;
  height: 14px;
  background: rgba(11, 11, 11, .12);
  border-radius: 2px;
  transition: background .08s linear;
}
.meter__bars i.on { background: var(--sunny); }
.meter__bars i.hot { background: var(--tomato); }

.deck__time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: 0 0 auto;
}
.deck__time--foot { display: block; text-align: right; padding-top: 8px; font-size: 10.5px; color: rgba(11, 11, 11, .62); }

/* body: strips + master column */
.deck__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: clamp(10px, 1.4vw, 16px);
  padding-top: 14px;
  align-items: start;
}

.strips { display: grid; gap: 10px; min-width: 0; }

.strip {
  --swatch: var(--bubble);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 8px 10px 8px 0;
  position: relative;
  overflow: hidden;
  transition: background .22s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease), opacity .22s var(--ease);
}
.strip:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.strip:hover .strip__label { color: var(--tomato); }

.strip__art {
  align-self: stretch;
  display: grid;
  place-items: center;
  background: var(--swatch);
  border-right: 3px solid var(--ink);
  position: relative;
  min-height: 54px;
}
.strip__art svg { width: 34px; height: auto; }
.strip__art svg circle,
.strip__art svg path,
.strip__art svg ellipse { max-width: 100%; }

.strip__mid { min-width: 0; display: grid; gap: 5px; }

.strip__label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: color .18s var(--ease);
}
.strip__num { font-weight: 700; }
.strip__dot { opacity: .45; }
.strip__inst { font-weight: 700; }
.strip__state {
  color: rgba(11, 11, 11, .55);
  font-size: 10px;
}

/* waveform */
.wave {
  display: block;
  width: 100%;
  height: 26px;
  overflow: visible;
}
.wave__bar { fill: var(--sky); transition: fill .25s var(--ease), opacity .25s var(--ease); }
.strip.is-on .wave__bar.is-played { fill: var(--tomato); }
.wave__base { stroke: rgba(11, 11, 11, .28); stroke-width: 1.2; }

.strip__pills { display: flex; gap: 6px; flex: 0 0 auto; }

.pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  min-height: 40px;
  min-width: 62px;
  padding: 0 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--bubble);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .18s var(--ease);
}
.pill::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; top: 50%;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transform: rotate(-8deg) scaleX(0);
  transform-origin: center;
  transition: transform .2s var(--ease);
}
.pill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.pill:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.pill[aria-pressed="true"] { background: var(--peach); }
.pill[aria-pressed="true"]::after { transform: rotate(-8deg) scaleX(1); }

.strip.is-muted {
  background:
    repeating-linear-gradient(-45deg, rgba(11, 11, 11, .13) 0 1.5px, transparent 1.5px 7px),
    var(--cream-dim);
}
.strip.is-muted .strip__art { filter: saturate(.25); }
.strip.is-muted .wave__bar { fill: rgba(11, 11, 11, .28); }
.strip.is-muted .strip__label { color: rgba(11, 11, 11, .5); }
.strip.is-solo { outline: 3px solid var(--lime); outline-offset: -6px; }

/* master column */
.master {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 10px 8px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  align-self: stretch;
  min-width: 0;
}
.master__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}
.master__rail {
  position: relative;
  width: 26px;
  flex: 1 1 120px;
  min-height: 120px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--cream-dim);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.master__fill {
  width: 100%;
  background: linear-gradient(to top, var(--sky) 0 34%, var(--sunny) 34% 74%, var(--tomato) 74% 100%);
  height: 62%;
  transition: height .09s linear;
}
.master__ticks {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  padding: 4px 0;
  pointer-events: none;
}
.master__ticks i {
  display: block;
  height: 1.5px;
  background: rgba(11, 11, 11, .35);
  margin-left: 60%;
}
.master__read {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

/* ---------- section headers ---------- */
.sec-head {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.sec-head--center { justify-items: center; text-align: center; }
.sec-head__title {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--cream);
  text-transform: uppercase;
}
.sec-head__title em {
  font-style: normal;
  color: var(--sunny);
}
.sec-head__title .underline { position: relative; display: inline-block; }
.sec-head__title .underline svg {
  position: absolute;
  left: -2%; bottom: -.24em;
  width: 104%;
  height: .28em;
}
.sec-head__lede {
  max-width: 56ch;
  color: var(--cream-dim);
  font-size: clamp(14px, .5vw + 13px, 17px);
}

/* ---------- SOUND section ---------- */
.sound { padding-block: clamp(34px, 5vw, 60px) clamp(40px, 5vw, 64px); }

.sound__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 48px);
  align-items: center;
}

.rig {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
  padding: clamp(12px, 1.8vw, 20px);
  transform: rotate(-1.2deg);
  transition: transform .3s var(--ease);
}
.rig:hover { transform: rotate(0deg); }
.rig__badge {
  position: absolute;
  top: -16px;
  left: -8px;
  background: var(--bubble);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 4px 14px 14px 4px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display);
  font-size: clamp(13px, 1vw + 8px, 18px);
  padding: 5px 14px;
  transform: rotate(-4deg);
  z-index: 2;
}
.rig__badge small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  line-height: 1.2;
}
.rig svg { width: 100%; height: auto; }

.callouts { display: grid; gap: 14px; }
.callout {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.callout__num {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--sunny);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .5);
}
.callout:nth-child(2) .callout__num { background: var(--lime); }
.callout:nth-child(3) .callout__num { background: var(--sky); }
.callout:nth-child(4) .callout__num { background: var(--tomato); color: var(--cream); }
.callout:nth-child(5) .callout__num { background: var(--peach); }
.callout__body { min-width: 0; }
.callout__title {
  font-family: var(--display);
  font-size: clamp(15px, 1vw + 10px, 19px);
  line-height: 1.2;
  color: var(--cream);
  letter-spacing: .01em;
}
.callout__text {
  color: var(--cream-dim);
  font-size: clamp(13.5px, .4vw + 13px, 16px);
  line-height: 1.55;
}

/* value columns */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 3px solid rgba(255, 246, 227, .18);
}
.value { display: grid; gap: 8px; min-width: 0; }
.value__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
}
.value:nth-child(1) .value__icon { background: var(--lime); }
.value:nth-child(2) .value__icon { background: var(--tomato); }
.value:nth-child(3) .value__icon { background: var(--sky); }
.value__icon svg { width: 22px; height: 22px; }
.value__title {
  font-family: var(--display);
  font-size: clamp(15px, .8vw + 11px, 18px);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.value__text { color: var(--cream-dim); font-size: 14px; line-height: 1.55; }

/* ---------- SCENES ---------- */
.scenes { padding-block: clamp(38px, 5vw, 62px); }

.scenes__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  padding: 22px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--bubble) transparent;
}
.scenes__rail::-webkit-scrollbar { height: 10px; }
.scenes__rail::-webkit-scrollbar-thumb { background: var(--bubble); border-radius: 8px; }
.scenes__rail::-webkit-scrollbar-track { background: rgba(255, 246, 227, .12); border-radius: 8px; }

.tile {
  --tint: var(--bubble);
  scroll-snap-align: start;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .55);
  padding: 14px 12px 16px;
  transform: rotate(var(--rot, -1.4deg));
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  min-width: 0;
}
.tile:nth-child(even) { --rot: 1.4deg; }
.tile:hover,
.tile:focus-within { transform: rotate(0deg) translateY(-6px); box-shadow: 10px 10px 0 var(--tint); }

.tile__badge {
  position: absolute;
  top: -14px;
  left: -10px;
  background: var(--tint);
  border: 3px solid var(--ink);
  border-radius: 4px 12px 12px 4px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .02em;
  padding: 3px 11px;
  transform: rotate(-5deg);
  z-index: 2;
  white-space: nowrap;
}
.tile__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-top: 8px;
  line-height: 1.4;
}
.tile__meta span:last-child { text-align: right; opacity: .62; }
.tile__art {
  border: 3px solid var(--ink);
  border-radius: 9px;
  background: var(--tint);
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
}
.tile__art svg { width: 100%; height: 100%; display: block; }
.tile__caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
  border-top: 2px dashed rgba(11, 11, 11, .25);
  line-height: 1.4;
}
.tile__caption b { font-weight: 700; }
.tile__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.tile__status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--ink);
}
.tile__status.is-out i { background: var(--tomato); }

/* ---------- CONTACT ---------- */
.contact { padding-block: clamp(40px, 6vw, 76px); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}
.contact__title {
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 74px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--cream);
}
.contact__title em { font-style: normal; color: var(--bubble); }
.contact__lede {
  margin-top: 14px;
  color: var(--cream-dim);
  max-width: 40ch;
}
.contact__details {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact__details div { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__details dt { color: var(--sunny); min-width: 78px; }
.contact__details dd { margin: 0; color: var(--cream); }

/* form card */
.form-card {
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  gap: 14px;
  position: relative;
}
.form-card__title {
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw + 12px, 24px);
  line-height: 1.1;
  text-transform: uppercase;
}
.form-card__note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, .6);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: #fffaf0;
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 11px 12px;
  min-height: 48px;
  transition: box-shadow .16s var(--ease), background .16s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(11, 11, 11, .38); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  box-shadow: 4px 4px 0 var(--bubble);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--row > .field { min-width: 0; }
.form-card .btn { justify-self: start; }

/* ---------- footer landscape ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(16px, 3vw, 34px);
  padding-top: 24px;
  overflow: hidden;
}
.footer__cta {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 3;
}
.footer__name {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer__tagline {
  font-family: var(--mono);
  font-size: clamp(11px, .7vw + 9px, 14px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--peach);
  max-width: 46ch;
}
.footer__land {
  position: relative;
  margin-top: -8px;
  z-index: 1;
}
.footer__land svg { width: 100%; height: auto; display: block; }
.footer__bottom {
  position: relative;
  z-index: 3;
  padding: 14px var(--gutter) 22px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__nav a {
  text-decoration: none;
  padding: 6px 2px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  transition: color .16s var(--ease);
}
.footer__nav a:hover,
.footer__nav a[aria-current="page"] { color: var(--sunny); }
.footer__nav span { opacity: .45; }
.footer__credits {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: .72;
  line-height: 1.9;
}
.footer__credits a { text-decoration: none; border-bottom: 1px solid rgba(255, 246, 227, .4); }
.footer__credits a:hover { color: var(--sunny); }

/* ---------- floating play pill ---------- */
.fab {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--bubble);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .28s var(--ease), opacity .28s var(--ease), background .16s var(--ease);
}
.fab.is-shown { transform: translateY(0); opacity: 1; }
.fab:hover { background: var(--sunny); }
.fab[data-state="on"] { background: var(--lime); }

/* ---------- scroll reveal ---------- */
[data-reveal],
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in,
.reveal.is-in,
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sound__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .rig { transform: rotate(-.6deg); }
  .values { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .values .value { border-bottom: 2px dashed rgba(255, 246, 227, .16); padding-bottom: 14px; }
  .values .value:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 720px) {
  .deck__body { grid-template-columns: minmax(0, 1fr); }
  .master {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }
  .master__rail {
    width: 100%;
    min-height: 0;
    height: 20px;
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
  }
  .master__fill {
    height: 100% !important;
    width: 62%;
    background: linear-gradient(to right, var(--sky) 0 34%, var(--sunny) 34% 74%, var(--tomato) 74% 100%);
    transition: width .09s linear;
  }
  .master__ticks { display: none; }
  .master__label { text-align: left; }
}

@media (max-width: 620px) {
  .strip {
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas:
      "art mid"
      "art pills";
    row-gap: 8px;
    padding: 8px 10px 10px 0;
  }
  .strip__art { grid-area: art; }  .strip__mid { grid-area: mid; }
  .strip__pills { grid-area: pills; justify-content: flex-start; }
  .pill { min-width: 0; flex: 1 1 auto; min-height: 44px; }
  .deck__head { gap: 10px; }
  .deck__progress { order: 5; flex-basis: 100%; }
  .deck__tempo { order: 3; }
  .meter { order: 4; flex-basis: 100%; }
  .deck__time { order: 2; margin-left: auto; }
  .scenes__rail { grid-auto-columns: minmax(74%, 1fr); }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .form-card .btn { justify-self: stretch; }
  .hero__title { text-shadow: 3px 3px 0 var(--tomato), 6px 6px 0 rgba(0, 0, 0, .55); padding-inline: 2px; }
  .tile { --rot: 0deg; }
  .tile:nth-child(even) { --rot: 0deg; }
}

@media (max-width: 400px) {
  .deck { padding: 12px; border-radius: 20px; }
  .tbtn { width: 44px; height: 44px; }
  .strip__label { font-size: 10px; gap: 5px; }
  .pill { font-size: 10px; padding: 0 8px; }
  .footer__nav { gap: 4px 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal],
  .reveal { opacity: 1; transform: none; }
  .deco-layer .star { opacity: .85; }
}
