﻿@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --paper: #f5f2e9;
  --ink: #213e35;
  --muted: #657269;
  --ochre: #df9a43;
  --line: #d7dccf;
  --sky: #cde6e9;
  --sage: #dce3ce;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
:focus-visible {
  outline: 3px solid #b6732f;
  outline-offset: 5px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.05;
  font-weight: 500;
}
h2 {
  font-size: clamp(44px, 5.6vw, 82px);
  margin-bottom: 35px;
}
h3 {
  font-size: 30px;
}
p {
  max-width: 65ch;
}
header.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4.6%;
  gap: 30px;
}
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 43px;
  letter-spacing: -0.15em;
  font-weight: 700;
  line-height: 1;
}
.logo span {
  color: #9b672e;
}
.logo i {
  font-size: 12px;
  letter-spacing: 0;
  font-style: normal;
  vertical-align: top;
  margin-left: 9px;
}
nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
  font-weight: 600;
  align-items: center;
}
.contact-nav {
  border: 1px solid #66857870;
  padding: 9px 19px;
  border-radius: 25px;
}
.contact-nav span {
  margin-left: 15px;
}
.icon-button {
  background: transparent;
  border: 1px solid #66857870;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  width: 39px;
  height: 39px;
}
.hero {
  position: relative;
  min-height: 850px;
  height: 100svh;
  max-height: 1200px;
  overflow: hidden;
  background: #cde6e9;
}
.hero-top {
  position: relative;
  z-index: 4;
  padding: 125px 4.6% 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.hero-top p {
  margin: 0;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4f7652;
  border-radius: 50%;
  margin-right: 10px;
}
.coordinates {
  display: block;
  font-size: 9px;
  color: #52746d;
  text-align: right;
  margin-top: 2px;
}
h1 {
  position: relative;
  z-index: 3;
  font-size: clamp(94px, 14.7vw, 230px);
  letter-spacing: -0.085em;
  line-height: 0.86;
  margin: 34px 4% 0;
  white-space: nowrap;
  pointer-events: none;
}
h1 > span {
  display: inline;
}
.name-dot {
  color: #aa7031;
}
.hero-note {
  position: relative;
  width: fit-content;
  margin: 32px 5% 0;
  z-index: 4;
  font-size: 17px;
  line-height: 1.4;
}
.hero-note p {
  margin-bottom: 14px;
}
.hero-note > a {
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid #6c8273;
  padding-bottom: 5px;
}
.hero-note > a span {
  margin-left: 12px;
}
.hero-note > .hero-resume {
  display: table;
  margin-top: 14px;
}
.landscape {
  position: absolute;
  inset: 25% 0 0;
  z-index: 2;
}
.landscape canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.scene-poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.scene-fallback {
  position: absolute;
  top: 44%;
  right: 12%;
  font-family: "Space Grotesk";
  font-size: 32px;
}
.scene-fallback p {
  font-family: "DM Sans";
  font-size: 13px;
}
.scene-ready .scene-fallback,
.scene-ready .scene-poster {
  display: none;
}
.hero-bottom {
  position: absolute;
  bottom: 28px;
  left: 4.6%;
  right: 4.6%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.scene-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.scene-controls button {
  border: 1px solid #213e3540;
  border-radius: 50%;
  background: #f5f2e9d9;
  width: 35px;
  height: 35px;
  color: var(--ink);
  font-size: 18px;
}
.scene-controls > span {
  font-size: 10px;
  margin: 0 10px;
}
.scene-controls .motion-button {
  font-size: 12px;
}
.scroll-cue {
  font-size: 11px;
  display: flex;
  gap: 25px;
}
.hero-role {
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
  text-align: right;
}
.hero-role b {
  font-weight: 600;
}
.section {
  padding: 100px 7.5%;
}
.route-label {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-bottom: 70px;
}
.route-label > span:first-child:before {
  content: "↳";
  margin-right: 10px;
  font-size: 16px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.intro h2 {
  font-size: clamp(43px, 4.9vw, 72px);
}
h2 em {
  font-style: normal;
  color: #8a9984;
}
.large-copy {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.intro-grid > div > p:not(.large-copy) {
  color: var(--muted);
  font-size: 15px;
}
.under-link {
  display: inline-block;
  font-size: 13px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  margin-top: 10px;
}
.skill-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.skill-line span {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
}
.experience-section {
  background: #e5e8da;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 55px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}
.experience-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
}
.route-aside {
  position: relative;
  padding-top: 18px;
}
.route-aside > p {
  font-family: "Space Grotesk";
  font-size: 23px;
  margin-top: 25px;
  margin-left: 35px;
}
.route-pin {
  color: #bd8140;
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 2;
}
.route-line {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: #a9b49d;
}
.bottom-pin {
  top: auto;
  bottom: 0;
}
.job {
  padding: 25px 0 35px;
  border-top: 1px solid #c4ccba;
}
.job-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 28px;
}
.job h3 {
  margin-bottom: 9px;
  font-size: 34px;
}
.job-team {
  font-size: 14px;
  color: #64725c;
}
.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 35px;
  margin-top: 30px;
}
.job h4 {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.job p {
  font-size: 13px;
  color: #5b6a59;
}
.source-note {
  font-size: 10px !important;
  color: #71806d !important;
  margin-top: 25px;
  max-width: 90ch;
}
.projects-section {
  background: var(--paper);
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filters button {
  background: none;
  border: 1px solid #c4ccba;
  border-radius: 22px;
  padding: 8px 17px;
  font-size: 12px;
  color: var(--ink);
}
.filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filters span {
  margin-left: 8px;
  font-size: 9px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 30px;
}
.project-card {
  min-width: 0;
}
.project-visual {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.project-preview {
  background: #d2dfd9;
  padding: 24px;
}
.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.parser-preview {
  background: #e6d4b7;
}
.privacy-visual {
  background: #d8ddcd;
}
.sql-visual {
  background: #e6d4b7;
}
.agent-visual {
  background: #cadbd5;
}
.review-visual {
  background: #e3d4ce;
}
.privacy-window,
.terminal,
.review-window {
  width: 74%;
  background: #f8f7ef;
  box-shadow: 8px 16px 0 #213e3510;
  transform: rotate(-4deg);
  border-radius: 7px;
  padding: 15px;
}
.window-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 26px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  background: #b5c0ac;
  border-radius: 50%;
}
.window-dots span {
  font-size: 8px;
  margin-left: auto;
  color: #8b9587;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  background: #e8eade;
  padding: 12px;
  gap: 8px;
}
.data-row b {
  color: #ab7654;
  font-size: 9px;
  white-space: nowrap;
}
.data-row code {
  font-size: 9px;
  color: #436b55;
}
.gateway-lock {
  text-align: center;
  padding: 15px;
  font-size: 20px;
  color: #ac7b43;
}
.gateway-lock span {
  font: 10px "DM Sans";
  display: inline-block;
  border: 1px solid #c7cdbb;
  border-radius: 20px;
  padding: 6px 15px;
  margin: 0 15px;
  color: var(--ink);
}
.safe {
  background: #d9e6d8;
}
.project-sticker {
  position: absolute;
  bottom: 20px;
  right: 19px;
  background: #f3e0ab;
  padding: 8px 13px;
  font-size: 10px;
  transform: rotate(-5deg);
  box-shadow: 2px 3px 0 #213e3510;
}
.checkpoint {
  width: 75%;
}
.checkpoint-tag {
  font: 10px monospace;
  color: #987543;
}
.checkpoint-line {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 15px;
  background: #bda377;
  height: 2px;
}
.checkpoint-line i {
  display: block;
  width: 17px;
  height: 17px;
  background: #f6f2df;
  border: 4px solid #a87b3e;
  border-radius: 50%;
  margin-top: -8px;
}
.checkpoint-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.database-block {
  margin-top: 35px;
  padding: 17px 12px;
  border: 1px solid #c4ab83;
  background: #f1e4cb;
  font-size: 13px;
  transform: rotate(-3deg);
  text-align: center;
}
.database-block > span {
  font-size: 28px;
  vertical-align: middle;
  margin-right: 15px;
}
.terminal {
  background: #29483d;
  color: #e1e9d6;
  transform: rotate(3deg);
  padding: 18px;
}
.terminal .window-dots i {
  background: #8ba190;
}
.terminal code {
  font-size: 12px;
  white-space: nowrap;
}
.terminal code > span {
  color: #cfa96c;
}
.terminal > p {
  font-size: 11px;
  color: #a5bfa7;
  margin: 5px 0 18px;
}
.terminal-tags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.terminal-tags span {
  font-size: 9px;
  border: 1px solid #64806c;
  padding: 2px 10px;
  border-radius: 12px;
}
.review-window {
  transform: rotate(-3deg);
}
.review-window code {
  display: block;
  font-size: 9px;
  padding: 7px;
}
.removed {
  background: #f0d9ce;
  color: #a17b65;
}
.added {
  background: #dce4cd;
  color: #61784e;
}
.review-comment {
  display: flex;
  gap: 10px;
  background: #f0e8d1;
  margin: 18px 0 4px;
  padding: 9px;
  font-size: 10px;
}
.review-comment p {
  margin: 0;
}
.review-comment small {
  font-size: 8px;
  display: block;
  color: #8c917c;
  margin-top: 4px;
}
.project-info {
  padding-top: 25px;
}
.project-kind {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.project-info h3 {
  font-size: 30px;
  margin-bottom: 15px;
}
.project-info > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 52ch;
}
.project-info details {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  float: right;
}
.project-info summary {
  color: var(--ink);
}
.project-info details p {
  margin: 15px 0 5px;
}
.project-info details a {
  text-decoration: underline;
}
.project-info > a {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  padding-top: 15px;
}
.project-info > a span {
  font-size: 20px;
  line-height: 1;
}
.more-repos {
  margin-top: 55px;
}
.notebook-section {
  background: #df9a43;
  color: #2f4335;
}
.notebook-section .route-label {
  border-color: #9f773d;
}
.notebook-section .section-heading > p {
  color: #6f633e;
}
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
}
.archive-grid article {
  border-top: 1px solid #b1803f;
  padding-top: 25px;
}
.archive-grid article > span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.road-photo {
  position: relative;
  height: clamp(230px, 36vw, 470px);
  margin: 0 0 78px;
  overflow: hidden;
  background: #9aa995;
}
.road-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.road-photo figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  background: #f5f2e9ed;
  color: #203e34;
  font-size: 12px;
}
.road-photo figcaption span:first-child {
  color: #677767;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.road-photo figcaption span:nth-child(2) {
  margin-right: auto;
  font-weight: 600;
}
.road-photo figcaption a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.archive-grid h3 {
  font-size: 35px;
  margin-top: 28px;
  max-width: 13em;
}
.archive-grid p {
  font-size: 14px;
  color: #645c3c;
}
.archive-grid a {
  font-size: 12px;
  border-bottom: 1px solid #87692f;
  padding-bottom: 5px;
}
.archive-details {
  border-top: 1px solid #b1803f;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 13px;
}
.archive-details summary {
  font-size: 14px;
}
.archive-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 45px;
  padding-top: 35px;
}
.archive-list h4 {
  font-size: 22px;
  margin-bottom: 12px;
}
.archive-list p {
  font-size: 12px;
}
.archive-list article > span {
  font-size: 10px;
}
.education-section {
  background: #eef0e6;
}
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.education-grid h2 {
  font-size: clamp(40px, 4.7vw, 70px);
}
.education-grid h3 {
  font-size: 28px;
}
.education-grid p {
  font-size: 14px;
  color: var(--muted);
}
.learning-block {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.learning-block > span {
  font-size: 10px;
  color: var(--muted);
}
.learning-block h3 {
  margin-top: 15px;
}
.text-button {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  color: var(--ink);
  padding: 0 0 5px;
  font-size: 12px;
}
.text-button span {
  margin-left: 20px;
}
.recognition-section {
  background: var(--paper);
}
.awards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}
.awards-list article {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.awards-list span {
  font-size: 10px;
  color: var(--muted);
}
.awards-list h3 {
  font-size: 24px;
  margin: 15px 0 10px;
}
.awards-list p {
  font-size: 12px;
  color: var(--muted);
}
.recognition-section .archive-details {
  border-color: var(--line);
}
.contact-section {
  background: var(--ink);
  color: var(--paper);
}
.contact-section .route-label {
  border-color: #577163;
}
.contact-section > p {
  font-size: 15px;
  color: #b2c2ad;
}
.contact-section h2 {
  font-size: clamp(60px, 9.5vw, 145px);
  margin: 40px 0 70px;
  letter-spacing: -0.07em;
}
.contact-section h2 > span {
  color: #d6a65c;
  margin-left: 20px;
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
}
.contact-bottom > .email {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.contact-bottom > div {
  display: flex;
  gap: 25px;
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 5%;
  gap: 20px;
}
footer p,
footer > a:last-child {
  font-size: 10px;
  margin: 0;
}
footer .logo {
  font-size: 28px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  width: min(760px, 92vw);
  max-height: 85vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 35px;
}
dialog::backdrop {
  background: #18362cc9;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 42px;
  margin-bottom: 20px;
}
.dialog-head button {
  align-self: start;
  border: 0;
  background: transparent;
  font-size: 32px;
  color: var(--ink);
}
dialog > p {
  font-size: 12px;
  color: var(--muted);
}
dialog label {
  display: block;
  font-size: 12px;
  margin-top: 25px;
}
dialog input {
  width: 100%;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  margin-top: 8px;
  color: var(--ink);
}
#cert-list article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
#cert-list h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
#cert-list article p {
  font-size: 11px;
  margin-bottom: 0;
  color: var(--muted);
}
#cert-count {
  margin-top: 15px;
  font-size: 11px;
}
.skip {
  position: absolute;
  top: 10px;
  left: -1000px;
  z-index: 100;
  background: var(--paper);
  padding: 10px;
}
.skip:focus {
  left: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
.night .hero {
  background: #243b47;
  color: #f5f2e9;
}
.night .hero .coordinates {
  color: #b4cbc8;
}
.night .header {
  color: #f5f2e9;
}
.night .header .logo span {
  color: #dfae6d;
}
.night .icon-button {
  color: #f5f2e9;
}
.night .hero .name-dot {
  color: #dfae6d;
}
.night .hero-note > a {
  border-color: #b4cbc8;
}
@media (min-width: 1600px) {
  .section {
    padding-left: max(7.5%, calc((100vw - 1400px) / 2));
    padding-right: max(7.5%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 900px) {
  nav {
    gap: 20px;
  }
  .hero {
    min-height: 760px;
  }
  .hero-top {
    padding-top: 120px;
  }
  h1 {
    font-size: 14.7vw;
    margin-top: 45px;
  }
  .landscape {
    inset: 28% -15% 0;
  }
  .hero-note {
    font-size: 14px;
  }
  .hero-role {
    display: none;
  }
  .section {
    padding: 75px 6%;
  }
  .experience-layout {
    grid-template-columns: 110px 1fr;
    gap: 20px;
  }
  .route-aside > p {
    font-size: 18px;
    margin-left: 22px;
  }
  .project-visual {
    height: 270px;
  }
  .privacy-window,
  .terminal,
  .review-window {
    width: 85%;
  }
  .terminal code {
    font-size: 10px;
  }
  .project-sticker {
    font-size: 9px;
  }
  .intro-grid,
  .education-grid {
    gap: 6%;
  }
  .job-grid {
    grid-template-columns: 1fr;
  }
  .route-label {
    margin-bottom: 50px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 30px;
  }
  .header {
    padding: 20px 6% !important;
    gap: 15px;
  }
  .logo {
    font-size: 35px;
  }
  .logo i {
    font-size: 9px;
    margin-left: 6px;
  }
  nav {
    margin-left: auto;
    gap: 14px;
    font-size: 10px;
  }
  nav > a:first-child,
  nav > a:nth-child(3) {
    display: none;
  }
  .contact-nav {
    padding: 7px 11px;
  }
  .contact-nav span {
    margin-left: 5px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    flex-shrink: 0;
  }
  .hero {
    height: 100svh;
    min-height: 740px;
    max-height: 1000px;
  }
  .hero-top {
    padding: 105px 6% 0;
    font-size: 9px;
  }
  .hero-top > p:last-child {
    font-size: 9px;
  }
  .coordinates {
    display: none;
  }
  h1 {
    white-space: normal;
    font-size: 23.5vw;
    margin: 34px 5%;
    line-height: 0.9;
    letter-spacing: -0.085em;
  }
  h1 > span {
    display: block;
  }
  .hero-note {
    font-size: 13px;
  }
  .hero-note > a {
    font-size: 9px;
  }
  .landscape {
    inset: 38% -45% 0;
  }
  .hero-bottom {
    left: 6%;
    right: 6%;
    bottom: 25px;
    align-items: center;
  }
  .scene-controls {
    gap: 4px;
  }
  .scene-controls button {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .scene-controls > span {
    font-size: 8px;
    margin: 0 4px;
  }
  .scroll-cue {
    font-size: 9px;
    gap: 8px;
  }
  .scene-controls .motion-button {
    font-size: 10px;
  }
  .intro-grid,
  .education-grid,
  .projects-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    gap: 25px;
  }
  .intro h2 {
    font-size: 48px;
  }
  .large-copy {
    font-size: 23px;
  }
  .section {
    padding: 65px 7%;
  }
  .route-label {
    font-size: 8px;
    letter-spacing: 0.07em;
    margin-bottom: 40px;
    gap: 20px;
  }
  .route-label > span:last-child {
    text-align: right;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 12px;
  }
  .experience-layout {
    display: block;
  }
  .route-aside {
    display: none;
  }
  .job-top {
    font-size: 9px;
  }
  .job h3 {
    font-size: 30px;
  }
  .job-grid {
    gap: 8px;
  }
  .projects-grid {
    gap: 45px;
  }
  .project-visual {
    height: 280px;
  }
  .project-info h3 {
    font-size: 28px;
  }
  .project-info > p {
    font-size: 13px;
  }
  .privacy-window,
  .terminal,
  .review-window {
    width: 80%;
  }
  .filters button {
    font-size: 10px;
    padding: 7px 12px;
  }
  .archive-grid {
    gap: 40px;
  }
  .archive-grid h3 {
    font-size: 32px;
  }
  .archive-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .education-grid {
    gap: 20px;
  }
  .awards-list {
    grid-template-columns: 1fr;
  }
  .contact-section h2 {
    font-size: 16vw;
    margin-bottom: 45px;
  }
  .contact-section h2 > span {
    margin-left: 5px;
  }
  .contact-bottom {
    display: block;
  }
  .contact-bottom > .email {
    font-size: 13px;
  }
  .contact-bottom > div {
    margin-top: 25px;
  }
  footer {
    flex-wrap: wrap;
    padding: 25px 7%;
    gap: 15px;
  }
  footer > p {
    display: none;
  }
  dialog {
    padding: 24px;
  }
  .dialog-head h2 {
    font-size: 33px;
  }
  .scene-fallback {
    font-size: 20px;
    right: 22%;
    top: 60%;
  }
  .scene-fallback p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* Keep the complete identity readable above the landscape. */
h1 {
  font-size: clamp(80px, 12vw, 190px);
  letter-spacing: -0.075em;
}
.hero-bottom {
  background: #f5f2e9d9;
  padding: 12px 16px;
  border-radius: 6px;
}
.landscape {
  inset: 31% 0 0;
}
.hero {
  min-height: 760px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 23.5vw;
  }
  .landscape {
    inset: 40% -45% 0;
  }
  .hero-bottom {
    padding: 9px 8px;
    left: 4%;
    right: 4%;
  }
  .scene-controls > span {
    display: none;
  }
}
.destination-control {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.destination-control label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.destination-control select {
  font: 11px "DM Sans";
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #acb79f;
  border-radius: 4px;
  padding: 5px 8px;
}
.school-records {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.school-records p {
  font-size: 12px;
}
@media (max-width: 600px) {
  .destination-control {
    position: absolute;
    bottom: 55px;
    right: 0;
  }
  .destination-control label {
    font-size: 7px;
  }
  .destination-control select {
    font-size: 9px;
    padding: 5px;
  }
  .hero-bottom {
    background: #f5f2e9e6;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 22.5vw;
  }
  .hero-note {
    margin: 24px 6% 0;
    max-width: 40%;
    padding: 8px 10px;
    background: #f5f2e9d9;
    border-radius: 4px;
  }
  .landscape {
    inset: 42% -5% 0;
  }
  .road-photo {
    height: 290px;
    margin-bottom: 48px;
  }
  .road-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 10px 12px;
  }
  .road-photo figcaption span:nth-child(2) {
    flex-basis: calc(100% - 82px);
  }
  .road-photo figcaption a {
    margin-left: auto;
    font-size: 10px;
  }
}
.patent-note {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
}
.patent-note h3 {
  font-size: 23px;
}
@media (max-width: 900px) {
  nav > a:nth-child(-n + 3) {
    display: none;
  }
}
@media (max-width: 600px) {
  nav > a:nth-child(4) {
    display: none;
  }
}
