@charset "UTF-8";

:root {
  --bg: var(--tone-050505);
  --bg-secondary: var(--tone-0a0a0a);
  --text: var(--tone-f5f5f5);
  --text-secondary: var(--tone-8a8a8a);
  --border: var(--border-base);
  --card: var(--card-base);
  --accent: #5e6ad2;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:disabled { opacity: .35; cursor: default; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
ul { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: #cacde7; color: var(--tone-050505); }
:focus-visible { outline: 2px solid var(--tone-a7afff); outline-offset: 5px; }
main:focus { outline: none; }
.container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 128px; }
.eyebrow, .micro { font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .12em; }
.eyebrow { color: var(--tone-a0a0a0); letter-spacing: .17em; }
.micro { color: var(--text-secondary); }
.eyebrow .status-dot { margin-right: 10px; }
.muted-word { color: var(--tone-747474); }
.subtle-dot { color: var(--tone-777); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; background: var(--text); color: var(--bg); padding: 16px 24px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* A narrow, quiet navigation frame. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; font-size: 23px; font-weight: 600; letter-spacing: -.045em; }
.brand img { width: 24px; height: 24px; margin-right: 11px; }
.brand-dot { color: var(--tone-878787); }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 12px; color: var(--tone-aaa); }
.primary-nav > a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--tone-fff); }
.nav-github { padding-left: 24px; border-left: 1px solid var(--border); }
.menu-toggle { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link > span[aria-hidden] { transition: transform .2s; }
.text-link:hover > span[aria-hidden] { transform: translate(3px, -1px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 50px; padding: 14px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--tone-ececec); color: var(--tone-0a0a0a); }
.button-primary:hover { background: var(--tone-fff); }
.button-secondary { background: var(--tone-101010); border-color: var(--tone-2a2a2a); }
.button-secondary:hover { background: var(--tone-181818); border-color: var(--tone-484848); }

/* The identity has the space; the ornament stays in the background. */
.hero { position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 720px; align-items: center; padding: 70px 0 76px; }
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; }
.little-cross { color: var(--tone-d0d0d0); font-size: 17px; }
.hero h1 { font-size: clamp(88px, 10.4vw, 154px); line-height: .94; font-weight: 600; letter-spacing: -.076em; }
.hero h1 > span:not(.i18n-text) { color: var(--tone-9c9c9c); }
.hero-period { color: var(--text); }
.hero-subtitle { font-size: 20px; line-height: 1.5; font-weight: 400; letter-spacing: -.025em; color: var(--tone-cecece); margin-top: 34px; }
.hero-note { color: var(--text-secondary); font-size: 13px; line-height: 1.85; margin-top: 20px; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 30px; }
.hero-actions .text-link { color: var(--tone-bababa); }
.hero-art { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 5%; border-radius: 50%; background: radial-gradient(ellipse, rgba(94, 106, 210, .055), transparent 66%); }
.orbital-ring { position: absolute; border: 1px solid var(--tone-ffffff0d); border-radius: 50%; }
.ring-outer { inset: 1%; }
.ring-inner { inset: 14%; border-color: var(--tone-ffffff08); }
.hero-symbol { width: 60%; height: auto; opacity: .48; filter: grayscale(1); transform: rotate(-9deg); }
.hero-dot-field { position: absolute; inset: 23%; border-radius: 50%; opacity: .28; background-image: radial-gradient(var(--tone-7a7a7a) .8px, transparent .8px); background-size: 9px 9px; mask-image: radial-gradient(ellipse, transparent 36%, var(--tone-000) 78%, transparent); }
.art-cross { position: absolute; font-family: var(--mono); color: var(--tone-5c5c5c); font-size: 16px; }
.cross-top { top: 11%; right: 16%; }
.cross-bottom { bottom: 14%; left: 15%; }
.art-coordinates { position: absolute; bottom: 1%; font: 9px var(--mono); letter-spacing: .13em; color: var(--tone-606060); }
.hero-baseline { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); padding: 26px 0 28px; }
.hero-baseline .micro { font-size: 8px; }
.hero-baseline a { display: inline-flex; gap: 28px; font-size: 10px; color: var(--tone-c0c0c0); }

/* Hardware visual: an attributed reference with a clearly illustrative screen. */
.featured-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--tone-080808), var(--tone-050505)); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; margin-top: 42px; }
.featured-visual { position: relative; min-width: 0; }
.device-art { position: relative; min-height: 510px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.device-art::before { content: ""; position: absolute; inset: 8% 0; z-index: -1; background: radial-gradient(ellipse, #ffffff05, transparent 70%); }
.device-shell { position: relative; width: 286px; transform: rotate(-5deg); }
.device-shell > img { width: 100%; height: auto; }
.device-ui { position: absolute; top: 15.2%; left: 20.75%; width: 47.5%; height: 40.8%; padding: 9px 8px; display: flex; flex-direction: column; border-radius: 9%; color: #d9d9d9; background: #090909; border: 1px solid #262626; font: 7px/1.5 var(--mono); overflow: hidden; }
.device-topline { display: flex; justify-content: space-between; font-size: 5.5px; color: #9b9b9b; }
.device-topline span:last-child { color: #adb4dc; }
.device-host { font-size: 13px; letter-spacing: -.04em; font-weight: 600; margin-top: 10px; }
.device-status { color: #6f6f6f; font-size: 5.5px; margin: 2px 0 8px; }
.device-metric { position: relative; display: flex; justify-content: space-between; margin-bottom: 8px; padding-bottom: 7px; font-size: 6px; }
.device-metric::after, .device-metric > i { content: ""; position: absolute; bottom: 0; left: 0; height: 2px; }
.device-metric::after { width: 100%; background: #262626; z-index: -1; }
.device-metric > i { background: #bfc3d4; }
.cpu-fill { width: 28%; }
.ram-fill { width: 42%; }
.disk-fill { width: 61%; }
.device-network { font-size: 6px; color: #9a9a9a; margin-top: 3px; line-height: 1.7; }
.device-bottom { display: flex; justify-content: space-between; gap: 4px; font-size: 4.5px; border-top: 1px solid #252525; padding-top: 5px; margin-top: auto; color: #737373; }
.device-lesson { display: flex; flex-direction: column; border-top: 1px solid #262626; padding: 8px 0; }
.device-lesson small { font-size: 5px; color: #8e8e8e; }
.device-lesson strong { font-size: 7px; margin: 3px 0; }
.device-lesson span { font-size: 5px; color: #727272; }
.device-shadow { position: absolute; width: 55%; height: 30px; bottom: 8%; background: #000; filter: blur(18px); z-index: -1; transform: rotate(-5deg); }
.device-mark { position: absolute; color: #4d4d4d; font: 14px var(--mono); }
.mark-one { left: 7%; top: 14%; }
.mark-two { right: 7%; bottom: 13%; }
figcaption { color: var(--tone-8a8a8a); font-size: 10px; line-height: 1.7; }
.featured-visual figcaption, .detail-device-figure figcaption { text-align: center; margin-top: 10px; }
.featured-copy > .micro { color: var(--tone-aaa); margin-bottom: 22px; }
.featured-copy h2 { font-size: clamp(40px, 4.1vw, 59px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.featured-copy > p:not(.micro) { max-width: 400px; color: var(--tone-a2a2a2); font-size: 14px; line-height: 1.85; margin-top: 26px; }
.featured-copy .feature-aside { font-size: 12px !important; color: var(--tone-8a8a8a) !important; margin-top: 17px !important; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.tags li { font: 9px/1.5 var(--mono); color: var(--tone-a6a6a6); border: 1px solid var(--tone-ffffff12); padding: 5px 8px; border-radius: 4px; }
.featured-copy .button { margin-top: 30px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8990cb; vertical-align: middle; flex: none; }

/* Two generous features, not a wall of tiny cards. */
.projects-section { border-top: 1px solid var(--border); }
.projects-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 56px; }
.projects-heading h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; margin-top: 18px; }
.projects-heading > p { color: var(--tone-939393); font-size: 13px; line-height: 1.8; padding-bottom: 3px; }
.project-list { display: grid; gap: 24px; }
.project-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; padding: 54px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); min-width: 0; }
.project-card-copy, .project-card-visual { min-width: 0; }
.project-index { color: var(--tone-8a8a8a); margin-bottom: 38px; }
.project-card h3 { font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.045em; line-height: 1.06; font-weight: 500; }
.project-card h3 a { display: block; }
.project-card h3 a:hover { color: var(--tone-d0d0d0); }
.project-card h3 a > span:first-child { display: block; color: var(--tone-7e7e7e); font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.project-title-dot { color: var(--tone-7a7a7a); }
.project-tagline { font-size: 13px; line-height: 1.8; color: var(--tone-aaa); margin-top: 21px; max-width: 320px; }
.project-card .tags { margin-top: 22px; }
.project-link { margin-top: 29px; }
.project-card-visual figcaption { margin-top: 15px; text-align: center; }
.project-evolution { display: grid; grid-template-columns: 1fr 1.1fr; gap: 25px; align-items: center; padding-top: 44px; }
.project-evolution > div { display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: 13px; }
.project-evolution a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.project-evolution a > span:not(.i18n-text) { font: 9px var(--mono); color: var(--tone-8a8a8a); }
.evolution-arrow { color: var(--tone-666); }
.project-evolution > p { grid-column: 2; font-size: 10px; color: var(--tone-8a8a8a); }

/* Demonstrations never contact a server or consume private calendar data. */
.schedule-demo, .monitor-demo { border: 1px solid var(--tone-ffffff14); background: var(--tone-0c0c0c); border-radius: 12px; padding: 24px; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.demo-heading .micro { font-size: 9px; letter-spacing: .07em; }
.status-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--tone-a3a3a3); font: 8px/1.5 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.calendar-date { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 30px; }
.calendar-date .micro { font-size: 9px; }
.calendar-date h3 { font-size: 28px; font-weight: 500; letter-spacing: -.05em; margin-top: 5px; line-height: 1.25; }
.calendar-date h3 span { font-size: 13px; color: var(--tone-8a8a8a); }
.date-controls { display: flex; gap: 5px; }
.date-controls button { background: transparent; border: 1px solid var(--tone-262626); min-width: 44px; min-height: 44px; border-radius: 6px; transition: background .2s; }
.date-controls button:hover:not(:disabled) { background: var(--tone-1c1c1c); }
.calendar-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.calendar-days button { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 8px 11px; font: 14px var(--mono); background: transparent; color: var(--tone-8a8a8a); border-radius: 6px; border: 1px solid transparent; }
.calendar-days button span { font-size: 9px; }
.calendar-days button:hover { color: var(--tone-ddd); background: var(--tone-141414); }
.calendar-days button[aria-pressed="true"] { border-color: var(--tone-303030); background: var(--tone-181818); color: var(--tone-eee); }
.course-list { min-height: 170px; margin-top: 20px; }
.course { border-top: 1px solid var(--tone-242424); }
.course:last-child { border-bottom: 1px solid var(--tone-242424); }
.course summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: pointer; padding: 19px 0; min-height: 76px; }
.course summary::-webkit-details-marker { display: none; }
.course summary > span:first-child { display: flex; flex-direction: column; gap: 7px; }
.course summary small { font: 10px var(--mono); color: var(--tone-8a8a8a); }
.course summary strong { font-size: 13px; font-weight: 500; }
.course-plus { color: var(--tone-777); font-size: 18px; transition: transform .2s; }
.course[open] .course-plus { transform: rotate(45deg); }
.course > p { color: var(--tone-a0a0a0); font-size: 11px; line-height: 1.8; padding: 0 0 19px; max-width: 310px; }
.empty-day { min-height: 164px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-top: 1px solid var(--tone-242424); border-bottom: 1px solid var(--tone-242424); }
.empty-day strong { font-size: 17px; font-weight: 400; letter-spacing: -.025em; }
.empty-day span { color: var(--tone-8a8a8a); font-size: 12px; line-height: 1.7; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--tone-242424); margin-top: 18px; padding-top: 10px; font: 9px var(--mono); color: var(--tone-888); }
.quiet-button { min-height: 44px; padding: 8px 0 8px 12px; font: 10px var(--mono); background: transparent; color: var(--tone-b8b8b8); }
.quiet-button:hover { color: var(--tone-fff); }
.js .date-controls, .js .calendar-days, .js .demo-foot button, .js .monitor-tabs { visibility: visible; }
html:not(.js) .date-controls, html:not(.js) .calendar-days, html:not(.js) .demo-foot button, html:not(.js) .monitor-tabs { display: none; }
.monitor-poster { padding: 27px 30px 24px; position: relative; min-height: 308px; border: 1px solid var(--tone-242424); border-radius: 12px; background: radial-gradient(ellipse at 50% 80%, var(--tone-ffffff03), transparent), var(--tone-0b0b0b); }
.monitor-poster > .micro { font-size: 8px; color: var(--tone-777); }
.poster-value { font-size: 86px; font-weight: 400; letter-spacing: -.065em; margin: 24px 0 30px; line-height: 1; }
.poster-value > span:not(.i18n-text) { font-size: 24px; color: var(--tone-747474); margin-left: 6px; }
.poster-bars { height: 48px; display: flex; align-items: flex-end; gap: 5px; }
.poster-bars i { background: var(--tone-494949); flex: 1; height: 35%; border-radius: 2px 2px 0 0; }
.poster-bars i:nth-child(3n) { height: 70%; background: var(--tone-6a6a6a); }
.poster-bars i:nth-child(4n) { height: 48%; }
.poster-bars i:nth-child(5n) { height: 85%; background: var(--tone-7f7f7f); }
.poster-bars i:nth-child(7n) { height: 55%; }
.poster-labels { display: flex; justify-content: space-between; gap: 15px; font: 7px var(--mono); letter-spacing: .03em; color: var(--tone-777); margin-top: 20px; }
.monitor-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--tone-242424); margin-top: 18px; }
.monitor-tabs button { font-size: 10px; color: var(--tone-838383); background: transparent; min-height: 44px; border-bottom: 1px solid transparent; padding: 0; }
.monitor-tabs button[aria-selected="true"] { color: var(--tone-eee); border-bottom-color: var(--tone-b7b7b7); }
.monitor-panel { min-height: 256px; padding-top: 24px; }
.metric + .metric { margin-top: 22px; }
.metric > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 11px; color: var(--tone-9a9a9a); }
.metric strong { font: 24px var(--mono); letter-spacing: -.08em; color: var(--tone-ddd); }
.metric strong > span:not(.i18n-text) { font-size: 12px; margin-left: 3px; color: var(--tone-8a8a8a); }
.metric-track { height: 4px; background: var(--tone-262626); margin-top: 10px; border-radius: 4px; overflow: hidden; }
.metric-track > span:not(.i18n-text) { display: block; height: 100%; background: var(--tone-a6a6a6); transition: width .3s; }
.performance-reading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.performance-reading > span:not(.i18n-text) { font: 9px var(--mono); color: var(--tone-8a8a8a); }
.performance-reading strong { font: 27px var(--mono); letter-spacing: -.075em; }
.sample-chart { height: 146px; display: flex; gap: 5px; align-items: flex-end; padding-top: 20px; border-bottom: 1px solid var(--tone-333); }
.sample-chart > i { flex: 1; height: 26%; background: var(--tone-777); border-radius: 2px 2px 0 0; transition: height .3s; }
.sample-chart > i:nth-child(3n) { height: 46%; }
.sample-chart > i:nth-child(4n) { height: 33%; }
.sample-chart > i:nth-child(5n) { height: 58%; }
.sample-chart > i:nth-child(7n) { height: 40%; }
.chart-caption { padding-top: 13px; font-size: 9px; }
.network-readings > div { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--tone-222); font-size: 12px; }
.network-readings dt { color: var(--tone-8a8a8a); }
.network-readings dd { font: 12px var(--mono); color: var(--tone-ddd); }

/* Open editorial space for the person behind the work. */
.about-section { border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; }
.about-grid h2 { margin-top: 26px; font-size: 52px; line-height: 1.1; font-weight: 500; letter-spacing: -.05em; }
.whoami { display: grid; gap: 7px; margin-top: 60px; font: 10px/1.7 var(--mono); }
.whoami > span:not(.i18n-text) { color: var(--tone-8a8a8a); }
.whoami > strong { font-weight: 400; color: var(--tone-a2a2a2); }
.whoami > span:nth-of-type(2) { margin-top: 15px; }
.about-copy { padding-top: 41px; }
.about-copy > p { font-size: 14px; color: var(--tone-959595); line-height: 1.95; margin-bottom: 26px; }
.about-copy .about-lead { color: var(--tone-d2d2d2); font-size: 22px; line-height: 1.5; letter-spacing: -.025em; }
.about-copy blockquote { font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; line-height: 1.15; letter-spacing: -.045em; padding-top: 15px; }
.notes-teaser { padding: 95px 0; border-top: 1px solid var(--border); }
.notes-teaser-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; align-items: end; }
.notes-teaser h2 { font-size: 36px; letter-spacing: -.04em; line-height: 1.15; font-weight: 400; margin-top: 20px; }
.notes-teaser-inner > div:last-child > p { color: var(--tone-929292); font-size: 13px; line-height: 1.8; max-width: 270px; margin-bottom: 18px; }
.notes-teaser .text-link { color: var(--tone-bbb); }

/* Filing links are outside every reveal, overlay and animation. */
.site-footer { border-top: 1px solid var(--border); background: var(--tone-080808); padding: 56px 0 28px; }
.footer-main { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 52px; }
.footer-name { display: inline-block; font-size: 43px; font-weight: 500; letter-spacing: -.06em; line-height: 1.2; }
.footer-name > span:not(.i18n-text) { color: var(--tone-747474); }
.footer-main p { font-size: 10px; color: var(--tone-929292); margin-top: 12px; }
.footer-nav { display: flex; gap: 30px; font-size: 11px; color: var(--tone-b5b5b5); }
.footer-nav > a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.footer-nav .text-link { font-size: 11px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 10px; color: var(--tone-929292); }
.filings { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; opacity: 1; visibility: visible; }
.filings > a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--tone-a6a6a6); font-size: 11px; }
.filings > a:hover { color: var(--tone-fff); }
.filings img { width: 18px; height: 20px; object-fit: contain; }
.material-credit { color: var(--tone-8a8a8a); font-size: 9px; line-height: 1.8; margin-top: 12px; }
.material-credit a { display: inline-flex; align-items: center; min-height: 32px; }

/* Shared templates: project index, two detail pages, and a small notebook. */
.page-intro { padding: 105px 0 85px; }
.page-intro h1, .notes-page h1 { font-size: clamp(76px, 8.6vw, 124px); font-weight: 500; line-height: .98; letter-spacing: -.07em; margin-top: 28px; }
.page-intro > p:last-child { margin-top: 28px; font-size: 17px; color: var(--tone-9d9d9d); line-height: 1.7; }
.project-index-section { padding-bottom: 100px; }
.index-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 40px 0 0; }
.index-note > p { color: var(--tone-919191); font-size: 12px; line-height: 1.8; max-width: 350px; }
.detail-hero { padding: 54px 0 70px; }
.breadcrumb { display: inline-flex; gap: 25px; align-items: center; color: var(--tone-aaa); font-size: 11px; min-height: 44px; margin-bottom: 48px; }
.breadcrumb > span:not(.i18n-text) { color: var(--tone-8a8a8a); font: 10px var(--mono); }
.detail-hero h1 { font-size: clamp(54px, 7.3vw, 104px); font-weight: 500; letter-spacing: -.065em; line-height: 1.03; margin-top: 24px; }
.detail-hero h1 > span:first-child { display: block; color: var(--tone-777); }
.detail-tagline { font-size: 19px; color: var(--tone-b2b2b2); letter-spacing: -.02em; line-height: 1.6; margin-top: 25px; }
.project-meta { display: grid; grid-template-columns: .7fr 1fr 2fr; gap: 30px; margin-top: 58px; padding-top: 25px; border-top: 1px solid var(--border); }
.project-meta dt { font: 8px var(--mono); color: var(--tone-858585); letter-spacing: .1em; margin-bottom: 13px; }
.project-meta dd { font-size: 12px; color: var(--tone-c3c3c3); line-height: 1.8; }
.project-meta .status-dot { margin-right: 8px; }
.detail-showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; background: var(--tone-0a0a0a); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px 56px; }
.detail-showcase .device-art { min-height: 480px; }
.detail-demo-figure figcaption { margin-top: 18px; line-height: 1.85; max-width: 380px; font-size: 11px; color: var(--tone-b0b0b0); }
.detail-demo-figure figcaption > span:not(.i18n-text) { display: inline-block; margin-top: 7px; color: var(--tone-8a8a8a); font-size: 10px; }
.detail-content { padding-top: 45px; }
.detail-section { display: grid; grid-template-columns: 1fr 2fr; gap: 100px; padding: 68px 0; border-bottom: 1px solid var(--border); }
.detail-section-label { padding-top: 9px; font-size: 9px; }
.detail-section-copy { max-width: 665px; }
.detail-section-copy h2 { font-size: 37px; font-weight: 400; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 25px; }
.detail-section-copy > p { font-size: 15px; line-height: 1.9; color: var(--tone-a0a0a0); }
.detail-section-copy > p + p { margin-top: 20px; }
.architecture-section { padding: 95px 0; background: var(--tone-0a0a0a); margin-top: 70px; border-block: 1px solid var(--border); }
.architecture-section h2 { font-size: 43px; font-weight: 400; line-height: 1.15; letter-spacing: -.045em; margin-top: 22px; }
.architecture { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 50px 0; }
.architecture > div { display: flex; flex-direction: column; gap: 13px; }
.architecture > div > span:not(.i18n-text) { font: 9px var(--mono); color: var(--tone-8a8a8a); }
.architecture strong { font-size: 16px; font-weight: 500; }
.architecture small { font-size: 11px; color: var(--tone-8a8a8a); }
.architecture-arrow { color: var(--tone-5b5b5b); }
.architecture-section .container > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: var(--tone-a0a0a0); max-width: 740px; }
.architecture-section .container > p + p { margin-top: 17px; }
.technical-list { margin-top: 35px; }
.technical-list > div { display: grid; grid-template-columns: 125px 1fr; gap: 30px; padding: 20px 0; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.8; }
.technical-list dt { color: var(--tone-8a8a8a); }
.technical-list dd { color: var(--tone-c1c1c1); }
.detail-section-copy .detail-note { font-size: 11px; line-height: 1.85; color: var(--tone-8a8a8a); margin-top: 25px; }
.detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 25px; }
.detail-links .text-link { font-size: 12px; }
.next-project { padding: 80px 0 95px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.next-project > div > .micro { display: block; margin-bottom: 24px; font-size: 9px; }
.next-project a { display: block; font-size: 36px; letter-spacing: -.035em; line-height: 1.2; }
.next-project a:hover { color: var(--tone-b5b5b5); }
.next-project a > span:not(.i18n-text) { margin-left: 30px; color: var(--tone-737373); font-size: 24px; }
.next-number { font: 86px var(--mono); letter-spacing: -.06em; color: var(--tone-2a2a2a); }
.notes-page { min-height: 660px; padding-block: 100px; }
.notes-page-lead { font-size: 23px; color: var(--tone-aaa); line-height: 1.6; letter-spacing: -.025em; margin-top: 32px; }
.coming-soon { display: flex; align-items: center; gap: 11px; font: 11px var(--mono); color: var(--tone-b3b3b3); margin-top: 48px; }
.notes-page-note { font-size: 12px; color: var(--tone-8a8a8a); margin-top: 28px; }
.notes-page .text-link { margin-top: 10px; }

/* Motion never gates content visibility and never runs a background loop. */
.reveal-ready { transition: transform .6s cubic-bezier(.22,.7,.2,1); transform: translateY(14px); }
.reveal-ready.is-in-view { transform: none; }

@media (min-width: 1600px) {
  .hero-grid { min-height: 785px; }
}
@media (max-width: 1199px) {
  .container { width: calc(100% - 80px); }
  .hero-grid { min-height: 650px; }
  .featured-grid { gap: 48px; }
  .project-card { gap: 35px; padding: 36px; }
  .about-grid, .notes-teaser-inner { gap: 65px; }
  .calendar-date h3 { font-size: 25px; }
  .calendar-date h3 span { font-size: 11px; }
  .schedule-demo, .monitor-demo { padding: 20px; }
  .detail-showcase { gap: 40px; padding: 30px 36px; }
  .detail-section { gap: 60px; }
}
@media (max-width: 1023px) {
  .hero h1 { font-size: 104px; }
  .hero-art { width: 110%; margin-left: -6%; }
  .hero-baseline .micro:last-child { display: none; }
  .featured-grid { gap: 35px; }
  .featured-copy h2 { font-size: 41px; }
  .device-shell { width: 255px; }
  .device-art { min-height: 440px; }
  .featured-copy .feature-aside { display: none; }
  .project-card { grid-template-columns: .9fr 1.1fr; gap: 30px; padding: 30px; }
  .project-card h3 { font-size: 36px; }
  .project-index { margin-bottom: 28px; }
  .project-evolution { grid-template-columns: .8fr 1.2fr; }
  .calendar-date h3 span { display: block; margin-top: 3px; }
  .demo-heading { gap: 8px; }
  .demo-heading .micro { font-size: 9px; }
  .poster-labels { flex-wrap: wrap; }
  .about-grid h2 { font-size: 42px; }
  .about-copy .about-lead { font-size: 20px; }
  .detail-showcase { gap: 24px; padding: 25px; }
  .detail-showcase .device-art { min-height: 430px; }
  .detail-section { grid-template-columns: .8fr 2fr; }
  .architecture { gap: 12px; }
  .architecture strong { font-size: 13px; }
  .architecture small { font-size: 10px; }
  .footer-bottom { align-items: flex-start; }
  .filings { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (max-width: 767px) {
  :root { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 80px; }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 21px; min-height: 68px; }
  .brand img { width: 21px; height: 21px; margin-right: 9px; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 44px; padding: 8px 0 8px 16px; background: transparent; font-size: 11px; }
  .menu-symbol { font: 21px var(--mono); transition: transform .2s; }
  .menu-open .menu-symbol { transform: rotate(45deg); }
  .primary-nav { width: 100%; gap: 22px; font-size: 11px; padding: 0 0 13px; }
  .js .primary-nav { display: none; }
  .js .menu-open .primary-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 0 23px; border-top: 1px solid var(--tone-1d1d1d); }
  .menu-open .primary-nav > a { min-height: 52px; font-size: 16px; }
  .nav-github { border-left: 0; padding-left: 0; }
  .hero-grid { position: relative; display: block; min-height: 0; padding: 67px 0 52px; }
  .hero h1 { font-size: clamp(83px, 17vw, 122px); max-width: 6ch; }
  .hero-eyebrow { font-size: 8px; gap: 10px; margin-bottom: 26px; }
  .hero-subtitle { font-size: 17px; margin-top: 28px; }
  .hero-note { font-size: 12px; margin-top: 17px; }
  .hero-actions { gap: 22px; margin-top: 26px; }
  .button { min-height: 48px; padding-inline: 17px; gap: 24px; }
  .hero-art { position: absolute; width: 250px; right: -105px; top: 72px; margin: 0; opacity: .24; z-index: 0; }
  .hero-symbol { opacity: .5; }
  .hero-art .art-coordinates, .hero-art .art-cross { display: none; }
  .hero-baseline { padding: 22px 0; }
  .hero-baseline .micro { font-size: 7px; letter-spacing: .06em; }
  .hero-baseline a { gap: 12px; font-size: 9px; }
  .section-heading .micro { font-size: 8px; }
  .section-heading .eyebrow { font-size: 8px; }
  .featured-grid { display: flex; flex-direction: column; gap: 34px; margin-top: 32px; align-items: stretch; }
  .featured-visual { order: 2; }
  .featured-copy > .micro { font-size: 9px; margin-bottom: 19px; }
  .featured-copy h2 { font-size: clamp(39px, 8.4vw, 56px); }
  .featured-copy > p:not(.micro) { font-size: 13px; max-width: 420px; margin-top: 23px; }
  .featured-copy .button { margin-top: 25px; }
  .device-art { min-height: 420px; max-width: 480px; margin-inline: auto; }
  .device-shell { width: 252px; }
  .featured-visual figcaption { margin-top: 0; }
  .projects-heading { display: block; margin-bottom: 32px; }
  .projects-heading h2 { font-size: 37px; margin-top: 16px; }
  .projects-heading > p { margin-top: 19px; font-size: 12px; }
  .projects-heading > p > br { display: none; }
  .project-card { grid-template-columns: 1fr; padding: 30px 22px 24px; gap: 31px; }
  .project-index { margin-bottom: 25px; font-size: 10px; }
  .project-card h3 { font-size: 42px; }
  .project-card h3 a > span:first-child { font-size: 18px; }
  .project-tagline { font-size: 12px; margin-top: 18px; }
  .project-link { margin-top: 20px; }
  .project-card .tags { margin-top: 18px; }
  .project-card-visual { width: 100%; max-width: 440px; margin-inline: auto; }
  .project-evolution { display: block; padding-top: 30px; }
  .project-evolution > .micro { display: block; font-size: 8px; margin-bottom: 16px; }
  .project-evolution > div { justify-content: flex-start; gap: 20px; font-size: 11px; }
  .project-evolution a { gap: 8px; }
  .project-evolution > p { margin-top: 10px; font-size: 9px; }
  .schedule-demo, .monitor-demo { padding: 20px; }
  .calendar-date h3 { font-size: 27px; }
  .calendar-date h3 span { display: inline; font-size: 11px; }
  .calendar-days button { padding-inline: 10px; }
  .project-card-visual figcaption { font-size: 9px; }
  .demo-heading .micro { font-size: 9px; }
  .monitor-poster { min-height: 300px; padding: 24px; }
  .poster-value { font-size: 82px; }
  .poster-labels { font-size: 6px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-grid h2 { font-size: 44px; margin-top: 18px; }
  .whoami { display: none; }
  .about-copy { padding-top: 0; }
  .about-copy .about-lead { font-size: 22px; }
  .about-copy > p { font-size: 13px; margin-bottom: 24px; }
  .about-copy blockquote { font-size: 39px; padding-top: 11px; }
  .notes-teaser { padding: 65px 0; }
  .notes-teaser-inner { grid-template-columns: 1fr; gap: 28px; }
  .notes-teaser h2 { font-size: 34px; margin-top: 18px; }
  .notes-teaser-inner > div:last-child > p { font-size: 12px; }
  .site-footer { padding-top: 40px; }
  .footer-main { display: block; padding-bottom: 28px; }
  .footer-name { font-size: 41px; }
  .footer-nav { gap: 27px; margin-top: 21px; }
  .footer-bottom { flex-direction: column; gap: 13px; }
  .filings { gap: 0; }
  .filings > a { font-size: 11px; }
  .material-credit { font-size: 9px; margin-top: 10px; }
  .page-intro { padding: 70px 0 50px; }
  .page-intro h1, .notes-page h1 { font-size: clamp(68px, 15vw, 100px); }
  .page-intro > p:last-child { font-size: 14px; margin-top: 23px; }
  .project-index-section { padding-bottom: 65px; }
  .index-note { flex-direction: column; gap: 18px; padding-top: 30px; }
  .index-note .micro { font-size: 8px; }
  .detail-hero { padding: 32px 0 38px; }
  .breadcrumb { margin-bottom: 31px; font-size: 10px; }
  .detail-hero .eyebrow { font-size: 8px; }
  .detail-hero h1 { font-size: clamp(39px, 9.8vw, 67px); margin-top: 21px; }
  .detail-tagline { font-size: 16px; margin-top: 23px; }
  .project-meta { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; padding-top: 22px; }
  .project-meta > div:last-child { grid-column: 1 / -1; }
  .project-meta dt { margin-bottom: 9px; font-size: 7px; }
  .project-meta dd { font-size: 11px; }
  .detail-showcase { grid-template-columns: 1fr; gap: 30px; padding: 20px; }
  .detail-showcase .device-art { min-height: 410px; }
  .detail-demo-figure { max-width: 440px; width: 100%; margin-inline: auto; }
  .detail-device-figure figcaption { font-size: 9px; }
  .detail-demo-figure figcaption { font-size: 10px; }
  .detail-demo-figure figcaption > span:not(.i18n-text) { font-size: 9px; }
  .detail-content { padding-top: 15px; }
  .detail-section { grid-template-columns: 1fr; gap: 23px; padding: 49px 0; }
  .detail-section-label { font-size: 8px; }
  .detail-section-copy h2 { font-size: 30px; margin-bottom: 22px; }
  .detail-section-copy > p { font-size: 13px; }
  .architecture-section { padding: 60px 0; margin-top: 45px; }
  .architecture-section h2 { font-size: 32px; }
  .architecture { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 20px; padding: 36px 0; }
  .architecture > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 13px; row-gap: 5px; }
  .architecture > div > span:not(.i18n-text) { grid-row: 1 / 3; padding-top: 3px; }
  .architecture strong { font-size: 15px; }
  .architecture small { font-size: 11px; }
  .architecture-arrow { transform: rotate(90deg); margin-left: 41px; }
  .architecture-section .container > p:not(.eyebrow) { font-size: 12px; }
  .technical-list { margin-top: 28px; }
  .technical-list > div { grid-template-columns: 88px 1fr; gap: 17px; font-size: 11px; padding: 17px 0; }
  .detail-section-copy .detail-note { font-size: 10px; }
  .detail-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .next-project { padding: 55px 0 65px; }
  .next-project a { font-size: 28px; }
  .next-project a > span:not(.i18n-text) { font-size: 20px; margin-left: 15px; }
  .next-number { font-size: 52px; }
  .next-project > div > .micro { font-size: 7px; }
  .notes-page { min-height: 590px; padding-block: 74px; }
  .notes-page .eyebrow { font-size: 8px; }
  .notes-page-lead { font-size: 19px; margin-top: 27px; }
}
@media (max-width: 479px) {
  .calendar-date { align-items: flex-end; gap: 8px; }
  .calendar-date h3 span { display: block; }
  .date-controls { gap: 4px; }
  .demo-heading { gap: 7px; }
  .demo-heading .micro { font-size: 9px; letter-spacing: .035em; }
  .status-tag { font-size: 8px; letter-spacing: .025em; }
  .project-card h3 { font-size: 37px; }
  .project-evolution > div { gap: 15px; }
  .project-evolution a { gap: 7px; font-size: 10px; }
  .monitor-tabs { gap: 14px; }
  .monitor-tabs button { font-size: 10px; }
  .detail-showcase { padding-inline: 15px; }
  .detail-showcase .schedule-demo, .detail-showcase .monitor-demo { padding: 17px; }
  .hero-actions .text-link { font-size: 12px; gap: 12px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 81px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { gap: 16px; }
  .button { font-size: 11px; gap: 17px; padding-inline: 14px; }
  .project-card { padding-inline: 16px; }
  .schedule-demo, .monitor-demo { padding-inline: 15px; }
  .calendar-days { gap: 4px; }
  .calendar-days button { padding-inline: 7px; }
  .project-evolution > div { gap: 10px; }
  .demo-foot { font-size: 9px; }
  .quiet-button { font-size: 10px; }
  .next-project a { font-size: 25px; }
  .next-number { font-size: 38px; }
  .filings > a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready, .button:hover { transform: none !important; }
}
:root {
  --tone-000: #000;
  --tone-050505: #050505;
  --tone-080808: #080808;
  --tone-0a0a0a: #0a0a0a;
  --tone-0b0b0b: #0b0b0b;
  --tone-0c0c0c: #0c0c0c;
  --tone-101010: #101010;
  --tone-141414: #141414;
  --tone-181818: #181818;
  --tone-1c1c1c: #1c1c1c;
  --tone-1d1d1d: #1d1d1d;
  --tone-222: #222;
  --tone-242424: #242424;
  --tone-262626: #262626;
  --tone-2a2a2a: #2a2a2a;
  --tone-303030: #303030;
  --tone-333: #333;
  --tone-484848: #484848;
  --tone-494949: #494949;
  --tone-5b5b5b: #5b5b5b;
  --tone-5c5c5c: #5c5c5c;
  --tone-606060: #606060;
  --tone-666: #666;
  --tone-6a6a6a: #6a6a6a;
  --tone-737373: #737373;
  --tone-747474: #747474;
  --tone-777: #777;
  --tone-7a7a7a: #7a7a7a;
  --tone-7e7e7e: #7e7e7e;
  --tone-7f7f7f: #7f7f7f;
  --tone-838383: #838383;
  --tone-858585: #858585;
  --tone-878787: #878787;
  --tone-888: #888;
  --tone-8a8a8a: #8a8a8a;
  --tone-919191: #919191;
  --tone-929292: #929292;
  --tone-939393: #939393;
  --tone-959595: #959595;
  --tone-9a9a9a: #9a9a9a;
  --tone-9c9c9c: #9c9c9c;
  --tone-9d9d9d: #9d9d9d;
  --tone-a0a0a0: #a0a0a0;
  --tone-a2a2a2: #a2a2a2;
  --tone-a3a3a3: #a3a3a3;
  --tone-a6a6a6: #a6a6a6;
  --tone-a7afff: #a7afff;
  --tone-aaa: #aaa;
  --tone-b0b0b0: #b0b0b0;
  --tone-b2b2b2: #b2b2b2;
  --tone-b3b3b3: #b3b3b3;
  --tone-b5b5b5: #b5b5b5;
  --tone-b7b7b7: #b7b7b7;
  --tone-b8b8b8: #b8b8b8;
  --tone-bababa: #bababa;
  --tone-bbb: #bbb;
  --tone-c0c0c0: #c0c0c0;
  --tone-c1c1c1: #c1c1c1;
  --tone-c3c3c3: #c3c3c3;
  --tone-cecece: #cecece;
  --tone-d0d0d0: #d0d0d0;
  --tone-d2d2d2: #d2d2d2;
  --tone-ddd: #ddd;
  --tone-ececec: #ececec;
  --tone-eee: #eee;
  --tone-f5f5f5: #f5f5f5;
  --tone-fff: #fff;
  --tone-ffffff03: #ffffff03;
  --tone-ffffff08: #ffffff08;
  --tone-ffffff0d: #ffffff0d;
  --tone-ffffff12: #ffffff12;
  --tone-ffffff14: #ffffff14;
  --border-base: rgba(255,255,255,.10);
  --card-base: rgba(255,255,255,.025);
  --header-bg: rgba(5,5,5,.96);
}
:root[data-theme="light"] {
  --tone-000: #ffffff;
  --tone-050505: #f7f7f5;
  --tone-080808: #f0f0ed;
  --tone-0a0a0a: #efefec;
  --tone-0b0b0b: #fdfdfb;
  --tone-0c0c0c: #fdfdfb;
  --tone-101010: #f3f3f0;
  --tone-141414: #eaeae6;
  --tone-181818: #e5e5e0;
  --tone-1c1c1c: #e4e4de;
  --tone-1d1d1d: #d9d9d3;
  --tone-222: #d9d9d3;
  --tone-242424: #d8d8d1;
  --tone-262626: #d3d3cc;
  --tone-2a2a2a: #ccccc5;
  --tone-303030: #c9c9c1;
  --tone-333: #c8c8c0;
  --tone-484848: #989891;
  --tone-494949: #b4b4ad;
  --tone-5b5b5b: #777770;
  --tone-5c5c5c: #75756f;
  --tone-606060: #70706a;
  --tone-666: #6e6e68;
  --tone-6a6a6a: #686862;
  --tone-737373: #666660;
  --tone-747474: #666660;
  --tone-777: #62625d;
  --tone-7a7a7a: #62625d;
  --tone-7e7e7e: #60605a;
  --tone-7f7f7f: #60605a;
  --tone-838383: #5f5f59;
  --tone-858585: #5f5f59;
  --tone-878787: #5e5e58;
  --tone-888: #5e5e58;
  --tone-8a8a8a: #5e5e58;
  --tone-919191: #5b5b55;
  --tone-929292: #595953;
  --tone-939393: #595953;
  --tone-959595: #575751;
  --tone-9a9a9a: #55554f;
  --tone-9c9c9c: #55554f;
  --tone-9d9d9d: #53534d;
  --tone-a0a0a0: #52524c;
  --tone-a2a2a2: #50504a;
  --tone-a3a3a3: #4e4e48;
  --tone-a6a6a6: #4d4d47;
  --tone-a7afff: #5e6ad2;
  --tone-aaa: #4b4b45;
  --tone-b0b0b0: #474741;
  --tone-b2b2b2: #45453f;
  --tone-b3b3b3: #44443e;
  --tone-b5b5b5: #42423c;
  --tone-b7b7b7: #41413b;
  --tone-b8b8b8: #40403a;
  --tone-bababa: #3e3e38;
  --tone-bbb: #3d3d37;
  --tone-c0c0c0: #3b3b35;
  --tone-c1c1c1: #393933;
  --tone-c3c3c3: #373731;
  --tone-cecece: #30302a;
  --tone-d0d0d0: #2b2b25;
  --tone-d2d2d2: #282822;
  --tone-ddd: #24241e;
  --tone-ececec: #191916;
  --tone-eee: #1c1c19;
  --tone-f5f5f5: #191916;
  --tone-fff: #161613;
  --tone-ffffff03: #00000003;
  --tone-ffffff08: #00000008;
  --tone-ffffff0d: #0000000d;
  --tone-ffffff12: #00000012;
  --tone-ffffff14: #00000014;
  --border-base: rgba(25,25,22,.13);
  --card-base: rgba(255,255,255,.76);
  --header-bg: rgba(247,247,245,.97);
  color-scheme: light;
}

::selection { color: #161613; }
/* Preferences are available independently of the mobile navigation. */
.header-inner { gap: 24px; }
.brand { order: 0; }
.primary-nav { order: 1; margin-left: auto; gap: 24px; }
.site-preferences { display: none; order: 2; gap: 4px; align-items: center; }
.js .site-preferences { display: flex; }
.preference-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 8px 11px; background: transparent; border: 1px solid var(--border); border-radius: 6px; font-size: 11px; color: var(--text); }
.preference-button:hover { background: var(--card); border-color: var(--text-secondary); }
.preference-button svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-moon { display: none; }
[data-theme="light"] .theme-sun { display: none; }
[data-theme="light"] .theme-moon { display: block; }
.menu-toggle { order: 3; }
[data-theme="light"] .brand img, [data-theme="light"] .hero-symbol { filter: brightness(0); }
html[lang="zh-CN"] .hero h1 { letter-spacing: -.035em; line-height: 1.1; }
html[lang="zh-CN"] h2, html[lang="zh-CN"] .page-intro h1, html[lang="zh-CN"] .detail-hero h1 { letter-spacing: -.035em; line-height: 1.15; }
html[lang="zh-CN"] .eyebrow, html[lang="zh-CN"] .micro { letter-spacing: .06em; }
@media (max-width: 1023px) and (min-width: 768px) {
  .header-inner { gap: 16px; }
  .primary-nav { gap: 18px; }
  .nav-github { padding-left: 14px; }
  .preference-button { padding-inline: 9px; }
}
@media (max-width: 767px) {
  .header-inner { gap: 8px; }
  .brand { margin-right: auto; }
  .primary-nav { order: 4; margin-left: 0; }
  .site-preferences { gap: 3px; }
  .js .menu-toggle { padding: 8px; gap: 7px; min-width: 44px; }
}
@media (max-width: 480px) {
  .theme-toggle { padding: 8px; }
  .theme-toggle [data-theme-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .js .menu-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html[lang="zh-CN"] .featured-copy h2 { font-size: clamp(34px, 8vw, 42px); }
  html[lang="zh-CN"] .calendar-date h3 { font-size: 23px; }
}
