@font-face {
  font-family: "Montserrat Hero";
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  --noomo-paper: #c9d2e7;
  --noomo-paper-light: #dee7f1;
  --noomo-paper-menu: #dbe0ef;
  --noomo-ink: #181520;
  --noomo-ink-soft: #231b35;
  --noomo-muted: #6d6d76;
  --noomo-fade: #a5a5ae;
  --noomo-line: rgba(24, 21, 32, 0.2);
  --bg: var(--noomo-paper);
  --panel: rgba(255, 255, 255, 0.16);
  --panel-soft: var(--noomo-paper-menu);
  --panel-cool: rgba(255, 255, 255, 0.34);
  --text: var(--noomo-ink);
  --muted: var(--noomo-muted);
  --ghost: rgba(24, 21, 32, 0.08);
  --accent: var(--noomo-ink-soft);
  --accent-soft: var(--noomo-muted);
  --accent-strong: var(--noomo-ink);
  --accent-deep: var(--noomo-ink-soft);
  --capsule-bg: rgba(255, 255, 255, 0.18);
  --capsule-border: rgba(24, 21, 32, 0.2);
  --card-hover: rgba(255, 255, 255, 0.28);
  --overlay: rgba(24, 21, 32, 0.24);
  --page-surface:
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(180deg, var(--noomo-paper) 0%, var(--noomo-paper-light) 46%, var(--noomo-paper) 100%);
  --project-display-font: "NeueMachina", "Montserrat", Arial, sans-serif;
  --project-body-font: "NeueRoman", "Work Sans", Arial, sans-serif;
  --max: 1100px;
  --section-width: min(var(--max), calc(100vw - 36px));
  --ghost-align-offset: min(88px, calc(8vw - 2.88px));
  --ghost-align-x: calc((100vw - var(--section-width)) / 2 + var(--ghost-align-offset));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@keyframes navLineIn {
  0% {
    transform: translateX(-101%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes navLineOut {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(101%);
  }
}

body {
  margin: 0;
  background: var(--page-surface);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: var(--project-body-font);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding: 3vh clamp(18px, 4vw, 54px);
  background: transparent;
  font-family: var(--project-body-font);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.brand {
  font-weight: 600;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 38px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  font-size: 0.98rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0 0 4px;
  transition: color 180ms ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--noomo-ink-soft);
  animation: navLineOut 260ms ease-in-out both;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  animation: navLineIn 260ms ease-in-out both;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.3), transparent 34%),
    linear-gradient(180deg, var(--noomo-paper) 0%, var(--noomo-paper-light) 94%);
}

.hero-poster,
.hero-video,
.hero-frost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.08);
}

.hero-poster,
.hero-video {
  object-fit: cover;
}

.hero-poster {
  opacity: 1;
}

.hero-video {
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-frost {
  z-index: 1;
  opacity: 0;
  object-fit: fill;
  pointer-events: none;
}

.hero-media.is-video-ready .hero-video,
.hero-media.is-frost-ready .hero-frost {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 54px) 15vh;
}

.hero-positioning {
  max-width: 46ch;
  margin: 0 0 18px;
  color: var(--noomo-ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.45;
  text-wrap: balance;
}

/* Only full-bleed layouts place the lettering over the reel's dark closing shot. */
@media (min-width: 641px), (orientation: landscape) and (max-height: 520px) {
  .hero-light-ink :is(.site-header, .hero-copy) {
    --text: var(--noomo-paper-light);
    --noomo-ink-soft: var(--noomo-paper-light);
    color: var(--noomo-paper-light);
  }

  .hero-light-ink .scroll-cue-media {
    filter: brightness(0) invert(1);
  }
}

#hero-title {
  font-family: "Montserrat Hero", Arial, sans-serif;
  font-weight: 700;
}

#hero-title[data-font-pending] {
  visibility: hidden;
}

#hero-title[data-font-failed] {
  font-family: Arial, sans-serif;
}

.hero-primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid rgba(24, 21, 32, 0.72);
  color: var(--noomo-ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-primary-link:hover,
.hero-primary-link:focus-visible {
  border-color: var(--noomo-ink);
  transform: translateY(-2px);
}

.hero-primary-link:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 4px;
}

.hero-fallback {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 4;
  max-width: min(32ch, calc(100% - 40px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(24, 21, 32, 0.2);
  background: rgba(222, 231, 241, 0.94);
  color: var(--noomo-ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-fallback[hidden] {
  display: none;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5vh, 24px);
  z-index: 3;
  display: block;
  width: clamp(52px, 4.6vw, 66px);
  aspect-ratio: 269 / 260;
  padding: 0;
  color: var(--noomo-ink);
  line-height: 1;
  border-radius: 999px;
  opacity: 0.56;
  transform: translateX(-50%);
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--noomo-ink);
  opacity: 0.88;
  transform: translateX(-50%);
}

.hero-scroll-cue:focus-visible {
  outline: 1px solid rgba(24, 21, 32, 0.52);
  outline-offset: 6px;
}

.scroll-cue-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.scroll-cue-media {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-cue-media img {
  display: block;
  width: 100%;
  height: 100%;
  filter: contrast(1) saturate(1);
  transform: scale(1);
  transform-origin: center;
  transition:
    filter 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-scroll-cue:hover .scroll-cue-media img,
.hero-scroll-cue:focus-visible .scroll-cue-media img {
  filter: contrast(1.12) saturate(1.05);
  transform: scale(1.08);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--project-body-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-container {
  position: relative;
  display:flex;
  flex-direction: column;
  z-index: 1;
}

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

h1,
h2,
h3 {
  font-family: var(--project-display-font);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.2em;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 1;
  text-transform: lowercase;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 300;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  font-weight: 300;
}

.heading-reveal {
  overflow: clip;
  padding-bottom: 0.08em;
}

.heading-reveal-inner {
  display: block;
  opacity: 0;
  transform: translateY(112%);
  transition:
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 680ms ease;
  will-change: transform, opacity;
}

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

.section {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 110px auto;
}

.section-ghost {
  position: absolute;
  z-index: -1;
  margin: 0;
  color: var(--ghost);
  font-family: var(--project-display-font);
  font-size: clamp(4.4rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
  pointer-events: none;
}

.section-ghost.rotate {
  left: -250px;
  top: 120px;
  transform: rotate(-90deg);
}

.artist-section {
  display: block;
  margin-top: clamp(92px, 11vw, 136px);
  scroll-margin-top: clamp(82px, 12vh, 132px);
}

.section-copy {
  display: block;
  width: 100%;
  max-width: none;
  color: var(--muted);
}

.section-copy h2,
.artist-heading {
  display: block;
  /*max-width: 28ch;*/  
  color: var(--text);
  font-family: var(--project-display-font);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
}

.artist-section > .section-copy .eyebrow {
  display: block;
}

.artist-disclosure {
  overflow: visible;
  interpolate-size: allow-keywords;
}

.artist-disclosure::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition:
    block-size 720ms cubic-bezier(0.16, 1, 0.3, 1),
    content-visibility 720ms allow-discrete,
    opacity 420ms ease;
}

.artist-disclosure[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.artist-disclosure-summary {
  position: relative;
  display: flex;
  justify-content: flex-end;

  width: 100%;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.artist-disclosure-summary::-webkit-details-marker {
  display: none;
}

.artist-disclosure-summary::marker {
  content: "";
}

.artist-disclosure-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 10px;
}

.artist-disclosure-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  overflow: hidden;
  padding: 0 0 5px;
  color: var(--muted);
  font-family: var(--project-body-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color 180ms ease;
}

.artist-disclosure-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: var(--noomo-ink-soft);
  animation: navLineOut 260ms ease-in-out both;
}

.artist-disclosure-summary:hover .artist-disclosure-mark,
.artist-disclosure-summary:focus-visible .artist-disclosure-mark,
.artist-disclosure[open] .artist-disclosure-mark {
  color: var(--text);
}

.artist-disclosure-summary:hover .artist-disclosure-mark::after,
.artist-disclosure-summary:focus-visible .artist-disclosure-mark::after,
.artist-disclosure[open] .artist-disclosure-mark::after {
  animation: navLineIn 260ms ease-in-out both;
}


.artist-disclosure-content {
  padding-top: clamp(28px, 7vw, 44px);
}

#artist-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  /*max-width: 72ch;*/
}

#artist-body p {
  margin-bottom: 0;
}

#artist-body a {
  text-decoration-line: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

#artist-body a:hover,
#artist-body a:focus-visible {
  color: var(--text);
  text-decoration-thickness: 2px;
}

#artist-body a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skills-section,
.artist-detail-section {
  position: relative;
  display: block;
  margin-top: clamp(78px, 10vw, 118px);
  padding-top: 22px;
  scroll-margin-top: clamp(82px, 12vh, 132px);
}

.skills-section .section-ghost,
.artist-detail-section .section-ghost {
  left: 0;
  top: -62px;
}

.resume-list {
  display: grid;
  gap: clamp(30px, 4vw, 44px);
  /* max-width: 860px; */
}

.resume-entry {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.resume-entry-mark {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 64px;
  height: 64px;
  place-items: center;
}

.resume-entry-mark img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resume-entry-mark-placeholder {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--noomo-line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-entry-copy {
  min-width: 0;
}

.resume-entry-institution {
  margin: 0 0 7px;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: pretty;
}

.resume-entry-institution a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 180ms ease;
}

.resume-entry-institution a:hover,
.resume-entry-institution a:focus-visible {
  text-decoration-color: currentColor;
}

.resume-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.resume-entry-period {
  font-style: italic;
}

.resume-entry-location {
  white-space: nowrap;
}

.resume-entry-period::before,
.resume-entry-location::before {
  content: ",";
  margin-right: 10px;
}

#skill-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.skill-card {
  isolation: isolate;
  position: relative;
  overflow: visible;
  padding: 34px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  transition:
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-card::after {
  content: "";
  position: absolute;
  inset: -14px -16px -18px;
  z-index: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 86% 68% at 50% 0%, rgba(255, 255, 255, 0.4), rgba(222, 231, 241, 0.2) 42%, rgba(201, 210, 231, 0.08) 66%, transparent 84%);
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transform-origin: 50% 0%;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.skill-card:hover,
.skill-card:focus-within {
  box-shadow:
    0 18px 34px rgba(24, 21, 32, 0.08),
    0 4px 12px rgba(24, 21, 32, 0.045);
  transform: translateY(-2px);
}

.skill-card:hover::after,
.skill-card:focus-within::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skill-card > * {
  position: relative;
  z-index: 1;
}

.skill-card h3 {
  margin-bottom: 0;
}

.skill-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--noomo-line);
  border-radius: 999px;
  font-family: var(--project-body-font);
  font-size: 0.9rem;
  animation: bob 2.4s ease-in-out infinite;
  transition:
    background 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skill-card:hover .skill-icon,
.skill-card:focus-within .skill-icon {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(24, 21, 32, 0.3);
}

.skill-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.skill-tool-group {
  display: grid;
  gap: 7px;
}

.skill-tool-label {
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.skill-capsule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-capsule {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: var(--noomo-ink);
  background: var(--capsule-bg);
  border: 1px solid var(--capsule-border);
  border-radius: 999px;
  font-family: var(--project-body-font);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.projects-section {
  width: 100%;
  max-width: none;
  margin: 120px 0;
  padding: 0;
  overflow: visible;
  color: var(--noomo-ink);
  background: transparent;
  font-family: var(--project-body-font);
}

.projects-section-ghost {
  z-index: 0;
  left: var(--ghost-align-x);
  top: clamp(-84px, -5vw, -44px);
  color: rgba(24, 21, 32, 0.14);
}

.projects-intro,
.projects-section .project-groups {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.projects-intro {
  margin-bottom: clamp(42px, 6vw, 72px);
}

.projects-section .eyebrow,
.projects-section .project-meta {
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
}

.project-group-title,
.project-detail-header h1 {
  font-family: var(--project-display-font);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.project-groups {
  display: grid;
  gap: clamp(72px, 9vw, 112px);
}

.project-group {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 22px;
}

.project-group > :not(.section-ghost) {
  position: relative;
  z-index: 1;
}

.project-group-ghost {
  z-index: 0;
  left: clamp(-12px, -1vw, 0px);
  top: clamp(-76px, -5vw, -44px);
  color: rgba(24, 21, 32, 0.12);
}

.project-group--playground {
  margin-top: clamp(18px, 3vw, 44px);
}

.project-group-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.project-grid {
  display: grid;
  gap: 22px;
}

.project-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  isolation: isolate;
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--noomo-ink);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 6px;
  transition:
    background 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

button.project-card {
  width: 100%;
  padding: 0;
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 82% 54% at 50% 0%, rgba(214, 224, 240, 0.24), rgba(201, 210, 231, 0.1) 48%, rgba(24, 21, 32, 0.03) 70%, transparent 84%);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 34px rgba(24, 21, 32, 0.08),
    0 4px 12px rgba(24, 21, 32, 0.045);
  transform: translateY(-3px);
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.project-card:focus-visible {
  outline: 1px solid rgba(24, 21, 32, 0.5);
  outline-offset: 5px;
}

.project-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(183deg, rgba(250, 250, 253, 0.4), rgba(238, 239, 242, 0.4) 28%, rgba(233, 237, 245, 0.4)),
    var(--noomo-paper-menu);
}

.project-thumb img,
.project-thumb video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition:
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(207, 218, 236, 0.14), rgba(201, 210, 231, 0.04) 42%, transparent 64%),
    linear-gradient(0deg, rgba(24, 21, 32, 0.12), transparent 48%);
  opacity: 0;
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb img,
.project-card:hover .project-thumb video,
.project-card:focus-visible .project-thumb img,
.project-card:focus-visible .project-thumb video {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
}

.project-card:hover .project-thumb::after,
.project-card:focus-visible .project-thumb::after {
  opacity: 1;
}

.thumb-placeholder {
  color: rgba(24, 21, 32, 0.38);
  font-family: var(--project-display-font);
  font-weight: 600;
  text-transform: lowercase;
}

.project-body {
  position: relative;
  z-index: 2;
  padding: 18px 18px 20px;
}

.project-body h4 {
  margin: 0 0 8px;
  font-family: var(--project-display-font);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.04;
  text-transform: uppercase;
}

.project-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--noomo-muted);
  font-size: 0.96rem;
  line-height: 1.45;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.project-card-action-mark {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:not(.project-card--note):hover .project-card-action-mark,
.project-card:not(.project-card--note):focus-visible .project-card-action-mark {
  transform: translate(2px, -1px);
}

.project-card--note {
  cursor: default;
}

.project-card--note .project-card-action {
  color: var(--noomo-muted);
  font-weight: 500;
}

.project-card--note:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transform: none;
}

.project-card--note:hover::before {
  opacity: 0;
  transform: translateY(10px);
}

.project-card--note:hover .project-thumb img,
.project-card--note:hover .project-thumb video {
  filter: none;
  transform: none;
}

.project-card--note:hover .project-thumb::after {
  opacity: 0;
}

.contact-section {
  width: min(560px, calc(100% - 36px));
  margin-bottom: 70px;
}

.contact-section .section-ghost {
  left: calc(var(--ghost-align-x) - ((100vw - min(560px, calc(100vw - 36px))) / 2));
  top: -100px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-note {
  margin: 0 0 22px;
  color: var(--text);
  font-family: var(--project-display-font);
  font-size: clamp(1.45rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.12;
}

.contact-links a {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--noomo-paper-light);
  background: var(--accent-deep);
  border-radius: 999px;
  font-family: var(--project-body-font);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease;
}

.contact-links a:hover {
  background: var(--accent-strong);
  color: var(--noomo-paper-light);
  transform: translateY(4px);
}

.contact-media {
  display: grid;
  place-items: center;
  min-height: 240px;
  margin-left: 10%;
  color: rgba(24, 21, 32, 0.42);
  background:
    linear-gradient(183deg, rgba(250, 250, 253, 0.4), rgba(238, 239, 242, 0.4) 28%, rgba(233, 237, 245, 0.4)),
    var(--panel);
  border: 1px solid var(--noomo-line);
  border-radius: 6px;
  font-family: var(--project-body-font);
  text-transform: lowercase;
}

.site-footer {
  padding: 40px 18px 56px;
  color: var(--noomo-muted);
  text-align: center;
  font-size: 0.86rem;
}

.project-detail {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 92px;
  overflow-x: clip;
  color: var(--noomo-ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.52), transparent 32%),
    linear-gradient(180deg, var(--noomo-paper) 0%, var(--noomo-paper-light) 48%, var(--noomo-paper) 100%);
  font-family: var(--project-body-font);
}

.project-detail > .project-detail-article {
  width: min(1280px, calc(100% - clamp(36px, 8vw, 108px)));
  margin-left: auto;
  margin-right: auto;
}

.project-detail-article {
  width: 100%;
  max-width: none;
  padding-top: clamp(104px, 15vh, 148px);
}

.project-detail-article > * {
  margin-left: auto;
  margin-right: auto;
}

.project-detail-masthead {
  width: min(1280px, 100%);
  max-width: 1280px;
  min-height: 0;
  padding: 0 0 clamp(40px, 5vw, 72px);
}

.back-link {
  display: inline-flex;
  width: max-content;
  margin-bottom: clamp(26px, 4vw, 46px);
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: 0.86rem;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--noomo-ink);
}

.project-detail-masthead .project-meta {
  margin-bottom: clamp(16px, 2vw, 24px);
}

.project-detail-masthead h1 {
  max-width: 1240px;
  margin-bottom: clamp(38px, 4.6vw, 60px);
  padding-bottom: 0.08em;
  overflow: visible;
  font-size: clamp(3.25rem, 5.625vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
  text-transform: uppercase;
}

@keyframes projectWipRuleIn {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.project-detail.is-wip {
  --project-wip-muted: #595963;
  display: flex;
  min-height: 100svh;
  padding-bottom: 0;
  flex-direction: column;
}

.project-detail.is-wip .back-link {
  color: var(--project-wip-muted);
}

.project-detail.is-wip > .project-detail-article {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.project-detail-article--wip {
  min-height: 100svh;
}

.project-wip-masthead {
  padding-bottom: clamp(88px, 10vw, 144px);
}

.project-wip-masthead h1 {
  max-width: 13ch;
  margin-bottom: clamp(24px, 3vw, 34px);
  font-size: clamp(3.25rem, 6.4vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-transform: none;
}

.project-wip-summary {
  max-width: 42ch;
  margin: 0;
  color: var(--project-wip-muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.project-wip {
  width: 100%;
  padding-bottom: clamp(90px, 11vw, 150px);
}

.project-wip-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  width: 100%;
}

.project-wip-status p {
  margin: 0;
  color: var(--project-wip-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.project-wip-rule {
  display: block;
  height: 1px;
  background: var(--noomo-line);
  transform-origin: left center;
  animation: projectWipRuleIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.project-wip-content {
  width: min(610px, 100%);
  margin-top: clamp(54px, 6.5vw, 88px);
  margin-right: clamp(0px, 8vw, 110px);
  margin-left: auto;
}

.project-wip-content h2 {
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  color: var(--noomo-ink-soft);
  font-family: var(--project-display-font);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.project-wip-content > p {
  max-width: 38ch;
  margin: 0;
  color: var(--noomo-ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.project-wip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 3.6vw, 44px);
}

.project-wip-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 210px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--noomo-ink-soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-wip-action.is-primary {
  color: var(--noomo-paper-light);
  background: var(--noomo-ink-soft);
}

.project-wip-action.is-secondary {
  color: var(--noomo-ink-soft);
  background: transparent;
}

.project-wip-action-mark {
  display: inline-block;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-wip-action:hover,
.project-wip-action:focus-visible {
  transform: translateY(-2px);
}

.project-wip-action.is-secondary:hover,
.project-wip-action.is-secondary:focus-visible {
  color: var(--noomo-paper-light);
  background: var(--noomo-ink-soft);
}

.project-wip-action:hover .project-wip-action-mark,
.project-wip-action:focus-visible .project-wip-action-mark {
  transform: translate(3px, -1px);
}

.project-wip-action.is-primary:hover .project-wip-action-mark,
.project-wip-action.is-primary:focus-visible .project-wip-action-mark {
  transform: translateX(-3px);
}

.project-wip-action:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 4px;
}

.project-wip-footer {
  width: 100%;
  margin-top: auto;
  padding: 34px 0 40px;
  color: var(--project-wip-muted);
  border-top: 1px solid var(--noomo-line);
  font-size: 0.78rem;
  line-height: 1.5;
}

.project-wip-footer p {
  margin: 0;
}

.project-hero-info {
  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 5.9vw, 76px);
  width: 100%;
  margin: 0;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  column-gap: clamp(48px, 5.9vw, 76px);
  row-gap: 36px;
}

.project-fact {
  min-width: 0;
  margin-bottom: 0;
}

.project-fact dt,
.project-fact dd {
  margin: 0;
}

.project-fact dt,
.project-document-type {
  margin-bottom: 9px;
  color: #626671;
  font-family: var(--project-body-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-fact dd,
.project-document-title {
  color: var(--noomo-ink);
  font-family: var(--project-body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.project-fact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-fact-list li {
  margin: 0;
}

.project-tagline {
  flex: 1 1 520px;
  max-width: 600px;
  margin: 0;
  color: var(--noomo-ink-soft);
  font-family: var(--project-display-font);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.16;
  text-wrap: balance;
}

@media (min-width: 1240px) {
  .project-tagline {
    text-wrap: wrap;
  }
}

.project-detail-hero {
  width: min(1280px, 100%);
  max-width: 1280px;
  overflow: hidden;
  background: var(--noomo-paper-menu);
  border: 1px solid var(--noomo-line);
  border-radius: 0;
}

.project-detail-hero img,
.project-detail-hero video,
.project-detail-gallery img,
.project-detail-gallery video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

iframe.project-youtube-player {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(72px, 11vw, 132px) 0;
}

.project-overview-label,
.project-story-kicker,
.project-story-gallery-title,
.project-documents-title {
  margin: 0;
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-overview-copy h2 {
  max-width: 920px;
  margin-bottom: clamp(24px, 4vw, 42px);
  color: var(--noomo-ink);
  font-family: var(--project-display-font);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.project-overview-lead {
  max-width: 850px;
  margin: 0;
  color: var(--noomo-ink-soft);
  font-family: var(--project-display-font);
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 300;
  line-height: 1.22;
}

.project-overview-copy.has-points,
[data-project-slug="midnight-at-the-pagoda"] .project-overview-copy {
  display: grid;
  gap: clamp(18px, 2.8vw, 34px);
}

.project-overview-copy.has-points h2,
[data-project-slug="midnight-at-the-pagoda"] .project-overview-copy h2 {
  margin-bottom: 0;
}

.project-overview-copy.has-points .project-overview-lead,
[data-project-slug="midnight-at-the-pagoda"] .project-overview-copy .project-overview-lead {
  max-width: 760px;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  line-height: 1.36;
}

.project-overview-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 940px;
  margin: 0;
  padding: clamp(22px, 3vw, 34px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(24, 21, 32, 0.16);
}

.project-overview-points li {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding: 0 clamp(20px, 2.6vw, 34px);
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
}

.project-overview-points li:first-child {
  padding-left: 0;
}

.project-overview-points li + li {
  border-left: 1px solid rgba(24, 21, 32, 0.12);
}

.project-overview-point-label,
.project-overview-point-body {
  display: block;
}

.project-overview-point-label {
  color: var(--noomo-ink);
  font-family: var(--project-body-font);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 500;
  line-height: 1.2;
}

.project-overview-point-body {
  max-width: 26ch;
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: clamp(0.94rem, 1.02vw, 1rem);
  font-weight: 400;
  line-height: 1.52;
}

.project-visual-break {
  width: min(1280px, 100%);
  max-width: 1280px;
  margin-top: 0;
  margin-bottom: clamp(74px, 11vw, 138px);
  overflow: hidden;
  background: var(--noomo-paper-menu);
  border: 1px solid var(--noomo-line);
}

.project-visual-break-list {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
}

.project-visual-break-item {
  margin: 0;
}

.project-visual-break-media {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-visual-break-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: clamp(280px, 42vw, 560px);
  margin: 0;
  padding: clamp(30px, 5vw, 64px);
  place-items: center;
  align-content: center;
  gap: clamp(14px, 2vw, 22px);
  color: rgba(24, 21, 32, 0.52);
  text-align: center;
}

.project-visual-break-placeholder span {
  max-width: 12ch;
  color: rgba(24, 21, 32, 0.44);
  font-family: var(--project-display-font);
  font-size: clamp(2.15rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.96;
}

.project-visual-break-placeholder figcaption {
  max-width: 54ch;
  margin: 0;
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.52;
}

.project-story {
  position: relative;
  width: min(100%, var(--project-story-shell-max, 1180px));
  max-width: var(--project-story-shell-max, 1180px);
  --project-story-list-max: 1180px;
  --project-story-kicker-column: clamp(132px, 15vw, 190px);
  --project-story-block-gap: clamp(24px, 4vw, 54px);
  --project-story-media-max: 100%;
  padding-bottom: clamp(52px, 8vw, 104px);
}

.project-story.has-timeline {
  --project-story-list-max: 980px;
  --project-story-kicker-column: clamp(120px, 13vw, 160px);
  --project-story-media-max: 760px;
}

.project-story-list {
  display: grid;
  width: min(100%, var(--project-story-list-max));
  margin-left: 0;
  gap: clamp(68px, 9vw, 112px);
}

.project-story.has-timeline .project-story-list {
  margin-left: auto;
}

.project-story-block {
  display: grid;
  grid-template-columns: minmax(120px, var(--project-story-kicker-column)) minmax(0, 1fr);
  gap: var(--project-story-block-gap);
  align-items: start;
  min-width: 0;
}

.project-story-content {
  display: grid;
  gap: clamp(16px, 2.6vw, 28px);
  min-width: 0;
}

.project-story-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.project-story-sidebar-media {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
}

.project-story-block.is-paragraph {
  grid-template-columns: minmax(0, 1fr);
}

.project-story-block.is-paragraph > .project-story-content {
  grid-column: 1 / -1;
}

.project-story-block.is-paragraph > .project-story-content > p {
  width: 100%;
  margin-inline: auto;
}

.project-story-block h2 {
  margin-bottom: 0;
  color: var(--noomo-ink);
  font-family: var(--project-display-font);
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.project-story-block p:not(.project-story-kicker) {
  max-width: min(100%, 70ch);
  margin-bottom: 0;
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 400;
  line-height: 1.72;
}

.project-section-media {
  display: grid;
  width: min(100%, var(--project-story-media-max));
  margin: clamp(4px, 1vw, 12px) 0 0;
  overflow: hidden;
  color: rgba(24, 21, 32, 0.46);
  background:
    linear-gradient(183deg, rgba(250, 250, 253, 0.32), rgba(238, 239, 242, 0.28) 28%, rgba(233, 237, 245, 0.32)),
    var(--noomo-paper-menu);
  border: 1px solid var(--noomo-line);
  border-radius: 6px;
}

.project-section-media-list {
  display: grid;
  width: min(100%, var(--project-story-media-max));
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
}

.project-section-media-list.is-multi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-section-media-list.is-multi .project-section-media:first-child {
  grid-column: 1 / -1;
}

.project-section-media-list .project-section-media {
  width: 100%;
}

.project-story-block.has-wide-media {
  row-gap: clamp(24px, 4vw, 52px);
}

.project-story-block.has-wide-media > .project-section-media-list {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  gap: clamp(22px, 4vw, 44px);
  margin-top: clamp(4px, 1vw, 12px);
}

.project-story-block.has-wide-media .project-section-media-list.is-multi {
  grid-template-columns: 1fr;
}

.project-story-block.has-wide-media .project-section-media {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.project-section-media-list.is-impact-gallery .project-section-media {
  border-radius: 0;
}

.project-story-block.has-wide-media .project-section-media.is-placeholder {
  min-height: clamp(360px, 48vw, 680px);
}

.project-section-media-list.is-impact-gallery .project-section-media.is-placeholder {
  min-height: clamp(420px, 56vw, 760px);
}

.project-section-media-list.is-impact-gallery .project-section-media.is-featured.is-placeholder {
  min-height: clamp(460px, 62vw, 820px);
}

.project-section-media-list.is-impact-gallery .project-section-media.is-placeholder span {
  max-width: 14ch;
  font-size: clamp(2.2rem, 6.4vw, 6rem);
  line-height: 0.92;
}

.project-media-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.project-media-open img {
  transition: filter 260ms ease;
}

.project-media-open span {
  position: absolute;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: var(--noomo-paper-light);
  background: rgba(24, 21, 32, 0.78);
  border: 1px solid rgba(222, 231, 241, 0.42);
  border-radius: 999px;
  font-family: var(--project-body-font);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.project-media-open:hover img,
.project-media-open:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
}

.project-media-open:hover span,
.project-media-open:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.project-media-open:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 4px;
}

.project-story-gallery {
  --gallery-row-height: 240px;
  display: grid;
  grid-column: 1 / -1;
  gap: 34px;
  min-width: 0;
}

.project-story-gallery-grid,
.project-story-gallery-flex {
  gap: 22px 16px;
}

.project-story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 4), minmax(0, 1fr));
}

.project-story-gallery-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: auto;
}

.project-gallery-carousel {
  position: relative;
  min-width: 0;
}

.project-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--noomo-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.project-gallery-arrow.is-previous {
  left: -48px;
}

.project-gallery-arrow.is-next {
  right: -48px;
}

.project-gallery-arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-gallery-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.project-gallery-arrow:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 2px;
}

@media (max-width: 1200px) {
  .project-gallery-arrow {
    background: var(--noomo-paper-menu);
    border-radius: 999px;
  }

  .project-gallery-arrow.is-previous {
    left: 4px;
  }

  .project-gallery-arrow.is-next {
    right: 4px;
  }
}

.project-story-gallery-flex:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 4px;
}

.project-story-gallery-item {
  min-width: 0;
  margin: 0;
}

.project-story-gallery .project-media-open {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.project-story-gallery-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-story-gallery-grid:first-of-type .project-story-gallery-media {
  object-position: center top;
}

.project-story-gallery-flex .project-story-gallery-item {
  flex: 0 0 auto;
}

.project-story-gallery-flex .project-media-open {
  width: auto;
  max-width: none;
  height: var(--gallery-row-height);
  aspect-ratio: auto;
}

.project-story-gallery-flex .project-story-gallery-media {
  width: auto;
  max-width: none;
  height: 100%;
}

.project-story-gallery-placeholder {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 22px;
  color: var(--noomo-ink-soft);
  border: 1px dashed var(--noomo-line);
  font-family: var(--project-body-font);
  font-size: 0.88rem;
  text-align: center;
}

.project-documents {
  width: min(1280px, 100%);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.project-documents-title {
  margin: 0 0 34px;
}

.project-document-list {
  display: grid;
  gap: 34px;
  padding-left: clamp(0px, 3vw, 34px);
}

.project-document {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
}

.project-document-authors,
.project-document-status {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.project-document-type,
.project-document-title {
  margin: 0;
  overflow-wrap: anywhere;
}

.project-document-title {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.project-document-title .heading-reveal-inner {
  width: 100%;
}

.project-document-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-document-pdf {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #55535e;
}

.project-document-pdf svg {
  width: 32px;
  height: 36px;
}

a.project-document-pdf:hover {
  color: var(--noomo-ink);
}

a.project-document-pdf:focus-visible {
  outline: 2px solid var(--noomo-ink);
  outline-offset: 4px;
}

.project-document-status {
  color: #55535e;
  font-size: 0.9rem;
}

@media (min-width: 901px) {
  .project-story-gallery-grid:first-of-type .project-media-open {
    height: var(--gallery-row-height);
    aspect-ratio: auto;
  }

  .project-story-gallery-flex {
    min-height: var(--gallery-row-height);
  }
}

@media (max-width: 900px) {
  .project-story-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-story-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.project-section-observation {
  display: grid;
  grid-template-columns: minmax(132px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(22px, 4vw, 52px);
  min-width: 0;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.2);
  border-top: 1px solid var(--noomo-line);
  border-bottom: 1px solid var(--noomo-line);
}

.project-section-observation span {
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-section-observation p {
  max-width: 46ch;
  margin: 0;
  color: var(--noomo-ink);
  font-family: var(--project-display-font);
  font-size: clamp(1.55rem, 3.4vw, 3.7rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.project-section-media.is-contained {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.project-section-media img,
.project-section-media video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-section-media.is-contained img {
  padding: 0;
  object-fit: contain;
}

.project-section-media.is-placeholder {
  min-height: clamp(220px, 28vw, 330px);
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}

.project-section-media.is-placeholder span {
  color: rgba(24, 21, 32, 0.38);
  font-family: var(--project-display-font);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
}

.project-section-media figcaption {
  max-width: 52ch;
  margin: 0;
  color: var(--noomo-muted);
  font-family: var(--project-body-font);
  font-size: 0.88rem;
  line-height: 1.5;
}

body.has-media-dialog {
  overflow: hidden;
}

.project-media-dialog {
  width: fit-content;
  height: fit-content;
  min-width: 0;
  max-width: min(1440px, calc(100vw - 32px));
  max-height: calc(100svh - 112px);
  padding: 0;
  overflow: visible;
  color: var(--noomo-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.project-media-dialog::backdrop {
  background: rgba(24, 21, 32, 0.62);
  backdrop-filter: blur(8px);
}

.project-media-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1440px, calc(100vw - 32px));
  max-height: calc(100svh - 112px);
  object-fit: contain;
  background: transparent;
}

.project-media-dialog-close {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 1;
  min-height: 42px;
  padding: 0 16px;
  color: var(--noomo-paper-light);
  background: rgba(24, 21, 32, 0.86);
  border: 1px solid rgba(222, 231, 241, 0.5);
  border-radius: 999px;
  font-family: var(--project-body-font);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.project-media-dialog-close:focus-visible {
  outline: 2px solid var(--noomo-paper-light);
  outline-offset: 3px;
}

.project-timeline-ghost {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 160px;
  gap: clamp(36px, 6vw, 72px);
  opacity: 0.72;
}

.project-timeline-ghost::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 24px;
  width: 1px;
  background: rgba(24, 21, 32, 0.18);
}

.project-timeline-ghost-item {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 26px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 2px;
  z-index: 1;
  width: 11px;
  height: 11px;
  background: var(--noomo-ink-soft);
  border: 3px solid var(--noomo-paper-light);
  border-radius: 999px;
}

.timeline-logo-slot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 78px;
  height: 42px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--noomo-line);
  border-radius: 8px;
}

.timeline-logo-slot::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--noomo-ink-soft);
  border-radius: 999px;
  opacity: 0.74;
}

.timeline-logo-slot img {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: contain;
}

.timeline-logo-slot.has-logo::before {
  display: none;
}

.timeline-period {
  display: block;
  color: var(--noomo-ink-soft);
  font-family: var(--project-body-font);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-detail-body p {
  color: var(--noomo-muted);
}

.project-detail-gallery {
  display: grid;
  gap: 24px;
  padding-top: clamp(24px, 6vw, 80px);
}

.project-detail-gallery figure {
  margin: 0;
  background: var(--noomo-paper-menu);
  border: 1px solid var(--noomo-line);
  border-radius: 6px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  #skill-cards,
  .project-grid.compact {
    grid-template-columns: 1fr;
  }

  .project-overview,
  .project-story,
  .project-story-block {
    grid-template-columns: 1fr;
  }

  .project-section-observation {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-story-list {
    width: 100%;
    margin-left: 0;
  }

  .project-wip-content {
    margin-right: 0;
  }

  .project-timeline-ghost {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 42px;
  }

  .project-timeline-ghost::before {
    left: 5px;
    right: 0;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .section-ghost.rotate {
    left: -220px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: center;
    gap: 8px;
    padding:
      max(10px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      0
      max(14px, env(safe-area-inset-left));
  }

  .brand {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    font-size: 0.86rem;
  }

  .nav-links {
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 2px;
    max-width: none;
    font-size: 0.78rem;
  }

  .nav-links a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }

  .project-detail-article--wip {
    padding-top: 88px;
  }

  .project-wip-masthead {
    padding-bottom: 72px;
  }

  .project-wip-masthead h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 12vw, 3.5rem);
    line-height: 0.98;
  }

  .project-wip-summary {
    max-width: 34ch;
    font-size: 1rem;
  }

  .project-wip {
    padding-bottom: 76px;
  }

  .project-wip-status {
    gap: 16px;
  }

  .project-wip-status p {
    font-size: 0.84rem;
  }

  .project-wip-content {
    width: 100%;
    margin-top: 54px;
  }

  .project-wip-content h2 {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 14vw, 3.5rem);
  }

  .project-wip-content > p {
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.6;
  }

  .project-wip-actions {
    flex-direction: column;
    margin-top: 32px;
  }

  .project-wip-action {
    width: 100%;
    min-width: 0;
  }

  .project-wip-footer {
    padding: 28px 0 34px;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-poster,
  .hero-video,
  .hero-frost {
    width: 128%;
    max-width: none;
    margin-left: -14%;
    transform: translateY(-3svh);
  }

  .hero-poster,
  .hero-video {
    object-fit: contain;
  }

  .hero-copy {
    padding:
      0
      max(18px, env(safe-area-inset-right))
      clamp(110px, 14svh, 132px)
      max(18px, env(safe-area-inset-left));
  }

  #hero-title {
    font-size: clamp(3.5rem, 17.5vw, 4.25rem);
    line-height: 0.86;
    text-wrap: balance;
  }

  .hero-positioning {
    max-width: 32ch;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-wrap: pretty;
  }

  .hero-primary-link {
    font-size: 0.8rem;
  }

  .hero-fallback {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .hero-scroll-cue {
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
    width: clamp(48px, 14vw, 54px);
  }

  .section {
    width: min(100% - 24px, var(--max));
    margin: 76px auto;
  }

  .projects-section {
    width: 100%;
    margin: 86px 0;
    padding: 0;
  }

  .project-detail {
    padding-bottom: 68px;
  }

  .project-detail > .project-detail-article {
    width: min(100% - 24px, 1280px);
  }

  .project-detail-article {
    padding-top: 96px;
  }

  .project-detail-masthead {
    min-height: 0;
    padding-bottom: 42px;
  }

  .project-detail-masthead h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.75rem);
    line-height: 1;
  }

  .project-hero-info {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-bottom: 34px;
    column-gap: 18px;
  }

  .project-fact {
    margin-bottom: 30px;
  }

  .back-link {
    margin-bottom: 30px;
  }

  .project-tagline {
    margin-left: 0;
  }

  .project-overview {
    padding: 56px 0;
  }

  .project-overview-copy.has-points,
  [data-project-slug="midnight-at-the-pagoda"] .project-overview-copy {
    gap: 20px;
  }

  .project-overview-copy h2,
  .project-story-block h2 {
    font-size: clamp(2rem, 12vw, 3.8rem);
  }

  .project-overview-points {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 22px;
  }

  .project-overview-points li {
    padding: 16px 0;
  }

  .project-overview-points li:first-child {
    padding-top: 0;
  }

  .project-overview-points li + li {
    border-top: 1px solid rgba(24, 21, 32, 0.12);
    border-left: 0;
  }

  .project-overview-point-body {
    max-width: 100%;
  }

  .project-visual-break {
    margin-bottom: 58px;
  }

  .project-visual-break-placeholder {
    aspect-ratio: 4 / 5;
    min-height: clamp(360px, 112vw, 520px);
  }

  .project-section-media-list.is-multi {
    grid-template-columns: 1fr;
  }

  .project-section-media-list.is-impact-gallery .project-section-media.is-placeholder,
  .project-section-media-list.is-impact-gallery .project-section-media.is-featured.is-placeholder {
    min-height: clamp(420px, 118vw, 620px);
  }

  .project-timeline-ghost {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-timeline-ghost::before {
    left: 5px;
    top: 6px;
    bottom: 24px;
    width: 1px;
    height: auto;
  }

  .section-ghost {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .section-ghost.rotate {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: -12px;
  }

  .skill-card {
    padding: 24px 18px;
  }

  .resume-list {
    gap: 28px;
  }

  .resume-entry {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .resume-entry-mark {
    width: 48px;
    height: 48px;
  }

  .resume-entry-mark-placeholder {
    width: 44px;
    height: 44px;
    font-size: 0.78rem;
  }

  .resume-entry-institution {
    margin-bottom: 5px;
  }

  .resume-entry-meta {
    display: grid;
    gap: 1px;
  }

  .resume-entry-period::before,
  .resume-entry-location::before {
    content: none;
  }

  .contact-section .section-ghost,
  .skills-section .section-ghost,
  .artist-detail-section .section-ghost {
    top: -46px;
    left: 0;
  }

  .projects-section-ghost {
    top: -46px;
    left: 12px;
  }

  .project-group-ghost {
    top: -44px;
    left: 0;
  }
}

@media (max-width: 360px) {
  .nav-links {
    column-gap: 1px;
  }

  .nav-links a {
    padding-inline: 1px;
  }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .site-header {
    position: absolute;
    align-items: center;
    padding:
      max(6px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      0
      max(16px, env(safe-area-inset-left));
  }

  .brand,
  .nav-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: 16px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 360px;
    height: 100svh;
  }

  .hero-poster,
  .hero-video,
  .hero-frost {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: scale(1.02);
  }

  .hero-poster,
  .hero-video {
    object-fit: cover;
  }

  .hero-copy {
    padding:
      0
      max(18px, env(safe-area-inset-right))
      48px
      max(18px, env(safe-area-inset-left));
  }

  #hero-title {
    font-size: clamp(3.6rem, 9vw, 5rem);
    line-height: 0.84;
  }

  .hero-positioning {
    max-width: 44ch;
    margin-bottom: 8px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-primary-link {
    font-size: 0.72rem;
  }

  .hero-fallback {
    top: max(62px, calc(env(safe-area-inset-top) + 54px));
    right: max(16px, env(safe-area-inset-right));
    bottom: auto;
  }

  .hero-scroll-cue {
    left: auto;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: 44px;
    transform: none;
  }

  .hero-scroll-cue:hover,
  .hero-scroll-cue:focus-visible {
    transform: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .hero-scroll-cue {
    opacity: 0.72;
  }

  .nav-links a:active,
  .hero-scroll-cue:active {
    opacity: 0.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artist-disclosure::details-content,
  .artist-disclosure-mark-arrow {
    transition: none;
  }

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

  .hero-scroll-cue:hover .scroll-cue-media img,
  .hero-scroll-cue:focus-visible .scroll-cue-media img {
    transform: scale(1);
  }

  .skill-card:hover,
  .skill-card:focus-within,
  .skill-card:hover::after,
  .skill-card:focus-within::after,
  .project-card:hover,
  .project-card:focus-visible,
  .project-card:hover::before,
  .project-card:focus-visible::before,
  .project-card:hover .project-thumb img,
  .project-card:hover .project-thumb video,
  .project-card:focus-visible .project-thumb img,
  .project-card:focus-visible .project-thumb video,
  .skill-capsule:hover {
    transform: none;
  }

}

/* Midnight at the Pagoda: portfolio case-study narrative */
[data-project-slug="midnight-at-the-pagoda"] .project-visual-break {
  width: min(1000px, 100%);
  background: transparent;
  border: 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-visual-break-item figcaption {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #55535e;
  font-family: var(--project-body-font);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story {
  --project-story-shell-max: 1280px;
  --project-story-list-max: var(--project-story-shell-max);
  --project-story-media-max: 100%;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-list {
  gap: clamp(104px, 14vw, 174px);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block {
  scroll-margin-top: 92px;
}

@media (min-width: 901px) {
  [data-project-slug="midnight-at-the-pagoda"] .project-overview,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.has-kicker {
    grid-template-columns: minmax(120px, 0.22fr) minmax(0, 0.78fr);
    column-gap: clamp(26px, 5vw, 70px);
  }
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-content {
  gap: clamp(18px, 2.5vw, 30px);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-content > * {
  min-width: 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block h2 {
  width: 100%;
  max-width: 15ch;
  overflow-wrap: anywhere;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block p:not(.project-story-kicker) {
  color: #4f4d58;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.has-wide-media > .project-section-media-list {
  margin-top: clamp(10px, 2vw, 24px);
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-media {
  background: rgba(219, 224, 239, 0.58);
  border-color: rgba(24, 21, 32, 0.16);
  border-radius: 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-media figcaption {
  max-width: none;
  padding: 12px 14px 14px;
  color: #55535e;
  background: rgba(222, 231, 241, 0.78);
  border-top: 1px solid rgba(24, 21, 32, 0.1);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: clamp(8px, 1.5vw, 18px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(24, 21, 32, 0.2);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-points li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px clamp(20px, 3vw, 34px) 0 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-points li + li {
  padding-right: 0;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid rgba(24, 21, 32, 0.14);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-points span {
  color: var(--noomo-ink);
  font-family: var(--project-body-font);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-points p {
  font-size: 0.98rem;
  line-height: 1.58;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent {
  align-items: first baseline;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-story-content {
  grid-column: 2;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-story-content,
[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-evidence .project-story-content {
  grid-column: 1 / -1;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent h2 {
  max-width: 16ch;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process h2 {
  max-width: 17ch;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-story-content > p {
  max-width: 64ch;
  margin-left: clamp(0px, 18vw, 220px);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  min-height: 390px;
  margin: clamp(12px, 2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps li {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 208px;
  padding: 22px clamp(14px, 2vw, 24px) 0;
  border-top: 1px solid rgba(24, 21, 32, 0.26);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: clamp(14px, 2vw, 24px);
  width: 9px;
  height: 9px;
  background: var(--noomo-ink);
  border-radius: 999px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(2) {
  margin-bottom: 48px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(3) {
  margin-bottom: 96px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(4) {
  margin-bottom: 144px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-step-marker {
  color: #62606b;
  font-family: var(--project-body-font);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps h3,
[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline h3,
[data-project-slug="midnight-at-the-pagoda"] .project-story-columns h3 {
  margin: 0;
  color: var(--noomo-ink);
  font-family: var(--project-display-font);
  font-weight: 400;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps h3 {
  max-width: 14ch;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.12;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-steps p {
  font-size: 0.94rem;
  line-height: 1.56;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent > .project-section-media-list.is-multi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-section-media {
  display: grid;
  grid-template-rows: auto 1fr;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-section-media:first-child,
[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-section-media:first-child {
  grid-column: auto;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-section-media-asset {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-story-content {
  grid-column: 2;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping {
  margin-top: clamp(10px, 2vw, 22px);
  border-top: 1px solid rgba(24, 21, 32, 0.26);
  border-bottom: 1px solid rgba(24, 21, 32, 0.26);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-head,
[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(180px, 1.1fr) minmax(200px, 1.2fr);
  gap: clamp(16px, 2.4vw, 30px);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-head {
  padding: 13px 0;
  color: #62606b;
  font-family: var(--project-body-font);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row {
  padding: 20px 0 22px;
  border-top: 1px solid rgba(24, 21, 32, 0.12);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row p {
  font-size: 0.94rem;
  line-height: 1.55;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row p:first-child {
  color: var(--noomo-ink);
  font-weight: 600;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction > .project-section-media-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  width: 100%;
  margin-left: auto;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media.is-featured {
  grid-column: 1 / -1;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media {
  display: grid;
  grid-template-rows: auto 1fr;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media-asset {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media.is-featured .project-section-media-asset {
  object-fit: cover;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 52px);
  margin: clamp(20px, 3vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(24, 21, 32, 0.22);
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 28px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--noomo-ink);
  border: 3px solid var(--noomo-paper-light);
  border-radius: 999px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline .timeline-logo-slot {
  width: 94px;
  height: 48px;
  margin: 0;
  border-radius: 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline-period {
  color: #62606b;
  font-family: var(--project-body-font);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.12;
}

[data-project-slug="midnight-at-the-pagoda"] .project-section-timeline p {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.56;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process > .project-section-media-list.is-multi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  align-items: stretch;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-section-media {
  display: grid;
  grid-template-rows: auto 1fr;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-media-open {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-section-media-asset:not(.project-youtube-player) {
  height: 100%;
  object-fit: cover;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(16px, 3vw, 34px);
  border-top: 1px solid rgba(24, 21, 32, 0.26);
  border-bottom: 1px solid rgba(24, 21, 32, 0.26);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns.is-single {
  grid-template-columns: 1fr;
  width: min(100%, 760px);
  margin-left: auto;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns section {
  padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 48px) 0;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns section + section {
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 48px);
  border-left: 1px solid rgba(24, 21, 32, 0.16);
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.05;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns li {
  position: relative;
  padding-left: 18px;
  color: #4f4d58;
  font-family: var(--project-body-font);
  font-size: 0.98rem;
  line-height: 1.55;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-columns li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--noomo-ink);
  border-radius: 999px;
}

[data-project-slug="midnight-at-the-pagoda"] .project-story-closing {
  max-width: 34ch;
  margin: clamp(24px, 4vw, 48px) 0 0 auto;
  color: var(--noomo-ink) !important;
  font-family: var(--project-display-font) !important;
  font-size: clamp(1.5rem, 3vw, 2.8rem) !important;
  font-weight: 300;
  line-height: 1.12 !important;
  text-wrap: balance;
}

@media (max-width: 900px) {
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-story-content,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-story-content,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-story-content,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-evidence .project-story-content {
    grid-column: 1;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-story-content > p,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-story-content > p {
    grid-column: 1;
    margin-left: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    gap: 32px 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(2),
  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(3),
  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li:nth-child(4) {
    min-height: 0;
    margin-bottom: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-head,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row {
    grid-template-columns: minmax(100px, 0.75fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  [data-project-slug="midnight-at-the-pagoda"] .project-story-list {
    gap: 84px;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-block h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.5rem);
    line-height: 1;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-points,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps,
  [data-project-slug="midnight-at-the-pagoda"] .project-section-timeline,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-columns {
    grid-template-columns: 1fr;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-points li,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-points li + li {
    padding: 18px 0;
    border-left: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-points li + li {
    border-top: 1px solid rgba(24, 21, 32, 0.12);
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps {
    gap: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li {
    padding: 22px 0 28px 26px;
    border-top: 0;
    border-left: 1px solid rgba(24, 21, 32, 0.24);
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-steps li::before {
    top: 26px;
    left: -5px;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent > .project-section-media-list.is-multi,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction > .project-section-media-list.is-multi,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process > .project-section-media-list.is-multi {
    grid-template-columns: 1fr;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-ascent .project-section-media,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-process .project-section-media,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-block.is-interaction .project-section-media.is-featured {
    grid-column: auto;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-head {
    display: none;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row p,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row p:nth-child(2) {
    display: block;
    padding-left: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-mapping-row p::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #62606b;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-section-timeline {
    gap: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-section-timeline::before {
    top: 0;
    bottom: 0;
    left: 5px;
    width: 1px;
    height: auto;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-section-timeline li {
    padding: 0 0 38px 28px;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-section-timeline li::before {
    top: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-columns section,
  [data-project-slug="midnight-at-the-pagoda"] .project-story-columns section + section {
    padding: 24px 0 28px;
    border-left: 0;
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-columns section + section {
    border-top: 1px solid rgba(24, 21, 32, 0.14);
  }

  [data-project-slug="midnight-at-the-pagoda"] .project-story-closing {
    margin-left: 0;
    font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
  }
}
