:root {
  color-scheme: dark;
  --surface: #0d0f12;
  --surface-raised: #14171c;
  --surface-soft: #191d24;
  --surface-inverse: #f1ede4;
  --text: #f3f0e8;
  --text-soft: #c4c0b7;
  --muted: #8e9097;
  --line: rgb(243 240 232 / 14%);
  --line-strong: rgb(243 240 232 / 28%);
  --accent: #8198ff;
  --accent-bright: #aab8ff;
  --accent-ink: #10216f;
  --shadow: rgb(0 0 0 / 42%);
  --shell: min(1380px, calc(100vw - 80px));
  --header-height: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html[data-theme="light"] {
  color-scheme: light;
  --surface: #f3efe7;
  --surface-raised: #ebe6dc;
  --surface-soft: #e1dbd0;
  --surface-inverse: #111319;
  --text: #14161b;
  --text-soft: #41434a;
  --muted: #6c6d72;
  --line: rgb(20 22 27 / 14%);
  --line-strong: rgb(20 22 27 / 27%);
  --accent: #3459dd;
  --accent-bright: #2545bc;
  --accent-ink: #eef2ff;
  --shadow: rgb(37 33 25 / 16%);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

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

html {
  min-width: 320px;
  background: var(--surface);
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--text);
  transition: background-color 320ms ease, color 320ms ease;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 34%, transparent);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent) 72%, transparent);
  background-clip: padding-box;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:double-button {
  display: none;
  width: 0;
  height: 0;
}

@supports selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: auto;
    scrollbar-width: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1480px, calc(100vw - 28px));
  min-height: var(--header-height);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  transform: translateX(-50%);
  transition:
    min-height 280ms var(--ease-out),
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    backdrop-filter 280ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  min-height: 60px;
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 14px 45px var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-sentinel {
  position: absolute;
  top: 80px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--text);
  color: var(--surface);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.brand-mark b {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
}

.brand-mark i {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-word sup {
  position: relative;
  top: -0.35em;
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.5em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a,
.utility-toggle,
.header-mail {
  position: relative;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 12px 0;
  color: var(--text-soft);
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.site-nav a:hover {
  color: var(--text);
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.utility-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.utility-toggle:hover,
.utility-toggle[aria-pressed="true"] {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-raised) 78%, transparent);
  color: var(--text);
}

.theme-toggle-icon {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.music-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 13px;
  height: 12px;
}

.music-bars i {
  width: 2px;
  height: 35%;
  border-radius: 2px;
  background: currentColor;
}

.music-toggle[aria-pressed="true"] .music-bars i {
  animation: music-pulse 800ms ease-in-out infinite alternate;
}

.music-toggle[aria-pressed="true"] .music-bars i:nth-child(2) {
  animation-delay: -300ms;
}

.music-toggle[aria-pressed="true"] .music-bars i:nth-child(3) {
  animation-delay: -550ms;
}

.utility-toggle strong {
  color: var(--text);
  font-weight: inherit;
}

.header-mail {
  margin-left: 4px;
  padding: 11px 13px;
  border-radius: 4px;
  background: var(--text);
  color: var(--surface);
  transition: transform 220ms var(--ease-out), background-color 180ms ease;
}

.header-mail:hover {
  background: var(--accent-bright);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: max(760px, 100svh);
  padding: calc(var(--header-height) + 76px) 0 134px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: -24%;
  right: -11%;
  z-index: -2;
  width: min(60vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 17%, transparent), transparent 66%);
  content: "";
  opacity: 0.75;
}

.hero-wordmark {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: -1;
  color: color-mix(in srgb, var(--text) 2.7%, transparent);
  font-size: clamp(13rem, 29vw, 34rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.7;
  white-space: nowrap;
  transform: translate(-51%, -50%);
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-right: min(42vw, 650px);
}

.hero-kicker,
.section-label,
.project-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-kicker::before {
  width: 31px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.hero h1,
.work-heading h2,
.approach-intro h2,
.contact-section h2,
.project-copy h3 {
  margin: 0;
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 970px;
  font-size: clamp(4rem, 7.7vw, 8.3rem);
}

.hero h1 span {
  display: block;
}

.hero h1 em,
.work-heading h2 em,
.approach-intro h2 em,
.contact-section h2 em,
.project-copy h3 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.hero h1 em {
  color: var(--accent-bright);
}

.hero-deck {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  opacity: 0.55;
  transition: transform 300ms var(--ease-out), opacity 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.text-link span {
  color: var(--accent-bright);
  transition: transform 240ms var(--ease-out);
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.text-link-muted {
  color: var(--muted);
}

.hero-sculpture {
  position: absolute;
  top: 50%;
  right: max(7vw, calc((100vw - 1380px) / 2));
  z-index: 2;
  width: clamp(265px, 31vw, 500px);
  aspect-ratio: 0.92;
  perspective: 900px;
  transform: translateY(-45%);
}

.pebble {
  position: absolute;
  inset: 8% 6% 10% 8%;
  display: grid;
  place-items: center;
  border-radius: 49% 51% 45% 55% / 57% 43% 57% 43%;
  background:
    radial-gradient(circle at 33% 24%, rgb(255 255 255 / 56%), transparent 8%),
    radial-gradient(circle at 72% 76%, #243785, transparent 36%),
    linear-gradient(145deg, #93aaff 0%, #5873e8 42%, #253eae 100%);
  box-shadow:
    inset -35px -45px 80px rgb(10 18 70 / 34%),
    inset 22px 18px 50px rgb(255 255 255 / 17%),
    0 52px 90px rgb(0 0 0 / 38%);
  transform: rotateX(8deg) rotateY(-10deg) rotateZ(7deg);
}

.pebble::after {
  position: absolute;
  inset: 3%;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: inherit;
  content: "";
}

.pebble-cut {
  color: #101b58;
  font-size: clamp(7rem, 15vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow: 0 1px 0 rgb(255 255 255 / 16%);
  transform: translateX(-4%);
}

.pebble-glint {
  position: absolute;
  top: 15%;
  left: 29%;
  width: 22%;
  height: 6%;
  border-radius: 50%;
  background: rgb(255 255 255 / 38%);
  filter: blur(10px);
  transform: rotate(-25deg);
}

.pebble-shadow {
  position: absolute;
  right: -3%;
  bottom: 0;
  left: -4%;
  height: 25%;
  border-radius: 50%;
  background: rgb(0 0 0 / 43%);
  filter: blur(28px);
  transform: rotate(-5deg);
}

.pebble-slice,
.pebble-node {
  position: absolute;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
}

.pebble-slice {
  width: 31%;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--surface) 63%, transparent);
  clip-path: polygon(0 0, 100% 17%, 75% 100%, 12% 77%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pebble-slice-one {
  top: 2%;
  right: -5%;
  transform: rotate(18deg);
}

.pebble-slice-two {
  bottom: 4%;
  left: -5%;
  width: 21%;
  transform: rotate(-12deg);
}

.pebble-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent);
}

.pebble-node-one {
  top: 17%;
  left: -1%;
}

.pebble-node-two {
  right: 3%;
  bottom: 15%;
}

.hero-proof {
  position: absolute;
  right: 0;
  bottom: 45px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-signal {
  position: absolute;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: 1;
  width: calc(100% + 4px);
  height: 24%;
  pointer-events: none;
}

.hero-signal path {
  fill: none;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.hero-signal-base {
  stroke: var(--line);
}

.hero-signal-live {
  stroke: var(--accent);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.work-section {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 88%, var(--surface)) 0%, var(--surface) 24%);
}

.work-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(430px, 1.5fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: end;
  padding-top: clamp(110px, 14vw, 210px);
  padding-bottom: clamp(100px, 12vw, 180px);
}

.work-heading h2,
.approach-intro h2,
.contact-section h2 {
  font-size: clamp(3.7rem, 7vw, 7.7rem);
}

.work-heading h2 em,
.approach-intro h2 em,
.contact-section h2 em {
  color: var(--accent-bright);
}

.work-heading > p:last-child,
.approach-intro > p:last-child {
  margin: 0 0 7px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.project-timeline {
  position: relative;
  isolation: isolate;
}

.timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 86px;
  height: 100%;
  overflow: visible;
  transform: translateX(-50%);
}

.timeline-rail path {
  fill: none;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.timeline-rail-base {
  stroke: var(--line);
}

.timeline-rail-progress {
  stroke: var(--accent);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.timeline-cursor {
  position: sticky;
  top: 50%;
  z-index: 8;
  width: 0;
  height: 0;
  margin-left: 50%;
  pointer-events: none;
}

.timeline-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 1px var(--accent), 0 0 28px color-mix(in srgb, var(--accent) 65%, transparent);
  transform: translate(-50%, -50%);
}

.timeline-active-label {
  position: absolute;
  top: -13px;
  left: 19px;
  width: max-content;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--text-soft);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 180ms ease, transform 300ms var(--ease-out);
}

.project-list {
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.project-row {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(95px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
}

.project-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(80px, 10vw, 170px);
  align-items: center;
}

.project-entry > * {
  min-width: 0;
}

.project-timeline[data-active-project="02"] .timeline-active-label {
  right: 19px;
  left: auto;
}

.project-row-rust .project-copy {
  grid-column: 2;
  grid-row: 1;
}

.project-row-rust .project-stage {
  grid-column: 1;
  grid-row: 1;
}

.project-copy {
  max-width: 570px;
  opacity: 0.55;
  transition: opacity 500ms ease;
}

.project-row.is-active .project-copy {
  opacity: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.project-meta span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  letter-spacing: 0.04em;
}

.project-copy h3 {
  font-size: clamp(4.4rem, 7.8vw, 8.7rem);
}

.project-copy h3 em,
.project-copy h3 span {
  color: var(--accent-bright);
}

.project-description {
  max-width: 540px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.68;
}

.project-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.project-focus li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.055em;
}

.project-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(460px, 58vw, 720px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: 0 36px 90px var(--shadow);
  clip-path: polygon(4% 0, 100% 0, 96% 94%, 62% 100%, 0 93%, 0 8%);
  isolation: isolate;
  transform: perspective(1300px) rotateY(-2deg) rotateX(1deg);
  transition: transform 700ms var(--ease-out), border-color 300ms ease;
}

.project-row-rust .project-stage {
  clip-path: polygon(0 0, 96% 3%, 100% 92%, 73% 100%, 3% 96%);
  transform: perspective(1300px) rotateY(2deg) rotateX(1deg);
}

.project-stage:hover,
.project-stage:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transform: perspective(1300px) rotateY(0) rotateX(0) translateY(-8px);
}

.project-art,
.project-depth {
  position: absolute;
}

.project-art {
  inset: 0;
  overflow: hidden;
}

.project-art::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 9%);
  content: "";
  pointer-events: none;
}

.project-depth {
  transform-origin: center;
}

.depth-back {
  --depth-shift: -34px;
}

.depth-mid {
  --depth-shift: -68px;
}

.depth-front {
  --depth-shift: -112px;
}

.stage-pharaoh {
  background: #ef4b2f;
}

.pharaoh-art {
  background:
    linear-gradient(128deg, transparent 0 51%, rgb(49 11 6 / 12%) 51% 52%, transparent 52%),
    #f05a38;
}

.pharaoh-sun {
  top: 9%;
  right: 8%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd66b;
  box-shadow: 0 0 70px rgb(255 214 107 / 38%);
}

.pharaoh-arch {
  right: 12%;
  bottom: 0;
  width: 62%;
  height: 76%;
  border: clamp(23px, 4vw, 54px) solid #572214;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #d84b2f;
  box-shadow: inset 18px 4px 0 #7a2e1e;
}

.pharaoh-bowl {
  right: 7%;
  bottom: 2%;
  width: 78%;
  height: 34%;
  border-radius: 10% 10% 55% 55%;
  background:
    radial-gradient(circle at 36% 3%, #75a840 0 4%, transparent 4.5%),
    radial-gradient(circle at 51% 2%, #f5cc69 0 7%, transparent 7.5%),
    radial-gradient(circle at 62% 5%, #3d7427 0 6%, transparent 6.5%),
    linear-gradient(#f9e8bc 0 10%, #472317 11% 100%);
  box-shadow: inset 0 16px 0 #f1c76b, 0 30px 45px rgb(70 22 9 / 34%);
  transform: rotate(-3deg);
}

.pharaoh-herb {
  width: 25%;
  height: 8%;
  border-radius: 100% 0;
  background: #335f22;
}

.herb-one {
  right: 3%;
  bottom: 26%;
  transform: rotate(-24deg);
}

.herb-two {
  right: 15%;
  bottom: 31%;
  transform: rotate(18deg) scale(0.75);
}

.pharaoh-stamp {
  top: 13%;
  left: 9%;
  display: grid;
  place-items: center;
  width: 94px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 245 220 / 64%);
  border-radius: 50%;
  color: #fff2d9;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-9deg);
}

.pharaoh-art strong {
  position: absolute;
  top: 40%;
  left: -8%;
  z-index: 4;
  color: #fff0d5;
  font-size: clamp(4.2rem, 9vw, 9.2rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
  transform: rotate(-90deg);
}

.stage-rust {
  background: #08110f;
}

.rust-art {
  background: linear-gradient(180deg, #101b1a 0%, #0f1612 52%, #55311d 100%);
}

.rust-art::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 62px, rgb(255 255 255 / 2%) 63px 64px),
    repeating-linear-gradient(0deg, transparent 0 62px, rgb(255 255 255 / 2%) 63px 64px);
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.rust-horizon {
  right: -12%;
  bottom: -10%;
  left: -12%;
  height: 47%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(12deg, #1e2e24, #916040 55%, #28241b);
  box-shadow: 0 -18px 55px rgb(248 116 54 / 18%);
  transform: rotate(-4deg);
}

.rust-sun {
  top: 13%;
  right: 13%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #ffd095, #f46c32 57%, #8b291f 100%);
  box-shadow: 0 0 80px rgb(244 108 50 / 31%);
}

.rust-monolith {
  bottom: 13%;
  width: 18%;
  height: 48%;
  background: linear-gradient(100deg, #0e1411, #384238 48%, #111512 49%);
  box-shadow: 18px 28px 34px rgb(0 0 0 / 39%);
  clip-path: polygon(20% 0, 80% 4%, 100% 100%, 0 100%);
}

.rust-monolith-one {
  left: 21%;
  transform: rotate(-8deg);
}

.rust-monolith-two {
  right: 19%;
  bottom: 7%;
  width: 23%;
  height: 62%;
  transform: rotate(7deg);
}

.rust-flare {
  right: 4%;
  bottom: 12%;
  width: 36%;
  height: 2px;
  background: #ff9e68;
  box-shadow: 0 0 18px #ff632e, 0 0 50px #ff632e;
  transform: rotate(-16deg);
}

.rust-art strong {
  position: absolute;
  top: 11%;
  left: 8%;
  z-index: 4;
  color: #e6f2e7;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
  mix-blend-mode: screen;
}

.stage-opti {
  background: #d9e5ff;
}

.opti-art {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 72%), transparent 45%),
    radial-gradient(circle at 75% 35%, #fff, transparent 21%),
    #d8e4ff;
}

.opti-halo {
  top: 7%;
  left: 11%;
  width: 68%;
  aspect-ratio: 1;
  border: clamp(30px, 6vw, 72px) solid rgb(92 117 218 / 26%);
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgb(255 255 255 / 80%), 0 0 50px rgb(83 105 205 / 18%);
}

.opti-pane {
  width: 54%;
  height: 44%;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(255 255 255 / 76%), rgb(123 145 228 / 26%));
  box-shadow: 0 24px 55px rgb(66 82 152 / 18%), inset 0 1px 1px #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.opti-pane::before {
  position: absolute;
  top: 11%;
  right: 9%;
  left: 9%;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, #6680eb 0 48%, rgb(79 96 169 / 17%) 48%);
  box-shadow:
    0 24px 0 rgb(79 96 169 / 15%),
    0 48px 0 rgb(79 96 169 / 10%);
  content: "";
}

.opti-pane-one {
  top: 13%;
  right: 8%;
  transform: rotate(8deg);
}

.opti-pane-two {
  top: 34%;
  left: 9%;
  transform: rotate(-7deg) scale(0.94);
}

.opti-pane-three {
  right: 11%;
  bottom: 8%;
  transform: rotate(4deg) scale(0.86);
}

.opti-chrome {
  top: 25%;
  left: 34%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 34%;
  background: linear-gradient(145deg, #fff 0%, #a6b8f2 44%, #576fc5 71%, #f8fbff 100%);
  color: #344ca4;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 700;
  box-shadow: inset -18px -20px 35px rgb(47 67 145 / 24%), 0 30px 60px rgb(56 76 155 / 30%);
  transform: rotate(-8deg);
}

.opti-art strong {
  position: absolute;
  right: 5%;
  bottom: 4%;
  z-index: 6;
  color: #263f9c;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.approach-section {
  padding: clamp(120px, 15vw, 220px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
}

.approach-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(430px, 1.5fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: end;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-block: clamp(90px, 11vw, 160px) 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.method-list li {
  min-height: 340px;
  padding: 24px 34px 32px 0;
  border-right: 1px solid var(--line);
}

.method-list li + li {
  padding-left: 34px;
}

.method-list li:last-child {
  border-right: 0;
}

.method-list span {
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.method-list h3 {
  margin: 78px 0 20px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.1rem, 4.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.method-list p {
  max-width: 340px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.capability-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.capability-line span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  min-height: 86svh;
  padding: clamp(120px, 15vw, 220px) 0 100px;
  overflow: hidden;
  background: var(--surface-inverse);
  color: var(--surface);
  isolation: isolate;
}

.contact-section .section-label {
  color: color-mix(in srgb, var(--surface) 56%, transparent);
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.35fr 1.45fr 0.65fr;
  gap: 44px;
  align-items: end;
}

.contact-section h2 {
  color: var(--surface);
}

.contact-section h2 em {
  color: var(--accent);
}

.contact-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 10px;
}

.contact-copy p {
  margin: 0 0 38px;
  color: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 1.04rem;
  line-height: 1.6;
}

.contact-copy a {
  display: inline-flex;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
}

.contact-mark {
  position: absolute;
  right: -9vw;
  bottom: -29vw;
  z-index: -1;
  display: grid;
  place-items: center;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--surface) 13%, transparent);
  border-radius: 50%;
  color: color-mix(in srgb, var(--surface) 11%, transparent);
}

.contact-mark span {
  font-size: min(38vw, 500px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.contact-mark i {
  position: absolute;
  top: 20%;
  right: 18%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 45px;
  align-items: center;
  min-height: 128px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-brand {
  color: var(--text);
}

.motion-reveal {
  opacity: 1;
}

.has-js .motion-reveal {
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 800ms var(--ease-out),
    clip-path 950ms var(--ease-out);
}

.has-js .reveal-copy {
  transform: translateY(42px);
}

.has-js .reveal-media {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transform: perspective(1300px) rotateY(-8deg) translateY(50px);
}

.has-js .project-row-rust .reveal-media {
  transform: perspective(1300px) rotateY(8deg) translateY(50px);
}

.has-js .reveal-step {
  transform: translateY(55px) rotate(1deg);
}

.has-js .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.has-js .reveal-media.is-visible {
  clip-path: polygon(4% 0, 100% 0, 96% 94%, 62% 100%, 0 93%, 0 8%);
}

.has-js .project-row-rust .reveal-media.is-visible {
  clip-path: polygon(0 0, 96% 3%, 100% 92%, 73% 100%, 3% 96%);
}

.has-js .method-list li:nth-child(2) {
  transition-delay: 100ms;
}

.has-js .method-list li:nth-child(3) {
  transition-delay: 200ms;
}

.has-js .hero-kicker,
.has-js .hero-deck,
.has-js .hero-actions,
.has-js .hero-proof {
  opacity: 0;
  animation: hero-copy-in 800ms var(--ease-out) forwards;
}

.has-js .hero-kicker {
  animation-delay: 120ms;
}

.has-js .hero h1 span {
  opacity: 0;
  animation: hero-line-in 950ms var(--ease-out) forwards;
}

.has-js .hero h1 span:first-child {
  animation-delay: 190ms;
}

.has-js .hero h1 span:nth-child(2) {
  animation-delay: 290ms;
}

.has-js .hero-deck {
  animation-delay: 410ms;
}

.has-js .hero-actions {
  animation-delay: 520ms;
}

.has-js .hero-proof {
  animation-delay: 650ms;
}

.has-js .hero-sculpture {
  opacity: 0;
  animation: sculpture-in 1250ms var(--ease-out) 260ms forwards;
}

.has-js .hero-signal-live {
  stroke-dashoffset: 1;
  animation: line-draw 1500ms var(--ease-smooth) 500ms forwards;
}

@supports (animation-timeline: view()) {
  .timeline-rail-progress {
    stroke-dashoffset: 1;
    animation: line-draw linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  .project-depth {
    animation: project-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

@keyframes hero-line-in {
  from {
    opacity: 0;
    transform: translateY(105%) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sculpture-in {
  from {
    opacity: 0;
    transform: translateY(-39%) scale(0.82) rotate(9deg);
  }
  to {
    opacity: 1;
    transform: translateY(-45%) scale(1) rotate(0);
  }
}

@keyframes line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes project-drift {
  from {
    translate: 0 calc(var(--depth-shift) * -0.35);
  }
  to {
    translate: 0 calc(var(--depth-shift) * 0.35);
  }
}

@keyframes music-pulse {
  to {
    height: 100%;
  }
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1060px);
  }

  .site-header {
    grid-template-columns: 0.8fr auto 1.35fr;
  }

  .brand-word {
    display: none;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-copy {
    padding-right: 38vw;
  }

  .hero-sculpture {
    right: 3vw;
    width: 38vw;
  }

  .work-heading,
  .approach-intro {
    grid-template-columns: 0.35fr 1.35fr 0.75fr;
    gap: 28px;
  }

  .project-entry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 84px;
  }

  .timeline-active-label {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: calc(100% - 40px);
    --header-height: 62px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    width: calc(100vw - 20px);
    min-height: 58px;
    padding-inline: 14px;
  }

  .site-header.is-scrolled,
  .site-header.is-menu-open {
    min-height: 58px;
  }

  .brand-word {
    display: inline;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: auto;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
  }

  .header-mail,
  .utility-toggle > span:last-child,
  .music-toggle > span:last-child {
    display: none;
  }

  .utility-toggle {
    justify-content: center;
    width: 37px;
    padding-inline: 0;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    margin-left: 3px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }

  .menu-button span[aria-hidden="true"] {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 250ms var(--ease-out);
  }

  .menu-button[aria-expanded="true"] span[aria-hidden="true"]:nth-last-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span[aria-hidden="true"]:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 10px;
    left: 10px;
    display: grid;
    align-content: center;
    gap: 0;
    min-height: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: 0 24px 50px var(--shadow);
    opacity: 0;
    transform: translateY(-12px) scaleY(0.9);
    transform-origin: top;
    pointer-events: none;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: opacity 220ms ease, transform 260ms var(--ease-out);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 17px 3px;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 140px 0 112px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 12.5vw, 6.6rem);
  }

  .hero-deck {
    max-width: 600px;
  }

  .hero-sculpture {
    position: relative;
    top: auto;
    right: auto;
    width: min(72vw, 480px);
    margin: 70px auto 50px;
    transform: none;
  }

  .has-js .hero-sculpture {
    animation-name: sculpture-in-mobile;
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .hero-signal {
    height: 12%;
  }

  .work-heading,
  .approach-intro {
    grid-template-columns: 1fr;
  }

  .work-heading h2,
  .approach-intro h2,
  .contact-section h2 {
    font-size: clamp(3.5rem, 12vw, 6.2rem);
  }

  .work-heading > p:last-child,
  .approach-intro > p:last-child {
    max-width: 570px;
  }

  .timeline-rail {
    left: 20px;
    width: 34px;
    transform: none;
  }

  .timeline-cursor {
    margin-left: 37px;
  }

  .project-list {
    width: calc(100% - 64px);
    margin-left: 64px;
  }

  .project-row {
    display: block;
    min-height: auto;
    padding: 110px 0;
  }

  .project-entry {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .project-row-rust .project-copy,
  .project-row-rust .project-stage {
    grid-column: auto;
    grid-row: auto;
  }

  .project-copy {
    max-width: 650px;
    opacity: 1;
  }

  .project-stage {
    min-height: min(85vw, 650px);
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .method-list li,
  .method-list li + li {
    min-height: auto;
    padding: 24px 0 55px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-list h3 {
    margin-top: 50px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-copy {
    max-width: 500px;
  }

  .contact-mark {
    right: -22vw;
    bottom: -25vw;
    width: 85vw;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@keyframes sculpture-in-mobile {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(9deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .site-header {
    top: 8px;
    width: calc(100vw - 12px);
    padding-inline: 10px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .brand-word {
    font-size: 0.83rem;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 90px;
  }

  .hero-kicker {
    max-width: 250px;
    font-size: 0.63rem;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16.8vw, 5.3rem);
    line-height: 0.91;
  }

  .hero-deck {
    margin-top: 26px;
    font-size: 1rem;
  }

  .hero-actions,
  .project-actions {
    align-items: flex-start;
    gap: 15px 22px;
  }

  .hero-sculpture {
    width: min(84vw, 420px);
    margin-top: 54px;
    margin-bottom: 42px;
  }

  .hero-proof {
    gap: 9px;
    font-size: 0.57rem;
  }

  .work-heading {
    padding-top: 95px;
    padding-bottom: 85px;
  }

  .work-heading h2,
  .approach-intro h2,
  .contact-section h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .timeline-rail {
    left: 2px;
    width: 27px;
  }

  .timeline-cursor {
    margin-left: 15px;
  }

  .project-list {
    width: calc(100% - 36px);
    margin-left: 36px;
  }

  .project-row {
    padding: 85px 0;
  }

  .project-copy h3 {
    font-size: clamp(3.7rem, 19vw, 5.8rem);
  }

  .project-copy h3 span {
    display: block;
  }

  .project-description {
    margin-top: 25px;
    font-size: 0.96rem;
  }

  .project-focus li {
    font-size: 0.63rem;
  }

  .project-stage {
    min-height: min(104vw, 530px);
  }

  .pharaoh-art strong {
    left: -12%;
    font-size: 19vw;
  }

  .opti-art strong {
    font-size: 9vw;
  }

  .approach-section {
    padding-block: 105px;
  }

  .method-list {
    margin-top: 75px;
  }

  .contact-section {
    min-height: 78svh;
    padding: 100px 0 75px;
  }

  .contact-mark {
    bottom: -13vw;
  }

  .site-footer {
    min-height: 105px;
    gap: 20px;
  }
}

@media (hover: none) {
  .project-stage:hover,
  .project-stage:focus-visible {
    transform: none;
  }
}

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

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

  .has-js .motion-reveal,
  .has-js .hero-kicker,
  .has-js .hero h1 span,
  .has-js .hero-deck,
  .has-js .hero-actions,
  .has-js .hero-proof,
  .has-js .hero-sculpture {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .timeline-rail-progress {
    stroke-dashoffset: 0;
  }

  .project-depth {
    translate: none !important;
  }
}
