/* Four Letter Records — one stylesheet for every page.
   Concept: the site is a label's catalog. Pages read like sleeves and tape-box labels: bone on black,
   Helvetica Bold caps tracked, specs in monospace like the stamp on a master reel.
   Brand: ../../branding/four-letter-records-brand.md (bone #EAE0CE on black #060606). */

/* ───────── tokens ───────── */
:root {
  --ink: #060606;          /* ground */
  --raised: #0E0D0B;       /* second layer: sleeves, panels */
  --rule: #2A2620;         /* hairlines */
  --bone: #EAE0CE;         /* text, 15.5:1 on ink */
  --bone-dim: #C6B89E;     /* secondary text, 10.4:1 */
  --bone-faint: #8F846F;   /* fine print, spines, 5.5:1 */
  --accent: var(--bone);   /* one per product, set on <body data-product> */
  --on-accent: var(--ink);

  --f-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --head-h: 96px;          /* phone: two rows */
  --measure: 60ch;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
[data-product="artemis"]   { --accent: #FFB020; }   /* the Artemis amber LCD, sampled from artemis-shot.png; 11.1:1 */
[data-product="zeropoint"] { --accent: #FF2A1C; }   /* the ZEROPOINT red LED, sampled from plugin-screenshot.png; 5.4:1 */
[data-product="beat-key"]  { --accent: #FFBD3F; }   /* the Beat Key amber key, sampled from its app icon */
@media (min-width: 760px) { :root { --gutter: 32px; --head-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); color-scheme: dark;
  scrollbar-color: var(--rule) var(--ink); }
html { scroll-padding-top: var(--head-h); }
body { margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--accent); }
@media (min-width: 760px) { body { font-size: 18px; } }
::selection { background: var(--bone); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--rule); border: 2px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--bone-faint); }
img { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
a { color: var(--bone); text-decoration-line: underline; text-decoration-thickness: 1px;
  text-underline-offset: .22em; text-decoration-color: var(--bone-faint); transition: text-decoration-color .15s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 50; background: var(--bone); color: var(--ink);
  padding: var(--s2) var(--s4); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s2); }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
b, strong { font-weight: 700; color: var(--bone); }
kbd, .key { font: 600 .82em/1 var(--f-mono); padding: .18em .4em; border: 1px solid var(--rule); border-radius: 3px;
  background: var(--raised); color: var(--bone); white-space: nowrap; }

/* display type: Helvetica Bold, caps, tracked */
.display, h1, h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; line-height: 1.04;
  text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5.5rem); letter-spacing: .08em; }
h2 { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); }
h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1.3; }
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.4; color: var(--bone); max-width: 34ch;
  text-wrap: pretty; }
.prose p, p.body { max-width: var(--measure); color: var(--bone-dim); text-wrap: pretty; }
.fine { font-size: .875rem; color: var(--bone-faint); max-width: var(--measure); }
.fine a { color: var(--bone-dim); }
.accent { color: var(--accent); }

/* ───────── header (one, every page) ───────── */
.site-head { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--head-h);
  background: var(--ink); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 56px 40px; align-items: center;
  padding: 0 var(--gutter); }
.lockup { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--bone);
  font: 700 15px/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.lockup img { width: 40px; height: 40px; border-radius: 50%; }
@media (min-width: 760px) { .lockup { font-size: 16px; } .lockup img { width: 48px; height: 48px; } }
.nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--s2);
  border-top: 1px solid var(--rule); height: 40px; align-items: stretch; margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: flex; align-items: center; text-decoration: none; color: var(--bone-dim);
  font: 700 11px/1 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 2px solid transparent; padding-top: 2px; transition: color .15s; }
.nav a:hover { color: var(--bone); }
.nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--accent); }
.nav .tag { font: 500 10px/1 var(--f-mono); letter-spacing: 0; color: var(--bone-faint); margin-left: 6px; text-transform: none; }
@media (max-width: 759px) { .nav .tag { display: none; } }
@media (min-width: 760px) {
  .site-head { grid-template-rows: var(--head-h); }
  .nav { grid-column: auto; justify-content: flex-end; gap: var(--s6); border-top: 0; height: var(--head-h); margin: 0; padding: 0; }
  .nav a { font-size: 12px; letter-spacing: .14em; }
}
main { display: block; }
.page { padding-top: var(--head-h); }

/* ───────── buttons: tape-label plates ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px;
  padding: 0 var(--s5); border-radius: 2px; border: 1px solid var(--accent); background: var(--accent);
  color: var(--on-accent); text-decoration: none; font: 700 13px/1 var(--f-sans); letter-spacing: .16em;
  text-transform: uppercase; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 0 rgba(234, 224, 206, .18) inset, 0 6px 16px -6px rgba(0, 0, 0, .7);
  transition: background-color .15s, border-color .15s, color .15s, transform .1s; }
.btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--bone-faint); box-shadow: none; }
.btn.ghost:hover { border-color: var(--bone); background: rgba(234, 224, 206, .06); color: var(--bone); }
.btn .num { letter-spacing: 0; font-weight: 600; }
/* buttons in a row get equal widths (B4T's equal streaming-button grid) */
.btn-row { display: grid; grid-auto-flow: row; gap: var(--s3); width: 100%; max-width: 30rem; }
@media (min-width: 560px) { .btn-row { grid-auto-flow: column; grid-auto-columns: 1fr; } }

/* ───────── snap sections ───────── */
.snap { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--head-h) + var(--s7)) var(--gutter) var(--s8);
  display: grid; align-content: center; }
.snap + .snap { border-top: 1px solid var(--rule); }
.raised { background: var(--raised); }
/* no scroll snapping (J 2026-10-28): sections are full-screen, the page scrolls freely */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* the catalog number on a sleeve spine: every snapped section carries one */
.spine { position: absolute; left: var(--gutter); bottom: var(--s5); margin: 0;
  font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-faint);
  white-space: nowrap; pointer-events: none; }
.spine b { color: var(--accent); font-weight: 600; }
@media (min-width: 1100px) {
  .spine { left: auto; right: calc(var(--gutter) / 2 - 6px); bottom: var(--s7); writing-mode: vertical-rl; }
}

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
.stack > * + * { margin-top: var(--s5); }
.stack-sm > * + * { margin-top: var(--s3); }

/* meta strip: price · platform · version, stamped like a reel label */
.meta, .facts { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; list-style: none; }
.meta li, .facts li { font: 500 13px/1 var(--f-mono); color: var(--bone-dim); padding: var(--s2) var(--s3);
  border: 1px solid var(--rule); border-radius: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meta .hi { color: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ───────── home hero: the record ───────── */
.hero-home .split { align-items: center; }
/* the whole name on one line (J 2026-10-25): sized to the column, never wraps */
.hero-home .stack { container-type: inline-size; }
.wordmark { font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .1em; white-space: nowrap;
  font-size: min(6.9cqi, 4.5rem); }
.wordmark span { display: block; }
.wordmark .rule { display: flex; align-items: center; gap: var(--s4); margin: .45em 0 0; font-size: .6em; }
.wordmark .rule::before, .wordmark .rule::after { content: ""; flex: 1; height: 2px; background: var(--bone-dim); }
.wordmark .rule i { display: block; width: .09em; height: .09em; min-width: 6px; min-height: 6px; border-radius: 50%;
  background: var(--bone-dim); margin: 0 .06em; }
.tagline { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.3; max-width: 30ch; color: var(--bone); text-wrap: balance; }

.deck { position: relative; justify-self: center; width: min(56vw, 34vh, 620px); aspect-ratio: 1; }
@media (max-width: 959px) { .hero-home .deck { order: -1; } .hero-home .split { gap: var(--s6); } }
@media (min-width: 960px) { .deck { justify-self: end; width: min(44vw, 72vh, 640px); } }
.disc { position: absolute; inset: 0; border-radius: 50%; background: var(--raised);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px #2E2A23, inset 0 0 0 3px #0A0908; overflow: hidden; }
.disc svg.grooves { position: absolute; inset: 0; width: 100%; height: 100%; }
.label { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%;
  border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(234, 224, 206, .12), 0 2px 10px rgba(0, 0, 0, .8);
  transform: rotate(0deg); will-change: transform; animation: turn 1.8s linear 1.2s infinite; }   /* holds upright for 1.2 s after load, then turns */   /* 33⅓ rpm = one turn every 1.8 s */
.label img { width: 100%; height: 100%; transform: scale(1.18); }
.spindle { position: absolute; left: 50%; top: 50%; width: 2.2%; aspect-ratio: 1; margin: -1.1% 0 0 -1.1%;
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px rgba(234, 224, 206, .25); }
@keyframes turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.deck.is-stopped .label, html.is-hidden .label { animation-play-state: paused; }
@media (max-width: 959px) {
  /* same gap above the record as between record and name (J 2026-10-25) */
  .hero-home { --hero-gap: clamp(32px, 6svh, 64px); padding-top: calc(var(--head-h) + var(--hero-gap)); align-content: start; }
  .hero-home .split { gap: var(--hero-gap); }
  .hero-home .stack > * + * { margin-top: var(--s5); }
  .hero-home .stack > .btn-row { margin-top: var(--s6); }
  .hero-home .deck { width: min(80vw, 40vh, 440px); }
  .hero-home .btn-row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2); }
  .hero-home .btn-row .btn { padding: 0 var(--s2); letter-spacing: .1em; }
  .hero-home .wordmark { font-size: 6.9cqi; }
  .hero-home .tagline { font-size: 6.1cqi; }
}
@media (prefers-reduced-motion: reduce) { .label { animation: none; } }

/* ───────── catalog entries (home) ───────── */
.release { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .release { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); } }
.catno { font: 600 clamp(1rem, .8rem + 1vw, 1.5rem)/1 var(--f-mono); letter-spacing: .08em; color: var(--accent);
  font-variant-numeric: tabular-nums; }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s5); }
.release h2 { font-size: clamp(2.25rem, 1.2rem + 4vw, 4.75rem); letter-spacing: .08em; }
.line { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--bone-dim); }
.sleeve { position: relative; background: var(--raised); border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); overflow: hidden; }
.sleeve img { width: 100%; }
.sleeve.square { aspect-ratio: 1; }
.sleeve.square img { height: 100%; object-fit: cover; object-position: 50% 0; }
.sleeve figcaption, .cap { font: 500 12px/1.4 var(--f-mono); color: var(--bone-faint); letter-spacing: .04em; }
.sleeve figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s3) var(--s4);
  background: rgba(6, 6, 6, .88); border-top: 1px solid var(--rule); }
.release.wide { grid-template-columns: 1fr; }
.release.wide .sleeve img { width: 100%; }
.release.wide .copy { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .release.wide .copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: start; } }

/* liner notes (back of the sleeve): two columns of text, no cards */
.liner { display: grid; gap: var(--s8); }
.liner h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
@media (min-width: 960px) { .liner { grid-template-columns: 1fr 1fr; gap: var(--s9); } }
.notes { padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.notes > li, .notes > div { padding: var(--s5) 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--s2); }
.notes dt, .notes h3 { color: var(--bone); }
.notes dd, .notes p { margin: 0; color: var(--bone-dim); max-width: 52ch; }
ol.notes { counter-reset: step; }
ol.notes > li { grid-template-columns: 40px 1fr; column-gap: var(--s4); }
ol.notes > li::before { counter-increment: step; content: counter(step, decimal-leading-zero); grid-row: span 2;
  font: 600 14px/1.5 var(--f-mono); color: var(--accent); }

/* ───────── product pages ───────── */
.cover { display: flex; align-items: center; gap: var(--s5); }
.cover img { width: clamp(72px, 9vw, 120px); height: auto; flex: none; }
.shot { justify-self: center; width: 100%; max-width: 520px; }
@media (min-width: 960px) { .shot { justify-self: end; } }
.shot img { width: 100%; max-height: calc(100svh - var(--head-h) - 120px); object-fit: contain; object-position: 50% 50%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .85)); }
.feature .points { padding: 0; list-style: none; border-top: 1px solid var(--rule); max-width: 40rem; }
.feature .points li { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); color: var(--bone-dim); }
.feature .points b { display: block; color: var(--bone); margin-bottom: 2px; }
.feature .points small { display: block; margin-top: var(--s1); font: 500 12px/1.4 var(--f-mono); color: var(--bone-faint); }
/* a close crop of the real screenshot, at the part the copy talks about */
.crop { position: relative; width: 100%; border-radius: 2px; border: 1px solid var(--rule); background-color: var(--raised);
  background-repeat: no-repeat; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.crop.lcd { aspect-ratio: 16 / 6; background-size: 230% auto; background-position: 46% 2.3%; }
.crop.master { aspect-ratio: 9 / 16; max-width: 380px; justify-self: start; background-size: 380% auto; background-position: 100% 81%; }
.crop.routing { aspect-ratio: 5 / 4; background-size: 125% auto; background-position: 50% 44%; }
.crop.zled { aspect-ratio: 16 / 9; max-width: 640px; background-size: 260% auto; background-position: 53% 74%; }
.crop.rack { aspect-ratio: 1920 / 618; background-size: 100% auto; }
@media (min-width: 960px) { .feature.flip .split > :first-child { order: 2; } }

.trio { display: grid; gap: var(--s6); border-top: 1px solid var(--rule); padding-top: var(--s6); }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); } }
.trio p { color: var(--bone-dim); margin-top: var(--s2); }

.buy { display: grid; gap: var(--s4); align-content: start; padding: var(--s6); background: var(--ink);
  border: 1px solid var(--rule); border-radius: 2px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.raised .buy { background: var(--ink); }
.price { font: 600 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--f-mono); font-variant-numeric: tabular-nums;
  color: var(--accent); letter-spacing: -.01em; }
.buy .btn { width: 100%; }
.buy .links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: .9375rem; }
/* the free alpha licenses (flr.js unhides them while the store has some left) */
[data-alpha][hidden] { display: none !important; }
.alpha-box { display: grid; gap: var(--s3); padding-bottom: var(--s5); border-bottom: 1px solid var(--rule); }
.alpha-box .status, .stack > .status { color: var(--bone); line-height: 1.4; }

.status { display: inline-flex; align-items: center; gap: var(--s3); font: 500 14px/1 var(--f-mono); color: var(--bone-dim);
  font-variant-numeric: tabular-nums; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 42, 28, .18); }
.pull { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.25rem); text-wrap: balance; }
.pull span { display: block; margin-top: var(--s4); line-height: 1.4; font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--bone-dim); }
.notes.cols2 { display: grid; column-gap: var(--s8); }
@media (min-width: 860px) { .notes.cols2 { grid-template-columns: 1fr 1fr; border-top: 0; }
  .notes.cols2 > div { border-top: 1px solid var(--rule); border-bottom: 0; }
  .notes.cols2 > div.span2 { border-bottom: 1px solid var(--rule); } }
.notes .span2 { grid-column: 1 / -1; }
.facts li b { color: var(--bone); font-weight: 600; }

/* ───────── reading pages ───────── */
/* main.page already clears the fixed header */
.read { padding: var(--s6) var(--gutter) var(--s8); }
@media (min-width: 760px) { .read { padding: var(--s8) var(--gutter) var(--s9); } }
.read .col { max-width: 1240px; margin: 0 auto; }
.read .col > * { max-width: 46rem; }
.read.wide .col > section:first-of-type { max-width: none; }
.read h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); }
.read .lead { margin-top: var(--s5); max-width: 40ch; }
.read section { margin-top: var(--s8); }
.read h2 { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); letter-spacing: .14em; padding-bottom: var(--s3);
  border-bottom: 1px solid var(--rule); margin-bottom: var(--s5); }
.read p, .read li { color: var(--bone-dim); max-width: var(--measure); }
.read p + p { margin-top: var(--s4); }
.read ul.plain { padding-left: 1.1em; }
.read ul.plain li + li { margin-top: var(--s3); }
.read ul.plain li::marker { color: var(--bone-faint); }
.read .row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.read .row .btn { min-width: 14rem; }
@media (max-width: 559px) { .read .row .btn { width: 100%; } }
.product-row { display: grid; gap: var(--s3); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }

.product-row h3 { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.product-row h3 .mono { font-size: 12px; color: var(--bone-faint); font-weight: 500; letter-spacing: .06em; text-transform: none; }
.product-row .btn-row { max-width: 36rem; }
.btn.sm { min-height: 40px; padding: 0 var(--s2); font-size: 11px; letter-spacing: .1em; }
.callout { margin-top: var(--s5); padding: var(--s5); background: var(--raised); border: 1px solid var(--rule); border-radius: 2px; }
.callout b { display: block; margin-bottom: var(--s2); text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; }
.callout p { color: var(--bone-dim); }

/* tape-box label for the ZEROPOINT signal flow */
.flow { margin: var(--s6) 0 0; padding: var(--s5); background: var(--raised); border: 1px solid var(--rule); border-radius: 2px;
  font: 13px/1.5 var(--f-mono); color: var(--bone-dim); overflow-x: auto; white-space: pre; tab-size: 4; }
.flow .hi { color: var(--accent); font-weight: 600; }
.flow .dim { color: var(--bone-faint); }

/* recall sheets: a catalog index in columns */
.sheets { padding: 0; list-style: none; columns: 1; column-gap: var(--s7); }
@media (min-width: 640px) { .sheets { columns: 2; } }
.sheets li { break-inside: avoid; border-bottom: 1px solid var(--rule); max-width: none; }
.sheets a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s3) 0;
  text-decoration: none; color: var(--bone); }
.sheets a::after { content: "PDF"; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--bone-faint); }
.sheets a:hover { color: var(--accent); }
.sheets a:hover::after { color: var(--bone); }


/* ───────── footer (one, every page) ───────── */
.site-foot { border-top: 1px solid var(--rule); padding: var(--s7) var(--gutter) var(--s7); background: var(--ink); }
.site-foot .wrap { display: grid; gap: var(--s6); }
@media (min-width: 860px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.site-foot .mark { display: flex; gap: var(--s4); align-items: center; }
.site-foot .mark img { width: 56px; height: 56px; border-radius: 50%; }
.site-foot .mark p { font-size: .9375rem; color: var(--bone-dim); max-width: 30ch; }
.site-foot h3 { font-size: 11px; letter-spacing: .2em; color: var(--bone-faint); margin-bottom: var(--s3); }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li + li { margin-top: var(--s2); }
.site-foot li { font-size: .9375rem; }
.site-foot li a { text-decoration: none; color: var(--bone-dim); }
.site-foot li a:hover { color: var(--bone); }
.site-foot .cat { font: 500 13px/1.4 var(--f-mono); }
.site-foot .cat span { color: var(--bone-faint); margin-right: var(--s2); }
.site-foot .legal { grid-column: 1 / -1; padding-top: var(--s5); border-top: 1px solid var(--rule);
  font-size: .8125rem; color: var(--bone-faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.site-foot .legal a { color: var(--bone-dim); }
/* the last snapped screen holds the closing block and the footer */
.snap.last { padding-bottom: 0; grid-template-rows: 1fr auto; align-content: stretch; }
.snap.last > .closing { position: relative; display: grid; align-content: center; padding-bottom: var(--s8); }
.closing > .spine { left: 0; bottom: var(--s5); }
@media (min-width: 1100px) { .closing > .spine { left: auto; right: calc(var(--gutter) * -0.5 - 6px); bottom: var(--s7); } }
.snap.last > .site-foot { margin: 0 calc(var(--gutter) * -1); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* support: the page's own section anchors, sticky in the otherwise empty right column (wide screens only) */
.aside { display: none; }
@media (min-width: 1180px) {
  .col.has-aside { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); column-gap: var(--s9); align-items: start; }
  .col.has-aside > * { grid-column: 1; }
  .col.has-aside > .aside { display: block; grid-column: 2; grid-row: 1 / span 20; position: sticky; top: calc(var(--head-h) + var(--s8));
    max-width: 16rem; border-left: 1px solid var(--rule); padding-left: var(--s5); }
  .aside h3 { font-size: 11px; letter-spacing: .2em; color: var(--bone-faint); margin-bottom: var(--s3); }
  .aside ul { list-style: none; padding: 0; margin: 0 0 var(--s5); }
  .aside li + li { margin-top: var(--s2); }
  .aside li a { text-decoration: none; color: var(--bone-dim); font-size: .9375rem; }
  .aside li a:hover { color: var(--bone); }
}

/* ───────── Products menu (J 2026-10-28) ─────────
   Click "Products" = the /products page. Hover or keyboard focus on a desktop drops the list down.
   Phones (no hover) never open it: a tap goes straight to /products. */
.has-menu { position: relative; display: flex; }
.menu { display: none; }
@media (min-width: 760px) and (hover: hover) {
  .nav { overflow: visible; }
  .menu { display: block; position: absolute; top: 100%; right: calc(var(--s4) * -1); z-index: 30; min-width: 13rem;
    margin: 0; padding: var(--s2) 0; list-style: none; background: var(--raised); border: 1px solid var(--rule);
    border-top-color: var(--bone-faint); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .9);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .15s, transform .15s var(--ease-out), visibility 0s linear .15s; }
  .has-menu:hover .menu, .has-menu:focus-within .menu {
    opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s var(--ease-out); }
  .menu a { display: block; padding: var(--s3) var(--s5); border: 0; letter-spacing: .14em; }
  .menu a:hover, .menu a:focus-visible { background: rgba(234, 224, 206, .06); color: var(--bone); }
  .menu a[aria-current="page"] { color: var(--bone); }
}

/* products page: one tape-box label per product, the whole card is the link */
.read .col > .shelf { max-width: none; }
.shelf { display: grid; gap: var(--s4); margin-top: var(--s7); padding: 0; list-style: none; }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.shelf > li { max-width: none; }
.shelf > li > a { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); height: 100%; padding: var(--s6) var(--s5);
  background: var(--raised); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 2px;
  text-decoration: none; color: var(--bone); transition: border-color .15s, transform .15s var(--ease-out); }
.shelf > li > a:hover { border-color: var(--bone-faint); border-top-color: var(--accent); transform: translateY(-2px); }
.shelf h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: .08em; padding: 0; border: 0; margin: 0; }
.shelf .meta { margin-top: var(--s2); }
.shelf .go { margin-top: auto; padding-top: var(--s4); font: 700 12px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); }

/* Beat Key: the icon is the sleeve; its own black square, shown whole */
.bk-face { justify-self: center; width: min(100%, 440px); }
.sleeve.square.bk-face img { object-fit: contain; object-position: 50% 50%; }
[data-product="beat-key"] .led { box-shadow: 0 0 0 3px rgba(255, 189, 63, .18); }

/* ───────── store pages (/account, /store: flr-store.py) ───────── */
.store h1 { margin-bottom: var(--s4); }
.store h2 { margin-top: var(--s7); }
.store p { margin-top: var(--s3); }
.store .card { background: var(--raised); border: 1px solid var(--rule); border-radius: 2px; padding: var(--s5);
  margin: var(--s4) 0; max-width: 46rem; }
.store .card h3 { margin-bottom: var(--s2); }
.store .card .meta { display: block; font: 500 13px/1.6 var(--f-mono); color: var(--bone-faint); letter-spacing: 0; }
.store .card .meta, .store .card p { max-width: none; }
.store .card.free { border-top: 3px solid var(--bk, #FFBD3F); }
.store .row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.store .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s5);
  border-radius: 2px; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); text-decoration: none;
  font: 700 13px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; }
.store .cta:hover { background: #fff; border-color: #fff; }
.store .cta.ghost { background: transparent; color: var(--bone); border-color: var(--bone-faint); }
.store .cta.ghost:hover { border-color: var(--bone); background: rgba(234, 224, 206, .06); }
.store form { margin-top: var(--s5); }
.store input[type=email], .store input[type=text] { display: block; width: 100%; max-width: 26rem; font: inherit; color: var(--bone);
  padding: 14px 16px; border: 1px solid var(--bone-faint); border-radius: 2px; background: var(--raised); }
.store input[type=email]:focus, .store input[type=text]:focus { outline: 2px solid var(--bone); outline-offset: 2px; }
.store .amber { color: #FFB020; }
@media (max-width: 559px) { .store .row .cta { width: 100%; } }
.shot.bk-panel { max-width: 380px; }
@media (min-width: 960px) { .feature.flip .shot.bk-panel { justify-self: start; } }
