:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --ink: #292c27;
  --muted: #66695f;
  --line: #d7d8cd;
  --accent: #ab431f;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: #e6bfa8; color: var(--ink); }
.page { width: min(1152px, calc(100% - 96px)); margin: auto; }
.header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 15px; font-weight: 600; }
.brand-mark { background: var(--accent); color: var(--paper); font-family: Georgia, serif; font-size: 27px; height: 36px; width: 36px; display: grid; place-items: center; margin-right: 6px; }
.brand-role, .brand-slash { font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 32px; font-size: 13px; }
nav a { text-decoration: none; padding: 12px 0; }
nav a:hover, .footer a:hover { color: var(--accent); }
nav a span { margin-left: 7px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; padding: 78px 0 86px; }
.eyebrow, .section-label, .figure-top, .node-meta, .connector, .visual-label, .visual-bottom, .project-status, .project-stack, .principle-number { font-family: "Courier New", monospace; }
.eyebrow { font-size: 11px; letter-spacing: .01em; margin: 0 0 27px; display: flex; align-items: center; gap: 10px; }
.small-cross { color: var(--accent); font-size: 25px; font-weight: 400; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(48px, 5.5vw, 76px); letter-spacing: -.055em; line-height: 1.06; margin: 0; }
h1 em { color: var(--accent); font-weight: 400; }
.hero-description { font-size: 16px; line-height: 1.75; max-width: 405px; color: var(--muted); margin: 27px 0; }
.button { display: inline-flex; align-items: center; gap: 36px; padding: 16px 21px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 13px; transition: background .15s; }
.button:hover { background: var(--accent); }
.button span { font-size: 19px; }
.system-figure { margin: 10px 0 0; border: 1px solid var(--line); background-image: radial-gradient(#cdcec2 .7px, transparent .7px); background-size: 16px 16px; padding: 24px; position: relative; }
.figure-top { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.system-drawing { margin: 44px 9px 35px; }
.system-node { display: flex; align-items: center; gap: 14px; padding: 21px 17px; background: var(--paper); border: 1px solid #bfc2b3; box-shadow: 5px 5px 0 #e6e7dc; }
.node-index { align-self: flex-start; font-family: "Courier New", monospace; font-size: 10px; color: var(--muted); padding-top: 3px; }
.node-title { display: block; font-size: 17px; }
.node-meta { display: block; font-size: 10px; margin-top: 7px; color: var(--muted); }
.node-symbol { margin-left: auto; font-size: 23px; color: #737968; white-space: nowrap; }
.node-logic { background: #e8ecdf; border-color: #939e80; }
.node-infra { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.node-infra .node-meta, .node-infra .node-index, .node-infra .node-symbol { color: #c4cbb7; }
.connector { height: 43px; margin-left: 30px; border-left: 1px solid #9a9f8f; position: relative; font-size: 9px; color: var(--muted); display: flex; align-items: center; padding-left: 14px; }
.connector::after { content: ""; position: absolute; bottom: 0; left: -4px; border: 3px solid transparent; border-top: 5px solid #9a9f8f; border-bottom: 0; }
figcaption { border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; color: var(--muted); line-height: 1.6; display: flex; gap: 15px; }
.figure-plus { color: var(--accent); font-size: 24px; line-height: 1.3; }
.section { border-top: 1px solid var(--line); padding: 52px 0 60px; }
.section-label { font-size: 10px; color: var(--muted); letter-spacing: .09em; margin: 0 0 20px; }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; }
.about > .section-label { padding-top: 7px; }
h2 { font-size: 29px; font-weight: 400; line-height: 1.3; letter-spacing: -.035em; margin: 0; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.about-columns p, .project-copy > p:not(.project-status):not(.project-stack):not(.project-note), .principles p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.interests span { border: 1px solid var(--line); padding: 8px 11px; font-size: 11px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading .section-label { margin-bottom: 15px; }
.section-aside { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; }
.project { border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.project-visual { min-height: 225px; padding: 23px 25px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.visual-label, .visual-bottom { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .04em; }
.visual-label { align-items: center; }
.visual-label > span:last-child { font-size: 18px; }
.visual-bottom { font-size: 9px; letter-spacing: 0; }
.visual-caption { opacity: .8; }
.lab-visual { background: #e7e9df; color: #545d49; }
.lab-network { display: flex; align-items: center; justify-content: center; padding: 16px 0; }
.lab-endpoint { font-family: "Courier New", monospace; font-size: 10px; border: 1px solid #acb59d; padding: 10px; }
.lab-wire { height: 1px; width: 33px; background: #9ba68b; }
.server-stack { display: grid; gap: 5px; width: 107px; }
.server-stack > span { height: 25px; background: #f2f3eb; border: 1px solid #8c987b; display: flex; align-items: center; justify-content: space-between; padding: 8px; box-shadow: 3px 3px 0 #d5dbc9; }
.server-stack i { width: 5px; height: 5px; background: #6d7d57; border-radius: 50%; }
.server-stack b { width: 29px; height: 5px; background: repeating-linear-gradient(90deg, #b4bda8 0 2px, transparent 2px 5px); }
.project-copy { padding: 28px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.project-status { font-size: 10px; color: var(--muted); margin: 0 0 15px; display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.muted-dot { background: #71805e; }
h3 { margin: 0 0 14px; font-size: 23px; font-weight: 400; letter-spacing: -.025em; }
.project-stack { font-size: 10px; line-height: 1.8; margin: 22px 0 28px; }
.project-stack span { display: block; color: var(--muted); margin-top: 3px; }
.project-note { width: 100%; padding-top: 19px; border-top: 1px solid var(--line); margin: auto 0 0; font-size: 11px; line-height: 1.6; }
.project-note { color: var(--muted); }
.approach-asterisk { color: var(--accent); font-size: 54px; line-height: 1; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles article { border-top: 1px solid var(--line); padding-top: 21px; }
.principle-number { display: block; font-size: 10px; color: var(--muted); margin-bottom: 24px; }
.principles h3 { font-size: 17px; margin-bottom: 12px; }
.principles p { font-size: 13px; max-width: 310px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 33px; border-top: 1px solid var(--line); font-size: 10px; }
.footer-role { color: var(--muted); margin-left: 7px; }
.footer a { text-decoration: none; }
.footer a span { margin-left: 15px; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 1; padding: 15px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 15px; }
@media (min-width: 1500px) { .hero { padding-top: 90px; padding-bottom: 100px; } }
@media (max-width: 1000px) {
  .page { width: calc(100% - 64px); }
  .hero { gap: 35px; padding-top: 60px; padding-bottom: 60px; }
  .eyebrow { font-size: 9px; }
  .system-figure { padding: 18px; }
  .system-drawing { margin-inline: 0; }
  .system-node { padding: 18px 12px; gap: 9px; }
  .node-title { font-size: 15px; }
  .node-meta { font-size: 9px; }
  .node-symbol { font-size: 19px; }
  .about { grid-template-columns: 1fr; gap: 10px; }
  .about > .section-label { margin-bottom: 8px; }
  .project-copy { padding: 24px; }
  .project-visual { padding: 20px; }
  .lab-wire { width: 18px; }
  .lab-endpoint { padding: 8px; }
}
@media (max-width: 700px) {
  .page { width: calc(100% - 40px); }
  .header { min-height: 84px; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
  .brand { font-size: 14px; }
  .brand-role, .brand-slash { display: none; }
  .brand-mark { width: 29px; height: 29px; font-size: 23px; margin-right: 1px; }
  nav { gap: 16px; font-size: 11px; }
  nav a span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 42px 0; }
  .eyebrow { font-size: 9px; margin-bottom: 22px; gap: 7px; }
  h1 { font-size: clamp(46px, 10vw, 68px); }
  .hero-description { font-size: 15px; max-width: 460px; margin: 24px 0; }
  .system-figure { width: 100%; max-width: 460px; justify-self: center; margin: 0; padding: 24px; }
  .system-drawing { margin: 30px 0; }
  .system-node { padding: 18px; gap: 14px; }
  .node-title { font-size: 17px; }
  .node-meta { font-size: 10px; }
  .section { padding: 36px 0 40px; }
  h2 { font-size: 25px; }
  .about-columns { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .section-heading { align-items: start; margin-bottom: 26px; }
  .section-aside { display: none; }
  .project { grid-template-columns: 1fr; }
  .project-visual { min-height: 210px; padding: 22px; }
  .lab-wire { width: 35px; }
  .project-copy { padding: 24px; }
  .principles { grid-template-columns: 1fr; gap: 26px; }
  .principle-number { margin-bottom: 15px; }
  .principles p { max-width: 100%; }
  .approach-asterisk { font-size: 38px; padding-top: 25px; }
  .footer-role { display: block; margin: 7px 0 0; max-width: 190px; line-height: 1.6; }
  .footer a { white-space: nowrap; }
}
@media (max-width: 380px) {
  .node-symbol { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
