/* ═══════════════════════════════════════════
   Issue 01 · Basel — editorial stage for /artists and /de/artists
   Static stacked spreads by default; sticky "cover" pinning only
   when the visitor allows motion (see bottom of file).
   ═══════════════════════════════════════════ */
/* Self-hosted latin subsets (SIL OFL 1.1, see /fonts/OFL.txt) — no third-party font requests */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/fonts/syne-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/bodoni-moda-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #040911;
  --bg: #060B18;
  --panel: #0B1526;
  --text: #E4EAF2;
  --text-2: #A9B6C6;
  --teal: #00D4AA;
  --teal-hi: #00FFD0;
  --hair: rgba(228, 234, 242, 0.12);
  --scrim: rgba(4, 9, 17, 0.74);
  --display: 'Syne', sans-serif;
  --body: 'DM Sans', sans-serif;
  --serif: 'Bodoni Moda', 'Bodoni 72', 'Didot', serif;
  --nav-h: 72px;
  --gutter: clamp(20px, 6vw, 96px);
  --rail: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--teal); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(6, 11, 24, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.nav.scrolled { border-bottom-color: var(--hair); background: rgba(6, 11, 24, 0.92); }
.nav-inner {
  width: min(1200px, 90vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-lang { font-size: 0.85rem; font-weight: 500; color: var(--text-2); margin-left: auto; transition: color 0.3s ease; }
.nav-lang:hover { color: var(--text); }
.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 8px;
  border: 1px solid rgba(228, 234, 242, 0.28);
  color: var(--text);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-cta:hover { border-color: var(--text); background: rgba(228, 234, 242, 0.06); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 4px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: var(--teal-hi); }
.btn-outline { background: rgba(4, 9, 17, 0.55); color: var(--text); border-color: rgba(228, 234, 242, 0.3); }
.btn-outline:hover { border-color: var(--text); }

/* ═══ TRACKLIST RAIL ═══ */
.tracklist {
  position: fixed;
  z-index: 90;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tracklist__side { color: var(--text-2); margin: 14px 0 6px; font-weight: 500; }
.tracklist__side:first-child { margin-top: 0; }
.tracklist ol { list-style: none; display: grid; gap: 2px; }
.tracklist button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  padding: 5px 0 5px 12px;
  color: var(--text-2);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  border-left: 1px solid var(--hair);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.tracklist .tk-name { opacity: 0; transition: opacity 0.3s ease; white-space: nowrap; }
.tracklist button:hover, .tracklist button:focus-visible { color: var(--text); }
.tracklist button:hover .tk-name, .tracklist button:focus-visible .tk-name,
.tracklist button[aria-current="true"] .tk-name { opacity: 1; }
.tracklist button[aria-current="true"] { color: var(--teal); border-left-color: var(--teal); }
.tracklist__now { display: none; }

/* ═══ ISSUE / SLIDES ═══ */
.issue { position: relative; }
.slide { position: relative; background: var(--ink); }
.stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.ph { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ph picture, .ph img { width: 100%; height: 100%; }
.ph img { object-fit: cover; object-position: 50% 50%; }
.ph--cut { z-index: 3; }
.signal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.spread {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: clamp(18px, 3vh, 36px);
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(14px, 3vh, 40px)) calc(var(--gutter) + var(--rail)) clamp(64px, 10vh, 104px) var(--gutter);
}
.spread > * { position: relative; z-index: 4; }
/* containers that hold a headline stay out of the stacking order so the
   headline can sit under the cutout while the rest of the copy sits above */
.spread > .services-head, .spread > .process-head, .spread > .back-cta { z-index: auto; }
.services-head > *, .process-head > *, .back-cta > * { position: relative; z-index: 4; }
.spread > .headline-layer, .spread .headline-layer { z-index: 1; }
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }
.svh-probe { position: fixed; top: 0; left: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}
.issue-line {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  gap: 0.6em;
}
.folio {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: clamp(18px, 3.2vh, 32px);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(228, 234, 242, 0.72);
  display: flex;
  gap: 1.2em;
  align-items: center;
}
.folio::before { content: ''; width: 40px; height: 1px; background: rgba(228, 234, 242, 0.4); order: 1; }
.folio span:last-child { order: 2; }

.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 10.4vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}
.masthead {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 13.2vw, 4.4rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--text);
}
.masthead .word { white-space: nowrap; }
.cover-lines { list-style: none; display: grid; gap: 0.15em; }
.cover-lines li, .pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
}
.cover-lines li { font-size: clamp(1.02rem, 4.2vw, 1.25rem); line-height: 1.3; }
.cover-lines li::before { content: '— '; color: rgba(228, 234, 242, 0.6); }
.pullquote { font-size: clamp(1.6rem, 6.4vw, 2.1rem); line-height: 1.12; max-width: 16ch; }
.lede { font-size: 1rem; line-height: 1.65; color: var(--text); max-width: 36ch; }
.sub { font-size: 0.98rem; line-height: 1.65; color: var(--text-2); max-width: 44ch; }
.panel { background: var(--scrim); padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--hair); }
.pillar-no {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pillar-no::after { content: ''; width: 48px; height: 1px; background: rgba(228, 234, 242, 0.45); }
.pillar-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 12px; }

/* ═══ A1 · COVER ═══ */
.spread--cover { align-content: start; grid-template-rows: auto auto 1fr auto; }
.cover-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cover-top .eyebrow { display: none; }
.masthead-wrap { margin-top: clamp(4px, 1.4vh, 16px); }
.cover-lines { align-self: end; justify-self: end; text-align: right; }
.cover-lines li::before { content: none; }
.cover-lines li::after { content: ' —'; color: rgba(228, 234, 242, 0.6); }
.cover-foot { display: grid; gap: 18px; align-content: end; }
.hero-sub { font-size: 0.98rem; line-height: 1.6; max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn { padding: 13px 22px; }

/* ═══ A2–A5 · PILLARS ═══ */
.spread--pillar { align-content: space-between; }
.pillar { max-width: 460px; }
.slide--a2 .spread { grid-template-rows: auto 1fr auto; }
.slide--a2 .services-head .sub { margin-top: 14px; }
.slide--a2 .pullquote { justify-self: end; text-align: right; }

/* ═══ A4 · VINYL ═══ */
.vinyl { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.vinyl img, .vinyl canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vinyl canvas { z-index: 1; }
.callouts { list-style: none; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.callouts li {
  position: absolute;
  left: 0; top: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  padding: 4px 8px;
  background: rgba(4, 9, 17, 0.8);
}

/* ═══ B1 · PROCESS ═══ */
.slide--b1 .ph--bg::after { content: ''; position: absolute; inset: 0; background: rgba(4, 9, 17, 0.5); }
.steps { list-style: none; display: grid; gap: 22px; }
.step { position: relative; padding-left: 64px; max-width: 520px; }
.step-no {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--ink);
  border: 1px solid rgba(228, 234, 242, 0.5);
  border-radius: 50%;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; margin-bottom: 4px; }
.step p { font-size: 0.92rem; line-height: 1.55; color: var(--text-2); }
.step-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--hair);
  padding: 3px 10px;
}

/* ═══ B2 · SHOWCASE (normal scroll) ═══ */
.slide--flow { background: var(--bg); }
.flow {
  position: relative;
  z-index: 3;
  width: min(1200px, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(48px, 9vh, 104px)) 0 clamp(96px, 16vh, 180px);
}
.slide--flow .signal-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.flow-head { max-width: 640px; margin-bottom: clamp(40px, 7vh, 80px); }
.flow-head .headline { margin: 14px 0 18px; }
.portfolio-grid { display: grid; gap: 48px; }
.portfolio-card {
  display: block;
  background: var(--ink);
  border: 1px solid var(--hair);
  padding: 12px 12px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s var(--ease);
}
.portfolio-card:nth-child(1) { rotate: -1.2deg; }
.portfolio-card:nth-child(2) { rotate: 0.9deg; }
.portfolio-card:nth-child(3) { rotate: -0.6deg; }
.portfolio-card:hover { border-color: rgba(228, 234, 242, 0.4); }
.portfolio-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 9, 17, 0.62);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-card:hover .portfolio-overlay, .portfolio-card:focus-visible .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(228, 234, 242, 0.6);
}
.portfolio-overlay svg { width: 14px; height: 14px; }
.portfolio-info { padding: 18px 6px 22px; }
.portfolio-info h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.portfolio-info p { font-size: 0.92rem; line-height: 1.55; color: var(--text-2); margin-bottom: 14px; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio-tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--hair); padding: 3px 9px; }

/* ═══ B3 · PRICING (normal scroll) ═══ */
.pricing-grid { display: grid; gap: 28px; }
.pricing-card { position: relative; border: 1px solid var(--hair); padding: 34px 26px 28px; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: rgba(228, 234, 242, 0.34); }
.pricing-badge {
  position: absolute;
  top: -12px; left: 26px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text);
  padding: 2px 10px;
  border: 1px solid var(--hair);
}
.pricing-card.featured .pricing-badge { border-color: transparent; }
.pricing-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.price .currency { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2); margin-right: 4px; }
.price .per { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--text-2); }
.price-sub { font-size: 0.86rem; color: var(--text-2); margin: 10px 0 22px; }
.pricing-features { list-style: none; margin-bottom: 26px; flex: 1; }
.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 9px 0;
  border-bottom: 1px solid var(--hair);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--text-2); }
.btn-pricing { justify-content: center; }

/* ═══ B4 · BACK COVER ═══ */
.spread--back { align-content: space-between; }
.back-cta { max-width: 560px; }
.back-cta .headline { margin-bottom: 18px; }
.back-cta .sub { color: var(--text); margin-bottom: 26px; }
.back-cta .btn-primary { font-size: 1.05rem; padding: 15px 34px; }
.cta-founding {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.cta-founding svg { width: 16px; height: 16px; flex: none; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; padding: 18px 0 0; border-top: 1px solid var(--hair); }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 3rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.78rem; color: var(--text-2); margin-top: 6px; }

/* ═══ FOOTER ═══ */
.footer { position: relative; z-index: 5; background: var(--ink); border-top: 1px solid var(--hair); padding: 40px 0 72px; }
.footer-inner { width: min(1200px, 90vw); margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; list-style: none; }
.footer-links a { font-size: 0.875rem; color: var(--text-2); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-2); }

/* ═══ NAV BURGER (< 768) ═══ */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--ink);
    padding: 40px 32px;
    gap: 28px;
    z-index: 99;
    border-top: 1px solid var(--hair);
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--text); }
}
@media (max-width: 1023px), (max-aspect-ratio: 1/1) {
  .folio { display: none; }
  /* Tracklist collapses to a bottom hairline of track segments + current label */
  .tracklist {
    display: block;
    top: auto;
    transform: none;
    left: 0; right: 0; bottom: 0;
    height: 46px;
    background: rgba(4, 9, 17, 0.88);
    border-top: 1px solid var(--hair);
  }
  .tracklist__side { display: none; }
  .tracklist__lists { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; display: flex; }
  .tracklist ol { display: flex; flex: 5; gap: 0; }
  .tracklist ol + .tracklist__side + ol { flex: 4; }
  .tracklist li { flex: 1; }
  .tracklist button { height: 46px; padding: 0; border-left: 0; font-size: 0; position: relative; }
  .tracklist button::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: 0; height: 2px; background: rgba(228, 234, 242, 0.22); }
  .tracklist button[aria-current="true"]::after { background: var(--teal); }
  .tracklist .tk-code, .tracklist .tk-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tracklist__now {
    display: block;
    position: absolute;
    left: 20px; top: 13px;
    pointer-events: none;
    color: var(--text);
    font-size: 0.68rem;
  }
  .tracklist__now b { color: var(--teal); font-weight: 500; margin-right: 0.8em; }
  .footer { padding-bottom: 88px; }
  .spread { padding-bottom: calc(46px + clamp(28px, 5vh, 48px)); }
  .spread--cover .cover-lines { display: none; }
}

/* ═══ DESK: landscape ≥ 1024 (16:9 spreads, side rail) ═══ */
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  :root { --rail: 72px; }
  .tracklist { display: block; }
  .headline { font-size: clamp(3rem, 6.6vw, 7.4rem); }
  .masthead { font-size: clamp(4rem, 8.4vw, 10.2rem); }
  .pullquote { font-size: clamp(2rem, 3.2vw, 3.3rem); }
  .cover-lines li { font-size: clamp(1.1rem, 1.55vw, 1.6rem); }
  .lede { font-size: 1.06rem; }
  .cover-top .eyebrow { display: block; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start; }
  .portfolio-card:nth-child(2) { margin-top: 64px; }
  .portfolio-card:nth-child(3) { margin-top: 20px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: end; }
  .step { padding-left: 0; padding-top: 64px; }
  .step:nth-child(1) { margin-bottom: 0; }
  .step:nth-child(2) { margin-bottom: 7vh; }
  .step:nth-child(3) { margin-bottom: 15vh; }
  .step:nth-child(4) { margin-bottom: 26vh; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer { padding-bottom: 40px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.8rem; }
}
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .spread--cover { grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; }
  .spread--cover .cover-top { grid-column: 1 / -1; }
  .spread--cover .masthead-wrap { grid-column: 1 / -1; }
  .spread--cover .cover-foot { grid-column: 1; align-self: end; }
  .spread--cover .cover-lines { grid-column: 2; align-self: end; }
  .spread--cover .masthead { max-width: 9.5em; }
  .slide--a2 .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .slide--a2 .services-head { grid-column: 1; max-width: 620px; }
  .slide--a2 .pillar { grid-column: 1; align-self: end; }
  .slide--a2 .pullquote { grid-column: 2; grid-row: 2; align-self: end; }
  .slide--a3 .spread { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .slide--a3 .headline-layer { grid-column: 1 / -1; }
  .slide--a3 .pillar { grid-column: 1; align-self: start; }
  .slide--a3 .pullquote { grid-column: 2; align-self: start; justify-self: end; text-align: right; }
  .slide--a4 .spread { grid-template-rows: auto 1fr; align-content: start; max-width: 64vw; }
  .slide--a4 .pillar { align-self: start; max-width: 30vw; }
  .slide--a5 .spread { justify-items: end; text-align: left; }
  .slide--a5 .headline-layer { justify-self: end; text-align: right; max-width: 11em; }
  .slide--b1 .spread { grid-template-rows: auto 1fr; }
  .slide--b1 .process-head .sub { max-width: 560px; }
  .slide--b4 .spread { grid-template-rows: 1fr auto; }
  .slide--b4 .back-cta { align-self: center; }
}

/* ═══ MOTION LAYOUT (sticky cover pinning) ═══
   Each pinned slide = stage (100svh) + play + a cover zone where the
   next slide rises over it. Reduced-motion visitors never get this. */
@media (prefers-reduced-motion: no-preference) {
  .slide--pin { --k: 1; height: calc(var(--play) * var(--k) + 200vh); height: calc(var(--play) * var(--k) + 200svh); }
  .slide--pin.slide--last { height: calc(var(--play) * var(--k) + 100vh); height: calc(var(--play) * var(--k) + 100svh); }
  .slide--pin > .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .slide--pin .spread { min-height: 0; height: 100%; overflow: hidden; }
  .slide--over { margin-top: -100vh; margin-top: -100svh; }
  /* the canvas layer keeps a full-height margin box so sticky stays inside its section;
     the copy slides up over it instead */
  .slide--flow .signal-layer { inset: auto; position: sticky; top: 0; height: 100vh; height: 100svh; }
  .slide--flow .flow { margin-top: -100vh; margin-top: -100svh; }
  .slide--flow { display: flow-root; }
  .signal-layer .signal { position: absolute; }
  .ph--bg, .ph--cut { will-change: transform; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1023px), (prefers-reduced-motion: no-preference) and (max-aspect-ratio: 1/1) {
  .slide--pin { --k: 0.7; }
  /* one screen, sequenced: header first, then the body takes its place */
  .slide--a2 .spread, .slide--b1 .spread { grid-template-areas: 'x'; grid-template-rows: 1fr; }
  .slide--a2 .services-head, .slide--a2 .pillar, .slide--a2 .pullquote,
  .slide--b1 .process-head, .slide--b1 .steps { grid-area: x; }
  .slide--a2 .pullquote, .slide--b1 .process-head { align-self: start; }
  .slide--a2 .services-head, .slide--a2 .pillar, .slide--b1 .steps { align-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Play length per pinned slide (desktop; ×0.7 on mobile via --k) */
.slide--a1 { --play: 200vh; }
.slide--a2 { --play: 230vh; }
.slide--a3 { --play: 180vh; }
.slide--a4 { --play: 250vh; }
.slide--a5 { --play: 180vh; }
.slide--b1 { --play: 220vh; }
.slide--b4 { --play: 150vh; }

/* ═══ Display sizes per spread — Syne 800 runs ~1em per character, so each
   headline is sized to the quiet zone of its photo ═══ */
.masthead .mh-k { display: block; font-size: 0.4em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0.18em 0; }
.masthead .mh-x { display: block; max-width: 7.4em; }
.cta-accent { color: var(--teal); }
.slide--b4 .folio { display: none; }
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .masthead { font-size: clamp(3.4rem, 6.2vw, 8.4rem); }
  .slide--a2 .headline { font-size: min(2.6vw, 3.4rem); }
  .slide--a3 .headline, .slide--a4 .headline { font-size: clamp(3rem, 6.4vw, 8rem); }
  .slide--a5 .headline { font-size: clamp(2.6rem, 3.4vw, 4.6rem); }
  .slide--b1 .headline { font-size: clamp(2.4rem, 4.2vw, 5.6rem); }
  .slide--b4 .headline { font-size: clamp(2.4rem, 3.6vw, 4.8rem); }
  .flow .headline { font-size: clamp(2.6rem, 4.6vw, 6rem); }
  .steps { gap: 24px; }
  .step:nth-child(2) { margin-bottom: 5vh; }
  .step:nth-child(3) { margin-bottom: 11vh; }
  .step:nth-child(4) { margin-bottom: 18vh; }
  .back-cta { max-width: min(760px, 56vw); }
}
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .slide--a2 .spread { grid-template-columns: minmax(0, 27vw) 1fr; grid-template-rows: auto 1fr; }
  .slide--a2 .services-head { grid-column: 1; grid-row: 1; max-width: 27vw; }
  .slide--a2 .pillar { grid-column: 1 / span 1; grid-row: 2; align-self: end; max-width: 34vw; width: 34vw; }
  .slide--a2 .pullquote { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; text-align: right; max-width: 10em; }
  .slide--a3 .pullquote { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; text-align: right; max-width: 11em; }
  .slide--a5 .spread { grid-template-rows: auto 1fr; justify-items: end; }
  .slide--a5 .headline-layer { max-width: 11.6em; font-size: clamp(2.6rem, 3.4vw, 4.6rem); }
  .slide--a5 .headline-layer .headline { font-size: 1em; }
  .slide--a5 .pillar { align-self: end; }
}

/* ═══ Phones: legibility first. The cover keeps its cutout-over-masthead
   layering; on the other person spreads the subject fills the 4:5 frame,
   so headlines sit above the cutout on a flat scrim. ═══ */
@media (max-width: 1023px), (max-aspect-ratio: 1/1) {
  .spread { grid-template-columns: minmax(0, 1fr); }
  .headline { font-size: clamp(1.8rem, 7.4vw, 3rem); line-height: 0.98; overflow-wrap: break-word; }
  .cover-foot { background: var(--scrim); border: 1px solid var(--hair); padding: 16px; align-self: end; }
  .stat-num { font-size: clamp(1.4rem, 6vw, 2.2rem); white-space: nowrap; }
  .masthead { font-size: clamp(2.5rem, 11.4vw, 3.6rem); }
  .spread--cover { padding-top: calc(var(--nav-h) + 12px); gap: 12px; }
  .masthead-wrap { margin-top: 0; }
  .spread .headline-layer { z-index: 4; }
  .slide--a1 .masthead-wrap { z-index: 1; }
  .slide--a2 .services-head { background: var(--scrim); border: 1px solid var(--hair); padding: 16px; }
  .slide--a2 .pullquote { justify-self: end; text-align: right; }
  .slide--a3 .spread, .slide--a5 .spread { grid-template-rows: 1fr auto auto; row-gap: 0; }
  .slide--a3 .pullquote { grid-row: 1; align-self: start; justify-self: end; text-align: right; }
  .slide--a3 .headline-layer, .slide--a5 .headline-layer { grid-row: 2; align-self: end; background: var(--scrim); border: 1px solid var(--hair); border-bottom: 0; padding: 16px 16px 4px; }
  .slide--a3 .pillar, .slide--a5 .pillar { grid-row: 3; border-top: 0; padding-top: 8px; }
}

/* flat scrim chips for furniture that sits over photos */
.folio { background: rgba(4, 9, 17, 0.72); padding: 5px 10px; margin-left: -10px; }
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .tracklist { background: rgba(4, 9, 17, 0.86); border: 1px solid var(--hair); padding: 14px 14px 14px 10px; right: 14px; }
}

/* contrast: flat scrims + primary text colour where copy sits on bright image areas */
.slide--b1 .sub, .slide--b1 .step p { color: var(--text); }
.step-tag { background: rgba(4, 9, 17, 0.8); }
.tracklist button { color: #C9D2DE; }
.tracklist__side { color: #C9D2DE; }
.slide--b4 .stats-grid { background: var(--scrim); border: 1px solid var(--hair); padding: 18px 20px; }
.slide--b4 .stat-label { color: var(--text); }
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .spread--cover .cover-lines { background: var(--scrim); border: 1px solid var(--hair); padding: 14px 20px; }
  .cover-lines li { font-size: clamp(1.25rem, 1.75vw, 1.7rem); }
}
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  /* A3 / A5: the headline block shares the copy panel's flat scrim */
  .slide--a3 .headline-layer, .slide--a5 .headline-layer { background: var(--scrim); border: 1px solid var(--hair); padding: 18px 24px 20px; }
  .slide--a3 .headline-layer { justify-self: start; }
  .slide--a3 .pillar { margin-top: -1px; }
}
@media (max-width: 1023px), (max-aspect-ratio: 1/1) {
  .slide--b1 .ph--bg::after { background: rgba(4, 9, 17, 0.64); }
  .slide--b4 .back-cta { background: var(--scrim); border: 1px solid var(--hair); padding: 16px; }
}
/* the vinyl poster frame melts into the stage like the canvas-drawn frames */
.vinyl-poster {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent), linear-gradient(to bottom, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent), linear-gradient(to bottom, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-composite: intersect;
}

/* A1 cover lines list in on first paint (CSS only, so no script sits on the critical path) */
@keyframes cover-line-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) {
  .cover-lines li { animation: cover-line-in 0.7s var(--ease) both; }
  .cover-lines li:nth-child(1) { animation-delay: 0.3s; }
  .cover-lines li:nth-child(2) { animation-delay: 0.4s; }
  .cover-lines li:nth-child(3) { animation-delay: 0.5s; }
  .cover-lines li:nth-child(4) { animation-delay: 0.6s; }
}
