@font-face {
  font-family: "Aduneer Sans";
  src: url("assets/adwaita-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Aduneer Iosevka";
  src: url("assets/iosevka-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Aduneer Iosevka";
  src: url("assets/iosevka-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f3efe6;
  --paper-deep: #e5e9e5;
  --ink: #20282a;
  --muted: #4b5d60;
  --accent: #287d82;
  --accent-light: #9bcdd0;
  --signal: #22d4d9;
  --focus: #206a70;
  --line: rgba(28, 53, 57, 0.22);
  --font-ui: "Aduneer Sans", Inter, system-ui, sans-serif;
  --font-mono: "Aduneer Iosevka", ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo,
    Monaco, Consolas, "Liberation Mono", monospace;
  --page-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
code,
.brand-name,
.eyebrow,
.hero-trace,
.project-number,
.project-category,
.project-trace,
.field-note-index,
.footer-annotation,
.milestone-index,
.orbit-label,
.signal-cache {
  font-family: var(--font-mono);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(95, 158, 159, 0.03) 6px 7px);
  content: "";
  pointer-events: none;
}

@media (prefers-contrast: more), (forced-colors: active), print {
  body::after { display: none; }
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fffdf7;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.75rem;
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  isolation: isolate;
  padding: 14px clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(239, 250, 247, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 5px 24px rgba(25, 54, 58, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(239, 250, 247, 0.9);
  box-shadow: 0 12px 32px rgba(25, 54, 58, 0.14);
}

.nav-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(100%, var(--page-width));
  min-height: 48px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 4px;
}

.brand-mark {
  width: 32px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(34, 212, 217, 0.18);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.35rem);
  margin-right: clamp(0rem, 5vw, 4.5rem);
  margin-left: auto;
}

.site-nav a,
.nav-link {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.site-nav a::after,
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 212, 217, 0.56);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.nav-link:hover::after,
.nav-link:focus-visible::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.external-link svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.2;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  background: #e4f4f2;
}

.hero-media,
.hero-media img,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  transform: translate3d(var(--media-x, 0px), var(--media-y, 0px), 0) scale(1.035);
  transform-origin: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(2.5px) saturate(1.06) contrast(1.01);
  transform: scale(1.025);
}

.hero-pointer-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    360px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(117, 207, 207, 0.35),
    rgba(219, 246, 243, 0.12) 38%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.hero.has-pointer .hero-pointer-light {
  opacity: 1;
}

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

.hero-pixel {
  position: absolute;
  width: var(--pixel-size);
  height: var(--pixel-size);
  left: var(--pixel-x);
  top: var(--pixel-y);
  background: var(--pixel-color);
  box-shadow: 0 0 12px var(--pixel-color);
  animation: pixel-fade 560ms steps(5, end) both;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(250, 254, 251, 0.2) 0%,
      rgba(237, 250, 247, 0.08) 48%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(25, 51, 57, 0.04), transparent 38%);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 170px 0 108px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-left: 8px;
  color: var(--ink);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(247, 255, 251, 0.63);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 30px rgba(40, 125, 130, 0.11);
  color: #36565b;
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

.hero .eyebrow span { color: var(--accent); }

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(3rem, 3.7vw, 3.6rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.cursor,
.footer-cursor {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  margin-left: 8px;
  vertical-align: -0.03em;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(34, 212, 217, 0.72);
  animation: cursor-blink 1.1s steps(1, end) infinite;
}

.hero-intro {
  max-width: 440px;
  margin: 27px 0 0;
  color: #354448;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 40px;
}

.hero-trace {
  width: fit-content;
  margin: 38px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-left: 2px solid var(--signal);
  border-radius: 8px;
  background: rgba(247, 255, 251, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 28px rgba(25, 93, 98, 0.1);
  color: #31575c;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.hero-trace abbr { color: #125f68; font-weight: 700; text-decoration: none; cursor: help; }
.hero-trace span { color: #31575c; }

.hero-core {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--page-width)) / 2 + 5px));
  z-index: 2;
  width: clamp(300px, 30vw, 430px);
  transform: translateY(-43%);
  text-align: center;
}

.hero-core::before {
  position: absolute;
  inset: 11% 8% 18%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 253, 250, .72), rgba(223, 248, 246, .34) 58%, rgba(226, 250, 247, .05) 74%);
  box-shadow: 0 26px 70px rgba(27, 104, 112, .12), inset 0 1px 0 rgba(255, 255, 255, .82);
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
  content: "";
  pointer-events: none;
}

.hero-core-spin {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.hero-core-spin:active { cursor: grabbing; }
.hero-core-spin:focus-visible { outline: 3px solid var(--focus); outline-offset: -10px; }
.hero-core-spin img,
.hero-core-frames { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-core-spin img { object-fit: contain; filter: drop-shadow(0 24px 22px rgba(32, 88, 92, .2)); }
.hero-core-frames {
  opacity: 0;
  background-repeat: no-repeat;
  background-size: 600% 600%;
  background-position: var(--frame-x, 0%) var(--frame-y, 0%);
  filter: drop-shadow(0 24px 22px rgba(32, 88, 92, .2));
}
.hero-core.is-ready .hero-core-frames { opacity: 1; }
.hero-core.is-ready .hero-core-spin img { opacity: 0; }
.hero-core-caption {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -11px 0 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(239, 253, 249, .72);
  color: #24575c;
  font: 700 .69rem/1.2 var(--font-mono);
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-core-led { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.no-js .hero-core-spin { cursor: default; pointer-events: none; }
.no-js .hero-core-caption { display: none; }
.hero-core.is-static .hero-core-spin { cursor: default; }
.hero-core.is-static .hero-core-caption { display: none; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 180px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid rgba(61, 139, 144, 0.82);
  background: rgba(23, 43, 48, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(40, 125, 130, 0.75),
    0 0 24px rgba(40, 125, 130, 0.2);
  color: #f4f2e9;
  font-size: 0.92rem;
  font-weight: 650;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.primary-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-light);
  stroke-linecap: square;
  stroke-width: 1.4;
  transition: transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: #19363b;
  box-shadow:
    0 0 0 3px rgba(40, 125, 130, 0.9),
    0 8px 28px rgba(40, 125, 130, 0.25);
}

.primary-button:hover svg {
  transform: translateX(3px);
}

.text-button {
  position: relative;
  padding: 7px 0 5px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
}

.text-button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
  transform-origin: left;
}

.text-button:hover::after {
  transform: scaleX(0.55);
}

.projects {
  position: relative;
  padding: 38px clamp(1.25rem, 5vw, 3.5rem) 46px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 12%, rgba(164, 226, 222, 0.35), transparent 34%),
    radial-gradient(circle at 12% 105%, rgba(110, 181, 181, 0.13), transparent 32%),
    radial-gradient(circle at 88% 110%, rgba(34, 212, 217, 0.08), transparent 30%),
    var(--paper);
}

.projects::before {
  position: absolute;
  top: 114px;
  right: clamp(12px, 3vw, 65px);
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.98) 3%, rgba(215, 249, 245, 0.7) 24%, rgba(76, 165, 170, 0.24) 70%, rgba(255, 255, 255, 0.84) 82%);
  box-shadow:
    inset -7px -9px 15px rgba(33, 122, 130, 0.12),
    0 12px 26px rgba(40, 125, 130, 0.11);
  opacity: 0.68;
  content: "";
  pointer-events: none;
}

.projects-shell,
.footer-shell {
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading p {
  color: var(--muted);
}

.section-rule {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(40, 125, 130, 0.55), rgba(255, 255, 255, 0.85) 55%, rgba(40, 125, 130, 0.2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.section-rule::after {
  position: absolute;
  top: -5px;
  left: 68%;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff 3%, #b8e7e3 28%, rgba(72, 159, 164, 0.52) 75%);
  box-shadow: 0 2px 8px rgba(40, 125, 130, 0.19);
  content: "";
}

.project-prompt {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-prompt span {
  flex: 0 0 auto;
  color: var(--focus);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  margin-top: 25px;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.87), rgba(236, 250, 247, 0.7) 68%, rgba(255, 255, 255, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 36px rgba(31, 91, 98, 0.11);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(40, 125, 130, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 42px rgba(31, 91, 98, 0.17);
}

.project-card-experiment::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(40, 125, 130, .18), var(--signal), rgba(255, 255, 255, .65));
  content: "";
  pointer-events: none;
}

.project-disclosure {
  position: relative;
  z-index: 1;
}

.project-disclosure summary {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 23px 24px 22px;
  cursor: pointer;
  list-style: none;
}

.project-disclosure summary::-webkit-details-marker {
  display: none;
}

.project-disclosure summary:focus-visible {
  outline-offset: -6px;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-number,
.project-category {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-category {
  text-align: right;
}

.project-card h3 {
  margin: 28px 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.project-summary {
  max-width: 310px;
  margin-top: 10px;
  color: #465457;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-trace {
  width: fit-content;
  margin-top: 13px;
  padding: 3px 8px 3px 10px;
  border-left: 2px solid rgba(40, 125, 130, 0.62);
  background: rgba(196, 231, 229, 0.35);
  color: #1b6168;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.project-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 25px;
  color: var(--focus);
  font-size: 0.88rem;
  font-weight: 700;
}

.project-explore svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.25;
  transition: transform 180ms ease;
}

.project-disclosure[open] .project-explore svg {
  transform: rotate(180deg);
}

.project-disclosure[open] summary {
  min-height: 0;
  border-bottom: 1px solid rgba(28, 53, 57, 0.13);
}

.project-details {
  padding: 21px 24px 24px;
}

.project-detail-intro {
  margin: 0;
  color: #354448;
  font-size: 0.95rem;
  line-height: 1.65;
}

.project-detail-intro span,
.visual-label {
  display: block;
  margin-bottom: 7px;
  color: var(--focus);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-visual {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid rgba(28, 53, 57, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.visual-label {
  margin: 0 0 12px;
}

.project-flow,
.review-track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-flow li {
  position: relative;
  min-width: 0;
  padding: 10px 7px;
  border: 1px solid rgba(28, 53, 57, 0.13);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.project-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -9px;
  transform: translateY(-50%);
  color: var(--focus);
  content: "→";
  font-size: 0.7rem;
}

.project-flow span,
.project-flow strong {
  display: block;
}

.project-flow span {
  color: var(--muted);
  font-size: 0.68rem;
}

.project-flow strong {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.review-track li {
  padding: 9px 3px;
  border: 1px solid rgba(28, 53, 57, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.34);
  text-align: center;
}

.review-track li:nth-child(2) { padding-top: 12px; }
.review-track li:nth-child(3) { padding-top: 15px; }
.review-track li:nth-child(4) { padding-top: 18px; }
.review-track li:nth-child(5) { padding-top: 21px; }

.review-track span,
.review-track strong {
  display: block;
}

.review-track span {
  color: var(--muted);
  font-size: 0.66rem;
}

.review-track strong {
  margin-top: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.project-facts {
  margin: 22px 0 0;
}

.project-facts > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(28, 53, 57, 0.1);
}

.project-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: #465457;
  font-size: 0.87rem;
  line-height: 1.55;
}

.project-screenshot {
  width: min(100%, 292px);
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid rgba(28, 53, 57, 0.16);
  border-radius: 8px;
  background: #e9eeeb;
}

.project-screenshot a { display: block; }

.project-screenshot img {
  display: block;
  width: 100%;
  height: 168px;
  padding: 7px;
  object-fit: contain;
  object-position: center;
}

.project-screenshot-terminal {
  background: #1c1b19;
}

.project-screenshot-terminal img {
  background: #1c1b19;
}

.project-screenshot-code { width: min(100%, 320px); background: #172c31; }
.fugazi-terminal { min-height: 168px; padding: 12px 13px; color: #e9f8f2; }
.fugazi-terminal-bar { display: flex; align-items: center; gap: 5px; color: #a8d8d7; }
.fugazi-terminal-bar span { width: 5px; height: 5px; border-radius: 50%; background: #7babb0; }
.fugazi-terminal-bar span:first-child { background: var(--signal); box-shadow: 0 0 7px var(--signal); }
.fugazi-terminal-bar strong { margin-left: auto; font: 700 .64rem/1.2 var(--font-mono); letter-spacing: .06em; }
.fugazi-terminal pre { margin: 16px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 .75rem/1.55 var(--font-mono); }
.fugazi-terminal code span { color: var(--signal); font-weight: 700; }

.project-screenshot figcaption {
  padding: 9px 11px;
  background: #f4f5ef;
  color: #59676a;
  font-size: 0.55rem;
  line-height: 1.4;
}

.project-screenshot.project-screenshot-code figcaption { font-size: .68rem; }

.project-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 22px;
}

.project-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(40, 125, 130, 0.32);
  border-radius: 4px;
  background: #f4f8f4;
  color: #205d62;
  font-size: 0.82rem;
  line-height: 1.2;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-actions a:hover,
.project-actions a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: #e8f2ef;
}

.project-actions a span[aria-hidden] {
  font-size: 0.84rem;
}

.more-work {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.more-work > span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.more-work a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(28, 53, 57, 0.5);
}

.more-work a:hover { color: var(--focus); border-color: var(--focus); }

.js.reveal-ready .reveal {
  transform: translateY(26px) scale(0.99);
  opacity: 0;
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js.reveal-ready .reveal.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.interlude {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #172b31;
  color: #edf4ef;
  border-top: 1px solid rgba(34, 212, 217, 0.22);
}

.interlude::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(105, 173, 176, 0.2), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(105, 173, 176, 0.09), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 45%);
  content: "";
  pointer-events: none;
}

.signal-strip {
  position: relative;
  z-index: 1;
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(201, 244, 243, 0.11), rgba(255, 255, 255, 0.035), rgba(201, 244, 243, 0.09));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.signal-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: signal-loop 28s linear infinite;
  color: rgba(237, 244, 239, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  min-width: 100vw;
  padding-right: 28px;
}

.signal-track i {
  color: var(--signal);
  text-shadow: 0 0 12px rgba(34, 212, 217, 0.55);
  font-style: normal;
}

.interlude-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 94px 0 100px;
}

.interlude-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(237, 244, 239, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interlude-kicker p {
  margin: 0;
  color: var(--accent-light);
}

.interlude-kicker span {
  text-align: right;
}

.interlude-shell > h2 {
  max-width: 1080px;
  margin: 42px 0 0;
  font-size: clamp(3.1rem, 6.5vw, 6.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.interlude-shell > h2 span {
  color: var(--accent-light);
  text-shadow: 0 0 44px rgba(105, 173, 176, 0.15);
}

.field-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 72px;
}

.field-note {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(25px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(203, 245, 242, 0.28);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(222, 250, 246, 0.14), rgba(162, 220, 220, 0.055) 52%, rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 42px rgba(3, 22, 28, 0.14);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.field-note::before {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 185px;
  height: 185px;
  background-image:
    linear-gradient(rgba(155, 205, 208, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 205, 208, 0.11) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, transparent 12%, #000 100%);
  content: "";
  pointer-events: none;
}

.field-note:hover,
.js.reveal-ready .field-note.reveal.is-visible:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 205, 208, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 42px rgba(3, 22, 28, 0.18),
    0 0 28px rgba(34, 212, 217, 0.09);
}

.field-note-index {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--accent-light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-note-index span:last-child { font-size: 1rem; line-height: 0.8; }

.field-note-line {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 75%;
  margin-top: 37px;
}

.field-note-line span {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(155, 205, 208, 0.55);
}

.field-note-line span::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent-light);
  background: #172b31;
  box-shadow: 0 0 12px rgba(155, 205, 208, 0.45);
  content: "";
}

.field-note-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 30px; color: var(--accent-light); font: 700 .75rem/1.3 var(--font-mono); letter-spacing: .04em; }
.field-note-chain span { padding: 8px 9px; border: 1px solid rgba(155, 205, 208, .4); border-radius: 4px; background: rgba(14, 46, 51, .36); }
.field-note-chain i { color: var(--signal); font-style: normal; }

.field-note h3 {
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 28px 0 0;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.field-note p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 17px 0 25px;
  color: rgba(237, 244, 239, 0.78);
  font-size: 0.95rem;
  line-height: 1.8;
}

.field-note code {
  color: #b5dfe0;
  font-size: 0.95em;
}

.field-note a {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(155, 205, 208, 0.7);
  color: #b5dfe0;
  font-size: 0.86rem;
}

.field-note a:hover { color: #f5fbf7; border-color: #f5fbf7; }

.signal-cache {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(155, 205, 208, 0.32);
  border-radius: 7px;
  background: rgba(170, 231, 230, 0.045);
}

.signal-cache summary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 51px;
  padding: 12px 18px;
  color: #bce7e6;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.signal-cache summary::-webkit-details-marker { display: none; }

.signal-cache-led {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(34, 212, 217, 0.9);
  animation: signal-pulse 3s ease-in-out infinite;
}

.signal-cache-spec {
  margin-left: auto;
  color: rgba(237, 244, 239, 0.67);
  font-size: 0.72rem;
}

.signal-cache-arrow {
  margin-left: 12px;
  color: var(--signal);
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.signal-cache[open] .signal-cache-arrow { transform: rotate(45deg); }

.signal-cache-screen {
  position: relative;
  padding: 24px 28px 26px;
  overflow: hidden;
  border-top: 1px solid rgba(155, 205, 208, 0.2);
  background: linear-gradient(145deg, #102228, #19353a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.signal-cache-screen p {
  position: relative;
  max-width: 660px;
  margin: 0 0 13px;
  color: #d6e9e6;
  font-size: 0.86rem;
  line-height: 1.7;
}

.signal-cache-command {
  color: #83e9e8 !important;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.signal-cache-command span { margin-right: 10px; color: var(--signal); }
.signal-cache-screen a { border-bottom: 1px solid rgba(131, 233, 232, 0.6); color: #a9f0ee; }
.signal-cache-screen a:hover { color: #fff; border-color: #fff; }

.signal-cache-screen .signal-cache-echo {
  margin: 20px 0 0;
  color: rgba(214, 233, 230, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-cache-echo span {
  margin-left: 4px;
  color: var(--signal);
  animation: cursor-blink 1.1s steps(1, end) infinite;
}

.site-footer {
  padding: 0 clamp(1.25rem, 5vw, 3.5rem) 34px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(189, 233, 229, 0.28), transparent 40%),
    radial-gradient(circle at 75% 0%, rgba(105, 173, 176, 0.11), transparent 28%),
    var(--paper);
  color: var(--muted);
}

.footer-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  padding: 74px 0 62px;
  border-bottom: 1px solid var(--line);
}

.footer-invite .eyebrow {
  margin-bottom: 18px;
}

.footer-invite h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(23, 43, 49, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 32px rgba(25, 54, 58, 0.13);
  color: #edf4ef;
  font-size: 0.95rem;
  font-weight: 650;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.footer-cta-copy { display: grid; gap: 3px; }
.footer-cta-copy strong { font: inherit; }
.footer-cta-copy small { color: #a9d5d2; font-size: 0.75rem; font-weight: 600; }

.footer-cta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.25;
  transition: transform 180ms ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 38px rgba(25, 54, 58, 0.2);
}

.footer-cta:hover svg {
  transform: translate(3px, -3px);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  color: #344c50;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-meta p {
  margin: 0;
}

.footer-annotation { color: #315e62; font-weight: 700; }
.footer-annotation span { color: var(--focus); }

.footer-cursor {
  height: 0.95em;
  margin-left: 5px;
}

.info-dialog {
  width: min(620px, calc(100% - 2rem));
  max-height: min(720px, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(243, 239, 230, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 30px 100px rgba(12, 10, 8, 0.42);
  color: var(--ink);
  backdrop-filter: blur(32px) saturate(145%);
  -webkit-backdrop-filter: blur(32px) saturate(145%);
}

.info-dialog::backdrop {
  background: rgba(16, 34, 39, 0.72);
  backdrop-filter: blur(10px) saturate(80%);
  -webkit-backdrop-filter: blur(10px) saturate(80%);
}

.info-dialog[open] {
  animation: dialog-enter 180ms ease-out;
}

.dialog-shell {
  position: relative;
  padding: clamp(2rem, 6vw, 3.5rem);
}

.dialog-shell form {
  position: absolute;
  top: 16px;
  right: 16px;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.dialog-avatar {
  width: 88px;
  height: 88px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(28, 22, 17, 0.16);
}

.dialog-shell .eyebrow {
  margin-bottom: 15px;
}

.dialog-shell h2 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.dialog-shell > p:not(.eyebrow) {
  max-width: 510px;
  margin: 21px 0 0;
  color: #465457;
  font-size: 0.98rem;
  line-height: 1.75;
}

.dialog-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
}

.dialog-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.dialog-actions .dialog-link { margin-top: 0; }

@keyframes signal-loop {
  to {
    transform: translateX(-50%);
  }
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes signal-pulse {
  50% { opacity: 0.52; box-shadow: 0 0 3px rgba(34, 212, 217, 0.42); }
}

@keyframes pixel-fade {
  0% { opacity: 0; transform: scale(0.5); }
  20% { opacity: 0.65; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}

@keyframes dialog-enter {
  from {
    transform: translateY(8px) scale(0.985);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.interlude :focus-visible,
.site-footer .footer-cta:focus-visible {
  outline-color: #b5dfe0;
}

.no-js .menu-toggle,
.dialog-fallback .dialog-shell form {
  display: none;
}

.no-js .info-dialog,
.dialog-fallback .info-dialog {
  position: static;
  display: block;
  width: min(620px, calc(100% - 2rem));
  max-height: none;
  margin: 2rem auto;
  background: rgba(243, 239, 230, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.no-js .info-dialog::backdrop,
.dialog-fallback .info-dialog::backdrop {
  display: none;
}

.no-js .site-header {
  position: absolute;
}

@media (min-width: 1500px) {
  .hero {
    min-height: 760px;
  }
}

@media (min-width: 781px) and (max-width: 1100px) {
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero h1 { font-size: clamp(2.4rem, 3.4vw, 3rem); }
  .hero-intro { max-width: min(440px, 49vw); }
  .hero-core { width: min(34vw, 350px); }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 6rem;
  }

  .site-header {
    padding: 10px 20px;
  }

  .nav-shell {
    min-height: 42px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 30px;
    height: 45px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: auto;
    place-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(243, 239, 230, 0.72);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px;
    visibility: hidden;
    transform: translateY(-8px);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 12px;
    background: rgba(243, 239, 230, 0.84);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 18px 40px rgba(25, 54, 58, 0.16);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .no-js .site-header {
    position: relative;
    background: var(--paper);
  }

  .no-js .nav-shell {
    flex-wrap: wrap;
  }

  .no-js .site-nav {
    position: static;
    width: 100%;
    visibility: visible;
    transform: none;
    margin-top: 12px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .nav-link {
    width: 100%;
    padding: 14px 15px;
    text-align: left;
  }

  .site-nav a::after,
  .nav-link::after {
    right: auto;
    bottom: 9px;
    left: 15px;
    width: 18px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media img {
    object-position: 85% center;
    filter: blur(2.5px) saturate(0.93) contrast(0.98);
  }

  .hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(247, 253, 250, 0.93) 0%,
        rgba(237, 250, 247, 0.78) 72%,
        rgba(237, 250, 247, 0.42) 100%
      ),
      linear-gradient(0deg, rgba(25, 51, 57, 0.07), transparent 50%);
  }

  .hero-content {
    padding: 142px 24px 0;
  }

  .hero-core {
    position: relative;
    top: auto;
    right: auto;
    width: min(76vw, 370px);
    margin: 8px auto 55px;
    transform: none;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(2.6rem, 10.5vw, 4rem);
  }

  .hero-intro {
    max-width: 470px;
    font-size: 1rem;
  }

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

  .section-rule {
    display: none;
  }

  .project-prompt {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .project-disclosure summary {
    min-height: 210px;
  }

  .interlude-shell {
    padding: 72px 24px 78px;
  }

  .interlude-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .interlude-kicker span {
    text-align: left;
  }

  .interlude-shell > h2 {
    margin-top: 34px;
    font-size: clamp(2.75rem, 11vw, 4.8rem);
  }

  .field-notes {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 49px;
  }

  .field-note { min-height: 350px; }

  .signal-cache-spec { display: none; }
  .signal-cache-screen { padding: 20px 22px 23px; }

  .footer-invite {
    grid-template-columns: 1fr;
    padding: 60px 0 48px;
  }

  .footer-cta {
    justify-self: start;
  }
}

@media (max-width: 500px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9.2vw, 2.35rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 27px;
  }

  .hero-core { width: min(82vw, 320px); margin-top: 2px; margin-bottom: 42px; }

  .projects {
    padding-top: 32px;
  }

  .section-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .project-grid {
    margin-top: 24px;
  }

  .project-disclosure summary {
    min-height: 202px;
    padding: 20px;
  }

  .project-details {
    padding: 19px 20px 21px;
  }

  .project-actions { padding: 0 20px 20px; }

  .more-work { align-items: flex-start; flex-direction: column; gap: 9px; }

  .project-visual {
    padding: 11px;
  }

  .project-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-flow li::after { display: none; }
  .review-track { grid-template-columns: 1fr; }
  .review-track li,
  .review-track li:nth-child(n) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    text-align: left;
  }
  .review-track strong { margin-top: 0; }

  .project-facts > div {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 9px;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-cta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-transparency: reduce) {
  .site-header,
  .hero .eyebrow,
  .project-card,
  .field-note,
  .milestone,
  .site-nav,
  .signal-strip,
  .footer-cta,
  .info-dialog,
  .info-dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    background: rgba(243, 239, 230, 0.94);
  }

  .site-header { background: rgba(239, 250, 247, 0.97); }
  .hero .eyebrow { background: rgba(247, 255, 251, 0.94); }
  .project-card { background: #f8fcf9; }
  .field-note { background: #233a40; }

  .info-dialog {
    background: rgba(243, 239, 230, 0.98);
  }
}

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

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

  .cursor,
  .footer-cursor,
  .signal-cache-echo span,
  .signal-cache-led {
    animation: none;
  }

  .signal-track {
    transform: none;
    animation: none;
  }

  .js.reveal-ready .reveal {
    transform: none;
    opacity: 1;
  }

  .hero-media {
    transform: scale(1.035);
  }

  .hero-pixels,
  .hero-pointer-light { display: none; }

}

/* A tiny progress game follows the reader through each page. */
.level-track {
  height: 22px;
  width: min(100%, var(--page-width));
  margin: 2px auto -2px;
  pointer-events: none;
}

.level-track-inner {
  position: relative;
  height: 100%;
  margin: 0 48px 0 clamp(165px, 18vw, 230px);
  border-bottom: 2px solid rgba(28, 53, 57, 0.3);
}

.level-track-fill {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(34, 212, 217, 0.5);
}

.level-stop {
  position: absolute;
  bottom: -5px;
  left: var(--stop);
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border: 1px solid var(--focus);
  background: var(--paper);
}

.level-stop i {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--focus);
  font-size: 0.46rem;
  font-style: normal;
}

.level-finish {
  position: absolute;
  right: -49px;
  bottom: -3px;
  padding-left: 5px;
  background: var(--paper);
  color: var(--focus);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mascot-runner {
  position: absolute;
  z-index: 1;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 36px;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 1px rgba(28, 53, 57, 0.23));
}

.mascot-runner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mascot-runner.is-running img { animation: mascot-run 170ms steps(2, end) infinite; }
.mascot-runner.is-hopping img { animation: mascot-hop 450ms ease-out both; }

@keyframes mascot-run {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-4px) rotate(6deg); }
}
@keyframes mascot-hop { 45% { transform: translateY(-12px) rotate(-9deg); } }

/* One rabbit peeks at a time; the entire 86px target can be caught. */
.rabbit-hole {
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 80px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.rabbit-hole.is-peeking { visibility: visible; opacity: 1; pointer-events: auto; cursor: pointer; }
.rabbit-hole.is-peeking:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rabbit-hole.is-caught { pointer-events: none; }
.rabbit-left { top: 56%; left: max(12px, calc((100% - var(--page-width)) / 2 - 94px)); }
.rabbit-right { top: 33%; right: max(12px, calc((100% - var(--page-width)) / 2 - 94px)); }
.rabbit-inline { display: none; }
.rabbit-hole .hole {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16px;
  border: 1px solid rgba(28, 53, 57, 0.25);
  border-radius: 50%;
  background: #273c3e;
  box-shadow: 0 5px 0 rgba(28, 53, 57, 0.1);
}

.rabbit {
  position: absolute;
  bottom: 6px;
  left: 13px;
  width: 60px;
  height: 60px;
  transform: translateY(86px);
  object-fit: contain;
  transition: transform 450ms cubic-bezier(.2,1.4,.4,1);
}

.rabbit-hole.is-peeking .rabbit { transform: translateY(0); }
.rabbit-hole.is-peeking:hover .rabbit { transform: translateY(-5px) rotate(-4deg); }
.rabbit-hole.is-caught .rabbit { transform: translateY(-23px) rotate(12deg) scale(.7); opacity: 0; }

.rabbit-peek-hint {
  position: fixed;
  z-index: 34;
  padding: 7px 11px;
  border: 1px solid rgba(138, 227, 224, .55);
  border-radius: 7px;
  background: rgba(22, 54, 59, .96);
  box-shadow: 0 8px 20px rgba(15, 47, 52, .2), 0 0 16px rgba(33, 196, 198, .12);
  color: #effff8;
  font: 700 .67rem/1.2 var(--font-mono);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  animation: rabbit-hint-arrive 280ms ease-out both;
}
.rabbit-peek-hint[hidden] { display: none; }
@keyframes rabbit-hint-arrive {
  from { opacity: 0; transform: translate(-50%, 5px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.rabbit-pixel-layer { position: fixed; inset: 0; z-index: 39; pointer-events: none; }
.rabbit-pixel {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(17, 80, 83, .34);
  background: var(--tone);
  box-shadow: 0 0 9px var(--tone);
  animation: rabbit-pixel-flight 860ms var(--delay) cubic-bezier(.22,.7,.28,1) both;
}
@keyframes rabbit-pixel-flight {
  0% { opacity: 0; transform: translate(0, 0) scale(.7); }
  20% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.15); }
}

.rabbit-reward-gate {
  position: fixed;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(182, 255, 245, .8);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, rgba(221, 255, 249, .87), rgba(100, 215, 211, .66) 30%, rgba(29, 98, 105, .94) 72%);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, .72), inset 0 -15px 25px rgba(7, 48, 54, .5), 0 0 0 7px rgba(102, 227, 221, .14), 0 12px 42px rgba(9, 59, 65, .42);
  color: #f6fffb;
  font: 700 .67rem/1.3 var(--font-mono);
  text-align: center;
  text-shadow: 0 1px 5px rgba(2, 47, 53, .65);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.5);
  transition: opacity 240ms ease, transform 480ms cubic-bezier(.2,1.35,.35,1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.rabbit-reward-gate.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rabbit-reward-gate::before { position: absolute; inset: -12px; border: 1px solid rgba(48, 192, 193, .48); border-top-color: #d4fff9; border-radius: 50%; content: ""; animation: rabbit-gate-spin 9s linear infinite; }
.rabbit-reward-gate::after { position: absolute; inset: 11px; border: 1px solid rgba(235, 255, 249, .45); border-radius: 50%; content: ""; pointer-events: none; }
.rabbit-reward-gate > * { position: relative; z-index: 1; }
.rabbit-reward-gate > span { color: #e3fff6; font-size: 1.15rem; }
.rabbit-reward-gate strong { margin-top: 4px; font-size: .7rem; }
.rabbit-reward-gate small { margin-top: 2px; color: #e0fff9; font: 700 .62rem/1.3 var(--font-mono); }
.rabbit-reward-gate:hover { box-shadow: inset 0 2px 10px rgba(255, 255, 255, .72), inset 0 -15px 25px rgba(7, 48, 54, .5), 0 0 0 9px rgba(102, 227, 221, .22), 0 12px 48px rgba(9, 59, 65, .52); }
.rabbit-reward-gate:focus-visible { outline: 3px solid var(--focus); outline-offset: 16px; }
@keyframes rabbit-gate-spin { to { transform: rotate(360deg); } }

.project-card[id] { scroll-margin-top: 96px; }

.rabbit-catch-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-left: 3px solid var(--signal);
  border-radius: 10px;
  background: rgba(238, 253, 250, .94);
  box-shadow: 0 14px 42px rgba(20, 58, 63, .2);
  color: #24575c;
  font: 700 .8rem/1.3 var(--font-mono);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.rabbit-catch-toast.is-visible { opacity: 1; transform: none; }
.rabbit-catch-toast:focus { outline: none; }
.rabbit-catch-toast.has-reward { display: flex; align-items: center; gap: 16px; }
.rabbit-catch-toast.is-visible.has-reward { pointer-events: auto; }
.rabbit-catch-toast a { padding-bottom: 2px; border-bottom: 1px solid #2e858a; color: #1c676d; white-space: nowrap; }
.rabbit-catch-toast a:hover { color: #123f44; border-color: currentColor; }
.rabbit-catch-toast a[hidden] { display: none; }

.rabbit-portal {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 25px;
  padding: 12px 16px;
  border: 1px solid rgba(81, 148, 150, .34);
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(226, 250, 246, .72), rgba(255, 255, 255, .45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 9px 25px rgba(25, 76, 80, .08);
  color: #1d6269;
  font: 700 .75rem/1.3 var(--font-mono);
  letter-spacing: .035em;
}
.rabbit-portal[hidden] { display: none; }
.rabbit-portal:hover { border-color: #3e9b9e; box-shadow: 0 10px 28px rgba(25, 76, 80, .14); }
.rabbit-portal-signal { color: #20aeb4; text-shadow: 0 0 12px rgba(34, 212, 217, .5); }
.rabbit-portal small { display: block; margin-top: 2px; color: #587a7d; font: 600 .67rem/1.3 var(--font-ui); letter-spacing: 0; }
.rabbit-portal > span:last-child { margin-left: 14px; font-size: 1rem; }

@media (max-width: 600px) {
  .rabbit-catch-toast.has-reward { right: 16px; left: 16px; justify-content: space-between; gap: 10px; }
  .rabbit-reward-gate { width: 124px; height: 124px; }
}

@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .rabbit-portal { background: #f5fbf7; }
  .rabbit-catch-toast { background: #f5fbf7; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .rabbit-reward-gate { backdrop-filter: none; -webkit-backdrop-filter: none; background: #25757b; }
}

/* Learning page */
.learning-hero {
  min-height: 680px;
  padding: 165px clamp(1.25rem, 5vw, 3.5rem) 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 42%, rgba(183, 228, 223, 0.74), transparent 38%),
    radial-gradient(ellipse at 9% 100%, rgba(208, 238, 232, 0.42), transparent 44%),
    var(--paper);
}

.learning-hero-shell,
.learning-shell,
.learning-outro-shell { width: min(100%, var(--page-width)); margin: 0 auto; }
.learning-hero-shell { display: grid; grid-template-columns: 1fr 0.8fr; align-items: center; gap: 4vw; }
.learning-hero-copy { position: relative; z-index: 1; }
.learning-hero-copy h1 {
  margin: 25px 0 28px;
  font-size: clamp(4.3rem, 8.5vw, 8.5rem);
  font-weight: 700;
  line-height: .89;
  letter-spacing: -.045em;
}
.learning-hero-copy h1 em,
.learning-outro h2 em { color: var(--accent); font-style: normal; }
.learning-period { color: var(--signal); text-shadow: 0 0 18px rgba(34, 212, 217, 0.28); }
.learning-hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: #465457;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.8;
}
.learning-jump {
  display: inline-flex;
  gap: 20px;
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  color: var(--focus);
  font-size: .88rem;
}
.learning-jump span { font-size: 1.1rem; }
.learning-hero-art { position: relative; display: grid; min-height: 440px; place-items: center; }
.learning-hero-art::before {
  position: absolute;
  width: min(82%, 450px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 201, 202, 0.23), rgba(199, 237, 232, 0.17) 48%, transparent 72%);
  filter: blur(28px);
  content: "";
}
.learning-hero-art .signal-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(96%, 520px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(29, 90, 96, .18));
  transform: translate(-50%, -50%) rotate(-5deg);
}
.learning-hero-art .learning-mascot {
  z-index: 1;
  width: min(72%, 390px);
  height: auto;
  aspect-ratio: 807 / 900;
  object-fit: contain;
  filter: drop-shadow(18px 20px 12px rgba(25, 54, 58, .16));
  transform: rotate(-3deg);
}
.orbit-label { position: absolute; z-index: 2; padding: 5px 8px; background: var(--paper); color: var(--focus); font-size: .66rem; font-weight: 700; letter-spacing: .1em; }
.orbit-label-top { top: 5%; left: 5%; }
.orbit-label-side { left: 0; bottom: 19%; border-left: 2px solid var(--signal); }
.orbit-label-bottom { right: 0; bottom: 7%; }

.learning-milestones { position: relative; padding: 66px clamp(1.25rem, 5vw, 3.5rem) 104px; overflow: hidden; background: var(--paper-deep); }
.learning-lead { max-width: 620px; margin: 24px 0 32px; color: #34494d; font-size: 1rem; line-height: 1.7; }
.milestone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.milestone {
  display: flex;
  min-height: 425px;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(237, 250, 247, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 12px 30px rgba(43, 98, 103, .1);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.milestone-boot { border-color: rgba(203, 245, 242, .3); background: linear-gradient(145deg, rgba(42, 78, 84, .96), rgba(25, 54, 61, .97)); color: #edf4ef; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 15px 35px rgba(43, 98, 103, .2); }
.milestone-index { color: var(--focus); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.milestone-boot .milestone-index { color: var(--accent-light); }
.milestone-symbol { display: grid; width: 64px; height: 64px; margin-top: 38px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); font-size: 1.3rem; }
.milestone-boot .milestone-symbol { color: var(--accent-light); }
.milestone h3 { margin: 27px 0 15px; font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.milestone h3 small { display: block; margin-top: 5px; color: var(--focus); font-size: .82rem; letter-spacing: .06em; }
.milestone p { margin: 0 0 24px; color: #34494d; font-size: .95rem; line-height: 1.7; }
.milestone-boot p { color: #cfddda; }
.milestone-foot,
.milestone-links { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(28, 53, 57, .18); color: var(--focus); font-size: .84rem; }
.milestone-foot { display: flex; justify-content: space-between; }
.milestone-links { display: flex; flex-wrap: wrap; gap: 10px 15px; border-color: rgba(255, 255, 255, .2); color: var(--accent-light); }
.milestone-links a,
.milestone-link { text-decoration: underline; text-underline-offset: 5px; }
.milestone-links a:hover,
.milestone-link:hover { color: var(--accent); }

.learning-outro { position: relative; padding: 104px clamp(1.25rem, 5vw, 3.5rem) 112px; overflow: hidden; background: #172b31; color: #edf4ef; }
.learning-outro-shell { position: relative; z-index: 1; }
.learning-outro .eyebrow { color: var(--accent-light); }
.learning-outro h2 { margin: 26px 0; font-size: clamp(3.2rem, 7.3vw, 7.4rem); font-weight: 700; line-height: .96; letter-spacing: -.035em; }
.learning-outro h2 em { color: var(--accent-light); }
.learning-outro-shell > p:not(.eyebrow) { max-width: 620px; color: #e0eeeb; font-size: 1rem; line-height: 1.7; }
.learning-outro .primary-button { margin-top: 22px; }
.learning-outro .rabbit-hole { color: #f3e5d1; }

@media (max-width: 1419px) {
  .projects::before { display: none; }
  .rabbit-left,
  .rabbit-right { display: none; }
  .rabbit-inline { position: relative; display: block; margin: 26px 0 4px auto; }
}

@media (max-width: 1100px) {
  .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone { min-height: 390px; }
}

@media (max-width: 780px) {
  .level-track { height: 17px; }
  .level-track-inner { margin-right: 54px; }
  .level-stop i { display: none; }
  .mascot-runner { width: 26px; height: 29px; }
  .learning-hero { padding-top: 130px; padding-bottom: 70px; }
  .learning-hero-shell { grid-template-columns: 1fr; gap: 18px; }
  .learning-hero-copy h1 { font-size: clamp(4rem, 13vw, 6.7rem); }
  .learning-hero-art { min-height: 330px; }
  .learning-hero-art .learning-mascot { width: min(52%, 220px); }
  .learning-hero-art .signal-halo { width: min(82%, 360px); }
  .orbit-label-top { left: 13%; }
  .orbit-label-side { left: 9%; }
  .orbit-label-bottom { right: 12%; }
  .learning-milestones { padding-top: 50px; padding-bottom: 70px; }
}

@media (max-width: 600px) {
  .milestone-grid { grid-template-columns: 1fr; }
  .milestone { min-height: 330px; }
  .milestone-symbol { margin-top: 24px; }
  .learning-outro { padding-top: 75px; padding-bottom: 85px; }
  .learning-outro h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-runner.is-running img,
  .mascot-runner.is-hopping img { animation: none; }
  .rabbit-hole.is-peeking { opacity: 1; }
  .rabbit-hole.is-peeking .rabbit { transform: none; }
  .rabbit-peek-hint, .rabbit-reward-gate::before { animation: none; }
  .rabbit-reward-gate { transition: none; }
  .rabbit-pixel-layer { display: none; }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-transparency: reduce) {
  .hero-core::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .milestone,
  .milestone-boot {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .milestone { background: #f8fcf9; }
  .milestone-boot { background: #20383e; }
}

.no-js .rabbit-hole { visibility: visible; opacity: 1; }
.no-js .rabbit-hole .rabbit { transform: translateY(0); }
