/* ──────────────────────────────────────────────────────────
   J Shriver · jshriver.com
   Palette 05 "Mastering Lab" — locked 2026-05-10
   ────────────────────────────────────────────────────────── */

:root {
  --bg-primary:   #f4f5fa;
  --bg-surface:   #ffffff;
  --text-primary: #1a1f3d;
  --text-muted:   #6a708f;
  --accent:       #ff5b5b;
  --accent-soft:  #ffc4c4;
  --border:       #dee2ee;
  --indigo-deep:  #0d1230;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max:    1280px;
  --gutter: 32px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain on the body — adds depth without color */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.12 0 0 0 0 0.24 0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: multiply;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

/* Accessibility: visible focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ───────── Layout primitives ───────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.section-head .label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  font-weight: 500;
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ───────── Nav ───────── */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: rgba(244, 245, 250, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}
nav.top .wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  font-variation-settings: "opsz" 14, "SOFT" 0;
  letter-spacing: 0.01em;
}
nav.top .wordmark .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: middle;
  transform: translateY(-2px);
}
nav.top ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
nav.top a.nav-link {
  position: relative;
  padding: 4px 0;
  color: var(--text-primary);
  transition: color 0.2s var(--ease);
}
nav.top a.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
nav.top a.nav-link:hover::after,
nav.top a.nav-link[aria-current="page"]::after { transform: scaleX(1); }

nav.top .mobile-cta { display: none; }

@media (max-width: 720px) {
  nav.top ul { display: none; }
  nav.top .mobile-cta {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  }
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
.hero::before {
  /* indigo + coral washes, very subtle */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 88% 18%, rgba(26, 31, 61, 0.06), transparent 70%),
    radial-gradient(ellipse 70% 40% at 12% 82%, rgba(255, 91, 91, 0.04), transparent 65%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: end; }

.hero .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  z-index: 3;
}
.hero .meta-row .lead { display: flex; gap: 14px; align-items: center; }
.hero .meta-row .lead .badge {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.35); }
}
.hero .meta-row .coords { text-align: right; }
.hero .meta-row .coords span { display: block; line-height: 1.5; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-size: clamp(64px, 13.5vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}
.hero h1 .em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--text-primary);
  display: inline-block;
}
.hero h1 .em::after {
  content: ".";
  color: var(--accent);
  display: inline-block;
  margin-left: 0.02em;
}

.hero .lower {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
@media (max-width: 820px) {
  .hero .lower { grid-template-columns: 1fr; gap: 32px; }
}

.hero .subhead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 42ch;
  color: var(--text-muted);
}
.hero .subhead strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-self: end;
}
@media (max-width: 820px) { .hero .cta-row { justify-self: start; } }

/* Hero photo accent — quiet image inset on the right at desktop */
.hero-photo {
  display: none;
  position: absolute;
  right: 0; bottom: 0;
  width: 38%;
  height: 60%;
  background:
    linear-gradient(to left, var(--bg-primary) 0%, transparent 24%),
    linear-gradient(to top, var(--bg-primary) 0%, transparent 24%);
  z-index: 1;
  pointer-events: none;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(0.9) contrast(1.02);
  opacity: 0.65;
}
@media (min-width: 1100px) {
  .hero-photo { display: block; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 2px 14px rgba(255, 91, 91, 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 91, 91, 0.28);
  background: #ff4848;
}
.btn-primary .arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-quiet {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-quiet::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: 0.3;
  transform: scaleX(1);
  transform-origin: left;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-quiet:hover { color: var(--text-primary); }
.btn-quiet:hover::after { background: var(--accent); opacity: 1; }

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  opacity: 0.7;
}
.scroll-cue::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--text-muted);
  display: inline-block;
  animation: cueline 2.2s ease-in-out infinite;
}
@keyframes cueline {
  0%, 100% { transform: scaleX(0.6); transform-origin: left; opacity: 0.4; }
  50%      { transform: scaleX(1);   transform-origin: left; opacity: 1; }
}

/* ───────── Work — album-art grid ───────── */
section.work {
  padding: 120px var(--gutter);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.work .container { padding: 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  margin-bottom: 64px;
}
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }

.tile {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}
.tile .art {
  aspect-ratio: 1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 1px 2px rgba(13, 18, 48, 0.04);
  background-size: cover;
  background-position: center;
  background-color: var(--indigo-deep);
}
.tile:hover .art,
.tile:focus-visible .art {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 18, 48, 0.12);
}
.tile .art .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 18, 48, 0);
  transition: background 0.3s var(--ease);
}
.tile:hover .art .play,
.tile:focus-visible .art .play { background: rgba(13, 18, 48, 0.35); }
.tile .art .play svg {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.tile:hover .art .play svg,
.tile:focus-visible .art .play svg {
  opacity: 1;
  transform: scale(1);
}

.tile .caption {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tile .caption .artist {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.tile .caption .track {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 30;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
}
.tile .caption .role {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 4px;
}
.tile .caption .role .year {
  margin-left: 8px;
  position: relative;
  padding-left: 12px;
}
.tile .caption .role .year::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  opacity: 0.6;
}
.tile:hover .caption .artist,
.tile:focus-visible .caption .artist { color: var(--accent); }

/* Album art gradient fallbacks (used for the "& more" placeholder) */
.art.v1 { background-image: linear-gradient(135deg, #c41d7f 0%, #2d1b4e 100%); }
.art.v6 { background-color: #0d1747; }
.art.v6::after {
  content: ""; position: absolute; inset: 50%;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  margin: 0;
}

/* CTA tile (See full discography) */
.tile-cta {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  background: var(--bg-primary);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
}
.tile-cta:hover, .tile-cta:focus-visible {
  color: var(--accent);
  border-color: var(--accent-soft);
  background: rgba(255, 91, 91, 0.04);
}
.tile-cta .arrow { font-size: 18px; margin-left: 6px; }

.work-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.work-foot .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.work-foot .count em {
  font-style: normal;
  color: var(--text-primary);
}

/* ───────── Services & Pricing ───────── */
section.services {
  padding: 120px var(--gutter);
  position: relative;
  z-index: 2;
}

.price-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-surface);
}
@media (max-width: 820px) {
  .price-table { grid-template-columns: 1fr; }
}

.tier {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.tier:last-child { border-right: none; }
@media (max-width: 820px) {
  .tier { border-right: none; border-bottom: 1px solid var(--border); }
  .tier:last-child { border-bottom: none; }
}

.tier .tier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.tier .price {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.tier .price .currency {
  font-size: 26px;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 8px;
}
.tier .price .unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-left: 6px;
  align-self: flex-end;
  margin-bottom: 10px;
}
.tier .meta {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.tier .meta strong {
  color: var(--text-primary);
  font-weight: 500;
}

.addons {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
  max-width: 640px;
}
@media (max-width: 600px) { .addons { grid-template-columns: 1fr; } }
.addons dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.addons dd {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-primary);
}
.addons dd .plus {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-right: 4px;
}

/* ───────── About ───────── */
section.about {
  padding: 120px var(--gutter);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.about-portrait {
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background-color: var(--indigo-deep);
}
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,18,48,0) 50%, rgba(13,18,48,0.4) 100%);
  pointer-events: none;
}
.about-portrait .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.about-text .lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 28px;
  max-width: 28ch;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 18px;
  max-width: 56ch;
}
.about-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.principles {
  margin-top: 56px;
  display: grid;
  gap: 0;
}
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.principle .body {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  max-width: 60ch;
  margin: 0;
}
.principle .body em {
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 100;
  color: var(--accent);
  font-weight: 400;
}

/* ───────── Contact ───────── */
section.contact {
  padding: 120px var(--gutter) 100px;
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text-primary);
}
.contact-heading em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
}

.contact-info {
  display: grid;
  gap: 26px;
}
.contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 16px;
  align-items: baseline;
}
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}
.contact-info dd {
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}
.contact-info dd a {
  position: relative;
  padding-bottom: 2px;
  background: linear-gradient(var(--accent), var(--accent)) bottom left/0 1px no-repeat;
  transition: background-size 0.32s var(--ease), color 0.2s var(--ease);
}
.contact-info dd a:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

/* ───────── Footer ───────── */
footer {
  padding: 36px var(--gutter);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
footer .row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
footer a:hover { color: var(--accent); }

/* ───────── /work — deep discography page ───────── */
.work-page-head {
  padding: 120px var(--gutter) 48px;
  position: relative;
  z-index: 2;
}
.work-page-head .page-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 24px;
  max-width: 36ch;
}
.work-page-head .page-lede em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
}
.work-page-head .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.work-page-head .count em {
  font-style: normal;
  color: var(--text-primary);
}

.work-page-foot {
  padding: 80px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}

/* ───────── Spotify embed modal ───────── */
.embed-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(244, 245, 250, 0.88);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 24px;
}
.embed-overlay.is-open { opacity: 1; pointer-events: auto; }
.embed-overlay .frame {
  width: min(480px, 96vw);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 24px 48px rgba(13, 18, 48, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.embed-overlay .frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.embed-overlay .frame-head .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.embed-overlay .close {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: 6px 8px;
  transition: color 0.2s var(--ease);
}
.embed-overlay .close:hover { color: var(--accent); }
.embed-overlay iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
  background: var(--bg-primary);
}

/* ───────── Page-load reveal (staggered, restrained) ───────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.d0  { animation-delay: 0.05s; }
.d1  { animation-delay: 0.20s; }
.d2  { animation-delay: 0.35s; }
.d3  { animation-delay: 0.50s; }
.d4  { animation-delay: 0.65s; }
.d5  { animation-delay: 0.80s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .scroll-cue::before { animation: none; }
  .hero .meta-row .lead .badge { animation: none; }
  html { scroll-behavior: auto; }
  .embed-overlay { transition: none; }
}
