:root {
  --ink: #251a17;
  --stock: #e6ae82;
  --white: #fff1d8;
  --gutter: clamp(20px, 4.4vw, 84px);
  --scene-background: #161616;
  --scene-type: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--scene-background);
}
* { box-sizing: border-box }
body, h1, h2, h3, p, dl, dd { margin: 0 }
body { font-size: 1rem; line-height: 1.35; background: var(--scene-background); isolation: isolate }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #09090970, transparent 22%, transparent 60%, #09090980),
              url("assets/studio-pencil.webp") center / cover no-repeat;
  opacity: .77;
}
body.discography { --stock: #e1c6aa }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px }
.skip { position: fixed; left: 1em; top: -8em; z-index: 10; background: var(--white); color: var(--ink); padding: .7em }
.skip:focus { top: 1em }
.mast, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter) }
.mast { position: absolute; inset: 0 0 auto; z-index: 4; color: var(--scene-type) }
.signature { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none }
.signature img { display: block; width: 44px; height: auto }
nav { display: flex; gap: clamp(15px, 2.6vw, 44px) }
nav a { padding: .5em 0; font-size: .94rem; text-decoration: none }
nav a[aria-current], nav a:hover { text-decoration: underline }
.sequence { position: relative; isolation: isolate }
.stage { position: relative; height: 84vh; height: 84svh; min-height: 360px; overflow: hidden; isolation: isolate; color: var(--scene-type) }
.scroll-ready .stage { position: sticky; top: 0; height: 100vh; height: 100svh }
.stage-paper, .sculpture { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.stage-paper { background: #1d181545; opacity: 0 }
.discography .stage-paper { background: #211b2045 }
.stage-title { position: absolute; z-index: 1; bottom: 12%; left: var(--gutter); font: 400 clamp(64px,12.5vw,235px)/.91 Georgia,serif; letter-spacing: -.095em }
.stage-title img { display: block; width: clamp(88px,min(16vw,23svh),210px); height: auto }
.cue { position: absolute; bottom: min(3.5%,25px); left: var(--gutter); display: grid; place-items: center start; width: 48px; height: 48px; color: #f3f2ec }
.cue svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px #161616) }
.cue .pencil-echo { stroke-width: .7; opacity: .65 }
.cue:focus-visible { opacity: 1 !important }
@media (hover:hover) { .cue:hover svg { color: var(--stock) } }
.landing { --underlay: #1b171568; --leader-height: clamp(80px, 16vw, 220px); position: relative; z-index: 1; isolation: isolate; display: flow-root; background: linear-gradient(transparent,var(--underlay) var(--leader-height)) }
.discography .landing { --underlay: #1c181c68 }
.scroll-ready .landing { margin-top: 45vh; margin-top: 45svh }
.loom { position: absolute; inset: 0; pointer-events: none; z-index: -1 }
.loom canvas { display: block; width: 100%; position: sticky; top: 0; height: 100vh; height: 100lvh }
.leader { height: var(--leader-height) }
.tail { height: clamp(72px, 12vw, 180px) }
.fold { position: relative; padding: clamp(28px,4.1vw,66px) 18% clamp(34px,4.6vw,76px) 17%; color: var(--ink); background: var(--stock) }
.woven .fold { background: transparent }
.section-title, .catalog-heading h2 { font: italic 400 clamp(2.8rem,6.1vw,7rem)/.98 Georgia,serif; letter-spacing: -.072em }
.section-title { padding-top: clamp(36px,4.3vw,78px); padding-bottom: clamp(28px,3.4vw,62px) }
.tariff, .contact-panel, .catalog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px }
.tariff dt, .contact-panel h3 { font-size: clamp(1.35rem,2.7vw,3rem); font-weight: 500; line-height: 1; letter-spacing: -.052em }
.tariff dd { font: 400 clamp(1.8rem,4.8vw,5.8rem)/.95 Georgia,serif; letter-spacing: -.07em; white-space: nowrap }
.tariff small { display: block; font: 400 .94rem/1.4 Arial,sans-serif; letter-spacing: 0; margin-top: 8px }
.tariff dd small { text-align: right }
.contacts { display: flex; flex-wrap: wrap; gap: 8px }
.contacts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 96px; padding: 10px 15px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); text-decoration: none }
@media (hover:hover) and (pointer:fine) {
  .contacts a:hover { color: var(--ink); background: var(--white) }
}
.work { --cover: clamp(64px,8vw,134px); --gap: clamp(14px,2vw,36px); display: grid; grid-template-columns: var(--cover) minmax(0,1fr); grid-template-rows: auto auto; column-gap: var(--gap); align-content: center }
.work-main { grid-column: 1/-1; grid-row: 1/3; display: grid; grid-template-columns: var(--cover) minmax(0,1fr); gap: var(--gap); align-items: center; text-decoration: none }
.work-main>div { padding-bottom: 30px }
.work .platforms { grid-column: 2; grid-row: 2; justify-self: start; align-self: end; position: relative }
.work:has(details[open]) .work-main { grid-row: 1 }
.work:has(details[open]) .work-main>div { padding: 0 }
.work.reverse, .work.reverse .work-main { grid-template-columns: minmax(0,1fr) var(--cover) }
.work.reverse .work-main img { grid-column: 2; grid-row: 1 }
.work.reverse .work-main>div, .work.reverse .platforms { grid-column: 1 }
.work.reverse .work-main>div { grid-row: 1 }
.work-main:hover h3, .sleeve:hover h3 { text-decoration: underline }
.work-main img { width: var(--cover); height: auto; aspect-ratio: 1; transform: rotate(-1.4deg) }
.work.reverse img, .release.reverse img { transform: rotate(1.4deg) }
.work h3 { font: 600 clamp(1.05rem,2.15vw,2.6rem)/1.03 Arial,sans-serif; letter-spacing: -.047em }
.work p { margin-top: 7px; font-size: .95rem }
.platforms { font-size: .92rem }
.platforms summary { width: fit-content; cursor: pointer; padding: 8px 0 }
.platforms div { display: flex; flex-direction: column; align-items: start }
.platforms a { padding: 4px 0 }
.catalog-heading { flex-wrap: wrap }
.catalog-heading>a { font-size: .95rem }
.release { display: grid; grid-template-columns: 1fr; align-items: center; padding-top: clamp(24px,3.5vw,54px); padding-bottom: clamp(34px,4vw,70px) }
.release[hidden] { display: none }
.sleeve { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1.65fr); gap: clamp(20px,4vw,86px); align-items: center; text-decoration: none }
.sleeve img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover }
.sleeve h3 { font: 400 clamp(2.1rem,5.6vw,7rem)/.93 Georgia,serif; letter-spacing: -.065em; overflow-wrap: anywhere }
.release .platforms { margin: 0 0 0 calc(34% + 2.6vw) }
.release.reverse .sleeve { grid-template-columns: minmax(0,1.65fr) minmax(0,.85fr) }
.release.reverse .sleeve img { grid-column: 2; grid-row: 1 }
.release.reverse h3 { grid-column: 1; grid-row: 1 }
.release.reverse .platforms { margin-left: 0 }
.social { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 8% }
.social a { display: grid; gap: 3px; text-decoration: none }
.social a:hover strong { text-decoration: underline }
.social strong { font-size: clamp(1.3rem,2vw,2.4rem); letter-spacing: -.035em; font-weight: 500 }
.social span { font-size: .95rem }
.foot { color: var(--white); background: #151515bb; padding-bottom: 30px }
.foot a:not(.signature) { font-size: .92rem }
@media (max-width:760px) {
  body::before { background-position: center, 12% center }
  .signature img { width: 37px }
  nav a { font-size: .84rem }
  .stage-title { bottom: 13%; font-size: clamp(72px,19vw,135px) }
  .scroll-ready .landing { margin-top: 32svh }
  .fold { padding-left: 13%; padding-right: 12% }
  .contact-panel { display: grid; gap: 16px }
  .contacts a { flex: 1; min-width: 66px; padding: 9px; font-size: .88rem }
  .work { --cover: clamp(52px,14vw,80px); --gap: 12px }
  .release .platforms { margin: 6px 0 0 }
  .tariff small { font-size: .84rem }
  .sleeve { grid-template-columns: 37% 1fr; gap: 16px }
  .release.reverse .sleeve { grid-template-columns: 1fr 37% }
  .sleeve h3 { font-size: clamp(1.75rem,6.4vw,3rem) }
}
@media (prefers-reduced-motion:reduce) {
  .scroll-ready .stage { height: 76svh; position: relative }
  .scroll-ready .landing { margin: 0 }
}
