/* ==========================================================================
   Uphonic AV — shared design system
   Spec: docs/superpowers/specs/2026-09-10-uphonic-av-site-redesign-design.md

   Contents
   1. Tokens
   2. Reset + base typography
   3. Layout helpers (.container, .section, colour blocks, .eyebrow)
   4. Pills + chips
   5. Top bar + mobile overlay menu
   6. Hero (home) + page hero (inner pages)
   7. Marquee (text bar + gallery rows)
   8. Rotating badge
   9. Cards, about/stats, media rows, feature grid, mini cards
   10. Big list, steps, gear list
   11. CTA band
   12. Forms
   13. Footer
   14. Reveal + reduced motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  /* Palette built around the alien logo: coral-red alien on torn tan paper over espresso brown */
  --ink: #2b1f14;        /* espresso: dark sections, nav pills, footer, body text on light */
  --ink-2: #3a2c20;      /* surfaces on dark */
  --ink-deep: #120d09;   /* text on coral (only a near-black reaches 4.5:1 on it) */
  --cream: #f6ecd8;      /* light parchment for large light sections */
  --cream-2: #e6d5b6;    /* borders/dividers on cream */
  --paper: #e2c497;      /* torn-paper tan: primary CTA pills, marquee bar, tan blocks */
  --coral: #d3555a;      /* alien coral: CTA band, step numbers, hero accent, hovers */
  --peach: #f0a48e;      /* tint of the coral: small chips / stickers, sparingly */
  --muted-on-cream: #6a5847;
  --muted-on-ink: #c2ad93;
  --muted-on-paper: #5a4630;
  --coral-text: #a8353b; /* coral for small text on cream (>= 4.5:1) */
  --coral-2: #c44a50;    /* hover state of coral pills */

  /* per-surface variables; colour-block classes override these */
  --bg: var(--cream);
  --fg: var(--ink);
  --muted: var(--muted-on-cream);
  --line: rgba(43, 31, 20, 0.16);
  --surface: #fffaf0;
  --focus: var(--ink); /* focus-ring colour; dark surfaces switch this to --paper */

  --font-display: "Unbounded", "Arial Black", Impact, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(2.25rem, 7.5vw, 6.5rem); /* floor lowered from 2.6rem so 10-letter words fit at 390px without breaking */
  --fs-h2: clamp(2rem, 4.5vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-label: 0.8125rem;
  --track: 0.09em;

  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(4rem, 9vw, 8rem);
  --topbar-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
}

/* 2. Reset + base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.95; }
h2 { font-size: var(--fs-h2); line-height: 1; }
h3 { font-size: var(--fs-h3); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 800; }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.5; font-weight: 500; max-width: 42ch; }
.muted { color: var(--muted); }
.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--coral-text); }

.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;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--track);
  font-size: var(--fs-label);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* 3. Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* colour blocks: set bg/fg/muted/line for everything inside */
.bg-cream { --bg: var(--cream); --fg: var(--ink); --muted: var(--muted-on-cream); --line: rgba(43,31,20,.16); --surface: #fffaf0; --focus: var(--ink); }
.bg-ink   { --bg: var(--ink);   --fg: var(--cream); --muted: var(--muted-on-ink);  --line: rgba(246,236,216,.18); --surface: var(--ink-2); --focus: var(--paper); }
.bg-paper  { --bg: var(--paper);  --fg: var(--ink);   --muted: var(--muted-on-paper); --line: rgba(43,31,20,.32); --surface: rgba(246,236,216,.55); }
.bg-coral{ --bg: var(--coral);--fg: var(--ink-deep);   --muted: var(--ink-deep); --line: rgba(43,31,20,.32); --surface: rgba(246,236,216,.55); }
.bg-cream, .bg-ink, .bg-paper, .bg-coral { background: var(--bg); color: var(--fg); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { max-width: 20ch; }
.section__head .lede { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .section__head--split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: end;
  }
  .section__head--split .lede { margin-top: 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 4px;
  border-radius: 2px;
  background: var(--coral);
  flex: none;
}
.bg-coral .eyebrow::before { background: var(--ink); }
.eyebrow--peach::before { background: var(--peach); }
.eyebrow--paper::before { background: var(--paper); }

.stack > * + * { margin-top: 1rem; }

/* 4. Pills + chips --------------------------------------------------------
   Note: some variants below (.pill--coral, .pill--block, .pill-group--center, .chip--peach,
   .chip--coral, .chip--outline, .text-link, .container--narrow, .section--flush-bottom,
   .eyebrow--peach, .marquee--coral, .mini-card--cream, .page-hero--cream, .bg-coral) are
   design-system options not used by the current pages; kept on purpose for future sections. */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover { transform: translateY(-2px) scale(1.02); }
.pill:active { transform: translateY(0) scale(0.99); }
.pill--paper  { background: var(--paper);  color: var(--ink); }
.pill--paper:hover { background: #f1d9b4; }
.pill--ink   { background: var(--ink);   color: var(--cream); }
.pill--ink:hover { background: var(--ink-2); }
.pill--cream { background: var(--cream); color: var(--ink); }
.pill--cream:hover { background: #fffaf0; }
.pill--coral{ background: var(--coral);color: var(--ink-deep); }
.pill--coral:hover { background: var(--coral-2); }
.pill--ghost { background: transparent; color: currentColor; border-color: currentColor; }
/* Tint with the pill's own text colour so the hover reads on cream, paper, coral and ink alike. */
.pill--ghost:hover { background: rgba(43, 31, 20, 0.10); background: color-mix(in srgb, currentColor 12%, transparent); }
.pill--sm { min-height: 44px; padding: 10px 18px; font-size: 0.75rem; }
.pill--block { width: 100%; }
.pill[disabled], .pill[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }

.pill-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill-group--center { justify-content: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.2;
  background: var(--cream-2);
  color: var(--ink);
}
.chip--paper { background: var(--paper); }
.chip--peach { background: var(--peach); }
.chip--coral { background: var(--coral); }
.chip--outline { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* 5. Top bar + mobile menu ------------------------------------------------ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--topbar-h);
  color: var(--cream);
  --focus: var(--paper);
  background: transparent;
  transition: background-color .3s, box-shadow .3s;
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar.is-scrolled, .topbar.is-open {
  background: rgba(43, 31, 20, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(246, 236, 216, 0.08);
}
/* Use `.topbar--light` on pages whose hero is light (paper/cream) so the
   wordmark and hamburger are ink until the bar gains its dark background. */
.topbar--light:not(.is-scrolled):not(.is-open) { color: var(--ink); --focus: var(--ink); }
/* On a light hero the paper CTA pill would vanish into the paper background, so it flips to coral
   (the page's CTA colour) and stays distinct from the ink nav pills. */
.topbar--light:not(.is-scrolled):not(.is-open) .pill--paper { background: var(--coral); color: var(--ink-deep); }
.topbar--light:not(.is-scrolled):not(.is-open) .pill--paper:hover { background: var(--coral-2); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  min-height: 44px;
}
.brand__logo {
  width: 60px; height: 60px; /* the alien is cut out on transparency, so it sits directly on the bar with no tile */
  flex: none;
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer .brand__logo { width: 72px; height: 72px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.topbar__nav { display: none; }
.topbar__nav ul { display: flex; gap: 8px; align-items: center; }
.topbar__nav .pill--ink { background: var(--ink); color: var(--cream); }
.topbar__nav .pill--ink:hover { background: var(--ink-2); }
/* Over a dark hero (transparent bar) the ink pills need an edge to read as pills. */
.topbar:where(:not(.topbar--light):not(.is-scrolled):not(.is-open)) .topbar__nav .pill--ink { background: var(--ink-2); border-color: rgba(246, 236, 216, 0.35); }
/* Keep the edge once the bar has its own dark background too, so the pills never dissolve into it. */
.topbar.is-scrolled .topbar__nav .pill--ink, .topbar.is-open .topbar__nav .pill--ink { background: var(--ink-2); border-color: rgba(246, 236, 216, 0.35); }
.topbar__nav a[aria-current="page"].pill--ink { border-color: var(--paper); }
/* On a light hero a paper border would vanish on paper, so the current page becomes a cream outline pill. */
.topbar--light:not(.is-scrolled):not(.is-open) .topbar__nav a[aria-current="page"].pill--ink { background: var(--cream); color: var(--ink); border-color: var(--ink); }

.topbar__mobile { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  transition: background-color .2s;
}
.menu-toggle:hover { background: rgba(246, 236, 216, 0.12); }
.topbar--light:not(.is-scrolled):not(.is-open) .menu-toggle:hover { background: rgba(43,31,20,.08); }
.menu-toggle__box { position: relative; width: 24px; height: 18px; }
.menu-toggle__box span {
  position: absolute; left: 0;
  width: 100%; height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-toggle__box span:nth-child(1) { top: 0; }
.menu-toggle__box span:nth-child(2) { top: 7.5px; }
.menu-toggle__box span:nth-child(3) { top: 15px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__box span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__box span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__box span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--cream);
  --focus: var(--paper);
  padding: calc(var(--topbar-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.menu__links li + li { margin-top: 6px; }
.menu__links a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--cream);
  transition: color .2s, transform .25s var(--ease);
}
.menu__links a:hover { color: var(--paper); transform: translateX(6px); }
.menu__links a[aria-current="page"] { color: var(--paper); }
.menu__links a[aria-current="page"]::after {
  content: "";
  display: inline-block;
  width: 0.4em; height: 0.4em;
  margin-left: 0.3em;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: middle;
}
.menu__foot {
  border-top: 1px solid rgba(246, 236, 216, 0.18);
  padding-top: 24px;
  display: grid;
  gap: 14px;
}
.menu__foot .eyebrow { margin: 0; }
.menu__foot a:not(.pill) {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 10px 0; /* 44px+ tap target */
}
.menu__foot a:not(.pill):hover { color: var(--paper); }

@media (min-width: 900px) {
  .topbar__nav { display: block; }
  .topbar__mobile { display: none; }
  .menu { display: none; }
}

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--topbar-h) + 32px);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--cream);
  --focus: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg { z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(43,31,20,.88) 0%, rgba(43,31,20,.55) 45%, rgba(43,31,20,.25) 100%);
}
.hero__content { position: relative; max-width: 980px; }
.hero__content .chip { margin-bottom: 1.5rem; }
.hero h1 { color: var(--cream); overflow-wrap: normal; }
.hero h1 .accent { display: block; }
.hero h1 .accent { color: var(--coral); }
.hero__sub {
  margin-top: 1.5rem;
  max-width: 560px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 500;
  color: rgba(246, 236, 216, 0.92);
}
.hero__cta { margin-top: 2rem; }

.hero__stickers { position: absolute; inset: 0; pointer-events: none; display: none; }
.sticker {
  position: absolute;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  white-space: nowrap;
}
.sticker--peach { background: var(--peach); }
.sticker--coral { background: var(--coral); color: var(--ink-deep); }
.sticker--cream { background: var(--cream); }
@media (min-width: 1200px) {
  .hero__stickers { display: block; } /* below 1200px the right-hand stickers crowd the headline */
}

/* Inner-page hero band */
.page-hero {
  padding-top: calc(var(--topbar-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); max-width: 20ch; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .pill-group { margin-top: 2rem; }
.page-hero--ink   { --bg: var(--ink);   --fg: var(--cream); --muted: var(--muted-on-ink);  --line: rgba(246,236,216,.18); --focus: var(--paper); background: var(--bg); color: var(--fg); }
.page-hero--paper  { --bg: var(--paper);  --fg: var(--ink);   --muted: var(--muted-on-paper); --line: rgba(43,31,20,.32); background: var(--bg); color: var(--fg); }
.page-hero--cream { --bg: var(--cream); --fg: var(--ink);   --muted: var(--muted-on-cream); --line: rgba(43,31,20,.16); background: var(--bg); color: var(--fg); }
.page-hero--paper .eyebrow::before { background: var(--ink); }
.page-hero--paper .lede { font-weight: 600; }

/* 7. Marquee -------------------------------------------------------------- */
.marquee {
  --marquee-shift: -50%;
  --marquee-duration: 30s;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.marquee.is-ready .marquee__track {
  animation: marquee var(--marquee-duration) linear infinite;
}
.marquee.marquee--reverse.is-ready .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }

/* Pause / play control (added by js/main.js next to each marquee group) */
.marquee__ctl {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: transform .2s var(--ease), background-color .2s;
}
.marquee__ctl:hover { transform: translateY(-50%) scale(1.06); }
.marquee__ctl svg { width: 16px; height: 16px; }
.marquee__ctl .ico-play { display: none; }
.marquee__ctl[aria-pressed="true"] .ico-pause { display: none; }
.marquee__ctl[aria-pressed="true"] .ico-play { display: block; }
.marquee--ink .marquee__ctl, .gallery .marquee__ctl { background: var(--cream); color: var(--ink); }
.gallery .marquee__ctl { top: auto; bottom: calc(var(--section-y) / 2); right: var(--gutter); transform: translateY(50%); }
.gallery .marquee__ctl:hover { transform: translateY(50%) scale(1.06); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-shift)); }
}

/* text bar variant */
.marquee--bar {
  --marquee-bg: var(--paper);
  background: var(--marquee-bg);
  color: var(--ink);
  border-top: 1px solid rgba(43,31,20,.15);
  border-bottom: 1px solid rgba(43,31,20,.15);
}
.marquee--bar.marquee--ink { --marquee-bg: var(--ink); color: var(--cream); border-color: rgba(246,236,216,.12); --focus: var(--paper); }
.marquee--bar.marquee--coral { --marquee-bg: var(--coral); color: var(--ink-deep); }
/* fade the scrolling text out under the pause control instead of clipping it */
.marquee--bar::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--marquee-bg) 55%);
  pointer-events: none;
  z-index: 1;
}
.marquee--bar .marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.4vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.marquee--bar .marquee__item::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* gallery rows */
.gallery { position: relative; padding-top: 0; } /* keeps the section's bottom padding so the rows sit centred in the dark band */
.gallery .marquee + .marquee { margin-top: 12px; }
.marquee--gallery .marquee__track { gap: 12px; padding-right: 12px; }
.marquee--gallery .marquee__item { flex: none; }
.marquee--gallery img {
  height: 160px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--ink-2);
}
@media (min-width: 900px) {
  .marquee--gallery img { height: 220px; }
}

/* 8. Rotating badge -------------------------------------------------------- */
.badge {
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}
.badge svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge__text {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--paper);
}
.badge__core {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent; overflow: visible;
  display: grid;
  place-items: center;
}
.badge__core img { width: 118%; height: 118%; max-width: none; object-fit: contain; animation: none; display: block; margin: -9%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 9. Cards / about / media rows / grids -------------------------------------- */
.cards {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.card__media picture { display: block; width: 100%; height: 100%; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__num {
  position: absolute;
  top: -12px; left: -12px;
  z-index: 1;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.card__body { padding-top: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 900; }
.card__blurb { margin-top: .6rem; color: var(--muted); max-width: 34ch; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 1rem;
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  transition: color .2s, gap .25s var(--ease);
}
.card:hover .card__more { color: var(--coral-text); gap: 14px; }
.card__more::after { content: "\2192"; font-family: var(--font-body); font-size: 1.1em; }
.card:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: var(--radius); }

/* about / who-we-are */
.about {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 300px 1fr; gap: 4rem; }
  .about__badge { position: sticky; top: calc(var(--topbar-h) + 32px); }
}
.about__body p { max-width: 58ch; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); }
.about__body .pill-group { margin-top: 2rem; }

.stats {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.stat { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.bg-cream .stat__num { color: var(--coral); }
.bg-paper .stat__num { color: var(--ink); }
.stat__label {
  display: block;
  margin-top: .5rem;
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
  .stat { padding: 1.5rem 0; }
}

/* media rows */
.media-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.media-row + .media-row { margin-top: clamp(3rem, 8vw, 6rem); }
.media-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
.media-row__media picture { display: block; width: 100%; height: 100%; }
.media-row__media img { width: 100%; height: 100%; object-fit: cover; }
.media-row__body p { max-width: 52ch; }
.media-row__body h2, .media-row__body h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); max-width: 18ch; margin-bottom: 1.25rem; }
.media-row__body .chips { margin-top: 1.5rem; }
.media-row__body .pill-group { margin-top: 1.75rem; }
@media (min-width: 600px) and (max-width: 899.98px) {
  .media-row__media { aspect-ratio: 16 / 10; } /* stacked layout: a landscape crop instead of a 900px-tall portrait */
}
@media (min-width: 900px) {
  .media-row { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .media-row--flip .media-row__media { order: 2; }
  .media-row--flip .media-row__body { order: 1; }
}

/* feature grid (e.g. what's included) */
.feature-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 1.5rem;
  display: grid;
  gap: .5rem;
  align-content: start;
}
.feature__index {
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  color: var(--coral-text);
}
.bg-ink .feature__index { color: var(--paper); }
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; line-height: 1.15; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: .95rem; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } .feature { padding: 1.75rem; } }

/* mini cards (e.g. ways to rent) */
.mini-cards { display: grid; gap: 1.25rem; }
.mini-card {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  display: grid;
  gap: .75rem;
  align-content: start;
}
.mini-card--paper { background: var(--paper); color: var(--ink); }
.mini-card--coral { background: var(--coral); color: var(--ink-deep); }
.mini-card--cream { background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); }
.mini-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-label);
  letter-spacing: .05em;
  opacity: .7;
}
.mini-card--coral .mini-card__num, .mini-card--paper .mini-card__num { opacity: 1; }
.mini-card h3 { font-weight: 900; }
.mini-card p { opacity: .9; }
@media (min-width: 600px) { .mini-cards { grid-template-columns: repeat(3, 1fr); } }

/* 10. Big list / steps / gear ------------------------------------------------ */
.biglist { border-top: 1px solid var(--ink); }
.biglist__row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: clamp(1rem, 2.2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--ink);
  transition: padding-left .3s var(--ease);
}
.biglist__row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--coral);
  transition: width .3s var(--ease);
}
.biglist__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.biglist__label {
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.biglist__row:hover { padding-left: 20px; }
.biglist__row:hover::before { width: 8px; }
@media (min-width: 600px) {
  .biglist__row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 2rem; }
  .biglist__label { text-align: right; }
}

.steps {
  display: grid;
  gap: 2rem 1.5rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; font-weight: 900; }
.step p { margin-top: .5rem; color: var(--muted); font-size: .98rem; max-width: 34ch; }
.bg-ink .step { border-top-color: var(--cream); }
@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:last-child:nth-child(odd) { grid-column: 1 / -1; } /* no lonely half-row for step 5 */
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.25rem; }
  .step:last-child:nth-child(odd) { grid-column: auto; } /* five across at desktop */
}

/* Equipment list.
   Markup:
   <section class="gear">
     <h3 class="gear__cat">Audio</h3>
     <ul class="gear__rows">
       <li class="gear__row">
         <span class="gear__icon" aria-hidden="true"> ...inline svg... </span>
         <div><span class="gear__name">12" powered speaker</span><p class="gear__desc">…</p></div>
       </li>
     </ul>
   </section>
   Glyphs (24x24 viewBox, stroke currentColor, fill none, stroke-width 2, round caps/joins):
   speaker: <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="2.5" width="14" height="19" rx="2.5"/><circle cx="12" cy="14.5" r="3.5"/><circle cx="12" cy="7" r="1.2"/></svg>
   light:   <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3h8l1.5 9h-11z"/><path d="M6.5 12h11v3h-11z"/><path d="M12 15v6M9 21h6"/><path d="M4 8l2 1M20 8l-2 1M12 1v1"/></svg>
   mic:     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="2.5" width="6" height="11" rx="3"/><path d="M5.5 11a6.5 6.5 0 0 0 13 0"/><path d="M12 17.5v4M8.5 21.5h7"/></svg>
   plug:    <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 2.5v5M15 2.5v5"/><path d="M6 7.5h12v4a6 6 0 0 1-12 0z"/><path d="M12 17.5v4"/></svg>
*/
.gear + .gear { margin-top: clamp(2.5rem, 5vw, 4rem); }
.gear__cat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.gear__cat::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.gear__cat .chip { font-size: .7rem; }
.gear__rows { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gear__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg);
}
/* Stripe with the near-white surface (not cream-2) so the paper icon discs still read on tinted rows. */
.gear__row:nth-child(even) { background: var(--surface); }
.bg-ink .gear__row:nth-child(even) { background: var(--ink-2); }
.gear__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.gear__icon svg { width: 28px; height: 28px; }
.gear__name {
  display: block;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.gear__desc { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 600px) {
  .gear__row { grid-template-columns: 64px 1fr; padding: 16px 22px; gap: 20px; }
  .gear__icon { width: 64px; height: 64px; }
  .gear__icon svg { width: 32px; height: 32px; }
}
@media (min-width: 900px) {
  .gear__rows--2col { grid-template-columns: 1fr 1fr; }
  /* In two columns the even children are the right column, so stripe by row pair instead. */
  .gear__rows--2col .gear__row:nth-child(even) { background: var(--bg); }
  .gear__rows--2col .gear__row:nth-child(4n+3), .gear__rows--2col .gear__row:nth-child(4n+4) { background: var(--surface); }
  .bg-ink .gear__rows--2col .gear__row:nth-child(4n+3), .bg-ink .gear__rows--2col .gear__row:nth-child(4n+4) { background: var(--ink-2); }
  /* An odd last item spans the full row rather than leaving an empty cell. */
  .gear__rows--2col .gear__row:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* 11. CTA band ----------------------------------------------------------------- */
.cta {
  text-align: center;
  padding-block: clamp(4.5rem, 10vw, 9rem);
}
.cta--coral { --bg: var(--coral); --fg: var(--ink-deep); --muted: var(--ink-deep); background: var(--bg); color: var(--fg); }
.cta--paper   { --bg: var(--paper);   --fg: var(--ink); --muted: var(--muted-on-paper); background: var(--bg); color: var(--fg); }
.cta--ink    { --bg: var(--ink);    --fg: var(--cream); --muted: var(--muted-on-ink); --focus: var(--paper); background: var(--bg); color: var(--fg); }
.cta h2 {
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  max-width: 16ch;
  margin-inline: auto;
}
.cta .lede { margin: 1.5rem auto 0; max-width: 38ch; }
.cta .pill-group { margin-top: 2.25rem; justify-content: center; }

/* 12. Forms ------------------------------------------------------------------ */
.form-card {
  background: var(--cream);
  color: var(--ink);
  --muted: var(--muted-on-cream);
  --line: rgba(43,31,20,.16);
  --focus: var(--ink);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}
.field { display: grid; gap: .45rem; }
.field label, .field__label, .fieldset__legend {
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.field .req { color: var(--coral-text); font-weight: 900; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.input, .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fffaf0; /* form fields always sit on the cream card, whatever the page surface */
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2016' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--coral);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid,
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--coral); border-width: 2px; }
.field__error { margin: 0; font-size: .85rem; font-weight: 700; color: var(--coral-text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-on-cream); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: .6rem; }

.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.radio-pills label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.radio-pills label:hover { transform: translateY(-1px); }
.radio-pills input:checked + label { background: var(--ink); color: var(--cream); }
.radio-pills input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: .5rem; }
.form-note { font-size: .9rem; color: var(--muted); }

.status {
  display: none;
  margin-top: 1.25rem;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink);
  font-weight: 600;
}
.status.is-visible { display: block; }
.status--success { background: var(--paper); color: var(--ink); }
.status--error { background: #f9ddd8; border-color: var(--coral); color: #6b1f24; }
.status--pending { background: var(--cream-2); }

/* two-column quote layout: form + aside */
.quote-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
  .quote-layout__aside { position: sticky; top: calc(var(--topbar-h) + 24px); }
}
.aside-block { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-block + .aside-block { margin-top: 1rem; }
.aside-block h3 { font-size: 1rem; font-weight: 900; margin-bottom: .75rem; }
.aside-block ul { display: grid; gap: .5rem; }
.aside-block li { padding-left: 1.25rem; position: relative; color: var(--muted); }
.aside-block p { color: var(--muted); }
.aside-block p + p { margin-top: .6rem; }
.aside-block li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--paper);
}
.aside-block a:not(.pill) {
  display: inline-block;
  padding-block: 11px; margin-block: -11px; /* 44px hit area without changing the layout */
  font-weight: 800;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.aside-block a:not(.pill):hover { color: var(--paper); }

/* 13. Footer ------------------------------------------------------------------- */
.footer {
  --bg: var(--ink); --fg: var(--cream); --muted: var(--muted-on-ink); --line: rgba(246,236,216,.18); --focus: var(--paper);
  background: var(--bg);
  color: var(--fg);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 30ch; }
.footer__col h2 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 900;
  letter-spacing: var(--track);
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--paper);
}
.footer__col ul { display: grid; gap: 0; }
.footer__col a {
  display: inline-block;
  padding: 10px 0; /* 44px+ tap target */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  transition: color .2s;
}
.footer__col a:hover { color: var(--paper); }
.footer__col a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer__col--connect a { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-transform: none; }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted);
}
@media (min-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
  .footer__brand { grid-column: auto; }
}

/* 14. Reveal + reduced motion ----------------------------------------------------- */
/* Only animate when JS has added `js` to <html>; content stays visible otherwise. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--delay-1 { transition-delay: .1s; }
.js .reveal--delay-2 { transition-delay: .2s; }
.js .reveal--delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee.is-ready .marquee__track, .badge svg { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .marquee__ctl, .marquee--bar::after { display: none; }
  .marquee__track { width: max-content; }
  .pill, .card__media img, .biglist__row, .menu__links a { transition: none; }
  .pill:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
  .menu { transition: none; }
}

/* eyebrow inside a centred CTA band, and a pill row that closes a section */
.cta .eyebrow { justify-content: center; margin-bottom: 1.25rem; }
.cta--coral .eyebrow::before { background: var(--ink-deep); }
.section__foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
