@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/Plus%20Jakarta/PlusJakartaSans-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ==========================================================================
     GLOBAL VARIABLES - SITE-WIDE SPACING, COLORS, HEADER, FOOTER, CARDS
     ========================================================================== */
  --color-blue: #0f5585;
  --color-green: #179148;
  --color-orange: #a65f14;
  --hero-ink: #ffffff;
  --hero-bg: #000000;
  --hero-loop-color: var(--color-blue);
  --page-bg: #030303;
  --body-color: #c4c4c4;
  --stable-viewport-height: 100svh;
  --density-scale: 1;
  --shell-width: calc(1000px * var(--density-scale));
  --shell-gutter: clamp(calc(22px * var(--density-scale)), 4vw, calc(48px * var(--density-scale)));
  --landing-gutter: var(--shell-gutter);
  --mobile-edge-gutter: var(--shell-gutter);
  --hero-block-gap: clamp(calc(76px * var(--density-scale)), 7vw, calc(132px * var(--density-scale)));
  --hero-layout-max-height: calc(1000px * var(--density-scale));
  --hero-min-height: calc(820px * var(--density-scale));
  --hero-content-padding-bottom: clamp(calc(126px * var(--density-scale)), 15vh, calc(170px * var(--density-scale)));
  --hero-explore-bottom: clamp(18px, 2.8vh, 34px);
  --hero-intro-explore-gap: 100px;
  --hero-bottom-group-bottom: clamp(42px, 6vh, 84px);
  --section-padding-top: clamp(5px, 10vh, 20px);
  --section-padding-bottom: clamp(5px, 10vh, 20px);
  --hero-content-width: 70vw;
  --mobile-text-inset-extra: 15px;
  --section-rule-color: rgba(255, 255, 255, 0.15);
  --footer-space-before: calc(250px * var(--density-scale));
  --footer-rule-gap: calc(60px * var(--density-scale));
  --footer-bottom-space: calc(100px * var(--density-scale));
  --footer-logo-width: calc(28px * var(--density-scale));
  --project-detail-width: calc(1000px * var(--density-scale));
  --project-media-width: 90vw;
  --header-y: clamp(calc(22px * var(--density-scale)), 3vw, calc(44px * var(--density-scale)));
  --logo-width: calc(30px * var(--density-scale));
  --nav-gap: clamp(calc(32px * var(--density-scale)), 3.1vw, calc(60px * var(--density-scale)));
  --nav-size: calc(13px * var(--density-scale));
  --home-preloader-bg: var(--page-bg);
  --home-preloader-logo-width: calc(52.8px * var(--density-scale));
  --home-preloader-ring-size: calc(100px * var(--density-scale));
  --home-preloader-ring-width: 1px;
  --home-preloader-ring-color: rgba(255, 255, 255, 0.72);
  --home-preloader-ring-track-color: rgba(255, 255, 255, 0.08);
  --home-preloader-spin-duration: 1.18s;
  --home-preloader-pulse-duration: 1.8s;
  --home-preloader-fade-duration: 320ms;
  --portfolio-card-media-aspect: 450 / 350;
  --portfolio-card-media-max-height: none;
  --portfolio-card-image-height: 100%;
  --portfolio-card-image-fit: cover;
  --portfolio-card-body-min-height: calc(125px * var(--density-scale));
  --portfolio-card-body-min-height-tablet: 125px;
  --portfolio-card-body-align: start;
  --portfolio-card-padding-top: calc(25px * var(--density-scale));
  --portfolio-card-padding-right: calc(20px * var(--density-scale));
  --portfolio-card-padding-bottom: calc(25px * var(--density-scale));
  --portfolio-card-padding-left: calc(20px * var(--density-scale));
  --portfolio-card-industry-space-after: calc(10px * var(--density-scale));
  --portfolio-card-industry-color: #747474;
  --portfolio-card-industry-font-size: calc(13px * var(--density-scale));
  --portfolio-card-industry-font-weight: 400;
  --portfolio-card-industry-line-height: 1;
  --portfolio-card-industry-text-transform: uppercase;
  --portfolio-card-title-color: var(--hero-ink);
  --portfolio-card-title-font-size: calc(26px * var(--density-scale));
  --portfolio-card-title-font-weight: 400;
  --portfolio-card-title-line-height: 1;
  --portfolio-card-title-text-transform: none;
  --portfolio-card-copy-space-before: calc(5px * var(--density-scale));
  --portfolio-card-copy-color: var(--body-color);
  --portfolio-card-copy-font-size: clamp(calc(13px * var(--density-scale)), calc(0.9rem + 0.12vw), calc(13px * var(--density-scale)));
  --portfolio-card-copy-font-weight: 400;
  --portfolio-card-copy-line-height: 1.24;
  --portfolio-card-copy-text-transform: none;
  --portfolio-card-copy-separator: "·";
  --portfolio-card-copy-separator-space: 0.45em;
  --featured-card-logo-scale-desktop: 0.80;
  --featured-card-logo-scale-tablet: 0.85;
  --featured-card-logo-scale-mobile: 0.9;
  --featured-card-logo-opacity: 0.25;
  --featured-card-logo-right: 0px;
  --featured-card-logo-bottom: 0px;
  --projects-card-logo-scale-desktop: 1;
  --projects-card-logo-scale-tablet: 0.85;
  --projects-card-logo-scale-mobile: 0.9;
  --projects-card-logo-opacity: 0.25;
  --projects-card-logo-right: 0px;
  --projects-card-logo-bottom: 0px;
  color-scheme: dark;
  font-family: "Inter", Arial, sans-serif;
}

@media (min-width: 901px) and (max-resolution: 1.24dppx) {
  :root {
    --density-scale: 1.5;
  }
}

@media (min-width: 901px) and (min-resolution: 1.25dppx) and (max-resolution: 1.49dppx) {
  :root {
    --density-scale: 1.2;
  }
}

@media (min-width: 1281px) and (max-width: 1599px) {
  :root {
    --project-media-width: 80vw;
  }
}

@media (min-width: 1600px) and (max-width: 2199px) {
  :root {
    --project-media-width: 70vw;
  }
}

@media (min-width: 2200px) {
  :root {
    --project-media-width: 60vw;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  overflow-x: hidden;
  background: var(--page-bg);
}

[hidden] {
  display: none !important;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #030303;
  color: var(--body-color);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body.nav-open {
  overflow: hidden;
}

.home-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--home-preloader-bg);
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--home-preloader-fade-duration) ease;
}

body.is-home-loader-hidden .home-preloader {
  opacity: 0;
  pointer-events: none;
}

.home-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-preloader-mark {
  position: relative;
  display: flex;
  width: var(--home-preloader-ring-size);
  flex-direction: column;
  align-items: center;
}

.home-preloader-mark img {
  display: block;
  width: var(--home-preloader-logo-width);
  height: auto;
}

.home-preloader-dots {
  position: relative;
  display: block;
  width: 3px;
  height: 39px;
  margin-bottom: calc(25px * var(--density-scale));
}

.home-preloader-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, var(--dot-rest));
  animation: homePreloaderDots 1.8s ease-in-out infinite;
}

.home-preloader-dot-top {
  --dot-rest: -19px;
  --dot-close: -10px;
}

.home-preloader-dot-mid {
  transform: translate(-50%, -50%);
  animation: none;
}

.home-preloader-dot-bottom {
  --dot-rest: 16px;
  --dot-close: 7px;
}

.home-preloader-progress {
  position: relative;
  width: calc(116px * var(--density-scale));
  height: 1px;
  margin-top: calc(25px * var(--density-scale));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.home-preloader-progress-fill {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.44, 0, 0.56, 1);
}

@keyframes homePreloaderDots {
  0% {
    transform: translate(-50%, var(--dot-rest));
  }

  50% {
    transform: translate(-50%, var(--dot-close));
  }

  100% {
    transform: translate(-50%, var(--dot-rest));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-preloader-dot {
    animation: none;
  }
}

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

button {
  border: 0;
  padding: 0;
  font: inherit;
}

/* ==========================================================================
   HEADER - LOGO, DESKTOP LINKS, MOBILE MENU ENTRY POINT
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: var(--header-y) 0;
  pointer-events: none;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  width: auto;
  height: calc(var(--header-y) * 2 + var(--logo-width) + calc(50px * var(--density-scale)));
  background: linear-gradient(180deg, var(--page-bg) 0%, rgba(3, 3, 3, 0) 100%);
  pointer-events: none;
}

.site-header-inner {
  width: min(var(--shell-width), calc(100% - var(--mobile-edge-gutter) * 2));
  margin-inline: auto;
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  z-index: 2;
  width: var(--logo-width);
  flex: 0 0 auto;
  pointer-events: auto;
  transform-origin: center;
  transition: opacity 200ms ease, transform 180ms ease;
}

.site-logo:hover,
.site-logo:focus-visible {
  opacity: 0.8;
  transform: scale(0.85);
}

.site-logo:focus-visible {
  opacity: 1;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  gap: var(--nav-gap);
  color: var(--hero-ink);
  font-size: var(--nav-size);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: auto;
  transition: opacity 200ms ease;
}

.menu-toggle {
  transition: opacity 200ms ease, transform 180ms ease;
}

body.is-header-content-hidden:not(.nav-open) .site-logo,
body.is-header-content-hidden:not(.nav-open) .site-nav,
body.is-header-content-hidden:not(.nav-open) .menu-toggle {
  opacity: 0;
  pointer-events: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  padding: calc(10px * var(--density-scale)) calc(12px * var(--density-scale));
  margin: calc(-10px * var(--density-scale)) calc(-12px * var(--density-scale));
  opacity: 1;
  --signal-color: var(--color-orange);
}

.nav-link-about {
  --signal-color: var(--color-blue);
}

.nav-link-contact {
  --signal-color: var(--color-green);
}

.nav-link,
.nav-link-about,
.nav-link-contact,
.home-page .nav-link {
  --signal-color: var(--hero-loop-color);
}

.nav-label {
  display: inline-block;
  transform-origin: center;
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-top-dot {
  position: absolute;
  top: calc(-12px + 10px * var(--density-scale));
  left: 50%;
  width: 3.6px;
  height: 3.6px;
  border-radius: 999px;
  background: var(--signal-color);
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.45);
  transition: opacity 200ms ease;
  pointer-events: none;
}

.nav-link:hover .nav-label,
.nav-link:focus-visible .nav-label {
  opacity: 0.5;
  transform: scale(0.9);
}

.nav-link:focus-visible .nav-label {
  opacity: 1;
}

.nav-link.is-animating .nav-top-dot {
  animation: nav-top-dot 0.96s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.nav-signal {
  position: absolute;
  top: calc(100% + 14px - 10px * var(--density-scale));
  left: 50%;
  width: 18px;
  height: 88px;
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity 200ms ease;
  pointer-events: none;
}

.nav-link.is-resetting .nav-top-dot,
.nav-link.is-resetting .nav-signal {
  opacity: 0;
}

.nav-link.is-resetting .nav-top-dot,
.nav-link.is-resetting .nav-signal-line,
.nav-link.is-resetting .nav-signal-dot {
  animation: none;
}

.nav-signal-line,
.nav-signal-dot {
  position: absolute;
  left: 50%;
  opacity: 0;
  transform: translateX(-50%);
}

.nav-signal-line {
  left: calc(50% - 0.5px);
  bottom: 18px;
  width: 1px;
  min-width: 1px;
  max-width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.2);
  transform: scaleY(0);
  transform-origin: bottom;
}

.nav-signal-dot {
  border-radius: 999px;
  background: var(--signal-color);
}

.nav-signal-dot-bottom {
  bottom: 0;
  width: 3.6px;
  height: 3.6px;
}

.nav-signal-dot-mid {
  bottom: 58px;
  width: 4.5px;
  height: 4.5px;
}

.nav-signal-dot-high {
  bottom: 70px;
  width: 3.6px;
  height: 3.6px;
  background: rgba(255, 255, 255, 0.92);
}

.nav-signal-dot-top {
  bottom: 82px;
  width: 6.3px;
  height: 6.3px;
  background: #ffffff;
}

.nav-link.is-animating .nav-signal-line {
  animation: nav-signal-line 0.78s ease-out forwards;
}

.nav-link.is-animating .nav-signal-dot {
  animation: nav-signal-dot 0.74s ease-out forwards;
}

.nav-link.is-animating .nav-signal-dot-bottom {
  animation-name: nav-signal-bottom-dot;
  animation-duration: 0.66s;
  animation-delay: 0s;
}

.nav-link.is-animating .nav-signal-dot-mid {
  animation-name: nav-signal-mid-dot;
  animation-duration: 0.72s;
  animation-delay: 0.1s;
}

.nav-link.is-animating .nav-signal-dot-high {
  animation-duration: 0.64s;
  animation-delay: 0.18s;
}

.nav-link.is-animating .nav-signal-dot-top {
  animation-duration: 0.5s;
  animation-delay: 0.27s;
}

.menu-toggle {
  display: none;
  z-index: 2;
  width: calc(34px * var(--density-scale));
  height: calc(34px * var(--density-scale));
  justify-self: end;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.menu-toggle img {
  display: block;
  width: calc(28px * var(--density-scale));
  height: auto;
  margin-left: auto;
  filter: invert(1);
  transition: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(100svh, var(--hero-min-height));
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-color-loop-layer {
  position: absolute;
  inset: 0;
  z-index: 11;
  background: var(--hero-loop-color);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: max(0px, calc((100% - var(--hero-layout-max-height)) / 2));
  bottom: max(0px, calc((100% - var(--hero-layout-max-height)) / 2));
  right: 0;
  left: 0;
  width: min(var(--hero-content-width), calc(100% - var(--shell-gutter) * 2));
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  color: var(--hero-ink);
  padding-top: clamp(calc(88px * var(--density-scale)), 11vh, calc(132px * var(--density-scale)));
  padding-bottom: var(--hero-content-padding-bottom);
  transform: none;
}

.hero-center-block {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: var(--hero-block-gap);
  text-align: center;
}

.hero-stack {
  width: 100%;
  max-width: 100%;
  justify-self: center;
  transform: translate3d(0, calc(var(--hero-center-offset-y, 0px) + var(--hero-scroll-hold-y, 0px)), 0);
  transition: transform 120ms ease-out;
  will-change: transform;
}

.hero-wordmark {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  text-align: center;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

.hero-wordmark h1 {
  --wordmark-mask-x: 50%;
  --wordmark-mask-y: 50%;
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(calc(76px * var(--density-scale)), 14.55vw, calc(560px * var(--density-scale)));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 300ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 300ms;
  will-change: opacity, transform;
}

.hero-title {
  position: relative;
  z-index: 2;
  display: block;
  color: #ffffff;
}

.hero-spread-layer {
  --spread-mask-x: 50%;
  --spread-mask-y: 50%;
  --spread-motion-y: 0px;
  --spread-scale: 1;
  --spread-rotate-y: 0deg;
  --spread-perspective: 1500px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: block;
  width: max-content;
  max-width: none;
  color: transparent;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(calc(76px * var(--density-scale)), 14.55vw, calc(560px * var(--density-scale)));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #ffffff;
  text-stroke: 1px #ffffff;
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(-50%, calc(-50% + var(--spread-motion-y)), 0)
    perspective(var(--spread-perspective))
    rotateY(var(--spread-rotate-y))
    scale(var(--spread-scale));
  transform-origin: center;
  transition: opacity 620ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform, -webkit-mask-position, mask-position;
}

.hero-spread-layer-near {
  --spread-perspective: 1700px;
  z-index: 1;
  mask-image: radial-gradient(
    circle clamp(300px, 27vw, 520px) at var(--spread-mask-x) var(--spread-mask-y),
    #000 0%,
    rgba(0, 0, 0, 0.92) 18%,
    rgba(0, 0, 0, 0.38) 54%,
    rgba(0, 0, 0, 0) 82%
  );
  -webkit-mask-image: radial-gradient(
    circle clamp(300px, 27vw, 520px) at var(--spread-mask-x) var(--spread-mask-y),
    #000 0%,
    rgba(0, 0, 0, 0.92) 18%,
    rgba(0, 0, 0, 0.38) 54%,
    rgba(0, 0, 0, 0) 82%
  );
}

.hero-spread-layer-far {
  --spread-perspective: 1250px;
  mask-image: radial-gradient(
    circle clamp(620px, 54vw, 1080px) at var(--spread-mask-x) var(--spread-mask-y),
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.68) 22%,
    rgba(0, 0, 0, 0.24) 58%,
    rgba(0, 0, 0, 0) 86%
  );
  -webkit-mask-image: radial-gradient(
    circle clamp(620px, 54vw, 1080px) at var(--spread-mask-x) var(--spread-mask-y),
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.68) 22%,
    rgba(0, 0, 0, 0.24) 58%,
    rgba(0, 0, 0, 0) 86%
  );
}

.hero-wordmark.is-lumen-active .hero-spread-layer-near {
  opacity: 0.6;
}

.hero-wordmark.is-lumen-active .hero-spread-layer-far {
  opacity: 0.30;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #ffffff;
  text-stroke: 1px #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  animation:
    lowlumen-outline-pulse-inner 4.8s cubic-bezier(0.44, 0, 0.56, 1) infinite;
  mask-image: radial-gradient(
    circle 600px at var(--wordmark-mask-x) var(--wordmark-mask-y),
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle 600px at var(--wordmark-mask-x) var(--wordmark-mask-y),
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: opacity 520ms cubic-bezier(0.44, 0, 0.56, 1);
}

.hero-wordmark.is-lumen-active .hero-title::after {
  opacity: 1;
}

.hero-title-exiting .hero-wordmark h1 {
  opacity: 0;
  transform: translate3d(0, 118px, 0);
  transition-delay: 270ms;
}

.hero-wordmark p {
  width: 100%;
  margin: calc(15px * var(--density-scale)) auto 0;
  font-size: clamp(calc(11px * var(--density-scale)), 0.78vw, calc(15px * var(--density-scale)));
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.9;
  text-align: center;
}

.hero-line {
  width: fit-content;
  margin-top: 14px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  opacity: 1;
  text-align: center;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 200ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 200ms;
  will-change: opacity, transform;
}

.hero-line p {
  margin: 0;
  font-size: calc(30px * var(--density-scale));
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
}

.hero-line span {
  display: block;
  margin-top: calc(8px * var(--density-scale));
  font-size: clamp(calc(11px * var(--density-scale)), 0.72vw, calc(14px * var(--density-scale)));
  font-weight: 600;
  line-height: 1.25;
}

.hero-lower {
  display: flex;
  width: min(calc(680px * var(--density-scale)), calc(100% - var(--shell-gutter) * 2));
  flex-direction: column;
  align-items: center;
  color: #c4c4c4;
  opacity: 1;
  text-align: center;
}

.hero-bottom-group {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + var(--hero-bottom-group-bottom));
  z-index: 13;
  display: grid;
  width: min(calc(720px * var(--density-scale)), calc(100% - var(--shell-gutter) * 2));
  justify-items: center;
  color: #c4c4c4;
  text-align: center;
  transform: translate3d(-50%, var(--hero-scroll-hold-y, 0px), 0);
  transition: transform 120ms ease-out;
  will-change: transform;
}

@media (hover: none) and (pointer: coarse) {
  .hero-stack,
  .hero-bottom-group {
    transition: none;
  }
}

.hero-intro {
  opacity: 1;
  transform: translate3d(var(--hero-intro-x), var(--hero-intro-y), 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 100ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 100ms;
  will-change: opacity, transform;
}

.hero-explore {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform;
}

.hero-title-exiting .hero-line {
  opacity: 0;
  transform: translate3d(0, 86px, 0);
  transition-delay: 180ms;
}

.hero-title-exiting .hero-intro {
  opacity: 0;
  transform: translate3d(var(--hero-intro-x), calc(var(--hero-intro-y) + 82px), 0);
  transition-delay: 90ms;
}

.hero-title-exiting .hero-explore {
  opacity: 0;
  transform: translate3d(0, 76px, 0);
  transition-delay: 0ms;
}

.hero-intro-title {
  margin: 0;
  font-size: calc(30px * var(--density-scale));
  font-weight: 500;
  line-height: 1;
}

.hero-intro-copy {
  width: min(480px, calc(100vw - var(--shell-gutter) * 2));
  max-width: none;
  margin: calc(15px * var(--density-scale)) auto 0;
  font-size: calc(18px * var(--density-scale));
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.hero-explore {
  display: inline-flex;
  margin-top: clamp(28px, 4vh, 56px);
  flex-direction: column-reverse;
  align-items: center;
  gap: 7px;
  color: #c4c4c4;
  pointer-events: none;
}

.hero-explore-label {
  font-size: calc(13px * var(--density-scale));
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-explore-dots {
  position: relative;
  display: block;
  width: 7px;
  height: 52px;
  transform: scaleY(-1);
}

.hero-explore-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c4c4c4;
  transform: translate(-50%, -50%);
  animation: hero-explore-breathe 2.5s ease-in-out infinite;
}

.hero-explore-dot-top {
  --dot-rest: -16px;
  --dot-breathe: -8px;
}

.hero-explore-dot-mid {
  width: 3px;
  height: 3px;
  opacity: 0.86;
  animation: none;
}

.hero-explore-dot-bottom {
  --dot-rest: 24px;
  --dot-breathe: 8px;
  width: 3.2px;
  height: 3.2px;
  background: var(--hero-loop-color);
  animation: hero-explore-breathe 2.5s ease-in-out infinite;
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  height: min(150px, 18vh);
  background: linear-gradient(
    180deg,
    rgba(3, 3, 3, 0) 0%,
    var(--page-bg) 100%
  );
  pointer-events: none;
}

.lumen-field {
  --lumen-x: 50vw;
  --lumen-y: 50vh;
  --lumen-size: 360px;
  --lumen-scale: 0.92;
  --lumen-stretch-x: 1;
  --lumen-stretch-y: 1;
  --lumen-angle: 0deg;
  --lumen-opacity: 0;
  --lumen-core-opacity: 0.18;
  --lumen-soft-opacity: 0.32;
  --lumen-ring-opacity: 0.24;
  --lumen-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 18;
  width: var(--lumen-size);
  height: var(--lumen-size);
  border-radius: var(--lumen-radius);
  opacity: var(--lumen-opacity);
  pointer-events: none;
  transform:
    translate3d(
      calc(var(--lumen-x) - var(--lumen-size) / 2),
      calc(var(--lumen-y) - var(--lumen-size) / 2),
      0
    )
    rotate(var(--lumen-angle))
    scale(var(--lumen-scale))
    scaleX(var(--lumen-stretch-x))
    scaleY(var(--lumen-stretch-y));
  transition:
    opacity 720ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform;
}

.hero-intro {
  --hero-intro-x: 0px;
  --hero-intro-y: 0px;
  width: min(720px, 100%);
  color: #c4c4c4;
  text-align: center;
}

.lumen-field.is-charged {
  --lumen-core-opacity: 0.34;
  --lumen-soft-opacity: 0.46;
  --lumen-ring-opacity: 0.34;
}

.lumen-field-color,
.lumen-field-soft,
.lumen-field-core,
.lumen-field-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.lumen-field-color {
  inset: 18%;
  background: var(--hero-loop-color);
  opacity: 0.22;
  filter: blur(18px) saturate(0.72);
  mix-blend-mode: screen;
  mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0) 72%);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0) 72%);
}

.lumen-field-soft {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0) 68%);
  filter: blur(30px);
  opacity: var(--lumen-soft-opacity);
  transform: scale(1.04);
  mix-blend-mode: screen;
  transition: opacity 620ms cubic-bezier(0.44, 0, 0.56, 1);
}

.lumen-field-core {
  inset: 24%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 72%);
  filter: blur(14px);
  opacity: var(--lumen-core-opacity);
  mix-blend-mode: screen;
  transition:
    inset 620ms cubic-bezier(0.44, 0, 0.56, 1),
    opacity 620ms cubic-bezier(0.44, 0, 0.56, 1);
}

.lumen-field.is-charged .lumen-field-core {
  inset: 18%;
}

.lumen-field-ring {
  border: 1px solid rgba(255, 255, 255, var(--lumen-ring-opacity));
  opacity: var(--lumen-ring-opacity);
  filter: blur(0.15px);
  mix-blend-mode: screen;
  transition:
    opacity 520ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 680ms cubic-bezier(0.44, 0, 0.56, 1);
}

.lumen-field-ring-outer {
  inset: 24%;
  animation: lumen-ring-pulse-outer 4.8s cubic-bezier(0.44, 0, 0.56, 1) infinite;
}

.lumen-field-ring-inner {
  inset: 34%;
  opacity: calc(var(--lumen-ring-opacity) * 0.72);
  animation: lumen-ring-pulse-inner 5.8s cubic-bezier(0.44, 0, 0.56, 1) infinite;
}

.lumen-field-line {
  --lumen-line-x: 50vw;
  --lumen-line-y: 50vh;
  --lumen-line-length: 0px;
  --lumen-line-angle: 0deg;
  --lumen-line-opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 18;
  width: var(--lumen-line-length);
  height: 1px;
  background: var(--hero-loop-color);
  opacity: var(--lumen-line-opacity);
  pointer-events: none;
  transform:
    translate3d(var(--lumen-line-x), var(--lumen-line-y), 0)
    rotate(var(--lumen-line-angle));
  transform-origin: 0 50%;
  transition: opacity 720ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform, width;
}

.lumen-edge-particles {
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
}

.lumen-edge-particle {
  --edge-particle-x: 50vw;
  --edge-particle-y: 50vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0;
  transform:
    translate3d(
      calc(var(--edge-particle-x) - 12px),
      calc(var(--edge-particle-y) - 12px),
      0
    )
    scale(0.72);
  transition:
    opacity 1300ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.lumen-edge-particle::before,
.lumen-edge-particle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lumen-edge-particle::before {
  width: 12px;
  height: 12px;
  border: 1px solid color-mix(in srgb, var(--hero-loop-color) 76%, white);
  box-shadow: 0 0 5px color-mix(in srgb, var(--hero-loop-color) 58%, transparent);
}

.lumen-edge-particle::after {
  width: 6px;
  height: 6px;
  background: color-mix(in srgb, var(--hero-loop-color) 30%, white);
  box-shadow:
    0 0 4px color-mix(in srgb, var(--hero-loop-color) 82%, white),
    0 0 8px color-mix(in srgb, var(--hero-loop-color) 72%, transparent);
}

.lumen-edge-particle.is-visible {
  opacity: 0.9;
  transform:
    translate3d(
      calc(var(--edge-particle-x) - 12px),
      calc(var(--edge-particle-y) - 12px),
      0
    )
    scale(1);
}

.lumen-edge-particles.is-hero-exiting .lumen-edge-particle {
  transition-duration: 40ms;
}

.lumen-edge-particle.is-visible::before,
.lumen-edge-particle.is-visible::after {
  animation: lumen-edge-particle-pulse 2s cubic-bezier(0.44, 0, 0.56, 1.5) infinite;
}

.lumen-edge-particle:nth-child(2)::before,
.lumen-edge-particle:nth-child(2)::after {
  animation-delay: -0.33s;
}

.lumen-edge-particle:nth-child(3)::before,
.lumen-edge-particle:nth-child(3)::after {
  animation-delay: -0.67s;
}

.lumen-edge-particle:nth-child(4)::before,
.lumen-edge-particle:nth-child(4)::after {
  animation-delay: -0.84s;
}

.hero-scroll-glass {
  --hero-glass-fade-height: 110px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 19;
  height: clamp(150px, 9.5vw, 220px);
  background: rgba(3, 3, 3, 0.08);
  opacity: 0;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--hero-glass-fade-height)),
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--hero-glass-fade-height)),
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  transition: opacity 200ms ease;
}

.has-hero-scroll-glass .hero-scroll-glass {
  opacity: 1;
}

.projects-page .hero-scroll-glass,
.project-detail-page .hero-scroll-glass {
  --hero-glass-fade-height: 135px;
  height: calc((clamp(150px, 9.5vw, 220px) + 40px) * 0.9 - 50px);
}

/* ==========================================================================
   FEATURED CARDS - HOME PAGE FEATURED WORK GRID
   Change card width/gap, media ratio, card text, and hover behavior here.
   Shared card text/media variables live in :root as --portfolio-card-*.
   ========================================================================== */

.featured-section {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: var(--section-padding-top) 0 var(--section-padding-bottom);
  color: var(--body-color);
}

.featured-rule {
  width: min(600px, calc(100% - var(--landing-gutter) * 2));
  height: 1px;
  margin: 0 auto clamp(54px, 7vh, 92px);
  background: var(--section-rule-color);
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform;
}

.featured-signal {
  position: relative;
  width: 7px;
  height: 52px;
  margin: 0 auto 24px;
}

.featured-signal-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c4c4c4;
  transform: translate(-50%, -50%);
  animation: featured-signal-breathe 2.5s ease-in-out infinite;
}

.featured-signal-dot-top {
  --dot-rest: -24px;
  --dot-breathe: -8px;
  width: 3.2px;
  height: 3.2px;
  background: var(--hero-loop-color);
  animation: featured-signal-breathe 2.5s ease-in-out infinite;
}

.featured-signal-dot-mid {
  width: 3px;
  height: 3px;
  opacity: 0.86;
  animation: none;
}

.featured-signal-dot-bottom {
  --dot-rest: 16px;
  --dot-breathe: 8px;
}

.featured-header {
  width: min(620px, calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto clamp(52px, 6.4vh, 76px);
  opacity: 0;
  text-align: center;
  transform: translate3d(0, -52px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 120ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 120ms;
  will-change: opacity, transform;
}

.featured-header h2 {
  margin: 0;
  font-size: calc(40px * var(--density-scale));
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.featured-header p {
  margin: 12px 0 0;
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  line-height: 1.34;
}

.featured-slider {
  --featured-card-width: calc((1348px * var(--density-scale) - (var(--featured-card-gap) * 2)) / 3);
  --featured-card-gap: clamp(32px, 3.2vw, 48px);
  --featured-card-body-opacity: 0.36;
  --featured-card-body-hover-opacity: 0.82;
  --featured-card-dim-opacity: 0.6;
  display: grid;
  width: min(calc((var(--featured-card-width) * 3) + (var(--featured-card-gap) * 2)), calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--featured-card-gap);
  opacity: 0;
  transform: translate3d(0, 78px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 260ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 260ms;
  will-change: opacity, transform;
  isolation: isolate;
  overflow: visible;
  position: relative;
}

.featured-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(calc(48px * var(--density-scale)), 5.8vh, calc(76px * var(--density-scale)));
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 420ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 420ms;
  will-change: opacity, transform;
}

.featured-section.is-in-view .featured-rule,
.featured-section.is-in-view .featured-header,
.featured-section.is-in-view .featured-slider,
.featured-section.is-in-view .featured-cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.featured-section.is-in-view .featured-rule {
  transform: scaleX(1);
}

.featured-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: auto;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  color: var(--body-color);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform 200ms cubic-bezier(0.44, 0, 0.56, 1),
    background-color 200ms cubic-bezier(0.44, 0, 0.56, 1);
}

.featured-card::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  background: #000;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease-out;
}

.featured-card.is-featured-model-host {
  z-index: 3;
}

.featured-model-layer {
  --featured-model-color-rgb: 255 111 97;
  position: absolute;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease-out;
  will-change: opacity;
}

.featured-model-layer.is-visible {
  opacity: 1;
  transition-duration: 240ms;
}

.featured-model-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter:
    drop-shadow(0 0 5px rgb(var(--featured-model-color-rgb) / 0.5))
    drop-shadow(0 0 16px rgb(var(--featured-model-color-rgb) / 0.2));
}

.featured-card:hover,
.featured-card:focus-visible {
  transform: translate3d(0, -6px, 0);
  transition-duration: 400ms;
}

.featured-slider:has(.featured-card:hover) .featured-card:not(:hover)::after,
.featured-slider:has(.featured-card:focus-visible) .featured-card:not(:focus-visible)::after {
  opacity: var(--featured-card-dim-opacity);
}

.featured-card-media,
.projects-grid-card-media {
  position: relative;
  display: block;
  aspect-ratio: var(--portfolio-card-media-aspect);
  max-height: var(--portfolio-card-media-max-height);
  overflow: hidden;
  background: #0d0d0d;
}

.featured-card-media img:not(.portfolio-card-logo),
.projects-grid-card-media img:not(.portfolio-card-logo) {
  display: block;
  width: 100%;
  height: var(--portfolio-card-image-height);
  object-fit: var(--portfolio-card-image-fit);
  transform: scale(1);
  transition: transform 200ms cubic-bezier(0.44, 0, 0.56, 1);
}

.featured-card:hover .featured-card-media img:not(.portfolio-card-logo),
.featured-card:focus-visible .featured-card-media img:not(.portfolio-card-logo),
.projects-grid-card:hover .projects-grid-card-media img:not(.portfolio-card-logo),
.projects-grid-card:focus-visible .projects-grid-card-media img:not(.portfolio-card-logo) {
  transform: scale(1.05);
  transition-duration: 400ms;
}

.featured-card-body,
.projects-grid-card-body {
  position: relative;
  display: grid;
  align-content: var(--portfolio-card-body-align);
  min-height: var(--portfolio-card-body-min-height);
  padding:
    var(--portfolio-card-padding-top)
    var(--portfolio-card-padding-right)
    var(--portfolio-card-padding-bottom)
    var(--portfolio-card-padding-left);
}

.portfolio-card-logo {
  position: absolute;
  z-index: 3;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  transform-origin: right bottom;
  pointer-events: none;
}

.featured-card-media .portfolio-card-logo {
  right: var(--featured-card-logo-right);
  bottom: var(--featured-card-logo-bottom);
  opacity: var(--featured-card-logo-opacity);
  transform: scale(var(--featured-card-logo-scale-desktop));
}

.projects-grid-card-media .portfolio-card-logo {
  right: var(--projects-card-logo-right);
  bottom: var(--projects-card-logo-bottom);
  opacity: var(--projects-card-logo-opacity);
  transform: scale(var(--projects-card-logo-scale-desktop));
}

.featured-card-industry,
.projects-grid-card-industry {
  display: block;
  margin-bottom: var(--portfolio-card-industry-space-after);
  color: var(--portfolio-card-industry-color);
  font-size: var(--portfolio-card-industry-font-size);
  font-weight: var(--portfolio-card-industry-font-weight);
  line-height: var(--portfolio-card-industry-line-height);
  text-transform: var(--portfolio-card-industry-text-transform);
}

.featured-card-title,
.projects-grid-card-title {
  display: block;
  color: var(--portfolio-card-title-color);
  font-size: var(--portfolio-card-title-font-size);
  font-weight: var(--portfolio-card-title-font-weight);
  line-height: var(--portfolio-card-title-line-height);
  text-transform: var(--portfolio-card-title-text-transform);
}

.featured-card-copy,
.projects-grid-card-copy {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--portfolio-card-copy-space-before);
  color: var(--portfolio-card-copy-color);
  font-size: var(--portfolio-card-copy-font-size);
  font-weight: var(--portfolio-card-copy-font-weight);
  line-height: var(--portfolio-card-copy-line-height);
  text-transform: var(--portfolio-card-copy-text-transform);
}

.portfolio-card-copy-item,
.project-summary-item {
  display: inline-flex;
  white-space: nowrap;
}

.portfolio-card-copy-item:not(:last-child)::after,
.project-summary-item:not(:last-child)::after {
  content: var(--portfolio-card-copy-separator);
  margin-right: var(--portfolio-card-copy-separator-space);
  margin-left: var(--portfolio-card-copy-separator-space);
}

.about-section {
  --about-top-padding: clamp(52px, 6vh, 84px);
  position: relative;
  overflow: hidden;
  padding: var(--about-top-padding) 0 0;
  color: var(--body-color);
}

.about-rule {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - var(--landing-gutter) * 2));
  height: 1px;
  margin: 0 auto clamp(54px, 7vh, 92px);
  background: var(--section-rule-color);
}

.contact-media-layer {
  position: absolute;
  top: calc(var(--about-top-padding) + 1px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  min-height: 100svh;
  pointer-events: none;
}

.contact-media,
.contact-media-overlay,
.contact-media-top-fade {
  position: absolute;
  width: 100%;
}

.contact-media {
  inset: 0;
  height: 100%;
  display: block;
  z-index: 0;
  object-fit: cover;
}

.contact-media-overlay {
  inset: 0;
  z-index: 1;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.contact-media-top-fade {
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 200px;
  background: linear-gradient(
    to bottom,
    var(--page-bg) 0%,
    rgba(3, 3, 3, 0) 100%
  );
  pointer-events: none;
}

.about-mark {
  position: absolute;
  left: 50%;
  top: clamp(230px, 22vh, 320px);
  z-index: 1;
  width: min(1024px, 75vw);
  max-width: none;
  opacity: 0.05;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 650ms cubic-bezier(0.44, 0, 0.56, 1);
}

.about-heading-group,
.about-copy-grid,
.about-cta,
.about-mark {
  opacity: 0;
  will-change: opacity, transform;
}

.about-heading-group {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto clamp(68px, 8vh, 96px);
  text-align: center;
  transform: translate3d(0, -52px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 120ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 120ms;
}

.about-signal {
  position: relative;
  width: 7px;
  height: 52px;
  margin: 0 auto 24px;
}

.about-signal-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c4c4c4;
  transform: translate(-50%, -50%);
  animation: featured-signal-breathe 2.5s ease-in-out infinite;
}

.about-signal-dot-top {
  --dot-rest: -24px;
  --dot-breathe: -8px;
  width: 3.2px;
  height: 3.2px;
  background: var(--hero-loop-color);
  animation: featured-signal-breathe 2.5s ease-in-out infinite;
}

.about-signal-dot-mid {
  width: 3px;
  height: 3px;
  opacity: 0.86;
  animation: none;
}

.about-signal-dot-bottom {
  --dot-rest: 16px;
  --dot-breathe: 8px;
}

.about-header h2 {
  margin: 0;
  color: var(--hero-ink);
  font-size: calc(40px * var(--density-scale));
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.about-header p {
  margin: 12px 0 0;
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  line-height: 1.34;
}

.about-copy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(780px * var(--density-scale)), calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto clamp(58px, 7vh, 86px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(70px, 8vw, 130px);
  transform: translate3d(0, 68px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 260ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 260ms;
}

.about-copy-block h3 {
  margin: 0 0 20px;
  color: #6e6e6e;
  font-size: clamp(calc(14px * var(--density-scale)), calc(0.86rem + 0.12vw), calc(14px * var(--density-scale)));
  font-weight: 300;
  letter-spacing: 0em;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy-block p,
.about-copy-block li {
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  line-height: 1.34;
}

.about-copy-block p {
  margin: 0;
}

.about-copy-block p + p {
  margin-top: 22px;
}

.about-copy-block ul {
  margin: 0;
  padding-left: 18px;
}

.about-copy-block li + li {
  margin-top: 5px;
}

.about-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  transform: translate3d(0, 54px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 380ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 380ms;
}

/* ==========================================================================
   CONTACT SECTION - FORM, BACKGROUND MEDIA, SUBMIT BUTTON
   ========================================================================== */

.contact-section {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 86svh;
  flex-direction: column;
  padding: 72px 0 clamp(42px, 6vh, 72px);
  color: var(--body-color);
}

.contact-rule {
  width: min(760px, calc(100% - var(--landing-gutter) * 2));
  height: 1px;
  margin: 0 auto 72px;
  background: var(--section-rule-color);
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1);
  will-change: opacity, transform;
}

.contact-content {
  width: min(calc(430px * var(--density-scale)), calc(100% - var(--landing-gutter) * 2));
  margin: 0 auto;
  opacity: 0;
  text-align: center;
  transform: translate3d(0, 78px, 0);
  transition:
    opacity 650ms cubic-bezier(0.44, 0, 0.56, 1) 160ms,
    transform 650ms cubic-bezier(0.44, 0, 0.56, 1) 160ms;
  will-change: opacity, transform;
}

.contact-signal {
  position: relative;
  width: 7px;
  height: 52px;
  margin: 0 auto 24px;
}

.contact-signal-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c4c4c4;
  transform: translate(-50%, -50%);
  animation: featured-signal-breathe 2.5s ease-in-out infinite;
}

.contact-signal-dot-top {
  --dot-rest: -24px;
  --dot-breathe: -8px;
  width: 3.2px;
  height: 3.2px;
  background: var(--hero-loop-color);
}

.contact-signal-dot-mid {
  width: 3px;
  height: 3px;
  opacity: 0.86;
  animation: none;
}

.contact-signal-dot-bottom {
  --dot-rest: 16px;
  --dot-breathe: 8px;
}

.contact-header p,
.contact-header h2 {
  margin: 0;
  color: var(--hero-ink);
  font-weight: 400;
  line-height: 1;
}

.contact-header p {
  font-size: clamp(calc(22px * var(--density-scale)), 1.9vw, calc(34px * var(--density-scale)));
}

.contact-header h2 {
  margin-top: 2px;
  font-size: clamp(calc(42px * var(--density-scale)), 4.2vw, calc(72px * var(--density-scale)));
}

.contact-form {
  display: grid;
  gap: calc(18px * var(--density-scale));
  margin-top: clamp(calc(38px * var(--density-scale)), 5vh, calc(62px * var(--density-scale)));
}

.contact-form label {
  display: block;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #5c5c5c;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--body-color);
  font: inherit;
  font-size: calc(14px * var(--density-scale));
  outline: 0;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-form input {
  height: calc(46px * var(--density-scale));
  padding: 0 calc(20px * var(--density-scale));
}

.contact-form textarea {
  min-height: calc(140px * var(--density-scale));
  padding: calc(18px * var(--density-scale)) calc(20px * var(--density-scale));
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(196, 196, 196, 0.76);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: #9a9a9a;
  background: rgba(0, 0, 0, 0.86);
  outline: 2px solid #c4c4c4;
  outline-offset: 4px;
}

.contact-form-status {
  margin: -4px 0 0;
  color: var(--body-color);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.contact-form-status:empty {
  display: none;
}

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

.contact-form-status.is-success {
  color: #8fcf9f;
}

.outline-button.contact-submit {
  justify-self: center;
  min-height: calc(45px * var(--density-scale));
  margin-top: calc(8px * var(--density-scale));
  padding: 0 calc(50px * var(--density-scale));
  font-size: calc(13px * var(--density-scale));
}

.outline-button.contact-submit:disabled {
  cursor: wait;
  opacity: 0.55;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER - CENTRALIZED MARKUP FROM scripts/footer.js
   Desktop/tablet/mobile layout, logo size, footer links, Privacy link.
   ========================================================================== */

.site-footer {
  position: absolute;
  left: 50%;
  bottom: var(--footer-bottom-space);
  width: min(var(--shell-width), calc(100% - var(--landing-gutter) * 2));
  margin: 0;
  padding-top: var(--footer-rule-gap);
  opacity: 1;
  transform: translateX(-50%);
  transition: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-top: 1px solid var(--section-rule-color);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(28px * var(--density-scale));
}

.footer-brand,
.footer-nav {
  display: flex;
  align-items: center;
}

.footer-brand {
  gap: calc(18px * var(--density-scale));
  font-size: calc(12px * var(--density-scale));
}

.footer-copyright,
.footer-privacy,
.footer-separator {
  line-height: 1;
}

.footer-privacy,
.footer-nav a {
  padding: calc(10px * var(--density-scale)) calc(12px * var(--density-scale));
  margin: calc(-10px * var(--density-scale)) calc(-12px * var(--density-scale));
}

.footer-privacy {
  transition: opacity 160ms ease;
}

.footer-privacy:hover,
.footer-privacy:focus-visible {
  opacity: 0.62;
}

.footer-privacy:focus-visible {
  opacity: 1;
}

.footer-logo {
  display: block;
  width: var(--footer-logo-width);
  flex: 0 0 auto;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-logo:hover,
.footer-logo:focus-visible {
  opacity: 0.8;
  transform: scale(0.85);
}

.footer-logo:focus-visible {
  opacity: 1;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-nav {
  gap: clamp(calc(24px * var(--density-scale)), 3vw, calc(44px * var(--density-scale)));
  color: var(--hero-ink);
  font-size: calc(12px * var(--density-scale));
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.footer-nav a {
  transition: opacity 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 0.62;
}

.footer-nav a:focus-visible {
  opacity: 1;
}

.scroll-top-button {
  position: fixed;
  right: 63px;
  bottom: 63px;
  z-index: 20;
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 660ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 660ms cubic-bezier(0.44, 0, 0.56, 1);
}

.scroll-top-button.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.scroll-top-button img {
  display: block;
  width: 45px;
  height: 45px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top-button:hover img,
.scroll-top-button:focus-visible img {
  opacity: 0.8;
  transform: scale(0.92);
}

.scroll-top-button:focus-visible img {
  opacity: 1;
}

.outline-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: calc(55px * var(--density-scale));
  padding: 0 calc(45px * var(--density-scale));
  overflow: hidden;
  border: 1px solid #3b3b3b;
  border-radius: 6px;
  background-color: #0e0e0e;
  background-image: linear-gradient(var(--outline-accent-color, var(--hero-ink)), var(--outline-accent-color, var(--hero-ink)));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 56px 2px;
  color: var(--hero-ink);
  font-size: calc(14px * var(--density-scale));
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    background-size 400ms cubic-bezier(0.44, 0, 0.56, 1);
}

.outline-button-orange {
  --outline-accent-color: var(--color-orange);
}

.outline-button-blue {
  --outline-accent-color: var(--color-blue);
}

.outline-button-green {
  --outline-accent-color: var(--color-green);
}

.home-page .outline-button-orange,
.home-page .outline-button-blue,
.home-page .outline-button-green {
  --outline-accent-color: var(--hero-loop-color);
}

.outline-button:hover,
.outline-button:focus-visible {
  background-color: #474747;
  background-size: calc(100% - 20px) 2px;
}

.about-section.is-in-view .about-heading-group,
.about-section.is-in-view .about-copy-grid,
.about-section.is-in-view .about-cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-section.is-in-view .about-mark {
  opacity: 0.05;
  transform: translateX(-50%);
}

.contact-section.is-in-view .contact-rule,
.contact-section.is-in-view .contact-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-section.is-in-view .site-footer {
  opacity: 1;
  transform: translateX(-50%);
}

.contact-section.is-in-view .contact-rule {
  transform: scaleX(1);
}

.message-sent-page {
  --message-sent-title-color: var(--hero-ink);
  --message-sent-title-size: clamp(calc(36px * var(--density-scale)), 3.4vw, calc(58px * var(--density-scale)));
  --message-sent-title-weight: 300;
  --message-sent-copy-gap: 18px;
  --message-sent-copy-color: var(--body-color);
  --message-sent-copy-size: clamp(calc(14px * var(--density-scale)), calc(0.9rem + 0.1vw), calc(17px * var(--density-scale)));
  --message-sent-button-gap: 60px;
  --message-sent-button-accent-color: rgba(255, 255, 255, 0.58);
  min-height: 100svh;
  overflow: hidden;
  background: var(--page-bg);
}

.message-sent-main {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: calc(var(--header-y) + var(--logo-width) + 72px) var(--shell-gutter) 92px;
}

.message-sent-media-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.message-sent-bg-image,
.message-sent-media-layer .contact-media-overlay,
.message-sent-media-layer .contact-media-top-fade {
  position: absolute;
  width: 100%;
}

.message-sent-bg-image {
  inset: 0;
  height: var(--stable-viewport-height);
  min-height: 100svh;
  object-fit: cover;
}

.message-sent-section {
  display: grid;
  width: min(520px, 100%);
  justify-items: center;
  color: var(--body-color);
  text-align: center;
}

.message-sent-section h1 {
  margin: 0;
  color: var(--message-sent-title-color);
  font-size: var(--message-sent-title-size);
  font-weight: var(--message-sent-title-weight);
  line-height: 1;
}

.message-sent-copy {
  width: min(400px, 100%);
  margin: var(--message-sent-copy-gap) auto 0;
  color: var(--message-sent-copy-color);
  font-size: var(--message-sent-copy-size);
  font-weight: 400;
  line-height: 1.24;
}

.message-sent-button {
  --outline-accent-color: var(--message-sent-button-accent-color);
  margin-top: var(--message-sent-button-gap);
}

.message-sent-copyright {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 34px);
  z-index: 2;
  margin: 0;
  color: var(--body-color);
  font-size: 12px;
  line-height: 1;
  transform: translateX(-50%);
}

/* ==========================================================================
   PRIVACY POLICY PAGE - TEXT WIDTH, TYPOGRAPHY, BACK LINKS
   Change the --privacy-* variables below for title/body/heading/list styling.
   ========================================================================== */

.privacy-policy-main {
  display: block;
  min-height: 100svh;
  padding: calc(var(--header-y) + var(--logo-width) + 128px) 0 var(--footer-bottom-space);
}

.privacy-policy-page {
  --project-detail-gutter: calc(var(--shell-gutter) + 5px);
  --project-text-column-width: calc(600px * var(--density-scale));
  --project-browse-text-size: calc(13px * var(--density-scale));
  --project-browse-text-color: #ffffff;
  --project-browse-font-weight: 400;
  --project-browse-opacity: 0.68;
  --project-browse-hover-opacity: 1;
  --project-browse-item-gap: 8px;
  --project-browse-icon-width: calc(12px * var(--density-scale));
  --privacy-content-width: var(--project-text-column-width);
  --privacy-title-size: clamp(calc(40px * var(--density-scale)), 3vw, calc(40px * var(--density-scale)));
  --privacy-title-weight: 200;
  --privacy-title-line-height: 1.08;
  --privacy-title-space-after: 20px;
  --privacy-text-size: clamp(calc(14px * var(--density-scale)), calc(0.95rem + 0.12vw), calc(14px * var(--density-scale)));
  --privacy-text-weight: 300;
  --privacy-text-line-height: 1.2;
  --privacy-block-gap: 10px;
  --privacy-heading-size: clamp(calc(25px * var(--density-scale)), 1.55vw, calc(25px * var(--density-scale)));
  --privacy-heading-weight: 400;
  --privacy-heading-color: #ffffff;
  --privacy-heading-line-height: 1.15;
  --privacy-heading-space-before: 50px;
  --privacy-heading-space-after: 10px;
  --privacy-list-gap: 2px;
  overflow: auto;
}

.privacy-policy-page .site-footer {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: min(var(--shell-width), calc(100% - var(--landing-gutter) * 2));
  margin: var(--footer-space-before) auto 0;
  opacity: 1;
  transform: none;
}

.privacy-policy-page .privacy-policy-back-nav {
  width: min(var(--privacy-content-width), calc(100% - var(--project-detail-gutter) * 2));
  margin: 0 auto 68px;
  justify-content: flex-start;
}

.privacy-policy-page .privacy-policy-back-nav-bottom {
  margin-top: 84px;
  margin-bottom: 0;
}

.privacy-policy-section {
  position: relative;
  z-index: 1;
  width: min(var(--privacy-content-width), calc(100% - var(--project-detail-gutter) * 2));
  margin: 0 auto;
  color: var(--hero-ink);
  text-align: left;
}

.privacy-policy-section h1 {
  margin: 0 0 var(--privacy-title-space-after);
  color: var(--hero-ink);
  font-size: var(--privacy-title-size);
  font-weight: var(--privacy-title-weight);
  line-height: var(--privacy-title-line-height);
}

.privacy-policy-content {
  color: var(--hero-ink);
  font-size: var(--privacy-text-size);
  font-weight: var(--privacy-text-weight);
  line-height: var(--privacy-text-line-height);
}

.privacy-policy-content > * {
  margin: 0;
}

.privacy-policy-content > * + * {
  margin-top: var(--privacy-block-gap);
}

.privacy-policy-content h2 {
  margin-top: var(--privacy-heading-space-before);
  color: var(--privacy-heading-color);
  font-size: var(--privacy-heading-size);
  font-weight: var(--privacy-heading-weight);
  line-height: var(--privacy-heading-line-height);
}

.privacy-policy-content h2 + p,
.privacy-policy-content p + ul {
  margin-top: var(--privacy-heading-space-after);
}

.privacy-policy-content strong {
  font-weight: 700;
}

.privacy-policy-content ul {
  display: grid;
  gap: var(--privacy-list-gap);
  padding-left: 1.55em;
}

.privacy-policy-content li {
  padding-left: 0.25em;
}

/* ==========================================================================
   PROJECTS INDEX CARDS - projects.html CARD GRID
   Uses the same --portfolio-card-* variables as Featured cards for card text.
   ========================================================================== */

.projects-page-stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
  padding: clamp(calc(132px * var(--density-scale)), 16vh, calc(210px * var(--density-scale))) 0 var(--footer-bottom-space);
}

.projects-index-section {
  position: relative;
  z-index: 1;
  width: min(calc(1480px * var(--density-scale)), calc(100% - var(--shell-gutter) * 2));
  margin: 0 auto;
}

.projects-page-header {
  width: min(calc(520px * var(--density-scale)), 100%);
  margin: 0 auto clamp(calc(58px * var(--density-scale)), 7vh, calc(84px * var(--density-scale)));
  text-align: center;
}

.projects-page-header h1 {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(calc(42px * var(--density-scale)), 4vw, calc(72px * var(--density-scale)));
  font-weight: 400;
  line-height: 1;
}

.projects-page-header p {
  margin: calc(18px * var(--density-scale)) auto 0;
  max-width: calc(360px * var(--density-scale));
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  line-height: 1.34;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, calc(630px * var(--density-scale))));
  gap: clamp(calc(46px * var(--density-scale)), 4.6vw, calc(74px * var(--density-scale))) clamp(calc(46px * var(--density-scale)), 5vw, calc(76px * var(--density-scale)));
  justify-content: center;
}

.projects-grid-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.36);
  color: var(--body-color);
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity 660ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 660ms cubic-bezier(0.44, 0, 0.56, 1),
    background-color 200ms cubic-bezier(0.44, 0, 0.56, 1);
}

.projects-page.is-ready .projects-grid-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.projects-grid-card:hover,
.projects-grid-card:focus-visible {
  background: rgba(0, 0, 0, 0.44);
  transform: translate3d(0, -6px, 0);
  transition-duration: 660ms, 400ms, 400ms;
}

.projects-page.is-ready .projects-grid-card:hover,
.projects-page.is-ready .projects-grid-card:focus-visible {
  transform: translate3d(0, -6px, 0);
}

.projects-page .site-footer,
.project-detail-page .site-footer {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  margin: var(--footer-space-before) auto 0;
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   PROJECT DETAIL VARIABLES - TEXT BLOCKS, MEDIA BLOCKS, GAPS, BROWSE LINKS
   Most project detail tuning starts in this variable block.
   ========================================================================== */

.project-detail-page {
  --project-detail-gutter: calc(var(--shell-gutter) + 5px);
  --project-label-color: #8a8a8a;
  --project-label-font-size: calc(13px * var(--density-scale));
  --project-label-font-weight: 400;
  --project-label-letter-spacing: 0;
  --project-label-line-height: 1;
  --project-label-text-transform: uppercase;
  --project-mobile-text-inset-extra: var(--mobile-text-inset-extra);
  --project-text-column-width: calc(800px * var(--density-scale));
  --project-text-block-space-before-desktop: calc(60px * var(--density-scale));
  --project-text-block-space-before-tablet: 60px;
  --project-text-block-space-before-mobile: 60px;
  --project-text-block-space-before: var(--project-text-block-space-before-desktop);
  --project-text-block-space-after-desktop: calc(60px * var(--density-scale));
  --project-text-block-space-after-tablet: 60px;
  --project-text-block-space-after-mobile: 60px;
  --project-text-block-space-after: var(--project-text-block-space-after-desktop);
  --project-module-width: calc(1000px * var(--density-scale));
  --project-module-block-gap-desktop: clamp(calc(30px * var(--density-scale)), 3.5vw, calc(50px * var(--density-scale)));
  --project-module-block-gap-tablet: 30px;
  --project-module-block-gap-mobile: 30px;
  --project-module-block-gap: var(--project-module-block-gap-desktop);
  --project-module-row-gap-desktop: clamp(calc(14px * var(--density-scale)), 2vw, calc(50px * var(--density-scale)));
  --project-module-row-gap-tablet: 50px;
  --project-module-row-gap-mobile: 50px;
  --project-module-row-gap: var(--project-module-row-gap-desktop);
  --project-module-caption-gap: calc(12px * var(--density-scale));
  --project-media-stack-gap-desktop: 30px;
  --project-media-stack-gap-tablet: 60px;
  --project-media-stack-gap-mobile: 80px;
  --project-media-stack-gap: var(--project-media-stack-gap-desktop);
  --project-media-stack-border-opacity: 0.1;
  --project-media-stack-border-color: rgba(255, 255, 255, var(--project-media-stack-border-opacity));
  --project-browse-space-from-header: calc(60px * var(--density-scale));
  --project-browse-space-after: calc(130px * var(--density-scale));
  --project-browse-text-size: calc(13px * var(--density-scale));
  --project-browse-text-color: #ffffff;
  --project-browse-font-weight: 400;
  --project-browse-opacity: 0.68;
  --project-browse-hover-opacity: 1;
  --project-browse-item-gap: 8px;
  --project-browse-icon-width: calc(12px * var(--density-scale));
  --project-detail-top-space: calc(var(--header-y) + var(--logo-width) + var(--project-browse-space-from-header));
  min-height: 100svh;
  background: var(--page-bg);
}

/* ==========================================================================
   PROJECT DETAIL HERO - BACKGROUND, PREV/NEXT, LOGO, OVERVIEW BLOCK
   ========================================================================== */

.project-detail {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: var(--project-detail-top-space) 0 var(--footer-bottom-space);
}

.project-bg-media,
.project-bg-multiply-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.project-bg-media {
  z-index: -3;
  bottom: auto;
  width: 100%;
  height: var(--stable-viewport-height);
  min-height: 100svh;
  object-fit: cover;
}

.project-bg-multiply-layer {
  z-index: -2;
  background: rgba(0, 0, 0, 0.2);
}

.project-detail-shell {
  position: relative;
  width: min(var(--project-detail-width), calc(100% - var(--project-detail-gutter) * 2));
  margin: 0 auto;
}

.project-detail-nav {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(var(--shell-width), calc(100vw - var(--mobile-edge-gutter) * 2));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  color: var(--project-browse-text-color);
  font-size: var(--project-browse-text-size);
  font-weight: var(--project-browse-font-weight);
  line-height: 1;
  pointer-events: auto;
}

.project-detail-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--project-browse-item-gap);
  opacity: var(--project-browse-opacity);
  transition: opacity 160ms ease, color 160ms ease;
}

.project-detail-nav-link:hover,
.project-detail-nav-link:focus-visible {
  opacity: var(--project-browse-hover-opacity);
}

.project-detail-nav-link img {
  display: block;
  width: var(--project-browse-icon-width);
  height: auto;
  flex: 0 0 auto;
}

.project-detail-nav-link--next img {
  transform: scaleX(-1);
}

.project-hero-panel {
  display: grid;
  align-items: center;
  width: min(var(--project-text-column-width), calc(100% - var(--project-detail-gutter) * 2));
  margin: var(--project-browse-space-after) auto 0;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(calc(38px * var(--density-scale)), 5.2vw, calc(70px * var(--density-scale)));
}

.project-section {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity 660ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 660ms cubic-bezier(0.44, 0, 0.56, 1);
}

.project-section.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.project-hero-panel,
.project-main-image {
  animation: project-reveal 660ms cubic-bezier(0.44, 0, 0.56, 1) both;
}

.project-main-image {
  animation-delay: 120ms;
}

.project-brand-logo {
  display: block;
  grid-column: 1;
  width: clamp(calc(220px * var(--density-scale)), 12vw, calc(240px * var(--density-scale)));
  max-width: none;
  height: auto;
  max-height: clamp(calc(150px * var(--density-scale)), 9vw, calc(187px * var(--density-scale)));
  object-fit: contain;
  justify-self: end;
}

.project-title-rule {
  display: block;
  grid-column: 2;
  width: 1px;
  height: 100%;
  min-height: calc(138px * var(--density-scale));
  background: var(--section-rule-color);
}

.project-title-block {
  display: grid;
  grid-column: 3;
  gap: calc(24px * var(--density-scale));
  max-width: min(calc(360px * var(--density-scale)), 100%);
  justify-self: start;
}

.project-detail-title {
  margin: 0;
  color: var(--body-color);
  font-size: clamp(calc(35px * var(--density-scale)), 3vw, calc(35px * var(--density-scale)));
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.95;
}

.project-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.project-kicker,
.project-module-item figcaption {
  color: var(--project-label-color);
  font-size: var(--project-label-font-size);
  font-weight: var(--project-label-font-weight);
  letter-spacing: var(--project-label-letter-spacing);
  line-height: var(--project-label-line-height);
  text-transform: var(--project-label-text-transform);
}

.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: calc(5px * var(--density-scale));
  margin: 0 0 calc(10px * var(--density-scale));
}

.project-kicker-icon {
  display: block;
  width: calc(35px * var(--density-scale));
  height: auto;
  flex: 0 0 auto;
}

.project-summary {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0;
  color: var(--body-color);
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.project-main-image {
  width: min(var(--project-media-width), calc(100% - var(--project-detail-gutter) * 2));
  max-width: var(--project-media-width);
  margin: calc(100px * var(--density-scale)) auto 0;
}

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

.project-main-media {
  position: relative;
  aspect-ratio: 2000 / 1080;
  overflow: hidden;
  background: #050505;
}

.project-main-media img,
.project-main-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-main-media img {
  z-index: 0;
}

.project-main-media video {
  z-index: 1;
  opacity: 0;
  transition: opacity 360ms ease;
}

.project-main-media.is-video-ready video {
  opacity: 1;
}

.project-main-video-loader {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: calc(34px * var(--density-scale));
  height: calc(34px * var(--density-scale));
  margin: calc(-17px * var(--density-scale)) 0 0 calc(-17px * var(--density-scale));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  animation: project-video-loader 820ms linear infinite;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.project-main-media.is-video-media:not(.is-video-ready):not(.is-media-error) .project-main-video-loader {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   PROJECT DETAIL CONTENT - TEXT SECTIONS, MEDIA MODULES, STACKS, GAPS
   Text width uses --project-text-column-width.
   Media width/gaps use --project-media-width and --project-*gap variables.
   ========================================================================== */

.project-content {
  width: min(var(--project-media-width), calc(100% - var(--project-detail-gutter) * 2));
  margin: calc(80px * var(--density-scale)) auto 0;
}

.project-coming-soon.project-main-image {
  margin: var(--project-text-block-space-before) auto 0;
  background: transparent;
  color: var(--body-color);
  text-align: center;
  animation: project-reveal 660ms cubic-bezier(0.44, 0, 0.56, 1) both;
}

.project-coming-soon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--project-detail-gutter);
}

.project-coming-soon-title {
  margin: 0;
  color: #6b6b6b;
  font-size: clamp(calc(34px * var(--density-scale)), 4.5vw, calc(76px * var(--density-scale)));
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.project-coming-soon-copy {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 20px auto 0;
  font-size: clamp(calc(14px * var(--density-scale)), calc(0.95rem + 0.12vw), calc(16px * var(--density-scale)));
  font-weight: 400;
  line-height: 1.24;
}

.project-section {
  width: 100%;
  margin: 0 auto;
}

.project-section > .project-kicker,
.project-section > .project-section-copy,
.project-pattern-grid,
.project-media-module {
  transition:
    opacity 660ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 660ms cubic-bezier(0.44, 0, 0.56, 1);
}

.project-section:not(.is-in-view) > .project-section-copy,
.project-section:not(.is-in-view) .project-pattern-grid,
.project-section:not(.is-in-view) .project-media-module {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.project-section.is-in-view > .project-section-copy {
  transition-delay: 70ms;
}

.project-section.is-in-view .project-pattern-grid,
.project-section.is-in-view .project-media-module {
  transition-delay: 120ms;
}

.project-section + .project-section {
  margin-top: var(--project-text-block-space-before);
}

.project-section-copy {
  width: min(calc(1500px * var(--density-scale)), 100%);
  margin: calc(12px * var(--density-scale)) auto 0;
  color: var(--body-color);
  font-size: calc(16px * var(--density-scale));
  font-weight: 400;
  line-height: 1.34;
}

.project-section > .project-kicker,
.project-section > .project-section-copy {
  width: min(var(--project-text-column-width), 100%);
  margin-right: auto;
  margin-left: auto;
}

.project-section > .project-kicker {
  display: flex;
}

.project-section > .project-kicker .project-kicker-icon {
  display: none;
}

.project-pattern-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(calc(14px * var(--density-scale)), 2vw, calc(34px * var(--density-scale)));
  margin-top: calc(22px * var(--density-scale));
}

.project-media-module {
  display: grid;
  width: min(var(--project-module-width), 100%);
  margin: 0 auto;
  gap: var(--project-module-block-gap);
}

.project-section-copy + .project-media-module {
  margin-top: var(--project-text-block-space-after);
}

.project-media-row {
  display: grid;
  align-items: flex-start;
  gap: var(--project-module-row-gap);
  width: 100%;
}

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

.project-media-row--one {
  grid-template-columns: minmax(0, 1fr);
}

.project-module-item {
  display: grid;
  width: fit-content;
  max-width: min(100%, var(--media-max, 100%));
  gap: var(--project-module-caption-gap);
  margin: 0;
}

.project-media-module--fill .project-media-row--two .project-module-item,
.project-media-module--fill .project-module-item--fill {
  width: 100%;
  max-width: none;
}

.project-module-item figcaption {
  margin: 0;
}

.project-pattern-grid img {
  display: block;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

.project-module-item img,
.project-module-item video {
  display: block;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.project-module-cover {
  position: relative;
}

.project-module-item .project-module-centered-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 109px;
  height: 96px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.project-media-stack {
  display: grid;
  width: 100%;
  max-width: var(--project-media-width);
  margin: var(--project-text-block-space-after) auto 0;
  gap: var(--project-media-stack-gap);
}

.project-media-stack-row {
  display: grid;
  gap: var(--project-media-stack-gap);
  transition:
    opacity 660ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 660ms cubic-bezier(0.44, 0, 0.56, 1);
}

.project-media-stack-row:not(.is-in-view) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.project-media-stack-row.is-wide {
  grid-template-columns: minmax(0, 1fr);
}

.project-media-stack-row.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-media-stack-row.is-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-media-stack-row.is-centered-pair {
  grid-template-columns: repeat(2, minmax(0, calc((100% - (2 * var(--project-media-stack-gap))) / 3)));
  justify-content: center;
}

.project-media-item {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
}

.project-module-item.has-loading-video {
  position: relative;
}

.project-media-video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: calc(34px * var(--density-scale));
  height: calc(34px * var(--density-scale));
  margin: calc(-17px * var(--density-scale)) 0 0 calc(-17px * var(--density-scale));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  animation: project-video-loader 820ms linear infinite;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.has-loading-video.is-video-loading:not(.is-video-error) > .project-media-video-loader {
  opacity: 1;
  visibility: visible;
}

.project-media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid var(--project-media-stack-border-color);
  pointer-events: none;
}

.project-media-item.is-wide {
  grid-column: 1 / -1;
}

.project-media-item.is-square {
  aspect-ratio: auto;
}

.project-media-item.is-portrait-video {
  aspect-ratio: 9 / 16;
  background: rgba(255, 255, 255, 0.08);
}

.project-main-image img,
.project-media-item img,
.project-media-item video {
  display: block;
  width: 100%;
  height: auto;
}

.project-media-item.is-portrait-video video {
  height: 100%;
  object-fit: cover;
}

.project-media-item.is-wide .is-mobile-crop-video {
  display: block;
  width: 100%;
  height: auto;
}

.project-media-item.is-square img {
  height: auto;
  object-fit: initial;
}

@media (max-width: 1280px) {
  .project-detail-page {
    --project-browse-space-from-header: calc(35px * var(--density-scale));
    --project-browse-space-after: calc(98px * var(--density-scale));
  }

  .project-detail-shell {
    width: calc(100% - var(--project-detail-gutter) * 2);
  }

  .project-detail-nav {
    width: min(var(--shell-width), calc(100vw - var(--mobile-edge-gutter) * 2));
    max-width: none;
  }

  .project-hero-panel {
    width: min(var(--project-text-column-width), calc(100% - var(--project-detail-gutter) * 2));
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: clamp(34px, 5vw, 60px);
  }

  .project-brand-logo {
    grid-column: 1;
    width: clamp(145px, 13.6vw, 187px);
    max-width: none;
    max-height: 145px;
    justify-self: end;
  }

  .project-media-item.is-hero-scaled-media {
    aspect-ratio: 2000 / 1080;
    overflow: hidden;
  }

  .project-media-stack-row.is-hero-scaled-media-row {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .project-media-item.is-hero-scaled-media img,
  .project-media-item.is-hero-scaled-media video {
    height: 100%;
    object-fit: cover;
  }

  .project-title-rule {
    display: block;
    grid-column: 2;
    width: 1px;
    min-height: 138px;
    justify-self: auto;
  }

  .project-title-block {
    grid-column: 3;
    max-width: min(360px, 100%);
  }

}

@media (min-width: 901px) and (max-width: 2400px) {
  .project-title-block {
    max-width: min(400px, 100%);
  }
}

@media (max-width: 950px) {
  .project-pattern-grid {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .project-pattern-grid img {
    width: 100%;
    max-width: none;
  }

  .project-media-module--fill .project-media-row--two .project-module-item,
  .project-media-module--fill .project-module-item--fill {
    width: 100%;
  }
}

@keyframes project-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes project-video-loader {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lumen-ring-pulse-outer {
  0%,
  100% {
    transform: scale(0.96);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes lumen-ring-pulse-inner {
  0%,
  100% {
    transform: scale(1.04);
  }

  50% {
    transform: scale(0.97);
  }
}

@keyframes lumen-edge-particle-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.58);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes lowlumen-outline-pulse-inner {
  0%,
  100% {
    transform: scale(1.044);
  }

  50% {
    transform: scale(1.024);
  }
}

@keyframes hero-explore-breathe {
  0% {
    transform: translate(-50%, var(--dot-rest));
  }

  30%,
  70% {
    transform: translate(-50%, var(--dot-breathe));
  }

  100% {
    transform: translate(-50%, var(--dot-rest));
  }
}

@keyframes featured-signal-breathe {
  0% {
    transform: translate(-50%, var(--dot-rest));
  }

  30%,
  70% {
    transform: translate(-50%, var(--dot-breathe));
  }

  100% {
    transform: translate(-50%, var(--dot-rest));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lumen-field,
  .lumen-field-line,
  .lumen-edge-particles,
  .hero-spread-layer {
    display: none;
  }

  .hero-wordmark,
  .hero-stack,
  .hero-line,
  .hero-lower,
  .featured-rule,
  .featured-header,
  .featured-slider,
  .featured-cta,
  .about-heading-group,
  .about-copy-grid,
  .about-cta,
  .contact-rule,
  .contact-content {
    opacity: 1;
    transform: none;
  }

  .site-footer {
    opacity: 1;
    transition: none;
  }

  .project-section,
  .project-hero-panel,
  .project-main-image,
  .project-section > .project-section-copy,
  .project-pattern-grid {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-lower {
    transform: translateX(-50%);
  }

  .about-mark {
    opacity: 0.05;
  }

  .site-nav::after {
    animation: none;
  }
}

@keyframes nav-signal-line {
  0%,
  15% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }

  44% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }

  58% {
    opacity: 0.68;
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
}

@keyframes nav-top-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.45);
  }

  22% {
    opacity: 1;
    transform: translate(-50%, -2px) scale(1.12);
  }

  34% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  68% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 7px) scale(0.62);
  }
}

@keyframes nav-signal-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.35);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  62% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  78% {
    opacity: 0.48;
    transform: translate(-50%, -3px) scale(0.94);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -6px) scale(0.82);
  }
}

@keyframes nav-signal-mid-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.35);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  52% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  72% {
    opacity: 0.42;
    transform: translate(-50%, -9px) scale(0.9);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -15px) scale(0.74);
  }
}

@keyframes nav-signal-bottom-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.35);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  45% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  68% {
    opacity: 0.35;
    transform: translate(-50%, -12px) scale(0.82);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -18px) scale(0.62);
  }
}

@media (max-width: 1100px) {
  .hero-wordmark p {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero-spread-layer {
    display: none;
  }

  .project-detail-page {
    --project-text-block-space-before: var(--project-text-block-space-before-mobile);
    --project-text-block-space-after: var(--project-text-block-space-after-mobile);
    --project-module-block-gap: var(--project-module-block-gap-mobile);
    --project-module-row-gap: var(--project-module-row-gap-mobile);
    --project-media-stack-gap: var(--project-media-stack-gap-mobile);
    --project-browse-space-from-header: 55px;
    --project-browse-space-after: 69px;
  }

  :root {
    --header-y: 22px;
    --shell-gutter: 13px;
    --landing-gutter: calc(var(--shell-gutter) + 5px);
    --mobile-edge-gutter: 17px;
    --portfolio-card-media-aspect: auto;
    --portfolio-card-media-max-height: none;
    --portfolio-card-image-height: auto;
    --portfolio-card-image-fit: initial;
    --portfolio-card-padding-top: 25px;
    --portfolio-card-padding-right: 20px;
    --portfolio-card-padding-bottom: 25px;
    --portfolio-card-padding-left: 20px;
    --portfolio-card-title-font-size: 26px;
    --hero-content-width: 100vw;
    --hero-block-gap: clamp(52px, 8svh, 74px);
    --hero-min-height: 760px;
    --hero-center-offset-y: 0px;
    --hero-content-padding-bottom: clamp(104px, 13svh, 132px);
    --hero-explore-bottom: clamp(16px, 3svh, 32px);
    --footer-rule-gap: 46px;
    --footer-bottom-space: 72px;
  }

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

  .lumen-field,
  .lumen-field-line,
  .lumen-edge-particles {
    display: none;
  }

  .site-header-inner {
    width: calc(100% - (var(--mobile-edge-gutter) + var(--mobile-text-inset-extra)) * 2);
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 4;
    overflow: visible;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transition: none;
  }

  .menu-toggle::before {
    top: 50%;
    width: 32px;
    height: 20px;
    background:
      linear-gradient(#c4c4c4, #c4c4c4) left top / 100% 2px no-repeat,
      linear-gradient(#c4c4c4, #c4c4c4) left center / 100% 2px no-repeat;
    transform: translate(-50%, -50%) scaleX(1);
  }

  .menu-toggle::after {
    top: calc(50% + 9px);
    width: 32px;
    height: 2px;
    background: #c4c4c4;
    transform: translate(-50%, -50%) scaleX(1);
  }

  body.nav-open .menu-toggle {
    animation: none;
    transform: none;
    transition:
      opacity 180ms ease,
      transform 360ms cubic-bezier(0.44, 0, 0.56, 1);
  }

  @media (hover: hover) and (pointer: fine) {
    .menu-toggle:hover {
      opacity: 0.8;
      transform: scale(0.85);
    }

    body.nav-open .menu-toggle:hover {
      opacity: 1;
      transform: rotate(90deg);
    }
  }

  .menu-toggle.is-switching,
  .menu-toggle.is-switching img,
  .menu-toggle.is-switching::before,
  .menu-toggle.is-switching::after {
    transition: none !important;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  body.nav-open .menu-toggle img {
    opacity: 0;
    transform: scaleX(0.92);
    animation: none;
  }

  body.nav-open .menu-toggle::before,
  body.nav-open .menu-toggle::after {
    top: 50%;
    width: 24px;
    height: 2px;
    background: #c4c4c4;
    opacity: 1;
    animation: none;
    background-size: auto;
  }

  body.nav-open .menu-toggle::before {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
  }

  body.nav-open .menu-toggle::after {
    transform: translate(-50%, -50%) rotate(-45deg) scaleX(1);
  }

  body.nav-open .site-logo {
    opacity: 0;
    pointer-events: none;
  }

  .site-nav {
    --mobile-menu-edge: 20px;
    --mobile-menu-item-delay: 240ms;
    --mobile-menu-item-transition: opacity 220ms ease;
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-content: start;
    justify-items: start;
    gap: clamp(30px, 4.6vw, 34px);
    padding:
      calc(var(--header-y) + var(--logo-width) + 72px)
      var(--mobile-menu-edge)
      clamp(82px, 12vh, 128px)
      var(--mobile-menu-edge);
    overflow: hidden;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    font-size: clamp(20px, 13.4vw, 35px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition:
      opacity 360ms cubic-bezier(0.44, 0, 0.56, 1),
      visibility 360ms cubic-bezier(0.44, 0, 0.56, 1),
      clip-path 520ms cubic-bezier(0.44, 0, 0.56, 1);
  }

  .site-nav::before {
    content: "lowlumen";
    position: fixed;
    top: var(--header-y);
    left: var(--mobile-menu-edge);
    z-index: 2;
    color: var(--hero-ink);
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    opacity: 0;
    transition: var(--mobile-menu-item-transition);
  }

  .site-nav::after {
    content: "";
    position: fixed;
    top: 50%;
    left: clamp(-280px, -31vw, -160px);
    z-index: 0;
    width: clamp(697px, 139vw, 1134px);
    aspect-ratio: 121.5 / 82.9;
    background: var(--hero-ink);
    opacity: 0;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 121.5 82.9'%3E%3Cpath fill='none' stroke='black' stroke-width='.17' stroke-linejoin='round' d='M121.5,60.2s-23.6-34.1-44.1-41c15.9,28.8,21.7,63.7,21.7,63.7,0,0-11.9-35.1-33.6-52.8V0c25.5,1.1,55.9,60.2,56,60.2ZM56.2,29.8c-21.8,17.5-33.9,53.1-33.9,53.1,0,0,5.8-34.9,21.7-63.7C23.6,26.1,0,60.2,0,60.2,0,60.2,30.8.7,56.2,0v29.8h0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 121.5 82.9'%3E%3Cpath fill='none' stroke='black' stroke-width='.17' stroke-linejoin='round' d='M121.5,60.2s-23.6-34.1-44.1-41c15.9,28.8,21.7,63.7,21.7,63.7,0,0-11.9-35.1-33.6-52.8V0c25.5,1.1,55.9,60.2,56,60.2ZM56.2,29.8c-21.8,17.5-33.9,53.1-33.9,53.1,0,0,5.8-34.9,21.7-63.7C23.6,26.1,0,60.2,0,60.2,0,60.2,30.8.7,56.2,0v29.8h0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%) scale(1);
    pointer-events: none;
    transition: none;
  }

  .site-nav .nav-link {
    z-index: 1;
    justify-content: flex-start;
    color: var(--hero-ink);
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0;
    transition: none;
  }

  .site-nav .nav-link:nth-of-type(1) {
    transition-delay: 0ms;
  }

  .site-nav .nav-link:nth-of-type(2) {
    transition-delay: 0ms;
  }

  .site-nav .nav-link:nth-of-type(3) {
    transition-delay: 0ms;
  }

  .site-nav .nav-label {
    position: relative;
    z-index: 2;
    transform: none;
    transform-origin: center;
    transition: none;
  }

  .site-nav .nav-link:nth-of-type(1) .nav-label {
    transition-delay: 0ms;
  }

  .site-nav .nav-link:nth-of-type(2) .nav-label {
    transition-delay: 0ms;
  }

  .site-nav .nav-link:nth-of-type(3) .nav-label {
    transition-delay: 0ms;
  }

  .site-nav .nav-link:hover .nav-label,
  .site-nav .nav-link:focus-visible .nav-label {
    transform: none;
    transition-delay: 0ms;
  }

  .site-nav .nav-link-contact::after {
    content: "\00a9 2026 lowlumen";
    position: fixed;
    left: var(--mobile-menu-edge);
    bottom: clamp(36px, 5.8vh, 56px);
    z-index: 2;
    color: var(--body-color);
    font-size: calc(12px * var(--density-scale));
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transition: var(--mobile-menu-item-transition);
  }

  .nav-top-dot,
  .nav-signal,
  .scroll-top-button {
    display: none;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0);
  }

  body.nav-open .site-nav::before {
    opacity: 1;
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav::after {
    opacity: 0.099;
  }

  body.nav-open .site-nav .nav-link {
    opacity: 1;
    animation: none;
    transition: var(--mobile-menu-item-transition);
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav .nav-link:nth-of-type(1) {
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav .nav-link:nth-of-type(2) {
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav .nav-link:nth-of-type(3) {
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav .nav-label {
    transform: none;
    transition: none;
  }

  body.nav-open .site-nav .nav-link:nth-of-type(1) .nav-label {
    transition-delay: 0ms;
  }

  body.nav-open .site-nav .nav-link:nth-of-type(2) .nav-label {
    transition-delay: 0ms;
  }

  body.nav-open .site-nav .nav-link:nth-of-type(3) .nav-label {
    transition-delay: 0ms;
  }

  body.nav-open .site-nav .nav-link:hover .nav-label,
  body.nav-open .site-nav .nav-link:focus-visible .nav-label {
    transform: none;
    opacity: 0.52;
    transition: opacity 200ms ease;
    transition-delay: 0ms;
  }

  body.nav-open .site-nav .nav-link:hover,
  body.nav-open .site-nav .nav-link:focus-visible {
    opacity: 1;
    animation: none;
    transition: var(--mobile-menu-item-transition);
    transition-delay: 0ms;
  }

  body.nav-open .site-nav .nav-link:not(:hover):not(:focus-visible) {
    transition: var(--mobile-menu-item-transition);
    transition-delay: var(--mobile-menu-item-delay);
  }

  body.nav-open .site-nav .nav-link-contact::after {
    opacity: 1;
    transition-delay: var(--mobile-menu-item-delay);
  }

  .hero-content {
    width: min(var(--hero-content-width), calc(100% - var(--shell-gutter) * 2));
    min-height: 0;
    align-content: center;
    justify-items: center;
    padding-top: 96px;
    padding-bottom: var(--hero-content-padding-bottom);
    transform: none;
  }

  .hero-stack,
  .hero-wordmark {
    width: 100%;
    justify-self: center;
    text-align: center;
  }

  .hero-wordmark h1 {
    width: 100%;
    font-size: clamp(58px, 18vw, 112px);
    line-height: 0.86;
    text-align: center;
  }

  .hero-wordmark p {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-line {
    margin: 14px auto 0;
    padding-right: 0;
    max-width: min(520px, 100%);
    text-align: center;
  }

  .hero-line p {
    font-size: clamp(18px, 4.5vw, 21px);
    line-height: 1;
  }

  .hero-line span {
    margin-top: 7px;
    font-size: clamp(11px, 2.9vw, 13px);
  }

  .hero-lower {
    width: min(520px, calc(100% - var(--shell-gutter) * 2));
  }

  .hero-title-exiting .hero-wordmark h1 {
    transform: translate3d(0, 34px, 0);
    transition-delay: 140ms;
  }

  .hero-title-exiting .hero-line {
    transform: translate3d(0, 42px, 0);
    transition-delay: 80ms;
  }

  .hero-title-exiting .hero-intro {
    transform: translate3d(var(--hero-intro-x), calc(var(--hero-intro-y) + 58px), 0);
    transition-delay: 0ms;
  }

  .hero-intro-title {
    font-size: clamp(24px, 7vw, 30px);
  }

  .hero-intro-copy {
    width: min(390px, calc(100vw - var(--shell-gutter) * 2));
    max-width: none;
    margin: 8px auto 0;
    font-size: clamp(13px, 3.15vw, 15px);
    line-height: 1.18;
  }

  .hero-explore {
    margin-top: clamp(24px, 3.8vh, 38px);
    gap: 7px;
  }

  .hero-explore-label {
    font-size: 13px;
  }

  .featured-section {
    padding-top: 72px;
  }

  .featured-header h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .featured-header p {
    font-size: 16px;
    line-height: 1.34;
  }

  .featured-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
  }

  .featured-card {
    width: 100%;
  }

  .featured-card:nth-of-type(3) {
    grid-column: 1 / -1;
    width: calc((100% - 26px) / 2);
    justify-self: center;
  }

  .featured-cta {
    margin-top: 44px;
  }

  .about-section {
    --about-top-padding: 72px;
    padding-top: var(--about-top-padding);
  }

  .about-rule {
    margin-bottom: clamp(48px, 6vh, 72px);
  }

  .about-mark {
    top: clamp(190px, 24vh, 250px);
    width: 120vw;
  }

  .about-heading-group {
    margin-bottom: clamp(52px, 7vh, 74px);
  }

  .about-header h2 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .about-header p {
    font-size: 16px;
    line-height: 1.34;
  }

  .about-copy-grid {
    width: min(420px, calc(100% - var(--landing-gutter) * 2));
    margin-bottom: clamp(48px, 6vh, 68px);
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-copy-block h3 {
    margin-bottom: 22px;
    font-size: clamp(13px, 3.3vw, 16px);
    letter-spacing: 0.2em;
  }

  .about-copy-block p,
  .about-copy-block li {
    font-size: 16px;
    line-height: 1.34;
  }

  .outline-button {
    min-height: 55px;
    padding: 0 38px;
    font-size: clamp(14px, 3.6vw, 16px);
  }

  .contact-section {
    min-height: 100svh;
    padding: 56px 0 calc(env(safe-area-inset-bottom, 0px) + var(--footer-bottom-space));
  }

  .contact-rule {
    margin-bottom: 56px;
  }

  .contact-content {
    width: min(360px, calc(100% - var(--landing-gutter) * 2));
  }

  .contact-header p {
    font-size: clamp(20px, 5.6vw, 28px);
  }

  .contact-header h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .contact-form {
    gap: 14px;
    margin-top: 34px;
  }

  .contact-form input {
    height: 44px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .outline-button.contact-submit {
    min-height: 45px;
    padding: 0 42px;
    font-size: 13px;
  }

  .site-footer {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - (var(--mobile-edge-gutter) + var(--mobile-text-inset-extra)) * 2);
    margin: 72px auto 0;
    transform: none;
  }

  .contact-section .site-footer {
    margin: clamp(100px, 12svh, 140px) auto 0;
  }

  .contact-section.is-in-view .site-footer {
    transform: none;
  }

  .privacy-policy-page .site-footer {
    transform: none;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 150px;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
    order: 1;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
  }

  .projects-page-stage {
    padding: clamp(118px, 15vh, 168px) 0 var(--footer-bottom-space);
  }

  .projects-page-header {
    margin-bottom: 48px;
  }

  .projects-page-header h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .projects-page-header p {
    font-size: 16px;
    line-height: 1.34;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    width: 100%;
    margin: 0 auto;
  }

  .projects-page .site-footer,
  .project-detail-page .site-footer {
    margin-top: var(--footer-space-before);
  }

  .project-detail {
    padding-top: var(--project-detail-top-space);
    padding-bottom: 44px;
  }

  .projects-page .site-footer,
  .project-detail-page .site-footer {
    margin-top: 104px;
  }

  .project-detail-nav {
    width: calc(100vw - (var(--mobile-edge-gutter) + var(--project-mobile-text-inset-extra)) * 2);
    max-width: none;
  }

  .project-hero-panel {
    width: 100%;
    margin-top: var(--project-browse-space-after);
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  .project-brand-logo {
    grid-column: auto;
    width: clamp(128px, 28.9vw, 162px);
    max-width: none;
    max-height: 145px;
    justify-self: center;
  }

  .project-title-rule {
    display: block;
    grid-column: auto;
    width: 100%;
    height: 1px;
    min-height: 0;
    justify-self: start;
  }

  .project-title-block {
    grid-column: auto;
    max-width: none;
    width: calc(100% - var(--project-mobile-text-inset-extra) * 2);
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .project-kicker {
    margin-bottom: 10px;
  }

  .project-main-image {
    width: calc(100% - var(--project-detail-gutter) * 2);
    margin-right: auto;
    margin-left: auto;
  }

  .project-media-stack-row.is-hero-scaled-media-row {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .project-media-stack-row.is-hero-scaled-media-row .project-media-item {
    width: 100%;
  }

  .project-media-item.is-wide.is-natural-mobile {
    height: auto;
    overflow: visible;
  }

  .project-media-item.is-wide.is-natural-mobile img {
    height: auto;
    object-fit: contain;
  }

  .project-media-item.is-wide .is-mobile-crop-video {
    height: 100%;
    object-fit: cover;
  }

  .project-main-image,
  .project-media-item.is-wide,
  .project-media-item.is-hero-scaled-media {
    max-width: none;
    height: calc(((100vw - var(--project-detail-gutter) * 2) * 0.8) + 100px);
    overflow: hidden;
  }

  .project-main-image {
    margin-top: 40px;
  }

  .project-main-image img,
  .project-main-image video,
  .project-media-item.is-wide img,
  .project-media-item.is-hero-scaled-media img {
    height: 100%;
    object-fit: cover;
  }

  .project-content {
    width: calc(100% - var(--project-detail-gutter) * 2);
    margin-top: 82px;
  }

  .project-section {
    width: 100%;
  }

  .project-section + .project-section {
    margin-top: var(--project-text-block-space-before);
  }

  .project-section > .project-kicker,
  .project-section > .project-section-copy {
    width: calc(100% - var(--project-mobile-text-inset-extra) * 2);
  }

  .project-section-copy {
    max-width: 100%;
  }

  .project-module-item figcaption {
    padding-right: var(--project-mobile-text-inset-extra);
    padding-left: var(--project-mobile-text-inset-extra);
  }

  .project-pattern-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .project-media-module {
    width: 100%;
  }

  .project-media-row {
    align-items: center;
  }

  .project-media-stack {
    grid-template-columns: 1fr;
    margin-top: var(--project-text-block-space-after);
  }

  .project-media-stack-row.is-pair {
    grid-template-columns: 1fr;
    gap: var(--project-media-stack-gap);
  }

  .project-media-stack-row.is-trio,
  .project-media-stack-row.is-centered-pair {
    grid-template-columns: 1fr;
  }

  .project-module-item.is-responsive-cover {
    overflow: hidden;
  }

  .project-module-item.is-responsive-cover > img,
  .project-module-item.is-responsive-cover > video {
    height: min(520px, 74vw);
    object-fit: cover;
  }

  .project-module-item.is-responsive-cover .project-module-cover {
    height: min(520px, 74vw);
  }

  .project-module-item.is-responsive-cover .project-module-cover-image {
    height: 100%;
    object-fit: cover;
  }

}

@media (max-width: 640px) {
  :root {
    --mobile-edge-gutter: 9px;
    --portfolio-card-body-min-height: auto;
    --hero-block-gap: clamp(46px, 7svh, 64px);
    --hero-center-offset-y: clamp(6px, 2svh, 18px);
    --hero-explore-bottom: clamp(8px, 2.5svh, 22px);
    --hero-intro-explore-gap: clamp(136px, 18svh, 178px);
    --hero-bottom-group-bottom: clamp(44px, 6svh, 64px);
    --footer-bottom-space: 62px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    position: absolute;
    top: calc(96px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: calc(
      env(safe-area-inset-bottom, 0px) + var(--hero-bottom-group-bottom) +
        clamp(238px, 30svh, 288px)
    );
    left: 0;
    display: grid;
    width: min(var(--hero-content-width), calc(100% - var(--shell-gutter) * 2));
    min-height: 0;
    margin-inline: auto;
    padding: 0;
    align-content: center;
    justify-items: center;
  }

  .hero-center-block {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 0;
    text-align: center;
  }

  .hero-stack {
    z-index: 8;
  }

  .hero-wordmark,
  .hero-intro,
  .hero-lower {
    max-width: min(520px, 100%);
  }

  .hero-intro {
    width: min(520px, 100%);
    margin-top: 0;
    transform: translate3d(var(--hero-intro-x), var(--hero-intro-y), 0);
  }

  .hero-lower {
    width: min(520px, 100%);
  }

  .hero-title-exiting .hero-intro {
    transform: translate3d(var(--hero-intro-x), calc(var(--hero-intro-y) + 58px), 0);
  }

  .hero-explore {
    margin-top: clamp(22px, 3.2svh, 34px);
  }

  .site-footer {
    width: calc(100% - (var(--mobile-edge-gutter) + var(--mobile-text-inset-extra)) * 2);
  }

  .site-footer-inner {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 42px;
  }

  .footer-brand {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
    text-align: center;
  }

  .footer-nav a {
    display: block;
    text-align: center;
  }

  .footer-logo {
    order: 1;
  }

  .footer-copyright {
    order: 2;
  }

  .footer-separator {
    display: none;
  }

  .footer-privacy {
    order: 3;
    margin-top: 24px;
  }

  .project-media-row {
    justify-items: center;
  }

  .project-media-row--two {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-media-module--fill .project-media-row--two .project-module-item {
    width: 100%;
    max-width: none;
  }

  .project-module-item.is-mobile-cover {
    overflow: hidden;
  }

  .project-module-item.is-mobile-cover img,
  .project-module-item.is-mobile-cover video {
    height: min(520px, 74vw);
    object-fit: cover;
  }

  .hero-lower {
    width: min(520px, calc(100% - var(--shell-gutter) * 2));
    align-items: center;
    text-align: center;
  }

  .hero-intro {
    --hero-intro-x: 0px;
    --hero-intro-y: 0px;
    width: min(520px, 100%);
    text-align: center;
  }

  .hero-intro-copy {
    width: min(390px, calc(100vw - var(--shell-gutter) * 2));
    margin: 12px auto 0;
  }

  .featured-slider {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .featured-card:nth-of-type(3) {
    grid-column: auto;
    width: 100%;
  }
}

@media (min-width: 2200px) {
  .project-main-image,
  .project-media-stack {
    max-width: 70vw;
  }
}

@media (max-width: 560px) {
  .featured-card-media .portfolio-card-logo {
    transform: scale(var(--featured-card-logo-scale-mobile));
  }

  .projects-grid-card-media .portfolio-card-logo {
    transform: scale(var(--projects-card-logo-scale-mobile));
  }

  .project-detail-page {
    --project-label-font-size: 16px;
  }

  .project-summary {
    max-width: 34em;
    font-size: 16px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .featured-card-media .portfolio-card-logo {
    transform: scale(var(--featured-card-logo-scale-tablet));
  }

  .projects-grid-card-media .portfolio-card-logo {
    transform: scale(var(--projects-card-logo-scale-tablet));
  }

  .featured-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
  }

  .featured-card:nth-of-type(3) {
    grid-column: 1 / -1;
    width: calc((100% - 26px) / 2);
    justify-self: center;
  }
}

.featured-card-body {
  background: rgba(0, 0, 0, var(--featured-card-body-opacity));
  transition: background-color 150ms ease-out;
}

.featured-card:hover .featured-card-body,
.featured-card:focus-visible .featured-card-body {
  background: rgba(0, 0, 0, var(--featured-card-body-hover-opacity));
}

@media (max-width: 900px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .featured-model-layer {
    display: none;
  }
}

@media (max-width: 900px) {
  .featured-slider:has(.featured-card:hover) .featured-card:not(:hover)::after,
  .featured-slider:has(.featured-card:focus-visible) .featured-card:not(:focus-visible)::after {
    opacity: 0;
  }

  .featured-card:hover .featured-card-body,
  .featured-card:focus-visible .featured-card-body {
    background: rgba(0, 0, 0, var(--featured-card-body-opacity));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  :root {
    --portfolio-card-body-min-height: var(--portfolio-card-body-min-height-tablet);
    --portfolio-card-padding-right: 25px;
    --portfolio-card-padding-left: 25px;
  }

  .project-detail-page {
    --project-text-block-space-before: var(--project-text-block-space-before-tablet);
    --project-text-block-space-after: var(--project-text-block-space-after-tablet);
    --project-module-block-gap: var(--project-module-block-gap-tablet);
    --project-module-row-gap: var(--project-module-row-gap-tablet);
    --project-media-stack-gap: var(--project-media-stack-gap-tablet);
  }

  .site-footer {
    width: calc(100% - (var(--mobile-edge-gutter) + var(--mobile-text-inset-extra)) * 2);
  }

  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: calc(28px * var(--density-scale));
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    order: 0;
    text-align: left;
  }

  .footer-logo,
  .footer-logo img {
    display: block;
  }

  .footer-nav {
    flex-direction: row;
    align-items: center;
    order: 0;
    gap: clamp(calc(24px * var(--density-scale)), 3vw, calc(44px * var(--density-scale)));
    font-size: calc(12px * var(--density-scale));
    text-align: left;
  }

  .project-media-stack {
    width: calc(100vw - var(--project-detail-gutter) * 2);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

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

  .hero-wordmark h1 {
    font-size: clamp(78px, 13.5vw, 126px);
  }

  .hero-line {
    max-width: min(420px, 72vw);
  }

  .hero-line p {
    font-size: clamp(21px, 3vw, 24px);
    white-space: nowrap;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
  }
}

body.nav-open .site-nav .nav-link:focus-visible .nav-label {
  opacity: 1;
}

@media (max-width: 420px) {
  .hero-wordmark h1 {
    font-size: clamp(50px, 16.8vw, 74px);
  }

  .hero-line {
    max-width: 230px;
  }

  .hero-line p {
    font-size: clamp(17px, 4.8vw, 20px);
  }

  .hero-intro {
    --hero-intro-x: 0px;
    --hero-intro-y: 0px;
  }
}

@media (max-width: 900px) and (min-aspect-ratio: 1 / 1) {
  :root {
    --hero-center-offset-y: 0px;
    --hero-explore-bottom: clamp(8px, 3svh, 22px);
  }

  .hero-content {
    padding-top: 108px;
  }

  .hero-wordmark h1 {
    font-size: clamp(58px, 12vw, 118px);
  }

  .hero-line {
    margin-top: 14px;
  }

  .hero-lower {
    width: min(520px, calc(100% - var(--shell-gutter) * 2));
  }
}
