@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --bone: #f5f1e9;
  --stone: #c8b59b;
  --charcoal: #2e3130;
  --sage: #3f4b44;
  --water: #416b78;
  --terra: #7d3f2e;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
}

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

main:focus {
  outline: 0;
}

[tabindex="-1"]:focus {
  outline: 0;
}

#practice,
#work,
#contact {
  scroll-margin-top: 84px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--bone);
  border: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus-visible {
  transform: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}

.water-type-canvas {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 21;
  width: 100%;
  height: 100%;
}

.water-type-cursor {
  display: none;
  pointer-events: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(232, 251, 252, 0.78);
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 31% 23%, rgba(255, 255, 255, 0.5) 0 4%, transparent 20%),
    radial-gradient(circle at 65% 70%, rgba(76, 181, 195, 0.24), rgba(76, 181, 195, 0.03) 57%, transparent 72%);
  box-shadow:
    inset 0 0 0 1px rgba(54, 151, 166, 0.18),
    0 3px 16px rgba(14, 49, 55, 0.16);
  -webkit-backdrop-filter: blur(1px) saturate(1.38) contrast(1.04);
  backdrop-filter: blur(1px) saturate(1.38) contrast(1.04);
  transition: opacity 0.2s ease;
  will-change: transform, opacity;
}

.continuum-line {
  --continuum-progress: 0;
  pointer-events: none;
  position: fixed;
  z-index: 18;
  top: 31vh;
  right: 3.1vw;
  width: 1px;
  height: 38vh;
  opacity: 0;
  background: rgba(65, 107, 120, 0.2);
  transition: opacity 0.6s ease;
}

.continuum-line.is-visible {
  opacity: 1;
}

.continuum-line > span {
  position: absolute;
  inset: 0;
}

.continuum-line > span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(102, 165, 177, 0.32), rgba(43, 124, 143, 0.94));
  transform: scaleY(var(--continuum-progress));
  transform-origin: top;
}

.continuum-line i {
  position: absolute;
  left: 50%;
  top: calc(var(--continuum-progress) * 100%);
  width: 7px;
  height: 7px;
  border: 1px solid rgba(245, 241, 233, 0.9);
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 12px rgba(65, 107, 120, 0.34);
  transform: translate(-50%, -50%);
}

html.case-study-open,
html.case-study-open body {
  overflow: hidden;
}

html.case-study-open .continuum-line,
html.case-study-open .water-type-cursor {
  opacity: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
  .water-type-cursor {
    display: block;
  }

  .water-type-cursor.is-visible {
    opacity: 1;
  }

  html.water-cursor-active,
  html.water-cursor-active * {
    cursor: none !important;
  }
}

.water-type-rendered {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

[data-stage-title].water-type-rendered .title-line > span {
  visibility: hidden;
}

.site-header {
  color: var(--bone);
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  padding: 18px 3.1vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(8, 10, 10, 0.42), rgba(8, 10, 10, 0.12) 68%, transparent);
  transition: height 0.35s ease, padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  position: fixed;
  height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 1px 0 rgba(245, 241, 233, 0.14), 0 14px 36px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}

.has-motion .site-header .brand,
.has-motion .site-header .desktop-nav,
.has-motion .site-header .menu-toggle {
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.has-motion.is-ready .site-header .brand,
.has-motion.is-ready .site-header .desktop-nav,
.has-motion.is-ready .site-header .menu-toggle {
  opacity: 1;
  transform: none;
}

.has-motion.is-ready .site-header .brand {
  transition-delay: 0.12s;
}

.has-motion.is-ready .site-header .desktop-nav {
  transition-delay: 0.24s;
}

.has-motion.is-ready .site-header .menu-toggle {
  transition-delay: 0.32s;
}

.brand {
  width: 48px;
  height: 52px;
  display: block;
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left top;
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  padding: 10px 5px;
  display: inline-flex;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out-expo);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 241, 233, 0.58);
  color: var(--bone);
  background: rgba(17, 17, 17, 0.08);
  display: none;
  place-content: center;
  gap: 5px;
  overflow: hidden;
  transition: color 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  color: var(--ink);
  border-color: var(--bone);
  background: var(--bone);
}

.menu-toggle i {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.55s var(--ease-out-expo), background 0.45s ease;
}

.menu-toggle:hover i,
.menu-toggle[aria-expanded="true"] i {
  background: var(--ink);
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-panel {
  display: none;
  position: absolute;
  right: 3.1vw;
  top: 70px;
  width: 300px;
  color: var(--bone);
  background: rgba(17, 17, 17, 0.92);
  padding: 13px 22px;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-10px);
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 0.45s ease, transform 0.65s var(--ease-out-expo), clip-path 0.65s var(--ease-out-expo);
}

.menu-panel.is-open {
  opacity: 1;
  clip-path: inset(0);
  transform: none;
  pointer-events: auto;
}

.menu-panel a {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 241, 233, 0.28);
  font-size: 18px;
  letter-spacing: -0.4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo), color 0.25s ease;
}

.menu-panel.is-open a {
  opacity: 1;
  transform: none;
}

.menu-panel.is-open a:nth-child(1) {
  transition-delay: 0.11s;
}

.menu-panel.is-open a:nth-child(2) {
  transition-delay: 0.17s;
}

.menu-panel.is-open a:nth-child(3) {
  transition-delay: 0.23s;
}

.menu-panel a:hover span {
  transform: translate(3px, -3px);
}

.menu-panel a span {
  transition: transform 0.45s var(--ease-out-expo);
}

.menu-panel a:last-child {
  border: 0;
}

.hero {
  min-height: 720px;
  height: 100svh;
  max-height: 1080px;
  position: relative;
  color: var(--bone);
  overflow: hidden;
  background: var(--charcoal);
}

.daylight-scene,
.hero-media,
.hero-media > picture,
.hero-media img,
.hero-shade,
.hero-refraction {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
  transform-origin: center center;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -4%;
  bottom: -4%;
  left: 0;
  width: clamp(10px, 1.1vw, 16px);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(212, 246, 247, 0.2) 44%, rgba(238, 253, 252, 0.1) 58%, transparent);
  -webkit-backdrop-filter: blur(1.4px) saturate(1.16) contrast(1.025);
  backdrop-filter: blur(1.4px) saturate(1.16) contrast(1.025);
  mix-blend-mode: screen;
  clip-path: polygon(20% 0, 100% 8%, 62% 23%, 100% 39%, 66% 55%, 100% 72%, 55% 88%, 86% 100%, 0 100%, 32% 84%, 0 68%, 34% 49%, 0 31%, 36% 15%);
  transform: translate3d(-50%, 0, 0);
}

.hero-media.is-changing::after {
  animation: refractive-seam 1.15s var(--ease-in-out) both;
}

.hero-frame {
  overflow: hidden;
  backface-visibility: hidden;
  transform-origin: center center;
}

.hero-frame-current {
  z-index: 0;
}

.hero-frame-next {
  z-index: 1;
  opacity: 0;
  -webkit-clip-path: polygon(0 0, 0 0, 2% 15%, -1.6% 32%, 1.7% 51%, -1.3% 70%, 1.8% 86%, 0 100%, 0 100%);
  clip-path: polygon(0 0, 0 0, 2% 15%, -1.6% 32%, 1.7% 51%, -1.3% 70%, 1.8% 86%, 0 100%, 0 100%);
  pointer-events: none;
  will-change: clip-path;
}

.hero-frame img {
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.055);
  transition: transform 1.45s var(--ease-out-expo), filter 1.1s ease;
  backface-visibility: hidden;
}

.hero-frame-next img {
  transform: scale(1.12) translateX(1.2%);
}

.hero-media.is-changing .hero-frame-next {
  opacity: 1;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 15%, 100% 32%, 100% 51%, 100% 70%, 100% 86%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 15%, 100% 32%, 100% 51%, 100% 70%, 100% 86%, 100% 100%, 0 100%);
  transition: -webkit-clip-path 1.15s var(--ease-in-out), clip-path 1.15s var(--ease-in-out);
}

.hero-media.is-changing .hero-frame-next img {
  transform: scale(1.055) translateX(0);
}

.has-motion:not(.is-ready) .hero-frame-current {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.08);
}

.has-motion.is-ready .hero-frame-current {
  clip-path: inset(0);
  transform: none;
  transition: clip-path 1.45s var(--ease-out-expo), transform 2.1s var(--ease-out-expo);
}

.hero-shade {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.58), rgba(8, 10, 10, 0.1) 68%),
    linear-gradient(0deg, rgba(8, 10, 10, 0.68), transparent 48%);
  transition: background 1.1s ease, opacity 0.8s ease;
}

.daylight-scene[data-daylight-state="1"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.48), rgba(8, 10, 10, 0.03) 72%),
    linear-gradient(0deg, rgba(8, 10, 10, 0.6), transparent 52%);
}

.daylight-scene[data-daylight-state="2"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.65), rgba(8, 10, 10, 0.12) 70%),
    linear-gradient(0deg, rgba(8, 10, 10, 0.78), transparent 58%);
}

.hero-refraction {
  z-index: 2;
  top: 48%;
  height: 52%;
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    repeating-radial-gradient(ellipse 110% 48% at 52% 112%, transparent 0 28px, rgba(220, 244, 245, 0.12) 29px 30px, transparent 31px 48px),
    linear-gradient(110deg, transparent 22%, rgba(202, 237, 239, 0.08) 42%, transparent 58%);
  mask-image: linear-gradient(transparent, rgba(0, 0, 0, 0.78) 22%, #000);
  transform: translate3d(0, 12px, 0) scale(1.04);
}

.hero canvas {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 52%;
  opacity: 0.52;
  mix-blend-mode: screen;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 9.2vw;
  bottom: 172px;
  max-width: 650px;
}

.has-motion .hero-copy .eyebrow,
.has-motion .hero-copy .title-line > span,
.has-motion .hero-copy .hero-detail {
  transition: opacity 0.75s ease, transform 0.95s var(--ease-out-expo), filter 0.75s ease;
}

.has-motion:not(.is-ready) .hero-copy .eyebrow,
.has-motion:not(.is-ready) .hero-copy .title-line > span,
.has-motion:not(.is-ready) .hero-copy .hero-detail {
  opacity: 0;
  transform: translateY(112%);
}

.has-motion:not(.is-ready) .hero-copy .hero-detail {
  transform: translateY(24px);
}

.has-motion.is-ready .hero-copy .eyebrow {
  transition-delay: 0.36s;
}

.has-motion.is-ready .hero-copy .title-line:nth-child(1) > span {
  transition-delay: 0.42s;
}

.has-motion.is-ready .hero-copy .title-line:nth-child(2) > span {
  transition-delay: 0.5s;
}

.has-motion.is-ready .hero-copy .hero-detail {
  transition-delay: 0.63s;
}

.has-motion.is-ready .hero-copy.is-stage-transition .eyebrow {
  transition-delay: 0.06s;
}

.has-motion.is-ready .hero-copy.is-stage-transition .title-line:nth-child(1) > span {
  transition-delay: 0.1s;
}

.has-motion.is-ready .hero-copy.is-stage-transition .title-line:nth-child(2) > span {
  transition-delay: 0.16s;
}

.has-motion.is-ready .hero-copy.is-stage-transition .hero-detail {
  transition-delay: 0.22s;
}

.hero-copy.is-leaving .eyebrow,
.hero-copy.is-leaving .title-line > span,
.hero-copy.is-leaving .hero-detail {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-24px);
  transition-duration: 0.24s;
  transition-delay: 0s !important;
}

.hero-copy.is-entering .eyebrow,
.hero-copy.is-entering .title-line > span,
.hero-copy.is-entering .hero-detail {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(30px);
  transition: none;
}

.eyebrow {
  margin: 0;
  color: var(--stone);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 1.45px;
}

.hero .eyebrow,
.hero-detail,
.dock-note,
.time-control,
.daylight-pause {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.36);
}

.hero h1,
h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero h1 {
  margin-top: 16px;
  max-width: 640px;
  font-size: clamp(57px, 7.5vw, 108px);
  line-height: 0.92;
}

.title-line,
.project-title-line {
  display: block;
  overflow: visible;
  -webkit-clip-path: inset(-0.16em);
  clip-path: inset(-0.16em);
  padding: 0 0 0.08em;
  margin-bottom: -0.08em;
}

.title-line > span,
.project-title-line > span {
  display: block;
}

.title-line > span {
  white-space: nowrap;
}

.hero-detail {
  margin: 25px 0 0;
  max-width: 340px;
  color: var(--bone);
  font-size: 15px;
  line-height: 1.5;
}

.daylight-dock {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 3.1vw;
  right: 3.1vw;
  border-top: 1px solid rgba(245, 241, 233, 0.62);
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.has-motion .daylight-dock {
  transition: opacity 0.9s ease, transform 1.1s var(--ease-out-expo);
}

.has-motion:not(.is-ready) .daylight-dock {
  opacity: 0;
  transform: translateY(30px);
}

.has-motion.is-ready .daylight-dock {
  transition-delay: 0.7s;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 3.1vw;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(245, 241, 233, 0.72);
  transform: translate(48%, -50%) rotate(90deg);
  transform-origin: center;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 66px;
  height: 1px;
  overflow: hidden;
  background: rgba(245, 241, 233, 0.28);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: translateX(-100%);
}

.has-motion:not(.is-ready) .scroll-cue {
  opacity: 0;
}

.has-motion.is-ready .scroll-cue {
  transition: opacity 0.8s ease 1s;
}

.has-motion.is-ready .scroll-cue i::after {
  animation: scroll-cue 2.4s var(--ease-in-out) 1.15s 3;
}

.dock-note {
  margin: 5px 0 0;
  font-size: 12px;
  color: rgba(245, 241, 233, 0.88);
}

.daylight-actions,
.daylight-controls {
  display: flex;
  align-items: flex-end;
}

.daylight-actions {
  gap: 18px;
}

.daylight-controls {
  gap: 22px;
}

.time-control {
  appearance: none;
  color: rgba(245, 241, 233, 0.78);
  min-width: 44px;
  min-height: 44px;
  padding: 7px 0 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.time-control span {
  display: block;
  padding-bottom: 8px;
}

.time-control i {
  position: relative;
  overflow: hidden;
  display: block;
  height: 2px;
  background: rgba(245, 241, 233, 0.38);
  transition: background 0.2s ease;
}

.time-control i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
}

.time-control.is-active {
  color: var(--bone);
}

.time-control.is-active i {
  background: rgba(245, 241, 233, 0.38);
}

.has-motion.is-ready .time-control.is-active i::after {
  animation: daylight-progress 6.5s linear forwards;
}

.daylight-is-paused .time-control.is-active i::after {
  animation: none;
  transform: scaleX(1);
}

.daylight-pause {
  min-width: 58px;
  min-height: 44px;
  padding: 7px 0 8px;
  border: 0;
  border-bottom: 2px solid rgba(245, 241, 233, 0.38);
  color: rgba(245, 241, 233, 0.86);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.daylight-pause:hover,
.daylight-pause[aria-pressed="true"] {
  color: var(--bone);
  border-bottom-color: var(--bone);
}

.section-pad {
  padding: clamp(82px, 10vw, 148px) 9.2vw;
}

.ink-eyebrow {
  color: var(--sage);
}

.intro {
  background: var(--bone);
}

.intro-grid,
.recognition-grid {
  margin-top: 39px;
  display: grid;
  grid-template-columns: 1.9fr 0.78fr;
  gap: 10vw;
  justify-content: space-between;
}

.intro h2,
.recognition h2 {
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.99;
}

.intro-copy {
  align-self: end;
  max-width: 370px;
}

.intro-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.inline-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  gap: 11px;
  align-items: center;
  padding: 9px 0 7px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.34);
  margin-top: 23px;
  font-size: 14px;
  font-weight: 600;
}

.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.65s var(--ease-out-expo);
}

.inline-link:hover::after,
.inline-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.inline-link span {
  font-size: 20px;
  line-height: 12px;
  transition: transform 0.55s var(--ease-out-expo);
}

.inline-link:hover span,
.inline-link:focus-visible span {
  transform: translateX(6px);
}

.work {
  background: var(--ink);
  color: var(--bone);
  padding-left: 3.1vw;
  padding-right: 3.1vw;
}

.section-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.section-top > p:last-child {
  margin: 0;
  color: rgba(245, 241, 233, 0.76);
  font-size: 15px;
}

.rule {
  margin-top: 27px;
  height: 1px;
  background: rgba(245, 241, 233, 0.34);
  transform-origin: left;
}

.has-motion [data-rule-reveal] {
  transform: scaleX(0);
  transition: transform 1.35s var(--ease-out-expo);
}

.has-motion [data-rule-reveal].is-visible {
  transform: scaleX(1);
}

.project-list {
  display: flex;
  flex-direction: column;
}

.project {
  margin-top: 76px;
  width: 63%;
  --project-shift: 0px;
}

.project-narrow {
  width: 49%;
  align-self: flex-end;
}

.project-meta {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: rgba(245, 241, 233, 0.78);
  font-size: 12px;
  opacity: 1;
  transition: opacity 0.7s ease 0.12s, transform 0.9s var(--ease-out-expo) 0.12s;
}

.project-meta span:first-child {
  color: var(--stone);
  font-weight: 600;
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  background: #202423;
  clip-path: inset(0);
  transition: clip-path 1.3s var(--ease-out-expo);
}

.project-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(245, 241, 233, 0.42);
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.75s var(--ease-out-expo);
}

.project-image::after {
  content: attr(data-motion-label);
  position: absolute;
  z-index: 2;
  right: 25px;
  top: 22px;
  color: var(--bone);
  opacity: 0;
  transform: translateY(10px);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo);
}

.project-open {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.project-open:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: -8px;
}

.no-js .project-open {
  display: none;
}

.project-view-lens {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(245, 241, 233, 0.7);
  border-radius: 50%;
  color: var(--bone);
  background: rgba(17, 17, 17, 0.48);
  -webkit-backdrop-filter: blur(7px) saturate(1.18);
  backdrop-filter: blur(7px) saturate(1.18);
  box-shadow: 0 5px 26px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.project-view-lens span {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-view-lens strong {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 450;
  line-height: 1;
}

.project-image picture,
.project-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.project-image picture {
  height: calc(100% + 80px);
  margin-top: -40px;
  opacity: 1;
  transform: translate3d(0, var(--project-shift), 0);
  will-change: transform;
  transition: opacity 0.18s ease;
}

.project.is-transition-source .project-image picture {
  opacity: 0;
}

.project-image img {
  object-fit: cover;
  transform: scale(1.075);
  transition: transform 1.15s var(--ease-out-expo), filter 0.75s ease;
}

@media (hover: hover) and (pointer: fine) {
  .project-open {
    cursor: none;
  }

  .project-view-lens {
    left: var(--project-cursor-x, 50%);
    top: var(--project-cursor-y, 50%);
    right: auto;
    bottom: auto;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: opacity 0.28s ease, transform 0.5s var(--ease-out-expo);
  }

  .project:hover .project-view-lens,
  .project:focus-within .project-view-lens {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .project:hover .project-image img {
    transform: scale(1.025);
    filter: saturate(1.06) contrast(1.03);
  }

  .project:focus-within .project-image img {
    transform: scale(1.025);
    filter: saturate(1.06) contrast(1.03);
  }

  .project:hover .project-image::before,
  .project:hover .project-image::after,
  .project:focus-within .project-image::before,
  .project:focus-within .project-image::after {
    opacity: 1;
    transform: none;
  }

  .project:hover .project-title-line > span,
  .project:focus-within .project-title-line > span {
    transform: translateX(10px);
  }
}

.project-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 3.7vw, 57px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.project-title-line > span {
  transition: opacity 0.8s ease, transform 1s var(--ease-out-expo);
}

.has-motion .project:not(.is-visible) .project-meta {
  opacity: 0;
  transform: translateY(14px);
}

.has-motion .project:not(.is-visible) .project-image {
  clip-path: inset(0 0 100% 0);
}

.has-motion .project:not(.is-visible) .project-image img {
  transform: scale(1.18);
}

.has-motion .project:not(.is-visible) .project-title-line > span {
  opacity: 0;
  transform: translateY(115%);
}

.has-motion .project.is-visible .project-title-line:nth-child(1) > span {
  transition-delay: 0.22s;
}

.has-motion .project.is-visible .project-title-line:nth-child(2) > span {
  transition-delay: 0.31s;
}

.recognition {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}

.recognition::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}

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

.has-motion .recognition::before {
  transform: scaleX(1);
  transition: transform 1.35s var(--ease-in-out);
}

.has-motion .recognition.is-visible::before {
  transform: scaleX(0);
}

.recognition-list {
  align-self: end;
}

.recognition-list p {
  margin: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.38);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: padding-left 0.55s var(--ease-out-expo), background 0.35s ease;
}

.recognition-list p:hover {
  padding-left: 12px;
  background: rgba(245, 241, 233, 0.12);
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.water-block {
  min-height: 680px;
  position: relative;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: var(--water);
  color: var(--bone);
  overflow: hidden;
}

.water-block::before,
.water-block::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.water-block::before {
  z-index: 0;
  inset: -20%;
  opacity: 0.3;
  background:
    radial-gradient(ellipse at 20% 45%, rgba(245, 241, 233, 0.19), transparent 31%),
    radial-gradient(ellipse at 78% 32%, rgba(245, 241, 233, 0.13), transparent 28%),
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 24px, rgba(245, 241, 233, 0.08) 25px 26px, transparent 27px 46px);
  mix-blend-mode: screen;
  transform: translate3d(0, var(--water-shift, 0px), 0) rotate(-4deg);
  will-change: transform;
}

.water-block::after {
  z-index: 0;
  left: -25%;
  right: -25%;
  top: calc(48% - 14px);
  height: 34px;
  opacity: 0.35;
  border-top: 1px solid rgba(245, 241, 233, 0.65);
  border-radius: 50%;
  transform: translate3d(var(--water-x, 0px), var(--water-shift, 0px), 0);
}

.waterline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: rgba(245, 241, 233, 0.12);
  border-bottom: 1px solid rgba(245, 241, 233, 0.52);
  transform: translate3d(0, var(--water-shift, 0px), 0);
  will-change: transform;
}

.water-block > span {
  z-index: 1;
  position: absolute;
  top: 45px;
  left: 45px;
  font-size: 12px;
  letter-spacing: 1.3px;
}

.water-block h2 {
  z-index: 1;
  position: relative;
  font-size: clamp(45px, 5.3vw, 76px);
  line-height: 0.91;
}

.water-block p {
  z-index: 1;
  position: relative;
  max-width: 320px;
  color: var(--bone);
  font-size: 16px;
  line-height: 1.5;
  margin: 24px 0 0;
}

.capability-list {
  background: var(--bone);
  padding: 40px 45px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.capability-list article {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  transition: padding-left 0.65s var(--ease-out-expo), background 0.4s ease;
}

.capability-list article:hover {
  padding-left: 14px;
  background: rgba(200, 181, 155, 0.12);
}

.capability-list article > span {
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  padding-top: 4px;
}

.capability-list h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.capability-list p {
  max-width: 360px;
  margin: 9px 0 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.5;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--bone);
  padding-bottom: 30px;
}

.contact::before {
  content: "";
  position: absolute;
  width: min(74vw, 950px);
  aspect-ratio: 1;
  right: -28vw;
  top: -22vw;
  opacity: 0.2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 165, 177, 0.82), rgba(65, 107, 120, 0.18) 44%, transparent 68%);
  transform: translate3d(0, var(--contact-shift, 0px), 0);
  pointer-events: none;
  will-change: transform;
}

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

.contact h2 {
  margin-top: 31px;
  font-size: clamp(50px, 7.2vw, 104px);
  line-height: 0.9;
}

.inquiry-form {
  margin: 54px 0 0;
  max-width: 730px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.field {
  position: relative;
  margin: 0 0 24px;
}

.inquiry-form label {
  display: block;
  color: rgba(245, 241, 233, 0.86);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  transform-origin: left;
  transition: color 0.3s ease, transform 0.45s var(--ease-out-expo);
}

.field:focus-within label {
  color: var(--stone);
  transform: translateY(-3px);
}

.field-note {
  color: rgba(245, 241, 233, 0.7);
}

.inquiry-form input,
.inquiry-form textarea {
  resize: vertical;
  width: 100%;
  min-height: 44px;
  display: block;
  color: var(--bone);
  caret-color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 233, 0.62);
  padding: 10px 0 9px;
  border-radius: 0;
  transition: border-color 0.3s ease, background 0.3s ease, padding 0.45s var(--ease-out-expo);
}

.inquiry-form textarea {
  min-height: 78px;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--bone);
  background: rgba(245, 241, 233, 0.025);
  padding-left: 8px;
}

.inquiry-form input:user-invalid,
.inquiry-form textarea:user-invalid {
  border-color: #f2aa8e;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.inquiry-button {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 10px;
  border: 0;
  border-radius: 0;
  padding: 15px 18px;
  background: var(--bone);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.45s ease, transform 0.55s var(--ease-out-expo);
}

.inquiry-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--water);
  transform: translateY(103%);
  transition: transform 0.6s var(--ease-out-expo);
}

.inquiry-button span {
  position: relative;
  z-index: 1;
}

.inquiry-button:hover,
.inquiry-button:focus-visible {
  color: var(--bone);
  transform: translateY(-3px);
}

.inquiry-button:hover::before,
.inquiry-button:focus-visible::before {
  transform: none;
}

.inquiry-button span:last-child {
  font-size: 20px;
  transition: transform 0.55s var(--ease-out-expo);
}

.inquiry-button:hover span:last-child,
.inquiry-button:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

.inquiry-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.inquiry-form[aria-busy="true"] input,
.inquiry-form[aria-busy="true"] textarea {
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
}

.form-status.is-error {
  color: #ffd0bc;
}

.form-status.is-success {
  color: #d8eadb;
}

.form-note {
  color: rgba(245, 241, 233, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.form-privacy {
  max-width: 620px;
  margin: 12px 0 0;
}

.footer-rule {
  height: 1px;
  background: rgba(245, 241, 233, 0.34);
  margin-top: 112px;
}

.footer-inner {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: rgba(245, 241, 233, 0.74);
}

.footer-inner strong {
  color: var(--bone);
  font-size: 13px;
}

.case-study {
  --case-accent: #75b7c3;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.45s ease;
}

.case-study[open] {
  display: block;
}

.case-study::backdrop {
  background: rgba(8, 10, 10, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background-color 0.55s ease, -webkit-backdrop-filter 0.55s ease, backdrop-filter 0.55s ease;
}

.case-study.is-open::backdrop {
  background: rgba(8, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.case-study.is-open {
  opacity: 1;
}

.case-study.has-shared-transition {
  opacity: 1;
}

.case-study.is-closing-shared {
  opacity: 1;
}

.case-study-shared-media {
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  contain: layout paint;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: left, top, width, height, border-radius;
}

.case-study-shared-media.is-visible {
  opacity: 1;
}

.case-study-shared-media.is-animating {
  transition:
    left 0.92s var(--ease-in-out),
    top 0.92s var(--ease-in-out),
    width 0.92s var(--ease-in-out),
    height 0.92s var(--ease-in-out),
    border-radius 0.72s ease,
    box-shadow 0.92s ease;
}

.case-study-shared-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--case-hero-position, center center);
  filter: var(--case-hero-filter, none);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.case-study-surface {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bone);
  opacity: 1;
  clip-path: polygon(0 100%, 17% 96%, 34% 100%, 54% 94%, 73% 98%, 100% 91%, 100% 100%, 0 100%);
  transition: clip-path 1.05s var(--ease-in-out), opacity 0.45s ease;
}

.case-study.is-open .case-study-surface {
  clip-path: polygon(0 0, 17% 0, 34% 0, 54% 0, 73% 0, 100% 0, 100% 100%, 0 100%);
}

.case-study.has-shared-transition .case-study-surface {
  clip-path: none;
}

.case-study.is-closing-shared .case-study-surface {
  opacity: 0;
}

.case-study.is-transitioning-in .case-study-surface {
  opacity: 0;
}

.case-study-toolbar {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  min-height: 86px;
  padding: 20px 3.1vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bone);
  background: linear-gradient(180deg, rgba(7, 9, 9, 0.46), rgba(7, 9, 9, 0));
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.case-study-toolbar p {
  width: 105px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.case-study-index {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  pointer-events: auto;
}

.case-study-index button {
  position: relative;
  padding: 8px 0 10px;
  border: 0;
  color: inherit;
  background: transparent;
  display: flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0.55;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.35s ease;
}

.case-study-index button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out-expo);
}

.case-study-index button:hover,
.case-study-index button:focus-visible,
.case-study-index button[aria-current="true"] {
  opacity: 1;
}

.case-study-index button:focus-visible {
  outline: 0;
}

.case-study-index button:focus-visible::after,
.case-study-index button[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.case-study-index small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.case-study-close {
  width: 74px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  pointer-events: auto;
}

.case-study-close i {
  width: 24px;
  height: 24px;
  position: relative;
  display: block;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 0.55s var(--ease-out-expo), background 0.35s ease;
}

.case-study-close i::before,
.case-study-close i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 10px;
  height: 1px;
  background: currentColor;
}

.case-study-close i::before { transform: rotate(45deg); }
.case-study-close i::after { transform: rotate(-45deg); }

.case-study-close:hover i,
.case-study-close:focus-visible i {
  transform: rotate(90deg);
  background: rgba(245, 241, 233, 0.14);
}

.case-study-close:focus-visible {
  outline: 0;
}

.case-study-close:focus-visible i {
  box-shadow: 0 0 0 2px currentColor;
}

.case-study-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(65, 107, 120, 0.52) transparent;
}

.case-study-article {
  min-height: 100%;
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease, transform 0.45s var(--ease-out-expo);
}

.case-study-article.is-swapping {
  opacity: 0;
  transform: translateY(18px);
}

.case-study-intro {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--bone);
  background: var(--ink);
}

.case-study-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.28s ease;
}

.case-study.is-transitioning-in .case-study-hero-media {
  opacity: 0;
}

.case-study-hero-media picture,
.case-study-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.case-study-hero-media img {
  object-fit: cover;
  object-position: var(--case-hero-position, center center);
  filter: var(--case-hero-filter, none);
  transform: scale(1.045);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 1.8s var(--ease-out-expo), filter 0.7s ease;
}

.case-study.is-content-ready .case-study-hero-media img {
  transform: scale(1);
}

.case-study-hero-tone {
  position: absolute;
  inset: 0;
  background: var(--case-hero-tone, linear-gradient(180deg, rgba(5, 8, 8, 0.32), rgba(5, 8, 8, 0.08) 34%, rgba(5, 8, 8, 0.7) 100%));
}

.case-study-hero-media figcaption {
  position: absolute;
  z-index: 3;
  left: 3.1vw;
  right: 3.1vw;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  opacity: 0.76;
}

.case-study-intro-content {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 148px 8.2vw 84px;
  display: grid;
  grid-template-columns: 1.65fr 0.7fr;
  column-gap: 8vw;
  align-content: end;
}

.case-study-intro-content .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 35px;
  color: rgba(245, 241, 233, 0.78);
}

.case-study-intro-content h2 {
  max-width: 900px;
  font-size: clamp(66px, 7.4vw, 112px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.078em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.16);
}

.case-study-intro-content h2 span {
  display: block;
}

.case-study-intro-content > p:last-child {
  align-self: end;
  max-width: 370px;
  margin: 0 0 5px;
  color: rgba(245, 241, 233, 0.9);
  font-size: 17px;
  line-height: 1.52;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.24);
}

.case-study.is-content-ready .case-study-intro-content > * {
  animation: case-study-enter 0.95s var(--ease-out-expo) both;
}

.case-study.is-content-ready .case-study-intro-content > :nth-child(1) { animation-delay: 0.08s; }
.case-study.is-content-ready .case-study-intro-content > :nth-child(2) { animation-delay: 0.15s; }
.case-study.is-content-ready .case-study-intro-content > :nth-child(3) { animation-delay: 0.24s; }

.case-study-figure {
  margin: 0;
}

.case-study-figure picture,
.case-study-figure img {
  display: block;
  width: 100%;
  height: 100%;
}

.case-study-figure picture {
  overflow: hidden;
}

.case-study-figure img {
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 1.4s var(--ease-out-expo), opacity 0.35s ease;
}

.case-study-figure.is-visible img {
  transform: translate3d(0, var(--case-secondary-shift, 0), 0) scale(1.015);
}

.case-study-figure figcaption {
  min-height: 44px;
  padding: 13px 3.1vw 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-study-annotations {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0.55s;
  pointer-events: none;
}

.case-study.is-content-ready .case-study-annotations {
  opacity: 1;
}

.case-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  color: rgba(245, 241, 233, 0.84);
}

.case-annotation i {
  position: relative;
  width: clamp(70px, 10vw, 150px);
  height: 1px;
  display: block;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out-expo) 0.65s;
}

.case-study.is-content-ready .case-annotation i {
  transform: scaleX(1);
}

.case-annotation i::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.34);
}

.case-annotation em {
  margin-left: 12px;
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-annotation-one {
  left: 11vw;
  top: 35%;
}

.case-annotation-two {
  right: 9vw;
  bottom: 41%;
  flex-direction: row-reverse;
}

.case-annotation-two i {
  transform-origin: right;
}

.case-annotation-two i::before {
  left: auto;
  right: -3px;
}

.case-annotation-two em {
  margin-right: 12px;
  margin-left: 0;
}

.case-study[data-study="0"] {
  --case-accent: #79b6c1;
  --case-hero-position: center 54%;
  --case-hero-filter: saturate(0.88) contrast(1.05) brightness(0.88);
  --case-hero-tone: linear-gradient(180deg, rgba(8, 12, 11, 0.34), rgba(8, 12, 11, 0.06) 38%, rgba(8, 12, 11, 0.74) 100%);
}

.case-study[data-study="1"] {
  --case-accent: #c29371;
  --case-hero-position: center 42%;
  --case-hero-filter: saturate(0.76) contrast(1.12) brightness(0.82);
  --case-hero-tone: linear-gradient(180deg, rgba(12, 9, 7, 0.4), rgba(12, 9, 7, 0.1) 36%, rgba(12, 9, 7, 0.78) 100%);
}

.case-study[data-study="1"] .case-annotation-one {
  left: 17vw;
  top: 29%;
}

.case-study[data-study="1"] .case-annotation-two {
  right: 13vw;
  bottom: 42%;
}

.case-study[data-study="2"] {
  --case-accent: #70a7b8;
  --case-hero-position: center 56%;
  --case-hero-filter: saturate(0.72) contrast(1.13) brightness(0.68);
  --case-hero-tone: linear-gradient(180deg, rgba(3, 8, 12, 0.48), rgba(3, 8, 12, 0.08) 38%, rgba(3, 8, 12, 0.82) 100%);
}

.case-study[data-study="2"] .case-annotation-one {
  left: 8vw;
  top: 43%;
}

.case-study[data-study="2"] .case-annotation-two {
  right: 11vw;
  bottom: 38%;
}

[data-case-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.72s ease, transform 1s var(--ease-out-expo);
}

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

.case-study-notes {
  padding: clamp(95px, 12vw, 176px) 8.2vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10vw;
}

.case-study-notes article {
  border-top: 1px solid rgba(17, 17, 17, 0.3);
  padding-top: 18px;
}

.case-study-notes article > p:first-child {
  margin: 0;
  color: var(--case-accent);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-study-notes h3 {
  max-width: 440px;
  margin: 52px 0 0;
  font-size: clamp(34px, 4.1vw, 61px);
  font-weight: 450;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.case-study-notes article > p:last-child {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.55;
}

.case-study-secondary {
  width: 78%;
  margin-left: auto;
}

.case-study-secondary picture {
  height: min(57vw, 770px);
}

.case-study-secondary img {
  will-change: transform;
}

.case-study[data-study="0"] .case-study-secondary img {
  object-position: center 58%;
  filter: saturate(0.86) contrast(1.05);
}

.case-study[data-study="1"] .case-study-secondary img {
  object-position: center 48%;
  filter: saturate(0.72) contrast(1.1) brightness(0.94);
}

.case-study[data-study="2"] .case-study-secondary img {
  object-position: center 62%;
  filter: saturate(0.7) contrast(1.16) brightness(0.78);
}

.case-study-next {
  margin-top: clamp(90px, 12vw, 180px);
  padding: 72px 8.2vw 92px;
  color: var(--bone);
  background: var(--ink);
}

.case-study-next > p {
  margin: 0 0 34px;
  color: var(--stone);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.case-study-next button {
  width: 100%;
  min-height: 138px;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(245, 241, 233, 0.38);
  border-bottom: 1px solid rgba(245, 241, 233, 0.38);
  color: inherit;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.case-study-next button span {
  display: flex;
  flex-direction: column;
}

.case-study-next small {
  color: rgba(245, 241, 233, 0.62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-study-next strong {
  margin-top: 13px;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.case-study-next button > i {
  font-size: 40px;
  font-style: normal;
  transition: transform 0.6s var(--ease-out-expo);
}

.case-study-next button:hover > i,
.case-study-next button:focus-visible > i {
  transform: translateX(12px);
}

.case-study-waterline {
  position: absolute;
  z-index: 5;
  right: 3.1vw;
  top: 104px;
  bottom: 34px;
  width: 1px;
  background: rgba(65, 107, 120, 0.2);
  pointer-events: none;
}

.case-study-waterline span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(102, 165, 177, 0.28), var(--case-accent));
  transform: scaleY(var(--case-progress, 0));
  transform-origin: top;
}

@keyframes case-study-enter {
  from {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 980px) {
  .case-study-intro-content {
    padding-left: 5.2vw;
    padding-right: 5.2vw;
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .case-study-intro-content .eyebrow {
    margin-bottom: 0;
  }

  .case-study-intro-content h2 {
    font-size: clamp(62px, 10.4vw, 96px);
  }

  .case-study-intro-content > p:last-child {
    max-width: 470px;
  }
}

.error-page {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(32px, 8vw, 110px);
  color: var(--bone);
  background: var(--charcoal);
}

.error-page main {
  max-width: 820px;
}

.error-page h1 {
  margin: 22px 0 0;
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.error-page main > p:not(.eyebrow) {
  max-width: 430px;
  margin: 30px 0 0;
  font-size: 17px;
  line-height: 1.5;
}

.error-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
}

[data-reveal],
[data-rule-reveal],
[data-surface-reveal],
.reveal {
  opacity: 1;
  transform: none;
}

.has-motion [data-reveal] {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(38px);
  transition-property: opacity, transform, filter, padding-left, background;
  transition-duration: 0.85s, 1.05s, 0.85s, 0.65s, 0.4s;
  transition-timing-function: ease, var(--ease-out-expo), ease, var(--ease-out-expo), ease;
}

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

.has-motion [data-reveal-delay="1"].is-visible {
  transition-delay: 0.08s;
}

.has-motion [data-reveal-delay="2"].is-visible {
  transition-delay: 0.16s;
}

.has-motion [data-reveal-delay="3"].is-visible {
  transition-delay: 0.24s;
}

.has-motion [data-reveal-delay="4"].is-visible {
  transition-delay: 0.32s;
}

@keyframes daylight-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-0.7%, 0.35%, 0); }
}

@keyframes refractive-seam {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0);
  }
  14% { opacity: 0.18; }
  48% { opacity: 0.42; }
  86% { opacity: 0.16; }
  100% {
    opacity: 0;
    transform: translate3d(calc(100vw - 50%), 0, 0);
  }
}

@keyframes water-swell {
  from { transform: translate3d(0, 0, 0) scaleX(1); }
  to { transform: translate3d(-0.45%, -5px, 0) scaleX(1.014); }
}

@keyframes refraction-drift {
  from { transform: translate3d(-1.5%, 8px, 0) scale(1.04); }
  to { transform: translate3d(1.5%, -5px, 0) scale(1.075); }
}

@keyframes scroll-cue {
  0% { transform: translateX(-105%); }
  44%, 52% { transform: translateX(0); }
  100% { transform: translateX(105%); }
}

@keyframes daylight-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.has-motion.is-ready .hero-frame {
  animation: daylight-drift 16s cubic-bezier(0.42, 0, 0.3, 1) 1.2s infinite alternate;
}

.has-motion.is-ready .hero canvas {
  animation: water-swell 5.8s ease-in-out infinite alternate;
}

.has-motion.is-ready .hero-refraction {
  animation: refraction-drift 8s ease-in-out infinite alternate;
}

.daylight-is-paused .hero-frame,
.daylight-is-paused .hero canvas,
.daylight-is-paused .hero-refraction {
  animation-play-state: paused;
}

@media (max-width: 720px) {
  .continuum-line {
    display: none;
  }

  .site-header {
    padding: 18px 22px;
  }

  .site-header.is-scrolled {
    padding: 10px 22px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .no-js .desktop-nav {
    position: absolute;
    right: 22px;
    top: 18px;
    display: flex;
    gap: 8px;
  }

  .no-js .desktop-nav a {
    padding-left: 3px;
    padding-right: 3px;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .menu-panel {
    display: block;
    top: 70px;
    right: 22px;
    width: min(300px, calc(100vw - 44px));
  }

  .hero {
    min-height: 740px;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 228px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.8vw, 58px);
  }

  .daylight-scene[data-daylight-state="2"] .title-line:nth-child(2) > span {
    white-space: normal;
  }

  .hero-detail {
    margin-top: 20px;
  }

  .scroll-cue {
    display: none;
  }

  .daylight-dock {
    left: 22px;
    right: 22px;
    bottom: 18px;
    display: block;
  }

  .daylight-actions {
    margin-top: 10px;
    justify-content: space-between;
    align-items: center;
  }

  .daylight-controls {
    gap: 14px;
  }

  .daylight-pause {
    min-width: 52px;
  }

  .section-pad {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro h2,
  .recognition h2 {
    font-size: 43px;
  }

  .intro-copy {
    max-width: none;
  }

  .work {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-top {
    flex-direction: column;
    gap: 14px;
  }

  .project,
  .project-narrow {
    width: 100%;
    margin-top: 50px;
  }

  .project-image {
    aspect-ratio: 1 / 0.96;
  }

  .project-image picture {
    height: calc(100% + 54px);
    margin-top: -27px;
  }

  .project-title {
    font-size: 36px;
  }

  .project-view-lens {
    left: auto;
    top: auto;
    right: 13px;
    bottom: 13px;
    width: 64px;
    height: 64px;
    opacity: 1;
    transform: none;
  }

  .case-study-toolbar {
    min-height: 72px;
    padding: 14px 22px;
  }

  .case-study-toolbar p {
    display: none;
  }

  .case-study-index {
    gap: 19px;
  }

  .case-study-index button {
    min-width: 25px;
    min-height: 40px;
    padding: 9px 0;
    justify-content: center;
  }

  .case-study-index small {
    display: none;
  }

  .case-study-close {
    width: 70px;
  }

  .case-study-waterline {
    right: 22px;
    top: 88px;
    bottom: 22px;
  }

  .case-study-intro {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .case-study-intro-content {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 116px 22px 78px;
    row-gap: 28px;
    align-content: end;
  }

  .case-study-intro-content h2 {
    font-size: clamp(50px, 14.4vw, 68px);
    line-height: 0.88;
    letter-spacing: -0.07em;
  }

  .case-study-intro-content > p:last-child {
    max-width: calc(100% - 34px);
    margin-top: 5px;
    font-size: 15px;
  }

  .case-study-hero-media figcaption {
    left: 22px;
    right: 22px;
    bottom: 18px;
  }

  .case-study-annotations em {
    display: none;
  }

  .case-annotation i {
    width: 58px;
  }

  .case-annotation-one {
    left: 22px;
    top: 29%;
  }

  .case-annotation-two {
    right: 22px;
    bottom: 42%;
  }

  .case-study-figure figcaption {
    min-height: 52px;
    padding: 13px 22px 0;
  }

  .case-study-notes {
    padding: 90px 22px 110px;
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .case-study-notes h3 {
    margin-top: 34px;
    font-size: clamp(37px, 11vw, 52px);
  }

  .case-study-secondary {
    width: 100%;
  }

  .case-study-secondary picture {
    height: min(105vw, 680px);
  }

  .case-study-next {
    margin-top: 100px;
    padding: 58px 22px 72px;
  }

  .case-study-next button {
    min-height: 124px;
  }

  .case-study-next strong {
    max-width: 270px;
    font-size: clamp(32px, 10vw, 46px);
  }

  .capabilities {
    grid-template-columns: 1fr;
  }

  .water-block {
    min-height: 530px;
    padding: 28px;
  }

  .water-block > span {
    top: 28px;
    left: 28px;
  }

  .capability-list {
    padding: 25px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .no-js .desktop-nav {
    gap: 3px;
  }

  .daylight-controls {
    gap: 8px;
  }

  .daylight-pause {
    min-width: 48px;
  }

  .case-study-intro h2 {
    font-size: 48px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero canvas {
    display: none;
  }

  .hero-media::after {
    display: none;
  }

  .water-type-canvas {
    display: none;
  }

  .water-type-rendered {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .continuum-line {
    display: none;
  }

  .case-study-surface {
    clip-path: none !important;
  }

  .case-study-intro-content > * {
    animation: none !important;
  }

  .case-study-shared-media {
    display: none !important;
  }

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

@media (prefers-reduced-transparency: reduce) {
  .grain {
    display: none;
  }

  .water-type-canvas {
    display: none;
  }

  .water-type-rendered {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .hero-refraction {
    display: none;
  }

  .hero-media::after {
    display: none;
  }

  .hero-shade {
    background: rgba(8, 10, 10, 0.58);
  }

  .case-study::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .project-view-lens {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(17, 17, 17, 0.82);
  }
}

@media (prefers-contrast: more) {
  .hero-shade {
    background: rgba(8, 10, 10, 0.68);
  }

  .section-top > p:last-child,
  .project-meta,
  .footer-inner,
  .field-note {
    color: var(--bone);
  }
}

@media (forced-colors: active) {
  .grain,
  .water-type-canvas,
  .hero canvas,
  .hero-media::after,
  .hero-refraction,
  .hero-shade,
  .waterline,
  .continuum-line,
  .case-study-waterline {
    display: none;
  }

  .brand img {
    filter: none;
  }

  .water-type-rendered {
    color: CanvasText !important;
    -webkit-text-fill-color: CanvasText !important;
  }

  .menu-toggle,
  .time-control,
  .daylight-pause,
  .inquiry-button,
  .case-study-close {
    forced-color-adjust: auto;
  }

  .case-study-close:focus-visible {
    outline: 2px solid ButtonText;
    outline-offset: 2px;
  }
}

@media print {
  .water-type-canvas,
  .hero-media::after {
    display: none !important;
  }

  .water-type-rendered {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

@media (prefers-reduced-motion: reduce),
  (prefers-reduced-transparency: reduce),
  (forced-colors: active),
  print {
  [data-stage-title].water-type-rendered .title-line > span {
    visibility: visible !important;
  }

  .water-type-cursor {
    display: none !important;
  }
}
