@charset "UTF-8";
:root {
  color-scheme:dark;
  --bg:#111510;
  --surface:#192018;
  --surface-high:#20291e;
  --text:#eef1e8;
  --muted:#a1ab9b;
  --line:#34402f;
  --accent:#c5f78d;
  --accent-ink:#14210a;
  --mono:"Cascadia Code","SFMono-Regular",Consolas,monospace;
  --sans:Inter,"Segoe UI",Arial,sans-serif;
}

:root[data-theme="light"] {
  color-scheme:light;
  --bg:#f2f1e9;
  --surface:#e9ebdf;
  --surface-high:#e0e5d7;
  --text:#1b2519;
  --muted:#5b6954;
  --line:#c5ceba;
  --accent:#3c651c;
  --accent-ink:#f4ffe9;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

body::before {
  position:fixed;
  inset:0;
  pointer-events:none;
  content:"";
  background-image:radial-gradient(var(--line) .6px,transparent .6px);
  background-size:7px 7px;
  opacity:.12;
  z-index:-1;
}

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

button,input {
  font:inherit;
}

button {
  color:inherit;
  cursor:pointer;
}

button,a,summary,input {
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px;
}

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

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

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

.page-shell {
  max-width:1320px;
  margin:auto;
  padding:0 56px;
}

.site-header {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:106px;
  border-bottom:1px solid var(--line);
}

.wordmark {
  font-size:22px;
  font-weight:750;
  letter-spacing:-.8px;
  white-space:nowrap;
}

.brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:37px;
  height:34px;
  margin-right:9px;
  border:1px solid var(--line);
  border-radius:6px;
  font-family:var(--mono);
  font-size:15px;
  color:var(--accent);
}

.site-header nav {
  margin-left:auto;
  display:flex;
  gap:30px;
  align-items:center;
  font-size:13px;
  font-weight:550;
}

.site-header nav a {
  padding:12px 0;
  color:var(--muted);
  transition:color .2s;
}

.site-header nav a:hover {
  color:var(--text);
}

.theme-toggle {
  display:flex;
  align-items:center;
  gap:7px;
  background:none;
  border:1px solid var(--line);
  border-radius:30px;
  padding:9px 13px;
  font-size:12px;
  min-height:42px;
}

.theme-toggle:hover {
  background:var(--surface);
}

.theme-toggle>span:first-child {
  font-size:18px;
  line-height:1;
}

.hero {
  display:grid;
  grid-template-columns:1.16fr 1fr;
  gap:72px;
  align-items:center;
  padding:76px 0 68px;
}

.eyebrow {
  font-family:var(--mono);
  font-size:10px;
  font-weight:500;
  letter-spacing:1.9px;
  line-height:1.6;
}

.hero-eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 30px;
  color:var(--accent);
}

.status-dot {
  width:6px;
  height:6px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px #c5f78d10;
  margin-right:4px;
}

h1,h2,h3,p {
  margin-top:0;
}

h1 {
  font-size:clamp(60px,6.7vw,91px);
  font-weight:650;
  letter-spacing:-6px;
  line-height:1.04;
  margin:0 0 27px;
}

h1 em {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  letter-spacing:-5px;
  color:var(--accent);
}

.hero-description {
  max-width:440px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
  margin-bottom:29px;
}

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

.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:13px 18px;
  border:1px solid transparent;
  border-radius:5px;
  font-size:12px;
  font-weight:700;
  min-height:46px;
  background:var(--accent);
  color:var(--accent-ink);
  transition:transform .2s,filter .2s;
}

.button:hover {
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.button>span[aria-hidden] {
  font-size:18px;
  line-height:1;
}

.text-link {
  font-size:12px;
  border-bottom:1px solid var(--line);
  padding:8px 0;
}

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

.lab-panel {
  min-width:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  padding:25px;
  box-shadow:0 24px 80px #0002;
  scroll-margin-top:24px;
}

.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:22px;
  color:var(--muted);
}

.panel-heading .eyebrow {
  font-size:9px;
  letter-spacing:1.2px;
}

.demo-tag {
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:1px;
  padding:3px 6px;
  border:1px solid var(--line);
  border-radius:3px;
  color:var(--accent);
}

.lab-panel h2 {
  font-size:25px;
  line-height:1.3;
  letter-spacing:-1px;
  margin-bottom:6px;
  font-weight:600;
}

.panel-description {
  font-size: 12px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:23px;
}

.lab-stats {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:13px;
  padding:15px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.metric-label {
  font-size: 10px;
  font-family:var(--mono);
  color:var(--muted);
  display:block;
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.lab-stats strong {
  font-size:22px;
  font-weight:550;
  line-height:1.2;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.lab-stats strong small {
  font-size: 10px;
  font-weight:400;
  color:var(--muted);
}

#served-value {
  color:var(--accent);
}

.traffic-map {
  display:block;
  width:100%;
  height:auto;
  margin:9px 0;
  color:var(--muted);
}

.route {
  fill:none;
  stroke:var(--accent);
  stroke-width:1.2;
  stroke-dasharray:4 6;
  animation:flow 5s linear infinite;
  opacity:.75;
}

.route.offline {
  stroke:var(--muted);
  animation:none;
  opacity:.2;
}

.gateway {
  fill:var(--surface-high);
  stroke:var(--line);
}

.map-label {
  fill:var(--text);
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:1px;
}

.map-node rect {
  fill:var(--surface-high);
  stroke:var(--accent);
  stroke-opacity:.5;
}

.map-node circle {
  fill:var(--accent);
}

.map-node text {
  fill:var(--text);
  font-family:var(--mono);
  font-size:12px;
}

.map-node.offline {
  opacity:.35;
}

.map-node.offline circle {
  fill:var(--muted);
}

.map-node.offline rect {
  stroke:var(--muted);
}

.instance-controls {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-bottom:23px;
}

.instance-controls button {
  border:1px solid var(--line);
  background:transparent;
  border-radius:4px;
  padding:9px 8px;
  font-family:var(--mono);
  font-size: 11px;
  min-height:39px;
  display:flex;
  justify-content:center;
  gap:8px;
  align-items:center;
}

.instance-controls button span {
  font-size: 10px;
  color:var(--accent);
}

.instance-controls button[aria-pressed="false"] {
  background:var(--surface-high);
  color:var(--muted);
}

.instance-controls button[aria-pressed="false"] span {
  color:var(--muted);
}

.instance-controls button:hover {
  border-color:var(--accent);
}

.load-control {
  display:grid;
  grid-template-columns:1fr auto;
  gap:9px;
  font-size: 11px;
  font-family:var(--mono);
  color:var(--muted);
}

.load-control input {
  grid-column:1/-1;
  width:100%;
  margin:0;
  height:20px;
  accent-color:var(--accent);
  cursor:pointer;
}

.lab-status {
  font-size: 11px;
  line-height:1.6;
  margin:14px 0 7px;
  color:var(--accent);
  min-height:17px;
}

.lab-status.is-overloaded {
  color:#f3b56a;
}

:root[data-theme="light"] .lab-status.is-overloaded {
  color:#8a4a00;
}

.simulation-note {
  font-size: 11px;
  line-height:1.6;
  color:var(--muted);
  margin:0;
}

.section-rule {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:1.7px;
  color:var(--muted);
}

.workbench-section {
  padding:78px 0 86px;
}

.section-intro {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:end;
  margin-bottom:40px;
}

.section-intro .eyebrow,.notes-section .eyebrow {
  color:var(--muted);
  margin-bottom:16px;
}

.section-intro h2,.notes-section h2 {
  font-size:42px;
  letter-spacing:-2px;
  line-height:1.12;
  font-weight:550;
  margin-bottom:0;
}

.section-intro>p {
  max-width:350px;
  justify-self:end;
  margin-bottom:2px;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}

.project-row {
  border-top:1px solid var(--line);
}

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

.project-row summary {
  list-style:none;
  display:grid;
  grid-template-columns:50px 1fr 70px 25px;
  gap:15px;
  align-items:center;
  padding:25px 0;
  cursor:pointer;
}

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

.project-number {
  font-family:var(--mono);
  color:var(--muted);
  font-size:10px;
}

.project-name {
  font-size:22px;
  line-height:1.4;
  letter-spacing:-.5px;
}

.project-name small {
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  letter-spacing:0;
  margin-top:5px;
}

.project-state {
  justify-self:end;
  font-family:var(--mono);
  font-size:9px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:3px;
  letter-spacing:1px;
  padding:4px 7px;
}

.project-arrow {
  font-size:24px;
  justify-self:end;
  color:var(--accent);
  font-weight:300;
  transition:transform .2s;
}

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

.project-row[open] .project-name,.project-row summary:hover .project-name {
  color:var(--accent);
}

.project-detail {
  padding:0 75px 25px 65px;
  max-width:770px;
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
}

.project-detail p {
  margin-bottom:8px;
}

.detail-note {
  font-size:11px;
  opacity:.85;
}

.notes-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center;
  padding:10px 0 90px;
}

.notes-section>div:first-child>p:last-child {
  font-size:13px;
  color:var(--muted);
  line-height:1.9;
  max-width:345px;
  margin:24px 0 0;
}

.note-placeholder {
  position:relative;
  min-height:275px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:7px;
  padding:30px 34px;
  overflow:hidden;
  transform:rotate(-1.5deg);
}

.note-placeholder .eyebrow {
  font-size:9px;
  position:relative;
  z-index:1;
}

.note-index {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:145px;
  position:absolute;
  right:18px;
  top:2px;
  color:var(--line);
  opacity:.5;
  line-height:1;
}

.note-placeholder h2 {
  position:relative;
  font-size:29px;
  font-weight:500;
  letter-spacing:-1px;
  line-height:1.2;
  margin:34px 0 12px;
}

.note-placeholder>p {
  position:relative;
  font-size:11px;
  color:var(--muted);
  margin-bottom:0;
}

.note-line {
  position:absolute;
  left:34px;
  right:34px;
  bottom:23px;
  border-bottom:1px solid var(--line);
}

.closing {
  padding:62px 0 75px;
  border-top:1px solid var(--line);
  text-align:center;
}

.closing .eyebrow {
  color:var(--muted);
  margin-bottom:25px;
}

.closing h2 {
  font-size:clamp(45px,5.8vw,70px);
  font-weight:550;
  line-height:1.05;
  letter-spacing:-3.8px;
  margin-bottom:30px;
}

.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  min-height:100px;
  font-size:11px;
  color:var(--muted);
}

.footer-brand {
  font-size:16px;
  color:var(--text);
  font-weight:700;
  letter-spacing:-.5px;
}

.site-footer a:hover {
  color:var(--accent);
}

.skip-link {
  position:fixed;
  z-index:10;
  left:20px;
  top:-80px;
  padding:10px 16px;
  background:var(--accent);
  color:var(--accent-ink);
  border-radius:4px;
}

.skip-link:focus {
  top:15px;
}

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

.error-page {
  min-height:calc(100svh - 212px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:65px 0;
}

.error-page .eyebrow {
  color:var(--accent);
}

.error-page h1 {
  margin:20px 0;
}

.error-page>p:not(.eyebrow) {
  max-width:420px;
  color:var(--muted);
  margin-bottom:28px;
}

@keyframes flow {
  to {
    stroke-dashoffset:-100;
  }
}

@media(max-width:1050px) {
  .page-shell {
    padding:0 32px;
  }
  .hero {
    gap:35px;
    padding-top:60px;
    padding-bottom:60px;
  }
  h1 {
    font-size:70px;
    letter-spacing:-5px;
  }
  h1 em {
    letter-spacing:-4px;
  }
  .hero-description {
    font-size:15px;
  }
  .hero-actions {
    gap:15px;
  }
  .lab-panel {
    padding:20px;
  }
  .notes-section {
    gap:60px;
  }
  .section-intro {
    gap:40px;
  }
}

@media(max-width:820px) {
  .hero {
    grid-template-columns:1fr;
    gap:48px;
    padding-top:55px;
  }
  .hero-copy {
    max-width:620px;
  }
  h1 {
    font-size:clamp(64px,11vw,88px);
  }
  .hero-description {
    max-width:470px;
    font-size:16px;
  }
  .lab-panel {
    max-width:560px;
    width:100%;
    padding:26px;
    justify-self:center;
  }
  .traffic-map {
    max-height:200px;
  }
  .site-header {
    min-height:92px;
    gap:20px;
  }
  .site-header nav {
    gap:20px;
  }
  .section-intro h2,.notes-section h2 {
    font-size:36px;
  }
  .notes-section {
    gap:35px;
  }
  .note-placeholder {
    padding:25px;
  }
  .note-placeholder h2 {
    font-size:26px;
  }
  .theme-toggle {
    padding:9px 12px;
  }
}

@media(max-width:560px) {
  .page-shell {
    padding:0 21px;
  }
  .site-header {
    flex-wrap:wrap;
    gap:0;
    min-height:112px;
    padding:20px 0 12px;
  }
  .wordmark {
    font-size:20px;
  }
  .brand-mark {
    width:31px;
    height:29px;
    font-size:13px;
  }
  .theme-toggle {
    margin-left:auto;
    min-height:36px;
  }
  .site-header nav {
    order:3;
    width:100%;
    margin:8px 0 0;
    justify-content:space-between;
    gap:12px;
    font-size:12px;
  }
  .site-header nav a {
    padding:7px 0;
  }
  .hero {
    padding-top:42px;
    padding-bottom:44px;
    gap:40px;
  }
  .hero-eyebrow {
    font-size:9px;
    letter-spacing:1px;
    gap:7px;
    margin-bottom:23px;
  }
  h1 {
    font-size:clamp(55px,13.8vw,77px);
    letter-spacing:-3.6px;
  }
  h1 em {
    letter-spacing:-3.5px;
  }
  .hero-description {
    font-size:14px;
    margin-bottom:25px;
  }
  .hero-actions {
    gap:19px;
    align-items:flex-start;
    flex-direction:column;
  }
  .button {
    font-size:12px;
    padding:12px 16px;
  }
  .lab-panel {
    padding:18px;
  }
  .panel-heading .eyebrow {
    font-size:8px;
  }
  .lab-panel h2 {
    font-size:24px;
  }
  .panel-description {
    font-size: 12px;
  }
  .lab-stats {
    gap:8px;
  }
  .lab-stats strong {
    font-size:21px;
  }
  .metric-label {
    font-size: 10px;
  }
  .lab-stats strong small {
    font-size: 10px;
  }
  .instance-controls button {
    font-size: 11px;
    gap:6px;
    min-height:42px;
  }
  .section-rule {
    font-size:7px;
    letter-spacing:1px;
    gap:12px;
  }
  .section-rule span:last-child {
    text-align:right;
  }
  .workbench-section {
    padding:48px 0 55px;
  }
  .section-intro {
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:28px;
  }
  .section-intro>p {
    justify-self:start;
    max-width:340px;
    font-size:12px;
  }
  .section-intro h2,.notes-section h2 {
    font-size:35px;
  }
  .eyebrow {
    font-size:9px;
  }
  .project-row summary {
    grid-template-columns:22px 1fr 23px;
    gap:10px;
    padding:22px 0;
  }
  .project-state {
    display:none;
  }
  .project-name {
    font-size:18px;
  }
  .project-name small {
    font-size:10px;
    max-width:220px;
  }
  .project-detail {
    padding:0 25px 22px 32px;
    font-size:12px;
  }
  .project-number {
    font-size:9px;
  }
  .notes-section {
    grid-template-columns:1fr;
    gap:30px;
    padding-bottom:58px;
  }
  .notes-section>div:first-child>p:last-child {
    font-size:12px;
  }
  .note-placeholder {
    min-height:260px;
    margin:0 5px;
  }
  .closing {
    padding:44px 0 50px;
  }
  .closing h2 {
    font-size:48px;
    letter-spacing:-2.7px;
  }
  .closing .eyebrow {
    font-size:8px;
  }
  .site-footer {
    min-height:100px;
    flex-wrap:wrap;
    gap:6px 15px;
    padding:25px 0;
    font-size:10px;
  }
  .site-footer .footer-brand {
    width:100%;
  }
  .error-page {
    min-height:65svh;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
}


/* Shared page navigation and the smaller, personal landing page. */
.site-header nav a[aria-current="page"] { color:var(--accent); box-shadow:inset 0 -1px var(--accent); }
.theme-toggle { width:44px; height:44px; padding:0; justify-content:center; flex-shrink:0; }

.home-hero { display:block; padding:80px 0 76px; }
.home-hero .hero-copy { max-width:850px; }
.home-hero .hero-description { max-width:600px; margin-bottom:23px; }
.social-links { display:flex; gap:12px; }
.social-links a { width:46px; height:46px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--muted); transition:color .2s, border-color .2s, transform .2s; }
.social-links a:hover { color:var(--accent); border-color:var(--accent); transform:translateY(-3px); }
.social-links svg { width:19px; height:19px; }
.home-rule { margin-bottom:30px; }
.home-page .site-footer { border-top:0; }
.interior-page .page-path { color:var(--accent); font-size:11px; letter-spacing:.04em; }
.interior-page main { min-height:calc(100svh - 207px); }
.interior-page h1 { font-size:clamp(48px,5.4vw,72px); letter-spacing:-3.8px; line-height:1.08; }
.interior-page h1 em { letter-spacing:-3px; }
.interior-page .workbench-section { padding:75px 0 85px; }
.interior-page .section-intro { grid-template-columns:1.45fr 1fr; gap:50px; }
.interior-page .section-intro h1 { margin-bottom:0; }
.inline-link { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.page-intro { padding:70px 0 35px; }
.page-intro>p:last-child { max-width:470px; font-size:15px; color:var(--muted); }
.lab-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; padding:6px 0 25px; }
.lab-card { min-width:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); transition:border-color .2s, transform .2s; }
.lab-card:hover { border-color:var(--accent); transform:translateY(-4px); }
.lab-card-art { padding:23px 25px 12px; border-bottom:1px solid var(--line); background-image:radial-gradient(var(--line) .8px,transparent .8px); background-size:16px 16px; }
.lab-card-art svg { display:block; width:100%; max-height:200px; margin-top:10px; }
.lab-card-copy { padding:25px; }
.lab-card-copy .eyebrow { color:var(--muted); margin-bottom:10px; }
.lab-card h2 { font-size:28px; font-weight:500; letter-spacing:-1px; margin-bottom:10px; }
.lab-card-copy>p:not(.eyebrow) { color:var(--muted); font-size:13px; max-width:350px; }
.lab-card-cta { display:flex; align-items:center; justify-content:space-between; color:var(--accent); font-size:12px; margin-top:22px; }
.lab-card-cta>span { font-size:23px; }
.gallery-note { font:11px/1.8 var(--mono); color:var(--muted); padding-bottom:55px; }
.back-link { display:inline-block; font:11px var(--mono); color:var(--muted); margin-top:36px; padding:8px 0; }
.back-link:hover { color:var(--accent); }
.experiment-layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:65px; padding:35px 0 85px; }
.experiment-copy>p:not(.eyebrow),.about-copy>p:not(.eyebrow) { color:var(--muted); max-width:450px; font-size:15px; line-height:1.8; }
.experiment-steps { padding-left:20px; margin:28px 0; font-size:13px; color:var(--muted); }
.experiment-steps li { padding-left:6px; margin-bottom:11px; }
.experiment-steps li::marker { color:var(--accent); font-family:var(--mono); }
.experiment-steps strong { color:var(--text); font-weight:500; }
.experiment-copy>p.experiment-note { font:10px/1.8 var(--mono); max-width:350px; }
.interior-page .notes-section { min-height:640px; padding:75px 0 85px; gap:70px; grid-template-columns:1.4fr 1fr; }
.interior-page .notes-section h1 { margin-bottom:0; }
.interior-page .notes-section>div:first-child>p:last-child { max-width:390px; font-size:14px; }
.about-layout { display:grid; grid-template-columns:1fr 1fr; gap:75px; align-items:center; padding:75px 0 85px; min-height:660px; }
.about-copy .text-link { display:inline-block; margin-top:7px; }
.construction-panel { min-width:0; margin:0; padding:23px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.construction-panel .panel-heading { margin-bottom:15px; }
.construction-art { display:block; width:100%; color:var(--line); }
.construction-lines { fill:none; stroke:var(--accent); stroke-width:1.2; opacity:.6; }
.story-window { fill:var(--bg); stroke:var(--line); }
.window-dots { fill:var(--muted); }
.story-block { fill:var(--surface-high); stroke:var(--line); }
.story-text { stroke:var(--muted); opacity:.6; stroke-width:2; }
.blueprint-label { fill:var(--muted); font:8px var(--mono); letter-spacing:1px; }
.lifted-piece { animation:assemble 5s ease-in-out infinite; }
.lifted-piece rect { fill:var(--accent); }
.lifted-piece>path:last-child { fill:none; stroke:var(--accent-ink); stroke-width:1.5; }
.construction-panel figcaption { border-top:1px solid var(--line); padding-top:18px; font:11px/1.8 var(--mono); }
.construction-panel figcaption .muted { display:block; margin:5px 0 0 18px; font-size:10px; }
.construction-status { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--accent); margin-right:12px; }
@keyframes assemble { 0%,100% { transform:translateY(0); } 50% { transform:translateY(32px); } }
@media(max-width:1050px) {
  .home-hero h1 { font-size:clamp(60px,7vw,78px); }
  .site-header nav { gap:22px; }
  .experiment-layout,.about-layout { gap:35px; }
  .interior-page .section-intro,.interior-page .notes-section { gap:35px; }
}
@media(max-width:820px) {
  .home-hero { padding:55px 0; }
  .home-hero h1 { font-size:clamp(64px,11vw,88px); }
  .experiment-layout,.about-layout { grid-template-columns:1fr; gap:35px; }
  .experiment-copy,.about-copy { max-width:600px; }
  .experiment-layout .lab-panel { max-width:600px; }
  .construction-panel { width:100%; max-width:560px; justify-self:center; }
  .interior-page .notes-section { grid-template-columns:1fr; min-height:0; }
  .interior-page .note-placeholder { width:100%; max-width:480px; justify-self:center; }
  .lab-gallery { grid-template-columns:1fr 1fr; gap:20px; }
}
@media(max-width:560px) {
  .theme-toggle { width:42px; height:42px; }
  .site-header nav { gap:12px; }
  .home-hero { padding:42px 0; }
  .home-hero h1 { font-size:clamp(48px,13vw,72px); letter-spacing:-3.5px; }
  .home-hero .hero-description { font-size:15px; }
  .home-hero .hero-eyebrow { font-size:8px; letter-spacing:.8px; }
  .home-rule { margin-bottom:12px; }
  .interior-page h1 { font-size:clamp(36px,9vw,50px); letter-spacing:-2px; }
  .interior-page h1 em { letter-spacing:-1.8px; }
  .interior-page .section-intro { grid-template-columns:1fr; gap:20px; }
  .interior-page .workbench-section,.page-intro,.about-layout,.interior-page .notes-section { padding-top:43px; padding-bottom:48px; }
  .page-intro { padding-bottom:20px; }
  .page-intro>p:last-child,.experiment-copy>p:not(.eyebrow),.about-copy>p:not(.eyebrow) { font-size:14px; }
  .lab-gallery { grid-template-columns:1fr; gap:22px; }
  .lab-card-copy { padding:22px; }
  .gallery-note { padding-bottom:30px; }
  .back-link { margin-top:25px; }
  .experiment-layout { padding:25px 0 48px; }
  .construction-panel { padding:18px; }
  .construction-panel .panel-heading .eyebrow { font-size:8px; }
  .interior-page .notes-section { gap:35px; }
}
@media(prefers-reduced-motion:reduce) { .lifted-piece { animation:none; } }
