:root {
  color-scheme: light;
  --paper: #f4f0eb;
  --paper-deep: #e8e1da;
  --ink: #090909;
  --warm: #5b544d;
  --muted: #706962;
  --line: rgba(9, 9, 9, 0.9);
  --hairline: rgba(9, 9, 9, 0.18);
  --soft-line: rgba(9, 9, 9, 0.09);
  --white: #fffdf9;
  --header-height: 68px;
  --page-pad: clamp(20px, 4.4vw, 68px);
  --section-y: clamp(88px, 11vw, 168px);
  --max-width: 1440px;
  --display-font: "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", SimSun, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(9, 9, 9, 0.035) 50%, transparent 50.05%),
    linear-gradient(transparent 49.95%, rgba(9, 9, 9, 0.035) 50%, transparent 50.05%);
  background-size: 54px 54px;
  pointer-events: none;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

#ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
  transition: opacity 500ms ease;
}

body:not(.hero-visible) #ambient {
  opacity: 0.16;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 17% 29%, transparent 0 1px, rgba(0, 0, 0, 0.24) 1px 1.35px, transparent 1.35px 4px),
    repeating-radial-gradient(circle at 83% 71%, transparent 0 1px, rgba(255, 255, 255, 0.7) 1px 1.2px, transparent 1.2px 5px);
  background-size: 9px 11px, 13px 15px;
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: baseline;
  gap: 12px;
}

.brand strong {
  font-family: var(--display-font);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.brand span,
.header-note,
.site-nav a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.site-nav {
  display: flex;
  align-items: center;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.14);
}

.site-nav a {
  position: relative;
  padding: 11px 16px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.site-nav a + a {
  border-left: 1px solid var(--hairline);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="location"] {
  background: var(--ink);
  color: var(--white);
  outline-offset: -3px;
}

.header-note {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(9, 9, 9, 0.08);
}

main,
.site-footer {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
  background: rgba(244, 240, 235, 0.62);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(to top, rgba(244, 240, 235, 0.96), transparent);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 170%;
  color: rgba(9, 9, 9, 0.043);
  font-family: var(--display-font);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 950;
  line-height: 1.72;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  word-spacing: 0.34em;
  transform: rotate(-7deg) translate(-9%, -20%);
  user-select: none;
}

.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--page-pad) 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-kicker p {
  margin: 0;
}

.hero-kicker p span:first-child {
  margin-right: 20px;
  color: var(--muted);
}

.hero-stage {
  --cursor-x: 50%;
  --cursor-y: 50%;
  --reveal-radius: 0px;
  position: relative;
  display: grid;
  min-height: clamp(390px, 56vh, 640px);
  place-items: center;
  overflow: hidden;
}

.hero-title,
.hero-reveal p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(78px, 11.8vw, 176px);
  font-stretch: condensed;
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 0.76;
  text-align: center;
  text-transform: uppercase;
}

.hero-title span,
.hero-reveal p span {
  display: block;
}

.hero-title em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  clip-path: circle(var(--reveal-radius) at var(--cursor-x) var(--cursor-y));
  will-change: clip-path;
}

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

.hero-reveal::before {
  inset: 0;
  opacity: 0.32;
  background:
    repeating-linear-gradient(90deg, transparent 0 53px, rgba(255, 255, 255, 0.11) 53px 54px),
    repeating-linear-gradient(transparent 0 53px, rgba(255, 255, 255, 0.08) 53px 54px);
}

.hero-reveal::after {
  width: min(78vw, 940px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 100px rgba(255, 255, 255, 0.02),
    0 0 0 200px rgba(255, 255, 255, 0.015);
}

.hero-reveal p {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: clamp(70px, 10.2vw, 152px);
  letter-spacing: -0.085em;
  line-height: 0.84;
}

.hero-stage.is-pinned {
  --cursor-x: 50%;
  --cursor-y: 50%;
  --reveal-radius: max(78vw, 78vh);
}

.reveal-toggle {
  position: absolute;
  right: var(--page-pad);
  bottom: 20px;
  z-index: 4;
  display: flex;
  min-width: 104px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 235, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.reveal-toggle:hover,
.reveal-toggle:focus-visible,
.reveal-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 0.9fr) auto;
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  padding: 0 var(--page-pad) 34px;
}

.hero-intro {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 650;
  line-height: 1.72;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  margin: 0;
}

.hero-meta div {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.hero-meta dt,
.hero-meta dd {
  margin: 0;
}

.hero-meta dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-meta dd {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.scroll-cue {
  display: grid;
  min-width: 76px;
  justify-items: end;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-line {
  position: relative;
  display: block;
  width: 76px;
  height: 1px;
  overflow: hidden;
  background: var(--hairline);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-110%);
  animation: scan-line 2.4s ease-in-out infinite;
}

@keyframes scan-line {
  0%,
  20% {
    transform: translateX(-110%);
  }
  75%,
  100% {
    transform: translateX(110%);
  }
}

.section-shell {
  position: relative;
  padding: var(--section-y) var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-label span:first-child {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.about {
  display: grid;
  grid-template-columns: 140px minmax(440px, 1.45fr) minmax(250px, 0.65fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

.about-copy h2,
.section-heading h2,
.approach-intro h2,
.note-content h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(56px, 7vw, 102px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.about-copy .lead {
  max-width: 760px;
  margin: 46px 0 0;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 550;
  line-height: 1.9;
}

.about-note {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 235, 0.72);
}

.about-note p {
  margin: 0 0 44px;
  font-family: var(--display-font);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.about-note span {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
}

.work {
  padding-inline: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 140px 1fr minmax(260px, 0.55fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: end;
  padding: 0 var(--page-pad) clamp(52px, 7vw, 96px);
}

.section-heading h2 {
  font-size: clamp(64px, 8vw, 118px);
}

.section-summary {
  margin: 0;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.8;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.work-card {
  position: relative;
  min-height: 420px;
  padding: clamp(28px, 4vw, 56px) var(--page-pad);
  overflow: hidden;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.work-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.work-card:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.work-card::before {
  content: "";
  position: absolute;
  right: -0.04em;
  bottom: -0.21em;
  color: rgba(9, 9, 9, 0.025);
  font-family: var(--display-font);
  font-size: 260px;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.work-card:hover,
.work-card:focus-within {
  background: var(--ink);
  color: var(--white);
}

.work-card:hover::before,
.work-card:focus-within::before {
  color: rgba(255, 255, 255, 0.05);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

.work-card h3 {
  margin: clamp(50px, 7vw, 94px) 0 18px;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.work-card > p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.78;
}

.work-card ul {
  display: flex;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.work-card li {
  padding: 8px 11px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.approach {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(64px, 8vw, 132px);
  background: var(--ink);
  color: var(--white);
}

.section-label-light {
  margin-bottom: clamp(84px, 11vw, 160px);
  color: rgba(255, 255, 255, 0.54);
}

.section-label-light span:first-child {
  color: var(--white);
}

.approach-intro .eyebrow {
  color: rgba(255, 255, 255, 0.48);
}

.approach-intro > p:last-child {
  max-width: 520px;
  margin: 46px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.85;
}

.approach-list {
  align-self: end;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  list-style: none;
}

.approach-list li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.step-index,
.step-mark {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.step-index {
  color: rgba(255, 255, 255, 0.48);
}

.step-mark {
  font-size: 18px;
  transition: transform 180ms ease;
}

.approach-list li:hover .step-mark {
  transform: translate(4px, 4px);
}

.approach-list h3 {
  margin: 0 0 11px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.035em;
}

.approach-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.75;
}

.note {
  min-height: 780px;
  overflow: hidden;
}

.note-marquee {
  position: absolute;
  top: 8%;
  left: -4%;
  width: max-content;
  transform: rotate(-5deg);
  user-select: none;
}

.note-marquee::before {
  content: "WORK IN PROGRESS  WORK IN PROGRESS";
  display: block;
  color: rgba(9, 9, 9, 0.033);
  font-family: var(--display-font);
  font-size: clamp(120px, 17vw, 250px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-transform: uppercase;
}

.note-content {
  position: relative;
  z-index: 1;
  width: min(930px, 82%);
  margin: clamp(110px, 15vw, 210px) auto 0;
}

.note-content h2 {
  font-size: clamp(62px, 8.4vw, 126px);
}

.note-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 7vw, 96px);
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.note-copy p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 560;
  line-height: 1.85;
}

.note-copy p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.note-signature {
  position: absolute;
  right: var(--page-pad);
  bottom: 36px;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.note-signature span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  vertical-align: top;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: 42px var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.site-footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer strong {
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.site-footer span,
.site-footer a {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}

.footer-meta a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0 calc(var(--page-pad) * -1);
    border-width: 1px 0 0;
  }

  .site-header {
    padding-top: 12px;
  }

  :root {
    --header-height: 112px;
  }

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

  .scroll-cue {
    display: none;
  }

  .about,
  .section-heading {
    grid-template-columns: 100px 1fr;
  }

  .about-note,
  .section-summary {
    grid-column: 2;
    position: static;
    width: min(420px, 100%);
  }

  .about-note p {
    margin-bottom: 28px;
  }

  .approach {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 58px;
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 104px;
    --section-y: 82px;
  }

  body::before {
    background-size: 38px 38px;
  }

  #ambient {
    opacity: 0.36;
  }

  .paper-noise {
    opacity: 0.035;
  }

  .site-header {
    min-height: 58px;
    padding-top: 0;
  }

  .brand span,
  .header-note span:first-child,
  .header-dot {
    display: none;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 1 0 auto;
    min-height: 45px;
    padding: 14px 16px;
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-kicker {
    padding-top: 18px;
  }

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

  .hero-stage {
    min-height: clamp(340px, 52vh, 500px);
    padding-bottom: 40px;
  }

  .hero-title,
  .hero-reveal p {
    align-items: flex-start;
    width: 100%;
    padding-inline: var(--page-pad);
    font-size: clamp(62px, 21vw, 114px);
    line-height: 0.82;
    text-align: left;
  }

  .hero-reveal p {
    font-size: clamp(58px, 19vw, 104px);
  }

  .hero-title span:last-child {
    margin-left: 0.42em;
  }

  .hero-reveal p span:last-child {
    margin-left: 0.42em;
  }

  .hero-reveal::after {
    width: 120vw;
  }

  .reveal-toggle {
    right: var(--page-pad);
    bottom: 12px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-meta {
    gap: 18px;
  }

  .about,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-note,
  .section-summary {
    grid-column: 1;
  }

  .about-copy h2,
  .section-heading h2,
  .approach-intro h2,
  .note-content h2 {
    font-size: clamp(50px, 15vw, 78px);
  }

  .about-copy .lead {
    margin-top: 34px;
    font-size: 17px;
    line-height: 1.85;
  }

  .about-note {
    width: 100%;
  }

  .section-heading {
    padding-bottom: 52px;
  }

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

  .work-card {
    min-height: 340px;
  }

  .work-card:nth-child(odd) {
    border-right: 0;
  }

  .work-card:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .work-card h3 {
    margin-top: 58px;
  }

  .approach {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .section-label-light {
    margin-bottom: 80px;
  }

  .approach-list li {
    grid-template-columns: 36px 1fr auto;
    gap: 16px;
  }

  .note {
    min-height: 700px;
  }

  .note-content {
    width: 100%;
    margin-top: 128px;
  }

  .note-copy {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .note-signature {
    bottom: 28px;
  }

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

  .footer-meta {
    grid-column: 1;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .header-note {
    font-size: 9px;
  }

  .work-card ul {
    flex-wrap: wrap;
  }

  .footer-meta {
    flex-wrap: wrap;
  }
}

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

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

  #ambient {
    opacity: 0.22;
  }
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--page-pad);
}

.error-shell {
  width: min(920px, 100%);
  padding: clamp(34px, 7vw, 88px);
  border: 1px solid var(--line);
  background: rgba(244, 240, 235, 0.84);
}

.error-code {
  margin: 0 0 clamp(70px, 10vw, 140px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.error-shell h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.error-shell > p:not(.error-code) {
  max-width: 500px;
  margin: 44px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.error-shell a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background 180ms ease,
    color 180ms ease;
}

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