:root {
  --paper: #f2f1ed;
  --ink: #11110f;
  --line: rgba(17, 17, 15, 0.2);
  --muted: #696963;
  --signal: #ff4d00;
  --green: #b9d8cc;
  --max-width: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3;
}

body::before {
  position: fixed;
  z-index: 50;
  inset: 0;
  opacity: .025;
  background-image: radial-gradient(circle at 12% 18%, var(--ink) 0 .55px, transparent .7px), radial-gradient(circle at 78% 64%, var(--ink) 0 .45px, transparent .65px);
  background-size: 7px 7px, 11px 11px;
  content: "";
  pointer-events: none;
  mix-blend-mode: multiply;
}

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

.link-arrow { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  min-height: 4.75rem;
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 241, 237, 0.94);
  backdrop-filter: blur(12px);
}

.site-header::before {
  position: absolute;
  bottom: -1px;
  left: 12%;
  width: 3.5rem;
  height: 3px;
  background: var(--signal);
  content: "";
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wordmark-mark {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: white;
  background: var(--signal);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: stretch;
}

.nav-link {
  position: relative;
  display: grid;
  min-width: 7.5rem;
  padding: 0 1.5rem;
  place-items: center;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 1.5rem;
  bottom: 0.65rem;
  left: 1.5rem;
  height: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: white;
  background: var(--ink);
}

.hero,
.work,
.portfolio-gateway,
.page-hero,
.work-index,
.case-study,
.about-page,
.about,
.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.hero {
  --move-x: 0px;
  --move-y: 0px;
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  min-height: calc(100vh - 4.75rem);
  padding: 1.25rem 2rem 2rem;
  overflow: hidden;
  cursor: crosshair;
  isolation: isolate;
}

.hero-motion-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-field-grid {
  position: absolute;
  inset: -5%;
  opacity: 0.32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: translate(calc(var(--move-x) * -0.22), calc(var(--move-y) * -0.22));
  transition: transform 130ms linear;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle 11rem at var(--pointer-x) var(--pointer-y), rgba(255, 77, 0, 0.13), transparent 72%);
  content: "";
  pointer-events: none;
}

.field-cross {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 130ms linear;
}

.field-cross::before,
.field-cross::after,
.field-cross i::before,
.field-cross i::after {
  position: absolute;
  background: var(--ink);
  content: "";
}

.field-cross::before { top: 50%; left: -1rem; width: 10rem; height: 1px; }
.field-cross::after { top: -1rem; left: 50%; width: 1px; height: 10rem; }
.field-cross i::before { top: 50%; left: 50%; width: .45rem; height: .45rem; border-radius: 50%; transform: translate(-50%, -50%); }
.field-cross i::after { top: .55rem; right: .55rem; width: .45rem; height: .45rem; background: var(--signal); }

.field-cross-one {
  top: 18%;
  right: 8%;
  transform: translate(calc(var(--move-x) * .9), calc(var(--move-y) * .9));
}

.field-cross-two {
  bottom: 11%;
  left: 18%;
  width: 4rem;
  height: 4rem;
  opacity: .5;
  transform: translate(calc(var(--move-x) * -.6), calc(var(--move-y) * -.6));
}

.field-readout {
  position: absolute;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.6;
  transition: transform 130ms linear;
}

.readout-one {
  top: 41%;
  right: 3%;
  transform: translate(calc(var(--move-x) * .4), calc(var(--move-y) * .4)) rotate(90deg);
}

.readout-two {
  bottom: 4rem;
  left: 3rem;
  transform: translate(calc(var(--move-x) * -.35), calc(var(--move-y) * -.35));
}

.cursor-signal {
  position: absolute;
  top: var(--pointer-y);
  left: var(--pointer-x);
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-kicker,
.hero h1,
.hero-grid,
.scroll-cue {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.section-heading,
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  max-width: 12ch;
  margin: 2.2rem 0 1.5rem;
  font-size: clamp(3.7rem, 9.8vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.79;
  transform: translate(calc(var(--move-x) * -.12), calc(var(--move-y) * -.12));
  transition: transform 130ms linear;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(28rem, 1.55fr) minmax(10rem, 0.45fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translate(calc(var(--move-x) * .08), calc(var(--move-y) * .08));
  transition: transform 130ms linear;
}

.hero-intro {
  align-self: end;
  max-width: 25rem;
  margin: 0;
  padding: 1.5rem 2rem 1.5rem 0;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

.hero-art {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  color: var(--ink);
  background: #eeece7;
  cursor: crosshair;
  isolation: isolate;
}

.hero-art-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(17,17,15,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,15,.28) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: translate(calc(var(--move-x) * -0.18), calc(var(--move-y) * -0.18));
  transition: transform 120ms linear;
}

.tech-corner {
  position: absolute;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border-color: var(--ink);
  opacity: .75;
}
.corner-tl { top: 1rem; left: 1rem; border-top: 1px solid; border-left: 1px solid; }
.corner-tr { top: 1rem; right: 1rem; border-top: 1px solid; border-right: 1px solid; }
.corner-bl { bottom: 1rem; left: 1rem; border-bottom: 1px solid; border-left: 1px solid; }
.corner-br { right: 1rem; bottom: 1rem; border-right: 1px solid; border-bottom: 1px solid; }

.tech-axis {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  background: rgba(17,17,15,.48);
  transition: transform 130ms linear;
}

.tech-axis-x { width: 72%; height: 1px; transform: translate(calc(-50% + var(--move-x) * .35), calc(-50% + var(--move-y) * .35)); }
.tech-axis-y { width: 1px; height: 76%; transform: translate(calc(-50% + var(--move-x) * .35), calc(-50% + var(--move-y) * .35)); }

.hero-art-word {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 100%;
  text-align: center;
  transform: translate(calc(-50% + var(--move-x) * -.3), calc(-50% + var(--move-y) * -.3));
  transition: transform 140ms linear;
}

.hero-art-word span {
  display: block;
  color: var(--ink);
  font-size: clamp(2.8rem, 6.2vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .75;
  text-shadow: none;
}

.hero-art-word small {
  display: block;
  margin-top: .9rem;
  color: var(--ink);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
}


.blueprint-lines {
  position: absolute;
  z-index: 2;
  top: 19%;
  right: 9%;
  bottom: 19%;
  left: 9%;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translate(calc(var(--move-x) * .55), calc(var(--move-y) * .55));
  transition: transform 130ms linear;
}

.blueprint-lines::before,
.blueprint-lines::after {
  position: absolute;
  top: -1.2rem;
  bottom: -1.2rem;
  width: 1px;
  background: var(--ink);
  content: "";
}

.blueprint-lines::before { left: 23%; }
.blueprint-lines::after { right: 17%; }

.blueprint-lines span {
  position: absolute;
  left: 0;
  height: 1px;
  background: var(--line);
}

.blueprint-lines span:nth-child(1) { top: 16%; width: 72%; }
.blueprint-lines span:nth-child(2) { top: 33%; left: 12%; width: 88%; }
.blueprint-lines span:nth-child(3) { top: 50%; width: 100%; background: var(--ink); }
.blueprint-lines span:nth-child(4) { top: 67%; left: 5%; width: 63%; }
.blueprint-lines span:nth-child(5) { top: 84%; left: 29%; width: 71%; }

.tech-rail {
  position: absolute;
  z-index: 3;
  display: flex;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.tech-rail-left {
  top: 4rem;
  bottom: 4rem;
  left: 1.2rem;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(17,17,15,.7);
}

.tech-rail-right {
  top: 1.2rem;
  right: 4.5rem;
  gap: 1rem;
  color: var(--signal);
}

.hero-art-label {
  position: absolute;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.hero-art-label-top {
  top: 2.2rem;
  left: 2.2rem;
}

.hero-art-label-bottom {
  right: 2.2rem;
  bottom: 2.2rem;
}

.hero-art-scan {
  position: absolute;
  z-index: 1;
  top: -15%;
  right: 0;
  left: 0;
  height: 4rem;
  background: linear-gradient(transparent, rgba(255, 77, 0, 0.16), transparent);
  animation: scan 5s linear infinite;
}

@keyframes scan {
  to { transform: translateY(28rem); }
}

.hero-index {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: end;
  gap: 0.75rem 1rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-index span:nth-child(odd) {
  color: var(--signal);
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue span:last-child {
  font-size: 1.4rem;
}

/* Full-screen morphing point-cloud hero */
.morph-hero {
  --morph-blue: #7772ff;
  --morph-white: #f5f5f2;
  position: relative;
  display: block;
  min-height: calc(100vh - 4.75rem);
  padding: 0;
  overflow: hidden;
  color: var(--morph-white);
  background: #050505;
  cursor: crosshair;
}

.morph-hero::after {
  z-index: 1;
  background:
    radial-gradient(circle 18rem at var(--pointer-x) var(--pointer-y), rgba(119, 114, 255, .12), transparent 72%),
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .05) 50%, transparent 50.1%);
}

.morph-canvas,
.morph-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.morph-canvas {
  z-index: 1;
}

.morph-grid {
  z-index: 2;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
  pointer-events: none;
}

.morph-reticle {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 64%;
  width: min(40vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.morph-reticle::before,
.morph-reticle::after,
.morph-reticle i::before,
.morph-reticle i::after {
  position: absolute;
  background: rgba(255, 255, 255, .28);
  content: "";
}

.morph-reticle::before { top: 50%; left: -8%; width: 116%; height: 1px; }
.morph-reticle::after { top: -8%; left: 50%; width: 1px; height: 116%; }
.morph-reticle i::before { top: 14%; left: 14%; width: .55rem; height: .55rem; border: 1px solid var(--morph-blue); background: transparent; }
.morph-reticle i::after { right: 10%; bottom: 21%; width: 2.8rem; height: 1px; background: var(--signal); }

.morph-topbar,
.morph-object-status,
.morph-diagnostics,
.morph-log,
.hero-copy,
.morph-trigger,
.morph-instruction,
.morph-hero .scroll-cue,
.morph-hero .section-vertical {
  position: absolute;
  z-index: 5;
}

.morph-topbar {
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.morph-clocks {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
}

.morph-clocks span { display: flex; align-items: baseline; gap: .4rem; }
.morph-clocks b { font-family: "Courier New", monospace; font-size: .75rem; letter-spacing: 0; }

.morph-object-status {
  top: 4.25rem;
  right: 1.5rem;
  display: grid;
  justify-items: end;
  text-align: right;
}

.morph-object-status span,
.morph-object-status small {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.morph-object-status span b {
  color: var(--signal);
}

.morph-object-status strong {
  margin: .2rem 0;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  letter-spacing: -.07em;
  line-height: .9;
}

.morph-object-status small {
  color: var(--morph-blue);
}

.morph-diagnostics {
  right: 1.5rem;
  bottom: 5.5rem;
  display: grid;
  width: 10.5rem;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.morph-diagnostics p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .58);
  font-size: .55rem;
  letter-spacing: .1em;
  line-height: 1.45;
}

.morph-diagnostics b {
  color: var(--morph-white);
  font-weight: 400;
  text-align: right;
}

.morph-log {
  top: 48%;
  left: 52%;
  display: grid;
  gap: .4rem;
  color: rgba(255, 255, 255, .5);
  font-family: "Courier New", monospace;
  font-size: .58rem;
  letter-spacing: .08em;
  pointer-events: none;
}

.morph-log span:nth-child(2) { color: var(--morph-blue); }
.morph-log span:nth-child(3) { color: rgba(255, 77, 0, .8); }

.hero-copy {
  bottom: 5.2rem;
  left: 2.2rem;
  width: min(58rem, 65vw);
  pointer-events: none;
}

.morph-hero .hero-kicker {
  display: flex;
  width: min(33rem, 100%);
  margin: 0 0 1.1rem;
  padding-bottom: .65rem;
  border-bottom-color: rgba(255, 255, 255, .4);
  color: rgba(255, 255, 255, .7);
}

.morph-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--morph-white);
  font-size: clamp(3.8rem, 7.8vw, 8rem);
  line-height: .78;
  text-shadow: 0 0 2rem rgba(0, 0, 0, .8);
  transform: none;
}

.morph-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(245, 245, 242, .78);
}

.morph-hero .hero-intro {
  max-width: 35rem;
  margin: 1.3rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.95rem, 1.15vw, 1.15rem);
}

.hero-resume-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: .65rem .9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: rgba(248, 248, 245, .86);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: auto;
}

.hero-resume-link:hover,
.hero-resume-link:focus-visible {
  border-color: var(--signal);
  color: white;
  background: var(--signal);
}

.morph-trigger {
  right: 1.5rem;
  bottom: 1.35rem;
  display: flex;
  min-width: 10.5rem;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .9rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 0;
  color: var(--morph-white);
  background: rgba(5, 5, 5, .72);
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.morph-trigger:hover,
.morph-trigger:focus-visible {
  border-color: var(--signal);
  background: var(--signal);
  outline: none;
}

.morph-instruction {
  right: 13.5rem;
  bottom: 2rem;
  color: rgba(255, 255, 255, .55);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.morph-hero .scroll-cue {
  right: auto;
  bottom: 1.3rem;
  left: 2.2rem;
  width: 12rem;
  margin: 0;
  padding-top: .55rem;
  border-top: 1px solid rgba(255, 255, 255, .4);
  pointer-events: auto;
}

.morph-hero .home-vertical {
  top: 5.2rem;
  left: .55rem;
  color: rgba(255, 255, 255, .45);
}

/* Light analysis interface */
.morph-hero {
  --morph-white: #11110f;
  background: #f8f8f5;
}

.morph-hero::after {
  background:
    radial-gradient(circle 18rem at var(--pointer-x) var(--pointer-y), rgba(119, 114, 255, .1), transparent 72%),
    linear-gradient(90deg, transparent 49.9%, rgba(17, 17, 15, .07) 50%, transparent 50.1%);
}

.morph-grid {
  opacity: .3;
  background-image:
    linear-gradient(rgba(17, 17, 15, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, .1) 1px, transparent 1px);
}

.morph-reticle {
  border-color: rgba(17, 17, 15, .15);
}

.morph-reticle::before,
.morph-reticle::after,
.morph-reticle i::before,
.morph-reticle i::after {
  background: rgba(17, 17, 15, .3);
}

.morph-reticle i::before {
  border-color: var(--morph-blue);
  background: transparent;
}

.morph-reticle i::after {
  background: var(--signal);
}

.morph-topbar {
  border-bottom-color: rgba(17, 17, 15, .32);
}

.morph-diagnostics {
  border-top-color: rgba(17, 17, 15, .38);
}

.morph-diagnostics p {
  border-bottom-color: rgba(17, 17, 15, .18);
  color: rgba(17, 17, 15, .58);
}

.morph-diagnostics b,
.morph-hero h1 {
  color: var(--ink);
}

.morph-log {
  color: rgba(17, 17, 15, .5);
}

.morph-log span:nth-child(3) {
  color: rgba(255, 77, 0, .9);
}

.morph-hero .hero-kicker {
  border-bottom-color: rgba(17, 17, 15, .4);
  color: rgba(17, 17, 15, .7);
}

.morph-hero h1 {
  text-shadow: 0 0 2rem rgba(248, 248, 245, .9);
}

.morph-hero h1 span {
  -webkit-text-stroke-color: rgba(17, 17, 15, .75);
}

.morph-hero .hero-intro {
  color: rgba(17, 17, 15, .72);
}

.morph-trigger {
  border-color: rgba(17, 17, 15, .5);
  color: var(--ink);
  background: rgba(248, 248, 245, .78);
}

.morph-trigger:hover,
.morph-trigger:focus-visible {
  color: white;
}

.morph-instruction {
  color: rgba(17, 17, 15, .56);
}

.morph-hero .scroll-cue {
  border-top-color: rgba(17, 17, 15, .4);
}

.morph-hero .home-vertical {
  color: rgba(17, 17, 15, .48);
}

.morph-hero.is-glitch .morph-log {
  animation: interface-glitch 120ms steps(2, end) 2;
}

@keyframes interface-glitch {
  0% { transform: translate(0); }
  33% { transform: translate(.45rem, -.2rem); }
  66% { transform: translate(-.3rem, .15rem); }
  100% { transform: translate(0); }
}

.work {
  padding-top: 7rem;
}

.portfolio-gateway {
  padding: 7rem 2rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.gateway-meta,
.page-hero-meta,
.case-breadcrumb {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gateway-meta p,
.page-hero-meta p {
  margin: 0;
}

.gateway-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--ink);
}

.gateway-link p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gateway-link h2 {
  margin: 0;
  font-size: clamp(6rem, 18vw, 17rem);
  letter-spacing: -0.1em;
  line-height: 0.68;
}

.gateway-link > span {
  font-size: clamp(3rem, 6vw, 6rem);
  transition: transform 200ms ease;
}

.gateway-link:hover > span,
.gateway-link:focus-visible > span {
  transform: translate(0.5rem, -0.5rem);
}

.gateway-note {
  max-width: 28rem;
  margin: 1.5rem 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero {
  position: relative;
  min-height: 70vh;
  padding: 2rem;
  border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.page-hero h1 {
  margin: 6rem 0 2rem;
  font-size: clamp(6rem, 16vw, 15rem);
  letter-spacing: -0.1em;
  line-height: 0.78;
}

.page-hero h1 span {
  display: block;
  margin-top: .12em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.loose-note {
  position: absolute;
  z-index: 2;
  padding-left: 1rem;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.loose-note::before {
  position: absolute;
  top: .35rem;
  left: 0;
  width: .55rem;
  height: 1px;
  background: var(--signal);
  content: "";
}

.note-a {
  top: 26%;
  right: 3%;
  transform: rotate(90deg);
}

.note-b {
  right: 24%;
  bottom: 10%;
}

.page-hero-intro {
  max-width: 34rem;
  margin: 5rem 0 0 auto;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.work-page {
  padding-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  align-items: end;
  padding: 0 2rem 1rem;
}

.section-heading p {
  margin: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 10rem);
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.section-count {
  text-align: right;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(15rem, 0.75fr) minmax(20rem, 1.15fr) 3rem;
  gap: 2rem;
  align-items: center;
  min-height: 24rem;
  padding: 2rem;
  border-top: 1px solid var(--ink);
  transition: background 250ms ease;
}

.project::after {
  position: absolute;
  top: 1rem;
  right: 5.5rem;
  color: var(--muted);
  content: "OPEN / CASE STUDY";
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project:last-child {
  border-bottom: 1px solid var(--ink);
}

.project:hover,
.project:focus-visible {
  background: white;
}

.project-number {
  align-self: start;
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 700;
}

.project-copy > p:first-child {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project h3 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.project-description {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  font-size: 1rem;
}

.project-poster {
  --poster-y: 0rem;
  --poster-r: 0deg;
  position: relative;
  display: flex;
  min-height: 19rem;
  padding: 1.4rem;
  overflow: hidden;
  transform: translateY(var(--poster-y)) rotate(var(--poster-r));
  transition: transform 350ms cubic-bezier(.2,.8,.2,1);
}

.project:nth-child(1) .project-poster { --poster-y: -.2rem; }
.project:nth-child(2) .project-poster { --poster-y: .25rem; }
.project:nth-child(3) .project-poster { --poster-y: -.1rem; }

.project:nth-child(2) .project-copy {
  transform: none;
}

.project:hover .project-poster,
.project:focus-visible .project-poster {
  transform: translateY(var(--poster-y)) rotate(0deg) scale(0.975);
}

.poster-dark {
  flex-direction: column;
  justify-content: center;
  color: white;
  background: #111;
  font-size: clamp(2.3rem, 5vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.poster-dark b {
  position: absolute;
  right: 1.2rem;
  bottom: 0.7rem;
  color: var(--signal);
  font-size: 4rem;
}

.poster-green {
  flex-direction: column;
  justify-content: flex-end;
  background: var(--green);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.68;
}

.poster-green small {
  position: absolute;
  top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.poster-line {
  position: absolute;
  top: 4rem;
  right: 0;
  width: 62%;
  height: 1px;
  background: var(--ink);
}

.poster-orange {
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--signal);
}

.poster-orange > span {
  font-size: clamp(7rem, 12vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
}

.poster-orange small {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.route-line {
  position: absolute;
  width: 70%;
  height: 55%;
  border: 1px solid white;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.project-arrow {
  align-self: start;
  justify-self: end;
  font-size: 1.8rem;
  transition: transform 200ms ease;
}

.project:hover .project-arrow,
.project:focus-visible .project-arrow {
  transform: translate(0.3rem, -0.3rem);
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  padding: 9rem 2rem;
}

.about h2 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.about > div > p {
  max-width: 40rem;
  margin: 3rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.text-link {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-page {
  overflow: hidden;
}

.about-hero {
  position: relative;
  min-height: 82vh;
  padding: 2rem;
  border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  top: 18%;
  right: -7rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.about-hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 5rem 0 0;
  font-size: clamp(5rem, 13vw, 12.5rem);
  letter-spacing: -.09em;
  line-height: .78;
}

.about-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.about-hero-resume {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin: 2.5rem 0 0;
  scroll-margin-top: 9rem;
}
.about-hero-resume span { width: 100%; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.about-hero-resume a { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.2rem; border: 1px solid var(--ink); font-size: .85rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.about-hero-resume-view { color: white; background: var(--ink); }
.about-hero-resume-view:hover, .about-hero-resume-view:focus-visible { background: var(--signal); border-color: var(--signal); }
.about-hero-resume-download:hover, .about-hero-resume-download:focus-visible { color: white; background: var(--ink); }

.about-note-one {
  top: 34%;
  right: 5%;
  transform: rotate(90deg);
}

.about-note-two {
  bottom: 4rem;
  left: 3rem;
}

.about-intro-card {
  position: relative;
  display: grid;
  grid-template-columns: 8rem minmax(18rem, 34rem);
  gap: 2rem;
  align-items: center;
  max-width: 52rem;
  margin: 5rem 7% 0 auto;
  padding: 1.5rem;
  border: 1px solid var(--ink);
  background: rgba(242,241,237,.8);
  box-shadow: .75rem .75rem 0 rgba(17,17,15,.07);
}

.about-intro-card p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.about-intro-card small {
  position: absolute;
  top: -1.6rem;
  right: 0;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.about-dial {
  position: relative;
  width: 7rem;
  height: 7rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.about-dial::before,
.about-dial::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.about-dial::before { width: 8rem; height: 1px; }
.about-dial::after { width: 1px; height: 8rem; }
.about-dial i { position: absolute; top: 15%; right: 15%; width: .65rem; height: .65rem; border-radius: 50%; background: var(--signal); }

.about-story {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(20rem, 3fr);
}

.about-story aside,
.about-story > div {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--line);
}

.about-story aside {
  border-right: 1px solid var(--line);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-story aside p { margin: 0; }
.about-story h2 { max-width: 14ch; margin: 0; font-size: clamp(2.8rem, 5vw, 5.5rem); letter-spacing: -.06em; line-height: .93; }
.about-story > div > p { max-width: 43rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; }

.about-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.about-details > div {
  min-height: 15rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.about-details > div:last-child { border-right: 0; }
.about-details span { color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-details p { margin: 3rem 0 0; line-height: 1.6; }
.about-contact { position: relative; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: white; }
.about-contact::before { position: absolute; top: 0; left: 0; width: 4rem; height: 3px; background: var(--signal); content: ""; }
.about-contact span { color: white; }
.about-contact a { font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.04em; }

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(100%, var(--max-width));
  min-height: calc(100vh - 9rem);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.contact-heading { position: relative; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--ink); }
.contact-topline { display: flex; justify-content: space-between; gap: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-heading h1 { margin: 6rem 0 2.5rem; font-size: clamp(4rem, 7.5vw, 9rem); line-height: .82; letter-spacing: -.09em; }
.contact-heading h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.contact-heading > p { max-width: 29rem; margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.45; }
.contact-alternative { display: flex; flex-direction: column; gap: .7rem; margin-top: auto; padding-top: 4rem; }
.contact-alternative span, .contact-panel-index { color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-alternative a { width: fit-content; border-bottom: 1px solid var(--ink); font-size: 1rem; }
.contact-panel { padding: 2rem clamp(1.5rem, 4vw, 4.5rem) 4rem; }
.contact-panel-index { margin: 0 0 3rem; }
.contact-form { display: grid; gap: 1.8rem; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: .7rem; }
.contact-field label { font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.contact-optional { color: var(--muted); font-size: .7rem; font-weight: 400; letter-spacing: 0; }
.contact-field input, .contact-field textarea { width: 100%; min-height: 3.2rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: rgba(255,255,255,.55); font: inherit; }
.contact-field textarea { min-height: 11rem; resize: vertical; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { border-color: var(--ink); box-shadow: inset 0 -2px var(--signal); }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #74746e; }
.contact-submit-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.contact-submit-row button { min-height: 3.4rem; padding: .8rem 1.5rem; border: 1px solid var(--ink); color: white; background: var(--ink); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.contact-submit-row button:hover, .contact-submit-row button:focus-visible { border-color: var(--signal); background: var(--signal); }
.contact-submit-row button:disabled { opacity: .6; cursor: wait; }
.contact-status { margin: -.9rem 0 0; min-height: 1.25em; color: var(--ink); font-size: .8rem; line-height: 1.5; }
.contact-submit-row p { max-width: 17rem; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.contact-submit-row p a { text-decoration: underline; text-underline-offset: 2px; }
.contact-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-heading { min-height: 25rem; border-right: 0; border-bottom: 1px solid var(--ink); }
  .contact-heading h1 { margin: 3.5rem 0 2rem; }
  .contact-alternative { padding-top: 2rem; }
  .contact-panel { padding: 2rem 2rem 4rem; }
}
@media (max-width: 580px) {
  .nav-link { flex: 1 1 25%; min-width: 0; padding: 0 .3rem; font-size: .69rem; }
  .wordmark { padding: 0 1rem; }
  .contact-heading { min-height: 0; padding: 1.5rem 1rem 3rem; }
  .contact-heading h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .contact-panel { padding: 2rem 1rem 3rem; }
  .contact-form-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-panel-index { margin-bottom: 2rem; }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  padding: 1.5rem 2rem;
  color: white;
  background: var(--ink);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.work-index {
  overflow: hidden;
}

.work-index-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 1.5fr) minmax(18rem, 1fr);
  gap: 4rem;
  align-items: end;
  min-height: 18rem;
  padding: 4rem 4rem 2rem 6rem;
  border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.vertical-info,
.architecture-vertical,
.row-vertical {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.vertical-info {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 1.5rem;
  margin: 0;
}

.work-index-header > div > p {
  margin: 0 0 1.2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-index-header h1 {
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 9rem);
  letter-spacing: -.08em;
  line-height: .8;
}

.work-index-summary {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.architecture-project {
  position: relative;
  display: block;
  padding: 4rem 4rem 5rem 6rem;
  border-bottom: 1px solid var(--ink);
}

.architecture-vertical {
  position: absolute;
  top: 5rem;
  left: 1.5rem;
  color: var(--muted);
}

.architecture-vertical::before {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-bottom: .8rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  content: "";
}

.architecture-heading {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ink);
}

.architecture-number {
  align-self: start;
  color: var(--signal);
  font-size: .72rem;
  font-weight: 700;
}

.architecture-heading p,
.project-index-row > div > p {
  margin: 0 0 .8rem;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.architecture-heading h2 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  letter-spacing: -.07em;
  line-height: .82;
}

.architecture-arrow,
.row-arrow {
  font-size: 2rem;
  transition: transform 180ms ease;
}

.architecture-project:hover .architecture-arrow,
.architecture-project:focus-visible .architecture-arrow,
.project-index-row:hover .row-arrow,
.project-index-row:focus-visible .row-arrow {
  transform: translate(.3rem, -.3rem);
}

.architecture-canvas {
  position: relative;
  padding: 3rem 4rem 3.5rem;
}

.system-blueprint {
  display: grid;
  grid-template-columns: 1fr 16%;
  grid-template-rows: 3.5rem minmax(15rem, 1fr) 9rem;
  min-height: 36rem;
  border: 1px solid var(--ink);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.system-toolbar {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--ink);
  background: rgba(242,241,237,.92);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.system-folders,
.system-files,
.system-rail {
  position: relative;
  background: rgba(242,241,237,.84);
}

.system-folders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 4rem 2rem 2rem;
  border-bottom: 1px solid var(--ink);
}

.system-folders small,
.system-files small,
.system-rail small {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.system-folders i {
  position: relative;
  min-height: 10rem;
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.4);
}

.system-folders i::before,
.system-folders i::after {
  position: absolute;
  right: .75rem;
  left: .75rem;
  height: 1px;
  background: var(--line);
  content: "";
}

.system-folders i::before { bottom: 2.4rem; }
.system-folders i::after { bottom: 1.5rem; width: 42%; }

.system-files {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  padding: 3.25rem 2rem 1.25rem;
}

.system-files i {
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  background: white;
}

.system-files i:nth-of-type(2),
.system-files i:nth-of-type(5) {
  border-top-color: var(--signal);
}

.system-rail {
  display: flex;
  grid-column: 2;
  grid-row: 2 / 4;
  flex-direction: column;
  gap: 1rem;
  padding: 4rem 1rem 1rem;
  border-left: 1px solid var(--ink);
}

.system-rail span {
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
  font-size: .6rem;
}

.measure-line {
  position: absolute;
  color: var(--muted);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.measure-top {
  top: 1rem;
  right: 4rem;
  left: 4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.measure-top::before,
.measure-top::after {
  position: absolute;
  top: -.45rem;
  width: 1px;
  height: .85rem;
  background: var(--ink);
  content: "";
}

.measure-top::before { left: 0; }
.measure-top::after { right: 0; }
.measure-top span { position: relative; top: -.45rem; padding: 0 .6rem; background: var(--paper); }

.measure-side {
  top: 3rem;
  bottom: 3.5rem;
  left: 1.35rem;
  border-left: 1px solid var(--line);
}

.measure-side::before,
.measure-side::after {
  position: absolute;
  left: -.45rem;
  width: .85rem;
  height: 1px;
  background: var(--ink);
  content: "";
}

.measure-side::before { top: 0; }
.measure-side::after { bottom: 0; }
.measure-side span { position: absolute; top: 50%; left: -.7rem; padding: .5rem 0; background: var(--paper); transform: translateY(-50%); writing-mode: vertical-rl; }

.feature-callout {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-callout i {
  display: block;
  width: .48rem;
  height: .48rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: var(--paper);
}

.feature-callout span {
  padding: .35rem .5rem;
  border: 1px solid var(--line);
  background: rgba(242,241,237,.92);
}

.feature-callout::after {
  width: 4rem;
  height: 1px;
  background: rgba(17,17,15,.55);
  content: "";
}

.callout-one { top: 26%; left: 8%; }
.callout-two { right: 17%; bottom: 21%; }
.callout-three { top: 24%; right: 2%; flex-direction: row-reverse; }

.architecture-footer {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5rem;
  align-items: start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.architecture-footer > p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.architecture-footer dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.architecture-footer dl > div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.architecture-footer dt {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.architecture-footer dd {
  margin: 1rem 0 0;
  font-size: .8rem;
}

.project-index-row {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 4rem 1.4fr 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 18rem;
  padding: 2.5rem 4rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--ink);
  transition: background 180ms ease;
}

.project-index-row:hover,
.project-index-row:focus-visible {
  background: white;
}

.row-vertical { color: var(--muted); }
.row-number { align-self: start; color: var(--signal); font-size: .72rem; font-weight: 700; }

.project-index-row h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  letter-spacing: -.065em;
  line-height: .86;
}

.project-index-row > p {
  max-width: 25rem;
  margin: 0;
}

/* Compact UI/UX project directory */
.compact-work-index {
  min-height: calc(100vh - 4.5rem);
  background: var(--paper);
}

.compact-index-header {
  grid-template-columns: minmax(20rem, 1.6fr) minmax(17rem, .75fr);
  min-height: 13rem;
  padding-top: 2.5rem;
}

.compact-index-header h1 {
  font-size: clamp(3.8rem, 7.5vw, 7rem);
}

.project-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 30rem;
  border-bottom: 1px solid var(--ink);
}

.project-tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 30rem;
  padding: 1.5rem 2.5rem 1.5rem 3.5rem;
  overflow: hidden;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)),
    linear-gradient(transparent calc(32% - 1px), var(--line) 32%, transparent calc(32% + 1px), transparent calc(76% - 1px), var(--line) 76%, transparent calc(76% + 1px));
  transition: background-color 180ms ease, color 180ms ease;
}

.project-tile:last-child {
  border-right: 0;
}

.project-tile::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.25rem;
  height: 3px;
  background: var(--signal);
  content: "";
  transition: width 220ms ease;
}

.project-tile:hover,
.project-tile:focus-visible {
  color: white;
  background-color: var(--ink);
}

.project-tile:hover::before,
.project-tile:focus-visible::before {
  width: 100%;
}

.project-tile:focus-visible {
  z-index: 2;
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

/* Keep the project directory quiet so the work leads the page. */
.uiux-index .work-index-header,
.uiux-index .project-tile {
  background-image: none;
}

.tile-vertical {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: .85rem;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.tile-vertical::before {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-bottom: .65rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  content: "";
}

.tile-topline,
.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tile-topline {
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
}

.tile-title {
  margin-top: auto;
  padding: 3rem 0 2rem;
}

.tile-title p {
  margin: 0 0 .8rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tile-title h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 5rem);
  letter-spacing: -.07em;
  line-height: .84;
}

.tile-summary {
  max-width: 29rem;
  min-height: 5.25rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  font-size: 1rem;
  line-height: 1.45;
}

.tile-footer {
  margin-top: 1.5rem;
}

.tile-arrow {
  color: var(--signal);
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.project-tile:hover .tile-arrow,
.project-tile:focus-visible .tile-arrow {
  transform: translate(.25rem, -.25rem);
}

.section-vertical {
  position: absolute;
  z-index: 3;
  margin: 0;
  color: var(--muted);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section-vertical::before {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-bottom: .75rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  content: "";
}

.home-vertical { top: 9rem; left: .45rem; }
.gateway-vertical { top: 4rem; right: .45rem; }
.about-teaser-vertical { top: 5rem; left: .45rem; }
.about-page-vertical { top: 9rem; left: .45rem; }

.portfolio-gateway,
.about,
.about-hero {
  position: relative;
}

.portfolio-gateway,
.about,
.about-hero,
.about-story,
.about-details,
.architecture-project,
.case-facts,
.case-content {
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.about-story aside,
.case-content aside {
  display: flex;
  justify-content: center;
}

.about-story aside p,
.case-content aside p {
  writing-mode: vertical-rl;
}

.case-study {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.case-hero {
  position: relative;
  min-height: 78vh;
  padding: 2rem;
  border-bottom: 1px solid var(--ink);
}

.case-hero::after {
  position: absolute;
  right: 1.2rem;
  bottom: 5rem;
  content: "PROCESS / EVIDENCE / OUTCOME";
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .14em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.case-dark {
  color: white;
  background: var(--ink);
}

.case-green {
  color: var(--ink);
  background-color: var(--paper);
}

.case-orange {
  color: var(--ink);
  background-color: var(--paper);
}

.case-hero {
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(127,127,127,.22) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), rgba(127,127,127,.22) 75%, transparent calc(75% + 1px));
}

.case-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.case-type {
  margin: 7rem 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-hero h1 {
  margin: 0;
  font-size: clamp(5rem, 14vw, 13rem);
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.case-summary {
  max-width: 38rem;
  margin: 4rem 0 0 auto;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.case-facts div {
  min-height: 9rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--line);
}

.case-facts div:last-child {
  border-right: 0;
}

.case-facts span,
.case-content aside,
.case-placeholder {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-facts span {
  color: var(--muted);
}

.case-facts p {
  max-width: 18rem;
  margin: 2rem 0 0;
}

.case-content {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(20rem, 3fr);
}

.case-content aside,
.case-content > div {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--line);
}

.case-content aside {
  border-right: 1px solid var(--line);
}

.case-content aside p {
  position: sticky;
  top: 7rem;
  margin: 0;
}

.case-content h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.case-content > div > p {
  max-width: 43rem;
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.case-placeholder {
  display: grid;
  min-height: 26rem;
  margin-top: 4rem;
  place-items: center;
  border: 1px solid var(--ink);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}

.case-pagination {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-bookmarks {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(8rem, 1fr));
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.case-bookmarks > span,
.case-bookmarks a {
  min-width: 0;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-bookmarks > span {
  color: var(--muted);
}

.case-bookmarks a {
  transition: color 180ms ease, background-color 180ms ease;
}

.case-bookmarks a:last-child {
  border-right: 0;
}

.case-bookmarks a b {
  margin-right: .6rem;
  color: var(--signal);
}

.case-bookmarks a:hover,
.case-bookmarks a:focus-visible {
  color: white;
  background: var(--ink);
}

.case-bookmarks a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

.case-bookmarks + section,
[id^="spotify-"],
[id^="file-"] {
  scroll-margin-top: 2rem;
}

/* Visual File System case study */
.project-tile--featured {
  min-height: 36rem;
}

.tile-preview {
  display: block;
  width: 100%;
  margin-top: 1.35rem;
  border: 1px solid currentColor;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .82;
  transition: filter 180ms ease, opacity 180ms ease;
}

.project-tile--featured .tile-title {
  margin-top: 1.5rem;
  padding-top: 0;
}

.project-tile--featured:hover .tile-preview,
.project-tile--featured:focus-visible .tile-preview {
  filter: invert(1);
  opacity: .92;
}

.file-system-hero {
  overflow: hidden;
  min-height: 58vh;
  background-image: none;
}

.file-system-hero::before {
  display: none;
}

.file-system-hero::after {
  display: none;
}

.file-system-hero .case-type {
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.file-system-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  font-size: clamp(4.25rem, 9vw, 8.25rem);
  line-height: .78;
}

.file-system-hero .case-summary {
  max-width: 42rem;
  margin: 2.5rem 0 0;
}

.file-system-case .case-facts,
.file-system-case .case-content,
.file-system-case .case-opening,
.file-system-case .blueprint-break,
.file-system-case .case-final {
  background-image: none;
}

.case-opening,
.blueprint-break,
.case-final {
  position: relative;
  border-bottom: 1px solid var(--ink);
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.case-opening {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(30rem, 1.45fr);
  gap: 4rem;
  max-width: 94rem;
  margin: 0 auto;
  padding: 6rem 3rem 3rem 5rem;
}

.case-opening-vertical {
  top: 6rem;
  left: 1.5rem;
}

.case-opening-copy {
  align-self: end;
  max-width: 32rem;
  padding-bottom: 4rem;
}

.case-eyebrow {
  margin: 0 0 1.4rem;
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-opening h2,
.blueprint-heading h2,
.case-final h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  letter-spacing: -.065em;
  line-height: .92;
}

.case-opening-copy > p:last-child,
.blueprint-heading > p:last-child,
.case-final-copy > p:last-child {
  max-width: 42rem;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.case-screen {
  position: relative;
  margin: 0;
  background: white;
}

.case-screen::before,
.case-screen::after {
  position: absolute;
  z-index: 2;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
  content: "";
}

.case-screen::before {
  top: -.35rem;
  left: -.35rem;
  border-top: 2px solid var(--signal);
  border-left: 2px solid var(--signal);
}

.case-screen::after {
  right: -.35rem;
  bottom: 2.4rem;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
}

.case-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
}

.case-screen--primary {
  width: min(100%, 50rem);
  align-self: center;
  justify-self: center;
}

.screen-annotation {
  position: absolute;
  z-index: 3;
  border: 3px solid #d7261e;
  pointer-events: none;
}

.screen-annotation--folder {
  top: 13.1%;
  left: 4.15%;
  width: 35.1%;
  height: 23.4%;
}

.screen-annotation span {
  position: absolute;
  top: -1.7rem;
  left: -3px;
  padding: .38rem .55rem;
  color: white;
  background: #d7261e;
  font-family: "Courier New", monospace;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-screen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.file-system-process > div {
  position: relative;
}

.file-system-process > div::after {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: .45rem;
  height: .45rem;
  border: 1px solid var(--signal);
  content: "";
}

.case-note {
  display: grid;
  grid-template-columns: 9rem 1fr;
  max-width: 46rem;
  margin-top: 3rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.case-note span,
.case-note p {
  padding: 1.25rem;
}

.case-note span {
  border-right: 1px solid var(--line);
  color: var(--signal);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-note p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.principle-grid article {
  min-height: 13rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.principle-grid span,
.decision-ledger span {
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.principle-grid h3 {
  margin: 2rem 0 .75rem;
  font-size: 1.35rem;
}

.principle-grid p,
.decision-ledger p {
  margin: 0;
  line-height: 1.5;
}

.decision-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.decision-ledger > div {
  min-height: 15rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.decision-ledger strong {
  display: block;
  min-height: 5rem;
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.blueprint-break {
  padding: 6rem 2rem 2rem;
}

.blueprint-heading {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

.blueprint-heading .case-eyebrow {
  align-self: start;
}

.blueprint-heading > p:last-child {
  margin: 0;
}

.blueprint-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-screen--outline img {
  background: white;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.case-final {
  padding: 6rem 2rem 2rem;
}

.case-final-copy {
  display: grid;
  grid-template-columns: .55fr 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

.case-final-copy > p:last-child {
  margin: 0;
}

.case-screen--wide {
  max-width: 92rem;
  margin: 0 auto;
}

.next-test-list {
  max-width: 46rem;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.next-test-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 1rem;
}

.next-test-list span {
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-size: .72rem;
}

/* Spotify Clarity case study */
.tile-preview--spotify {
  overflow: hidden;
  background: #2d2d2d;
}

.tile-preview--spotify img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.72);
  transform-origin: 20% 3%;
}

.project-tile--featured:hover .tile-preview--spotify,
.project-tile--featured:focus-visible .tile-preview--spotify {
  filter: none;
}

.spotify-case {
  --spotify-green: #1db954;
}

.spotify-case .case-hero,
.spotify-case .case-facts,
.spotify-case .case-content,
.spotify-opening,
.spotify-decision,
.spotify-final {
  background-image: none;
}

.spotify-hero {
  min-height: 58vh;
  overflow: hidden;
  background: var(--paper);
}

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

.spotify-hero .case-type {
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.spotify-hero h1 {
  max-width: 12ch;
  font-size: clamp(4.25rem, 9vw, 8.25rem);
  line-height: .78;
}

.spotify-hero .case-summary {
  max-width: 44rem;
  margin: 2.5rem 0 0;
}

.spotify-opening,
.spotify-decision,
.spotify-final {
  position: relative;
  border-bottom: 1px solid var(--ink);
}

.spotify-opening {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(32rem, 1.4fr);
  gap: 4rem;
  padding: 6rem 3rem 3rem 5rem;
}

.spotify-opening-vertical {
  top: 6rem;
  left: 1.5rem;
}

.spotify-opening-copy {
  align-self: center;
  max-width: 34rem;
}

.spotify-opening h2,
.spotify-section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  letter-spacing: -.065em;
  line-height: .92;
}

.spotify-opening-copy > p:last-child,
.spotify-section-heading > p:last-child {
  max-width: 43rem;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.spotify-screen {
  position: relative;
  margin: 0;
}

.spotify-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
}

.spotify-screen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spotify-screen--opening {
  width: min(100%, 52rem);
  align-self: center;
  justify-self: center;
}

.spotify-decision,
.spotify-final {
  padding: 6rem 2rem 2rem;
}

.spotify-section-heading {
  display: grid;
  grid-template-columns: .6fr 1.25fr 1fr;
  gap: 2rem;
  align-items: end;
  max-width: 92rem;
  margin: 0 auto 4rem;
}

.spotify-section-heading .case-eyebrow,
.spotify-section-heading > p:last-child {
  margin: 0;
}

.column-shift {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 1rem;
  align-items: baseline;
  max-width: 92rem;
  margin: 0 auto 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.column-shift span {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .8;
}

.column-shift span:last-of-type,
.spotify-case .case-eyebrow,
.spotify-ledger span {
  color: var(--spotify-green);
}

.column-shift i {
  color: var(--muted);
  font-size: 2rem;
  font-style: normal;
}

.column-shift p {
  justify-self: end;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.density-demo,
.ticket-demo {
  max-width: 92rem;
  margin: 0 auto 2rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.density-controls,
.ticket-demo-controls {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.density-controls button,
.ticket-demo-controls button {
  display: grid;
  grid-template-columns: auto auto;
  gap: .65rem;
  align-items: baseline;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.density-controls button strong,
.ticket-demo-controls button strong {
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: -.08em;
  line-height: .8;
  transition: color 240ms ease, transform 240ms ease;
}

.density-controls button span,
.ticket-demo-controls button span,
.density-controls > p,
.ticket-demo-controls > p,
.density-demo-footer,
.ticket-demo-footer {
  font-family: "Courier New", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.density-controls button.is-active,
.ticket-demo-controls button.is-active {
  color: var(--ink);
}

.density-controls button.is-active strong {
  color: var(--spotify-green);
  transform: translateY(-.12rem);
}

.density-controls button:focus-visible,
.ticket-demo-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: .4rem;
}

.density-arrow,
.ticket-demo-controls > span {
  color: var(--muted);
  font-size: 2rem;
}

.density-controls > p,
.ticket-demo-controls > p {
  justify-self: end;
  margin: 0;
  text-align: right;
}

.density-viewport {
  overflow-x: auto;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
  scrollbar-color: var(--spotify-green) var(--line);
  scrollbar-width: thin;
}

.density-track {
  display: flex;
  gap: .8rem;
  min-width: 100%;
  transition: min-width 650ms cubic-bezier(.2,.7,.2,1);
}

.density-track article {
  flex: 0 0 calc((100% - 4rem) / 6);
  min-width: 0;
  padding: .75rem;
  border: 1px solid var(--ink);
  aspect-ratio: .85;
  background: white;
  transition: flex-basis 650ms cubic-bezier(.2,.7,.2,1), background-color 240ms ease;
}

.density-demo[data-mode="four"] .density-track article {
  flex-basis: calc((100% - 2.4rem) / 4);
}

.density-track article:nth-child(2n) { background: #e8e8e3; }
.density-track article:nth-child(3n) { background: #dfe8e2; }

.density-demo.is-changing .density-track article:nth-child(1),
.density-demo.is-changing .density-track article:nth-child(4) {
  animation: density-pulse 650ms ease;
}

.density-track article span {
  color: var(--spotify-green);
  font-family: "Courier New", monospace;
  font-size: .68rem;
}

.density-track article b {
  display: block;
  margin-top: 55%;
  font-size: .78rem;
  line-height: 1.1;
}

.density-demo-footer,
.ticket-demo-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.density-demo-footer span:last-child,
.ticket-demo-footer span:last-child {
  color: var(--ink);
  text-align: right;
}

.demo-countdown {
  position: relative;
  display: block;
  min-width: 10rem;
  padding-top: .55rem;
  color: var(--muted);
  text-align: center;
}

.demo-countdown::before,
.demo-countdown i {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  content: "";
}

.demo-countdown::before {
  width: 100%;
  background: var(--line);
}

.demo-countdown i {
  width: 0;
  background: var(--spotify-green, var(--signal));
}

.is-changing .demo-countdown i {
  animation: demo-countdown 5s linear forwards;
}

.density-demo:hover .demo-countdown i,
.density-demo:focus-within .demo-countdown i,
.ticket-demo:hover .demo-countdown i,
.ticket-demo:focus-within .demo-countdown i {
  animation-play-state: paused;
}

.demo-countdown b {
  font-size: inherit;
  font-weight: 400;
}

.spotify-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 92rem;
  margin: 0 auto;
}

.spotify-screen--accent::after {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 2rem;
  height: 2rem;
  border-top: 3px solid var(--spotify-green);
  border-right: 3px solid var(--spotify-green);
  content: "";
}

.spotify-process > div {
  position: relative;
}

.spotify-process .spotify-screen--wide {
  max-width: 68rem;
  margin-top: 4rem;
}

.spotify-ledger span {
  font-family: "Courier New", monospace;
}

.spotify-final {
  background: #111;
  color: white;
}

.spotify-final .spotify-section-heading {
  color: white;
}

.spotify-final .spotify-screen figcaption {
  border-color: white;
}

.spotify-screen--final {
  max-width: 92rem;
  margin: 0 auto;
}

.spotify-screen--detail {
  max-width: 58rem;
  margin: 4rem auto 0;
}

.spotify-next .next-test-list span {
  color: var(--spotify-green);
}

.ticket-demo {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.ticket-demo-controls button.is-active strong {
  color: var(--signal);
  transform: translateY(-.12rem);
}

.ticket-demo-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  max-height: 30rem;
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition: grid-template-columns 650ms cubic-bezier(.2,.7,.2,1), max-height 650ms cubic-bezier(.2,.7,.2,1);
}

.ticket-demo[data-mode="two"] .ticket-demo-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 20rem;
}

.ticket-demo-stage article {
  display: grid;
  grid-template-columns: minmax(8rem, 1.65fr) 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .25rem 1rem;
  min-height: 10rem;
  padding: .8rem;
  border: 1px solid var(--ink);
  background: white;
  transition: min-height 650ms cubic-bezier(.2,.7,.2,1), transform 300ms ease;
}

.ticket-demo-stage article:hover {
  transform: translateY(-.2rem);
}

.ticket-demo.is-changing .ticket-demo-stage article:first-child {
  animation: ticket-pulse 650ms ease;
}

.ticket-demo[data-mode="one"] .ticket-demo-stage article {
  min-height: 14rem;
}

.ticket-demo-image {
  grid-row: 1 / 3;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(135deg, transparent 0 12px, var(--line) 12px 13px);
}

.ticket-demo-stage article span {
  align-self: end;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ticket-demo-stage article strong {
  font-size: 1rem;
  line-height: 1.1;
}

@keyframes density-pulse {
  50% { border-color: var(--spotify-green); }
}

@keyframes ticket-pulse {
  50% { border-color: var(--signal); }
}

@keyframes demo-countdown {
  to { width: 100%; }
}

/* LA Walking Tours case study */
.tile-preview--la {
  background: #dce8e7;
  object-fit: cover;
  object-position: center;
}

.project-tile--featured:hover .tile-preview--la,
.project-tile--featured:focus-visible .tile-preview--la {
  filter: none;
}

.la-case {
  --la-teal: #4c8e91;
  --la-pale: #dce8e7;
  --la-cream: #f2eeea;
}

.la-case .case-hero,
.la-case .case-facts,
.la-case .case-content,
.la-case .case-opening,
.la-direction,
.la-applications {
  background-image: none;
}

.la-hero {
  min-height: 58vh;
  overflow: hidden;
  background: var(--paper);
}

.la-hero::before {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: clamp(10rem, 24vw, 22rem);
  height: clamp(10rem, 24vw, 22rem);
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--la-teal);
  box-shadow: -3rem 2rem 0 var(--la-pale);
  content: "";
  opacity: .92;
}

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

.la-hero .case-type {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.la-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  font-size: clamp(4.25rem, 9vw, 8.25rem);
  line-height: .78;
}

.la-hero .case-summary {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 2.5rem 0 0;
}

.la-case .case-eyebrow,
.la-case .next-test-list span,
.la-findings span {
  color: var(--la-teal);
}

.la-opening {
  background: var(--paper);
}

.la-lighthouse {
  width: min(100%, 28rem);
}

.la-lighthouse img {
  max-height: 44rem;
  object-fit: cover;
}

.la-process > div {
  position: relative;
}

.la-findings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.la-findings article {
  min-height: 15rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.la-findings span {
  font-family: "Courier New", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.la-findings h3 {
  margin: 2rem 0 .8rem;
  font-size: 1.3rem;
  line-height: 1.1;
}

.la-findings p {
  margin: 0;
  line-height: 1.5;
}

.la-direction,
.la-applications {
  padding: 6rem 2rem 2rem;
  border-bottom: 1px solid var(--ink);
}

.la-section-heading {
  display: grid;
  grid-template-columns: .6fr 1.25fr 1fr;
  gap: 2rem;
  align-items: end;
  max-width: 92rem;
  margin: 0 auto 4rem;
}

.la-section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  letter-spacing: -.065em;
  line-height: .92;
}

.la-section-heading .case-eyebrow,
.la-section-heading > p:last-child {
  margin: 0;
}

.la-section-heading > p:last-child {
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.la-moodboards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 92rem;
  margin: 0 auto;
}

.la-moodboards .case-screen {
  padding: 1rem;
  background: white;
}

.la-moodboards img {
  aspect-ratio: 1.28;
  object-fit: contain;
  border: 0;
}

.la-logo-screen {
  max-width: 52rem;
  margin-top: 4rem;
  padding: 2rem;
  background: white;
}

.la-logo-screen img {
  border: 0;
}

.la-applications {
  background: var(--la-cream);
}

.la-gallery {
  max-width: 92rem;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.la-gallery-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.la-gallery-controls button {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.la-gallery-controls button:last-child {
  border-right: 0;
}

.la-gallery-controls button b {
  color: var(--la-teal);
  font-family: "Courier New", monospace;
  font-size: .72rem;
}

.la-gallery-controls button.is-active,
.la-gallery-controls button:hover,
.la-gallery-controls button:focus-visible {
  color: white;
  background: var(--ink);
}

.la-gallery-controls button:focus-visible {
  outline: 2px solid var(--la-teal);
  outline-offset: -2px;
}

.la-gallery-stage {
  display: grid;
  height: clamp(46rem, 70vw, 62rem);
  min-height: 46rem;
  padding: 2rem;
  place-items: center;
  overflow: hidden;
  background: var(--la-pale);
}

.la-gallery-panel {
  max-width: 58rem;
  margin: 0 auto;
}

.la-gallery-panel[hidden] {
  display: none;
}

.la-gallery-panel.is-active {
  animation: la-panel-in 520ms ease both;
}

.la-gallery-panel > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: white;
}

.la-gallery-panel[data-la-panel="website"] {
  max-width: 32rem;
}

.la-gallery-panel--brochure,
.la-gallery-panel--social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 80rem;
}

.la-gallery-panel--brochure img {
  align-self: center;
}

.la-gallery-panel--social {
  max-width: 42rem;
}

.la-gallery-panel figcaption {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.la-gallery-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.la-gallery-footer > span:last-child {
  color: var(--ink);
  text-align: right;
}

.la-gallery .demo-countdown i {
  background: var(--la-teal);
}

.la-gallery:hover .demo-countdown i,
.la-gallery:focus-within .demo-countdown i {
  animation-play-state: paused;
}

@keyframes la-panel-in {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header {
    display: block;
  }

  .wordmark {
    min-height: 3.8rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav-link {
    flex: 1 0 auto;
    min-height: 3.4rem;
    min-width: 6.5rem;
    padding: 0 1rem;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-intro,
  .hero-index {
    padding: 1.4rem 0;
  }

  .hero-art {
    min-height: 24rem;
  }

  .hero-index {
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    border-top: 1px solid var(--ink);
  }

  .section-heading {
    grid-template-columns: 1fr auto;
  }

  .section-heading h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 3rem;
  }

  .project {
    grid-template-columns: 3rem 1fr 2rem;
  }

  .project-poster {
    grid-column: 2 / -1;
    min-height: 17rem;
  }

  .project-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-facts div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-facts div:last-child {
    border-bottom: 0;
  }

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

  .work-index-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .compact-index-header {
    grid-template-columns: minmax(0, 1.4fr) minmax(14rem, .8fr);
    gap: 2rem;
    min-height: 12rem;
  }

  .project-tile {
    min-height: 27rem;
    padding-right: 1.35rem;
    padding-left: 2.6rem;
  }

  .tile-title h2 {
    font-size: clamp(2.35rem, 5vw, 3.5rem);
  }

  .architecture-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-index-row {
    grid-template-columns: 2rem 3rem 1fr auto;
  }

  .project-index-row > p {
    grid-column: 3 / -1;
  }
}

@media (max-width: 580px) {
  .hero,
  .project,
  .about,
  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero h1 {
    margin-top: 2.5rem;
    font-size: clamp(3.3rem, 17vw, 5.5rem);
  }

  .compact-index-header {
    display: block;
    min-height: 13rem;
    padding: 2.5rem 1rem 2rem 3rem;
  }

  .compact-index-header .work-index-summary {
    margin-top: 1.5rem;
  }

  .project-board {
    grid-template-columns: repeat(3, minmax(82vw, 1fr));
    min-height: 27rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-tile {
    min-height: 27rem;
    scroll-snap-align: start;
  }

  .hero-kicker span:last-child {
    display: none;
  }

  .hero-art {
    min-height: 22rem;
  }

  .field-cross-one,
  .readout-one,
  .readout-two,
  .cursor-signal,
  .tech-rail-right {
    display: none;
  }

  .hero-art-word span {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }


  .hero-index {
    grid-template-columns: auto 1fr;
  }

  .section-heading {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .project {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    min-height: auto;
  }

  .project-copy {
    padding-bottom: 1rem;
  }

  .project-poster {
    grid-column: 1 / -1;
  }

  .project-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .about {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

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

  .portfolio-gateway,
  .page-hero,
  .case-hero,
  .case-facts div,
  .case-content aside,
  .case-content > div,
  .case-pagination {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .gateway-link h2,
  .page-hero h1 {
    font-size: clamp(4.5rem, 24vw, 7rem);
  }

  .case-hero {
    min-height: 68vh;
  }

  .case-hero h1 {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .case-content {
    grid-template-columns: 1fr;
  }

  .case-content aside {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-right: 0;
  }

  .case-content aside p {
    position: static;
  }

  .case-content > div {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .case-placeholder {
    min-height: 17rem;
  }

  .case-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero h1 span {
    margin-top: .2em;
  }

  .loose-note,
  .project::after,
  .case-hero::after {
    display: none;
  }

  .project:nth-child(2) .project-copy {
    transform: none;
  }

  .about-hero {
    min-height: auto;
    padding: 1.5rem 1rem 5rem;
  }

  .about-hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .about-intro-card {
    grid-template-columns: 1fr;
    margin: 5rem 0 0;
  }

  .about-dial {
    width: 5rem;
    height: 5rem;
  }

  .about-dial::before { width: 6rem; }
  .about-dial::after { height: 6rem; }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story aside {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-right: 0;
  }

  .about-story > div {
    padding: 4rem 1rem;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .about-details > div {
    min-height: 11rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-index-header,
  .architecture-project {
    padding-right: 1rem;
    padding-left: 3rem;
  }

  .work-index-header {
    min-height: 19rem;
  }

  .work-index-header h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  .vertical-info,
  .architecture-vertical {
    left: .8rem;
  }

  .architecture-heading {
    grid-template-columns: 2rem 1fr auto;
    gap: .75rem;
    margin-bottom: 2.5rem;
  }

  .architecture-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .architecture-canvas {
    padding: 2.5rem 0 1rem 1.5rem;
  }

  .measure-top {
    right: 0;
    left: 1.5rem;
  }

  .measure-side {
    bottom: 1rem;
    left: .25rem;
  }

  .feature-callout {
    display: none;
  }

  .system-blueprint {
    grid-template-columns: 1fr 22%;
    min-height: 24rem;
  }

  .system-folders {
    gap: .5rem;
    padding: 3.5rem .75rem 1rem;
  }

  .system-folders i {
    min-height: 7rem;
  }

  .system-files {
    gap: .35rem;
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .architecture-footer dl {
    grid-template-columns: 1fr;
  }

  .project-index-row {
    grid-template-columns: 1.5rem 2rem 1fr auto;
    gap: .7rem;
    min-height: 14rem;
    padding: 2rem 1rem;
  }

  .project-index-row > p {
    grid-column: 3 / -1;
  }

  .project-index-row h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .section-vertical {
    display: none;
  }

  .about-story aside,
  .case-content aside {
    justify-content: flex-start;
  }

  .about-story aside p,
  .case-content aside p {
    writing-mode: horizontal-tb;
  }
}

@media (max-width: 900px) {
  .morph-hero {
    min-height: calc(100svh - 7.2rem);
    padding: 0;
  }

  .morph-topbar { grid-template-columns: 1fr; gap: .6rem; }
  .morph-topbar > span:nth-child(2) { display: none; }
  .morph-clocks { justify-content: space-between; }

  .morph-reticle {
    left: 61%;
    width: min(48vw, 28rem);
  }

  .hero-copy {
    width: 72vw;
  }

  .morph-hero h1 {
    font-size: clamp(3.4rem, 9.5vw, 6rem);
  }

  .morph-diagnostics {
    display: none;
  }

  .morph-instruction {
    right: 12.5rem;
  }
}

@media (max-width: 580px) {
  .morph-hero {
    min-height: max(44rem, calc(100svh - 7.2rem));
    padding: 0;
  }

  .morph-topbar {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding: .7rem 1rem;
  }

  .morph-clocks { gap: .5rem; font-size: .58rem; }
  .morph-clocks span { flex-direction: column; gap: .1rem; }
  .morph-clocks b { font-size: .68rem; }

  .morph-object-status {
    top: 5.4rem;
    right: 1rem;
  }

  .morph-object-status strong {
    font-size: 2.4rem;
  }

  .morph-reticle {
    top: 37%;
    left: 50%;
    width: 76vw;
  }

  .morph-grid {
    background-size: 3rem 3rem;
  }

  .morph-log,
  .morph-instruction {
    display: none;
  }

  .hero-copy {
    bottom: 6.6rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }

  .morph-hero .hero-kicker {
    width: 100%;
  }

  .morph-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 14.5vw, 4.7rem);
  }

  .morph-hero .hero-intro {
    max-width: 30rem;
    font-size: .92rem;
  }

  .morph-hero .scroll-cue {
    bottom: 1rem;
    left: 1rem;
    width: 7.5rem;
  }

  .morph-trigger {
    right: 1rem;
    bottom: .85rem;
    min-width: 9rem;
  }
}

@media (max-width: 900px) {
  .case-opening {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1rem 1rem;
  }

  .case-opening-copy {
    max-width: 46rem;
    padding-bottom: 1rem;
  }

  .blueprint-break,
  .case-final {
    padding: 4rem 1rem 1rem;
  }

  .blueprint-heading,
  .case-final-copy {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blueprint-heading > p:last-child,
  .case-final-copy > p:last-child {
    max-width: 42rem;
  }

  .decision-ledger {
    grid-template-columns: 1fr;
  }

  .decision-ledger > div,
  .decision-ledger strong {
    min-height: 0;
  }

  .spotify-opening {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1rem 1rem;
  }

  .spotify-section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .spotify-section-heading > p:last-child {
    max-width: 43rem;
  }

  .case-bookmarks {
    grid-template-columns: auto repeat(5, minmax(9rem, 1fr));
    overflow-x: auto;
  }

  .la-section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .la-section-heading > p:last-child {
    max-width: 43rem;
  }

  .la-findings {
    grid-template-columns: 1fr;
  }

  .la-findings article {
    min-height: 0;
  }
}

@media (max-width: 580px) {
  .project-tile--featured {
    min-height: 32rem;
  }

  .tile-preview {
    margin-top: 1rem;
  }

  .file-system-hero::before {
    top: 10rem;
    right: -4rem;
    width: 15rem;
    height: 15rem;
  }

  .case-hero-code {
    display: none;
  }

  .principle-grid,
  .blueprint-pair {
    grid-template-columns: 1fr;
  }

  .case-note {
    grid-template-columns: 1fr;
  }

  .case-note span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-screen figcaption {
    flex-direction: column;
    gap: .35rem;
  }

  .spotify-decision,
  .spotify-final {
    padding: 4rem 1rem 1rem;
  }

  .spotify-comparison {
    grid-template-columns: 1fr;
  }

  .column-shift {
    grid-template-columns: auto auto auto;
  }

  .column-shift p {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .density-controls,
  .ticket-demo-controls {
    grid-template-columns: auto auto auto;
  }

  .density-controls > p,
  .ticket-demo-controls > p {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }

  .density-track article {
    flex-basis: calc((100% - 1.6rem) / 3);
  }

  .density-demo[data-mode="four"] .density-track article {
    flex-basis: calc((100% - .8rem) / 2);
  }

  .ticket-demo[data-mode="two"] .ticket-demo-stage {
    grid-template-columns: 1fr;
    max-height: 28rem;
  }

  .density-demo-footer,
  .ticket-demo-footer {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .density-demo-footer span:last-child,
  .ticket-demo-footer span:last-child {
    text-align: left;
  }

  .spotify-screen figcaption {
    flex-direction: column;
    gap: .35rem;
  }

  .la-direction,
  .la-applications {
    padding: 4rem 1rem 1rem;
  }

  .la-moodboards,
  .la-gallery-panel--brochure,
  .la-gallery-panel--social {
    grid-template-columns: 1fr;
  }

  .la-gallery-controls button {
    flex-direction: column;
    gap: .25rem;
    align-items: flex-start;
    padding: .8rem;
  }

  .la-gallery-stage {
    height: auto;
    min-height: 0;
    padding: 1rem;
  }

  .la-gallery-footer {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .la-gallery-footer > span:last-child {
    text-align: left;
  }
}

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