:root {
  --bg: #ffffff;
  --ink: #101010;
  --muted: rgba(16, 16, 16, .48);
  --line: rgba(16, 16, 16, .12);
  --soft: rgba(16, 16, 16, .055);
  --pad: clamp(18px, 3vw, 40px);
  --radius: 6px;
  --gap: 12px;
  --media-gap: 12px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.16;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a, button {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
a:hover, button:hover { color: var(--ink); }
img, video { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 17px var(--pad) 0;
  pointer-events: none;
}
.site-header a,
.site-header button { pointer-events: auto; }
.brand-lockup {
  justify-self: start;
  display: flex;
  gap: clamp(28px, 4.2vw, 64px);
  align-items: baseline;
  min-width: 0;
}
.brand { font-weight: 400; }
.brand-meta {
  color: var(--muted);
  white-space: nowrap;
}
.nav {
  justify-self: end;
  display: flex;
  gap: 18px;
  color: var(--muted);
}
.nav .is-active { color: var(--ink); }
.nav .is-active::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 7px;
  border-radius: 999px;
  background: var(--muted);
  vertical-align: middle;
  transform: translateY(-1px);
  animation: work-dot-heartbeat 8.8s cubic-bezier(.2, .74, .18, 1) infinite;
}
@keyframes work-dot-heartbeat {
  0%, 88%, 100% { opacity: .72; transform: translateY(-1px) scale(1); }
  2% { opacity: 1; transform: translateY(-1px) scale(1.85); }
  4.4% { opacity: .34; transform: translateY(-1px) scale(.82); }
  7% { opacity: .9; transform: translateY(-1px) scale(1.28); }
  10% { opacity: .72; transform: translateY(-1px) scale(1); }
}

.river-viewport {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 108px 0 94px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.river-stage {
  width: calc(100vw - (var(--pad) * 2));
  height: min(68svh, 620px);
  position: relative;
  overflow: hidden;
}
.river-track {
  position: absolute;
  left: 0;
  top: 50%;
  height: var(--track-h, 560px);
  display: flex;
  align-items: stretch;
  gap: var(--media-gap);
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  transform-origin: 0 50%;
  transition: opacity .16s ease, filter .16s ease;
  will-change: transform, opacity, filter;
}
.river-viewport.is-switching .river-track {
  opacity: .001;
  filter: blur(8px);
}
.river-column {
  flex: 0 0 var(--col-w, auto);
  width: var(--col-w, auto);
  height: 100%;
  display: grid;
  gap: var(--media-gap);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  justify-items: start;
  transform: none;
  transform-origin: center;
  will-change: filter, opacity;
  z-index: var(--focus-z, 1);
  animation: media-column-arrive .9s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--stagger, 0ms);
}
.river-column.is-double { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.river-column.is-art-direction {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.river-column.is-art-direction .river-slot { width: 100%; }
.river-column.is-art-direction.art-layout-right-bottom,
.river-column.is-art-direction.art-layout-right-top {
  grid-template-columns: var(--art-hero-w) var(--art-side-w);
}
.river-column.is-art-direction.art-layout-left-bottom,
.river-column.is-art-direction.art-layout-left-top {
  grid-template-columns: var(--art-side-w) var(--art-hero-w);
}
.art-layout-right-bottom .art-hero,
.art-layout-right-top .art-hero { grid-column: 1; grid-row: 1 / -1; }
.art-layout-left-bottom .art-hero,
.art-layout-left-top .art-hero { grid-column: 2; grid-row: 1 / -1; }
.art-layout-right-bottom .art-portrait,
.art-layout-right-top .art-copy-card { grid-column: 2; grid-row: 1; }
.art-layout-right-bottom .art-copy-card,
.art-layout-right-top .art-portrait { grid-column: 2; grid-row: 2; }
.art-layout-left-bottom .art-portrait,
.art-layout-left-top .art-copy-card { grid-column: 1; grid-row: 1; }
.art-layout-left-bottom .art-copy-card,
.art-layout-left-top .art-portrait { grid-column: 1; grid-row: 2; }
.river-slot {
  width: var(--slot-w, 100%);
  height: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
}
.media-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  transform: translateZ(0);
  transform-origin: center;
  will-change: auto;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  animation: media-wash .95s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--stagger, 0ms) + 80ms);
}
@keyframes media-column-arrive {
  0% { opacity: 0; filter: blur(10px) saturate(.88); }
  35% { opacity: 1; filter: blur(1px) saturate(.98); }
  100% { opacity: 1; filter: blur(0) saturate(1); }
}
@keyframes media-wash {
  0% { opacity: 1; }
  32% { opacity: .64; }
  100% { opacity: 0; }
}
.media-frame img,
.media-frame video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  background: transparent;
  pointer-events: none;
  transform-origin: center;
}
.media-wordmark {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.2vw, 38px);
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(255,255,255,.90);
  font-size: clamp(27px, 4.6vw, 66px);
  line-height: .82;
  letter-spacing: -.105em;
  font-weight: 650;
  mix-blend-mode: screen;
  pointer-events: none;
  white-space: nowrap;
}
.river-column.is-near .media-frame { filter: saturate(1.01) contrast(1); }
.river-column:not(.is-near) .media-frame { filter: saturate(.94) contrast(.98); }
.art-copy-card {
  border-radius: var(--radius);
  background: var(--soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3.2vw, 40px);
  color: var(--ink);
  box-shadow: none;
  overflow: hidden;
}
.art-copy-card p {
  margin: 0;
  max-width: 360px;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.13;
  letter-spacing: -.025em;
  font-weight: 400;
  text-wrap: balance;
}
.art-copy-card span { color: var(--muted); }

.bottom-ui {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: 30px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(90px, 180px) minmax(0, 1fr) minmax(90px, 180px);
  gap: clamp(28px, 5vw, 92px);
  align-items: baseline;
  color: var(--muted);
  pointer-events: none;
}
.project-index-button,
.project-line,
.next-project { pointer-events: auto; }
.project-index-button {
  justify-self: start;
  color: var(--muted);
}
.project-line {
  justify-self: center;
  display: flex;
  gap: 14px;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  color: var(--muted);
  transition: opacity .28s ease, filter .28s ease, transform .28s ease;
}
.river-viewport.is-switching + .bottom-ui .project-line {
  opacity: .34;
  filter: blur(5px);
  transform: translateY(2px);
}
.project-line strong {
  max-width: min(48vw, 560px);
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  font-weight: 400;
}
.next-project {
  justify-self: end;
  color: var(--muted);
}
.project-index-panel {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  align-items: end;
  color: var(--muted);
  background: rgba(255, 255, 255, .38);
  backdrop-filter: blur(22px) saturate(.96);
  -webkit-backdrop-filter: blur(22px) saturate(.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.project-index-panel[hidden] { display: none; }
.project-index-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.project-index-sheet {
  width: 100%;
  min-height: min(52svh, 460px);
  padding: 24px var(--pad) 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px clamp(32px, 5vw, 90px);
  align-content: start;
  background: rgba(255, 255, 255, .76);
  border-top: 1px solid rgba(16, 16, 16, .08);
  transform: translateY(100%);
  transition: transform .34s cubic-bezier(.2, .74, .18, 1);
}
.project-index-panel.is-visible .project-index-sheet { transform: translateY(0); }
.project-index-title {
  grid-column: 1 / -1;
  margin-bottom: 16px;
  color: var(--ink);
}
.project-index-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  width: 100%;
  text-align: left;
  color: var(--muted);
  line-height: 1.16;
}
.project-index-number { color: inherit; }
.project-index-copy {
  display: grid;
  gap: 3px;
}
.project-index-item strong { font-weight: 400; color: inherit; }
.project-index-item em {
  font-style: normal;
  color: rgba(16, 16, 16, .38);
}
.project-index-item.is-active,
.project-index-item:hover { color: var(--ink); }
.project-index-item.is-active em,
.project-index-item:hover em { color: var(--muted); }
.dragging { cursor: grabbing; }

.info-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .54);
  color: var(--ink);
  padding: 76px var(--pad) 34px;
  overflow: auto;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: overlay-in .22s ease both;
}
.info-overlay[hidden] { display: none; }
@keyframes overlay-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.overlay-top {
  position: fixed;
  top: 17px;
  left: var(--pad);
  right: var(--pad);
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr minmax(230px, 290px) auto;
  gap: 28px;
  color: var(--ink);
}
.overlay-section { grid-column: 2; justify-self: start; }
.overlay-top button { grid-column: 3; justify-self: end; }
.overlay-top-info {
  left: 50%;
  right: auto;
  width: min(860px, calc(100vw - (var(--pad) * 2)));
  grid-template-columns: 1fr auto;
  transform: translateX(-50%);
}
.overlay-top-info .overlay-section { grid-column: 1; justify-self: start; }
.overlay-top-info button { grid-column: 2; justify-self: end; }
.info-layout {
  width: min(860px, 100%);
  min-height: auto;
  margin: 0 auto;
  display: block;
}
.info-copy-block {
  display: grid;
  gap: clamp(44px, 7svh, 72px);
  max-width: 330px;
  padding-top: 0;
}
.info-bio {
  margin: 0;
  display: grid;
  gap: .88em;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 400;
}
.info-bio p { margin: 0; }
.info-links {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.arena-board-strip {
  display: grid;
  gap: 12px;
  width: min(860px, 100%);
  margin: auto auto 0;
  padding-top: 0;
}
.section-kicker {
  margin: 0 0 4px;
  color: var(--muted);
}
.arena-board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.arena-board-grid-more { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.arena-board-card {
  min-height: 92px;
  border: 1px solid rgba(16, 16, 16, .10);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, .30);
}
.arena-board-card span:last-child { color: var(--muted); }

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.58);
  color: var(--ink);
  opacity: 0;
  cursor: pointer;
  backdrop-filter: blur(28px) saturate(.92);
  -webkit-backdrop-filter: blur(28px) saturate(.92);
  transition: opacity .42s ease, filter .42s ease, backdrop-filter .42s ease;
}
.intro-screen.is-visible { opacity: 1; }
.intro-screen.is-done {
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
}
.intro-card {
  display: grid;
  gap: 10px;
  text-align: center;
  transform: translateY(4px);
  transition: transform .52s cubic-bezier(.2, .74, .18, 1);
}
.intro-screen.is-visible .intro-card { transform: translateY(0); }
.intro-name,
.intro-meta { margin: 0; }
.intro-name,
.intro-meta,
.intro-links {
  opacity: 0;
  filter: blur(8px);
  animation: intro-text-arrive .95s cubic-bezier(.16, 1, .3, 1) forwards;
}
.intro-name { animation-delay: .12s; }
.intro-meta { animation-delay: .22s; }
.intro-links { animation-delay: .34s; }
@keyframes intro-text-arrive {
  0% { opacity: 0; filter: blur(9px); transform: translateY(4px); }
  42% { opacity: 1; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.intro-name span,
.intro-meta,
.intro-links { color: var(--muted); }
.intro-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.intro-enter {
  margin-top: 20px;
  opacity: 0;
  color: var(--muted);
  animation: intro-enter-in .8s ease .9s forwards;
}
@keyframes intro-enter-in {
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .arena-board-grid-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 12px; }
  .brand-meta { display: none; }
  .river-viewport { padding: 86px 0 88px; }
  .river-stage { height: 66svh; }
  .bottom-ui {
    bottom: 28px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
  }
  .project-line { overflow: hidden; }
  .project-line strong { max-width: 42vw; }
  .project-index-sheet {
    min-height: 62svh;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .overlay-top,
  .overlay-top-info {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  .overlay-section { grid-column: 1; }
  .overlay-top button,
  .overlay-top-info button {
    position: static;
    grid-column: 2;
  }
  .info-layout {
    display: block;
    min-height: auto;
  }
  .info-copy-block { padding-top: 0; gap: 42px; }
  .arena-board-strip {
    margin-top: 0;
    padding-top: clamp(150px, 26svh, 240px);
  }
  .section-kicker,
  .arena-board-card { line-height: 1.16; }
  .arena-board-grid,
  .arena-board-grid-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arena-board-card {
    min-height: 78px;
    padding: 10px 12px;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { gap: 14px; }
  .river-stage { height: 62svh; }
  .bottom-ui { grid-template-columns: auto 1fr auto; gap: 12px; }
  .project-line strong { display: none; }
  .arena-board-strip { padding-top: clamp(170px, 28svh, 260px); }
  .arena-board-grid,
  .arena-board-grid-more { grid-template-columns: 1fr; }
  .arena-board-card {
    min-height: 68px;
    padding: 9px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
