/* ─── The public pages ────────────────────────────────────────────── */
/* The landing page and the two legal ones. They load styles.css first, so
   the palette, the buttons, the backdrop and the sleeve-and-vinyl trick all
   come from the app itself — a marketing page that drifts from the product
   it is selling is a marketing page nobody trusts. What's here is only what
   the app has no use for: a wide reading column, display type, and the
   mock-ups that stand in for a shelf nobody has filled yet. */

body.site{
  position:relative;z-index:1;
  display:flex;flex-direction:column;min-height:100vh;
  font-size:16px;
}
/* The backdrop is fixed and positioned, so anything that isn't would paint
   underneath it — headings and paragraphs included. Lifting the whole of
   main settles it once instead of per section. */
.site main{flex:1;position:relative;z-index:1}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 clamp(20px,5vw,40px)}
.wrap.narrow{max-width:760px}

/* ── header and footer ── */
.site-top{
  position:relative;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px clamp(20px,5vw,40px);
}
.site-top .brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}
.site-top .brand strong{font-size:17px;font-weight:650;letter-spacing:.07em}
.site-top nav{display:flex;align-items:center;gap:6px}
.site-top nav a{
  color:var(--ink-2);text-decoration:none;font-size:14px;
  padding:8px 12px;border-radius:9px;
}
.site-top nav a:hover{color:var(--ink);background:#ffffff0d}
.site-top nav a.btn{color:#1f1f1f;padding:9px 16px}

.site-foot{
  position:relative;z-index:1;margin-top:clamp(60px,9vw,110px);
  border-top:1px solid var(--line);background:#0f0d0c99;backdrop-filter:blur(10px);
}
.site-foot .wrap{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px 24px;padding-top:22px;padding-bottom:26px;
  color:var(--ink-3);font-size:13.5px;
}
.site-foot a{color:var(--ink-2);text-decoration:none}
.site-foot a:hover{color:var(--ink);text-decoration:underline}
.site-foot nav{display:flex;flex-wrap:wrap;gap:18px}

/* ── type ── */
.kicker{
  margin:0 0 14px;color:var(--accent);font-size:13px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
}
.site h1{
  margin:0;font-size:clamp(34px,6.2vw,66px);line-height:1.02;
  letter-spacing:-.035em;font-weight:680;
  text-wrap:balance;
}
.site h2{
  margin:0;font-size:clamp(25px,3.4vw,38px);line-height:1.12;
  letter-spacing:-.028em;font-weight:660;text-wrap:balance;
}
.site h3{margin:0;font-size:18px;font-weight:640;letter-spacing:-.01em}
.lede{
  margin:20px 0 0;max-width:34em;
  font-size:clamp(16.5px,1.5vw,19px);line-height:1.6;color:var(--ink-2);
}
.site h1 em,.site h2 em{font-style:normal;color:var(--accent)}
.section-lede{margin:14px 0 0;max-width:56ch;color:var(--ink-2);line-height:1.65}

/* Everything on these pages sits over the photograph, so the words carry a
   little shadow to keep off it rather than the page carrying a slab. */
.hero h1,.hero .lede,.hero .kicker,.hero-note,.site-top .brand strong{
  text-shadow:0 2px 18px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5);
}

/* ── hero ── */
.hero{padding:clamp(28px,6vw,70px) 0 clamp(40px,7vw,80px)}
.hero .wrap{display:grid;gap:clamp(34px,5vw,64px);align-items:center;grid-template-columns:1fr}
@media (min-width:980px){
  .hero .wrap{grid-template-columns:1.05fr .95fr}
}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:30px}
.hero-note{margin:0;color:var(--ink-3);font-size:13.5px;line-height:1.5}
.hero-note strong{color:var(--ink-2);font-weight:600}
.hero-note a{color:var(--ink-2)}
.hero-note a:hover{color:var(--accent)}

/* ── the mock shelf ──
   Four sleeves with the record sliding out from behind them, exactly as on
   the real shelf: .sleeve and .vinyl are the app's own. The art is drawn in
   CSS rather than borrowed from a label — nobody's cover belongs on someone
   else's advertisement. */
.mock-shelf{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2.4vw,26px);
}
.mock-shelf .record{cursor:default}
.mock-shelf .record:nth-child(2){transform:translateY(clamp(14px,2.6vw,30px))}
.mock-shelf .record:nth-child(3){transform:translateY(clamp(-14px,-2.6vw,-8px))}
.mock-shelf .label{pointer-events:none}

.art{
  position:relative;z-index:2;aspect-ratio:1;border-radius:3px;overflow:hidden;
  box-shadow:inset 0 0 0 1px #ffffff14;
}
.art::after{                       /* the sheen of a printed sleeve */
  content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,#ffffff1a 0 22%,transparent 46%);
}
.art-1{background:
  radial-gradient(circle at 50% 56%, #e8b465 0 17%, transparent 17.5%),
  radial-gradient(circle at 50% 56%, transparent 0 26%, #c2512f 26.5% 34%, transparent 34.5%),
  linear-gradient(#20242f 0 46%, #161a24 46%);}
.art-2{background:
  repeating-linear-gradient(118deg, #d9d2c5 0 13px, #cfc6b6 13px 26px),
  #cfc6b6;}
.art-2::before{
  content:"";position:absolute;left:0;right:0;top:38%;height:13%;
  background:#7a2a20;box-shadow:0 26px 0 #0d0d0f;
}
.art-3{background:
  radial-gradient(circle at 32% 30%, #f0e7d6 0 9%, transparent 9.5%),
  linear-gradient(160deg, #1f4d4a 0 55%, #123232 55%);}
.art-3::before{
  content:"";position:absolute;inset:18% 12% auto;height:2px;background:#e8b46559;
  box-shadow:0 22px 0 #e8b46540, 0 44px 0 #e8b46526;
}
.art-4{background:
  linear-gradient(90deg, #171514 0 52%, #b8462f 52%),
  #171514;}
.art-4::before{
  content:"";position:absolute;left:14%;top:20%;width:30%;aspect-ratio:1;border-radius:50%;
  border:3px solid #e6dccb;
}
.art-5{background:linear-gradient(200deg,#2b2a44 0 40%,#514068 40% 68%,#8a5a55 68%);}
.art-6{background:
  radial-gradient(circle at 70% 26%, #f4ead6 0 22%, transparent 22.5%),
  linear-gradient(#5d1f1c, #241012);}

/* ── sections ── */
.band{padding:clamp(52px,8vw,104px) 0}
.band.rule{border-top:1px solid var(--line)}
.band-head{max-width:60ch}

.cards{
  margin-top:clamp(30px,4vw,52px);
  display:grid;gap:clamp(16px,2.2vw,26px);
  grid-template-columns:repeat(auto-fit,minmax(255px,1fr));
}
.card{
  background:#1a1715cc;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(22px,2.4vw,30px);backdrop-filter:blur(8px);
}
.card p{margin:10px 0 0;color:var(--ink-2);line-height:1.6;font-size:15px}
.card .glyph{
  width:38px;height:38px;border-radius:10px;margin-bottom:16px;
  display:grid;place-items:center;
  background:var(--accent-soft);border:1px solid #573524;color:var(--accent);
}
.card .glyph svg{width:20px;height:20px}

/* A row of alternating picture-and-words. The picture is a mock-up of the
   view it describes, so the page is showing the thing rather than a stock
   photograph of someone enjoying music. */
.show{
  display:grid;gap:clamp(26px,4vw,56px);align-items:center;
  grid-template-columns:1fr;
  padding:clamp(34px,4.4vw,56px) 0;
}
@media (min-width:900px){
  .show{grid-template-columns:1fr 1fr}
  .show.flip .show-art{order:-1}
}
.show + .show{border-top:1px solid var(--line)}
.show-words h3{
  color:var(--accent);font-size:12.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px;
}
.show-words p{margin:14px 0 0;color:var(--ink-2);line-height:1.65}
.show-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:9px}
.show-list li{
  position:relative;padding-left:22px;color:var(--ink-2);font-size:15px;line-height:1.55;
}
.show-list li::before{
  content:"";position:absolute;left:4px;top:.55em;
  width:7px;height:7px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);
}

.show-art{min-width:0}
.frame{
  border-radius:12px;overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow);background:var(--bg-2);
}

/* the crate mock: spines edge-on, one lifted as if under the cursor */
.mock-crate{display:flex;align-items:flex-end;gap:5px;height:230px;padding:22px 20px 18px;
  background:linear-gradient(#171412,#100e0d)}
.mock-crate i{
  display:block;flex:none;border-radius:2px 2px 1px 1px;
  box-shadow:inset -3px 0 6px #0009, inset 2px 0 0 #ffffff1a;
  transform-origin:bottom center;
}
.mock-crate i:nth-child(6){transform:translateY(-16px) rotate(0deg);box-shadow:0 12px 24px #000a}

/* the book mock: a white spread, small enough to read as an object */
.mock-book{
  display:grid;grid-template-columns:1fr 1fr;background:#fff;color:#111;
  font-family:"Helvetica Neue",Helvetica,Inter,ui-sans-serif,system-ui,sans-serif;
  min-height:230px;
}
.mock-book .p{padding:clamp(14px,1.8vw,22px);min-width:0}
.mock-book .p.right{border-left:1px solid #e9e9e9}
.mock-book .plate{
  width:min(96px,42%);aspect-ratio:1;border-radius:2px;
  box-shadow:0 10px 20px -12px #00000066;
}
.mock-book .cap{border-bottom:1px solid #111;padding-bottom:9px;margin-bottom:12px;display:flex;gap:12px;align-items:flex-end}
.mock-book .cap .txt{min-width:0}
.mock-book .who{font-size:8px;letter-spacing:.2em;text-transform:uppercase;color:#5e5e5e}
.mock-book .what{font-size:15px;letter-spacing:-.02em;margin-top:3px}
.mock-book .yr{font-size:9.5px;color:#9b9b9b;margin-top:3px}
.mock-book .trk{
  display:flex;justify-content:space-between;gap:10px;
  font-size:10px;color:#111;padding:4px 0;border-bottom:1px solid #eee;
}
.mock-book .trk span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mock-book .trk span:last-child{flex:none;color:#9b9b9b}
.mock-book .trk.fav span:first-child::before{content:"★ ";color:var(--accent)}
.mock-book .head{
  display:flex;justify-content:space-between;
  font-size:8px;letter-spacing:.2em;text-transform:uppercase;color:#5e5e5e;
  border-bottom:1px solid #111;padding-bottom:8px;margin-bottom:12px;
}
.mock-book .note{font-size:10.5px;line-height:1.7;color:#111;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #eee}
.mock-book .note:last-child{border-bottom:0}
.mock-book .note b{display:block;font:inherit;font-size:8px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:4px}

/* the album-page mock: the writing panel, in the app's own dark */
.mock-panel{padding:clamp(16px,2vw,24px);display:grid;gap:12px}
.mock-panel .row{display:flex;align-items:center;gap:12px}
.mock-panel .row .art{width:74px;flex:none;border-radius:2px}
.mock-panel .eyebrow{margin:0;color:var(--accent);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.mock-panel .ttl{font-size:19px;font-weight:650;letter-spacing:-.02em;margin-top:2px}
.mock-panel .age{color:var(--ink-3);font-size:12.5px;margin-top:3px}
.mock-panel .age b{color:var(--accent);font-weight:600}
.mock-panel .said{
  background:var(--bg-2);border:1px solid var(--line);border-radius:10px;
  padding:11px 13px;font-size:13.5px;line-height:1.6;color:var(--ink-2);
}
.mock-panel .said em{display:block;font-style:normal;color:var(--ink-3);font-size:11.5px;margin-top:7px}
.mock-panel .box{
  border:1px solid var(--accent);border-radius:10px;background:var(--bg);
  padding:11px 13px;color:var(--ink-3);font-size:13.5px;
}

/* ── the closing call ── */
.finale{
  text-align:center;padding:clamp(54px,8vw,104px) 0;
  border-top:1px solid var(--line);
}
.finale .lede{margin-left:auto;margin-right:auto}
.finale .hero-cta{justify-content:center}

/* ── the legal pages ── */
/* A thousand words of policy set over a photograph of a record shop is a
   photograph you cannot read a policy through. The picture stays — it is the
   same place — but dimmed nearly to black, and blurred further. */
.paper .backdrop::before{filter:saturate(.45) brightness(.75) blur(3px)}
.paper .backdrop::after{
  background:linear-gradient(180deg, rgba(18,16,14,.84) 0%, rgba(18,16,14,.96) 46%, #12100e 100%);
}

.doc{padding:clamp(28px,5vw,56px) 0 clamp(40px,6vw,70px)}
.doc-head{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:8px}
.doc-head .stamp{margin:14px 0 0;color:var(--ink-3);font-size:13.5px}
.doc-body{color:var(--ink-2);font-size:15.5px;line-height:1.72}
.doc-body h2{
  margin:40px 0 0;font-size:19px;font-weight:650;letter-spacing:-.01em;color:var(--ink);
}
.doc-body h3{margin:26px 0 0;font-size:15.5px;color:var(--ink)}
.doc-body p{margin:12px 0 0}
.doc-body ul{margin:12px 0 0;padding-left:20px}
.doc-body li{margin:7px 0}
.doc-body a{color:var(--accent)}
.doc-body strong{color:var(--ink);font-weight:620}
.doc-body table{
  width:100%;border-collapse:collapse;margin-top:16px;font-size:14.5px;
  display:block;overflow-x:auto;
}
.doc-body th,.doc-body td{
  text-align:left;vertical-align:top;padding:11px 14px 11px 0;
  border-bottom:1px solid var(--line);
}
.doc-body th{color:var(--ink);font-weight:620;white-space:nowrap}
.doc-toc{
  margin:26px 0 0;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius);
  background:#1a1715cc;
}
.doc-toc h2{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
.doc-toc ol{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14.5px}
.doc-toc a{color:var(--ink-2);text-decoration:none}
.doc-toc a:hover{color:var(--accent);text-decoration:underline}

/* ── coming into view ──
   Nothing here hides anything until the script has said it can un-hide it:
   .reveal goes on the body only once an observer exists and motion is
   welcome, so a page without JavaScript shows the finished article rather
   than a column of blanks. */
.reveal .watch{opacity:0;transform:translateY(14px)}
.reveal .watch.seen{
  opacity:1;transform:none;
  transition:opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1);
}

@media (max-width:620px){
  .mock-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mock-book{grid-template-columns:1fr}
  .mock-book .p.right{border-left:0;border-top:1px solid #e9e9e9}
  .site-top nav a:not(.btn){display:none}
}
