:root {
  --ink: #050608;
  --graphite: #0c1117;
  --cyan: #72d7ff;
  --copper: #e7a15a;
  --ivory: #f1ede5;
  --paper: #e7e1d7;
  --steel: #8a929d;
  --line-dark: rgba(241, 237, 229, 0.18);
  --line-light: rgba(5, 6, 8, 0.18);
  --seam: #0a1823;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Sora", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shell: min(1400px, calc(100vw - 7rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--ink);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--cyan);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--ivory);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font: 500 0.64rem/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-label span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.section-label span::before {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.loader {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto auto;
  gap: 1.1rem 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 75% 55%, rgba(114, 215, 255, 0.08), transparent 32%),
    var(--ink);
  transition: opacity 700ms cubic-bezier(0.65, 0, 0.35, 1), visibility 700ms;
}

.loader::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.loader.is-complete {
  visibility: hidden;
  opacity: 0;
}

.loader__mark {
  align-self: center;
  justify-self: center;
  grid-column: 1 / -1;
}

.loader__mark svg {
  width: clamp(4rem, 8vw, 7rem);
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.1;
}

.loader__eyebrow,
.loader__value {
  z-index: 1;
  margin: 0;
  font: 400 0.66rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader__track {
  z-index: 1;
  align-self: center;
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader__track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--cyan));
  transition: width 200ms ease-out;
}

.loader__value {
  position: absolute;
  right: clamp(2rem, 4vw, 4rem);
  bottom: clamp(4.65rem, calc(4vw + 2.65rem), 6.65rem);
}

.site-header {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2.25rem;
  color: var(--ivory);
  mix-blend-mode: normal;
  transition: color 250ms ease, background 250ms ease, transform 450ms ease;
}

.site-header::after {
  position: absolute;
  bottom: 0;
  left: 2.25rem;
  width: calc(100% - 4.5rem);
  height: 1px;
  background: currentColor;
  opacity: 0.16;
  content: "";
}

.site-header.on-light {
  color: var(--ink);
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(241, 237, 229, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
}

.brand__mark {
  width: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.brand__type {
  font: 500 0.73rem/1 var(--mono);
  letter-spacing: 0.14em;
}

.site-header nav {
  display: flex;
  gap: 2.3rem;
}

.site-header nav a,
.header-resume {
  position: relative;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
  content: "";
}

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

.header-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.header-resume svg,
.button svg {
  width: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.film-scroll {
  position: relative;
  height: 850vh;
  background: var(--ink);
}

.film-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
  contain: paint;
}

#filmCanvas,
#ambientCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#filmCanvas {
  z-index: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
}

#ambientCanvas {
  z-index: 3;
  pointer-events: none;
}

.film-vignette {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 42%, rgba(0, 0, 0, 0.08)),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.46) 105%);
}

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

.film-handoff {
  position: absolute;
  z-index: 6;
  inset: auto 0 0;
  height: 28vh;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(transparent, var(--seam, #050608));
}

.film-chrome {
  position: absolute;
  z-index: 12;
  inset: auto 2.25rem 1.85rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
  color: var(--ivory);
  transition: color 250ms ease;
}

.film-chrome.on-light {
  color: var(--ink);
}

.chapter-indicator {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  width: min(18rem, 36vw);
  font: 500 0.61rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chapter-indicator__name {
  color: currentColor;
  opacity: 0.66;
}

.chapter-indicator__line {
  grid-column: 1 / -1;
  height: 1px;
  overflow: hidden;
  background: currentColor;
  opacity: 0.45;
}

.chapter-indicator__line i {
  display: block;
  width: 0;
  height: 100%;
  background: currentColor;
}

.film-altimeter {
  margin: 0;
  font: 500 0.61rem/1 var(--mono);
  letter-spacing: 0.12em;
}

.film-beats {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
}

.beat {
  position: absolute;
  top: 50%;
  width: min(43rem, 46vw);
  opacity: 0;
  transform: translate3d(0, calc(-50% + 24px), 0);
  will-change: opacity, transform;
}

.beat.is-left {
  left: clamp(2rem, 7vw, 8rem);
}

.beat.is-right {
  right: clamp(2rem, 7vw, 8rem);
  text-align: right;
}

.beat__kicker {
  margin: 0 0 1.15rem;
  color: var(--cyan);
  font: 500 0.64rem/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beat h1,
.beat h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.beat h1 {
  max-width: 10ch;
  font-size: clamp(4.5rem, 8vw, 9.7rem);
  line-height: 0.78;
}

.beat h2 {
  font-size: clamp(3.7rem, 6vw, 7.8rem);
  line-height: 0.84;
}

.beat h1 em,
.beat h2 em {
  color: var(--cyan);
  font-weight: 400;
}

.beat h2 span {
  color: var(--copper);
}

.beat__body {
  max-width: 31rem;
  margin: 1.55rem 0 0;
  color: rgba(241, 237, 229, 0.82);
  font-size: clamp(0.84rem, 1vw, 1.02rem);
  line-height: 1.75;
}

.is-right .beat__body {
  margin-left: auto;
}

.beat__meta {
  margin: 1.35rem 0 0;
  color: rgba(241, 237, 229, 0.56);
  font: 400 0.63rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(241, 237, 229, 0.65);
  pointer-events: auto;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 11;
  right: 2.25rem;
  bottom: 4.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(241, 237, 229, 0.65);
  font: 400 0.58rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 2.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(241, 237, 229, 0.25);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  animation: conduct 1.8s ease-in-out infinite;
  content: "";
}

@keyframes conduct {
  0% { transform: translateX(-105%); }
  65%, 100% { transform: translateX(105%); }
}

.landing {
  position: relative;
  min-height: 150vh;
  overflow: hidden;
  color: var(--ivory);
  background: linear-gradient(var(--seam, #050608) 0%, var(--ink) 30%, var(--paper) 100%);
}

.landing__signal {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 48vh;
  background: linear-gradient(var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(114, 215, 255, 0.45);
}

.landing__inner {
  padding-top: 56vh;
}

.landing__statement {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 8vw;
  align-items: end;
  margin-top: 5rem;
}

.landing h2,
.case-study h2,
.project-field__intro h2,
.practice__title h2,
.credentials__head h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 8vw, 9.8rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.landing h2 em,
.case-study h2 em,
.project-field__intro h2 em,
.practice__title h2 em,
.credentials__head h2 em,
.contact h2 em {
  color: var(--copper);
  font-weight: 400;
}

.landing__copy {
  padding-bottom: 0.5rem;
}

.landing__copy p {
  margin: 0 0 1.4rem;
  font-size: 0.93rem;
  line-height: 1.85;
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.case-study {
  padding: 12rem 0 8rem;
}

.case-study__head {
  display: grid;
  grid-template-columns: 1fr 2.2fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.case-study__head h2 {
  grid-column: 2;
  font-size: clamp(4rem, 7vw, 8.7rem);
}

.case-study__lede {
  grid-column: 3;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
}

.case-study__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 7rem 0 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.case-study__metric {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.metric-number {
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 19rem);
  line-height: 0.6;
  letter-spacing: -0.08em;
}

.metric-unit {
  font: 500 0.7rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 15rem;
  padding: 1rem 1.15rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.button--dark {
  color: var(--ivory);
  background: var(--ink);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

.text-link,
.project-card > a {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-light);
}

.system-flow li {
  min-height: 22rem;
  padding: 2.5rem 2rem 2rem 0;
  border-right: 1px solid var(--line-light);
}

.system-flow li:not(:first-child) {
  padding-left: 2rem;
}

.system-flow li:last-child {
  border-right: 0;
}

.system-flow li > span,
.project-card__index {
  font: 500 0.65rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.system-flow h3 {
  margin: 7rem 0 1.25rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
}

.system-flow p {
  margin: 0;
  color: rgba(5, 6, 8, 0.68);
  font-size: 0.78rem;
  line-height: 1.75;
}

.case-study__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.case-study__proof div {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.case-study__proof strong {
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.case-study__proof span {
  font: 500 0.64rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-field {
  padding: 9rem 0 12rem;
}

.project-field__intro {
  display: grid;
  grid-template-columns: 1fr 2.2fr 0.85fr;
  gap: 3rem;
  margin-bottom: 7rem;
}

.project-field__intro h2 {
  grid-column: 2 / -1;
  font-size: clamp(4.2rem, 7.5vw, 9.2rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 38rem;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--ink);
  background: var(--ivory);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover {
  z-index: 2;
  transform: scale(0.985);
}

.project-card--dark {
  color: var(--ivory);
  background: var(--graphite);
}

.project-card--copper {
  background: var(--copper);
}

.project-card--line {
  color: var(--ivory);
  background:
    linear-gradient(rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.82)),
    radial-gradient(circle at 78% 30%, rgba(114, 215, 255, 0.28), transparent 28%),
    var(--graphite);
}

.project-card__index {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.project-card__eyebrow {
  margin: 0 0 4rem;
  font: 500 0.63rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.project-card > p:not(.project-card__eyebrow) {
  max-width: 38rem;
  margin: 0;
  opacity: 0.72;
  font-size: 0.82rem;
  line-height: 1.8;
}

.project-card dl {
  display: flex;
  gap: 3rem;
  margin: auto 0 3rem;
}

.project-card dl div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-card dt {
  opacity: 0.55;
  font: 500 0.58rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.5rem;
}

.project-card > a {
  align-self: flex-start;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid currentColor;
}

.proof-band {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(114, 215, 255, 0.18), transparent 42%),
    var(--ink);
}

.proof-band__marquee {
  display: flex;
  width: max-content;
  color: rgba(241, 237, 229, 0.06);
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 18rem);
  line-height: 0.8;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.proof-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--line-dark);
}

.proof-stat:first-child {
  padding-left: 0;
}

.proof-stat:last-child {
  border: 0;
}

.proof-stat strong {
  margin-top: auto;
  color: var(--cyan);
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.proof-stat span {
  max-width: 12rem;
  color: rgba(241, 237, 229, 0.65);
  font: 400 0.63rem/1.5 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.practice {
  padding: 12rem 0;
}

.practice__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 8vw;
}

.practice__title {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.practice__title h2 {
  margin-top: 4rem;
  font-size: clamp(4.6rem, 7vw, 8.5rem);
}

.practice-row {
  display: grid;
  grid-template-columns: 3rem 0.65fr 1.35fr;
  gap: 1rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line-light);
}

.practice-row:last-child {
  border-bottom: 1px solid var(--line-light);
}

.practice-row > span {
  font: 500 0.6rem/1 var(--mono);
}

.practice-row h3,
.practice-row p {
  margin: 0;
}

.practice-row h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.practice-row p {
  color: rgba(5, 6, 8, 0.65);
  font-size: 0.74rem;
  line-height: 1.75;
}

.credentials {
  padding: 4rem 0 12rem;
}

.credentials__head {
  display: grid;
  grid-template-columns: 1fr 2.2fr 0.85fr;
  gap: 3rem;
  margin-bottom: 7rem;
}

.credentials__head h2 {
  grid-column: 2 / -1;
  font-size: clamp(4.2rem, 7vw, 8.5rem);
}

.credential {
  display: grid;
  grid-template-columns: 0.6fr 1.8fr 0.6fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line-light);
  transition: padding 250ms ease, color 250ms ease;
}

.credential:last-child {
  border-bottom: 1px solid var(--line-light);
}

a.credential:hover,
a.credential:focus-visible {
  padding-inline: 1rem;
  color: #0c718f;
}

.credential p,
.credential h3,
.credential span,
.credential strong {
  margin: 0;
}

.credential > p,
.credential > strong {
  font: 500 0.62rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credential > strong {
  justify-self: end;
}

.credential h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.credential span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(5, 6, 8, 0.58);
  font-size: 0.72rem;
}

.contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 13rem 0 7rem;
  color: var(--ivory);
  background: var(--ink);
}

.contact__orb {
  position: absolute;
  top: -18vw;
  right: -12vw;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(114, 215, 255, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 215, 255, 0.025), transparent 64%);
}

.contact__orb::after {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(231, 161, 90, 0.25);
  border-radius: inherit;
  content: "";
}

.contact h2 {
  max-width: 13ch;
  margin-top: 5rem;
  font-size: clamp(4.5rem, 8vw, 10rem);
}

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

.contact__email {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 8rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 4.5rem);
  transition: color 220ms ease, padding 220ms ease;
}

.contact__email:hover,
.contact__email:focus-visible {
  padding-inline: 1rem;
  color: var(--cyan);
}

.contact__email svg {
  width: clamp(1.8rem, 3vw, 3.5rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.contact__links a {
  font: 500 0.64rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  padding: 2rem 2.25rem;
  color: rgba(241, 237, 229, 0.55);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  font: 400 0.58rem/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer button {
  padding: 0;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  text-transform: inherit;
}

.cursor-orbit {
  position: fixed;
  z-index: 800;
  top: 0;
  left: 0;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(114, 215, 255, 0.72);
  border-radius: 50%;
  place-items: center;
  transform: translate3d(-50%, -50%, 0);
  transition: width 180ms ease, height 180ms ease, opacity 220ms ease;
}

.cursor-orbit.is-visible {
  visibility: visible;
  opacity: 1;
}

.cursor-orbit.is-hovering {
  width: 4rem;
  height: 4rem;
}

.cursor-orbit i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--copper);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  :root {
    --shell: calc(100vw - 3rem);
  }

  .site-header {
    padding-inline: 1.5rem;
  }

  .site-header::after {
    left: 1.5rem;
    width: calc(100% - 3rem);
  }

  .film-chrome {
    inset-inline: 1.5rem;
  }

  .beat {
    width: min(38rem, 61vw);
  }

  .beat.is-left {
    left: 1.5rem;
  }

  .beat.is-right {
    right: 1.5rem;
  }

  .landing__statement,
  .practice__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .landing__copy {
    max-width: 34rem;
  }

  .case-study__head,
  .project-field__intro,
  .credentials__head {
    grid-template-columns: 0.6fr 2fr;
  }

  .case-study__head h2 {
    grid-column: 2;
  }

  .case-study__lede {
    grid-column: 2;
    max-width: 34rem;
  }

  .project-field__intro h2,
  .credentials__head h2 {
    grid-column: 2;
  }

  .system-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-flow li:nth-child(2) {
    border-right: 0;
  }

  .proof-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-stat:nth-child(2) {
    border-right: 0;
  }

  .practice__title {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 2rem);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 1rem;
  }

  .site-header::after {
    left: 1rem;
    width: calc(100% - 2rem);
  }

  .site-header nav {
    display: none;
  }

  .header-resume {
    grid-column: 2;
  }

  .film-scroll {
    height: 720vh;
  }

  .film-chrome {
    inset: auto 1rem 1rem;
  }

  .chapter-indicator {
    width: 54vw;
  }

  .film-altimeter {
    display: none;
  }

  .beat {
    top: auto;
    right: 1rem !important;
    bottom: 12vh;
    left: 1rem !important;
    width: auto;
    text-align: left !important;
    transform: translate3d(0, 22px, 0);
  }

  .beat h1 {
    font-size: clamp(4.1rem, 19vw, 7rem);
  }

  .beat h2 {
    font-size: clamp(3.3rem, 15vw, 6rem);
  }

  .is-right .beat__body {
    margin-left: 0;
  }

  .beat__body {
    max-width: 27rem;
    font-size: 0.76rem;
  }

  .scroll-cue {
    right: 1rem;
    bottom: 3.4rem;
  }

  .landing {
    min-height: 125vh;
  }

  .landing__inner {
    padding-top: 45vh;
  }

  .landing__statement {
    margin-top: 3rem;
  }

  .landing h2,
  .case-study h2,
  .project-field__intro h2,
  .practice__title h2,
  .credentials__head h2,
  .contact h2 {
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .case-study {
    padding-top: 8rem;
  }

  .case-study__head,
  .project-field__intro,
  .credentials__head {
    display: block;
  }

  .case-study__head h2,
  .project-field__intro h2,
  .credentials__head h2 {
    margin-top: 2.5rem;
  }

  .case-study__lede {
    margin-top: 2rem;
  }

  .case-study__hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
  }

  .metric-number {
    font-size: 8.5rem;
  }

  .case-study__links {
    align-items: flex-start;
  }

  .system-flow,
  .case-study__proof,
  .project-grid,
  .proof-band__grid {
    grid-template-columns: 1fr;
  }

  .system-flow li,
  .system-flow li:not(:first-child) {
    min-height: 16rem;
    padding: 2rem 0;
    border-right: 0;
    border-top: 1px solid var(--line-light);
  }

  .system-flow h3 {
    margin-top: 4rem;
  }

  .project-card {
    min-height: 34rem;
    padding: 2rem;
  }

  .project-card h3 {
    font-size: 4.2rem;
  }

  .proof-stat,
  .proof-stat:first-child {
    min-height: 12rem;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-stat strong {
    font-size: 5rem;
  }

  .practice-row {
    grid-template-columns: 2rem 1fr;
  }

  .practice-row p {
    grid-column: 2;
  }

  .credential {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .credential > strong {
    justify-self: start;
  }

  .contact {
    padding-top: 9rem;
  }

  .contact__email {
    gap: 1rem;
    overflow-wrap: anywhere;
    font-size: 1.55rem;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding-inline: 1rem;
  }

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

  .cursor-orbit {
    display: none;
  }
}

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

  .film-scroll {
    height: 100vh;
    height: 100svh;
  }

  .beat:not(.beat--hero),
  .film-chrome,
  .scroll-cue,
  #ambientCanvas {
    display: none;
  }

  .beat--hero {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

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

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .beat--hero {
    transform: none !important;
  }
}
