:root {
  --ink-950: #121112;
  --ink-900: #1d1a1b;
  --ink-800: #282326;
  --paper-100: #f4f0ec;
  --paper-200: #e5ded7;
  --champagne: #e3b188;
  --champagne-light: #f5d4b5;
  --wine: #7b2e3f;
  --moss: #485b3f;
  --whatsapp: #25d366;
  --focus: #ffd07a;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --content: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-space: clamp(88px, 11vw, 168px);
  --radius: 4px;
  --header-height: 84px;
  --z-canvas: 1;
  --z-content: 10;
  --z-header: 100;
  --z-nav: 120;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--ink-950);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink-950);
  color: var(--paper-100);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 0;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

svg {
  height: 20px;
  width: 20px;
  flex: 0 0 auto;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--paper-100);
  color: var(--ink-950);
  padding: 12px 18px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--champagne-light);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--wine);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  max-width: 12ch;
  font-size: clamp(3.35rem, 7.3vw, 7rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5vw, 5.7rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
}

.lead {
  max-width: 56ch;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: var(--paper-100);
  color: var(--ink-950);
}

.button-primary:hover {
  background: #ffffff;
  border-color: var(--champagne);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  color: var(--paper-100);
  font-weight: 500;
  text-decoration: none;
}

.text-link svg {
  transition: transform 220ms ease;
}

.text-link:hover svg {
  transform: translateY(4px);
}

/* Header and limelight navigation */

.site-header {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px var(--gutter);
  background: linear-gradient(to bottom, rgba(18, 17, 18, 0.82), rgba(18, 17, 18, 0));
  pointer-events: none;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 17, 18, 0.9);
}

.brand,
.spotlight-nav {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  color: var(--paper-100);
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.brand small {
  margin-top: 5px;
  color: var(--paper-200);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.spotlight-nav {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(18, 17, 18, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.spotlight-nav a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 96px;
  min-height: 46px;
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(244, 240, 236, 0.62);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 220ms ease;
}

.spotlight-nav a[aria-current="page"] {
  color: var(--ink-950);
}

.spotlight-nav a:hover {
  color: var(--paper-100);
}

.spotlight-nav a[aria-current="page"]:hover {
  color: var(--ink-950);
}

.spotlight-nav svg {
  height: 18px;
  width: 18px;
}

.nav-spotlight {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  width: 96px;
  height: 46px;
  border-radius: 999px;
  background: var(--champagne-light);
  box-shadow:
    0 0 28px rgba(227, 177, 136, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: translateX(0);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 90dvh;
  overflow: clip;
  padding: calc(var(--header-height) + 70px) var(--gutter) 150px;
  background: var(--ink-950);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 56% 50%;
  transform: scale(1.015);
  animation: hero-settle 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 17, 18, 0.9) 0%, rgba(18, 17, 18, 0.48) 48%, rgba(18, 17, 18, 0.06) 78%),
    linear-gradient(0deg, rgba(18, 17, 18, 0.62) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  max-width: 850px;
  animation: copy-rise 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  max-width: 48ch;
  margin-bottom: 32px;
  color: rgba(244, 240, 236, 0.88);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero-proof {
  position: absolute;
  z-index: var(--z-content);
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 17, 18, 0.48);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  display: grid;
  gap: 2px;
  min-height: 96px;
  padding: 18px var(--gutter);
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof strong {
  color: var(--champagne-light);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 500;
}

.hero-proof span {
  color: rgba(244, 240, 236, 0.7);
  font-size: 0.9rem;
}

/* Meaning band */

.meaning-band {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  min-height: 860px;
  background: var(--paper-100);
  color: var(--ink-950);
}

.meaning-copy {
  align-self: center;
  padding: var(--section-space) clamp(24px, 7vw, 120px);
}

.meaning-copy h2 {
  max-width: 10ch;
}

.quiet-note {
  max-width: 42ch;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 17, 18, 0.22);
  color: rgba(18, 17, 18, 0.68);
}

.meaning-gallery {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: var(--ink-900);
}

.meaning-gallery figure {
  margin: 0;
}

.meaning-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meaning-main {
  position: absolute;
  inset: 0 0 16% 0;
}

.meaning-main figcaption,
.meaning-detail figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  background: rgba(18, 17, 18, 0.76);
  color: var(--paper-100);
  font-size: 0.82rem;
}

.meaning-detail {
  position: absolute;
  right: clamp(22px, 5vw, 78px);
  bottom: 4%;
  width: min(44%, 420px);
  aspect-ratio: 4 / 3;
  border: 8px solid var(--paper-100);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* 3D memory world */

.memory-world {
  position: relative;
  height: 360vh;
  background: var(--ink-950);
}

.memory-stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.memory-fallback,
#memory-canvas,
.memory-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.memory-fallback {
  z-index: 0;
  object-fit: cover;
  opacity: 0.3;
}

#memory-canvas {
  z-index: var(--z-canvas);
}

.memory-vignette {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 18%, rgba(18, 17, 18, 0.36) 62%, rgba(18, 17, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 17, 18, 0.76) 0%, transparent 34%, transparent 68%, rgba(18, 17, 18, 0.66) 100%);
}

.memory-heading {
  position: absolute;
  z-index: 4;
  top: clamp(104px, 14vh, 160px);
  left: var(--gutter);
  max-width: 560px;
  pointer-events: none;
}

.memory-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.date-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(116px, 11vw, 170px);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 212, 181, 0.58);
  border-radius: 50%;
  background: rgba(18, 17, 18, 0.64);
  box-shadow:
    0 0 0 16px rgba(227, 177, 136, 0.035),
    0 0 60px rgba(227, 177, 136, 0.24);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.date-core span {
  align-self: end;
  color: rgba(244, 240, 236, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.date-core strong {
  align-self: start;
  color: var(--champagne-light);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 500;
}

.chapter-content {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: clamp(98px, 12vh, 140px);
  width: min(36vw, 470px);
  min-height: 260px;
  pointer-events: none;
}

.chapter-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.chapter-copy.is-active {
  opacity: 1;
  transform: none;
}

.no-js .chapter-content {
  display: grid;
  gap: 28px;
  overflow: auto;
}

.no-js .chapter-copy {
  position: static;
  opacity: 1;
  transform: none;
}

.chapter-copy > span {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(244, 240, 236, 0.5);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.chapter-copy .eyebrow {
  margin-bottom: 8px;
}

.chapter-copy h3 {
  margin-bottom: 16px;
}

.chapter-copy > p:last-child {
  max-width: 38ch;
  color: rgba(244, 240, 236, 0.7);
}

.chapter-rail {
  position: absolute;
  z-index: 6;
  left: var(--gutter);
  bottom: clamp(42px, 7vh, 72px);
  display: flex;
  gap: 4px;
  min-height: 58px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(18, 17, 18, 0.76);
  backdrop-filter: blur(16px);
}

.chapter-rail button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: rgba(244, 240, 236, 0.56);
  cursor: pointer;
  font-size: 0.82rem;
  transition: color 220ms ease;
}

.chapter-rail button[aria-selected="true"] {
  color: var(--ink-950);
}

.chapter-rail button:hover:not([aria-selected="true"]) {
  color: var(--paper-100);
}

.chapter-rail svg {
  width: 18px;
  height: 18px;
}

.chapter-light {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  width: 112px;
  height: 46px;
  border-radius: 999px;
  background: var(--champagne-light);
  box-shadow: 0 0 34px rgba(227, 177, 136, 0.46);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.memory-progress {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: 52px;
  width: min(28vw, 320px);
  height: 2px;
  overflow: hidden;
  background: rgba(244, 240, 236, 0.18);
}

.memory-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--champagne-light);
  transform: scaleX(0);
  transform-origin: left;
}

.webgl-failed #memory-canvas {
  display: none;
}

.webgl-failed .memory-fallback {
  opacity: 0.56;
}

/* Authority */

.authority-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 940px;
  background: var(--paper-200);
  color: var(--ink-950);
}

.authority-image {
  min-height: 720px;
  overflow: hidden;
}

.authority-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.authority-copy {
  align-self: center;
  padding: var(--section-space) clamp(28px, 7vw, 120px);
}

.authority-copy h2 {
  max-width: 11ch;
}

.authority-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
}

.authority-stats div {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 22px 20px 22px 0;
  border-top: 1px solid rgba(18, 17, 18, 0.24);
}

.authority-stats div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid rgba(18, 17, 18, 0.18);
}

.authority-stats strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.authority-stats span {
  max-width: 24ch;
  color: rgba(18, 17, 18, 0.66);
  line-height: 1.35;
}

/* Stories, circle selector and morphing cards */

.stories-band {
  padding: var(--section-space) var(--gutter);
  overflow: hidden;
  background: var(--ink-900);
}

.stories-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--content);
  margin: 0 auto clamp(72px, 9vw, 124px);
}

.stories-heading h2 {
  max-width: 13ch;
  margin-bottom: 18px;
}

.stories-intro {
  max-width: 52ch;
  margin: 0;
  color: rgba(244, 240, 236, 0.68);
}

.view-switcher {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.view-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  border: 0;
  border-radius: 2px;
  padding: 8px 12px;
  background: transparent;
  color: rgba(244, 240, 236, 0.55);
  cursor: pointer;
  font-size: 0.82rem;
}

.view-switcher button[aria-pressed="true"] {
  background: var(--paper-100);
  color: var(--ink-950);
}

.stories-experience {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(44px, 8vw, 120px);
  max-width: var(--content);
  min-height: 760px;
  margin: 0 auto;
}

.orbit-selector {
  position: relative;
  display: grid;
  place-items: center;
  width: min(34vw, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit-selector::before,
.orbit-selector::after {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(227, 177, 136, 0.2);
  border-radius: 50%;
  content: "";
}

.orbit-selector::after {
  inset: 38%;
  background: rgba(227, 177, 136, 0.04);
}

.orbit-core,
.orbit-items button {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 212, 181, 0.52);
  border-radius: 50%;
  padding: 0;
  background: var(--ink-950);
  color: var(--paper-100);
  cursor: pointer;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    border-color 220ms ease;
}

.orbit-core {
  width: 112px;
  aspect-ratio: 1;
  gap: 4px;
}

.orbit-core svg {
  color: var(--champagne-light);
}

.orbit-core span {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.orbit-items {
  position: absolute;
  inset: 0;
}

.orbit-items button {
  top: 50%;
  left: 50%;
  width: 78px;
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 1;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--orbit) * 72deg - 90deg))
    translateX(clamp(126px, 14vw, 184px))
    rotate(calc(var(--orbit) * -72deg + 90deg));
}

.orbit-selector:not(.is-open) .orbit-items button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.45);
}

.orbit-items button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.orbit-items button span {
  position: absolute;
  inset: auto 0 0;
  padding: 4px 2px 6px;
  background: rgba(18, 17, 18, 0.82);
  font-size: 0.68rem;
}

.orbit-items button[aria-pressed="true"] {
  border-color: var(--focus);
  box-shadow: 0 0 28px rgba(227, 177, 136, 0.48);
}

.orbit-items button:hover img {
  transform: scale(1.08);
}

.portfolio-shell {
  min-width: 0;
}

.portfolio-stage {
  position: relative;
  min-height: 620px;
}

.project-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  transform:
    translateX(calc(var(--order) * 22px))
    translateY(calc(var(--order) * -12px))
    rotate(calc(var(--order) * 1.25deg));
  opacity: calc(1 - (var(--order) * 0.13));
  pointer-events: none;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
}

.project-card.is-active {
  z-index: 5;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.project-card img {
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: cover;
}

.project-card > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 20px;
  padding: 24px;
  background: var(--ink-950);
}

.project-card p {
  grid-column: 1;
  margin: 0;
  color: rgba(244, 240, 236, 0.56);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.project-card h3 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.project-card a {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--champagne-light);
  text-decoration: none;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 60px;
  margin-top: 22px;
}

.portfolio-controls p {
  min-width: 64px;
  margin: 0;
  text-align: center;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--paper-100);
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.icon-button:hover {
  background: var(--paper-100);
  color: var(--ink-950);
}

.portfolio-shell[data-view-mode="film"] .portfolio-stage {
  display: grid;
  grid-auto-columns: minmax(320px, 58%);
  grid-auto-flow: column;
  gap: 18px;
  min-height: 570px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--champagne) rgba(255, 255, 255, 0.08);
}

.portfolio-shell[data-view-mode="film"] .project-card {
  position: relative;
  inset: auto;
  min-height: 540px;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  scroll-snap-align: start;
}

.portfolio-shell[data-view-mode="film"] .project-card > div,
.portfolio-shell[data-view-mode="grid"] .project-card > div {
  display: block;
}

.portfolio-shell[data-view-mode="film"] .project-card h3,
.portfolio-shell[data-view-mode="grid"] .project-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
}

.portfolio-shell[data-view-mode="film"] .project-card a,
.portfolio-shell[data-view-mode="grid"] .project-card a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.portfolio-shell[data-view-mode="film"] .portfolio-controls,
.portfolio-shell[data-view-mode="grid"] .portfolio-controls {
  display: none;
}

.portfolio-shell[data-view-mode="grid"] .portfolio-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: auto;
}

.portfolio-shell[data-view-mode="grid"] .project-card {
  position: relative;
  inset: auto;
  min-height: 420px;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.portfolio-shell[data-view-mode="grid"] .project-card:first-child {
  grid-column: 1 / -1;
  min-height: 560px;
}

/* Questions */

.questions-band {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(56px, 10vw, 140px);
  padding: var(--section-space) var(--gutter);
  background: var(--paper-100);
  color: var(--ink-950);
}

.questions-heading {
  max-width: 520px;
}

.questions-list {
  border-top: 1px solid rgba(18, 17, 18, 0.28);
}

.questions-list details {
  border-bottom: 1px solid rgba(18, 17, 18, 0.28);
}

.questions-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  list-style: none;
}

.questions-list summary::-webkit-details-marker {
  display: none;
}

.questions-list summary svg {
  transition: transform 220ms ease;
}

.questions-list details[open] summary svg {
  transform: rotate(45deg);
}

.questions-list details p {
  max-width: 58ch;
  padding: 0 48px 26px 0;
  color: rgba(18, 17, 18, 0.68);
}

/* Finale */

.finale {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 920px;
  overflow: hidden;
  padding: var(--section-space) var(--gutter);
  background: var(--ink-950);
}

.finale > img,
.finale-shade,
.finale-spotlight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.finale > img {
  object-fit: cover;
  object-position: center;
}

.finale-shade {
  background:
    linear-gradient(90deg, rgba(18, 17, 18, 0.94) 0%, rgba(18, 17, 18, 0.82) 35%, rgba(18, 17, 18, 0.16) 74%),
    linear-gradient(0deg, rgba(18, 17, 18, 0.6), transparent 48%);
}

.finale-spotlight {
  left: -14%;
  width: 72%;
  background: radial-gradient(circle at 44% 54%, rgba(245, 212, 181, 0.18), transparent 42%);
  pointer-events: none;
}

.finale-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.finale-copy h2 {
  max-width: 10ch;
}

.finale-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: 32px;
  color: rgba(244, 240, 236, 0.76);
  font-size: 1.22rem;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
}

.contact-list a {
  color: rgba(244, 240, 236, 0.66);
  text-underline-offset: 5px;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px 40px;
  min-height: 140px;
  padding: 28px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-950);
  color: rgba(244, 240, 236, 0.58);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-100);
  text-decoration: none;
}

.footer-brand img {
  width: 48px;
  height: 36px;
  object-fit: contain;
}

/* Reveals */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 380ms ease,
    transform 380ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-settle {
  from {
    opacity: 0.6;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .spotlight-nav a {
    min-width: 76px;
  }

  .spotlight-nav a span {
    display: none;
  }

  .stories-experience {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
  }

  .orbit-selector {
    width: 300px;
  }

  .orbit-items button {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--orbit) * 72deg - 90deg))
      translateX(134px)
      rotate(calc(var(--orbit) * -72deg + 90deg));
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 72px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: var(--header-height);
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 52px;
    height: 39px;
  }

  .spotlight-nav {
    position: fixed;
    z-index: var(--z-nav);
    right: max(12px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    justify-content: stretch;
    min-height: 64px;
    border-radius: 8px;
    padding: 5px;
    background: rgba(18, 17, 18, 0.9);
  }

  .spotlight-nav a {
    flex: 1 1 20%;
    display: grid;
    gap: 2px;
    min-width: 0;
    min-height: 52px;
    border-radius: 5px;
    padding: 5px 2px;
  }

  .spotlight-nav a span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-spotlight {
    top: 5px;
    height: 52px;
    border-radius: 5px;
  }

  .meaning-band,
  .authority-band,
  .questions-band {
    grid-template-columns: 1fr;
  }

  .meaning-copy {
    padding: var(--section-space) var(--gutter);
  }

  .meaning-copy h2 {
    max-width: 13ch;
  }

  .meaning-gallery {
    min-height: 720px;
  }

  .memory-world {
    height: 330vh;
  }

  .memory-stage {
    min-height: 640px;
  }

  .memory-heading {
    top: 92px;
    max-width: 70vw;
  }

  .memory-heading h2 {
    font-size: clamp(2.65rem, 8vw, 4.5rem);
  }

  .chapter-content {
    right: var(--gutter);
    bottom: 176px;
    width: min(58vw, 520px);
  }

  .chapter-rail {
    right: var(--gutter);
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: var(--gutter);
    justify-content: stretch;
    overflow: hidden;
    border-radius: 6px;
  }

  .chapter-rail button {
    flex: 1 1 25%;
    min-width: 0;
    border-radius: 3px;
  }

  .chapter-light {
    border-radius: 3px;
  }

  .memory-progress {
    right: var(--gutter);
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: var(--gutter);
    width: auto;
  }

  .authority-band {
    min-height: 0;
  }

  .authority-image {
    min-height: 680px;
  }

  .authority-copy {
    padding: var(--section-space) var(--gutter);
  }

  .authority-copy h2 {
    max-width: 14ch;
  }

  .stories-heading {
    align-items: start;
    flex-direction: column;
  }

  .stories-experience {
    grid-template-columns: 1fr;
    gap: 72px;
    min-height: 0;
  }

  .orbit-selector {
    width: min(86vw, 430px);
    justify-self: center;
  }

  .portfolio-stage {
    min-height: 580px;
  }

  .project-card {
    min-height: 560px;
  }

  .questions-band {
    gap: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.55rem);
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero {
    min-height: 92dvh;
    padding: calc(var(--header-height) + 48px) var(--gutter) 170px;
  }

  .hero-image {
    object-position: 58% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(18, 17, 18, 0.94) 0%, rgba(18, 17, 18, 0.56) 54%, rgba(18, 17, 18, 0.12) 100%),
      linear-gradient(90deg, rgba(18, 17, 18, 0.54), transparent);
  }

  .hero-content {
    align-self: end;
  }

  .hero-copy {
    max-width: 35ch;
    font-size: 1.12rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div {
    min-height: 84px;
    padding: 12px 10px;
  }

  .hero-proof strong {
    font-size: 1rem;
  }

  .hero-proof span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .meaning-gallery {
    min-height: 540px;
  }

  .meaning-main {
    inset: 0 0 10% 0;
  }

  .meaning-detail {
    right: 18px;
    bottom: 3%;
    width: 54%;
    border-width: 5px;
  }

  .memory-world {
    height: 350vh;
  }

  .memory-heading {
    top: 88px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .memory-heading h2 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .date-core {
    top: 47%;
    width: 108px;
  }

  .chapter-content {
    right: 20px;
    bottom: 188px;
    left: 20px;
    width: auto;
    min-height: 200px;
    text-shadow: 0 2px 18px var(--ink-950);
  }

  .chapter-copy > span {
    margin-bottom: 8px;
  }

  .chapter-copy h3 {
    max-width: 15ch;
    margin-bottom: 10px;
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .chapter-copy > p:last-child {
    max-width: 34ch;
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .chapter-rail {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 12px;
  }

  .chapter-rail button {
    gap: 3px;
    padding: 5px 2px;
    font-size: 0.67rem;
  }

  .chapter-rail button svg {
    width: 16px;
    height: 16px;
  }

  .memory-progress {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
  }

  .authority-image {
    min-height: 560px;
  }

  .authority-image img {
    object-position: 50% 28%;
  }

  .authority-stats {
    grid-template-columns: 1fr;
  }

  .authority-stats div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .stories-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .stories-heading {
    margin-bottom: 72px;
  }

  .view-switcher {
    display: none;
  }

  .orbit-selector {
    display: none;
  }

  .portfolio-stage {
    min-height: 510px;
  }

  .project-card {
    min-height: 490px;
  }

  .project-card > div {
    display: block;
    padding: 18px;
  }

  .project-card h3 {
    margin-bottom: 10px;
  }

  .project-card a {
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
  }

  .portfolio-shell[data-view-mode="film"] .portfolio-stage {
    grid-auto-columns: 88%;
    min-height: 500px;
  }

  .portfolio-shell[data-view-mode="film"] .project-card {
    min-height: 480px;
  }

  .portfolio-shell[data-view-mode="grid"] .portfolio-stage {
    grid-template-columns: 1fr;
  }

  .portfolio-shell[data-view-mode="grid"] .project-card,
  .portfolio-shell[data-view-mode="grid"] .project-card:first-child {
    grid-column: auto;
    min-height: 430px;
  }

  .questions-list summary {
    min-height: 76px;
    font-size: 1.2rem;
  }

  .finale {
    min-height: 900px;
    align-items: end;
    padding-bottom: 110px;
  }

  .finale > img {
    object-position: 66% 50%;
  }

  .finale-shade {
    background:
      linear-gradient(0deg, rgba(18, 17, 18, 0.96) 0%, rgba(18, 17, 18, 0.75) 52%, rgba(18, 17, 18, 0.14) 100%);
  }

  .finale-copy .button {
    width: 100%;
  }

  .contact-list {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .spotlight-nav a span {
    font-size: 0.62rem;
  }

  .orbit-selector {
    width: 330px;
    max-width: 100%;
  }

  .orbit-items button {
    width: 62px;
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--orbit) * 72deg - 90deg))
      translateX(128px)
      rotate(calc(var(--orbit) * -72deg + 90deg));
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  #memory-canvas {
    display: none;
  }

  .memory-fallback {
    opacity: 0.58;
  }
}

.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

.reduced-motion #memory-canvas {
  display: none;
}

.reduced-motion .memory-fallback {
  opacity: 0.58;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

.no-js .memory-wrap {
  height: 100vh;
  min-height: 760px;
}

.no-js .memory-stage {
  position: relative;
}

.no-js #memory-canvas {
  display: none;
}

.no-js .memory-fallback {
  opacity: 0.58;
}

.no-js .chapter-content {
  display: block;
  overflow: visible;
}

.no-js .chapter-copy {
  display: none;
}

.no-js .chapter-copy.is-active {
  position: static;
  display: block;
}

.no-js .chapter-rail,
.no-js .memory-progress,
.no-js .view-switcher,
.no-js .orbit-selector,
.no-js .portfolio-controls {
  display: none;
}

.qa-canvas-only .site-header,
.qa-canvas-only .memory-fallback,
.qa-canvas-only .memory-vignette,
.qa-canvas-only .memory-heading,
.qa-canvas-only .date-core,
.qa-canvas-only .chapter-content,
.qa-canvas-only .chapter-rail,
.qa-canvas-only .memory-progress {
  display: none;
}
