:root {
  --paper: #f2eee5;
  --paper-deep: #e8e1d5;
  --ink: #121212;
  --quiet: #6d6962;
  --line: rgba(18, 18, 18, 0.25);
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --gutter: clamp(1.15rem, 3vw, 3.25rem);
  --page: min(1680px, 100%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-overlay {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  border-radius: clamp(.9rem, 1.45vw, 1.55rem);
}

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

.folio-label,
.wordmark,
.location-stamp,
.index-heading,
.index-number,
.index-note,
.home-folio,
.running-head,
.work-meta dt,
.plate-caption,
.production-figure figcaption,
.text-action,
.chapter-end,
.overlay-chrome,
.gallery-caption,
.gallery-index,
.gallery-nav,
.credits-status,
.credits-list span:first-child,
.credits-group h2,
.credits-endmark {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

/* HOME */

.home-cover {
  width: var(--page);
  min-height: 100svh;
  margin: 0 auto;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: 1fr minmax(22rem, 0.65fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(3rem, 7vw, 9rem);
}

.home-masthead {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.location-stamp {
  font-size: clamp(0.64rem, 0.8vw, 0.76rem);
  text-decoration: none;
}

.home-statement {
  align-self: center;
  padding: clamp(5rem, 12vh, 10rem) 0 clamp(4rem, 10vh, 8rem);
}

.folio-label {
  margin: 0 0 1.5rem;
  font-size: 0.66rem;
  color: var(--quiet);
}

.home-statement h1 {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(3.7rem, 7.6vw, 8.75rem);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.home-statement h1 span {
  display: block;
}

.home-statement h1 span:nth-child(2) {
  padding-left: 0.65em;
  font-style: italic;
}

.home-statement h1 span:nth-child(3) {
  padding-left: 1.75em;
}

.home-subline {
  max-width: 32rem;
  margin: clamp(2.5rem, 6vh, 5rem) 0 0 20%;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.55;
}

.home-index {
  align-self: end;
  position: relative;
  padding-bottom: clamp(4rem, 9vh, 7rem);
}

.index-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  font-size: 0.64rem;
  color: var(--quiet);
}

.index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.index-item {
  min-height: clamp(4.2rem, 7vh, 5.8rem);
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.index-number,
.index-note {
  font-size: 0.62rem;
}

.index-number,
.index-note,
.index-item.is-muted .index-name {
  color: var(--quiet);
}

.index-name {
  width: fit-content;
  font-size: clamp(1.65rem, 3vw, 3.5rem);
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: font-style 180ms ease, transform 260ms ease;
}

.index-item-stage .index-name:hover,
.index-item-stage .index-name:focus-visible {
  font-style: italic;
  transform: translateX(0.12em);
  outline: none;
}

.stage-peek {
  position: absolute;
  width: clamp(8rem, 12vw, 12rem);
  margin: 0;
  right: calc(100% + clamp(2rem, 5vw, 6rem));
  bottom: -1.25rem;
  opacity: 0;
  transform: translateY(0.65rem) rotate(-1deg);
  pointer-events: none;
  z-index: 3;
  transition: opacity 240ms ease, transform 380ms cubic-bezier(.2,.75,.25,1);
}

.stage-peek img {
  width: 100%;
  box-shadow: 0 1.25rem 3rem rgba(18,18,18,0.15);
}

.index-item-stage:has(.index-name:hover) .stage-peek,
.index-item-stage:has(.index-name:focus-visible) .stage-peek {
  opacity: 1;
  transform: translateY(0) rotate(-1deg);
}

.home-folio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
  color: var(--quiet);
}

.home-folio span:last-child {
  justify-self: end;
}

/* STAGE: RUNNING HEADER */

.running-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  width: var(--page);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.62rem;
  background: linear-gradient(to bottom, var(--paper) 72%, transparent);
}

.running-head a {
  text-decoration: none;
}

.running-index {
  justify-self: center;
}

.running-section {
  justify-self: end;
}

.stage-work {
  width: var(--page);
  margin: 0 auto;
  padding: 6rem var(--gutter) 0;
}

/* STAGE: OPENING */

.work-opening {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.45fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(3rem, 8vw, 10rem);
  padding: clamp(2rem, 5vh, 5rem) 0 clamp(3rem, 8vh, 7rem);
  position: relative;
}

.work-category {
  grid-column: 1 / -1;
  margin-bottom: clamp(4rem, 9vh, 8rem);
}

.work-title-block {
  grid-column: 1;
  align-self: start;
}

.work-title-block h1 {
  margin: 0;
  max-width: 8.5ch;
  font-size: clamp(4.4rem, 9.4vw, 10.5rem);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.work-author {
  margin: clamp(1.7rem, 4vh, 3.5rem) 0 0 0.15em;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-style: italic;
}

.work-meta {
  grid-column: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(5rem, 10vh, 9rem) 0 0;
}

.work-meta div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.work-meta dt {
  margin-bottom: 0.45rem;
  font-size: 0.58rem;
  color: var(--quiet);
}

.work-meta dd {
  margin: 0;
  max-width: 15rem;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.4;
}

.poster-plate {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  justify-self: end;
  width: min(100%, 24rem);
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.poster-plate img {
  width: 100%;
  transition: transform 500ms cubic-bezier(.2,.75,.25,1), filter 300ms ease;
  box-shadow: 0 1.75rem 4.25rem rgba(18,18,18,0.13);
}

.poster-plate:hover img,
.poster-plate:focus-visible img {
  transform: translateY(-0.35rem) rotate(0.3deg);
}

.poster-plate:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 0.55rem;
}

.plate-caption {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.58rem;
  line-height: 1.4;
}

/* STAGE: TEXT RHYTHM */

.prose-block {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 0.55fr);
  padding: clamp(7rem, 17vh, 15rem) 0;
  border-top: 1px solid var(--line);
}

.prose-block p {
  grid-column: 2;
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.story-sequence {
  border-top: 1px solid var(--line);
}

.story-spread {
  min-height: 90svh;
  display: flex;
  align-items: center;
}

.story-spread p {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(3.2rem, 6.5vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.story-spread-large {
  justify-content: flex-start;
}

.story-spread-small {
  min-height: 68svh;
  justify-content: center;
  text-align: center;
}

.story-spread-small p {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5.2vw, 6rem);
}

.story-spread-right {
  justify-content: flex-end;
  text-align: right;
}

.triptych-lines {
  min-height: 74svh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.triptych-lines span {
  font-size: clamp(2.4rem, 4.6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.triptych-lines span:nth-child(2) {
  justify-self: center;
  font-style: italic;
}

.triptych-lines span:nth-child(3) {
  justify-self: end;
}

.production-figure {
  margin: 0;
  padding: clamp(5rem, 12vh, 10rem) 0;
}

.image-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  height: auto;
  transition: filter 350ms ease, transform 600ms cubic-bezier(.2,.75,.25,1);
}

.image-button:hover img,
.image-button:focus-visible img {
  filter: contrast(1.04);
  transform: scale(0.997);
}

.image-button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 0.5rem;
}

.production-figure-wide .image-button {
  width: min(100%, 92rem);
  margin-left: auto;
  margin-right: auto;
}

.production-figure-wide img {
  max-height: 85svh;
  object-fit: cover;
}

.production-figure figcaption {
  width: min(100%, 92rem);
  margin: 0.75rem auto 0;
  font-size: 0.56rem;
  color: var(--quiet);
}

.story-columns {
  min-height: 85svh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.78fr);
  gap: clamp(4rem, 10vw, 12rem);
  align-items: center;
  padding: 8vh 7vw;
}

.story-columns p {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 3.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.story-columns p:last-child {
  align-self: end;
  padding-bottom: 12vh;
}

.production-figure-offset {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding-top: 2rem;
}

.production-figure-offset .image-button,
.production-figure-offset figcaption {
  grid-column: 2;
}

.production-figure-offset img {
  width: 100%;
}

.production-figure-offset figcaption {
  width: 100%;
}

.closing-question {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: clamp(6rem, 12vh, 10rem) 7vw;
  border-top: 1px solid var(--line);
}

.closing-question > p:last-child {
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(3.4rem, 7vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.work-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}

.text-action {
  min-height: 10rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  text-align: left;
  cursor: pointer;
}

.text-action:first-child {
  padding-right: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}

.text-action:last-child {
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.text-action:hover span:first-child,
.text-action:focus-visible span:first-child {
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.text-action:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.chapter-end {
  min-height: 13rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  padding: 2rem 0 1rem;
  font-size: 0.6rem;
  color: var(--quiet);
}

.chapter-end a {
  color: var(--ink);
  text-decoration: none;
}

.chapter-end span:nth-child(2) {
  justify-self: center;
}

.chapter-end span:last-child {
  justify-self: end;
}

/* OVERLAYS */

.overlay[hidden] {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.8rem);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.75,.25,1), visibility 0s linear 520ms;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.overlay.is-closing {
  opacity: 0;
  transform: translateY(0.55rem);
}

.overlay-chrome {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  min-height: 3.5rem;
  padding: 1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  font-size: 0.6rem;
  pointer-events: none;
}

.overlay-chrome p {
  margin: 0;
}

.overlay-close {
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.overlay-close:hover,
.overlay-close:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  outline: none;
}

/* GALLERY */

.gallery-stage {
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(4rem, 0.24fr) minmax(0, 1fr) minmax(4rem, 0.24fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(4.5rem, 8vh, 6rem) var(--gutter) clamp(4rem, 7vh, 5rem);
}

.gallery-figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.7rem;
  justify-items: center;
  align-items: center;
}

.gallery-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 10rem);
  object-fit: contain;
  box-shadow: 0 1.75rem 5rem rgba(18,18,18,0.12);
}

.gallery-figure.is-landscape .gallery-image {
  width: 100%;
  max-height: calc(100svh - 10rem);
  box-shadow: none;
}

.gallery-caption {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.56rem;
  color: var(--quiet);
}

.gallery-nav {
  justify-self: stretch;
  align-self: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.58rem;
  cursor: pointer;
  color: var(--quiet);
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  color: var(--ink);
  outline: none;
}

.gallery-prev {
  text-align: left;
}

.gallery-next {
  text-align: right;
}

.gallery-index {
  position: absolute;
  z-index: 5;
  inset: auto 0 1rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.56rem;
}

.gallery-index button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  color: var(--quiet);
  cursor: pointer;
}

.gallery-index button.is-current {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* CREDITS */

.credits-overlay {
  background: var(--ink);
  color: var(--paper);
}

.credits-chrome {
  background: linear-gradient(to bottom, var(--ink) 58%, rgba(18,18,18,0));
}

.credits-controls {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  pointer-events: auto;
}

.credits-status {
  min-width: 4.5rem;
  text-align: right;
  color: rgba(242,238,229,0.58);
}

.credits-viewport {
  height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(242,238,229,0.35) transparent;
  scroll-behavior: auto;
}

.credits-viewport:focus {
  outline: none;
}

.credits-spacer {
  height: 58svh;
}

.credits-spacer-bottom {
  height: 62svh;
}

.credits-roll {
  width: min(100% - 2 * var(--gutter), 62rem);
  margin: 0 auto;
  text-align: center;
}

.credits-work-title {
  margin-bottom: 17vh;
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.credits-work-title p {
  margin: 0;
}

.credits-work-title p:last-child {
  margin-top: 1.2rem;
  font-size: 0.26em;
  font-style: italic;
  letter-spacing: 0;
}

.credits-group {
  margin: 0 0 14vh;
}

.credits-group h2,
.credits-endmark {
  margin: 0 0 2rem;
  font-size: 0.62rem;
  color: rgba(242,238,229,0.55);
}

.credits-group p {
  margin: 0.45rem 0;
  font-size: clamp(1.4rem, 2.7vw, 2.7rem);
  line-height: 1.28;
}

.credits-list {
  display: grid;
  gap: clamp(2rem, 5vh, 4rem);
  margin: 0 0 16vh;
}

.credits-list div {
  display: grid;
  gap: 0.75rem;
}

.credits-list span:first-child {
  font-size: 0.58rem;
  color: rgba(242,238,229,0.55);
}

.credits-list span:last-child {
  font-size: clamp(1.35rem, 2.5vw, 2.45rem);
  line-height: 1.25;
}

.credits-note {
  max-width: 38rem;
  margin: 0 auto 18vh;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(242,238,229,0.82);
}

.credits-note p + p {
  margin-top: 1.25rem;
}

.credits-endmark {
  margin: 0;
}

/* REVEALS */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 900ms ease, transform 1000ms cubic-bezier(.2,.75,.25,1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-cover {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
  }

  .home-statement {
    padding: 12vh 0 8vh;
  }

  .home-statement h1 {
    font-size: clamp(3.4rem, 13vw, 6.3rem);
  }

  .home-statement h1 span:nth-child(2),
  .home-statement h1 span:nth-child(3) {
    padding-left: 0;
  }

  .home-subline {
    margin-left: 0;
    max-width: 27rem;
  }

  .home-index {
    padding-bottom: 5rem;
  }

  .stage-peek {
    display: none;
  }

  .work-opening {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-bottom: 7rem;
  }

  .work-category,
  .work-title-block,
  .work-meta,
  .poster-plate {
    grid-column: 1;
    grid-row: auto;
  }

  .work-category {
    margin-bottom: 4rem;
  }

  .work-title-block h1 {
    font-size: clamp(4.2rem, 14vw, 7rem);
  }

  .poster-plate {
    width: min(68vw, 22rem);
    margin-top: 5rem;
    justify-self: end;
  }

  .work-meta {
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .prose-block {
    grid-template-columns: 1fr;
  }

  .prose-block p {
    grid-column: 1;
    max-width: 28rem;
    margin-left: auto;
  }

  .story-spread {
    min-height: 78svh;
  }

  .story-spread p {
    font-size: clamp(3rem, 10vw, 5.6rem);
  }

  .triptych-lines {
    min-height: 72svh;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.5rem;
  }

  .triptych-lines span,
  .triptych-lines span:nth-child(2),
  .triptych-lines span:nth-child(3) {
    justify-self: start;
    font-size: clamp(2.7rem, 10vw, 4.7rem);
  }

  .triptych-lines span:nth-child(2) {
    justify-self: center;
  }

  .triptych-lines span:nth-child(3) {
    justify-self: end;
  }

  .story-columns {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 5rem;
    padding: 16vh 0;
  }

  .story-columns p {
    max-width: 22rem;
    font-size: clamp(1.75rem, 7vw, 3rem);
  }

  .story-columns p:last-child {
    justify-self: end;
    padding-bottom: 0;
  }

  .production-figure-offset {
    grid-template-columns: 0.2fr 1fr;
  }

  .closing-question {
    padding-left: 0;
    padding-right: 0;
  }

  .closing-question > p:last-child {
    font-size: clamp(3.1rem, 11vw, 6.4rem);
  }

  .gallery-stage {
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 1rem;
  }

  .home-masthead {
    align-items: flex-start;
  }

  .location-stamp {
    max-width: 7rem;
    text-align: right;
  }

  .home-statement {
    padding-top: 13vh;
  }

  .home-statement h1 {
    font-size: clamp(3.05rem, 15vw, 5rem);
  }

  .home-subline {
    font-size: 1rem;
  }

  .index-item {
    grid-template-columns: 2rem 1fr;
  }

  .index-note {
    display: none;
  }

  .index-name {
    font-size: clamp(1.75rem, 10vw, 2.8rem);
  }

  .running-head {
    grid-template-columns: 1fr auto;
  }

  .running-index {
    display: none;
  }

  .stage-work {
    padding-top: 4.8rem;
  }

  .work-title-block h1 {
    font-size: clamp(3.55rem, 16vw, 5.7rem);
  }

  .poster-plate {
    width: min(76vw, 20rem);
  }

  .prose-block {
    padding: 16vh 0;
  }

  .prose-block p {
    font-size: clamp(1.45rem, 6vw, 2.2rem);
  }

  .production-figure {
    padding: 10vh 0;
  }

  .production-figure-wide .image-button {
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
  }

  .production-figure-wide figcaption {
    margin-left: 0;
  }

  .production-figure-offset {
    grid-template-columns: 1fr;
  }

  .production-figure-offset .image-button,
  .production-figure-offset figcaption {
    grid-column: 1;
  }

  .story-spread-right {
    text-align: left;
  }

  .work-actions {
    grid-template-columns: 1fr;
  }

  .text-action:first-child {
    padding-right: 0;
    border-right: 0;
  }

  .text-action:last-child {
    padding-left: 0;
  }

  .chapter-end {
    grid-template-columns: 1fr auto;
  }

  .chapter-end span:nth-child(2) {
    display: none;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
    padding-top: 4.75rem;
    padding-bottom: 5rem;
  }

  .gallery-nav {
    position: absolute;
    z-index: 6;
    bottom: 1rem;
    width: auto;
    height: 2rem;
  }

  .gallery-prev {
    left: var(--gutter);
  }

  .gallery-next {
    right: var(--gutter);
  }

  .gallery-image,
  .gallery-figure.is-landscape .gallery-image {
    max-height: calc(100svh - 10rem);
  }

  .gallery-caption {
    gap: 1rem;
  }

  .gallery-caption-text {
    text-align: right;
  }

  .gallery-index {
    bottom: 1.35rem;
  }

  .credits-status {
    display: none;
  }

  .credits-work-title {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .credits-list span:last-child,
  .credits-group p {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* V3 REFINEMENTS */

/* The home index stays purely typographic. No preview image appears on hover. */
.stage-peek {
  display: none !important;
}

/* Soft arrival into each chapter. */
body > main,
body > .running-head {
  transition: opacity 720ms ease, transform 880ms cubic-bezier(.18,.72,.22,1), filter 760ms ease;
}

body.page-enter > main,
body.page-enter > .running-head {
  opacity: 0;
  transform: scale(.985);
  filter: blur(5px);
}

/* Page exit: visible typographic fragments are gently drawn towards the centre. */
.page-suction-piece {
  --suck-x: 0px;
  --suck-y: 0px;
  --suck-r: 0deg;
  --suck-delay: 0ms;
  transform-origin: center center;
  transition:
    transform 700ms cubic-bezier(.58,.02,.34,1) var(--suck-delay),
    opacity 540ms ease var(--suck-delay),
    filter 620ms ease var(--suck-delay) !important;
  will-change: transform, opacity, filter;
}

body.page-is-leaving .page-suction-piece {
  transform: translate3d(var(--suck-x), var(--suck-y), 0) scale(.16) rotate(var(--suck-r)) !important;
  opacity: 0 !important;
  filter: blur(11px) !important;
}

body.page-is-leaving {
  pointer-events: none;
}

/* Smaller, centred personal context before the central question. */
.intro-copy.prose-block {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: clamp(6rem, 15vh, 12rem) var(--gutter);
}

.intro-copy.prose-block p {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: -0.006em;
}

.opening-question {
  min-height: 92svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: clamp(5rem, 11vh, 9rem) 7vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.opening-question .folio-label {
  align-self: start;
}

.opening-question > p:last-child {
  max-width: 19ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(3.35rem, 6.8vw, 7.8rem);
  line-height: .98;
  letter-spacing: -0.052em;
}

.story-sequence {
  border-top: 0;
}

/* The photographs feel like soft physical plates rather than hard-edged web cards. */
.poster-plate img,
.image-button,
.image-button img,
.gallery-image {
  border-radius: clamp(.85rem, 1.3vw, 1.45rem);
}

.image-button {
  overflow: hidden;
}

.gallery-image {
  box-shadow: 0 1.75rem 5rem rgba(18,18,18,.12);
}

.gallery-figure.is-landscape .gallery-image {
  box-shadow: 0 1.35rem 4rem rgba(18,18,18,.09);
}

/* Credits: an actual screen-sized programme with an explicit opening gesture. */
.credits-overlay {
  transform: scale(.992);
  filter: blur(7px);
  transition:
    opacity 520ms ease,
    transform 680ms cubic-bezier(.18,.72,.22,1),
    filter 620ms ease,
    visibility 0s linear 680ms;
}

.credits-overlay.is-open {
  transform: scale(1);
  filter: blur(0);
}

.credits-overlay.is-closing {
  transform: scale(.985);
  filter: blur(6px);
}

.credits-viewport {
  scrollbar-width: thin;
  scrollbar-color: rgba(242,238,229,.26) transparent;
  touch-action: pan-y;
}

.credits-spacer {
  height: 28svh;
}

.credits-spacer-bottom {
  height: 48svh;
}

.credits-roll {
  opacity: .25;
  transform: translateY(2rem);
  transition: opacity 620ms ease 120ms, transform 760ms cubic-bezier(.18,.72,.22,1) 100ms;
}

.credits-overlay.is-open .credits-roll {
  opacity: 1;
  transform: translateY(0);
}

.credits-work-title {
  margin-bottom: 14vh;
}

.credits-status {
  transition: opacity 180ms ease;
}

@media (max-width: 700px) {
  .opening-question {
    min-height: 82svh;
    padding-left: 0;
    padding-right: 0;
  }

  .opening-question > p:last-child {
    font-size: clamp(2.75rem, 12vw, 5.4rem);
  }

  .intro-copy.prose-block {
    padding-left: 0;
    padding-right: 0;
  }

  .poster-plate img,
  .image-button,
  .image-button img,
  .gallery-image {
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body > main,
  body > .running-head,
  .page-suction-piece,
  .credits-overlay,
  .credits-roll {
    transition: none !important;
  }

  body.page-enter > main,
  body.page-enter > .running-head {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* V5: STAGE AS TEXTUAL CHAPTER */

.index-item-contact .index-name:hover,
.index-item-contact .index-name:focus-visible {
  font-style: italic;
  transform: translateX(0.12em);
  outline: none;
}

.work-opening-textual .opening-materials {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  width: min(100%, 26rem);
  justify-self: end;
  padding-bottom: 0.2rem;
}

.opening-materials .folio-label {
  margin-bottom: 0.8rem;
}

.opening-link {
  width: 100%;
  min-height: 4.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: padding 300ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

.opening-link:last-child {
  border-bottom: 1px solid var(--line);
}

.opening-link:hover,
.opening-link:focus-visible {
  padding-left: 0.65rem;
  padding-right: 0.25rem;
  font-style: italic;
  outline: none;
}

/* The question stands alone. No explanatory eyebrow. */
.opening-question {
  grid-template-rows: 1fr;
}

.opening-question > p:last-child {
  align-self: center;
}

/* Scroll passages breathe in and out instead of popping into view once. */
.scroll-breathe {
  will-change: opacity, transform, filter;
  transition: opacity 120ms linear, transform 160ms ease-out, filter 150ms linear;
  transform-origin: center center;
}

/* CONTACT */

.contact-main {
  width: var(--page);
  margin: 0 auto;
  padding: 7.5rem var(--gutter) 0;
}

.contact-intro {
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .65fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(3rem, 8vw, 10rem);
  padding: clamp(3rem, 8vh, 7rem) 0 clamp(5rem, 10vh, 9rem);
  border-bottom: 1px solid var(--line);
}

.contact-intro .folio-label {
  grid-column: 1 / -1;
}

.contact-intro h1 {
  grid-column: 1;
  align-self: center;
  margin: 0;
  max-width: 8ch;
  font-weight: 400;
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: .84;
  letter-spacing: -0.065em;
}

.contact-intro-copy {
  grid-column: 2;
  align-self: end;
  margin: 0;
  max-width: 25rem;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.contact-form {
  padding: clamp(5rem, 13vh, 11rem) 0 clamp(8rem, 16vh, 13rem);
}

.contact-field {
  position: relative;
  padding: clamp(2rem, 5vh, 4.5rem) 0 clamp(1.3rem, 3vh, 2.4rem);
  border-bottom: 1px solid var(--line);
}

.contact-field:first-child {
  border-top: 1px solid var(--ink);
}

.contact-field-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vh, 2.25rem);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.contact-field label {
  cursor: text;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.25vw, 2.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
  caret-color: var(--ink);
}

.contact-field textarea {
  min-height: 11rem;
  font-size: clamp(1.65rem, 3.35vw, 3.8rem);
  line-height: 1.2;
}

.contact-field:focus-within {
  border-bottom-color: var(--ink);
}

.contact-field:focus-within .contact-field-head {
  color: var(--ink);
  font-style: italic;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.turnstile-shell {
  min-height: 0;
  margin-top: 1.5rem;
}

#turnstile-slot {
  width: min(100%, 30rem);
}

.contact-send-row {
  display: grid;
  grid-template-columns: minmax(16rem, .55fr) 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  padding-top: clamp(4rem, 9vh, 7rem);
}

.contact-send {
  position: relative;
  width: 100%;
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: padding 320ms cubic-bezier(.2,.75,.25,1), opacity 220ms ease;
}

.contact-send:not(:disabled):hover,
.contact-send:not(:disabled):focus-visible {
  padding-left: .7rem;
  padding-right: .3rem;
  outline: none;
}

.contact-send:disabled {
  cursor: wait;
  opacity: .38;
}

.contact-send-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 320ms cubic-bezier(.2,.75,.25,1);
}

.contact-send:not(:disabled):hover .contact-send-mark {
  transform: translate(.15rem, -.15rem);
}

.contact-status {
  margin: 0;
  max-width: 29rem;
  color: var(--quiet);
  font-size: clamp(.92rem, 1.15vw, 1.05rem);
  line-height: 1.55;
}

.contact-status[data-state="success"] {
  color: var(--ink);
  font-style: italic;
}

.contact-status[data-state="error"] {
  color: var(--ink);
}

.contact-form.is-sending .contact-send-mark {
  animation: contact-pulse 950ms ease-in-out infinite alternate;
}

@keyframes contact-pulse {
  from { transform: translate(0, 0); opacity: .35; }
  to { transform: translate(.2rem, -.2rem); opacity: 1; }
}

.contact-end {
  margin-top: 0;
}

.site-colophon {
  margin: 0;
  padding: clamp(5rem, 10vh, 9rem) 0 clamp(2.2rem, 4vh, 3.5rem);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.045em;
  color: var(--quiet);
}

@media (max-width: 820px) {
  .work-opening-textual .opening-materials {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    margin-top: 3rem;
  }

  .contact-intro {
    min-height: 78svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .contact-intro .folio-label,
  .contact-intro h1,
  .contact-intro-copy {
    grid-column: 1;
  }

  .contact-intro h1 {
    font-size: clamp(4.2rem, 20vw, 8rem);
  }

  .contact-intro-copy {
    padding-top: 3rem;
  }

  .contact-send-row {
    grid-template-columns: 1fr;
  }

  .contact-field input {
    font-size: clamp(1.35rem, 6.5vw, 2.35rem);
  }

  .contact-field textarea {
    font-size: clamp(1.8rem, 8vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-breathe {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .contact-form.is-sending .contact-send-mark {
    animation: none;
  }
}

/* V7 / SOUND ARCHIVE */

.index-item-sound .index-name:hover,
.index-item-sound .index-name:focus-visible,
.index-item-contact .index-name:hover,
.index-item-contact .index-name:focus-visible {
  font-style: italic;
  transform: translateX(0.12em);
  outline: none;
}

.sound-main {
  width: var(--page);
  margin: 0 auto;
  padding: 7.5rem var(--gutter) 0;
}

.sound-opening {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .62fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(3rem, 8vw, 10rem);
  padding: clamp(3rem, 8vh, 7rem) 0 clamp(5rem, 11vh, 9rem);
  border-bottom: 1px solid var(--line);
}

.sound-opening .folio-label {
  grid-column: 1 / -1;
}

.sound-opening h1 {
  grid-column: 1;
  align-self: center;
  margin: 0;
  font-size: clamp(6rem, 14vw, 15rem);
  line-height: .82;
  font-weight: 400;
  letter-spacing: -.065em;
}

.sound-opening-copy {
  grid-column: 2;
  align-self: end;
  margin: 0;
  max-width: 26rem;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.58;
}

.sound-chapters {
  padding: clamp(7rem, 15vh, 12rem) 0 clamp(9rem, 18vh, 15rem);
}

.sound-chapters-head,
.company-index-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.sound-chapter-row {
  appearance: none;
  width: 100%;
  min-height: clamp(5.2rem, 9vh, 7.4rem);
  padding: 0;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.sound-chapter-row:last-child {
  border-bottom: 1px solid var(--line);
}

button.sound-chapter-row {
  cursor: pointer;
}

.sound-chapter-number,
.sound-chapter-note {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.sound-chapter-name {
  width: fit-content;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.04em;
  transition: transform 320ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

button.sound-chapter-row:hover .sound-chapter-name,
button.sound-chapter-row:focus-visible .sound-chapter-name,
button.sound-chapter-row[aria-expanded="true"] .sound-chapter-name {
  transform: translateX(.15em);
  font-style: italic;
}

button.sound-chapter-row:focus-visible {
  outline: none;
  border-top-color: var(--ink);
}

.sound-chapter-row.is-muted {
  color: var(--quiet);
}

.sound-chapter-row.is-muted .sound-chapter-name {
  opacity: .55;
}

.sound-section {
  opacity: 0;
  transform: translateY(2.2rem);
  filter: blur(6px);
  transition: opacity 560ms ease, transform 760ms cubic-bezier(.18,.72,.22,1), filter 620ms ease;
  padding: 2rem 0 clamp(10rem, 20vh, 17rem);
  border-top: 1px solid var(--ink);
}

.sound-section.is-open {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.sound-section-head {
  min-height: 66svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(3rem, 7vh, 6rem) 0 clamp(5rem, 10vh, 9rem);
}

.sound-section-head h2 {
  align-self: center;
  margin: 0;
  max-width: 10ch;
  font-size: clamp(4.2rem, 9vw, 10rem);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.055em;
}

.film-feature {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(18rem, .62fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: center;
  padding: clamp(6rem, 14vh, 12rem) 0;
}

.film-copy {
  max-width: 38rem;
}

.work-kicker {
  margin: 0 0 1.2rem;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.film-copy h3,
.company-detail-head h3 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: .9;
  font-weight: 400;
  letter-spacing: -.055em;
}

.film-season {
  margin: 1rem 0 clamp(3rem, 7vh, 5rem);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-style: italic;
}

.sound-facts {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.sound-facts > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.sound-facts dt,
.film-poster figcaption,
.selected-list > span,
.award-note > span {
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.sound-facts dd {
  margin: 0;
  font-size: 1rem;
}

.sound-prose {
  margin: clamp(3rem, 7vh, 5rem) 0 0;
  max-width: 31rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.5;
}

.film-poster {
  margin: 0;
}

.film-poster img,
.sound-wide-image img,
.sound-image-triptych img,
.sound-image-pair img {
  width: 100%;
  border-radius: clamp(1rem, 2vw, 1.8rem);
}

.film-poster-primary {
  justify-self: center;
  width: min(100%, 31rem);
}

.film-poster figcaption {
  margin-top: .8rem;
}

.film-elsewhere {
  min-height: 72svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 15vh, 12rem) var(--gutter);
  text-align: center;
}

.film-elsewhere p {
  margin: 0;
  max-width: 27ch;
  font-size: clamp(2.2rem, 4.8vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.film-poster-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 6vw, 7rem);
  width: min(100%, 70rem);
  margin: 0 auto clamp(9rem, 18vh, 14rem);
  align-items: start;
}

.film-poster-pair .film-poster:first-child {
  width: min(100%, 28rem);
}

.film-poster-pair .film-poster:last-child {
  width: min(100%, 25rem);
  justify-self: end;
  margin-top: clamp(4rem, 10vh, 9rem);
}

.sound-section-close,
.company-detail-close {
  appearance: none;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: padding 300ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

.sound-section-close:hover,
.sound-section-close:focus-visible,
.company-detail-close:hover,
.company-detail-close:focus-visible {
  padding-left: .65rem;
  font-style: italic;
  outline: none;
}

.company-index {
  position: relative;
  padding: clamp(3rem, 8vh, 7rem) 0 clamp(8rem, 16vh, 13rem);
}

.company-row {
  appearance: none;
  width: 100%;
  min-height: clamp(5.4rem, 9vh, 7.3rem);
  padding: 0;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.company-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.company-row > span {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.company-row strong {
  font-size: clamp(1.75rem, 3.4vw, 4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.035em;
  transition: transform 320ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

.company-row:hover strong,
.company-row:focus-visible strong,
.company-row[aria-expanded="true"] strong {
  transform: translateX(.15em);
  font-style: italic;
}

.company-row:focus-visible {
  outline: none;
}

.company-margin-note {
  width: min(22rem, 30vw);
  margin: 2rem 0 0 auto;
  min-height: 3.5em;
  color: var(--quiet);
  font-size: clamp(.92rem, 1.15vw, 1.05rem);
  line-height: 1.5;
  transition: opacity 220ms ease, transform 300ms cubic-bezier(.2,.75,.25,1);
}

.company-margin-note.is-changing {
  opacity: 0;
  transform: translateY(.4rem);
}

.company-detail {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(5px);
  transition: opacity 520ms ease, transform 720ms cubic-bezier(.18,.72,.22,1), filter 600ms ease;
  padding: clamp(2rem, 5vh, 4rem) 0 clamp(10rem, 18vh, 15rem);
}

.company-detail.is-open {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.company-detail-head {
  min-height: 70svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .65fr);
  grid-template-rows: auto 1fr;
  gap: 2rem clamp(3rem, 8vw, 10rem);
  align-items: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.company-detail-head .work-kicker {
  grid-column: 1 / -1;
  align-self: start;
}

.company-detail-head h3 {
  grid-column: 1;
}

.company-detail-head > p:last-child {
  grid-column: 2;
  margin: 0;
  align-self: end;
  max-width: 29rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.62;
}

.sound-wide-image {
  margin: 0 0 clamp(8rem, 18vh, 15rem);
}

.sound-wide-image img {
  max-height: 78svh;
  object-fit: contain;
}

.company-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .55fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
  padding: 0 0 clamp(8rem, 17vh, 14rem);
}

.company-copy-grid > p {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.65rem, 3.1vw, 3.5rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.selected-list {
  padding-top: .5rem;
  border-top: 1px solid var(--ink);
}

.selected-list > span {
  display: block;
  margin-bottom: 1.4rem;
}

.selected-list p {
  margin: 0;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.sound-image-triptych {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  margin-bottom: clamp(10rem, 19vh, 15rem);
}

.sound-image-triptych figure,
.sound-image-pair figure {
  margin: 0;
}

.sound-image-triptych figure:nth-child(2) {
  transform: translateY(8%);
}

.sound-image-triptych figure:nth-child(3) {
  transform: translateY(-8%);
}

.engine-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 8rem);
  padding: 0 0 clamp(8rem, 16vh, 13rem);
}

.engine-note {
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
}

.engine-note h4 {
  margin: 0 0 2rem;
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.045em;
}

.engine-note > p:last-child {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.62;
}

.sound-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: center;
  margin-bottom: clamp(8rem, 16vh, 13rem);
}

.sound-image-pair figure:nth-child(2) {
  margin-top: clamp(4rem, 10vh, 8rem);
}

.sound-image-pair-small {
  width: min(100%, 72rem);
  margin-left: auto;
  margin-right: auto;
}

.award-note {
  min-height: 58svh;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(6rem, 13vh, 11rem) 0;
}

.award-note p {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.sound-end {
  margin-top: 0;
}

@media (max-width: 820px) {
  .sound-opening {
    min-height: 72svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .sound-opening .folio-label,
  .sound-opening h1,
  .sound-opening-copy {
    grid-column: 1;
  }

  .sound-opening h1 {
    font-size: clamp(5rem, 25vw, 9rem);
  }

  .sound-opening-copy {
    padding-top: 3rem;
  }

  .sound-chapter-row,
  .company-row {
    grid-template-columns: 2.4rem 1fr;
    padding: 1.3rem 0;
  }

  .sound-chapter-note,
  .company-row > span:last-child {
    grid-column: 2;
  }

  .film-feature,
  .company-detail-head,
  .company-copy-grid,
  .engine-pair,
  .sound-image-pair,
  .award-note {
    grid-template-columns: 1fr;
  }

  .film-feature {
    min-height: auto;
  }

  .film-poster-primary {
    width: min(78vw, 25rem);
    margin: 0 auto;
  }

  .film-poster-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .film-poster-pair .film-poster:last-child {
    margin-top: 3rem;
  }

  .company-margin-note {
    width: 100%;
    margin-left: 0;
  }

  .company-detail-head h3,
  .company-detail-head > p:last-child,
  .company-detail-head .work-kicker {
    grid-column: 1;
  }

  .company-detail-head > p:last-child {
    padding-top: 2rem;
  }

  .sound-image-triptych {
    grid-template-columns: 1fr;
  }

  .sound-image-triptych figure:nth-child(2),
  .sound-image-triptych figure:nth-child(3),
  .sound-image-pair figure:nth-child(2) {
    transform: none;
    margin-top: 0;
  }

  .award-note {
    gap: 1.2rem;
  }
}

.sound-section,
.company-detail,
.company-index {
  scroll-margin-top: 5.5rem;
}

/* V8 / SOUND REFINEMENT */

/* Every photographic or interface plate inherits the global rounded frame. */

.selected-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  transition: padding 280ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

.selected-list a b {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  color: var(--quiet);
  opacity: 0;
  transform: translate(-.45rem, .05rem);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(.2,.75,.25,1);
}

.selected-list a:hover,
.selected-list a:focus-visible {
  padding-left: .45rem;
  font-style: italic;
  outline: none;
}

.selected-list a:hover b,
.selected-list a:focus-visible b {
  opacity: 1;
  transform: translate(0, .05rem);
}

.selected-list-wide {
  width: min(100%, 56rem);
  margin: 0 0 clamp(8rem, 17vh, 14rem) auto;
}

.sound-image-triptych-emergence {
  grid-template-columns: 1.15fr .9fr .8fr;
}

.sound-image-triptych-emergence figure:first-child {
  align-self: start;
}

.recognition-note {
  width: min(100%, 68rem);
  margin: 0 auto clamp(10rem, 20vh, 16rem);
  padding: clamp(4rem, 9vh, 7rem) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.recognition-note > p:not(.work-kicker) {
  margin: 0;
  max-width: 45rem;
  font-size: clamp(1.25rem, 2.25vw, 2.35rem);
  line-height: 1.42;
  letter-spacing: -.018em;
}

.recognition-note > p + p {
  margin-top: 2rem;
}

.product-entry {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(18rem, 1.05fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  padding: clamp(6rem, 13vh, 11rem) 0;
  border-top: 1px solid var(--line);
}

.product-entry-reverse .product-entry-copy {
  grid-column: 2;
}

.product-entry-reverse .product-entry-media-stack {
  grid-column: 1;
  grid-row: 1;
}

.product-entry-text-only {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.15fr);
}

.product-entry-text-only .product-entry-copy {
  grid-column: 2;
}

.product-entry-copy {
  max-width: 39rem;
}

.product-entry-copy h4 {
  margin: 0 0 2.2rem;
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.046em;
}

.product-entry-copy > p:not(.work-kicker):not(.product-role) {
  margin: 0;
  font-size: clamp(1rem, 1.42vw, 1.24rem);
  line-height: 1.66;
}

.product-entry-media,
.product-entry-media-stack figure,
.engine-image {
  margin: 0;
}

.product-entry-media img,
.product-entry-media-stack img,
.engine-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-entry-media-portrait {
  width: min(100%, 31rem);
  justify-self: end;
}

.product-entry-media-stack {
  display: grid;
  grid-template-columns: .72fr 1.1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.product-entry-media-stack figure:first-child {
  transform: translateY(-8%);
}

.product-entry-media-stack figure:last-child {
  transform: translateY(8%);
}

.product-entry-media-stack-wide {
  grid-template-columns: .72fr 1.28fr;
}

.inline-product-link {
  text-decoration: none;
  transition: font-style 160ms ease, opacity 180ms ease;
}

.inline-product-link:hover,
.inline-product-link:focus-visible {
  font-style: italic;
  outline: none;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(4rem, 8vw, 10rem) clamp(2rem, 7vw, 8rem);
  padding: 0 0 clamp(8rem, 17vh, 14rem);
}

.engine-grid .engine-note {
  display: flex;
  flex-direction: column;
}

.engine-grid .engine-note > p:last-of-type {
  flex: 1;
}

.engine-image {
  margin-top: clamp(3rem, 7vh, 5rem);
}

.engine-note-wide {
  grid-column: 1 / -1;
  width: min(100%, 73rem);
  justify-self: center;
}

.engine-note-wide h4 {
  max-width: 14ch;
}

.engine-note-wide > p:last-of-type {
  max-width: 44rem;
}

.engine-image-wide {
  width: min(100%, 68rem);
  margin-left: auto;
  margin-right: auto;
}

.product-role {
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.product-role span {
  display: inline-block;
  width: 5rem;
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.evolution-entry {
  min-height: 88svh;
}

@media (max-width: 820px) {
  .sound-image-triptych-emergence,
  .product-entry,
  .product-entry-text-only,
  .engine-grid {
    grid-template-columns: 1fr;
  }

  .product-entry-reverse .product-entry-copy,
  .product-entry-reverse .product-entry-media-stack,
  .product-entry-text-only .product-entry-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .product-entry {
    min-height: auto;
  }

  .product-entry-media-portrait {
    width: min(76vw, 28rem);
    justify-self: center;
  }

  .product-entry-media-stack,
  .product-entry-media-stack-wide {
    grid-template-columns: .82fr 1.18fr;
  }

  .engine-note-wide {
    grid-column: 1;
  }

  .selected-list-wide {
    width: 100%;
  }
}

/* V9 / ABOUT */

.index-item-about .index-name:hover,
.index-item-about .index-name:focus-visible,
.index-item-sound .index-name:hover,
.index-item-sound .index-name:focus-visible,
.index-item-contact .index-name:hover,
.index-item-contact .index-name:focus-visible {
  font-style: italic;
  transform: translateX(0.12em);
  outline: none;
}

.about-main {
  width: var(--page);
  margin: 0 auto;
  padding: 6rem var(--gutter) 0;
}

.about-opening {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .62fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: center;
  padding: clamp(2rem, 6vh, 5rem) 0 clamp(6rem, 12vh, 10rem);
}

.about-opening-copy h1 {
  margin: 0;
  font-size: clamp(6rem, 14vw, 14rem);
  line-height: .82;
  font-weight: 400;
  letter-spacing: -.065em;
}

.about-lead {
  margin: clamp(3rem, 7vh, 5rem) 0 0 16%;
  max-width: 26rem;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.52;
}

.about-portrait {
  width: min(100%, 34rem);
  margin: 0;
  justify-self: end;
  align-self: end;
  transform: rotate(.7deg);
}

.about-portrait-field {
  position: relative;
  min-height: clamp(27rem, 58vw, 43rem);
  overflow: hidden;
  border-radius: clamp(1.25rem, 2.2vw, 2rem);
  background:
    radial-gradient(circle at 58% 33%, rgba(255,255,255,.5), transparent 33%),
    linear-gradient(155deg, var(--paper-deep), #ddd4c5 70%, var(--paper));
  border: 1px solid rgba(18,18,18,.12);
}

.about-portrait-field::before,
.about-portrait-field::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-portrait-field::before {
  inset: 7%;
  border: 1px solid rgba(18,18,18,.10);
  border-radius: clamp(.9rem, 1.6vw, 1.4rem);
}

.about-portrait-field::after {
  width: 48%;
  height: 1px;
  right: 7%;
  top: 14%;
  background: rgba(18,18,18,.18);
  transform: rotate(-8deg);
  transform-origin: right center;
}

.about-portrait img {
  position: absolute;
  z-index: 2;
  width: 94%;
  max-width: none;
  right: -4%;
  bottom: -2%;
  border-radius: 0;
  filter: contrast(.98);
}

.about-portrait figcaption {
  margin-top: .8rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.about-detour {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8rem, 18vh, 15rem) 0;
  text-align: center;
}

.about-detour p {
  margin: 0;
  font-size: clamp(2.6rem, 6.3vw, 7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.about-detour p:last-child {
  margin-top: .18em;
}

.about-body {
  padding: clamp(6rem, 14vh, 12rem) 0 clamp(8rem, 18vh, 15rem);
}

.about-paragraph {
  width: min(100%, 58rem);
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 10vh, 8rem) 0;
  border-top: 1px solid var(--line);
}

.about-paragraph-right {
  margin-left: auto;
}

.about-marker {
  padding-top: .5rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .045em;
  color: var(--quiet);
}

.about-paragraph p {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 3.6rem);
  line-height: 1.28;
  letter-spacing: -.028em;
}

.about-aside {
  width: min(100%, 50rem);
  margin: 0 auto;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: clamp(6rem, 13vh, 10rem) 0;
}

.about-aside p {
  margin: 0;
  font-size: clamp(1.7rem, 3.7vw, 4rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.about-aside p + p {
  margin-top: 1.4em;
}

.about-closing {
  min-height: 85svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(8rem, 16vh, 14rem) 0;
  text-align: center;
}

.about-closing p {
  margin: -.06em 0;
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.about-contact {
  padding: clamp(7rem, 15vh, 12rem) 0 clamp(8rem, 16vh, 13rem);
  border-top: 1px solid var(--ink);
}

.about-contact a {
  display: inline-flex;
  gap: .35em;
  align-items: baseline;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-decoration: none;
  transition: transform 360ms cubic-bezier(.2,.75,.25,1), font-style 180ms ease;
}

.about-contact a span {
  font-family: var(--mono);
  font-size: .22em;
  letter-spacing: 0;
}

.about-contact a:hover,
.about-contact a:focus-visible {
  transform: translateX(.08em);
  font-style: italic;
  outline: none;
}

.about-colophon {
  margin-top: 0;
}

/* Correct Harmonic Bloom artwork. */
.product-entry-media img,
.product-entry-media-stack img,
.engine-image img {
  width: 100%;
  border-radius: clamp(1rem, 2vw, 1.8rem);
}

@media (max-width: 820px) {
  .about-opening {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .about-opening-copy h1 {
    font-size: clamp(5.5rem, 27vw, 9rem);
  }

  .about-lead {
    margin-left: 0;
  }

  .about-portrait {
    width: min(88vw, 30rem);
    justify-self: center;
  }

  .about-portrait-field {
    min-height: min(116vw, 38rem);
  }

  .about-paragraph {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .about-paragraph p {
    font-size: clamp(1.55rem, 7vw, 2.6rem);
  }

  .about-closing p {
    font-size: clamp(4rem, 20vw, 7rem);
  }
}

/* V10 / MUSIC */

/* Keep every visual plate in the site's shared soft frame. */
.sound-page img,
.stage-page img,
.about-page img {
  border-radius: clamp(1rem, 2vw, 1.8rem);
}

.music-section-head h2 {
  max-width: 8ch;
}

.music-feature {
  padding-bottom: clamp(8rem, 18vh, 15rem);
}

.music-feature-opening {
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(19rem, .9fr) minmax(18rem, .58fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: center;
  padding: clamp(5rem, 11vh, 9rem) 0 clamp(7rem, 15vh, 12rem);
}

.music-feature-copy {
  max-width: 43rem;
}

.music-feature-copy h3 {
  margin: 0;
  font-size: clamp(4.8rem, 10vw, 11rem);
  line-height: .86;
  font-weight: 400;
  letter-spacing: -.06em;
}

.music-byline {
  margin: 1.2rem 0 clamp(3rem, 7vh, 5.5rem);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-style: italic;
}

.music-intro {
  margin: 0 0 clamp(3rem, 7vh, 5rem);
  max-width: 36rem;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  line-height: 1.58;
}

.music-facts {
  max-width: 36rem;
}

.music-cover {
  width: min(100%, 32rem);
  margin: 0;
  justify-self: end;
}

.music-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.music-cover figcaption {
  margin-top: .8rem;
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.music-statement {
  min-height: 72svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 12rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.music-statement p {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(2.1rem, 4.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.music-credits {
  width: min(100%, 76rem);
  margin: 0 auto clamp(10rem, 20vh, 16rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.music-credit-block {
  min-height: 15rem;
  padding: 1.5rem 2rem 2.8rem 0;
  border-bottom: 1px solid var(--line);
}

.music-credit-block:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.music-credit-block:nth-child(even) {
  padding-left: clamp(1.5rem, 4vw, 4rem);
}

.music-credit-block > span {
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.music-credit-block p {
  margin: 2rem 0 0;
  max-width: 31rem;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.music-listen {
  display: grid;
  grid-template-columns: minmax(14rem, .55fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  padding: clamp(5rem, 12vh, 9rem) 0 clamp(9rem, 18vh, 14rem);
  border-top: 1px solid var(--ink);
}

.music-listen-head h4 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(3rem, 5.8vw, 6.2rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.048em;
}

.spotify-frame {
  overflow: hidden;
  border-radius: clamp(1rem, 2vw, 1.8rem);
  background: #121212;
  box-shadow: 0 1.2rem 3rem rgba(19, 17, 13, .08);
}

.spotify-embed {
  display: block;
  width: 100%;
  border: 0;
  border-radius: inherit;
}

@media (max-width: 820px) {
  .music-feature-opening,
  .music-listen {
    grid-template-columns: 1fr;
  }

  .music-feature-opening {
    min-height: auto;
  }

  .music-cover {
    width: min(82vw, 30rem);
    justify-self: center;
  }

  .music-credits {
    grid-template-columns: 1fr;
  }

  .music-credit-block,
  .music-credit-block:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .music-credit-block {
    min-height: 0;
  }
}

/* V12 / SWAP COLOPHON
   The disclaimer occupies the same footprint as the developer credit.
   Hover/focus crossfades it in; touch/click can pin it temporarily. */
.colophon-wrap {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: min(100%, 42rem);
  min-height: 4.35rem;
  margin-inline: auto;
}

.colophon-trigger,
.colophon-note {
  grid-area: 1 / 1;
}

.colophon-trigger {
  appearance: none;
  border: 0;
  margin: 0;
  padding: .45rem .15rem;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity 300ms ease,
    filter 380ms ease,
    transform 420ms cubic-bezier(.2,.75,.25,1),
    visibility 0s linear 0s;
}

.colophon-note {
  position: static;
  z-index: 1;
  width: min(100%, 38rem);
  display: grid;
  gap: .14rem;
  padding: .25rem .5rem;
  color: var(--quiet);
  font-family: var(--serif);
  font-size: clamp(.7rem, .9vw, .86rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  filter: blur(5px);
  transform: translateY(.4rem);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    filter 440ms ease,
    transform 440ms cubic-bezier(.2,.75,.25,1),
    visibility 0s linear 440ms;
}

.colophon-note span:last-child {
  margin-top: .18rem;
  color: var(--ink);
  font-style: italic;
}

/* The original credit leaves as the note arrives. */
.colophon-wrap:hover .colophon-trigger,
.colophon-wrap:focus-within .colophon-trigger,
.colophon-wrap.is-open .colophon-trigger {
  opacity: 0;
  visibility: hidden;
  filter: blur(4px);
  transform: translateY(-.32rem);
  transition:
    opacity 220ms ease,
    filter 300ms ease,
    transform 360ms cubic-bezier(.2,.75,.25,1),
    visibility 0s linear 240ms;
}

.colophon-wrap:hover .colophon-note,
.colophon-wrap:focus-within .colophon-note,
.colophon-wrap.is-open .colophon-note {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: translateY(0);
  transition-delay: 90ms;
}

.colophon-trigger:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: .28rem;
}

.home-colophon {
  justify-self: start;
  width: min(100%, 30rem);
  min-width: 0;
}

.home-colophon .colophon-wrap {
  justify-items: start;
  margin-inline: 0;
  width: 100%;
}

.home-colophon .colophon-note {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

.home-colophon .colophon-note span:last-child {
  justify-self: start;
}

.home-folio .colophon-trigger,
.home-folio .colophon-note {
  text-transform: none;
}

.site-colophon .colophon-wrap {
  margin-inline: auto;
}

.about-colophon {
  display: grid;
  justify-items: center;
  gap: .65rem;
}

.colophon-place {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .045em;
  color: var(--quiet);
}

.stage-colophon {
  padding-bottom: clamp(2.2rem, 4vh, 3.5rem);
}

@media (hover: none) {
  /* On touch screens the note only opens when the button is tapped. */
  .colophon-wrap:hover .colophon-trigger {
    opacity: 1;
    visibility: visible;
    filter: blur(0);
    transform: translateY(0);
  }

  .colophon-wrap:hover .colophon-note {
    opacity: 0;
    visibility: hidden;
    filter: blur(5px);
    transform: translateY(.4rem);
  }

  .colophon-wrap.is-open .colophon-trigger,
  .colophon-wrap:focus-within .colophon-trigger {
    opacity: 0;
    visibility: hidden;
    filter: blur(4px);
    transform: translateY(-.32rem);
  }

  .colophon-wrap.is-open .colophon-note,
  .colophon-wrap:focus-within .colophon-note {
    opacity: 1;
    visibility: visible;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .home-folio {
    grid-template-columns: 1fr auto;
  }

  .home-folio > span:nth-of-type(1) {
    display: none;
  }

  .home-folio > span:last-child {
    justify-self: end;
  }

  .colophon-wrap {
    min-height: 5.1rem;
  }

  .colophon-note {
    width: min(100%, 29rem);
    font-size: .76rem;
  }

  .home-colophon {
    width: min(100%, 17.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .colophon-trigger,
  .colophon-note {
    transition-duration: 1ms !important;
  }
}

/* V14 / tighter editorial scale + current work + full development index */

/* The site should feel like a book, not a billboard. */
.home-statement h1 {
  font-size: clamp(3.35rem, 6.55vw, 7.55rem);
}

.work-title-block h1 {
  font-size: clamp(3.75rem, 7.8vw, 8.8rem);
}

.contact-intro h1 {
  font-size: clamp(4.2rem, 8.8vw, 9.4rem);
}

.sound-opening {
  min-height: 68svh;
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(4rem, 8vh, 6.5rem);
}

.sound-opening h1 {
  font-size: clamp(4.75rem, 10vw, 10.8rem);
}

.sound-section-head {
  min-height: 50svh;
  padding: clamp(2.5rem, 5vh, 4.5rem) 0 clamp(3.5rem, 7vh, 6rem);
}

.sound-section-head h2 {
  font-size: clamp(3.45rem, 7vw, 7.4rem);
}

.film-copy h3,
.company-detail-head h3 {
  font-size: clamp(3.25rem, 6.3vw, 6.8rem);
}

.company-detail-head {
  min-height: 56svh;
  padding: clamp(3rem, 7vh, 5.5rem) 0;
}

.music-feature-copy h3 {
  font-size: clamp(3.8rem, 7.5vw, 8rem);
}

/* ABOUT / shorter journey, same pauses. */
.about-opening {
  min-height: 72svh;
  padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(3rem, 6vh, 5rem);
}

.about-opening-copy h1 {
  font-size: clamp(4.7rem, 10vw, 10rem);
}

.about-lead {
  margin-top: clamp(1.8rem, 4vh, 3rem);
}

.about-portrait {
  width: min(100%, 29rem);
}

.about-portrait-field {
  min-height: clamp(23rem, 43vw, 34rem);
}

.about-detour {
  min-height: 48svh;
  padding: clamp(4.5rem, 9vh, 7.5rem) 0;
}

.about-detour p {
  font-size: clamp(2.25rem, 5vw, 5.5rem);
}

.about-body {
  padding: clamp(3rem, 7vh, 5.5rem) 0 clamp(4.5rem, 9vh, 7rem);
}

.about-paragraph {
  width: min(100%, 54rem);
  padding: clamp(2.4rem, 5.5vh, 4.2rem) 0;
}

.about-paragraph p {
  font-size: clamp(1.4rem, 2.45vw, 2.65rem);
  line-height: 1.34;
}

.about-aside {
  min-height: 46svh;
  padding: clamp(4rem, 8vh, 6.5rem) 0;
}

.about-aside p {
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.about-closing {
  min-height: 52svh;
  padding: clamp(4.5rem, 9vh, 7rem) 0;
}

.about-closing p {
  font-size: clamp(3.1rem, 7.6vw, 7.8rem);
}

.about-contact {
  padding: clamp(4.5rem, 9vh, 7rem) 0 clamp(5rem, 10vh, 8rem);
}

.about-contact a {
  font-size: clamp(3.2rem, 7.4vw, 7.4rem);
}

/* Quiet signal that this is still being made. */
.current-mark {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: .8rem;
  vertical-align: .35em;
  font-family: var(--mono);
  font-size: .52rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--quiet);
}

.current-mark i {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
  animation: currentPulse 2.8s ease-in-out infinite;
}

@keyframes currentPulse {
  0%, 100% { transform: scale(.72); opacity: .35; }
  48% { transform: scale(1); opacity: .9; }
}

/* Cassiopeia */
.cassiopeia-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(16rem, .56fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(4rem, 9vh, 8rem) 0 clamp(6rem, 13vh, 10rem);
}

.cassiopeia-copy {
  max-width: 46rem;
}

.cassiopeia-copy h4,
.development-study h3,
.work-archive-head h3 {
  margin: 0 0 1.5rem;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.cassiopeia-copy h4 {
  font-size: clamp(2.6rem, 5.2vw, 5.7rem);
}

.cassiopeia-copy > p:not(.work-kicker) {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.cassiopeia-packshot {
  width: min(100%, 29rem);
  margin: 0;
  justify-self: end;
}

.cassiopeia-packshot figcaption,
.edu-image-grid figcaption {
  margin-top: .65rem;
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.sound-wide-image-cassiopeia {
  margin-bottom: clamp(5rem, 11vh, 9rem);
}

.sound-wide-image-cassiopeia img {
  max-height: none;
}

.living-note {
  width: min(100%, 60rem);
  margin: 0 auto clamp(7rem, 14vh, 11rem);
  text-align: center;
}

.living-note p {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.8rem);
  line-height: 1.25;
  letter-spacing: -.028em;
}

/* Edu Prado */
.edu-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.3rem);
  margin: clamp(5rem, 11vh, 9rem) 0 clamp(7rem, 15vh, 12rem);
}

.edu-image-grid figure {
  margin: 0;
}

.edu-image-grid figure:nth-child(even) {
  margin-top: clamp(2rem, 6vw, 6rem);
}

/* Sona / Chroma gets its own small essay instead of disappearing in a list. */
.development-study {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(18rem, .72fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  margin: clamp(10rem, 20vh, 16rem) 0;
  padding: clamp(4rem, 9vh, 7rem) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.development-study-copy {
  max-width: 47rem;
}

.development-study h3 {
  font-size: clamp(3rem, 6.4vw, 6.9rem);
}

.development-study-copy > p:not(.work-kicker) {
  font-size: clamp(1rem, 1.38vw, 1.2rem);
  line-height: 1.65;
}

.development-study-lead {
  font-size: clamp(1.5rem, 2.7vw, 2.7rem) !important;
  line-height: 1.32 !important;
  letter-spacing: -.025em;
}

.development-study-media {
  margin: 0;
}

.study-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .045em;
  text-decoration: none;
}

.study-link:hover,
.study-link:focus-visible {
  font-style: italic;
}

/* Complete index. Curated stories above, alphabetical record below. */
.work-archive {
  margin: clamp(10rem, 21vh, 17rem) 0 clamp(8rem, 17vh, 14rem);
  padding-top: clamp(4rem, 9vh, 7rem);
  border-top: 1px solid var(--ink);
}

.work-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .55fr);
  gap: 1rem clamp(3rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(4rem, 9vh, 7rem);
}

.work-archive-head .folio-label {
  grid-column: 1 / -1;
}

.work-archive-head h3 {
  font-size: clamp(3.4rem, 7vw, 7.6rem);
}

.work-archive-head > p:last-child {
  margin: 0 0 .5rem;
  max-width: 24rem;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.58;
}

.archive-list {
  border-top: 1px solid var(--ink);
}

.archive-company {
  border-bottom: 1px solid var(--line);
}

.archive-company summary {
  list-style: none;
  min-height: clamp(4.2rem, 7vh, 5.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.7rem;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
}

.archive-company summary::-webkit-details-marker {
  display: none;
}

.archive-company summary::after {
  content: "+";
  justify-self: end;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--quiet);
  transition: transform 240ms ease;
}

.archive-company[open] summary::after {
  transform: rotate(45deg);
}

.archive-company summary span {
  font-size: clamp(1.25rem, 2.2vw, 2.35rem);
  letter-spacing: -.025em;
}

.archive-company summary em {
  font-family: var(--mono);
  font-size: .58rem;
  font-style: normal;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--quiet);
}

.archive-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 7rem);
  padding: .2rem 1.7rem clamp(2.4rem, 5vh, 4rem) 0;
}

.archive-products a,
.archive-products > span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(18,18,18,.1);
  font-size: clamp(.93rem, 1.12vw, 1.04rem);
  line-height: 1.35;
  text-decoration: none;
}

.archive-products a:hover,
.archive-products a:focus-visible {
  font-style: italic;
}

.archive-products b {
  font-weight: 400;
  color: var(--quiet);
}

.archive-products i,
.archive-note {
  font-family: var(--mono);
  font-size: .58rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .045em;
  color: var(--quiet);
}

.archive-note {
  grid-column: 1 / -1;
  border-bottom: 0 !important;
  padding-top: 1.2rem !important;
}

/* Casual image-save deterrence. This is intentionally UI-level, not security theatre. */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

@media (max-width: 760px) {
  .home-statement h1 {
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .sound-opening h1 {
    font-size: clamp(4.25rem, 20vw, 7.3rem);
  }

  .sound-section-head h2 {
    font-size: clamp(3rem, 13vw, 5.4rem);
  }

  .company-detail-head h3,
  .film-copy h3 {
    font-size: clamp(3rem, 13vw, 5.5rem);
  }

  .about-opening {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .about-opening-copy h1 {
    font-size: clamp(4.3rem, 21vw, 7rem);
  }

  .about-portrait {
    width: min(92%, 25rem);
  }

  .about-detour {
    min-height: 42svh;
  }

  .about-paragraph {
    padding: 2.35rem 0;
  }

  .about-closing {
    min-height: 45svh;
  }

  .cassiopeia-feature,
  .development-study,
  .work-archive-head {
    grid-template-columns: 1fr;
  }

  .cassiopeia-packshot {
    justify-self: start;
    width: min(78%, 24rem);
  }

  .edu-image-grid {
    grid-template-columns: 1fr;
  }

  .edu-image-grid figure:nth-child(even) {
    margin-top: 0;
  }

  .archive-company summary {
    grid-template-columns: minmax(0, 1fr) auto 1.2rem;
  }

  .archive-company summary em {
    display: none;
  }

  .archive-products {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .current-mark i {
    animation: none;
  }
}

/* V15 / COLOPHON PAGE */
.colophon-note {
  text-decoration: none;
  cursor: pointer;
}

.colophon-wrap:hover .colophon-note,
.colophon-wrap:focus-within .colophon-note,
.colophon-wrap.is-open .colophon-note {
  pointer-events: auto;
}

.colophon-main {
  width: var(--page);
  margin: 0 auto;
  padding: 7rem var(--gutter) clamp(3rem, 6vh, 5rem);
}

.colophon-opening {
  max-width: 62rem;
  min-height: 68svh;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(4rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.colophon-opening h1 {
  margin: 0;
  font-size: clamp(3.9rem, 7.2vw, 7.4rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.055em;
}

.colophon-lead {
  max-width: 38rem;
  margin: clamp(2.4rem, 6vh, 4.6rem) 0 0 clamp(0rem, 8vw, 8rem);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  line-height: 1.62;
}

.colophon-copy {
  width: min(100%, 54rem);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 10rem) 0;
}

.colophon-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.22vw, 1.16rem);
  line-height: 1.82;
}

.colophon-copy p + p {
  margin-top: clamp(2.2rem, 5vh, 4rem);
}

.colophon-copy strong {
  font-weight: 400;
  font-style: italic;
}

.colophon-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.colophon-signoff {
  width: min(100%, 54rem);
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(5rem, 12vh, 9rem);
  border-top: 1px solid var(--line);
}

.colophon-signoff p {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1;
  font-style: italic;
  letter-spacing: -.035em;
}

.colophon-signoff time {
  display: block;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--quiet);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.colophon-nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .045em;
}

.colophon-nav a {
  text-decoration: none;
}

@media (max-width: 720px) {
  .colophon-main {
    padding-top: 5.5rem;
  }

  .colophon-opening {
    min-height: 58svh;
    padding-top: 3rem;
  }

  .colophon-lead {
    margin-left: 0;
  }

  .colophon-copy {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .colophon-copy p {
    line-height: 1.72;
  }
}


/* V16 / calmer editorial scale, compact correspondence, gentle portrait depth */

/* Secondary display titles are deliberately quieter than the main page identity. */
.sound-section-head h2 {
  font-size: clamp(3.05rem, 6.15vw, 6.45rem);
}

.film-copy h3,
.company-detail-head h3 {
  font-size: clamp(2.9rem, 5.55vw, 5.9rem);
}

.cassiopeia-copy h4 {
  font-size: clamp(2.35rem, 4.55vw, 4.9rem);
}

.engine-note h4 {
  font-size: clamp(2.3rem, 4.35vw, 4.8rem);
}

.product-entry-copy h4 {
  font-size: clamp(2.45rem, 4.4vw, 5rem);
}

.development-study h3 {
  font-size: clamp(2.65rem, 5.35vw, 5.75rem);
}

.work-archive-head h3 {
  font-size: clamp(2.7rem, 5.25vw, 5.7rem);
}

.music-listen-head h4 {
  font-size: clamp(2.65rem, 5vw, 5.35rem);
}

.contact-intro h1 {
  font-size: clamp(3.8rem, 7.9vw, 8.25rem);
}

/* The three short correspondence fields take less vertical space. The message stays generous. */
.contact-field:not(.contact-field-message) {
  padding-top: clamp(1.25rem, 2.7vh, 2.2rem);
  padding-bottom: clamp(.8rem, 1.8vh, 1.35rem);
}

.contact-field:not(.contact-field-message) .contact-field-head {
  margin-bottom: clamp(.65rem, 1.45vh, 1rem);
}

/* The long archive remains crisp while scrolling. */
.work-archive {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* About portrait: two planes. The paper/frame stays behind while the drawing sits forward. */
.about-portrait {
  perspective: 920px;
}

.about-portrait-field {
  --portrait-rx: 0deg;
  --portrait-ry: 0deg;
  --portrait-fg-x: 0px;
  --portrait-fg-y: 0px;
  --portrait-light-x: 50%;
  --portrait-light-y: 42%;
  transform-style: preserve-3d;
  transform: rotateX(var(--portrait-rx)) rotateY(var(--portrait-ry)) translateZ(0);
  transform-origin: 50% 50%;
  box-shadow: 0 1.05rem 2.6rem rgba(18,18,18,.05);
  transition: transform 540ms cubic-bezier(.18,.72,.22,1),
              box-shadow 540ms cubic-bezier(.18,.72,.22,1);
  will-change: transform;
}

/* A very quiet moving reflection belongs to the back plane, not the portrait. */
.about-portrait-field::before {
  transform: translateZ(1px);
}

.about-portrait-field::after {
  transform: translateZ(2px) rotate(-8deg);
}

.about-portrait-field.is-tilting {
  box-shadow: 0 1.55rem 3.6rem rgba(18,18,18,.085);
  transition-duration: 95ms, 260ms;
}

.about-portrait-field img {
  transform: translate3d(var(--portrait-fg-x), var(--portrait-fg-y), 44px) scale(1.018);
  transform-origin: 50% 64%;
  backface-visibility: hidden;
  filter: contrast(.98) drop-shadow(0 .45rem .5rem rgba(18,18,18,.035));
  transition: transform 560ms cubic-bezier(.18,.72,.22,1),
              filter 420ms cubic-bezier(.18,.72,.22,1);
  will-change: transform, filter;
}

.about-portrait-field.is-tilting img {
  filter: contrast(.99) drop-shadow(0 1rem 1.05rem rgba(18,18,18,.11));
  transition-duration: 90ms, 220ms;
}

@media (max-width: 760px) {
  .sound-section-head h2 {
    font-size: clamp(2.75rem, 11.4vw, 4.75rem);
  }

  .company-detail-head h3,
  .film-copy h3 {
    font-size: clamp(2.7rem, 11.5vw, 4.85rem);
  }

  .development-study h3,
  .work-archive-head h3 {
    font-size: clamp(2.5rem, 10.8vw, 4.5rem);
  }

  .contact-intro h1 {
    font-size: clamp(3.55rem, 17vw, 6.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-portrait-field,
  .about-portrait-field img {
    transform: none !important;
    transition: none !important;
  }
}

/* V18 / PHILOSOPHY + DAY / NIGHT */

/* A quiet nocturnal version of the same paper system. */
html[data-theme="night"] {
  --paper: #151410;
  --paper-deep: #201e19;
  --ink: #eee8dc;
  --quiet: #aaa397;
  --line: rgba(238, 232, 220, 0.22);
  color-scheme: dark;
}

html[data-theme="day"] {
  color-scheme: light;
}

html[data-theme="night"] .about-portrait-field {
  background:
    radial-gradient(circle at 58% 33%, rgba(255,255,255,.055), transparent 33%),
    linear-gradient(155deg, #24221d, #1c1a16 70%, var(--paper));
  border-color: rgba(238,232,220,.13);
}

html[data-theme="night"] .about-portrait-field::before {
  border-color: rgba(238,232,220,.10);
}

html[data-theme="night"] .about-portrait-field::after {
  background: rgba(238,232,220,.16);
}

html[data-theme="night"] .about-portrait-field img {
  filter: contrast(1.01) brightness(.94) drop-shadow(0 .45rem .5rem rgba(0,0,0,.2));
}

html[data-theme="night"] .about-portrait-field.is-tilting img {
  filter: contrast(1.02) brightness(.98) drop-shadow(0 1rem 1.05rem rgba(0,0,0,.32));
}

/* Persistent theme control. It sits just below the running matter, like a margin note. */
.theme-toggle {
  position: fixed;
  z-index: 80;
  top: 3.3rem;
  right: var(--gutter);
  appearance: none;
  border: 0;
  padding: .3rem 0;
  background: transparent;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .78;
  transition: opacity 220ms ease, color 260ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  opacity: 1;
  color: var(--ink);
  outline: none;
}

.theme-toggle span {
  opacity: .38;
  transition: opacity 220ms ease, font-style 220ms ease;
}

.theme-toggle i {
  margin: 0 .42em;
  font-style: normal;
  opacity: .3;
}

html[data-theme="day"] .theme-toggle .theme-day,
html[data-theme="night"] .theme-toggle .theme-night {
  opacity: 1;
  font-style: italic;
}

/* Credits intentionally stay cinematic rather than reversing with the page theme. */
.credits-overlay {
  background: #11110f;
  color: #f2eee5;
}

.credits-chrome {
  background: linear-gradient(to bottom, #11110f 58%, rgba(17,17,15,0));
}

/* All separator rules disappear with the page instead of hanging behind the typography. */
body.page-is-leaving *,
body.page-is-leaving *::before,
body.page-is-leaving *::after {
  border-color: transparent !important;
}

body.page-is-leaving .about-portrait-field::after {
  opacity: 0 !important;
}

/* PHILOSOPHY */
.index-item-philosophy .index-name:hover,
.index-item-philosophy .index-name:focus-visible {
  font-style: italic;
  transform: translateX(.12em);
  outline: none;
}

.philosophy-main {
  width: var(--page);
  margin: 0 auto;
  padding: 6rem var(--gutter) 0;
}

.philosophy-opening {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .62fr);
  grid-template-rows: auto 1fr auto;
  gap: 1rem clamp(3rem, 8vw, 10rem);
  align-items: end;
  padding: clamp(3rem, 8vh, 7rem) 0 clamp(6rem, 13vh, 10rem);
  border-bottom: 1px solid var(--line);
}

.philosophy-opening .folio-label {
  grid-column: 1 / -1;
  align-self: start;
}

.philosophy-opening h1 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(5rem, 11vw, 11.2rem);
  line-height: .84;
  font-weight: 400;
  letter-spacing: -.064em;
}

.philosophy-opening-note {
  grid-column: 2;
  padding-bottom: .75rem;
}

.philosophy-opening-note p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.philosophy-opening-note p + p {
  margin-top: .55rem;
}

.philosophy-focus {
  display: grid;
  grid-template-columns: 8rem minmax(0, .95fr) minmax(20rem, .62fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(7rem, 15vh, 12rem) 0;
  border-bottom: 1px solid var(--line);
}

.philosophy-marker {
  padding-top: .5rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .045em;
  color: var(--quiet);
  text-transform: uppercase;
}

.philosophy-statement h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -.045em;
}

.philosophy-copy {
  align-self: end;
  max-width: 36rem;
}

.philosophy-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.17rem);
  line-height: 1.72;
}

.philosophy-copy p + p {
  margin-top: 1.4rem;
}

.philosophy-question {
  margin-top: clamp(3rem, 7vh, 5rem) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem) !important;
  line-height: 1.4 !important;
  letter-spacing: -.02em;
}

.philosophy-focus-sound .philosophy-statement {
  align-self: center;
}

.philosophy-centre {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: clamp(10rem, 22vh, 18rem) 0;
  text-align: center;
}

.philosophy-centre h2 {
  margin: 0 auto;
  max-width: 15ch;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.05em;
}

.philosophy-centre-lines {
  width: min(100%, 47rem);
  margin: clamp(4rem, 9vh, 7rem) auto 0;
  display: grid;
  gap: 1rem;
}

.philosophy-centre-lines p {
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.philosophy-centre-lines p:last-child {
  border-bottom: 1px solid var(--line);
}

.philosophy-closing {
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(7rem, 16vh, 13rem) 0;
  text-align: center;
  border-top: 1px solid var(--ink);
}

.philosophy-closing p {
  margin: -.04em 0;
  font-size: clamp(3.8rem, 8vw, 8.3rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.philosophy-end {
  margin-top: 0;
}

/* Animated development studies should not be paused by lazy-loading behaviour. */
.development-study-media img[data-animated-gif] {
  width: 100%;
  height: auto;
}

@media (max-width: 820px) {
  .theme-toggle {
    top: 3.15rem;
    right: var(--gutter);
    font-size: .53rem;
  }

  .philosophy-opening {
    min-height: 75svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    padding-top: 4rem;
  }

  .philosophy-opening .folio-label,
  .philosophy-opening h1,
  .philosophy-opening-note {
    grid-column: 1;
  }

  .philosophy-opening h1 {
    font-size: clamp(4.4rem, 22vw, 8rem);
  }

  .philosophy-opening-note {
    margin-top: 4rem;
  }

  .philosophy-focus {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: clamp(5.5rem, 12vh, 8rem) 0;
  }

  .philosophy-statement h2 {
    font-size: clamp(2.5rem, 11vw, 4.3rem);
  }

  .philosophy-copy {
    max-width: 100%;
  }

  .philosophy-centre,
  .philosophy-closing {
    padding-left: .2rem;
    padding-right: .2rem;
  }

  .philosophy-centre h2 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
  }

  .philosophy-closing p {
    font-size: clamp(3.3rem, 17vw, 6.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle span {
    transition: none !important;
  }
}

/* V19 / quieter philosophy copy + living home statement */
.philosophy-opening-note {
  max-width: 34rem;
}

.philosophy-opening-note p {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.68;
}

.philosophy-statement h2 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.25vw, 4.65rem);
}

.philosophy-centre {
  width: min(100%, 66rem);
  padding: clamp(8rem, 18vh, 14rem) 0;
}

.philosophy-centre h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
}

.philosophy-centre-copy {
  width: min(100%, 46rem);
  margin: clamp(3rem, 7vh, 5rem) auto 0;
  text-align: left;
}

.philosophy-centre-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.76;
}

.philosophy-centre-copy p + p {
  margin-top: 1.5rem;
}

.philosophy-contact {
  margin-top: clamp(2rem, 5vh, 4rem);
}

/* The opening thought should feel alive without behaving like an effect demo. */
.home-statement h1 {
  transform-style: preserve-3d;
  perspective: 900px;
  animation: homeStatementDrift 11s ease-in-out infinite alternate;
  will-change: transform;
}

.home-statement h1 span {
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(.16,.84,.22,1);
  will-change: transform;
}

@keyframes homeStatementDrift {
  0% { transform: translate3d(0, 0, 0) rotateZ(-.08deg); }
  50% { transform: translate3d(.12rem, -.22rem, 0) rotateZ(.08deg); }
  100% { transform: translate3d(-.08rem, .14rem, 0) rotateZ(-.03deg); }
}

body.page-is-leaving .home-statement h1 {
  animation: none !important;
}

@media (max-width: 820px) {
  .philosophy-opening-note {
    max-width: 100%;
  }

  .philosophy-statement h2 {
    font-size: clamp(2.35rem, 10vw, 4rem);
  }

  .philosophy-centre-copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-statement h1 {
    animation: none !important;
  }
  .home-statement h1 span {
    transition: none !important;
  }
}

/* V20 / stable index hit areas + PRESS + home pressure wave */
.index-name {
  position: relative;
  isolation: isolate;
}

/* A slightly larger invisible hover target prevents italic/translation changes
   from making the pointer fall off the exact edge of the word. */
.index-name::before {
  content: "";
  position: absolute;
  inset: -.5rem -1.05rem;
  z-index: -1;
}

/* PRESS */
.press-section {
  padding-bottom: clamp(5rem, 12vh, 10rem);
}

.press-intro {
  width: min(42rem, 78vw);
  margin: 0 auto clamp(5rem, 12vh, 9rem);
}

.press-intro p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.press-company-index {
  width: min(72rem, 100%);
  margin: 0 auto clamp(7rem, 15vh, 12rem);
  border-top: 1px solid var(--ink);
}

.press-company-index a {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 3.65rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--mono);
  font-size: clamp(.72rem, .86vw, .84rem);
  letter-spacing: .04em;
  transition: padding-left 220ms ease, opacity 220ms ease;
}

.press-company-index a span {
  color: var(--quiet);
  font-size: .62rem;
}

.press-company-index a:hover,
.press-company-index a:focus-visible {
  padding-left: .45rem;
  outline: none;
}

.press-company {
  width: min(76rem, 100%);
  margin: 0 auto clamp(8rem, 17vh, 14rem);
  scroll-margin-top: 5rem;
}

.press-company-head {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ink);
}

.press-company-head > span {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--quiet);
  letter-spacing: .05em;
}

.press-company-head h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.press-reviews {
  border-bottom: 1px solid var(--line);
}

.press-review {
  display: grid;
  grid-template-columns: minmax(11rem, .9fr) minmax(9.5rem, .45fr) minmax(18rem, 1.25fr) auto;
  gap: clamp(1rem, 2.6vw, 3rem);
  align-items: start;
  padding: clamp(1.55rem, 3.1vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.press-company-head + .press-reviews .press-review:first-child {
  border-top: 0;
}

.press-review-title h4 {
  margin: 0 0 .38rem;
  font-size: clamp(1.08rem, 1.45vw, 1.42rem);
  font-weight: 400;
  letter-spacing: -.025em;
}

.press-review-title span,
.press-read,
.press-rating b,
.press-award-source,
.press-award-year {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .045em;
  color: var(--quiet);
}

.press-rating {
  display: flex;
  flex-direction: column;
  gap: .48rem;
  align-items: flex-start;
  padding-top: .16rem;
}

.press-stars {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: color-mix(in srgb, var(--ink) 18%, transparent);
  font-family: Georgia, serif;
  font-size: .9rem;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}

.press-stars::after {
  content: "★★★★★";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rating-width, 100%);
  overflow: hidden;
  color: var(--ink);
  white-space: nowrap;
}

.press-rating-note {
  padding-top: .42rem;
}

.press-quote,
.press-summary {
  margin: 0;
  font-size: clamp(.92rem, 1.12vw, 1.06rem);
  line-height: 1.7;
}

.press-summary {
  grid-column: 3 / 4;
  margin-top: -1.3rem;
  color: var(--quiet);
  font-size: .82rem;
}

.press-read {
  justify-self: end;
  padding-top: .35rem;
  white-space: nowrap;
  transition: transform 220ms ease, color 220ms ease;
}

.press-review:hover .press-read,
.press-review:focus-visible .press-read,
.press-award:hover .press-read,
.press-award:focus-visible .press-read {
  transform: translateX(.24rem);
  color: var(--ink);
}

.press-review:focus-visible,
.press-award:focus-visible,
.press-company-index a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

.press-awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.press-award {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem 1.4rem;
  align-content: start;
  min-height: 17rem;
  padding: clamp(1.5rem, 3vw, 2.65rem);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.press-award:first-child {
  border-right: 1px solid var(--line);
}

.press-award-year {
  grid-row: 1 / 3;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: var(--ink);
}

.press-award-source {
  align-self: end;
}

.press-award strong {
  font-size: clamp(1.45rem, 2.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

.press-award p {
  grid-column: 2;
  margin: 1.1rem 0 0;
  font-size: clamp(.9rem, 1.05vw, 1.02rem);
  line-height: 1.65;
}

.press-award .press-read {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  margin-top: 1.2rem;
}

/* Home title click: a quiet pressure-wave, not a button animation. */
.home-statement {
  position: relative;
}

.home-statement::after {
  content: "";
  position: absolute;
  left: var(--home-wave-x, 50%);
  top: var(--home-wave-y, 50%);
  width: .65rem;
  height: .65rem;
  border: 1px solid color-mix(in srgb, var(--ink) 52%, transparent);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  pointer-events: none;
  z-index: 4;
}

.home-statement.is-pressure-wave::after {
  animation: homePressureWave 760ms cubic-bezier(.15,.7,.2,1) forwards;
}

@keyframes homePressureWave {
  0% { opacity: .38; transform: translate(-50%, -50%) scale(.55); filter: blur(0); }
  55% { opacity: .16; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(13); filter: blur(.45px); }
}

@media (max-width: 900px) {
  .press-review {
    grid-template-columns: 1fr auto;
  }
  .press-review-title { grid-column: 1; }
  .press-rating { grid-column: 2; align-items: flex-end; }
  .press-quote,
  .press-summary { grid-column: 1 / -1; margin-top: .25rem; }
  .press-read { grid-column: 1 / -1; justify-self: start; }
  .press-company-head { grid-template-columns: 2.2rem 1fr; }
  .press-company-head > span:last-child { display: none; }
}

@media (max-width: 640px) {
  .press-company-index a { grid-template-columns: 2.25rem 1fr; }
  .press-awards { grid-template-columns: 1fr; }
  .press-award:first-child { border-right: 0; }
  .press-award { min-height: 13rem; }
  .press-review { gap: .85rem 1rem; }
  .press-stars { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-statement::after { display: none; }
}

/* Keep the index hover state anchored to the row, so changing the word's shape
   can never make the cursor fall off its own hover target at the letter edge. */
.index-item:not(.is-muted):hover .index-name,
.index-item:not(.is-muted):focus-within .index-name {
  font-style: italic;
  transform: translateX(.12em);
}

/* V21 / composer quote + local video excerpt */
.composer-note,
.press-composer-feature {
  width: min(76rem, 100%);
  margin: clamp(5rem, 12vh, 9rem) auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(19rem, 1.08fr);
  gap: clamp(2.25rem, 6vw, 6.5rem);
  align-items: center;
}

.press-composer-feature {
  padding: clamp(2rem, 4vw, 3.75rem) 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.composer-note-copy blockquote {
  margin: 1.25rem 0 1.2rem;
  font-size: clamp(1.15rem, 1.9vw, 1.8rem);
  line-height: 1.48;
  letter-spacing: -.024em;
}

.composer-credit,
.composer-source {
  margin: 0;
  font-family: var(--mono);
  font-size: .64rem;
  line-height: 1.75;
  letter-spacing: .035em;
  color: var(--quiet);
}

.composer-source {
  margin-top: 1.15rem;
}

.composer-source a {
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.portfolio-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-image, 18px);
  background: color-mix(in srgb, var(--ink) 7%, var(--paper));
  border: 1px solid var(--line);
  box-shadow: 0 1.1rem 3.2rem color-mix(in srgb, var(--ink) 10%, transparent);
}

.portfolio-video-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: inherit;
  background: #000;
}

.portfolio-video-cover {
  position: absolute;
  inset: 0 0 2.7rem;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(to top, color-mix(in srgb, #000 24%, transparent), transparent 52%);
  color: #fff;
  cursor: pointer;
  transition: opacity 240ms ease, backdrop-filter 240ms ease;
}

.portfolio-video-cover span {
  display: inline-grid;
  place-items: center;
  min-width: 7.2rem;
  min-height: 2.35rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.portfolio-video.is-playing .portfolio-video-cover {
  opacity: 0;
  pointer-events: none;
}

.portfolio-video.is-missing .portfolio-video-cover span {
  border-color: rgba(255,255,255,.45);
  opacity: .82;
}

.portfolio-video-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(5rem, 1fr) auto;
  gap: .8rem;
  align-items: center;
  min-height: 2.7rem;
  padding: .55rem .75rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.portfolio-video-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .05em;
  cursor: pointer;
}

.portfolio-video-progress {
  width: 100%;
  height: 1px;
  appearance: none;
  background: var(--line);
  cursor: pointer;
}

.portfolio-video-progress::-webkit-slider-thumb {
  appearance: none;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--ink);
}

.portfolio-video-progress::-moz-range-thumb {
  width: .58rem;
  height: .58rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.portfolio-video-time {
  font-family: var(--mono);
  font-size: .56rem;
  color: var(--quiet);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .composer-note,
  .press-composer-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .composer-note-copy blockquote {
    font-size: clamp(1.1rem, 5vw, 1.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-video-cover { transition: none; }
}
