@font-face {
  font-family: "Italiana";
  src: url("./assets/fonts/Italiana-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  src: url("./assets/fonts/Cabin-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  src: url("./assets/fonts/Cabin-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@property --page-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #11100f;
}

@property --page-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #f2eee5;
}

@property --page-muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #bbb4a8;
}

@property --page-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff4b2b;
}

@property --transition-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #082d35;
}

:root {
  color-scheme: dark;
  --font-display: "Italiana", Georgia, serif;
  --font-body: "Cabin", Arial, sans-serif;
  --font-mono: "Space Mono", Consolas, monospace;
  --page-bg: #11100f;
  --page-ink: #f2eee5;
  --page-muted: #bbb4a8;
  --page-accent: #ff4b2b;
  --transition-bg: #082d35;
  --line: color-mix(in srgb, var(--page-ink) 22%, transparent);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-score: cubic-bezier(0.68, -0.2, 0.24, 1.08);
  --header-h: 5.25rem;
  transition:
    --page-bg 1.15s var(--ease-out),
    --page-ink 1.15s var(--ease-out),
    --page-muted 1.15s var(--ease-out),
    --page-accent 1.15s var(--ease-out),
    --transition-bg 1.15s var(--ease-out);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #11100f;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--page-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  transition:
    background-color 1.15s var(--ease-out),
    color 0.8s var(--ease-out);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--page-ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--page-ink) 4%, transparent) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--page-accent);
  color: #0d0d0d;
}

:focus-visible {
  outline: 3px solid var(--page-accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: #f2eee5;
  color: #11100f;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-score {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: color-mix(in srgb, var(--page-ink) 10%, transparent);
  pointer-events: none;
}

.scroll-score span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--page-accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1.1rem, 3vw, 3.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--page-ink) 16%, transparent);
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  transition:
    transform 0.45s var(--ease-out),
    background-color 1.15s var(--ease-out),
    border-color 0.8s ease;
}

.site-head.is-hidden {
  transform: translateY(-110%);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.055em;
}

.wordmark span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.wordmark strong {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.02em;
}

.wordmark i {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.45rem;
  border-radius: 50%;
  background: var(--page-accent);
  animation: wordmarkPulse 2.4s ease-in-out infinite;
}

.nav-score {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.nav-score a,
.site-foot nav a {
  position: relative;
}

.nav-score a::after,
.site-foot nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav-score a:hover::after,
.nav-score a:focus-visible::after,
.site-foot nav a:hover::after,
.site-foot nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.motion-toggle {
  justify-self: end;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--page-ink) 35%, transparent);
  border-radius: 100vw;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.motion-toggle strong {
  color: var(--page-accent);
  font-weight: 400;
}

.color-key {
  position: relative;
}

.hero {
  --local-accent: #ff4b2b;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) clamp(1.1rem, 3vw, 3.5rem) 2rem;
  overflow: hidden;
}

.hero-ruler {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--page-muted);
}

.hero-ruler span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-ruler span:nth-child(2)::before,
.hero-ruler span:nth-child(2)::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-ruler span:nth-child(2)::before {
  width: clamp(1rem, 8vw, 7rem);
}

.hero-ruler span:nth-child(2)::after {
  flex: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.34fr);
  gap: 2rem;
  align-items: end;
  padding: 7vh 0 9vh;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--local-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  margin: 0;
  max-width: 11.7ch;
  font-size: clamp(4rem, 11.3vw, 11.5rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero-line {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0.78em;
  opacity: 0;
  transform: translateY(1em) rotate(2deg);
  animation: heroLineIn 1.05s var(--ease-out) forwards;
}

.hero-line.line-two {
  margin-left: 0.62em;
  width: calc(100% - 0.62em);
  animation-delay: 0.12s;
}

.hero-line.line-three {
  animation-delay: 0.24s;
}

.hero-line.line-four {
  margin-left: 1.1em;
  width: calc(100% - 1.1em);
  animation-delay: 0.36s;
}

.voice {
  position: absolute;
  inset: 0;
  display: block;
  font-style: normal;
  white-space: nowrap;
}

.voice-display {
  font-family: var(--font-display);
  font-weight: 400;
}

.voice-body {
  font-family: var(--font-body);
  font-weight: 700;
}

.voice-mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: -0.12em;
}

.hero-line .voice:first-child {
  animation: voiceLead 8s var(--ease-score) infinite;
}

.hero-line .voice:last-child {
  color: var(--local-accent);
  clip-path: inset(100% 0 0 0);
  animation: voiceEcho 8s var(--ease-score) infinite;
}

.hero-line.line-two .voice,
.hero-line.line-two .voice:last-child {
  animation-delay: -2s;
}

.hero-line.line-three .voice,
.hero-line.line-three .voice:last-child {
  animation-delay: -4s;
}

.hero-line.line-four .voice,
.hero-line.line-four .voice:last-child {
  animation-delay: -6s;
}

.hero-note {
  grid-column: 2;
  align-self: end;
  margin-top: -3rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--local-accent);
}

.hero-note p {
  margin: 0 0 1.5rem;
  max-width: 31rem;
  color: var(--page-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.text-link,
.project-open {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.text-link i,
.project-open span {
  font-style: normal;
  transition: transform 0.35s var(--ease-score);
}

.text-link:hover i,
.project-open:hover span {
  transform: translate(0.3rem, 0.3rem);
}

.hero-instrument {
  position: absolute;
  top: 18%;
  right: -10vw;
  z-index: 1;
  width: min(48vw, 42rem);
  aspect-ratio: 1;
  opacity: 0.48;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--page-ink) 38%, transparent);
  border-radius: 50%;
}

.orbit-a {
  inset: 0;
  animation: orbitSpin 28s linear infinite;
}

.orbit-a span {
  position: absolute;
  padding: 0.35rem 0.55rem;
  background: var(--page-bg);
  color: var(--page-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.orbit-a span:nth-child(1) { top: 4%; left: 48%; }
.orbit-a span:nth-child(2) { right: -2%; bottom: 24%; }
.orbit-a span:nth-child(3) { bottom: 5%; left: 22%; }

.orbit-b {
  inset: 17%;
  border-style: dashed;
  animation: orbitSpin 18s linear infinite reverse;
}

.pulse-core {
  position: absolute;
  inset: 34%;
  display: flex;
  gap: 6%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--local-accent);
  border-radius: 50%;
}

.pulse-core i {
  width: 7%;
  height: 22%;
  background: var(--local-accent);
  animation: pulseBars 1.8s ease-in-out infinite;
}

.pulse-core i:nth-child(2) { animation-delay: -0.25s; }
.pulse-core i:nth-child(3) { animation-delay: -0.5s; }
.pulse-core i:nth-child(4) { animation-delay: -0.75s; }
.pulse-core i:nth-child(5) { animation-delay: -1s; }

.phrase-loop {
  position: relative;
  z-index: 2;
  width: min(100%, 38rem);
  height: 2.1rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.phrase-loop span {
  position: absolute;
  top: 0.6rem;
  left: 0;
  opacity: 0;
  animation: phraseCycle 9s var(--ease-out) infinite;
}

.phrase-loop span:nth-child(2) { animation-delay: 3s; }
.phrase-loop span:nth-child(3) { animation-delay: 6s; }

.work,
.practice,
.process,
.manifesto,
.contact {
  padding: clamp(7rem, 13vw, 13rem) clamp(1.1rem, 3vw, 3.5rem);
}

.section-head {
  display: grid;
  grid-template-columns: 0.22fr 1fr 0.42fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-index,
.project-type,
.dialog-index,
.dialog-grid span,
.contact-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.section-index {
  align-self: start;
  padding-top: 0.85rem;
  border-top: 1px solid currentColor;
}

.echo-title {
  position: relative;
  min-height: 2.05em;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 8.8rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.echo-layer {
  position: absolute;
  inset: 0;
}

.echo-display {
  font-family: var(--font-display);
}

.echo-body {
  font-family: var(--font-body);
  font-weight: 700;
  clip-path: inset(0 100% 0 0);
}

.echo-mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: -0.1em;
  clip-path: inset(0 100% 0 0);
}

.echo-title.is-visible .echo-display {
  animation: echoDisplay 7s var(--ease-score) infinite;
}

.echo-title.is-visible .echo-body,
.echo-title.is-visible .echo-mono {
  animation: echoBody 7s var(--ease-score) infinite;
}

.section-lede {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.42;
}

.work {
  min-height: 100vh;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(6rem, 13vw, 13rem);
}

.project-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.project-card.is-visible .image-score {
  transform: perspective(90rem) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.55s var(--ease-out);
}

.project-card:nth-child(even) {
  grid-template-columns: minmax(18rem, 0.55fr) minmax(0, 1.2fr);
}

.project-card:nth-child(even) .image-score {
  grid-column: 2;
}

.project-card:nth-child(even) .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.project-number {
  position: absolute;
  top: -0.16em;
  left: -0.06em;
  z-index: 3;
  color: color-mix(in srgb, var(--page-accent) 78%, var(--page-ink));
  font-family: var(--font-display);
  font-size: clamp(7rem, 19vw, 18rem);
  line-height: 1;
  opacity: 0.2;
  pointer-events: none;
}

.project-card:nth-child(even) .project-number {
  right: -0.02em;
  left: auto;
}

.image-score {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0d0d0d;
  box-shadow: 0 2rem 5rem color-mix(in srgb, #000 34%, transparent);
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s ease;
}

.image-score::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, #fff 24%, transparent);
  content: "";
  pointer-events: none;
}

.image-score img {
  position: absolute;
  inset: -1%;
  width: 102%;
  height: 102%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.85s ease,
    transform 1.8s var(--ease-out),
    filter 0.85s ease;
}

.image-score img:first-child,
.image-score img.is-active {
  opacity: 1;
  transform: scale(1);
}

.image-score.is-cycling img:first-child:not(.is-active) {
  opacity: 0;
}

.image-count,
.image-action {
  position: absolute;
  z-index: 4;
  bottom: 1rem;
  padding: 0.45rem 0.6rem;
  background: color-mix(in srgb, #0d0d0d 76%, transparent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.image-count { left: 1rem; }
.image-action { right: 1rem; opacity: 0; transform: translateY(0.5rem); transition: 0.35s var(--ease-out); }

.image-score:hover .image-action,
.image-score:focus-visible .image-action {
  opacity: 1;
  transform: translateY(0);
}

.project-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 1rem;
}

.project-type {
  color: var(--page-accent);
}

.project-copy h3 {
  margin: 1.25rem 0 1.4rem;
  font-size: clamp(3.2rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.project-copy h3 span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  transition:
    color 0.5s ease,
    letter-spacing 0.5s var(--ease-out);
}

.project-copy h3 em {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  transition: margin 0.5s var(--ease-out);
}

.project-card:hover h3 span,
.project-card:focus-within h3 span {
  color: var(--page-accent);
  letter-spacing: -0.025em;
}

.project-card:hover h3 em,
.project-card:focus-within h3 em {
  margin-left: 0.35em;
}

.project-copy > p:not(.project-type) {
  margin: 0 0 1.8rem;
  max-width: 32rem;
  font-size: 1.08rem;
}

.project-open {
  padding: 0 0 0.45rem;
}

.practice {
  overflow: hidden;
  padding-bottom: clamp(2rem, 4vw, 4rem);
  background: linear-gradient(180deg, transparent 0%, transparent 86%, var(--transition-bg) 100%);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-note {
  position: relative;
  min-height: 22rem;
  padding: 1.25rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.practice-note:last-child {
  border-right: 0;
}

.practice-note > span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.practice-note h3 {
  max-width: 7ch;
  margin: 4rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.86;
}

.practice-note p {
  position: relative;
  z-index: 2;
  max-width: 18rem;
  margin: 0;
}

.practice-note i {
  position: absolute;
  right: -35%;
  bottom: -40%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid var(--page-accent);
  border-radius: 50%;
  opacity: 0.35;
  transform: scale(0.35);
  transition: transform 0.8s var(--ease-score);
}

.practice-note i::before,
.practice-note i::after {
  position: absolute;
  inset: 18%;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.practice-note i::after { inset: 36%; }

.practice-note:hover i,
.practice-note:focus-within i {
  transform: scale(1);
}

.visual-refrain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, clamp(2.2rem, 4vw, 4.8rem));
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
  margin-top: clamp(4rem, 8vw, 8rem);
  margin-bottom: 0;
  isolation: isolate;
}

.visual-refrain::before {
  position: absolute;
  top: 4%;
  right: 3%;
  z-index: -1;
  width: min(38vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--page-ink) 42%, transparent);
  border-radius: 50%;
  content: "";
  animation: orbitSpin 36s linear infinite reverse;
}

.visual-tile {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0d0e;
  box-shadow: 0 1.6rem 4rem color-mix(in srgb, #000 28%, transparent);
}

.visual-tile::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, #fff 24%, transparent);
  background: linear-gradient(180deg, transparent 50%, rgb(7 8 9 / 70%));
  content: "";
  pointer-events: none;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transform: scale(1.05);
  transition: transform 1.6s var(--ease-out), filter 0.8s ease;
}

.visual-tile:hover img {
  filter: saturate(1.14) contrast(1.02);
  transform: scale(1);
}

.visual-tile figcaption {
  position: absolute;
  right: clamp(0.8rem, 1.5vw, 1.4rem);
  bottom: clamp(0.8rem, 1.5vw, 1.4rem);
  left: clamp(0.8rem, 1.5vw, 1.4rem);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  color: #fff;
}

.visual-tile figcaption span,
.visual-refrain-note span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-tile figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 0.9;
}

.tile-tall { grid-column: 1 / 5; grid-row: 1 / 8; transform: rotate(-1.4deg); }
.tile-wide { grid-column: 5 / 11; grid-row: 2 / 7; z-index: 3; transform: translateY(-0.8rem) rotate(0.7deg); }
.tile-small { grid-column: 10 / 13; grid-row: 6 / 11; z-index: 4; transform: translateY(-1rem) rotate(2deg); }
.tile-slice { grid-column: 3 / 9; grid-row: 7 / 11; z-index: 2; transform: translateX(1rem) rotate(-0.6deg); }

.visual-refrain-note {
  grid-column: 9 / 13;
  grid-row: 1 / 5;
  align-self: end;
  margin: 0;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid currentColor;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.visual-refrain-note span {
  display: block;
  margin-bottom: 1rem;
  color: var(--page-accent);
  letter-spacing: 0.06em;
}

.kinetic-statement {
  display: flex;
  gap: 3rem;
  width: max-content;
  margin-top: clamp(4rem, 7vw, 7rem);
  font-family: var(--font-body);
  font-size: clamp(3rem, 8.8vw, 9rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.065em;
  white-space: nowrap;
  animation: statementTravel 28s linear infinite;
}

.kinetic-statement span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1px var(--page-ink);
}

.kinetic-statement span:nth-child(3) {
  font-family: var(--font-display);
  font-weight: 400;
}

.process-score {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(5rem, 10vw, 11rem) clamp(3rem, 9vw, 10rem);
  max-width: 82rem;
  margin-inline: auto;
  padding: 3rem 0;
}

.process {
  padding-top: clamp(4rem, 7vw, 7rem);
}

.score-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.score-line i {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 100%;
  background: var(--page-accent);
  transform: scaleY(0);
  transform-origin: top;
}

.process-step:nth-of-type(even) {
  grid-column: 2;
}

.process-step:nth-of-type(odd) {
  grid-column: 1;
  text-align: right;
}

.process-step span {
  color: var(--page-accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 0.7rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  line-height: 0.88;
}

.process-step p {
  display: inline-block;
  max-width: 27rem;
  margin: 0;
  font-size: 1.08rem;
}

.step-hear { grid-column: 1; grid-row: 1; text-align: right; }
.image-hear { grid-column: 2; grid-row: 1; }
.step-compose { grid-column: 2; grid-row: 2; text-align: left; }
.image-compose { grid-column: 1; grid-row: 2; }
.step-build { grid-column: 1; grid-row: 3; text-align: right; }
.image-build { grid-column: 2; grid-row: 3; }
.step-tune { grid-column: 2; grid-row: 4; text-align: left; }
.image-tune { grid-column: 1; grid-row: 4; }

.process-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #07161a;
  box-shadow: 0 1.5rem 4rem color-mix(in srgb, #000 32%, transparent);
}

.process-image:nth-of-type(even) { transform: rotate(1.2deg); }
.process-image:nth-of-type(odd) { transform: rotate(-1.2deg); }

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: visualBreath 9s var(--ease-out) infinite alternate;
}

.process-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, #fff 25%, transparent);
  background: linear-gradient(180deg, transparent 52%, rgb(2 8 10 / 78%));
  content: "";
  pointer-events: none;
}

.process-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  font-size: 0.9rem;
}

.process-image figcaption span {
  color: var(--page-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.manifesto {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.manifesto-kicker {
  margin: 0 0 3rem;
  color: var(--page-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.manifesto-line {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(3.4rem, 10.8vw, 11rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.manifesto-line span {
  display: block;
  color: var(--page-muted);
  font-family: var(--font-mono);
  font-size: 0.15em;
  font-weight: 400;
  line-height: 3;
  letter-spacing: 0.05em;
}

.manifesto-alt {
  margin-left: 8vw;
  font-family: var(--font-display);
  font-weight: 400;
}

.manifesto-alt em {
  color: var(--page-accent);
  font-style: normal;
}

.manifesto-meta {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  margin-top: 4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.manifesto-meta p {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid currentColor;
}

.contact {
  min-height: 88svh;
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: clamp(2rem, 6vw, 8rem);
  align-content: center;
}

.contact-collage {
  position: relative;
  grid-column: 1;
  grid-row: 2 / 5;
  align-self: center;
  width: min(100%, 24rem);
  min-height: clamp(25rem, 52vw, 48rem);
  margin-top: 2rem;
}

.contact-collage img {
  position: absolute;
  width: 72%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--page-ink) 35%, transparent);
  box-shadow: 0 1.5rem 3.5rem color-mix(in srgb, #000 24%, transparent);
  transition: transform 0.8s var(--ease-score), filter 0.6s ease;
}

.contact-collage img:nth-child(1) { top: 0; left: 0; z-index: 1; transform: rotate(-5deg); }
.contact-collage img:nth-child(2) { top: 20%; right: 0; z-index: 2; transform: rotate(5deg); }
.contact-collage img:nth-child(3) { bottom: 0; left: 8%; z-index: 3; transform: rotate(-2deg); }
.contact-collage:hover img:nth-child(1) { transform: translate(-5%, -3%) rotate(-8deg); }
.contact-collage:hover img:nth-child(2) { transform: translate(7%, 0) rotate(8deg); }
.contact-collage:hover img:nth-child(3) { transform: translate(1%, 4%) rotate(-4deg); }

.contact-collage span {
  position: absolute;
  right: -1.2rem;
  bottom: 12%;
  z-index: 4;
  padding: 0.55rem 0.8rem;
  background: var(--page-accent);
  color: #11100f;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
}

.contact-title {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-body);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.contact-title em {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
}

.contact-link {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.contact-link i {
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s var(--ease-score);
}

.contact-link:hover i,
.contact-link:focus-visible i {
  background: var(--page-ink);
  color: var(--page-bg);
  transform: rotate(45deg);
}

.contact-note {
  grid-column: 2;
  grid-row: 4;
  max-width: 42rem;
  margin-top: 1rem;
}

.site-foot {
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 3rem clamp(1.1rem, 3vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: var(--page-bg);
}

.studio-credit {
  display: flex;
  flex-direction: column;
}

.studio-credit strong {
  text-transform: uppercase;
}

.studio-credit em {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.studio-credit span {
  margin-top: 0.55rem;
  color: var(--page-muted);
  font-size: 0.88rem;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.site-foot small {
  grid-column: 1 / -1;
  max-width: 72rem;
  color: var(--page-muted);
  font-size: 0.78rem;
}

.site-foot small a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.back-score {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--page-ink);
  border-radius: 100vw 100vw 0.35rem 100vw;
  background: var(--page-bg);
  color: var(--page-ink);
  box-shadow: 0 0.6rem 2rem color-mix(in srgb, #000 24%, transparent);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(2rem) rotate(8deg);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.5s var(--ease-score),
    background 0.35s ease,
    color 0.35s ease;
}

.back-score.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
  pointer-events: auto;
}

.back-score:hover,
.back-score:focus-visible {
  background: var(--page-accent);
  color: #11100f;
}

.back-score i {
  font-size: 1.1rem;
  font-style: normal;
}

.project-dialog {
  width: min(90vw, 76rem);
  max-height: 88svh;
  padding: 0;
  border: 0;
  background: #f2eee5;
  color: #11100f;
  box-shadow: 0 3rem 8rem #000a;
}

.project-dialog::backdrop {
  background: #050505c7;
  backdrop-filter: blur(12px);
}

.dialog-shell {
  position: relative;
  padding: clamp(2rem, 6vw, 6rem);
}

.dialog-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 100vw;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.dialog-index {
  color: #c7341f;
}

.project-dialog h2 {
  margin: 1.3rem 0 1.2rem;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.dialog-intro {
  max-width: 42rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid #11100f;
  border-left: 1px solid #11100f;
}

.dialog-grid > div {
  min-height: 12rem;
  padding: 1.25rem;
  border-right: 1px solid #11100f;
  border-bottom: 1px solid #11100f;
}

.dialog-grid p {
  max-width: 28rem;
  margin: 2.5rem 0 0;
}

.dialog-status {
  margin: 2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.cursor-orbit {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cursor-orbit.is-active {
  opacity: 1;
}

.cursor-orbit i,
.cursor-orbit b {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-orbit i {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--page-accent);
}

.cursor-orbit b {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid color-mix(in srgb, var(--page-ink) 72%, transparent);
  transition:
    width 0.3s var(--ease-score),
    height 0.3s var(--ease-score),
    background 0.3s ease;
}

.cursor-orbit.is-hovering b {
  width: 4rem;
  height: 4rem;
  background: color-mix(in srgb, var(--page-accent) 14%, transparent);
}

.js .reveal {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 1.05s var(--ease-out),
    clip-path 1.2s var(--ease-out);
}

.js .reveal[data-reveal="rise"] { transform: translateY(3.5rem); }
.js .reveal[data-reveal="left"] { transform: translateX(-3.5rem); }
.js .reveal[data-reveal="right"] { transform: translateX(3.5rem); }
.js .reveal[data-reveal="clip-left"] { clip-path: inset(0 100% 0 0); }
.js .reveal[data-reveal="clip-right"] { clip-path: inset(0 0 0 100%); }

.js .reveal.is-visible {
  opacity: 1;
  transform: translate(0);
  clip-path: inset(0);
}

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes voiceLead {
  0%, 34%, 100% { opacity: 1; clip-path: inset(0); transform: translateY(0); }
  45%, 84% { opacity: 0.16; clip-path: inset(0 0 78% 0); transform: translateY(-0.04em); }
}

@keyframes voiceEcho {
  0%, 34%, 100% { clip-path: inset(100% 0 0 0); transform: translateY(0.08em); }
  46%, 82% { clip-path: inset(0); transform: translateY(0); }
}

@keyframes wordmarkPulse {
  0%, 100% { transform: scale(0.65); opacity: 0.55; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }

@keyframes pulseBars {
  0%, 100% { height: 18%; }
  50% { height: 58%; }
}

@keyframes phraseCycle {
  0% { opacity: 0; transform: translateY(1.4rem); }
  10%, 27% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-1.4rem); }
}

@keyframes echoDisplay {
  0%, 34%, 100% { opacity: 1; clip-path: inset(0); transform: translateX(0); }
  48%, 82% { opacity: 0.15; clip-path: inset(0 0 0 80%); transform: translateX(-0.08em); }
}

@keyframes echoBody {
  0%, 34%, 100% { clip-path: inset(0 100% 0 0); transform: translateX(0.08em); }
  48%, 82% { clip-path: inset(0); transform: translateX(0); }
}

@keyframes statementTravel {
  from { transform: translateX(3vw); }
  to { transform: translateX(-62%); }
}

@keyframes visualBreath {
  0% { transform: scale(1.06) translate3d(-0.5%, -0.5%, 0); filter: saturate(0.92); }
  100% { transform: scale(1.01) translate3d(0.5%, 0.5%, 0); filter: saturate(1.12); }
}

@media (max-width: 62rem) {
  .site-head {
    grid-template-columns: 1fr auto;
  }

  .nav-score {
    display: none;
  }

  .hero-copy,
  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-note {
    grid-column: 1;
    margin-top: 0;
    max-width: 32rem;
  }

  .hero-instrument {
    top: 30%;
    right: -24vw;
    width: 72vw;
  }

  .section-lede {
    max-width: 44rem;
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-card:nth-child(even) .image-score,
  .project-card:nth-child(even) .project-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-note:nth-child(2) {
    border-right: 0;
  }

  .practice-note:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-collage {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 46rem);
    min-height: 32rem;
    margin: 0 auto 2rem;
  }

  .contact-title {
    grid-column: 1;
    grid-row: 3;
  }

  .contact-link {
    grid-row: 4;
  }

  .contact-note {
    grid-row: 5;
  }

  .contact-link,
  .contact-note {
    grid-column: 1;
  }

  .site-foot {
    grid-template-columns: 1fr 1fr;
  }

  .site-foot nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 43rem) {
  :root { --header-h: 4.5rem; }

  .site-head {
    padding-inline: 1rem;
  }

  .motion-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero {
    min-height: 48rem;
    padding-inline: 1rem;
  }

  .hero-ruler {
    grid-template-columns: auto 1fr;
  }

  .hero-ruler span:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(3.6rem, 19vw, 6rem);
    line-height: 0.76;
  }

  .hero-line.line-two { margin-left: 0.22em; width: calc(100% - 0.22em); }
  .hero-line.line-four { margin-left: 0.42em; width: calc(100% - 0.42em); }

  .hero-instrument {
    top: 38%;
    right: -40vw;
    width: 95vw;
  }

  .hero-title { width: 100%; max-width: 100%; }
  .hero-line.line-one .voice {
    font-size: 0.82em;
    letter-spacing: -0.06em;
  }

  .work,
  .practice,
  .process,
  .manifesto,
  .contact {
    padding-inline: 1rem;
  }

  .echo-title {
    min-height: 2.2em;
    font-size: clamp(3rem, 17vw, 5.3rem);
  }

  .image-action {
    display: none;
  }

  .project-copy h3 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-note,
  .practice-note:nth-child(2) {
    min-height: 18rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .practice-note:last-child {
    border-bottom: 0;
  }

  .visual-refrain {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 15rem 11rem 14rem auto;
    gap: 0.6rem;
  }

  .visual-refrain::before {
    display: none;
  }

  .tile-tall { grid-column: 1; grid-row: 1 / 3; }
  .tile-wide { grid-column: 2; grid-row: 1; }
  .tile-small { grid-column: 2; grid-row: 2; }
  .tile-slice { grid-column: 1 / 3; grid-row: 3; }
  .visual-refrain-note { grid-column: 1 / 3; grid-row: 4; }

  .tile-tall,
  .tile-wide,
  .tile-small,
  .tile-slice {
    transform: none;
  }

  .visual-tile figcaption {
    display: block;
  }

  .visual-tile figcaption span {
    display: block;
    margin-bottom: 0.35rem;
  }

  .process-score {
    display: block;
    padding-left: 2rem;
  }

  .score-line {
    left: 0;
  }

  .process-step,
  .process-step:nth-of-type(odd) {
    margin-bottom: 5rem;
    text-align: left;
  }

  .process-image {
    margin: -3rem 0 5rem;
    transform: none !important;
  }

  .contact-collage {
    min-height: 27rem;
  }

  .manifesto-line {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .manifesto-alt {
    margin-left: 0;
  }

  .manifesto-meta {
    flex-direction: column;
  }

  .contact-title {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .site-foot,
  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .dialog-shell {
    padding-top: 5rem;
  }

  .cursor-orbit {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-orbit { display: none; }
  .image-action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html[data-motion="quiet"] *,
html[data-motion="quiet"] *::before,
html[data-motion="quiet"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

html[data-motion="quiet"] {
  transition-duration: 0.001ms !important;
}

html[data-motion="quiet"] .hero-line {
  opacity: 1;
  transform: none;
}

html[data-motion="quiet"] .hero-line .voice:last-child,
html[data-motion="quiet"] .echo-layer:not(:first-of-type),
html[data-motion="quiet"] .cursor-orbit {
  display: none;
}

html.js[data-motion="quiet"] .reveal {
  opacity: 1;
  transform: none;
  clip-path: none;
}

/* Sly estate integration: canonical palette accents, collection lockup, contained navigation, and one compact guide. */
.site-head {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(0.7rem, 2vw, 1.6rem);
}

.brand-stack {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  width: max-content;
}

.estate-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.estate-signature a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.estate-signature a:last-child { color: var(--page-accent); }

.menu-toggle {
  display: none;
  place-items: center;
  gap: 0.3rem;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--page-ink) 35%, transparent);
  border-radius: 100vw;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease-out);
}

html.menu-open .menu-toggle i:first-of-type { transform: translateY(0.2rem) rotate(45deg); }
html.menu-open .menu-toggle i:last-of-type { transform: translateY(-0.2rem) rotate(-45deg); }

.source-credit {
  padding: 1.2rem clamp(1.1rem, 3vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: var(--page-bg);
  color: var(--page-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
}

.source-credit p { max-width: 78rem; margin: 0 auto; }
.source-credit a { color: var(--page-ink); }

.site-foot {
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  align-items: center;
}

.studio-credit {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.studio-credit strong,
.studio-credit span { font-style: normal; }

.sly-guide {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 160;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  width: min(21rem, calc(100vw - 7rem));
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--guide-accent, var(--page-accent));
  background: color-mix(in srgb, var(--estate-bg, #11100f) 94%, #000);
  color: #f7f2e8;
  box-shadow: 0 1rem 3rem #0006;
}

.sly-guide button { border: 0; background: none; color: inherit; cursor: pointer; }

.sly-guide-play {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem;
}

.sly-guide-play span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--guide-accent, var(--page-accent));
  color: var(--guide-accent, var(--page-accent));
}

.sly-guide-play b,
.sly-guide-resume,
.sly-guide-transcript {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sly-guide-play b { white-space: nowrap; }
.sly-guide-position { display: grid; gap: 0.25rem; min-width: 0; }
.sly-guide-position > span { height: 2px; overflow: hidden; background: #fff4; }
.sly-guide-position i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--guide-accent, var(--page-accent)), var(--estate-secondary, #68e8df));
  transform: scaleX(0);
  transform-origin: left;
}
.sly-guide-position small {
  overflow: hidden;
  color: #fffb;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sly-guide-resume { text-decoration: underline; text-underline-offset: 0.2em; }
.sly-guide-resume[hidden] { display: none !important; }
.sly-guide-transcript { position: relative; }
.sly-guide-transcript summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 0.2em; }
.sly-guide-transcript summary::-webkit-details-marker { display: none; }
.sly-guide-transcript > div {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  width: min(29rem, calc(100vw - 2rem));
  max-height: min(55vh, 32rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--guide-accent, var(--page-accent));
  background: var(--estate-bg, #11100f);
  color: #f7f2e8;
  box-shadow: 0 1.2rem 3.2rem #0008;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}
.sly-guide-transcript p { margin: 0 0 0.85rem; }
.sly-guide-transcript p:last-child { margin-bottom: 0; }

@media (max-width: 62rem) {
  .site-head {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.6rem;
  }

  .menu-toggle { display: grid; }

  .nav-score {
    position: fixed;
    top: calc(var(--header-h) + 0.65rem);
    right: 0.75rem;
    left: 0.75rem;
    display: grid;
    gap: 0;
    max-height: calc(100svh - var(--header-h) - 1.4rem);
    overflow: auto;
    padding: 0.6rem;
    border: 1px solid color-mix(in srgb, var(--page-ink) 38%, transparent);
    background: color-mix(in srgb, var(--page-bg) 97%, var(--estate-bg, #11100f));
    box-shadow: 0 1.4rem 4rem #0006;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
  }

  .nav-score.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-score a {
    display: block;
    min-height: 3rem;
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid color-mix(in srgb, var(--page-ink) 16%, transparent);
    font-size: 0.9rem;
  }

  .nav-score a:last-child { border-bottom: 0; }
  html.menu-open .site-head.is-hidden { transform: none; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 43rem) {
  html,
  body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  section,
  .site-head,
  .site-foot,
  .source-credit {
    min-width: 0;
    max-width: 100%;
  }

  .site-head { padding-inline: 0.75rem; }
  .brand-stack { gap: 0.22rem; }
  .wordmark span { font-size: 1.16rem; }
  .wordmark strong { font-size: 0.98rem; }
  .estate-signature { gap: 0.2rem 0.45rem; font-size: 0.68rem; }
  .motion-toggle,
  .menu-toggle { min-width: 2.75rem; min-height: 2.75rem; }

  .hero-instrument {
    top: 40%;
    right: 1rem;
    width: min(72vw, 18rem);
    max-width: calc(100vw - 2rem);
  }

  .section-head > *,
  .project-card > *,
  .contact > * { min-width: 0; }

  .js .reveal[data-reveal="left"],
  .js .reveal[data-reveal="right"] { transform: translateY(2rem); }
  .js .reveal.is-visible { transform: none; }

  .kinetic-statement {
    display: grid;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    animation: none !important;
    transform: none !important;
  }

  .kinetic-statement span {
    width: 100%;
    font-size: clamp(2.15rem, 11.5vw, 4rem);
    line-height: 0.95;
    white-space: normal;
    transform: none !important;
  }

  .visual-refrain {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .visual-tile,
  .process-step,
  .process-image,
  .manifesto-line {
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .manifesto-line { overflow-wrap: anywhere; }

  .section-index,
  .project-type,
  .dialog-index,
  .dialog-grid span,
  .contact-note,
  .visual-refrain-note span { font-size: 0.78rem; }

  .source-credit { padding-inline: 1rem; font-size: 0.78rem; }
  .site-foot { grid-template-columns: 1fr; gap: 1.3rem; }
  .site-foot nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }

  .project-dialog {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    overflow-x: hidden;
  }
  .dialog-shell {
    width: 100%;
    max-width: 100%;
    padding: 4.75rem 1rem 1.5rem;
    overflow-x: hidden;
  }
  .project-dialog h2 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 3.5rem);
    line-height: 0.86;
    overflow-wrap: anywhere;
  }
  .dialog-grid { width: 100%; max-width: 100%; margin-top: 2.25rem; }
  .dialog-grid > div { min-width: 0; padding: 1rem; }

  .sly-guide {
    left: 0.65rem;
    bottom: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100vw - 1.3rem);
    max-width: none;
  }
  .back-score { right: 0.65rem; bottom: 6.7rem; }
  .sly-guide-resume { grid-column: 1 / -1; padding-left: 2.65rem; text-align: left; }
  .sly-guide-transcript { position: absolute; top: 0.72rem; right: 0.72rem; }
  .sly-guide-transcript > div { position: fixed; right: 0.65rem; bottom: 5.5rem; }
}

@media print {
  .site-head,
  .scroll-score,
  .cursor-orbit,
  .back-score,
  .motion-toggle,
  .hero-instrument,
  .phrase-loop,
  .image-action,
  .sly-guide,
  .menu-toggle {
    display: none !important;
  }

  body,
  .project-dialog {
    background: #fff !important;
    color: #000 !important;
  }

  .hero,
  .work,
  .practice,
  .process,
  .manifesto,
  .contact {
    min-height: 0;
    padding: 2rem 0;
    break-inside: avoid;
  }
}
