:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --ink: #14130f;
  --olive: #3d4430;
  --olive-deep: #2a3021;
  --brass: #c9a24a;
  --label: #c8321f;
  --paper-fixed: #eeede3;

  --bg: #eeede3;
  --bg-2: #e1dfcf;
  --fg: #14130f;
  --fg-soft: #4a4a3e;
  --rule: #14130f;

  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #191b14;
    --bg-2: #22251b;
    --fg: #ecebdf;
    --fg-soft: #b9b8a8;
    --rule: #ecebdf;
  }
}
:root[data-theme="dark"] {
  --bg: #191b14;
  --bg-2: #22251b;
  --fg: #ecebdf;
  --fg-soft: #b9b8a8;
  --rule: #ecebdf;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.measure { max-width: 62ch; }

/* ---------- Pre-launch banner ---------- */
.prelaunch { background: var(--brass); color: var(--ink); padding: clamp(24px, 3.4vw, 38px) 0; }
.prelaunch .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  background: var(--ink);
  color: var(--brass);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 12px;
}
.prelaunch h2 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--ink); letter-spacing: -0.008em; }
.prelaunch-copy p { margin-top: 12px; font-size: 1.02rem; max-width: 60ch; color: var(--olive-deep); }
.prelaunch-cta { background: var(--ink); color: #f1efe2; padding: 18px 22px; }
.prelaunch-cta strong { font-family: var(--display); font-weight: 400; color: var(--brass); display: block; margin-bottom: 8px; }
.prelaunch-cta p { color: #cfcdbd; font-size: 0.95rem; }
.prelaunch-cta div { padding-top: 8px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { background: var(--olive); color: #f1efe2; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.brand {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.01em;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  color: #f6f3e4;
  letter-spacing: -0.012em;
}
.hero .lede {
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.5;
  color: #e3e1d0;
  max-width: 34em;
}
.hero .tally {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid var(--brass);
  max-width: 34em;
  font-weight: 600;
  color: var(--brass);
}
.sleeve-stage { position: relative; padding-right: 30%; }
.sleeve {
  position: relative;
  z-index: 2;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.sleeve img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.record {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 52%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, rgba(255,255,255,.0) 0 8%, rgba(255,255,255,.13) 12%, rgba(255,255,255,0) 18% 58%, rgba(255,255,255,.1) 62%, rgba(255,255,255,0) 68%),
    repeating-radial-gradient(circle at center, #0d0d0b 0 2px, #1c1c18 2px 3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: slide-out 1.3s cubic-bezier(.2,.7,.2,1) .35s both;
}
.record::before {
  content: "";
  position: absolute; inset: 31%;
  border-radius: 50%;
  background: var(--label);
}
.record::after {
  content: "";
  position: absolute; inset: 48.5%;
  border-radius: 50%;
  background: var(--olive);
}
.record .center {
  position: absolute; inset: 31%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(0.5rem, 1.15vw, 0.95rem);
  line-height: 1.12;
  color: #fbeed0;
  z-index: 2;
  padding-bottom: 32%;
}
.record .center span:last-child { padding-top: 0; }
@keyframes slide-out {
  from { transform: translateX(-46%) rotate(-40deg); }
  to   { transform: translateX(0) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .record { animation: none; }
}

/* ---------- Shared section rhythm ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.008em; }
.intro { margin-top: 18px; font-size: 1.15rem; color: var(--fg-soft); }

/* ---------- The bin problem ---------- */
.bins .head { margin-bottom: clamp(48px, 6vw, 72px); }
.bin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 5vw, 64px) clamp(28px, 5vw, 64px);
}
.bin-item { position: relative; border-top: 3px solid var(--rule); padding-top: 22px; }
.bin-item .tab {
  position: absolute;
  top: -2.05rem;
  left: 0;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.55rem 1rem 0.5rem;
  border: 3px solid var(--rule);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.bin-item p { color: var(--fg); max-width: 44ch; }

/* ---------- How it works ---------- */
.how { background: var(--bg-2); }
.how .layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.steps { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px 16px;
  padding: 24px 0;
  border-top: 3px solid var(--rule);
}
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.95;
  color: var(--label);
  grid-row: span 2;
}
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--fg); max-width: 52ch; }
.listen-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.listen-row p { flex: 1 1 26em; }
.listen-photo { flex: 0 0 auto; width: clamp(96px, 16vw, 140px); height: auto; }
.shot { position: sticky; top: 24px; margin: 0; }
.shot .frame { background: var(--ink); padding: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--fg-soft); font-style: italic; }
.staff-note {
  margin-top: 8px;
  padding: 18px 20px;
  border-left: 6px solid var(--brass);
  background: var(--bg);
}

/* ---------- Shop-floor features ---------- */
.floor .layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.photo-panel { background: var(--paper-fixed); padding: 18px; margin: 0; }
.photo-panel img { width: 100%; height: auto; mix-blend-mode: multiply; }
.photo-panel figcaption { margin-top: 10px; font-size: 0.95rem; color: #4a4a3e; font-style: italic; }
.floor dl { margin: clamp(28px, 3vw, 40px) 0 0; }
.floor dt { font-weight: 600; font-size: 1.12rem; padding-top: 18px; border-top: 1px solid var(--rule); }
.floor dd { margin: 4px 0 18px; color: var(--fg-soft); max-width: 56ch; }

/* ---------- Why you need one ---------- */
.why { background: var(--ink); color: #eeecdf; }
.why h2 { color: var(--brass); font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 14ch; }
.why-list { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 5vw, 72px); }
.why-list h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); color: #f6f3e4; line-height: 1.12; }
.why-list p { margin-top: 12px; color: #cfcdbd; max-width: 46ch; }
.why-list > div { border-left: 6px solid var(--label); padding-left: 20px; }

/* ---------- CTA ---------- */
.cta { background: var(--label); color: #fff8ea; padding: clamp(52px, 7vw, 88px) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: #fff8ea; }
.cta p { margin-top: 16px; font-size: 1.15rem; max-width: 40ch; }
.contact { background: var(--ink); color: #f1efe2; padding: 22px 24px; }
.contact strong { font-family: var(--display); font-weight: 400; color: var(--brass); display: block; margin-bottom: 10px; }
.contact div { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.22); }
.contact div:first-of-type { border-top: 0; }
.foot { padding-top: 22px; padding-bottom: 28px; font-size: .9rem; color: var(--fg-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .prelaunch .wrap, .hero .wrap, .how .layout, .floor .layout, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .sleeve-stage { max-width: 460px; }
  .shot { position: static; }
  .bin-grid, .why-list { grid-template-columns: minmax(0, 1fr); }
  .floor .photo-panel { max-width: 460px; }
}
@media (max-width: 480px) {
  .sleeve-stage { padding-right: 26%; }
  .record .center { font-size: 0.5rem; }
}

/* ---------- Print ---------- */
@media print {
  :root, :root:not([data-theme="light"]) {
    --bg: #eeede3; --bg-2: #e1dfcf; --fg: #14130f; --fg-soft: #4a4a3e; --rule: #14130f;
    padding: 0;
  }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  section, .hero, .cta { break-inside: avoid; padding-top: 36px; padding-bottom: 36px; }
  .record { animation: none; }
  .shot { position: static; }
}
