/* sdb|rcrds · design system
   Fonts are self-hosted in assets/fonts (no external requests). */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* palette: ink, paper, wine, rose, moss */
  --ink: #141012;
  --ink-raised: #1d171a;
  --paper: #efe9e2;
  --paper-muted: rgba(239, 233, 226, 0.66);
  --line: rgba(239, 233, 226, 0.14);
  --wine: #8a3a55;
  --wine-bright: #9e4562;
  --rose: #c08497;
  --moss: #3f6a55;

  /* page background; the label page swaps it for pure black */
  --bg: var(--ink);
  --bg-glass: rgba(20, 16, 18, 0.84);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-text: "Source Serif 4", Georgia, serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* fine paper grain over everything, like the artwork */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

::selection {
  background: var(--wine);
  color: var(--paper);
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0;
}

.arrow {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.45s var(--ease);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 50px;
  padding: 0 1.7em;
  border: 1px solid var(--wine);
  border-radius: 2px;
  background: var(--wine);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--wine-bright);
  border-color: var(--wine-bright);
  transform: translateY(-2px);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
}
.btn--ghost:hover {
  background: rgba(192, 132, 151, 0.08);
  border-color: var(--rose);
}
.btn--small {
  min-height: 42px;
  padding: 0 1.2em;
  font-size: 0.95rem;
}
.btn--large {
  min-height: 58px;
  padding: 0 2.2em;
  font-size: 1.2rem;
}
.btn[aria-current="page"] {
  background: transparent;
  border-color: var(--rose);
  color: var(--rose);
}

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.text-link:hover {
  color: var(--rose);
  border-color: var(--rose);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  padding: 8px 0;
  transition: opacity 0.3s;
}
.logo img {
  height: 32px;
  width: auto;
}
.logo:hover {
  opacity: 0.75;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-nav__link[aria-current="page"] {
  color: var(--rose);
}

.nav-toggle {
  display: none;
}

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- home: the gate ---------- */

.gate {
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(20px, 3.5vh, 44px) var(--gutter) clamp(28px, 5vh, 56px);
  display: flex;
  flex-direction: column;
}
.gate__intro {
  margin: 0 0 clamp(12px, 2.5vh, 28px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.gate__dot {
  color: var(--rose);
  padding: 0 0.5em;
}
/* the gate fades in once on load (no scroll needed) */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.js .gate__intro,
.js .gate__door,
.js .gate__art,
.js .gate__cta {
  animation: rise 1s var(--ease) backwards;
}
.js .gate__art {
  animation-delay: 0.1s;
}
.js .gate__door--studio {
  animation-delay: 0.25s;
}
.js .gate__door--label {
  animation-delay: 0.4s;
}
.js .gate__cta {
  animation-delay: 0.55s;
}
.gate__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 28vw) 1fr;
  align-items: center;
}
.gate__art {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 2vw, 32px);
  border-inline: 1px solid var(--line);
}
.gate__art img {
  width: 100%;
  max-height: calc(100svh - var(--header-h) - 210px);
  object-fit: contain;
  transition: transform 1.2s var(--ease);
  /* soft edges so the paper texture melts into the page */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.gate__door {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 72px);
  color: var(--paper);
  text-decoration: none;
  transition: opacity 0.5s var(--ease);
}
.gate__door--studio {
  grid-column: 1;
  align-items: flex-end;
  text-align: right;
}
.gate__door--label {
  grid-column: 3;
  align-items: flex-start;
  text-align: left;
}
.gate__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--rose);
}
.gate__title {
  font-size: clamp(3.6rem, 8.6vw, 9.5rem);
  line-height: 0.82;
  transition: letter-spacing 0.7s var(--ease), color 0.4s var(--ease);
}
.gate__door--label .gate__title {
  font-size: clamp(3rem, 6.6vw, 7.2rem);
}
.gate__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.gate__door .arrow {
  width: 34px;
  height: 34px;
  color: var(--rose);
  opacity: 0.6;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.gate__door:hover .gate__title,
.gate__door:focus-visible .gate__title {
  color: var(--rose);
  letter-spacing: 0.05em;
}
.gate__door:hover .arrow,
.gate__door:focus-visible .arrow {
  opacity: 1;
  transform: translateX(8px);
}
.gate__grid:has(.gate__door--studio:hover) .gate__door--label,
.gate__grid:has(.gate__door--label:hover) .gate__door--studio {
  opacity: 0.35;
}
.gate__grid:has(.gate__door--studio:hover) .gate__art img {
  transform: translateX(-10px) rotate(-1.2deg);
}
.gate__grid:has(.gate__door--label:hover) .gate__art img {
  transform: translateX(10px) rotate(1.2deg);
}
.gate__cta {
  margin-top: clamp(16px, 3vh, 32px);
  text-align: center;
}

/* ---------- studio: hero ---------- */

.studio-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: min(calc(100svh - var(--header-h)), 900px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.studio-hero__media {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  margin: 0 calc(var(--gutter) * -1) 0 -8%;
}
.studio-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 86%, transparent 100%), linear-gradient(to top, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 86%, transparent 100%), linear-gradient(to top, transparent 0, #000 22%);
  mask-composite: intersect;
}
.studio-hero__text {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  padding-bottom: clamp(48px, 9vh, 112px);
}
/* above the fold: fade in on load instead of on scroll */
@keyframes fade {
  from {
    opacity: 0;
  }
}
.js .studio-hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 1s var(--ease) backwards;
  animation-delay: calc(0.2s + var(--i, 0) * 0.09s);
}
.js .studio-hero__media {
  animation: fade 1.4s ease backwards;
}
.studio-hero__name {
  margin: 18px 0 16px;
  font-size: clamp(4rem, 8.4vw, 7.6rem);
  line-height: 0.84;
}
.studio-hero__role {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.studio-hero__proof {
  max-width: 30ch;
  margin: 0 0 26px;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--paper-muted);
}

/* the two muso.ai chart badges */
.awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 210px));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.awards img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ---------- studio: services ---------- */

.services {
  border-block: 1px solid var(--line);
}
.services__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.services__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(22px, 3.2vw, 40px) clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.services__item:first-child {
  border-left: 0;
  padding-left: 0;
}
.services__num {
  min-width: 2.4em;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  color: var(--rose);
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--section);
}
.section + .section {
  padding-top: 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}
.section-head p {
  max-width: 36ch;
  margin: 0;
  color: var(--paper-muted);
}

/* ---------- studio: selected work ---------- */

.work-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.4vw, 18px);
}
.work-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-raised);
  cursor: pointer;
  container-type: inline-size;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.work-item__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10%;
  text-align: center;
  background: rgba(20, 16, 18, 0.86);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.work-item__info > * {
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.work-item__info > :nth-child(2) {
  transition-delay: 0.06s;
}
.work-item__info > :nth-child(3) {
  transition-delay: 0.12s;
}
.work-item__info > :nth-child(4) {
  transition-delay: 0.18s;
}
/* chart peak, shown above the title */
.work-item__chart {
  margin-bottom: 0.9em !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.62rem, 4.2cqi, 0.8rem);
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.work-item__chart span {
  margin-right: 0.2em;
  font-weight: 800;
  font-size: 1.55em;
  letter-spacing: 0.03em;
  color: var(--paper);
}
.work-item__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 10cqi, 1.9rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--rose);
}
.work-item__artist {
  margin-top: 0.5em !important;
  font-size: clamp(0.82rem, 6.4cqi, 1.05rem);
  line-height: 1.3;
}
.work-item__role {
  position: relative;
  margin-top: 1.4em !important;
  font-style: italic;
  font-size: clamp(0.76rem, 5.6cqi, 0.95rem);
  line-height: 1.35;
  color: var(--paper-muted);
}
/* a small green stem between artist and role, like the rose */
.work-item__role::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.95em;
  width: 1px;
  height: 0.65em;
  background: var(--moss);
}
/* small tiles (phone, tablet): tighter spacing so long credits still fit */
@container (max-width: 210px) {
  .work-item__info {
    padding: 8%;
  }
  .work-item__chart {
    margin-bottom: 0.6em !important;
    letter-spacing: 0.1em;
  }
  .work-item__role {
    margin-top: 1.1em !important;
  }
  .work-item__role::before {
    top: -0.85em;
    height: 0.55em;
  }
}
.work-item.is-open .work-item__info,
.work-item:focus-visible .work-item__info {
  opacity: 1;
}
.work-item.is-open .work-item__info > *,
.work-item:focus-visible .work-item__info > * {
  opacity: 1;
  transform: none;
}
.work-item.is-open img,
.work-item:focus-visible img {
  transform: scale(1.06);
  filter: blur(1px);
}
@media (hover: hover) {
  .work-item:hover .work-item__info {
    opacity: 1;
  }
  .work-item:hover .work-item__info > * {
    opacity: 1;
    transform: none;
  }
  .work-item:hover img {
    transform: scale(1.06);
    filter: blur(1px);
  }
}

/* ---------- studio: listen (spotify player) ---------- */

.embed {
  height: 560px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(138, 58, 85, 0.22), transparent 60%),
    var(--ink-raised);
}
.embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- closing call to action ---------- */

.cta {
  padding-block: var(--section);
  text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 100%, rgba(138, 58, 85, 0.2), transparent 65%);
}
.cta h2 {
  font-size: clamp(3.4rem, 9vw, 8rem);
  margin-bottom: 22px;
}
.cta p {
  max-width: 40ch;
  margin: 0 auto 34px;
  color: var(--paper-muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.site-footer__brand .logo img {
  height: 26px;
}
.site-footer__brand p {
  margin: 18px 0 0;
  color: var(--paper-muted);
  line-height: 1.5;
}
.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--rose);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--rose);
}
.site-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--paper-muted);
}
.site-footer__legal p {
  margin: 0;
}

/* ---------- shared page intro (label, about, contact) ---------- */

.page-intro {
  padding: clamp(56px, 10vw, 140px) 0 clamp(44px, 6vw, 88px);
}
.page-intro__title {
  margin: 22px 0 26px;
  font-size: clamp(3.4rem, 9.4vw, 9rem);
  line-height: 0.86;
}
.page-intro__title em {
  font-style: normal;
  color: var(--rose);
}
.page-intro__sub {
  max-width: 36ch;
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--paper-muted);
}
.page-intro__sub--caps {
  max-width: none;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- label (black) ---------- */

.page-label {
  --bg: #050404;
  --bg-glass: rgba(5, 4, 4, 0.84);
}
.page-label .page-intro__title {
  max-width: 11ch;
}
/* the S | D | B frame from the artwork, as a quiet mark beside the headline */
.label-intro .wrap {
  position: relative;
}
.sdb-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  right: var(--gutter);
  width: min(17vw, 240px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(192, 132, 151, 0.3);
}
.sdb-mark span {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  border-left: 1px solid rgba(192, 132, 151, 0.3);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1;
  color: var(--rose);
}
.sdb-mark span:first-child {
  border-left: 0;
}
.roster {
  padding-bottom: var(--section);
}
.roster__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.roster__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-raised);
}
.roster__photo {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
}
.roster__photo.is-active {
  opacity: 1;
  transform: none;
}
.roster__photo img,
.roster__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
[data-photo="jonas-winter"] img,
[data-artist="jonas-winter"] .roster__thumb img {
  object-position: 45% 40%;
}
[data-photo="three-and-a-half-cent"] img,
[data-artist="three-and-a-half-cent"] .roster__thumb img {
  object-position: 50% 32%;
}
.roster__photo figcaption,
.roster__thumb figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  background: rgba(5, 4, 4, 0.7);
  font-size: 0.75rem;
  color: var(--paper-muted);
}
.roster__thumb {
  display: none;
}
.roster__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.roster__artist {
  display: grid;
  grid-template-columns: 3em 1fr;
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.5s var(--ease);
}
.roster__artist:last-child {
  border-bottom: 1px solid var(--line);
}
.roster__num {
  padding-top: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  color: var(--rose);
}
.roster__name {
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 0.86;
  transition: color 0.4s var(--ease);
}
.roster__links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 12px 0 0;
}
.roster__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-muted);
  transition: color 0.3s;
}
.roster__links a:hover {
  color: var(--rose);
}
.roster__links .arrow {
  width: 14px;
  height: 14px;
}
.roster__links a:hover .arrow {
  transform: translate(2px, -2px);
}
@media (min-width: 760px) {
  .roster__artist.is-active .roster__name {
    color: var(--rose);
  }
}
@media (hover: hover) and (min-width: 760px) {
  .roster__list:hover .roster__artist:not(:hover) {
    opacity: 0.4;
  }
}

/* ---------- about ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.page-intro + .section {
  padding-top: clamp(32px, 5vw, 64px);
}
.about-intro .page-intro__title {
  font-size: clamp(3rem, 5.8vw, 5.8rem);
}
.about-intro__lead {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
}
.about-intro__text p {
  max-width: 36em;
}
.about-intro__art {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin: 0;
}
.about-intro__art img {
  width: 100%;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillars--two {
  grid-template-columns: repeat(2, 1fr);
}
.pillars > li {
  padding: 26px clamp(16px, 2.4vw, 34px) 0;
  border-left: 1px solid var(--line);
}
.pillars > li:first-child {
  padding-left: 0;
  border-left: 0;
}
.pillars__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  color: var(--rose);
}
.pillars h3 {
  margin: 14px 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 0.95;
}
.pillars p {
  color: var(--paper-muted);
}
.statement {
  max-width: 26ch;
  margin: 0;
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.25;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: var(--section);
}
.form {
  display: grid;
  gap: 24px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field__label {
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.field__label i {
  font-family: var(--font-text);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-raised);
  color: var(--paper);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea {
  min-height: 180px;
  line-height: 1.5;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(239, 233, 226, 0.36);
}
.field input:hover,
.field textarea:hover {
  border-color: rgba(239, 233, 226, 0.3);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(192, 132, 151, 0.22);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.choice span:hover {
  border-color: var(--rose);
}
.choice input:checked + span {
  background: var(--wine);
  border-color: var(--wine);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
/* spam trap: hidden from people, bots fill it in */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 4px;
}
.form__note {
  max-width: 34ch;
  margin: 0;
  font-size: 0.92rem;
  color: var(--paper-muted);
}
.form__note a,
.form-status a {
  color: var(--paper);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
/* status after sending: send.php returns to contact#sent, #error, #wait or #failed */
.form-status {
  display: none;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  background: var(--ink-raised);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.form-status:target {
  display: block;
}
.form-status--problem {
  border-left-color: var(--wine-bright);
}
.form-status p {
  margin: 0;
}
.form-status strong {
  margin-right: 0.35em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-aside {
  display: grid;
  gap: 44px;
}
.contact-aside h2 {
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--rose);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}
.contact-list a:hover {
  color: var(--rose);
  border-color: var(--rose);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 3em 1fr;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.steps span {
  padding-top: 0.3em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--rose);
}

/* ---------- legal pages ---------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--gutter) var(--section);
}
.legal h1 {
  margin: 18px 0 36px;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
}
.legal h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.05;
}
.legal p,
.legal li {
  color: rgba(239, 233, 226, 0.82);
}
.legal ul {
  padding-left: 1.2em;
}
.legal a {
  color: var(--paper);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}
.legal address {
  margin-bottom: 1em;
  font-style: normal;
}
.legal__updated {
  margin-top: 56px;
  font-size: 0.9rem;
}

/* ---------- 404 ---------- */

.notfound {
  max-width: var(--max);
  min-height: 70svh;
  margin: 0 auto;
  padding: clamp(64px, 12vw, 160px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.notfound h1 {
  margin: 18px 0 22px;
  font-size: clamp(4rem, 12vw, 10rem);
}
.notfound p {
  max-width: 34ch;
  color: var(--paper-muted);
}
.notfound__links {
  display: flex;
  gap: 28px;
  margin-top: 12px;
}

/* ---------- tablet ---------- */

@media (max-width: 1023px) {
  .studio-hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .sdb-mark {
    display: none;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- phone: own layout ---------- */

@media (max-width: 759px) {
  :root {
    --header-h: 62px;
  }
  body {
    font-size: 1.0625rem;
  }
  .logo img {
    height: 24px;
  }

  /* menu becomes a full screen overlay */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle__bars {
    position: relative;
    width: 22px;
    height: 10px;
  }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.35s var(--ease), top 0.35s var(--ease);
  }
  .nav-toggle__bars::before {
    top: 0;
  }
  .nav-toggle__bars::after {
    top: 8.5px;
  }
  .menu-open .nav-toggle__bars::before {
    top: 4.25px;
    transform: rotate(45deg);
  }
  .menu-open .nav-toggle__bars::after {
    top: 4.25px;
    transform: rotate(-45deg);
  }
  .site-nav__list {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .menu-open .site-nav__list {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .menu-open {
    overflow: hidden;
  }
  .site-nav__list li {
    border-bottom: 1px solid var(--line);
  }
  .site-nav__list li:last-child {
    border: 0;
    padding-top: 28px;
  }
  .site-nav__link {
    display: block;
    padding: 18px 0;
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: 0.04em;
    line-height: 1;
  }
  .site-nav__link::after {
    display: none;
  }
  .site-nav__list .btn {
    width: 100%;
    min-height: 56px;
  }

  /* gate: artwork on top, the two doors as big rows, button last */
  .gate {
    min-height: 0;
    padding-top: 14px;
  }
  .gate__intro {
    font-size: 0.82rem;
    letter-spacing: 0.24em;
  }
  .gate__dot {
    display: none;
  }
  .gate__line {
    display: block;
  }
  .gate__grid {
    grid-template-columns: 1fr;
  }
  .gate__art {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border: 0;
    margin: 0 calc(var(--gutter) * -1) 4px;
  }
  .gate__art img {
    width: 100%;
    height: 48svh;
    max-height: none;
    object-fit: cover;
    object-position: 50% 26%;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 24%);
    mask-image: linear-gradient(to top, transparent 0, #000 24%);
  }
  .gate__door,
  .gate__door--studio,
  .gate__door--label {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 6px 16px;
    padding: 22px 0;
    text-align: left;
    border-top: 1px solid var(--line);
  }
  .gate__num {
    grid-column: 1 / -1;
  }
  .gate__title,
  .gate__door--label .gate__title {
    grid-column: 1;
    font-size: 3.6rem;
  }
  .gate__sub {
    grid-column: 1;
    font-size: 0.88rem;
    letter-spacing: 0.16em;
  }
  .gate__door .arrow {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    opacity: 1;
  }
  .gate__cta {
    margin-top: 8px;
  }
  .gate__cta .btn {
    width: 100%;
  }

  /* studio hero: photo first, name overlapping its lower edge */
  .studio-hero {
    display: block;
    min-height: 0;
  }
  .studio-hero__media {
    margin: 0 calc(var(--gutter) * -1);
  }
  .studio-hero__media img {
    height: 66svh;
    min-height: 380px;
    object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%);
    mask-image: linear-gradient(to top, transparent 0, #000 30%);
  }
  .studio-hero__text {
    margin-top: -26vw;
    padding-bottom: 56px;
  }
  .studio-hero__name {
    font-size: 17vw;
  }
  .studio-hero__role {
    margin-bottom: 22px;
  }
  .studio-hero__proof {
    font-size: 1.08rem;
  }
  .awards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .services__list {
    grid-template-columns: 1fr;
  }
  .services__item,
  .services__item:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    font-size: 2.6rem;
  }
  .services__item:first-child {
    border-top: 0;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .embed {
    height: 480px;
  }

  .cta .btn {
    width: 100%;
  }

  /* label: every artist gets its own photo instead of the swapping one */
  .roster__inner {
    display: block;
  }
  .roster__stage {
    display: none;
  }
  .roster__thumb {
    display: block;
    position: relative;
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
    margin: 0 0 20px;
    overflow: hidden;
  }
  .roster__artist {
    padding: 28px 0 18px;
  }
  .roster__name {
    font-size: 2.9rem;
  }
  .roster__links a {
    min-height: 44px;
  }

  /* about: text first, artwork below it */
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-intro__art {
    position: static;
    max-width: 440px;
  }
  .pillars,
  .pillars--two {
    grid-template-columns: 1fr;
  }
  .pillars > li,
  .pillars > li:first-child {
    padding: 24px 0 4px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .pillars > li:first-child {
    border-top: 0;
  }

  /* contact: one column, full width button */
  .contact-grid,
  .form__row {
    grid-template-columns: 1fr;
  }
  .form__foot .btn {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer__legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
