@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Anybody"; src: url("assets/fonts/anybody-variable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-400-500.woff2") format("woff2"); font-style: normal; font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-500-700.woff2") format("woff2"); font-style: normal; font-weight: 500 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-500-800.woff2") format("woff2"); font-style: normal; font-weight: 500 800; font-display: swap; }

/* REDROCER — quiet page, loud product.
   Black plastic and aluminium, one brand orange (#EC5A1E). */
:root {
  --ink: #111112;
  --ink-2: #18181a;
  --line: #2a2a2d;
  --text: #f1efea;
  --soft: #d2cfc9;
  --muted: #9d9a95;
  --brand: #ec5a1e;
  --brand-deep: #c4481a;
  --alu-top: #dededb;
  --alu-bottom: #b9b9b6;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --headline: "Anybody", "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(22px, 6vw, 96px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; font-family: var(--headline); font-weight: 760; font-stretch: 78%; letter-spacing: -.045em; }
em { font-style: normal; color: var(--brand); }

/* Wordmark: REDR, a record for the O, then CER mirrored —
   REDROCER is RECORDER read backwards. */
.mark { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.mark-icon { width: 36px; height: 36px; border-radius: 22.5%; }
.wm {
  display: inline-flex;
  align-items: baseline;
  font: 800 30px/1 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .065em;
  color: var(--text);
  white-space: nowrap;
}
.wm-flip { display: inline-block; transform: scaleX(-1); }
.wm-disc {
  /* The O: a heavy ring as thick as the letters' stems, as tall as the
     capitals (Barlow Condensed cap height ≈ .7em), with a small record
     inside — black grooves, red label, spindle hole. */
  position: relative;
  display: inline-block;
  flex: none;
  width: .72em;
  height: .72em;
  margin-right: .065em;
  transform: translateY(.01em);
  border-radius: 50%;
  background: currentColor;
}
.wm-disc::after {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b0b0c 0 4%, var(--brand) 5% 31%, #b4441a 32%, #0b0b0c 33% 36%, transparent 37%),
    repeating-radial-gradient(circle, #1f1f21 0 .5px, #080809 .5px 1.4px);
  box-shadow: inset 0 0 0 .02em #000;
}
.mark-small .wm { font-size: 22px; }

/* Keys: the app's hardware buttons, used sparingly */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font: 600 15px/1 var(--display);
  letter-spacing: -.01em;
  color: var(--text);
  background: linear-gradient(#2e2e31, #1a1a1c);
  border: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 0 #000;
  transition: transform .06s ease, filter .06s ease, box-shadow .06s ease;
}
.key:active { transform: translateY(2px); filter: brightness(.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.key-brand { color: #fff; background: linear-gradient(#f06a30, var(--brand-deep)); }

/* Header */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 64px;
  padding: 0 var(--gutter);
  background: rgba(17,17,18,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bar-nav { display: flex; gap: 26px; margin-left: auto; font: 500 15px/1 var(--display); color: var(--muted); }
.bar-nav a:hover, .bar-link:hover { color: var(--text); }
.bar-link { font: 600 15px/1 var(--display); color: var(--soft); }

/* Phone */
.phone {
  position: relative;
  margin: 0;
  width: min(320px, 76vw);
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(150deg, #3b3b3e, #0c0c0d 45%, #232325);
  box-shadow: inset 0 0 0 1.5px #48484c, 0 40px 90px rgba(0,0,0,.5);
}
.phone img { border-radius: 45px; }


/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  min-height: min(calc(100svh - 64px), 940px);
  justify-items: end;
  padding: clamp(20px, 3svh, 36px) var(--gutter) 72px;
}
/* The record: fixed at the top, standing still until you scroll — then it
   turns with the page, and the content swings in around it. */
.deck-vinyl {
  /* Anchored in the top corner like the app's deck: the spindle sits near
     the corner and about a third of the record is on screen. */
  --disc: min(1400px, 104vw);
  --cx: 3vw;
  --cy: 1vh;
  position: fixed;
  z-index: 0;
  left: 0;
  top: 0;
  width: var(--disc);
  height: var(--disc);
  transform: translate(calc(-50% + var(--cx)), calc(-50% + var(--cy)));
  pointer-events: none;
  border-radius: 50%;
}
/* The shadow is a static layer under the turning image, so it never repaints. */
.deck-vinyl::before { content: ""; position: absolute; inset: 2%; border-radius: 50%; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.deck-vinyl svg, .deck-vinyl img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The platter is rasterised once and only turned on the GPU while scrolling. */
.deck-vinyl-record { will-change: transform; transform: translateZ(0); }
main, .foot { position: relative; z-index: 1; }
/* Text that rides over the record keeps a soft dark halo, so the bright rim
   and its strobe dots never cut through the letters. */
main p, main h2, main h3, .pain-list span {
  text-shadow: 0 0 18px rgba(17,17,18,.95), 0 0 6px rgba(17,17,18,.9), 0 1px 2px rgba(0,0,0,.8);
}
.bar { z-index: 20; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: clamp(52px, min(7.6vw, 13svh), 118px); line-height: .95; }
.hero-cap {
  display: inline-block;
  margin-right: .05em;
  transform: scaleY(1.085);
  transform-origin: 50% 82%;
}
.lede { max-width: 500px; margin: 30px 0 38px; font-size: clamp(18px, 1.4vw, 21px); color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.actions-center { justify-content: center; }
.note { font-size: 15px; color: var(--muted); }
.hero-phone { position: relative; z-index: 2; }

/* The problem: the list where ideas go to sleep */
.pain {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 130px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) var(--gutter);
  border-top: 1px solid rgba(255,255,255,.05);
}
.pain-list { display: grid; gap: 0; margin: 0; }
.pain-list span {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font: 500 19px/1.2 var(--body);
  color: #77746f;
}
.pain-list span:nth-child(3) { color: #aaa6a0; }
.pain-list i { float: right; font-style: normal; color: #686560; }
.pain-flip { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); border-top: 0; padding-top: 0; }
.pain-flip .pain-list span:last-child i { color: #b45632; }
.pain-copy h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.pain-copy p { max-width: 520px; margin: 24px 0 0; color: var(--soft); }

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 150px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  border-top: 1px solid rgba(255,255,255,.05);
}
.feature-flip { grid-template-columns: minmax(0, 1fr) auto; }
.copy { max-width: 520px; }
.copy h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.copy p { margin: 24px 0 0; color: var(--soft); }
.copy p + p { margin-top: 14px; }

.plate {
  margin: 0;
  width: min(460px, 86vw);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px rgba(0,0,0,.5);
}

/* Takes: a few things people make with it */
.takes {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) var(--gutter);
  border-top: 1px solid rgba(255,255,255,.05);
}
.takes > h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.takes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.take {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: linear-gradient(#1c1c1e, #151516);
  border: 1px solid rgba(255,255,255,.06);
}
.take:first-child { background: radial-gradient(420px 260px at 0% 0%, rgba(236,90,30,.16), transparent 70%), linear-gradient(#1c1c1e, #151516); }
.take-no { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.take h3 { margin: 18px 0 0; font-family: var(--headline); font-size: 24px; font-weight: 720; font-stretch: 84%; line-height: 1.08; letter-spacing: -.035em; }
.take p { margin: 14px 0 0; font-size: 16px; color: var(--soft); }
.take-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.take-keys .key { height: 40px; padding: 0 14px; font-size: 13px; }

/* Effects: the brushed faceplate */
.fx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(90px, 11vw, 150px) max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 1px, transparent 1px 3px),
    linear-gradient(var(--alu-top), var(--alu-bottom));
}
.fx h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.fx-copy { max-width: 560px; }
.fx-copy p { margin: 24px 0 0; color: #3e3e3c; }
.fx-keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.fx-keys .key { height: 46px; padding: 0 18px; font-size: 14px; }

/* Closing */
.closing {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(110px, 13vw, 180px) var(--gutter);
  border-top: 1px solid rgba(255,255,255,.05);
}
.closing-icon { width: clamp(132px, 13vw, 176px); border-radius: 22.5%; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.closing h2 { margin-top: 44px; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; }
.closing p { margin: 20px 0 36px; color: var(--soft); }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
  color: var(--muted);
}
.foot p { margin: 0; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { transition: color .15s ease; }
.foot-links a:hover { color: var(--text); }

/* Motion: a gentle rise, nothing more */
.reveal { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none !important; opacity: 1 !important; }

}

@media (max-width: 980px) {
  .bar-nav { display: none; }
  .bar-link { margin-left: auto; }
  .hero, .feature, .feature-flip, .fx, .pain { grid-template-columns: 1fr; }
  .pain-copy { order: -1; }
  .takes-grid { grid-template-columns: 1fr 1fr; }
  .hero {
    min-height: calc(100svh - 64px);
    justify-items: start;
    padding-top: clamp(136px, 42vw, 210px);
    padding-bottom: 48px;
  }
  .deck-vinyl { --disc: 190vw; --cx: 10vw; --cy: 4vh; }
  .hero-phone, .feature .phone, .feature .plate, .fx .phone { justify-self: center; }
  .feature:not(.feature-flip) .copy { order: -1; }
}
@media (max-width: 520px) {
  .hero {
    padding-top: clamp(128px, 40vw, 170px);
    padding-bottom: 44px;
  }
  .lede { margin: 22px 0 26px; }
  body { font-size: 17px; }
  .takes-grid { grid-template-columns: 1fr; }
  .wm { font-size: 26px; }
  .mark-icon { width: 32px; height: 32px; }
  .foot { align-items: flex-start; flex-direction: column; gap: 22px; }
  .foot-links { flex-wrap: wrap; }
}
