/* Mark Adam Burnett: one theme, graphite and brass, set like a record's liner notes. */

@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #121316;
  --ink-2: #191b1f;
  --ink-deep: #0b0c0e;
  --paper: #efe9dd;
  --paper-2: #c6c0b4;
  --muted: #9a958c;
  --brass: #c9a56a;
  --brass-2: #8a7048;
  --line: rgba(239, 233, 221, .13);
  --f-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --f-body: "Hanken Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1296px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.label {
  display: flex; align-items: center; gap: .75rem;
  font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.section { padding-block: clamp(80px, 11vw, 168px); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); }

/* Buttons: the label says where the click goes, the line beside it says what happens there. */
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--brass); border-radius: 2px;
  color: var(--paper); background: transparent; text-decoration: none;
  font: 600 1rem/1.2 var(--f-body); letter-spacing: .01em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--brass); color: var(--ink); }
.btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.beside { font: 400 .8125rem/1.55 var(--f-mono); color: var(--paper-2); max-width: 44ch; flex: 1 1 16rem; }
.act--stack { display: grid; justify-items: start; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--brass); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  font-weight: 600;
}
.link:hover { color: var(--paper); }

/* ---------- Hero: the sleeve, with the record sliding out ---------- */
.hero { position: relative; overflow: clip; isolation: isolate; padding-block: 28px clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; gap: 28px; }
.platter { position: relative; width: min(84vw, 420px); justify-self: end; margin-right: -26vw; margin-bottom: -12px; }
.platter svg { display: block; width: 100%; height: auto; }
/* Mark's portrait sits on the platter's centre label, inside the ring of label text. */
.portrait { position: absolute; inset: 34%; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink); }
.eyebrow { font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.name { font-size: clamp(3.5rem, 16.5vw, 8.5rem); line-height: .88; letter-spacing: -.028em; margin-top: 18px; }
.role { margin-top: 22px; font: 600 .8125rem/1.6 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.role span { color: var(--muted); font-weight: 400; letter-spacing: .14em; }
.philosophy { margin-top: clamp(32px, 4vw, 52px); position: relative; }
.philosophy p { font: 400 clamp(1.625rem, 2.9vw, 2.75rem)/1.16 var(--f-display); letter-spacing: -.01em; text-wrap: pretty; max-width: 25ch; }
.philosophy p + p { margin-top: .35em; color: var(--paper-2); }
.philosophy::before { content: "\201C"; position: absolute; left: -.5em; top: -.12em; font: 400 clamp(2.5rem, 4.5vw, 4.25rem)/1 var(--f-display); color: var(--brass); }

.credits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px;
  margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.credits dt { font: 400 clamp(2rem, 3.4vw, 2.75rem)/1 var(--f-display); color: var(--brass); font-variant-numeric: lining-nums; }
.credits dd { margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--paper-2); max-width: 30ch; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; display: grid; align-content: center; padding-block: 56px 48px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .hero-text { grid-column: 1; grid-row: 1; }
  .platter { grid-column: 2; grid-row: 1; width: min(52vw, 760px); justify-self: start; margin: 0 0 0 -4vw; transform: translateX(14%); }
  .name { font-size: clamp(4.5rem, 8.6vw, 8.75rem); }
  .credits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Platter artwork */
.p-disc { fill: var(--ink-deep); stroke: var(--brass-2); stroke-width: 1; }
.p-strobe { fill: none; stroke: var(--brass); stroke-linecap: round; }
.p-groove { fill: none; stroke: var(--paper); stroke-width: .7; }
.p-label { fill: var(--brass); }
.p-label-ring { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1; }
.p-label-text { fill: var(--ink); font: 500 11.5px var(--f-mono); letter-spacing: 2.6px; }
.p-hole { fill: var(--ink); }
.p-spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 72s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Story ---------- */
.story-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.story-steps > div { display: grid; gap: 10px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.story-steps dt { font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story-steps dd { font: 400 clamp(1.375rem, 2.4vw, 2.125rem)/1.25 var(--f-display); max-width: 34ch; text-wrap: pretty; }
.story-steps .turn dt { color: var(--brass); }
@media (min-width: 900px) {
  .story-steps > div { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: baseline; padding-block: 34px; }
}

/* ---------- Scene ---------- */
.scene-text p { font: 400 clamp(1.375rem, 2.35vw, 2.125rem)/1.34 var(--f-display); text-wrap: pretty; max-width: 40ch; }
.scene-text p + p { margin-top: 1em; }
.scene-text em { font-style: normal; color: var(--brass); }
@media (min-width: 900px) { .scene .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } .scene .section-head { margin: 0; align-content: start; } }

/* ---------- Tools ---------- */
.tools-list { display: grid; gap: clamp(88px, 11vw, 160px); }
.tool { display: grid; gap: 32px; align-items: center; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 .75rem/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tool-meta .n { color: var(--brass); }
.tool--apart { padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.tool--apart .label { margin-bottom: 18px; }
.tool h3 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin-top: 16px; }
.tool-desc { margin-top: 20px; font-size: 1.125rem; line-height: 1.6; color: var(--paper-2); max-width: 46ch; }
.tool-note { margin-top: 18px; font-size: .9375rem; color: var(--muted); max-width: 46ch; }
.tool .acts { display: grid; gap: 20px; margin-top: 30px; }
.shot { background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.shot--window { background: var(--ink-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.wheel { width: min(100%, 520px); margin-inline: auto; }
.wheel img { border-radius: 50%; clip-path: circle(48.6% at 50% 50%); box-shadow: 0 0 0 1px var(--line); }
.stats { display: grid; gap: 36px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2); }
.stats p { display: grid; gap: 8px; }
.stats .n { font: 400 clamp(4rem, 8vw, 7rem)/.86 var(--f-display); color: var(--brass); font-variant-numeric: lining-nums; letter-spacing: -.03em; }
.stats .n small { font-size: .28em; letter-spacing: 0; color: var(--paper-2); margin-right: .2em; }
.stats .k { font: 400 .8125rem/1.5 var(--f-mono); color: var(--paper-2); letter-spacing: .04em; }
@media (min-width: 900px) {
  .tool { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); }
  .tool--flip .tool-media { order: 2; }
  .tool--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------- Coming soon + Future Fabrik ---------- */
.aside-grid { display: grid; gap: clamp(64px, 8vw, 96px); }
.aside-grid h2, .aside-grid h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 20px; }
.aside-grid .body { margin-top: 18px; color: var(--paper-2); max-width: 46ch; }
.status {
  display: inline-block; margin-top: 24px; padding: 10px 14px;
  border: 1px dashed var(--brass-2); border-radius: 2px;
  font: 500 .8125rem/1.4 var(--f-mono); letter-spacing: .06em; color: var(--brass);
}
.project { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.project h3 { margin-top: 10px; }
.credit { font: 400 .75rem/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project .act { margin-top: 24px; }
@media (min-width: 900px) { .aside-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 120px); } }

/* ---------- Support: a priced tracklist, not a tier grid ---------- */
.support-grid { display: grid; gap: 48px; }
.support .lead { margin-top: 24px; font: 400 clamp(1.25rem, 2vw, 1.625rem)/1.4 var(--f-display); color: var(--paper-2); max-width: 26ch; }
.tiers { border-top: 1px solid var(--line); }
.tier { display: grid; gap: 14px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.tier-head { display: flex; align-items: baseline; gap: 14px; }
.tier-head h3 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); white-space: nowrap; }
.tier-head .leader { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--brass-2); transform: translateY(-.35em); }
.price { font: 500 1rem/1.3 var(--f-mono); color: var(--brass); text-align: right; }
.tier-gets { color: var(--paper-2); max-width: 52ch; }
.tier .act { margin-top: 8px; }
.tiers-sub { margin-top: 44px; margin-bottom: 4px; }
@media (min-width: 900px) { .support-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(48px, 6vw, 96px); } .support-grid .section-head { margin: 0; align-content: start; } }

/* ---------- Supporters wall: liner-note thanks ---------- */
.wall-empty { font: 400 clamp(1.5rem, 2.8vw, 2.375rem)/1.3 var(--f-display); color: var(--paper-2); max-width: 30ch; text-wrap: pretty; }
.wall-next { margin-top: 18px; }
.wall-names { display: flex; flex-wrap: wrap; gap: .25em 0; font: 400 clamp(1.75rem, 3.6vw, 3rem)/1.25 var(--f-display); max-width: 60rem; }
.wall-names li:not(:last-child)::after { content: "·"; color: var(--brass); margin-inline: .45em; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot-grid { display: grid; gap: 28px; }
.foot-name { font: 400 1.75rem/1.1 var(--f-display); }
.foot-note { margin-top: 10px; color: var(--muted); font-size: .9375rem; max-width: 52ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper-2); text-decoration: underline; text-decoration-color: var(--brass-2); text-underline-offset: 5px; }
.foot-nav a:hover { color: var(--paper); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- Legal pages and 404 ---------- */
.doc { padding-block: 40px 96px; }
.doc-back { margin-bottom: 48px; }
.doc h1 { font-size: clamp(2.75rem, 7vw, 5rem); margin-bottom: 40px; }
.doc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 14px; }
.doc p { max-width: 64ch; color: var(--paper-2); }
.doc p + p { margin-top: 12px; }
.doc address { font-style: normal; color: var(--paper); line-height: 1.7; }
.doc a:not(.link) { color: var(--brass); text-underline-offset: 4px; padding-block: 12px; }
.doc a:not(.link):hover { color: var(--paper); }
.doc .stand { margin-top: 48px; font: 400 .8125rem/1.5 var(--f-mono); color: var(--muted); }
.lost { min-height: 70svh; display: grid; align-content: center; gap: 24px; }
.lost h1 { font-size: clamp(3rem, 8vw, 6rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.nw { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
