:root {
  --bg: #0a0d0c;
  --bg-soft: #0f1311;
  --surface: #141916;
  --surface-2: #1a201c;
  --paper: #f1f2eb;
  --paper-soft: #dfe3da;
  --muted: #9ca59d;
  --line: rgba(241, 242, 235, 0.15);
  --line-strong: rgba(241, 242, 235, 0.28);
  --accent: #b4dd7d;
  --accent-ink: #16200f;
  --side: clamp(20px, 4vw, 66px);
  --max: 1500px;
  --header-h: 72px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open {
  overflow: hidden;
}
html.hero-intro-pending,
html.hero-intro-pending body {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  overflow: hidden;
  place-items: center;
  background: #0f1311;
  pointer-events: auto;
  contain: strict;
}
html.hero-intro-pending .hero-intro-overlay {
  display: grid;
}
.hero-intro-panel {
  position: absolute;
  inset: -2px;
  z-index: 1;
  background: #0f1311;
}
.hero-intro-panel-top {
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.hero-intro-panel-bottom {
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.hero-intro-wordmark {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 76px;
  height: 50px;
  padding-inline: 15px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--bg);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 0;
}
.hero-intro-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 8px;
  z-index: 2;
  background: var(--paper);
  transform-origin: 50% 50%;
}

/* Annnimate Text Reveal: line masks are created at runtime by SplitText. */
.text-reveal-ready [data-anm-scroll-text-reveal] {
  visibility: hidden;
  overflow-wrap: break-word;
  transform: translateZ(0);
}
[data-anm-scroll-text-reveal] .split-line {
  display: block;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

/* Cursor lens: a contrasting editorial phrase is aligned to the hovered text.
   The palette flips on light panels so dark typography stays crisp. */
.text-cursor-lens {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 96;
  width: 18px;
  height: 18px;
  overflow: hidden;
  contain: strict;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height, opacity;
}
.text-cursor-copy {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  margin: 0;
  color: var(--accent-ink);
  white-space: pre-wrap;
  text-wrap: wrap;
  pointer-events: none;
  will-change: transform;
}
.text-cursor-lens.is-over-dark-text {
  background: var(--bg-soft);
}
.text-cursor-lens.is-over-dark-text .text-cursor-copy {
  color: var(--accent);
}

@media (max-width: 1099px), (hover: none), (pointer: coarse) {
  .text-cursor-lens {
    display: none;
  }
}

.page-shell {
  width: min(calc(100% - 2 * var(--side)), var(--max));
  margin-inline: auto;
}
.section-pad {
  padding-block: clamp(92px, 11vw, 176px);
}

/* Global serpentine camera. Desktop only; the original document flow remains
   the mobile and reduced-motion experience. */
.zigzag-camera-stage,
.zigzag-scroll-spacer,
.zigzag-chapter {
  display: none;
}

html.zigzag-scroll-enabled {
  scroll-behavior: auto;
}
html.zigzag-scroll-enabled body {
  overflow-x: hidden;
}
html.zigzag-scroll-enabled .zigzag-camera-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
  will-change: opacity;
  perspective: 1400px;
}
html.zigzag-scroll-enabled main#top {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  margin: 0;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
}
html.zigzag-scroll-enabled .zigzag-scroll-spacer {
  position: relative;
  z-index: 0;
  display: block;
  width: 1px;
  pointer-events: none;
}
html.zigzag-scroll-enabled .zigzag-chapter {
  position: absolute;
  display: block;
  overflow: visible;
  background: var(--bg);
}
html.zigzag-scroll-enabled .zigzag-chapter-build,
html.zigzag-scroll-enabled .zigzag-chapter-featured,
html.zigzag-scroll-enabled .zigzag-chapter-films {
  background: var(--bg-soft);
}
html.zigzag-scroll-enabled .zigzag-chapter > section,
html.zigzag-scroll-enabled .zigzag-chapter > div {
  width: 100%;
}
html.zigzag-scroll-enabled .zigzag-chapter-build > .projects-head {
  background: var(--bg-soft);
}
html.zigzag-scroll-enabled .project-scale-slider {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  will-change: transform;
}
.zigzag-seam {
  position: absolute;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.zigzag-seam-vertical {
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(180, 221, 125, 0.64);
  box-shadow:
    -16px 0 38px rgba(180, 221, 125, 0.12),
    16px 0 38px rgba(180, 221, 125, 0.12);
}
.zigzag-seam-horizontal {
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(180, 221, 125, 0.52);
  box-shadow:
    0 -14px 34px rgba(180, 221, 125, 0.1),
    0 14px 34px rgba(180, 221, 125, 0.1);
}
.zigzag-transition-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 74;
  display: block;
  overflow: clip;
  contain: paint;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.zigzag-transition-focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 72vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(180, 221, 125, 0.16) 0,
    rgba(180, 221, 125, 0.065) 24%,
    transparent 66%
  );
  transform-origin: center;
  will-change: transform, opacity;
}
.zigzag-transition-sweep {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  will-change: transform, opacity;
}
[data-zigzag-transition="horizontal"] .zigzag-transition-sweep {
  width: 34vw;
  height: 136%;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(241, 242, 235, 0.018) 18%,
    rgba(180, 221, 125, 0.13) 48%,
    rgba(241, 242, 235, 0.025) 72%,
    transparent 100%
  );
}
[data-zigzag-transition="vertical"] .zigzag-transition-sweep {
  width: 136%;
  height: 30vh;
  background: linear-gradient(
    180deg,
    transparent 0,
    rgba(241, 242, 235, 0.018) 18%,
    rgba(180, 221, 125, 0.11) 48%,
    rgba(241, 242, 235, 0.022) 72%,
    transparent 100%
  );
}
.zigzag-transition-vignette {
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 42%,
    rgba(5, 8, 6, 0.2) 70%,
    rgba(4, 6, 5, 0.68) 100%
  );
  will-change: opacity;
}
html.zigzag-scroll-enabled .site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--side);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}
.site-header.is-solid {
  background: rgba(10, 13, 12, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 30px;
  padding-inline: 8px;
  background: var(--paper);
  color: var(--bg);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-name {
  font-size: 13px;
  color: var(--paper-soft);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: 12px;
  background: linear-gradient(90deg, #b4dd7d 0%, #b4dd7d 50%);
  drop-shadow: 0 0 12px rgba(180, 221, 125, 0.42);
  height: 100%;
  position: absolute;
  right: 0;
  padding-inline: var(--side);
  border-bottom-left-radius: 999px;
}
.desktop-nav a,
.text-button {
  color: #c9cfc8;
  transition: color 0.2s ease;
  color: black;
  font-weight: 600;
  letter-spacing: 1px;
}
.desktop-nav a:hover,
.text-button:hover {
  color: var(--paper);
}
.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--paper);
  margin: 6px auto;
  transition: transform 0.3s var(--ease);
}
.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  background: var(--bg-soft);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s;
}
.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.menu-panel-inner {
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 58px;
}
.menu-kicker,
.dialog-kicker {
  margin: 0 0 26px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.menu-panel nav {
  display: grid;
  gap: 8px;
}
.menu-panel nav a,
.menu-panel nav button {
  width: fit-content;
  border: 0;
  background: none;
  padding: 2px 0;
  color: var(--paper);
  font-size: clamp(42px, 11vw, 84px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
  cursor: pointer;
}
.menu-note {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}
.hero-media {
  transform: none;
}
.hero-media img {
  object-position: 53% center;
}
.hero-scrim {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 10, 8, 0.86) 0%,
      rgba(7, 10, 8, 0.46) 46%,
      rgba(7, 10, 8, 0.14) 76%
    ),
    linear-gradient(0deg, rgba(7, 10, 8, 0.72) 0%, rgba(7, 10, 8, 0.02) 52%);
}

/* Hero Curtain Slider, adapted from the supplied Annnimate starter pack. */
.hero-curtain {
  --cs-bg: #101411;
  --cs-fg: rgba(241, 242, 235, 0.94);
  --cs-pill-bg: rgba(10, 13, 12, 0.42);
  --cs-circle: rgba(241, 242, 235, 0.08);
  --cs-circle-hover: rgba(241, 242, 235, 0.18);
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--cs-bg);
  background-image: url("https://bigexpansion.fr/images/hero_services/551-Banni%C3%A8re%20pointe%20de%20Trivaux.webp");
  background-size: cover;
  background-position: 53% center;
  touch-action: pan-y;
  outline: none;
}
.hero-curtain:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}
.hero-curtain .cs_slides {
  display: none;
}
.hero-curtain .cs_stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-curtain .cs_layers {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-curtain .cs_layer {
  position: absolute;
  inset: 0;
}
.hero-curtain .cs_strip {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
}
.hero-curtain .cs_strip_inner {
  position: absolute;
  top: 0;
  height: 100%;
}
.hero-curtain .cs_layer_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  transform-origin: 50% 50%;
  filter: saturate(0.8) contrast(1.04);
}
.hero-curtain .cs_shade {
  position: absolute;
  inset: 0;
  background: #080b0a;
  opacity: 0;
  pointer-events: none;
}
.hero-curtain .cs_scrim,
.hero-curtain .cs_label,
.hero-curtain .cs_title,
.hero-curtain .cs_index,
.hero-curtain .cs_progress {
  display: none;
}
.hero-curtain .cs_pill {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(241, 242, 235, 0.16);
  border-radius: 999px;
  background: var(--cs-pill-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}
.hero-curtain .cs_arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cs-circle);
  color: var(--cs-fg);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.hero-curtain .cs_arrow:hover {
  background: var(--cs-circle-hover);
}
.hero-curtain .cs_arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero-curtain .cs_arrow_icon {
  display: block;
  width: 16px;
  height: 16px;
}
.hero-curtain .cs_live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero-curtain .cs_line_out {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  min-width: 100%;
}
.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 50px;
  padding-top: var(--header-h);
  padding-bottom: clamp(36px, 5vw, 72px);
}
.hero-copy {
  max-width: 920px;
  align-self: center;
}
.hero-kicker {
  margin: 0 0 28px;
  color: var(--paper-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero-title {
  margin: 0;
  font-size: clamp(64px, 8.1vw, 126px);
  line-height: 0.86;
  letter-spacing: -0.078em;
  font-weight: 500;
}
.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.title-line > span {
  position: relative;
  display: block;
}
.hero-title-row {
  position: relative;
  display: block;
  width: max-content;
  white-space: nowrap;
}
.hero-title-row.is-outgoing {
  position: absolute;
  inset: 0 auto auto 0;
}
.hero-title-char {
  position: relative;
  display: inline-block;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.hero-intro {
  margin: 28px 0 0;
  max-width: 600px;
  color: #d7dcd5;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.button:active {
  transform: scale(0.96);
}
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.button-primary:hover {
  background: #c0e893;
}
.button-ghost {
  background: rgba(13, 17, 15, 0.36);
  color: var(--paper);
  border-color: rgba(241, 242, 235, 0.42);
  backdrop-filter: blur(10px);
}
.button-ghost:hover {
  background: rgba(241, 242, 235, 0.11);
  border-color: rgba(241, 242, 235, 0.65);
}
.button-large {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 13px;
}
.hero-project {
  justify-self: end;
  width: min(100%, 360px);
  padding: 20px 0 4px 26px;
  border-left: 1px solid rgba(241, 242, 235, 0.42);
}
.hero-project-heading {
  margin-bottom: 20px;
}
.hero-project-heading p {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.hero-project-heading p,
.hero-project dd {
  transition:
    opacity 0.22s ease,
    transform 0.32s var(--ease);
}
.hero-project.is-switching .hero-project-heading p,
.hero-project.is-switching dd {
  opacity: 0.18;
  transform: translateY(5px);
}
.hero-project dl {
  margin: 0;
  display: grid;
  gap: 14px;
}
.hero-project dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.hero-project dt {
  color: var(--muted);
}
.hero-project dd {
  margin: 0;
  color: var(--paper);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.facts {
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.fact {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.fact strong {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fact-wide strong {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.fact span {
  max-width: 190px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.statement {
  min-height: 76vh;
  display: grid;
  align-items: center;
}
.statement-text {
  margin: 0;
  max-width: 1240px;
  font-size: clamp(46px, 6.7vw, 102px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 450;
}

.projects {
  background: var(--bg-soft);
}
.projects-head {
  padding-bottom: clamp(50px, 7vw, 90px);
}
.section-title {
  margin: 0;
  max-width: 1050px;
  font-size: clamp(50px, 6.5vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.064em;
  font-weight: 500;
}
.section-copy {
  margin: 22px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.project-scale-story {
  position: relative;
  min-height: 500vh;
  background: #080b0a;
}
.project-scale-slider {
  --project-scale-progress: 0;
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: #080b0a;
  touch-action: pan-y;
  cursor: grab;
  isolation: isolate;
}
.project-scale-slider.is-dragging {
  cursor: grabbing;
}
.project-scale-slider:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.project-scale-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.project-scale-card {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  overflow: hidden;
  transform-origin: 0 100%;
  backface-visibility: hidden;
  will-change: transform;
  background: var(--surface);
  pointer-events: none;
}
.project-scale-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  filter: brightness(0.72) saturate(0.82);
  transition:
    filter 0.55s ease,
    transform 0.8s var(--ease);
}
.project-scale-card.is-active img {
  filter: brightness(0.94) saturate(0.9);
  transform: scale(1);
}
.project-scale-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 6, 0.28));
  pointer-events: none;
}
.project-scale-card-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.project-scale-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      rgba(6, 9, 7, 0.98) 0%,
      rgba(6, 9, 7, 0.8) 20%,
      rgba(6, 9, 7, 0.15) 51%,
      rgba(6, 9, 7, 0.06) 100%
    ),
    linear-gradient(90deg, rgba(6, 9, 7, 0.42) 0%, transparent 38%);
}
.project-scale-hint {
  position: absolute;
  z-index: 4;
  top: 30px;
  left: var(--side);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(241, 242, 235, 0.72);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
}
.project-scale-hint span {
  width: 32px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.project-scale-slider:hover .project-scale-hint span {
  transform: scaleX(1.45);
}
.project-scale-copy {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  align-items: end;
  padding-bottom: 42px;
  pointer-events: none;
}
.project-scale-info-stack {
  position: relative;
  min-height: 252px;
}
.project-scale-info {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 40px;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.55s var(--ease);
  pointer-events: none;
}
.project-scale-info.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.project-scale-heading,
.project-scale-description {
  min-width: 0;
}
.project-meta-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.project-scale-info h3 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 5.7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 500;
  text-wrap: balance;
}
.project-desc {
  margin: 0;
  color: #ced4cc;
  font-size: 13px;
  line-height: 1.6;
}
.project-data-strip {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.project-data-strip div {
  display: grid;
  gap: 4px;
}
.project-data-strip span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.project-data-strip strong {
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.project-open-inline {
  margin-top: 22px;
  border: 0;
  border-bottom: 1px solid var(--paper);
  padding: 0 0 4px;
  background: none;
  color: var(--paper);
  font-size: 12px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.project-open-inline:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.project-scale-controls {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: var(--side);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(241, 242, 235, 0.14);
  border-radius: 999px;
  background: rgba(9, 12, 10, 0.46);
  backdrop-filter: blur(14px);
}
.project-scale-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(241, 242, 235, 0.08);
  color: var(--paper);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.2s var(--ease);
}
.project-scale-controls button:hover {
  background: rgba(241, 242, 235, 0.17);
}
.project-scale-controls button:active {
  transform: scale(0.93);
}
.project-scale-controls button:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}
.project-scale-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.project-scale-controls svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-scale-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 82px;
  justify-content: center;
  color: rgba(241, 242, 235, 0.58);
  font-size: 10px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.project-scale-counter strong {
  color: var(--paper);
  font-weight: 600;
}
.project-scale-counter i {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(241, 242, 235, 0.3);
}
.project-scale-scroll-progress {
  position: absolute;
  z-index: 6;
  inset: auto 0 0;
  height: 2px;
  background: rgba(241, 242, 235, 0.14);
  overflow: hidden;
}
.project-scale-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--project-scale-progress));
  transform-origin: left center;
  will-change: transform;
}

.reference-library {
  background: var(--bg);
}
.library-heading,
.films-heading {
  margin-bottom: 46px;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #bbc2bb;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease);
}
.filter-button:hover {
  color: var(--paper);
  border-color: rgba(241, 242, 235, 0.52);
}
.filter-button.is-active {
  background: var(--paper);
  color: var(--bg);
  border-color: var(--paper);
}
.filter-button:active {
  transform: scale(0.98);
}
.reference-carousel-host {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}
.reference-carousel {
  --reference-progress: 0;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  border-inline: 0;
  border-radius: 0;
  background: var(--surface);
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  outline: none;
  cursor: grab;
}
.reference-carousel.is-dragging {
  cursor: grabbing;
}
.reference-carousel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.reference-carousel-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.reference-panel {
  position: absolute;
  inset: 0;
  z-index: var(--panel-z);
  overflow: hidden;
  color: var(--panel-ink);
  background: var(--panel-tone);
  transform: translate3d(var(--panel-x, 100%), 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.reference-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: color-mix(in srgb, var(--panel-ink) 24%, transparent);
  pointer-events: none;
}
.reference-panel-inner {
  width: 100%;
  height: 100%;
  transform: translate3d(var(--panel-inner-x, 0px), 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.reference-panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(64px, 7vw, 104px) clamp(34px, 5vw, 78px) 116px;
}
.reference-panel-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 650px;
}
.reference-panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(50px, 7vh, 82px);
  color: var(--panel-muted);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.reference-panel-kicker {
  margin: 0 0 13px;
  color: var(--panel-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reference-panel h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.067em;
  font-weight: 500;
  text-wrap: balance;
}
.reference-panel-summary {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--panel-muted);
  font-size: 13px;
  line-height: 1.55;
}
.reference-panel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 28px;
}
.reference-panel-metrics div {
  display: grid;
  gap: 4px;
}
.reference-panel-metrics span {
  color: var(--panel-muted);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.reference-panel-metrics strong {
  color: var(--panel-ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.reference-panel-open {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 46px;
  margin-top: 31px;
  padding: 0 7px 0 17px;
  border: 1px solid color-mix(in srgb, var(--panel-ink) 48%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--panel-ink);
  font-size: 11px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}
.reference-panel-open svg {
  width: 31px;
  height: 31px;
  padding: 8px;
  border-radius: 50%;
  background: var(--panel-ink);
  fill: none;
  stroke: var(--panel-tone);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reference-panel-open:hover {
  background: var(--panel-ink);
  color: var(--panel-tone);
  transform: translateY(-2px);
}
.reference-panel-open:hover svg {
  background: var(--panel-tone);
  stroke: var(--panel-ink);
}
.reference-panel-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.reference-panel-media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.28;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: color-mix(in srgb, var(--panel-ink) 11%, var(--panel-tone));
  transform: translateZ(0) scale(var(--panel-media-scale, 1));
  transform-origin: left bottom;
  will-change: transform;
  backface-visibility: hidden;
}
.reference-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--panel-ink) 18%, transparent);
  border-radius: inherit;
  pointer-events: none;
}
.reference-panel-media img {
  filter: saturate(0.78) contrast(1.03);
  transform: scale(1.015);
}
.reference-panel-fallback {
  display: grid;
  align-content: end;
  width: 100%;
  height: 100%;
  padding: clamp(28px, 4vw, 58px);
  background: color-mix(in srgb, var(--panel-ink) 8%, var(--panel-tone));
}
.reference-panel-fallback::before {
  content: "BIG";
  position: absolute;
  top: 36px;
  right: 36px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.reference-panel-fallback strong {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 500;
}
.reference-panel-fallback span {
  max-width: 280px;
  margin-top: 18px;
  color: var(--panel-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.reference-carousel-controls {
  position: absolute;
  z-index: 30;
  top: calc(var(--header-h) + 22px);
  right: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(10, 13, 12, 0.16);
  border-radius: 999px;
  background: rgba(241, 242, 235, 0.82);
  color: var(--bg);
  backdrop-filter: blur(16px);
}
.reference-carousel-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 13, 12, 0.08);
  color: var(--bg);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s var(--ease),
    opacity 0.2s ease;
}
.reference-carousel-arrow:hover {
  background: rgba(10, 13, 12, 0.16);
}
.reference-carousel-arrow:active {
  transform: scale(0.92);
}
.reference-carousel-arrow:disabled {
  opacity: 0.24;
  cursor: default;
}
.reference-carousel-arrow:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}
.reference-carousel-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reference-carousel-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 68px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.reference-carousel-counter strong {
  font-size: 11px;
}
.reference-carousel-counter i {
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(10, 13, 12, 0.28);
}
.reference-carousel-nav {
  position: absolute;
  z-index: 25;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 8px 14px 0;
  border: 1px solid rgba(10, 13, 12, 0.12);
  border-radius: 10px;
  background: rgba(241, 242, 235, 0.82);
  backdrop-filter: blur(16px);
}
.reference-carousel-nav::-webkit-scrollbar {
  display: none;
}
.reference-carousel-tab {
  position: relative;
  flex: 1 0 min(150px, 18vw);
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  height: 45px;
  padding: 0 12px 13px 0;
  border: 0;
  background: transparent;
  color: rgba(10, 13, 12, 0.55);
  text-align: left;
  cursor: pointer;
}
.reference-carousel-tab::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.reference-carousel-tab span {
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}
.reference-carousel-tab strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-carousel-tab.is-active {
  color: var(--bg);
}
.reference-carousel-tab.is-active::after {
  transform: scaleX(1);
}
.reference-carousel-tab:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -4px;
}
.reference-carousel-hint {
  position: absolute;
  z-index: 25;
  top: calc(var(--header-h) + 22px);
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(10, 13, 12, 0.1);
  border-radius: 999px;
  background: rgba(241, 242, 235, 0.82);
  color: rgba(10, 13, 12, 0.62);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(16px);
}
.reference-carousel-hint span {
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.45s var(--ease);
}
.reference-carousel:hover .reference-carousel-hint span {
  width: 42px;
}
.project-grid-empty {
  padding: 50px 0;
  color: var(--muted);
}

.build-story {
  --story-step: 0.2;
  --story-drag-x: 0px;
  --story-title-drag-x: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #080b0a;
  color: var(--text);
}
.build-story:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.build-story-frame {
  position: relative;
  min-height: max(100dvh, 680px);
  overflow: hidden;
  isolation: isolate;
  background: #080b0a;
  touch-action: pan-y;
}
.build-story-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 50% 88%,
      rgba(180, 221, 125, 0.11),
      transparent 33%
    ),
    radial-gradient(
      circle at 50% 36%,
      rgba(241, 242, 235, 0.035),
      transparent 44%
    );
  pointer-events: none;
}
.build-story-ambient::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 24%;
  width: 116vw;
  height: 62vh;
  border-top: 1px solid rgba(241, 242, 235, 0.07);
  border-radius: 50%;
  transform: translateX(-50%);
}
.build-story-intro {
  position: absolute;
  z-index: 30;
  top: calc(var(--header-h) + 24px);
  left: var(--side);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.build-story-intro h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.build-story-intro p {
  margin: 0;
  color: rgba(241, 242, 235, 0.48);
  font-size: 10px;
}
.build-story-intro p span {
  color: var(--accent);
}
.build-story-title-orbit {
  position: absolute;
  z-index: 20;
  top: calc(var(--header-h) + 72px);
  right: 0;
  left: 0;
  height: 190px;
  overflow: visible;
  perspective: 1200px;
  pointer-events: none;
}
.build-story-orbit-title {
  --title-x: 0vw;
  --title-y: 0vh;
  --title-rotate: 0deg;
  --title-scale: 1;
  --title-opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: 88vw;
  text-align: center;
  opacity: var(--title-opacity);
  transform: translate3d(
      calc(-50% + var(--title-x) + var(--story-title-drag-x)),
      var(--title-y),
      0
    )
    rotate(var(--title-rotate)) scale(var(--title-scale));
  transform-origin: center;
  transition:
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s ease;
  will-change: transform, opacity;
}
.build-story-orbit-title strong {
  display: block;
  color: rgba(241, 242, 235, 0.58);
  font-size: clamp(52px, 7.5vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.5s ease;
}
.build-story-orbit-title small {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.build-story-orbit-title.is-active strong {
  color: var(--text);
}
.build-story-orbit-title.is-active small {
  opacity: 1;
  transform: translateY(0);
}
.build-story-card-orbit {
  position: absolute;
  z-index: 10;
  top: 34%;
  right: 0;
  bottom: 70px;
  left: 0;
  perspective: 1600px;
  transform-style: preserve-3d;
  cursor: grab;
}
.build-story-card-orbit.is-dragging {
  cursor: grabbing;
}
.build-story-card {
  --card-x: 0vw;
  --card-y: 0vh;
  --card-scale: 1;
  --card-tilt: 0deg;
  --card-opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(240px, 27vw, 430px);
  height: clamp(330px, 50vh, 530px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #111613;
  opacity: var(--card-opacity);
  filter: saturate(0.66) brightness(0.5);
  transform: translate3d(
      calc(-50% + var(--card-x) + var(--story-drag-x)),
      var(--card-y),
      0
    )
    scale(var(--card-scale)) rotateY(var(--card-tilt));
  transform-origin: center top;
  transition:
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.52s ease,
    filter 0.72s ease;
  will-change: transform, opacity;
  cursor: pointer;
}
.build-story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 7, 5, 0.42), transparent 48%);
  pointer-events: none;
}
.build-story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.build-story-card.is-active {
  filter: saturate(0.92) brightness(0.92);
}
.build-story-card.is-active img {
  transform: scale(1);
}
.build-story-card:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -6px;
}
.build-story-card-index {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding-inline: 8px;
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.74);
  color: var(--text);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.build-story-focus-mark {
  position: absolute;
  z-index: 4;
  inset: 12px;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.build-story-card.is-active .build-story-focus-mark {
  opacity: 0.88;
  transform: scale(1);
}
.build-story-focus-mark i {
  position: absolute;
  width: 20px;
  height: 20px;
}
.build-story-focus-mark i:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.build-story-focus-mark i:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.build-story-focus-mark i:nth-child(3) {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.build-story-focus-mark i:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.build-story-caption {
  position: absolute;
  z-index: 30;
  bottom: 24px;
  left: var(--side);
  display: grid;
  grid-template-columns: auto minmax(0, 440px);
  align-items: start;
  gap: 18px;
  pointer-events: none;
}
.build-story-caption > span {
  padding-top: 2px;
  color: var(--accent);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.09em;
}
.build-story-caption p {
  margin: 0;
  color: rgba(241, 242, 235, 0.68);
  font-size: 11px;
  line-height: 1.5;
  text-wrap: pretty;
}
.build-story-caption.is-changing p {
  animation: build-story-caption-in 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes build-story-caption-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.build-story-controls {
  position: absolute;
  z-index: 32;
  right: var(--side);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.build-story-controls button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(241, 242, 235, 0.28);
  border-radius: 50%;
  background: rgba(8, 11, 10, 0.65);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}
.build-story-controls button:hover,
.build-story-controls button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #10150f;
  outline: none;
}
.build-story-controls button:active {
  transform: scale(0.94);
}
.build-story-controls span {
  color: rgba(241, 242, 235, 0.5);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.build-story-controls strong {
  color: var(--text);
  font-weight: 550;
}
.build-story-progress {
  position: absolute;
  z-index: 34;
  inset: auto 0 0;
  height: 2px;
  overflow: hidden;
  background: rgba(241, 242, 235, 0.12);
}
.build-story-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--story-step));
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.expertise .section-title {
  margin-bottom: 66px;
}
.expertise-list {
  width: calc(100% - 37vw);
}
.expertise-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) 1.2fr;
  gap: 36px;
  width: 100%;
  padding: 27px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}
.expertise-row:last-child {
  border-bottom: 1px solid var(--line);
}
.expertise-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.047em;
  font-weight: 500;
  transition:
    transform 0.4s var(--ease),
    color 0.2s ease;
}
.expertise-description {
  margin: 1px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
}
.expertise-row:hover .expertise-title,
.expertise-row:focus-visible .expertise-title,
.expertise-row.is-active .expertise-title {
  transform: translateX(10px);
  color: var(--accent);
}
.expertise-preview {
  position: absolute;
  width: 31vw;
  max-width: 500px;
  aspect-ratio: 0.82;
  right: var(--side);
  top: 31%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.expertise-preview img {
  transition:
    opacity 0.25s ease,
    transform 0.6s var(--ease);
}
.expertise-preview.is-switching img {
  opacity: 0.2;
  transform: scale(1.025);
}

.films {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.films .page-shell {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}
.films-heading {
  width: min(calc(100% - (var(--side) * 2)), var(--max));
  margin-inline: auto;
  padding-inline: 0;
}
.films-grid {
  position: relative;
  width: 100%;
  margin-top: clamp(42px, 6vw, 86px);
}
.film-shader-gallery {
  position: relative;
  width: 100%;
  height: clamp(520px, calc(100svh - var(--header-h) - 24px), 920px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #090d0a;
  color: var(--paper);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  outline: none;
}
.film-shader-gallery::before,
.film-shader-gallery::after {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
}
.film-shader-gallery::before {
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 13, 10, 0.82),
    transparent 8%,
    transparent 92%,
    rgba(9, 13, 10, 0.82)
  );
}
.film-shader-gallery::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(9, 13, 10, 0.74) 45%,
    #090d0a 92%
  );
}
.film-shader-gallery:focus-visible {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.film-shader-gallery.is-dragging {
  cursor: grabbing;
}
.film-shader-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: inherit;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.film-shader-gallery.is-ready .film-shader-canvas {
  opacity: 1;
}
.film-shader-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  color: var(--muted);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}
.film-shader-loading span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: film-shader-loader 1.1s ease-in-out infinite;
}
.film-shader-loading em {
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.film-shader-gallery.is-ready .film-shader-loading {
  visibility: hidden;
  opacity: 0;
}
.film-shader-hint {
  position: absolute;
  z-index: 6;
  top: 25px;
  right: var(--side);
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.film-shader-hint span {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
}
.film-shader-active {
  position: absolute;
  z-index: 7;
  left: var(--side);
  right: var(--side);
  bottom: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(18px, 3vw, 46px);
  min-height: 82px;
  cursor: default;
}
.film-shader-count {
  align-self: start;
  padding-top: 6px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.11em;
  white-space: nowrap;
}
.film-shader-copy {
  min-width: 0;
}
.film-shader-copy strong {
  display: block;
  font-size: clamp(25px, 2.6vw, 40px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.film-shader-copy p {
  margin: 9px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.film-shader-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.film-shader-arrow,
.film-shader-action {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
  transition:
    color 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.18s ease;
}
.film-shader-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 14px;
}
.film-shader-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 10px;
}
.film-shader-arrow:hover,
.film-shader-arrow:focus-visible,
.film-shader-action:hover,
.film-shader-action:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #10150f;
  outline: none;
}
.film-shader-arrow:active,
.film-shader-action:active {
  transform: scale(0.96);
}
.film-shader-active.is-changing .film-shader-copy {
  animation: film-shader-copy-in 0.42s var(--ease) both;
}
@keyframes film-shader-copy-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes film-shader-loader {
  0%,
  100% {
    transform: scaleX(0.25);
    opacity: 0.35;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.method {
  border-top: 1px solid var(--line);
}
.method .section-title {
  margin-bottom: 70px;
}
.method-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.method-item {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 22px 0;
  border-left: 1px solid var(--line);
}
.method-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.method-item strong {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.method-item span {
  max-width: 190px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.contact-section {
  background: var(--surface);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: end;
}
.contact-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(58px, 7.7vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.073em;
  font-weight: 500;
}
.contact-action {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-bottom: 8px;
}
.contact-action p {
  margin: 0;
  max-width: 390px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.site-footer {
  padding-top: 48px;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 11px;
}
.footer-top p {
  margin: 0;
}
.footer-wordmark {
  margin: 60px -1.2vw 0;
  font-size: 30vw;
  line-height: 0.64;
  letter-spacing: -0.095em;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.contact-dialog,
.data-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}
.contact-dialog {
  width: min(92vw, 920px);
}
.contact-dialog::backdrop,
.data-dialog::backdrop {
  background: rgba(6, 8, 7, 0.76);
  backdrop-filter: blur(12px);
}
.dialog-shell {
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius);
  background: #151a17;
  border: 1px solid var(--line-strong);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
}
.dialog-head h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  font-weight: 500;
}
.dialog-close {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 11px;
  white-space: nowrap;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 42px;
}
.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #d2d8d1;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(241, 242, 235, 0.3);
  background: #0f1311;
  color: var(--paper);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-grid textarea {
  resize: vertical;
  min-height: 128px;
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 221, 125, 0.12);
}
.dialog-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.form-status {
  margin: 0;
  max-width: 430px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.form-status.is-success {
  color: var(--accent);
}

.data-dialog {
  width: min(94vw, 1120px);
  max-height: 92vh;
}
.data-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  max-height: 92vh;
  overflow: auto;
  background: #111512;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.data-dialog-shell > .dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(10, 13, 12, 0.7);
  backdrop-filter: blur(10px);
}
.project-dialog-media {
  min-height: 650px;
  background: var(--surface);
}
.project-dialog-media.is-empty {
  display: grid;
  place-items: end start;
  padding: 46px;
  background: linear-gradient(135deg, #1a201c, #101412);
}
.project-dialog-media.is-empty:after {
  content: attr(data-budget);
  color: var(--accent);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.07em;
}
.project-dialog-body {
  padding: clamp(34px, 5vw, 64px);
  align-self: center;
}
.project-dialog-body h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 500;
}
.project-dialog-location {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.project-dialog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 34px 0;
}
.project-dialog-stats div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.project-dialog-stats span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-dialog-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.project-dialog-description {
  margin: 0;
  color: #d1d7d0;
  font-size: 13px;
  line-height: 1.68;
}
.project-dialog-mission {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.project-dialog-mission span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-dialog-mission p {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.55;
}
.project-dialog-catalogue {
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 11px;
}

.video-dialog {
  width: min(94vw, 1180px);
}
.video-dialog-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #101412;
  border: 1px solid var(--line-strong);
}
.dialog-close-light {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(10, 13, 12, 0.7);
}
.video-dialog video {
  display: block;
  width: 100%;
  max-height: 72vh;
  background: #070a08;
}
.video-dialog-copy {
  padding: 22px 26px 28px;
}
.video-dialog-copy h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 550;
}
.video-dialog-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.reveal,
.reveal-group .reveal-item {
  opacity: 1;
  transform: none;
}
.js .reveal,
.js .reveal-group .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.js .reveal.in-view,
.js .reveal-group.in-view .reveal-item {
  opacity: 1;
  transform: translateY(0);
}
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.js .reveal-group.in-view .reveal-item:nth-child(2) {
  transition-delay: 0.05s;
}
.js .reveal-group.in-view .reveal-item:nth-child(3) {
  transition-delay: 0.1s;
}
.js .reveal-group.in-view .reveal-item:nth-child(4) {
  transition-delay: 0.15s;
}
.js .reveal-group.in-view .reveal-item:nth-child(5) {
  transition-delay: 0.2s;
}

@supports (animation-timeline: view()) {
  .hero-media:not(.hero-curtain) {
    animation: hero-image-drift linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}

@keyframes hero-image-drift {
  from {
    transform: scale(1.035) translateY(0);
  }
  to {
    transform: scale(1.085) translateY(1.2%);
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }
  .reference-panel-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(330px, 1.12fr);
    gap: 38px;
    padding-inline: 42px;
  }
  .reference-panel h3 {
    font-size: clamp(50px, 6.4vw, 76px);
  }
  .expertise-list {
    width: calc(100% - 33vw);
  }
  .expertise-preview {
    width: 29vw;
  }
  .films-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .hero-copy {
    align-self: end;
    padding-bottom: 120px;
  }
  .hero-project {
    position: absolute;
    left: var(--side);
    right: var(--side);
    bottom: 32px;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(241, 242, 235, 0.4);
  }
  .hero-project-heading {
    margin: 0;
  }
  .hero-project-heading p {
    margin: 0;
  }
  .hero-curtain .cs_pill {
    left: auto;
    right: var(--side);
    bottom: 142px;
    transform: none;
  }
  .hero-project dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .hero-project dl div {
    display: grid;
    gap: 5px;
  }
  .hero-project dd {
    text-align: left;
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-scale-info-stack {
    min-height: 338px;
  }
  .project-scale-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-desc {
    max-width: 520px;
  }
  .reference-carousel {
    height: 100svh;
    min-height: 620px;
  }
  .reference-panel-layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
    gap: 30px;
    padding: 76px 34px 108px;
  }
  .reference-panel-topline {
    margin-bottom: 38px;
  }
  .reference-panel h3 {
    font-size: clamp(46px, 6.6vw, 66px);
  }
  .reference-panel-summary {
    margin-top: 18px;
    font-size: 12px;
  }
  .reference-panel-metrics {
    gap: 13px 22px;
    margin-top: 20px;
  }
  .reference-panel-open {
    margin-top: 23px;
  }
  .expertise-list {
    width: calc(100% - 32vw);
  }
  .expertise-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .expertise-preview {
    width: 28vw;
    right: var(--side);
    top: 34%;
  }
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .method-item:nth-child(4),
  .method-item:nth-child(5) {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 22px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-action {
    max-width: 560px;
  }
  .data-dialog-shell {
    grid-template-columns: 1fr;
  }
  .project-dialog-media {
    min-height: 46vh;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
    --side: 18px;
  }
  .section-pad {
    padding-block: 90px;
  }
  .brand-name {
    display: none;
  }
  .hero-media img {
    object-position: 62% center;
  }
  .hero-scrim {
    background: linear-gradient(
      0deg,
      rgba(7, 10, 8, 0.92) 0%,
      rgba(7, 10, 8, 0.48) 62%,
      rgba(7, 10, 8, 0.15) 100%
    );
  }
  .hero-inner {
    align-items: end;
    padding-bottom: 26px;
  }
  .hero-copy {
    padding-bottom: 170px;
  }
  .hero-kicker {
    margin-bottom: 20px;
  }
  .hero-title {
    font-size: clamp(52px, 16vw, 76px);
    line-height: 0.9;
    letter-spacing: -0.067em;
  }
  .hero-intro {
    margin-top: 22px;
    max-width: 390px;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .button {
    min-height: 44px;
    padding-inline: 17px;
  }
  .hero-project {
    bottom: 24px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-project-heading p {
    font-size: 15px;
  }
  .hero-curtain {
    background-position: 62% center;
  }
  .hero-curtain .cs_layer_img {
    object-position: 62% center;
  }
  .hero-curtain .cs_pill {
    right: var(--side);
    bottom: 150px;
  }
  .hero-project dl {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 18px;
  }
  .fact {
    min-height: 138px;
  }
  .fact strong {
    font-size: 38px;
  }
  .fact span {
    font-size: 11px;
  }
  .statement {
    min-height: auto;
  }
  .statement-text {
    font-size: clamp(39px, 12vw, 64px);
  }
  .projects-head {
    padding-bottom: 42px;
  }
  .project-scale-story {
    min-height: 500svh;
  }
  .project-scale-slider {
    height: 100svh;
    min-height: 700px;
    max-height: none;
  }
  .project-scale-hint {
    display: none;
  }
  .project-scale-controls {
    top: 18px;
    right: 18px;
  }
  .project-scale-controls button {
    width: 36px;
    height: 36px;
  }
  .project-scale-counter {
    min-width: 70px;
    gap: 6px;
  }
  .project-scale-copy {
    padding-bottom: 24px;
  }
  .project-scale-info-stack {
    min-height: 350px;
  }
  .project-scale-info {
    gap: 16px;
    align-content: end;
  }
  .project-scale-info h3 {
    font-size: clamp(42px, 12vw, 60px);
  }
  .project-scale-description {
    max-width: 94%;
  }
  .project-desc {
    font-size: 11px;
    line-height: 1.5;
  }
  .project-data-strip {
    gap: 14px 22px;
  }
  .library-heading,
  .films-heading {
    margin-bottom: 32px;
  }
  .project-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    margin-right: calc(-1 * var(--side));
    scrollbar-width: none;
  }
  .project-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-button {
    flex: 0 0 auto;
  }
  .reference-carousel {
    height: 100svh;
    min-height: 660px;
    border-radius: 0;
  }
  .reference-panel-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(190px, 1fr);
    gap: 22px;
    align-content: stretch;
    padding: 72px 22px 88px;
  }
  .reference-panel-copy {
    max-width: none;
  }
  .reference-panel-topline {
    margin-bottom: 23px;
    font-size: 8px;
  }
  .reference-panel-kicker {
    margin-bottom: 9px;
    font-size: 9px;
  }
  .reference-panel h3 {
    max-width: 92%;
    font-size: clamp(42px, 12vw, 60px);
  }
  .reference-panel-summary {
    max-width: 95%;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.45;
  }
  .reference-panel-metrics {
    gap: 10px 18px;
    margin-top: 15px;
  }
  .reference-panel-metrics span {
    font-size: 8px;
  }
  .reference-panel-metrics strong {
    font-size: 11px;
  }
  .reference-panel-open {
    min-height: 40px;
    margin-top: 18px;
    padding-left: 14px;
    font-size: 10px;
  }
  .reference-panel-open svg {
    width: 27px;
    height: 27px;
    padding: 7px;
  }
  .reference-panel-media {
    align-self: stretch;
    min-height: 190px;
    aspect-ratio: auto;
  }
  .reference-carousel-controls {
    top: calc(var(--header-h) + 14px);
    right: 14px;
  }
  .reference-carousel-arrow {
    width: 34px;
    height: 34px;
  }
  .reference-carousel-counter {
    min-width: 58px;
  }
  .reference-carousel-hint {
    display: none;
  }
  .reference-carousel-nav {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding-inline: 10px;
  }
  .reference-carousel-tab {
    flex-basis: 42px;
    height: 38px;
    padding-right: 8px;
  }
  .reference-carousel-tab strong {
    display: none;
  }
  .build-story {
    min-height: auto;
  }
  .build-story-frame {
    min-height: max(100svh, 760px);
  }
  .build-story-intro {
    top: calc(var(--header-h) + 18px);
    right: var(--side);
    justify-content: space-between;
  }
  .build-story-intro h2 {
    font-size: 12px;
  }
  .build-story-intro p {
    font-size: 9px;
  }
  .build-story-intro p span {
    display: none;
  }
  .build-story-title-orbit {
    top: calc(var(--header-h) + 72px);
    height: 130px;
  }
  .build-story-orbit-title {
    max-width: 96vw;
  }
  .build-story-orbit-title strong {
    font-size: clamp(42px, 14vw, 60px);
  }
  .build-story-orbit-title small {
    margin-top: 8px;
    font-size: 7px;
  }
  .build-story-card-orbit {
    top: 31%;
    bottom: 118px;
  }
  .build-story-card {
    width: min(64vw, 270px);
    height: clamp(330px, 46svh, 410px);
  }
  .build-story-card-index {
    top: 9px;
    left: 9px;
    min-width: 28px;
    height: 22px;
    font-size: 8px;
  }
  .build-story-focus-mark {
    inset: 9px;
  }
  .build-story-caption {
    right: 118px;
    bottom: 64px;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .build-story-caption > span {
    font-size: 8px;
  }
  .build-story-caption p {
    font-size: 9px;
    line-height: 1.42;
  }
  .build-story-controls {
    right: var(--side);
    bottom: 16px;
  }
  .build-story-controls button {
    width: 36px;
    height: 36px;
  }
  .build-story-controls span {
    display: none;
  }
  .expertise {
    padding-bottom: 72px;
  }
  .expertise .section-title {
    margin-bottom: 44px;
  }
  .expertise-list {
    width: 100%;
  }
  .expertise-row {
    padding: 23px 0;
  }
  .expertise-description {
    max-width: 94%;
  }
  .expertise-preview {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 2 * var(--side));
    max-width: none;
    margin: 38px auto 0;
    aspect-ratio: 1.24;
  }
  .films-heading {
    width: calc(100% - (var(--side) * 2));
  }
  .film-shader-gallery {
    height: clamp(520px, calc(100svh - var(--header-h) - 20px), 720px);
    min-height: 0;
  }
  .film-shader-hint {
    display: none;
  }
  .film-shader-active {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    bottom: 16px;
    min-height: 128px;
  }
  .film-shader-count {
    padding-top: 3px;
  }
  .film-shader-copy strong {
    font-size: clamp(21px, 6vw, 29px);
  }
  .film-shader-copy p {
    display: none;
  }
  .film-shader-controls {
    grid-column: 2;
    justify-self: start;
  }
  .film-shader-arrow {
    width: 38px;
    height: 38px;
  }
  .film-shader-action {
    min-height: 38px;
    padding-inline: 14px;
  }
  .method .section-title {
    margin-bottom: 46px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-item,
  .method-item:first-child,
  .method-item:nth-child(4),
  .method-item:nth-child(5) {
    min-height: 145px;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }
  .method-item span {
    max-width: 280px;
  }
  .contact-title {
    font-size: clamp(52px, 15vw, 80px);
  }
  .footer-top {
    display: block;
  }
  .footer-top p + p {
    margin-top: 10px;
  }
  .footer-wordmark {
    margin-top: 48px;
    font-size: 42vw;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-dialog {
    width: 96vw;
  }
  .dialog-shell {
    max-height: 92vh;
    overflow: auto;
  }
  .dialog-head h2 {
    font-size: 42px;
  }
  .data-dialog {
    width: 96vw;
  }
  .project-dialog-media {
    min-height: 34vh;
  }
  .project-dialog-body {
    padding: 30px 22px 34px;
  }
  .project-dialog-stats {
    grid-template-columns: 1fr 1fr;
  }
  .project-dialog-body h2 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .title-line > span {
    transform: translateY(0) !important;
  }
  .hero-title-char {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-media {
    animation: none !important;
  }
  [data-anm-scroll-text-reveal],
  [data-anm-scroll-text-reveal] .split-line {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
  .build-story {
    min-height: 100dvh;
  }
  .build-story-card,
  .build-story-orbit-title {
    transition: none !important;
  }
  .build-story-card img,
  .build-story-focus-mark {
    transition: none !important;
  }
  .build-story-ambient::after {
    display: none;
  }
  .build-story-progress {
    display: none;
  }
  .film-shader-loading span {
    animation: none !important;
  }
  .text-cursor-lens {
    display: none !important;
  }
}
