@font-face {
  font-family: "DM Sans";
  src: url("vendor/fonts/dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* 2026 cinematic neural-field redesign */

:root {
  --ivory: #efe8dc;
  --chalk: #faf7f0;
  --fog: #c9c0b4;
  --ash: #8e887f;
  --umber: #9d7964;
  --mineral: #6f9188;
  --mineral-pale: #b9cec5;
  --graphite: #242522;
  --black: #0c0d0b;
  --glass-dark: rgba(21, 22, 19, 0.52);
  --glass-line: rgba(255, 251, 242, 0.18);
  --glass-highlight: rgba(255, 255, 255, 0.09);
  --nav-height: 58px;
}

html {
  background: var(--black);
}

body {
  background: var(--ivory);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

.scene-stage {
  background:
    linear-gradient(112deg, rgba(9, 10, 8, 1) 0%, rgba(14, 15, 13, 0.99) 52%, rgba(25, 26, 22, 0.98) 100%),
    var(--black);
}

body.theme-light .scene-stage {
  background:
    linear-gradient(130deg, rgba(250, 247, 240, 0.99) 0%, rgba(239, 232, 220, 0.96) 56%, rgba(201, 192, 180, 0.92) 100%),
    var(--ivory);
}

body.theme-dark .scene-stage {
  background:
    linear-gradient(112deg, rgba(9, 10, 8, 1) 0%, rgba(14, 15, 13, 0.99) 52%, rgba(25, 26, 22, 0.98) 100%),
    var(--black);
}

.scene-grain {
  opacity: 0.22;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(158, 126, 105, 0.016) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}

.site-header {
  top: 20px;
}

.nav-rail {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  min-height: var(--nav-height);
  padding: 0;
  color: var(--chalk);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.theme-dark .nav-rail,
body.theme-light .nav-rail {
  color: var(--chalk);
  border: 0;
  background: transparent;
}

.brand,
.nav-chapters,
.nav-contact {
  position: relative;
  min-height: var(--nav-height);
  border: 1px solid var(--glass-line);
  border-radius: 5px;
  background:
    linear-gradient(145deg, var(--glass-highlight), transparent 46%),
    var(--glass-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 14px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px) saturate(128%);
  -webkit-backdrop-filter: blur(22px) saturate(128%);
}

.brand {
  gap: 11px;
  width: max-content;
  padding: 0 18px 0 9px;
}

.brand-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--black);
  border-radius: 3px;
  background: var(--chalk);
  font-size: 10px;
  font-weight: 600;
}

.brand strong {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.brand > span:last-child {
  color: var(--mineral-pale);
  font-size: 9px;
}

.nav-chapters {
  gap: 2px;
  padding: 5px;
}

.nav-chapters a {
  min-height: 46px;
  padding: 0 15px;
  color: rgba(250, 247, 240, 0.74);
  border-radius: 3px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-chapters a span {
  margin-right: 7px;
  color: rgba(185, 206, 197, 0.5);
  font-size: 8px;
}

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

.nav-chapters a:hover,
.nav-chapters a:focus-visible,
.nav-chapters a.is-current {
  color: var(--chalk);
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact {
  min-width: 128px;
  padding: 0 18px;
  justify-content: space-between;
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18)),
    rgba(239, 232, 220, 0.78);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--black);
  background: var(--chalk);
}

body.theme-light .brand,
body.theme-light .nav-chapters {
  color: var(--graphite);
  border-color: rgba(36, 37, 34, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12)),
    rgba(239, 232, 220, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(36, 37, 34, 0.08),
    0 14px 40px rgba(36, 37, 34, 0.1);
}

body.theme-light .brand > span:last-child,
body.theme-light .nav-chapters a span {
  color: var(--mineral);
}

body.theme-light .nav-chapters a {
  color: rgba(36, 37, 34, 0.64);
}

body.theme-light .nav-chapters a:hover,
body.theme-light .nav-chapters a:focus-visible,
body.theme-light .nav-chapters a.is-current {
  color: var(--black);
  background: rgba(36, 37, 34, 0.08);
}

.hero {
  min-height: calc(100svh - 58px);
  color: var(--chalk);
  background: rgba(8, 9, 7, 0.34);
}

.hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.88) 0%, rgba(8, 9, 7, 0.58) 34%, rgba(8, 9, 7, 0.08) 66%, rgba(8, 9, 7, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 9, 7, 0.24) 0%, transparent 46%, rgba(8, 9, 7, 0.76) 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border: solid rgba(250, 247, 240, 0.08);
  border-width: 0 1px;
  margin: 0 var(--gutter);
  pointer-events: none;
}

.hero-copy,
.hero-ledger,
.vertical-mark,
.hero-index,
.mesh-readout {
  z-index: 4;
}

.hero-copy {
  bottom: 62px;
  width: min(720px, 52vw);
}

.eyebrow {
  color: rgba(250, 247, 240, 0.64);
  font-size: 10px;
}

.eyebrow span {
  background: var(--mineral-pale);
}

.hero h1 {
  max-width: 700px;
  margin-top: 22px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 112px;
  font-weight: 400;
  line-height: 0.78;
}

.hero h1 span {
  color: var(--chalk);
}

.hero h1 em {
  margin-top: 26px;
  color: var(--mineral-pale);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 58px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(250, 247, 240, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.primary-action,
.text-action {
  position: relative;
  display: inline-flex;
  height: 50px;
  min-width: 168px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  padding: 0 16px;
  color: var(--chalk);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 4px;
  background:
    radial-gradient(circle at var(--glint-x, 20%) var(--glint-y, 0%), rgba(255, 255, 255, 0.18), transparent 44%),
    rgba(39, 40, 35, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 16px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-action {
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at var(--glint-x, 20%) var(--glint-y, 0%), rgba(255, 255, 255, 0.8), transparent 46%),
    rgba(239, 232, 220, 0.82);
}

.primary-action:hover,
.primary-action:focus-visible,
.text-action:hover,
.text-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.46);
}

.primary-action:hover,
.primary-action:focus-visible {
  color: var(--black);
  background: var(--chalk);
}

.mesh-readout {
  position: absolute;
  top: 116px;
  right: var(--gutter);
  display: grid;
  grid-template-columns: 8px auto;
  align-items: center;
  column-gap: 9px;
  color: rgba(250, 247, 240, 0.54);
  text-align: right;
}

.mesh-readout p,
.mesh-readout strong {
  margin: 0;
}

.mesh-readout p {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.mesh-readout strong {
  grid-column: 2;
  margin-top: 5px;
  color: rgba(250, 247, 240, 0.88);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
}

.readout-pulse {
  grid-row: 1 / span 2;
  width: 6px;
  height: 6px;
  border: 1px solid var(--mineral-pale);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(185, 206, 197, 0.55);
  animation: field-pulse 2.4s ease-in-out infinite;
}

@keyframes field-pulse {
  50% { opacity: 0.3; transform: scale(0.72); }
}

.hero-ledger {
  right: var(--gutter);
  bottom: 58px;
  width: 280px;
  color: rgba(250, 247, 240, 0.62);
  border-top-color: rgba(250, 247, 240, 0.2);
}

.hero-ledger dl div {
  border-top-color: rgba(250, 247, 240, 0.12);
}

.hero-ledger dd {
  color: rgba(250, 247, 240, 0.88);
}

.vertical-mark,
.hero-index {
  color: rgba(250, 247, 240, 0.46);
}

.proof-rail {
  min-height: 58px;
  color: rgba(250, 247, 240, 0.72);
  border-color: rgba(250, 247, 240, 0.12);
  background: rgba(8, 9, 7, 0.96);
}

.proof-rail p {
  border-color: rgba(250, 247, 240, 0.11);
  font-size: 9px;
}

.field {
  background: rgba(8, 9, 7, 0.78);
}

.field-sticky::after {
  border-color: rgba(185, 206, 197, 0.18);
  box-shadow: inset 0 0 90px rgba(111, 145, 136, 0.04);
}

.field-step.is-active {
  border-left-color: var(--mineral-pale);
}

.practice {
  background: rgba(239, 232, 220, 0.93);
}

.practice-header h2,
.thesis h2,
.gather h2,
.contact h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.model-plate {
  border-color: rgba(36, 37, 34, 0.19);
  box-shadow: 0 30px 90px rgba(36, 37, 34, 0.06);
}

.model-plate:nth-of-type(2) {
  background: rgba(250, 247, 240, 0.48);
}

.plate-copy h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.thesis,
.gather {
  background: rgba(8, 9, 7, 0.8);
}

.contact {
  background: rgba(239, 232, 220, 0.92);
}

.page-progress span {
  background: var(--umber);
}

body.theme-dark .page-progress span {
  background: var(--mineral-pale);
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 88px;
  }

  .hero h1 em {
    font-size: 48px;
  }

  .hero-ledger {
    width: 240px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 52px;
  }

  .site-header {
    top: 12px;
    right: 16px;
    left: 16px;
  }

  .nav-rail {
    grid-template-columns: 1fr auto;
  }

  .brand,
  .nav-contact {
    min-height: var(--nav-height);
  }

  .brand {
    padding-right: 14px;
  }

  .brand-index {
    width: 34px;
    height: 34px;
  }

  .brand > span:last-child,
  .nav-chapters {
    display: none;
  }

  .nav-contact {
    min-width: 108px;
    padding: 0 14px;
  }

  .hero {
    min-height: calc(100svh - 46px);
  }

  .hero::after {
    margin: 0 16px;
  }

  .mesh-readout {
    top: 86px;
    right: 18px;
  }

  .hero-copy {
    right: 18px;
    bottom: 32px;
    left: 18px;
    width: auto;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: 60px;
    line-height: 0.82;
  }

  .hero h1 em {
    margin-top: 18px;
    font-size: 34px;
    line-height: 0.95;
  }

  .hero-statement {
    max-width: 92%;
    margin-top: 20px;
    font-size: 14px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
  }

  .primary-action,
  .text-action {
    min-width: 0;
    flex: 1 1 0;
    gap: 10px;
  }

  .hero-ledger,
  .vertical-mark,
  .hero-index {
    display: none;
  }

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

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

@media (max-width: 430px) {
  .brand strong {
    font-size: 10px;
  }

  .nav-contact {
    min-width: 94px;
    font-size: 10px;
  }

  .mesh-readout strong {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h1 em {
    font-size: 30px;
  }

  .primary-action,
  .text-action {
    height: 48px;
    padding: 0 12px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .readout-pulse {
    animation: none;
  }

  .primary-action,
  .text-action {
    transition: none;
  }
}

@font-face {
  font-family: "DM Sans";
  src: url("vendor/fonts/dm-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("vendor/fonts/dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("vendor/fonts/instrument-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("vendor/fonts/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@layer legacy {
:root {
  --ivory: #f4eee3;
  --chalk: #fffdf8;
  --fog: #d8d2c8;
  --ash: #8d8a84;
  --umber: #745b4d;
  --mineral: #3e6661;
  --mineral-pale: #a7bdb6;
  --graphite: #282622;
  --black: #0b0d0c;
  --gutter: 4.75vw;
  --max-width: 1600px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--ivory);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-preloading {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--chalk);
  background: var(--black);
  transform: translateY(-160%);
}

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--black);
  background: var(--chalk);
  transition:
    color 650ms cubic-bezier(0.16, 1, 0.3, 1),
    background 650ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  clip-path: inset(0 0 0 0);
}

.intro.is-dark {
  color: var(--chalk);
  background: var(--black);
}

.intro.is-revealed {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.intro-loader,
.intro-identity {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-loader {
  gap: 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro.is-dark .intro-loader {
  opacity: 0;
  transform: translateY(-16px);
}

.intro-arc {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: calibrate 900ms linear infinite;
}

@keyframes calibrate {
  to { transform: rotate(360deg); }
}

.intro-identity {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease 160ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.intro.is-dark .intro-identity {
  opacity: 1;
  transform: translateY(0);
}

.intro-identity::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(252, 251, 246, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.intro-identity p,
.intro-identity span {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.intro-identity strong {
  position: relative;
  z-index: 1;
  margin: 18px 0 20px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 84px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
}

.scene-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(28deg, transparent 36%, rgba(116, 91, 77, 0.1) 72%, rgba(62, 102, 97, 0.07) 100%),
    linear-gradient(152deg, rgba(255, 253, 248, 0.97) 0%, rgba(244, 238, 227, 0.84) 43%, rgba(216, 210, 200, 0.68) 72%, rgba(141, 138, 132, 0.56) 100%),
    var(--ivory);
  transition: background 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .scene-stage {
  background:
    linear-gradient(145deg, rgba(11, 13, 12, 0.98) 0%, rgba(24, 24, 22, 0.96) 60%, rgba(51, 49, 45, 0.92) 100%),
    var(--black);
}

#latent-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1000ms ease;
  pointer-events: none;
}

body.is-ready #latent-canvas {
  opacity: 1;
}

.scene-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, rgba(12, 13, 12, 0.017) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(252, 251, 246, 0.017) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.page-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 2px;
  height: 100svh;
  background: rgba(12, 13, 12, 0.1);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mineral);
  transform: scaleY(0);
  transform-origin: top;
}

body.theme-dark .page-progress {
  color: var(--chalk);
  background: rgba(252, 251, 246, 0.12);
}

body.theme-dark .page-progress span {
  background: var(--mineral-pale);
}

.site-header {
  position: fixed;
  top: 18px;
  right: var(--gutter);
  left: var(--gutter);
  z-index: 800;
}

.nav-rail {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--chalk);
  border: 1px solid rgba(252, 251, 246, 0.14);
  border-radius: 6px;
  background: rgba(28, 26, 23, 0.86);
  box-shadow: 0 18px 50px rgba(12, 13, 12, 0.12);
  backdrop-filter: blur(18px);
  transition: color 350ms ease, border-color 350ms ease, background 350ms ease;
}

body.theme-dark .nav-rail {
  color: var(--chalk);
  border-color: rgba(252, 251, 246, 0.13);
  background: rgba(16, 17, 15, 0.9);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
}

.brand strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
}

.brand span {
  color: rgba(252, 251, 246, 0.52);
  font-size: 10px;
  font-weight: 600;
}

.nav-chapters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-chapters a,
.nav-contact {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.nav-chapters a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 1px;
  content: "";
  background: var(--mineral-pale);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

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

.nav-contact {
  gap: 14px;
  justify-self: end;
  border: 1px solid rgba(252, 251, 246, 0.24);
  border-radius: 2px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--graphite);
  background: var(--chalk);
}

.nav-rail a:focus-visible,
.hero-actions a:focus-visible,
.contact a:focus-visible,
.contact footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

main,
.site-header,
.page-progress {
  opacity: 0;
  transition: opacity 800ms ease;
}

body.is-ready main,
body.is-ready .site-header,
body.is-ready .page-progress {
  opacity: 1;
}

.scene-section,
.proof-rail {
  position: relative;
  z-index: 3;
}

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

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 238, 227, 0.86) 0%, rgba(244, 238, 227, 0.18) 48%, transparent 76%),
    linear-gradient(180deg, transparent 54%, rgba(40, 38, 34, 0.13) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  bottom: 78px;
  left: var(--gutter);
  width: min(650px, 48vw);
}

.eyebrow,
.section-code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow span,
.section-code span {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--mineral);
}

.theme-dark-section .section-code span {
  background: var(--mineral-pale);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: 88px;
  font-weight: 500;
  line-height: 0.88;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 68px;
  font-style: italic;
  font-weight: 400;
  color: var(--umber);
}

.hero-statement {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 20px;
  color: var(--chalk);
  border: 1px solid var(--black);
  border-radius: 2px;
  background: var(--black);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-action:hover {
  color: var(--black);
  background: var(--chalk);
  transform: translateY(-2px);
}

.text-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(12, 13, 12, 0.34);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.hero-ledger {
  position: absolute;
  right: var(--gutter);
  bottom: 66px;
  width: min(330px, 28vw);
  padding-right: 16px;
  border-right: 1px solid rgba(12, 13, 12, 0.28);
  text-align: right;
}

.ledger-label {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-ledger dl {
  margin: 0;
}

.hero-ledger dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid rgba(12, 13, 12, 0.16);
}

.hero-ledger dt,
.hero-ledger dd {
  margin: 0;
  font-size: 11px;
}

.hero-ledger dt {
  color: rgba(12, 13, 12, 0.52);
  text-transform: uppercase;
}

.hero-ledger dd {
  font-weight: 600;
}

.vertical-mark {
  position: absolute;
  top: 50%;
  left: 17px;
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: translateY(-35%);
}

.hero-index {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 16svh;
  align-items: stretch;
  padding: 0 var(--gutter);
  color: var(--chalk);
  border-top: 1px solid rgba(252, 251, 246, 0.16);
  background: var(--black);
}

.proof-rail p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 22px 26px;
  border-right: 1px solid rgba(252, 251, 246, 0.13);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.proof-rail p:last-child {
  border-right: 0;
}

.field {
  height: 250svh;
  color: var(--chalk);
  background: rgba(12, 13, 12, 0.9);
}

.field-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  width: min(100%, var(--max-width));
  height: 100svh;
  margin: 0 auto;
  padding: 120px var(--gutter) 72px;
  overflow: hidden;
}

.field-sticky::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(12, 13, 12, 0.72), rgba(12, 13, 12, 0.18) 50%, rgba(12, 13, 12, 0.7));
}

.chapter-heading {
  grid-column: 1 / span 6;
  align-self: start;
}

.chapter-heading h2,
.practice-header h2,
.thesis h2,
.contact h2 {
  margin: 28px 0 0;
  font-size: 76px;
  font-weight: 500;
  line-height: 0.95;
}

.chapter-heading h2 em,
.practice-header h2 em,
.thesis h2 em,
.contact h2 em {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
}

.field-steps {
  position: relative;
  grid-column: 8 / -1;
  min-height: 320px;
}

.field-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(32px);
  transition: opacity 700ms ease, filter 900ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.field-step.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.field-step > p {
  margin: 0 0 22px;
  color: rgba(252, 251, 246, 0.5);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.field-step h3 {
  max-width: 520px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 58px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
}

.field-step > span {
  display: block;
  max-width: 470px;
  margin-top: 24px;
  color: rgba(252, 251, 246, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

.field-status {
  position: absolute;
  right: var(--gutter);
  bottom: 42px;
  left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(252, 251, 246, 0.16);
}

.field-status span {
  color: rgba(252, 251, 246, 0.5);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.field-status span:last-child {
  text-align: right;
}

.field-status strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: var(--mineral-pale);
}

.practice {
  color: var(--black);
  background: rgba(243, 240, 232, 0.97);
}

.practice-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  width: min(100%, var(--max-width));
  min-height: 78svh;
  margin: 0 auto;
  padding: 150px var(--gutter) 100px;
}

.practice-header > div {
  grid-column: 1 / span 7;
}

.practice-header > p {
  grid-column: 9 / -1;
  max-width: 430px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.practice-header h2 {
  font-size: 88px;
}

.practice-header h2 em,
.contact h2 em {
  color: var(--umber);
}

.model-plate {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: 94svh;
  margin: 0 auto;
  padding: 100px var(--gutter);
  border-top: 1px solid rgba(12, 13, 12, 0.16);
}

.plate-copy {
  grid-column: 1 / span 5;
  max-width: 540px;
}

.system-plate .plate-copy {
  grid-column: 8 / -1;
}

.plate-index {
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--umber);
}

.plate-copy h3 {
  margin: 0;
  font-size: 62px;
  font-weight: 500;
  line-height: 0.98;
}

.plate-copy > p:not(.plate-index) {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgba(12, 13, 12, 0.64);
  font-size: 17px;
  line-height: 1.65;
}

.plate-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.plate-copy li {
  padding: 8px 11px;
  border: 1px solid rgba(12, 13, 12, 0.2);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.plate-visual {
  position: relative;
  grid-column: 7 / -1;
  min-height: 66svh;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 13, 12, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.72), rgba(216, 210, 200, 0.42) 70%, rgba(167, 189, 182, 0.28)),
    var(--fog);
}

.system-plate .plate-visual {
  grid-column: 1 / span 6;
}

.plate-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background:
    linear-gradient(rgba(12, 13, 12, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 13, 12, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
}

.plate-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 4;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 13, 12, 0.22);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.contour-set {
  position: absolute;
  inset: 10% 7% 16%;
  display: grid;
  place-items: center;
}

.contour-set span {
  position: absolute;
  width: 30%;
  aspect-ratio: 1.6;
  border: 1px solid rgba(12, 13, 12, 0.3);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.contour-set span:nth-child(2) { width: 42%; transform: rotate(-5deg); }
.contour-set span:nth-child(3) { width: 54%; transform: rotate(-1deg); }
.contour-set span:nth-child(4) { width: 66%; transform: rotate(3deg); }
.contour-set span:nth-child(5) { width: 78%; transform: rotate(7deg); }

.contour-set::after {
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--mineral);
  border-radius: 50%;
  background: var(--chalk);
  box-shadow: 0 0 0 12px rgba(12, 13, 12, 0.06);
}

.system-visual {
  color: var(--chalk);
  background:
    linear-gradient(145deg, rgba(12, 13, 12, 0.95), rgba(55, 56, 53, 0.9)),
    var(--black);
}

.system-visual::before {
  background:
    linear-gradient(rgba(252, 251, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 251, 246, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.system-visual figcaption {
  border-top-color: rgba(252, 251, 246, 0.2);
}

.system-flow {
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

.system-flow span {
  display: grid;
  width: 80px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(252, 251, 246, 0.28);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.system-flow i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 189, 182, 0.12), var(--mineral-pale), rgba(167, 189, 182, 0.12));
}

.system-traces span {
  position: absolute;
  top: 30%;
  left: 17%;
  width: 55%;
  height: 1px;
  background: rgba(252, 251, 246, 0.1);
  transform: rotate(-10deg);
}

.system-traces span:nth-child(2) { top: 43%; left: 26%; width: 47%; transform: rotate(-1deg); }
.system-traces span:nth-child(3) { top: 56%; left: 35%; width: 39%; transform: rotate(8deg); }

.distribution {
  position: absolute;
  right: 9%;
  bottom: 20%;
  left: 9%;
  display: flex;
  height: 58%;
  align-items: end;
  gap: 2.4%;
}

.distribution span {
  width: 7.6%;
  height: var(--h);
  border: 1px solid rgba(12, 13, 12, 0.35);
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.58), rgba(12, 13, 12, 0.08));
}

.distribution span:nth-child(1) { --h: 18%; }
.distribution span:nth-child(2) { --h: 32%; }
.distribution span:nth-child(3) { --h: 52%; }
.distribution span:nth-child(4) { --h: 74%; }
.distribution span:nth-child(5) { --h: 92%; }
.distribution span:nth-child(6) { --h: 78%; }
.distribution span:nth-child(7) { --h: 60%; }
.distribution span:nth-child(8) { --h: 40%; }
.distribution span:nth-child(9) { --h: 24%; }
.distribution span:nth-child(10) { --h: 14%; }

.baseline {
  position: absolute;
  top: 43%;
  right: 7%;
  left: 7%;
  height: 1px;
  border-top: 1px dashed rgba(116, 91, 77, 0.7);
}

.thesis {
  min-height: 125svh;
  color: var(--chalk);
  background: rgba(12, 13, 12, 0.96);
}

.thesis-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 150px var(--gutter) 140px;
}

.thesis .section-code {
  grid-column: 1 / -1;
}

.thesis h2 {
  grid-column: 1 / span 7;
  margin-top: 80px;
  font-size: 96px;
}

.question-grid {
  grid-column: 1 / span 7;
  margin-top: 100px;
  border-top: 1px solid rgba(252, 251, 246, 0.18);
}

.question-grid p {
  margin: 0;
  padding: 24px 0;
  color: rgba(252, 251, 246, 0.68);
  border-bottom: 1px solid rgba(252, 251, 246, 0.18);
  font-size: 19px;
}

.thesis aside {
  grid-column: 9 / -1;
  align-self: end;
  margin-top: 100px;
  padding-top: 22px;
  border-top: 1px solid rgba(252, 251, 246, 0.18);
}

.thesis aside p {
  margin: 0;
  color: rgba(252, 251, 246, 0.7);
  font-size: 17px;
  line-height: 1.65;
}

.thesis aside span {
  display: block;
  margin-top: 36px;
  color: rgba(252, 251, 246, 0.4);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.gather {
  height: 230svh;
  color: var(--chalk);
  background: var(--black);
}

.gather-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 130px var(--gutter) 80px;
}

.gather-sticky .section-code {
  position: absolute;
  top: 130px;
  left: var(--gutter);
}

.gather-line {
  max-width: 1200px;
  margin: 0;
  font-size: 92px;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
}

.gather-line span,
.gather-line em {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.gather-line em {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.16em;
  font-style: italic;
  font-weight: 400;
}

.gather-note {
  position: absolute;
  right: var(--gutter);
  bottom: 46px;
  max-width: 390px;
  margin: 0;
  color: rgba(252, 251, 246, 0.52);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.gather.is-gathered .gather-note {
  opacity: 1;
  transform: translateY(0);
}

.contact {
  min-height: 100svh;
  color: var(--black);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(216, 210, 200, 0.96) 72%, rgba(167, 189, 182, 0.62)),
    var(--ivory);
}

.contact-inner {
  display: flex;
  min-height: 86svh;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 160px var(--gutter) 90px;
}

.contact h2 {
  max-width: 1040px;
  margin-top: 70px;
  font-size: 108px;
}

.contact-inner > p:not(.section-code) {
  max-width: 560px;
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.contact-inner > a {
  display: flex;
  width: min(100%, 800px);
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  padding: 24px 0;
  border-top: 1px solid rgba(12, 13, 12, 0.25);
  border-bottom: 1px solid rgba(12, 13, 12, 0.25);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  font-style: italic;
  text-decoration: none;
}

.contact-inner > a span {
  color: var(--mineral);
}

.contact footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 14svh;
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(12, 13, 12, 0.18);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact footer span:nth-child(2) {
  text-align: center;
}

.contact footer a {
  justify-self: end;
  text-decoration: none;
}

.reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px);
  transition: opacity 900ms ease, filter 1100ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.is-visible,
body.is-ready .hero .reveal-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

body.is-ready .hero-ledger {
  transition-delay: 220ms;
}

@media (max-width: 1180px) {
  .nav-rail {
    grid-template-columns: minmax(170px, 1fr) auto minmax(140px, 1fr);
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero h1 em {
    font-size: 58px;
  }

  .chapter-heading h2,
  .practice-header h2,
  .thesis h2 {
    font-size: 68px;
  }

  .contact h2 {
    font-size: 84px;
  }

  .gather-line {
    font-size: 74px;
  }

  .plate-copy h3 {
    font-size: 50px;
  }

  .system-flow span {
    width: 68px;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 22px;
    --nav-height: 62px;
  }

  .intro-identity strong {
    font-size: 58px;
  }

  .intro-identity::before {
    width: 88vw;
  }

  .site-header {
    top: 10px;
  }

  .nav-rail {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand span,
  .nav-chapters {
    display: none;
  }

  .nav-contact {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(244, 238, 227, 0.82) 0%, rgba(244, 238, 227, 0.32) 52%, rgba(40, 38, 34, 0.2) 100%);
  }

  .hero-copy {
    bottom: 68px;
    width: calc(100% - 44px);
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 52px;
  }

  .hero h1 em {
    margin-top: 8px;
    font-size: 43px;
  }

  .hero-statement {
    max-width: 360px;
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 24px;
  }

  .primary-action {
    min-height: 46px;
    gap: 18px;
    padding: 0 16px;
  }

  .text-action {
    font-size: 12px;
  }

  .hero-ledger,
  .vertical-mark {
    display: none;
  }

  .hero-index {
    bottom: 20px;
  }

  .proof-rail {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .proof-rail p {
    min-height: 68px;
    display: grid;
    place-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(252, 251, 246, 0.13);
    font-size: 10px;
  }

  .field {
    height: 210svh;
  }

  .field-sticky {
    display: block;
    padding-top: 100px;
  }

  .chapter-heading h2,
  .practice-header h2,
  .thesis h2,
  .contact h2 {
    font-size: 50px;
  }

  .field-steps {
    min-height: 330px;
    margin-top: 46px;
  }

  .field-step {
    justify-content: flex-start;
  }

  .field-step h3 {
    font-size: 43px;
  }

  .field-step > span {
    font-size: 15px;
  }

  .field-status {
    bottom: 26px;
  }

  .practice-header {
    display: block;
    min-height: 72svh;
    padding-top: 130px;
  }

  .practice-header h2 {
    margin-top: 34px;
  }

  .practice-header > p {
    max-width: 420px;
    margin-top: 42px;
    font-size: 16px;
  }

  .model-plate {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 58px;
    align-items: stretch;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .system-plate .plate-visual {
    order: 2;
  }

  .plate-copy {
    max-width: 600px;
  }

  .plate-copy h3 {
    font-size: 46px;
  }

  .plate-copy > p:not(.plate-index) {
    font-size: 16px;
  }

  .plate-visual {
    width: 100%;
    min-height: 56svh;
  }

  .thesis {
    min-height: auto;
  }

  .thesis-inner {
    display: block;
    padding-top: 130px;
    padding-bottom: 110px;
  }

  .thesis h2 {
    margin-top: 60px;
  }

  .question-grid {
    margin-top: 70px;
  }

  .thesis aside {
    margin-top: 70px;
  }

  .gather {
    height: 190svh;
  }

  .gather-sticky {
    padding-top: 110px;
  }

  .gather-sticky .section-code {
    top: 104px;
  }

  .gather-line {
    font-size: 49px;
  }

  .gather-note {
    right: 22px;
    bottom: 30px;
    left: 22px;
    text-align: left;
  }

  .contact-inner {
    min-height: 84svh;
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .contact h2 {
    margin-top: 54px;
  }

  .contact-inner > p:not(.section-code) {
    font-size: 16px;
  }

  .contact-inner > a {
    margin-top: 55px;
    font-size: 29px;
  }

  .contact footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .contact footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy {
    bottom: 60px;
  }

  .hero-statement {
    max-width: 330px;
  }

  .primary-action {
    min-width: 202px;
  }

  .field-status span:last-child {
    display: none;
  }

  .field-status {
    grid-template-columns: 1fr auto;
  }

  .system-flow {
    right: 5%;
    left: 5%;
    gap: 7px;
  }

  .system-flow span {
    width: 57px;
    font-size: 8px;
  }

  .gather-line {
    font-size: 42px;
  }

  .contact h2 {
    font-size: 46px;
  }

  .contact-inner > a {
    font-size: 25px;
  }
}

@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;
  }

  .intro {
    display: none;
  }

  body.is-preloading {
    overflow: auto;
  }

  main,
  .site-header,
  .page-progress,
  #latent-canvas {
    opacity: 1;
  }

  .intro-arc,
  .reveal-item,
  .field-step,
  .gather-line span,
  .gather-line em {
    animation: none;
    filter: none;
    transform: none;
    transition: none;
  }

  .reveal-item {
    opacity: 1;
  }
}
}

/* Ali Khan content architecture */

.site-header {
  right: clamp(18px, 1.5vw, 30px);
}

.hero::after {
  margin-right: 0;
  border-right: 0;
}

.mesh-readout,
.hero-ledger {
  right: clamp(18px, 1.5vw, 30px);
}

.practice {
  padding-bottom: 80px;
}

.research-rail {
  display: grid;
  grid-auto-columns: minmax(470px, 39vw);
  grid-auto-flow: column;
  gap: 16px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 var(--gutter) 118px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--umber) transparent;
  scrollbar-width: thin;
}

.research-rail:focus-visible {
  outline: 2px solid var(--mineral);
  outline-offset: -8px;
}

.paper-folio {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(175px, 0.75fr);
  min-height: 400px;
  overflow: hidden;
  color: var(--black);
  border: 1px solid rgba(36, 37, 34, 0.18);
  border-radius: 6px;
  background: rgba(250, 247, 240, 0.52);
  box-shadow: 0 18px 50px rgba(36, 37, 34, 0.07);
  scroll-snap-align: start;
}

.paper-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.paper-copy > p,
.paper-copy > span {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.paper-copy > p {
  color: var(--umber);
}

.paper-copy h3 {
  margin: 28px 0 22px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 0.98;
}

.paper-copy > span {
  color: rgba(36, 37, 34, 0.55);
}

.paper-copy a,
.medium-note a,
.inline-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  margin-top: auto;
  color: inherit;
  border-bottom: 1px solid rgba(36, 37, 34, 0.34);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.paper-copy a b,
.medium-note a b {
  font-size: 15px;
  font-weight: 400;
}

.paper-copy a:hover,
.paper-copy a:focus-visible,
.medium-note a:hover,
.medium-note a:focus-visible,
.inline-profile-link:hover,
.inline-profile-link:focus-visible {
  color: var(--mineral);
  border-bottom-color: var(--mineral);
}

.paper-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-left: 1px solid rgba(36, 37, 34, 0.15);
  background:
    linear-gradient(rgba(36, 37, 34, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 37, 34, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(239, 232, 220, 0.92), rgba(185, 206, 197, 0.42));
  background-size: 22px 22px, 22px 22px, auto;
}

.paper-sheet::before {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 1px;
  content: "";
  background: rgba(36, 37, 34, 0.28);
}

.paper-sheet span,
.paper-sheet strong,
.paper-sheet i {
  position: relative;
}

.paper-sheet span {
  margin-top: 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.paper-sheet strong {
  color: var(--umber);
  font-size: 10px;
  font-weight: 600;
}

.paper-sheet i {
  max-width: 180px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.05;
}

.skills-plate,
.profile-plate,
.connect-plate {
  min-height: 82svh;
}

.skills-wall {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.skill-token {
  display: grid;
  min-height: 92px;
  align-content: space-between;
  padding: 12px;
  border: 1px solid rgba(36, 37, 34, 0.16);
  border-radius: 4px;
  background: rgba(250, 247, 240, 0.5);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.skill-token:hover {
  border-color: var(--mineral);
  background: rgba(185, 206, 197, 0.22);
  transform: translateY(-3px);
}

.skill-token b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--chalk);
  border-radius: 3px;
  background: var(--graphite);
  font-size: 9px;
  font-weight: 600;
}

.skill-token:nth-child(3n + 2) b {
  color: var(--graphite);
  background: var(--mineral-pale);
}

.skill-token:nth-child(3n) b {
  background: var(--umber);
}

.skill-token span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.skills-wall > p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(36, 37, 34, 0.5);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.inline-profile-link {
  margin-top: 32px;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}

.connect-actions .inline-profile-link {
  min-height: 36px;
  margin-top: 0;
}

@media (max-width: 820px) {
  .connect-actions {
    display: grid;
    justify-items: start;
    gap: 8px;
  }
}

.profile-plate {
  align-items: start;
  padding-top: 120px;
  padding-bottom: 120px;
  background: rgba(250, 247, 240, 0.34);
}

.education-panel {
  grid-column: 1 / span 5;
}

.education-panel ol {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.education-panel li {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid rgba(36, 37, 34, 0.17);
}

.education-panel li:last-child {
  border-bottom: 1px solid rgba(36, 37, 34, 0.17);
}

.education-panel li span,
.education-panel li em {
  color: rgba(36, 37, 34, 0.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.education-panel li strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
}

.projects-panel {
  grid-column: 7 / -1;
}

.projects-panel > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 16px;
  padding: 19px 0;
  border-top: 1px solid rgba(36, 37, 34, 0.17);
}

.projects-panel > div:last-child {
  border-bottom: 1px solid rgba(36, 37, 34, 0.17);
}

.projects-panel > div > span {
  grid-row: 1 / span 2;
  color: var(--umber);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
}

.projects-panel strong {
  font-size: 15px;
  font-weight: 600;
}

.projects-panel p {
  margin: 7px 0 0;
  color: rgba(36, 37, 34, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.connect-panel {
  grid-column: 7 / -1;
  display: grid;
  gap: 18px;
  align-content: center;
}

.medium-note {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 26px;
  color: var(--chalk);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(185, 206, 197, 0.16), transparent 52%),
    var(--graphite);
}

.medium-note p,
.medium-note h4,
.medium-note span {
  margin: 0;
}

.medium-note p {
  color: var(--mineral-pale);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.medium-note h4 {
  margin-top: 36px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 0.95;
}

.medium-note span {
  max-width: 270px;
  margin-top: 13px;
  color: rgba(250, 247, 240, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.medium-note a {
  width: max-content;
  margin-top: auto;
  color: var(--chalk);
  border-bottom-color: rgba(250, 247, 240, 0.28);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(36, 37, 34, 0.18);
  border-left: 1px solid rgba(36, 37, 34, 0.18);
}

.social-links a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: var(--black);
  border-right: 1px solid rgba(36, 37, 34, 0.18);
  border-bottom: 1px solid rgba(36, 37, 34, 0.18);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--chalk);
  background: var(--graphite);
}

@media (max-width: 820px) {
  .site-header {
    right: 16px;
  }

  .mesh-readout {
    right: 18px;
  }

  .research-rail {
    grid-auto-columns: calc(100vw - 36px);
    gap: 10px;
    padding: 0 18px 70px;
    scroll-padding-inline: 18px;
  }

  .paper-folio {
    grid-template-columns: 1fr;
    min-height: 510px;
  }

  .paper-copy {
    min-height: 330px;
    padding: 24px;
  }

  .paper-copy h3 {
    margin: 20px 0;
    font-size: 28px;
  }

  .paper-sheet {
    min-height: 180px;
    border-top: 1px solid rgba(36, 37, 34, 0.15);
    border-left: 0;
  }

  .paper-sheet i {
    font-size: 20px;
  }

  .skills-plate,
  .profile-plate,
  .connect-plate {
    display: block;
    min-height: auto;
    padding: 70px 18px;
  }

  .skills-wall,
  .education-panel,
  .projects-panel,
  .connect-panel {
    margin-top: 48px;
  }

  .skills-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-token {
    min-height: 86px;
  }

  .education-panel li strong {
    font-size: 27px;
  }

  .medium-note {
    min-height: 220px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-token {
    transition: none;
  }
}

/* AI skills, doctoral direction, and writing archive */

.skills-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.skill-token {
  min-height: 132px;
  align-content: start;
  gap: 14px;
  padding: 16px;
}

.skill-token:hover {
  transform: translateY(-4px);
}

.skill-token img,
.skill-token b {
  display: grid;
  width: auto;
  min-width: 44px;
  height: 44px;
  place-items: center;
  align-self: start;
  padding: 0 8px;
  border-radius: 3px;
  object-fit: contain;
}

.skill-token img {
  padding: 5px;
  background: rgba(250, 247, 240, 0.72);
}

.skill-token b {
  color: var(--chalk);
  background: var(--graphite);
  font-size: 10px;
  font-weight: 600;
}

.skill-token:nth-child(3n + 2) b {
  color: var(--graphite);
  background: var(--mineral-pale);
}

.skill-token:nth-child(3n) b {
  background: var(--umber);
}

.skill-token span {
  display: block;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.12;
}

.skill-token small {
  color: rgba(36, 37, 34, 0.54);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.skills-wall > p {
  margin-top: 14px;
}

.phd-panel {
  grid-column: 7 / -1;
  align-self: center;
}

.phd-panel h3 {
  max-width: 620px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 0.98;
}

.phd-panel > p:not(.plate-index) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(36, 37, 34, 0.66);
  font-size: 16px;
  line-height: 1.62;
}

.phd-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.phd-panel li {
  padding: 9px 11px;
  color: var(--graphite);
  border: 1px solid rgba(36, 37, 34, 0.2);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.writing-rail {
  display: grid;
  grid-auto-columns: minmax(270px, 30vw);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--umber) transparent;
  scrollbar-width: thin;
}

.writing-rail:focus-visible {
  outline: 2px solid var(--mineral);
  outline-offset: 4px;
}

.blog-folio {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  padding: 22px;
  color: var(--chalk);
  border: 1px solid rgba(250, 247, 240, 0.13);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(185, 206, 197, 0.16), transparent 52%),
    var(--graphite);
  scroll-snap-align: start;
}

.blog-folio:nth-child(2) {
  color: var(--graphite);
  border-color: rgba(36, 37, 34, 0.16);
  background:
    linear-gradient(145deg, rgba(185, 206, 197, 0.5), rgba(239, 232, 220, 0.74)),
    var(--mineral-pale);
}

.blog-folio:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(157, 121, 100, 0.48), rgba(36, 37, 34, 0.84)),
    var(--graphite);
}

.blog-folio p,
.blog-folio h4,
.blog-folio span {
  margin: 0;
}

.blog-folio p {
  color: var(--mineral-pale);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-folio:nth-child(2) p {
  color: var(--umber);
}

.blog-folio h4 {
  margin-top: 31px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 0.94;
}

.blog-folio span {
  margin-top: 14px;
  color: rgba(250, 247, 240, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.blog-folio:nth-child(2) span {
  color: rgba(36, 37, 34, 0.68);
}

.blog-folio a {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  color: inherit;
  border-bottom: 1px solid rgba(250, 247, 240, 0.28);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.blog-folio:nth-child(2) a {
  border-bottom-color: rgba(36, 37, 34, 0.28);
}

.blog-folio a:hover,
.blog-folio a:focus-visible {
  color: var(--mineral-pale);
}

.social-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 0;
}

.social-links .social-card {
  display: grid;
  min-height: 135px;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 15px;
  color: var(--black);
  border: 1px solid rgba(36, 37, 34, 0.16);
  border-right: 0;
  background: rgba(250, 247, 240, 0.32);
  text-decoration: none;
}

.social-links .social-card:last-child {
  border-right: 1px solid rgba(36, 37, 34, 0.16);
}

.social-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-card span {
  display: grid;
  align-content: start;
  gap: 5px;
}

.social-card b {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
}

.social-card small {
  color: rgba(36, 37, 34, 0.56);
  font-size: 9px;
  line-height: 1.2;
}

.social-card em {
  grid-column: 2;
  align-self: end;
  color: var(--umber);
  font-size: 16px;
  font-style: normal;
}

.social-links .social-card:hover,
.social-links .social-card:focus-visible {
  color: var(--chalk);
  background: var(--graphite);
}

.social-card:hover small,
.social-card:focus-visible small {
  color: rgba(250, 247, 240, 0.62);
}

@media (max-width: 1180px) {
  .social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social-links .social-card:nth-child(3) {
    border-right: 1px solid rgba(36, 37, 34, 0.16);
  }

  .social-links .social-card:last-child {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .skills-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-token {
    min-height: 136px;
  }

  .skill-token span {
    font-size: 14px;
  }

  .phd-panel {
    margin-top: 54px;
  }

  .phd-panel h3 {
    font-size: 40px;
  }

  .writing-rail {
    grid-auto-columns: minmax(82vw, 82vw);
  }

  .blog-folio {
    min-height: 238px;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-links .social-card,
  .social-links .social-card:nth-child(3),
  .social-links .social-card:last-child {
    border-right: 1px solid rgba(36, 37, 34, 0.16);
  }
}

/* Latest writing and public GitHub work */

.blog-folio {
  min-height: 278px;
}

.blog-folio h4 {
  margin-top: 24px;
  font-size: 28px;
  line-height: 0.98;
}

.blog-folio span {
  font-size: 12px;
}

.github-section {
  min-height: 118svh;
  color: var(--chalk);
  background: rgba(8, 9, 7, 0.87);
}

.github-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 22px;
  width: min(100%, var(--max-width));
  min-height: 118svh;
  margin: 0 auto;
  padding: 146px var(--gutter) 120px;
}

.github-heading {
  grid-column: 1 / span 5;
}

.github-heading h2 {
  margin: 46px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.9;
}

.github-heading h2 em {
  color: var(--mineral-pale);
}

.github-heading > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: rgba(250, 247, 240, 0.76);
  border-bottom: 1px solid rgba(250, 247, 240, 0.28);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.github-heading > a:hover,
.github-heading > a:focus-visible {
  color: var(--mineral-pale);
  border-bottom-color: var(--mineral-pale);
}

.github-projects {
  grid-column: 1 / span 5;
  align-self: end;
  margin-top: 58px;
  border-top: 1px solid rgba(250, 247, 240, 0.16);
}

.github-projects a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 15px;
  padding: 18px 0;
  color: inherit;
  border-bottom: 1px solid rgba(250, 247, 240, 0.14);
  text-decoration: none;
}

.github-projects a:hover,
.github-projects a:focus-visible {
  color: var(--mineral-pale);
}

.github-projects a > span {
  grid-row: 1 / span 3;
  color: var(--umber);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 23px;
}

.github-projects strong {
  font-size: 15px;
  font-weight: 600;
}

.github-projects p {
  margin: 7px 0 0;
  color: rgba(250, 247, 240, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.github-projects em {
  margin-top: 10px;
  color: rgba(185, 206, 197, 0.72);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.github-activity {
  grid-column: 7 / -1;
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid rgba(250, 247, 240, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(185, 206, 197, 0.06), transparent 42%),
    rgba(29, 30, 27, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.activity-topline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-topline img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.activity-topline p {
  margin: 0;
  color: var(--mineral-pale);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.github-activity h3 {
  margin: 34px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 0.96;
}

.activity-months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 48px 0 12px 28px;
  color: rgba(250, 247, 240, 0.54);
  font-size: 10px;
  font-weight: 600;
}

.github-heatmap {
  display: grid;
  grid-template-rows: repeat(7, minmax(8px, 1fr));
  grid-auto-columns: minmax(8px, 1fr);
  grid-auto-flow: column;
  gap: 5px;
  height: 148px;
}

.github-heatmap span {
  display: block;
  min-width: 0;
  border-radius: 2px;
  background: rgba(250, 247, 240, 0.1);
}

.github-heatmap span[data-level="1"] { background: rgba(38, 127, 105, 0.46); }
.github-heatmap span[data-level="2"] { background: rgba(40, 164, 131, 0.62); }
.github-heatmap span[data-level="3"] { background: rgba(55, 198, 153, 0.78); }
.github-heatmap span[data-level="4"] { background: #64e2ae; }

.activity-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 28px;
  color: rgba(250, 247, 240, 0.56);
  font-size: 9px;
  font-weight: 600;
}

.activity-legend i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(250, 247, 240, 0.1);
}

.activity-legend i:nth-of-type(2) { background: rgba(40, 164, 131, 0.62); }
.activity-legend i:nth-of-type(3) { background: rgba(55, 198, 153, 0.78); }
.activity-legend i:nth-of-type(4) { background: #64e2ae; }

.activity-note {
  max-width: 320px;
  margin: auto 0 0;
  color: rgba(250, 247, 240, 0.48);
  font-size: 11px;
  line-height: 1.5;
}

.social-links .social-card {
  grid-template-columns: 1fr;
  grid-template-rows: 32px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 16px;
}

.social-card img {
  width: 30px;
  height: 30px;
}

.social-card span {
  gap: 6px;
}

.social-card em {
  grid-column: 1;
  align-self: end;
}

@media (max-width: 1180px) {
  .github-heading h2 {
    font-size: 60px;
  }

  .github-activity {
    min-height: 510px;
    padding: 26px;
  }
}

@media (max-width: 820px) {
  .github-section,
  .github-inner {
    min-height: auto;
  }

  .github-inner {
    display: block;
    padding: 110px 18px 76px;
  }

  .github-heading h2 {
    margin-top: 30px;
    font-size: 52px;
  }

  .github-projects {
    margin-top: 50px;
  }

  .github-activity {
    min-height: 460px;
    margin-top: 44px;
    padding: 22px;
  }

  .github-activity h3 {
    font-size: 39px;
  }

  .activity-months {
    margin-top: 38px;
  }

  .github-heatmap {
    height: 116px;
    gap: 4px;
  }
}

.paper-copy .paper-brief {
  margin: 18px 0 0;
  color: rgba(36, 37, 34, 0.66);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.48;
  text-transform: none;
}

.principle-text {
  color: var(--chalk);
  transition: color 240ms ease;
}

.principle-text.is-changing {
  color: var(--mineral-pale);
}

/* Final portfolio refinements */

.plate-index,
.education-panel .plate-index,
.phd-panel .plate-index,
.connect-plate .plate-index {
  font-size: 12px;
}

.skill-token img,
.skill-token b,
.skill-token:nth-child(3n + 2) b,
.skill-token:nth-child(3n) b {
  color: var(--chalk);
  background: var(--graphite);
}

.skill-token img {
  padding: 9px;
  filter: none;
}

.skill-token:hover {
  border-color: var(--graphite);
  background: rgba(36, 37, 34, 0.08);
}

.education-panel li b {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  color: var(--graphite);
  border: 1px solid rgba(36, 37, 34, 0.24);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.gather-line > span,
.gather-line > em {
  display: inline-block;
  margin-right: 0.2em;
  color: var(--chalk);
  transition: transform 680ms cubic-bezier(.16, 1, .3, 1), filter 680ms ease, opacity 440ms ease;
  will-change: transform, opacity, filter;
}

.gather-line.is-reassembling > span,
.gather-line.is-reassembling > em {
  opacity: 0 !important;
  filter: blur(9px) !important;
}

.contact {
  min-height: auto;
  padding: 0;
  overflow: hidden;
  color: var(--chalk);
  background: #0c0d0b;
}

.memoir-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(48px, 7vw, 120px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 132px var(--gutter) 110px;
}

.memoir-gallery {
  min-width: 0;
  align-self: start;
}

.memoir-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #171815;
}

.memoir-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background: linear-gradient(180deg, rgba(8, 9, 7, 0.04), rgba(8, 9, 7, 0.22));
}

.memoir-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04) brightness(0.9);
  transform: scale(1.035);
  transition: opacity 600ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.memoir-frame img.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.memoir-gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: rgba(250, 247, 240, 0.58);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.memoir-gallery-controls {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.memoir-control {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--chalk);
  border: 1px solid rgba(250, 247, 240, 0.26);
  border-radius: 2px;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.memoir-control:hover,
.memoir-control:focus-visible {
  color: var(--graphite);
  border-color: var(--chalk);
  background: var(--chalk);
  outline: none;
}

.memoir-copy {
  align-self: center;
  max-width: 620px;
}

.memoir-signature {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 34px 0 46px;
  color: rgba(250, 247, 240, 0.62);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.memoir-signature img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(250, 247, 240, 0.32);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.04);
}

.memoir-copy h2 {
  margin: 0;
  color: var(--chalk);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 76px;
  font-weight: 400;
  line-height: 0.92;
}

.memoir-copy h2 em {
  color: var(--mineral-pale);
}

.memoir-copy > p:not(.section-code) {
  margin: 25px 0 0;
  color: rgba(250, 247, 240, 0.68);
  font-size: 15px;
  line-height: 1.65;
}

.memoir-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--chalk);
  border-bottom: 1px solid rgba(250, 247, 240, 0.32);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.memoir-email:hover,
.memoir-email:focus-visible {
  color: var(--mineral-pale);
  border-bottom-color: var(--mineral-pale);
}

.contact footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 24px var(--gutter) 34px;
  color: rgba(250, 247, 240, 0.54);
  border-top: 1px solid rgba(250, 247, 240, 0.16);
  font-size: 10px;
  font-weight: 600;
}

.contact footer a {
  color: inherit;
}

@media (max-width: 820px) {
  .memoir-inner {
    display: block;
    padding: 92px 18px 70px;
  }

  .memoir-frame {
    aspect-ratio: 4 / 5;
  }

  .memoir-copy {
    margin-top: 66px;
  }

  .memoir-copy h2 {
    font-size: 54px;
  }

  .memoir-copy > p:not(.section-code) {
    font-size: 14px;
  }

  .contact footer {
    padding: 22px 18px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gather-line > span,
  .gather-line > em,
  .memoir-frame img,
  .memoir-control {
    transition: none;
  }
}
