:root {
  color-scheme: light;
  --paper: #f2f5f3;
  --paper-deep: #e6ebe8;
  --surface: #ffffff;
  --ink: #101714;
  --muted: #5e6963;
  --line: #cbd3ce;
  --line-strong: #99a69f;
  --green: #14795c;
  --green-dark: #0f533f;
  --blue: #2458d3;
  --orange: #d9572b;
  --yellow: #e8b82f;
  --plum: #6e3fa0;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --page: min(1280px, calc(100% - 64px));
  --header-height: 66px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.78rem;
  transform: translateY(-160%);
}

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

.reading-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

.site-header,
#navbar {
  position: sticky;
  z-index: 200;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(16, 23, 20, 0.14);
  background: rgba(242, 245, 243, 0.94);
  backdrop-filter: blur(14px);
}

.site-mark,
.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  line-height: 1;
}

.site-mark > span,
.nav-brand {
  font-size: 1.05rem;
}

.site-mark small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
}

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

.site-nav a,
.nav-back {
  position: relative;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.site-nav a::after,
.nav-back::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  min-width: 68px;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  filter: saturate(0.82) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: rgba(242, 245, 243, 0.94);
  border-right: 1px solid rgba(16, 23, 20, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 80px;
  align-items: end;
  width: var(--page);
  margin: 0 auto;
  padding: 92px 0 90px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-index,
.project-kicker,
.annotation-label,
.hero-caption,
.console-label {
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--green-dark);
  font-size: 0.74rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 121, 92, 0.13);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: 7.5rem;
  font-weight: 500;
  line-height: 0.76;
  letter-spacing: 0;
}

.hero-thesis {
  max-width: 650px;
  margin: 42px 0 16px;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-summary {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-link {
  border-color: var(--line-strong);
}

.button-link:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.hero-annotation {
  align-self: end;
  justify-self: end;
  width: 250px;
  margin-bottom: 20px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 245, 243, 0.88);
}

.hero-annotation p {
  margin: 0;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-annotation .annotation-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 400;
}

.hero-caption {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 18px;
  display: flex;
  gap: 20px;
  padding: 8px 10px;
  background: rgba(16, 23, 20, 0.88);
  color: #fff;
  font-size: 0.58rem;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-item {
  min-height: 122px;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}

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

.proof-item strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.proof-item span {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 130px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1.15fr) minmax(220px, 0.55fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 92px;
}

.section-index {
  margin: 8px 0 0;
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 500;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.7rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.project-story + .project-story {
  border-top-color: var(--line-strong);
}

.project-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 0.66rem;
}

.project-kicker span + span::before {
  margin-right: 16px;
  color: var(--line-strong);
  content: "/";
}

.project-copy h3 {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
}

.project-lead {
  max-width: 610px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.project-facts {
  margin: 0 0 30px;
  border-top: 1px solid var(--line);
}

.project-facts > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  font-size: 0.85rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

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

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

.evidence-viewer {
  min-width: 0;
}

.segmented-control {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper-deep);
}

.segmented-control button {
  min-height: 38px;
  padding: 7px 13px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  cursor: pointer;
}

.segmented-control button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.evidence-panel,
.topoflow-visual {
  margin: 0;
}

.evidence-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #0e1727;
}

.evidence-panel figcaption,
.topoflow-visual figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

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

.project-story-topoflow {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.topoflow-visual {
  position: relative;
}

.topoflow-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.project-story-topoflow .project-kicker,
.project-story-topoflow .project-facts dt,
.project-story-topoflow .text-link:not(.text-link-muted) {
  color: var(--blue);
}

.project-story-aegis {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.project-story-aegis .project-kicker,
.project-story-aegis .project-facts dt,
.project-story-aegis .text-link:not(.text-link-muted) {
  color: var(--orange);
}

.aegis-console {
  overflow: hidden;
  border: 1px solid #263330;
  border-radius: 6px;
  background: #101714;
  color: #e9f1ed;
  box-shadow: 18px 18px 0 #dfe5e1;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #2d3b36;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.console-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #53605b;
}

.console-bar > span:nth-child(1) { background: #d9572b; }
.console-bar > span:nth-child(2) { background: #e8b82f; }
.console-bar > span:nth-child(3) { background: #2f9f75; }

.console-bar strong {
  margin-left: auto;
  color: #93a59d;
  font-weight: 400;
}

.console-body {
  padding: 32px;
}

.console-label {
  margin: 0 0 22px;
  color: #91a29a;
  font-size: 0.65rem;
}

.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  border-bottom: 1px solid #2d3b36;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.console-row span {
  color: #a8b6b0;
}

.signal-amber {
  color: #ffc44d;
}

.console-trace {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  height: 150px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid #2d3b36;
  border-bottom: 1px solid #2d3b36;
}

.console-trace i {
  display: block;
  height: var(--h);
  background: #39c993;
}

.console-trace i:nth-child(4n) {
  background: #ffc44d;
}

.console-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.66rem;
}

.console-note span {
  color: #91a29a;
}

.project-index {
  margin-top: 72px;
  border-top: 2px solid var(--ink);
}

.project-index h3 {
  margin: 22px 0 36px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
}

.project-index > a {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.7fr) minmax(0, 1fr) 30px;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid var(--line);
  transition: background 160ms ease, padding 160ms ease;
}

.project-index > a:last-child {
  border-bottom: 1px solid var(--line);
}

.project-index > a:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: var(--surface);
}

.project-index-number,
.project-index > a > span:nth-child(3) {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.project-index > a strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}

.project-index > a b {
  font-size: 1.2rem;
}

.decisions-section {
  width: 100%;
  padding-right: max(32px, calc((100vw - 1280px) / 2));
  padding-left: max(32px, calc((100vw - 1280px) / 2));
  background: #17201c;
  color: #f5f8f6;
}

.decisions-section .section-index {
  color: #78d6b1;
}

.decisions-section .section-heading > p:last-child {
  color: #aab8b1;
}

.decision-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #45534d;
  border-bottom: 1px solid #45534d;
}

.decision-ledger article {
  min-height: 360px;
  padding: 32px;
  border-right: 1px solid #45534d;
}

.decision-ledger article:last-child {
  border-right: 0;
}

.decision-ledger time,
.decision-ledger article > span {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.decision-ledger time {
  color: #78d6b1;
}

.decision-ledger h3 {
  margin: 72px 0 22px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.18;
}

.decision-ledger p {
  margin: 0 0 30px;
  color: #aab8b1;
  font-size: 0.84rem;
}

.decision-ledger article > span {
  display: inline-block;
  margin-top: auto;
  padding: 5px 8px;
  border: 1px solid #5e7168;
  color: #dfe9e4;
}

.experience-section {
  padding-bottom: 100px;
}

.experience-list {
  border-top: 2px solid var(--ink);
}

.experience-list article {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
  gap: 50px;
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--line);
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.experience-list h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.experience-list p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.experience-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.experience-list li,
.skill-lines span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 100px;
  align-items: start;
}

.about-copy h2 {
  max-width: 720px;
  margin-top: 24px;
}

.about-details {
  padding-top: 44px;
}

.about-details > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.skill-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.contact-section {
  position: relative;
  padding: 120px max(32px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: var(--yellow);
}

.contact-section h2 {
  max-width: 900px;
  margin-top: 24px;
  font-size: 4.3rem;
}

.contact-section > p:not(.section-index) {
  max-width: 630px;
  margin: 28px 0 0;
  font-size: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 176px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  transition: background 160ms ease, color 160ms ease;
}

.contact-links a:hover {
  background: var(--ink);
  color: #fff;
}

.site-footer,
.proj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 82px;
  padding: 20px max(32px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #dce4e0;
  font-family: var(--mono);
  font-size: 0.66rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

#neural-canvas,
.hero-scene,
.sun-orb,
.geo,
.ambient-light,
.custom-cursor {
  display: none !important;
}

.accent {
  color: var(--green);
}

@media (max-width: 1080px) {
  :root {
    --page: min(100% - 48px, 980px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .section-heading {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .project-story,
  .project-story-aegis {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
  }

  .project-story-topoflow {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .project-copy h3 {
    font-size: 2.7rem;
  }
}

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

  .site-header,
  #navbar {
    padding: 0 20px;
  }

  .site-mark small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .hero {
    min-height: 670px;
  }

  .hero-shade {
    width: 78%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 72px 0 110px;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-annotation {
    display: none;
  }

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

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

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

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 96px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 58px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-section h2 {
    font-size: 3rem;
  }

  .project-story,
  .project-story-topoflow,
  .project-story-aegis {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 62px 0;
  }

  .project-story-topoflow .topoflow-visual {
    order: 2;
  }

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

  .decision-ledger article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #45534d;
  }

  .decision-ledger article:last-child {
    border-bottom: 0;
  }

  .decision-ledger h3 {
    margin-top: 42px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-details {
    padding-top: 14px;
  }
}

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

  body {
    font-size: 15px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-backdrop {
    opacity: 0.55;
    object-position: 66% center;
  }

  .hero-shade {
    width: 100%;
    background: rgba(242, 245, 243, 0.86);
    border-right: 0;
  }

  .hero-grid {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-thesis {
    margin-top: 34px;
    font-size: 1.28rem;
  }

  .hero-summary {
    font-size: 0.92rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-caption {
    right: 16px;
    bottom: 12px;
    left: 16px;
    justify-content: center;
    text-align: center;
  }

  .proof-item {
    min-height: 112px;
    padding: 20px 16px;
  }

  .proof-item strong {
    font-size: 1.6rem;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-section h2 {
    font-size: 2.45rem;
  }

  .project-copy h3 {
    font-size: 2.35rem;
  }

  .project-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .segmented-control button {
    padding: 7px 5px;
  }

  .evidence-panel img {
    aspect-ratio: 4 / 3;
  }

  .aegis-console {
    box-shadow: 8px 8px 0 #dfe5e1;
  }

  .console-body {
    padding: 24px 18px;
  }

  .console-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .project-index > a {
    grid-template-columns: 34px 1fr 24px;
    gap: 12px;
    padding: 15px 0;
  }

  .project-index > a > span:nth-child(3) {
    display: none;
  }

  .decisions-section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .decision-ledger article {
    padding: 28px 0;
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .experience-meta {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-links a {
    width: 100%;
  }

  .site-footer,
  .proj-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  #navbar,
  .reading-progress,
  .hero-actions,
  .contact-section,
  .site-footer,
  .proj-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
