@charset "UTF-8";

/* Kevin Yu — a quiet editorial surface for product judgment and technical work. */
:root {
  color-scheme: light;
  --ink: #142238;
  --muted: #667184;
  --blue: #2155d7;
  --blue-dark: #163eaa;
  --line: #e3e7ed;
  --paper: #fff;
  --wash: #f6f8fb;
  --blue-wash: #edf3ff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Noto Sans TC Local", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 400; font-synthesis: none; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
::selection { color: #102448; background: #dbe7ff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input { color: inherit; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { vertical-align: middle; }
p, h1, h2, h3, h4, figure { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid #7195f0; outline-offset: 5px; border-radius: 3px; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; background: var(--ink); color: white; padding: 10px 20px; }
.skip-link:focus { top: 12px; }
.preview-bar { padding: 7px 24px; background: #f0f3f8; color: #5c6676; text-align: center; font-size: 12px; letter-spacing: .02em; line-height: 1.6; border-bottom: 1px solid #e7ebf1; }
.preview-bar a { border-bottom: 1px solid currentColor; }
.preview-bar > .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; text-align: left; font-family: var(--sans); }
.preview-bar > .container > span:first-child { font-family: var(--sans); font-size: 12px; }
.preview-version { margin-left: auto; font-size: 12px; color: #8b95a5; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; min-height: 88px; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 1px; width: 34px; height: 34px; background: var(--ink); color: white; font-size: 16px; font-weight: 500; letter-spacing: -.015em; border-radius: 3px; }
.brand-mark > span { font-size: 10px; align-self: flex-start; padding-top: 4px; }
.brand-word > span { color: #6f7c92; }
.brand-word { font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.main-nav a { position: relative; color: #657080; font-size: 13px; font-weight: 500; padding: 30px 0; white-space: nowrap; transition: color .18s ease; }
.main-nav a:hover, .main-nav a.active, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a.active::after, .main-nav a[aria-current="page"]::after { content: ""; height: 2px; background: var(--blue); position: absolute; bottom: 20px; left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.search-trigger, .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 34px; height: 36px; padding: 6px; border: 0; background: transparent; color: #566175; font-size: 12px; white-space: nowrap; }
.search-trigger kbd { padding: 1px 4px; border: 1px solid #e1e6ee; border-radius: 3px; color: #9aa4b3; font-family: var(--sans); font-size: 12px; }
.search-trigger:hover, .menu-toggle:hover { background: var(--wash); color: var(--blue); }
.search-trigger svg, .menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.eyebrow, .hero-kicker { color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .02em; text-transform: none; }
.hero { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: 76px; min-height: 575px; padding-top: 76px; padding-bottom: 80px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: #4e617c; }
.hero-kicker > .status-dot { background: var(--blue); }
.hero-title { font-size: clamp(38px, 3.8vw, 55px); font-weight: 450; line-height: 1.45; letter-spacing: -.015em; text-wrap: balance; }
.hero-title > span { display: inline; }
.blue { color: var(--blue); }
.hero-description { max-width: 490px; margin-top: 25px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 10px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.5; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: #253c5b; transform: translateY(-1px); }
.button.secondary { border-color: #dbe0e7; background: white; }
.button.secondary:hover { background: var(--wash); border-color: #acb7c8; }
.hero-footnote { margin-top: 24px; color: #8791a0; font-family: var(--sans); font-size: 12px; letter-spacing: .01em; }
.hero-visual { position: relative; min-width: 0; padding: 26px 0; }
.hero-visual::before { content: ""; position: absolute; inset: -10px -20px; z-index: -1; background-image: radial-gradient(#c8d0dd .7px, transparent .7px); background-size: 17px 17px; mask-image: radial-gradient(ellipse, black 20%, transparent 72%); }
.system-board { position: relative; overflow: hidden; border: 1px solid #dce2ec; border-radius: 7px; background: white; box-shadow: 0 12px 36px -20px #7382a24d; }
.board-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; border-bottom: 1px solid #e8ecf3; background: #fbfcfe; }
.board-label { color: #6b778a; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.board-dots { display: flex; gap: 5px; color: #cbd2df; font-size: 7px; letter-spacing: 2px; }
.board-dots span, .board-dots i { width: 4px; height: 4px; border-radius: 50%; background: #cbd2df; }
.system-core { display: flex; flex-direction: column; align-items: center; padding: 33px 18px 0; text-align: center; }
.core-icon { display: inline-flex; align-items: center; justify-content: center; gap: 1px; width: 43px; height: 43px; margin-bottom: 12px; color: var(--blue); background: var(--blue-wash); border: 1px solid #d7e3ff; border-radius: 10px; font-family: var(--sans); font-size: 21px; }
.core-icon > span { font-size: 13px; align-self: flex-start; padding-top: 5px; }
.core-icon svg { width: 22px; height: 22px; }
.system-title { font-size: 16px; font-weight: 500; letter-spacing: -.015em; }
.system-caption { margin-top: 3px; font-size: 12px; color: #929aaa; font-family: var(--sans); }
.system-connectors { position: relative; height: 42px; width: 66%; margin-inline: auto; border-top: 1px solid #c7d5eb; border-left: 1px solid #c7d5eb; border-right: 1px solid #c7d5eb; margin-top: 24px; border-radius: 4px 4px 0 0; }
.system-connectors::before { content: ""; position: absolute; height: 24px; width: 1px; left: 50%; top: -25px; background: #c7d5eb; }
.system-connectors::after { content: ""; position: absolute; height: 41px; width: 1px; left: 50%; top: 0; background: #c7d5eb; }
.system-nodes { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0 18px 27px; }
.system-node { position: relative; text-align: center; border: 1px solid #dfe6ef; background: #fafbfd; border-radius: 4px; padding: 14px 6px; }
.system-node small { display: block; color: #8491a6; font-family: var(--sans); font-size: 12px; margin-bottom: 4px; letter-spacing: .025em; }
.system-node strong { display: block; font-size: 13px; font-weight: 450; }
.system-node > span { display: block; margin-top: 4px; color: #99a4b6; font-family: var(--sans); font-size: 12px; line-height: 1.6; }
.board-bottom { display: flex; align-items: center; gap: 7px; color: #7b879a; border-top: 1px solid #e8ecf3; padding: 12px 18px; font-family: var(--sans); font-size: 12px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #3c997b; flex-shrink: 0; }
.board-bottom { justify-content: space-between; }
.board-bottom > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.visual-caption { display: flex; justify-content: flex-end; gap: 12px; margin-top: 14px; color: #8d98aa; font-size: 12px; }
.visual-caption > span { color: #a2acbb; font-family: var(--sans); font-size: 12px; }
.section { padding-top: 53px; padding-bottom: 60px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-title { display: block; font-size: 24px; font-weight: 450; line-height: 1.5; letter-spacing: -.015em; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-index { color: #98a1af; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 450; line-height: 1.6; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.section-intro { margin-top: -12px; margin-bottom: 30px; color: var(--muted); font-size: 14px; max-width: 700px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.project-card { min-width: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: white; transition: border-color .2s ease, box-shadow .2s ease; }
.project-card:hover { border-color: #becbdd; box-shadow: 0 10px 28px -20px #6c7c9859; }
.project-card { display: flex; flex-direction: column; }
.project-card > a { display: block; flex: 1; }
.project-art { position: relative; min-height: 224px; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-screenshot { aspect-ratio: 16 / 10; min-height: 0; padding: 14px; background: #eef1f6; }
.project-screenshot img { display: block; width: 100%; height: 100%; object-fit: contain; box-shadow: 0 3px 15px #16243a18; }
.case-screenshot { margin: 32px 0; }
.case-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.voice-art { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 28px; text-align: center; background: #f0f4fa; }
.voice-wave { margin: 17px 0; font-size: 30px; letter-spacing: 7px; color: var(--blue); }
.voice-art p { margin: 0 0 8px; font-size: 15px; color: #435975; }
.voice-art > span:last-child { font-size: 12px; color: #62738b; }
.workflow-art { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; background: #f0f4fa; background-image: radial-gradient(#b5c4d544 .7px, transparent .7px); background-size: 14px 14px; }
.flow-label { display: flex; justify-content: space-between; gap: 10px; color: #7a8ba3; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; margin-bottom: 21px; }
.flow-row { display: flex; align-items: center; gap: 0; }
.flow-node { flex: 1; padding: 16px 5px; text-align: center; background: #fff; border: 1px solid #d4deed; border-radius: 5px; box-shadow: 0 2px 3px #c9d3e217; color: #536781; font-size: 12px; }
.flow-node strong { display: block; color: #273c5b; font-size: 12px; font-weight: 500; }
.flow-node small { display: block; font-family: var(--sans); font-size: 12px; color: #8a98ac; }
.flow-node:last-child { border-color: #adc3ef; color: var(--blue); background: #fafdff; }
.flow-line { flex: 0 0 22px; height: 1px; background: #a9bddc; position: relative; font-size: 0; }
.flow-line::after { content: ""; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-right: 1px solid #a9bddc; border-top: 1px solid #a9bddc; transform: rotate(45deg); }
.flow-footer { display: flex; justify-content: space-between; margin-top: 20px; font-family: var(--sans); color: #8a99af; font-size: 12px; }
.ceramic-art { display: flex; align-items: center; justify-content: center; background: #f2efea; color: #514a41; }
.ceramic-art::after { content: ""; position: absolute; width: 180px; height: 17px; bottom: 37px; border-radius: 50%; background: #93806f1a; filter: blur(7px); }
.ceramic-word { position: absolute; left: 35px; top: 38px; font-family: var(--sans); font-size: 24px; letter-spacing: .02em; line-height: 1.45; }
.pot-shape { position: relative; width: 111px; height: 79px; margin: 28px 0 0 43px; border-radius: 34% 36% 40% 42% / 34% 35% 50% 48%; background: linear-gradient(110deg,#a67a58,#8d6245 65%,#7c563d); box-shadow: inset -9px -9px 19px #54362020, inset 8px 5px 15px #c5946733; z-index: 1; }
.pot-lid { position: absolute; width: 80px; height: 13px; top: -6px; left: 15px; background: #956849; border-radius: 50%; border-bottom: 2px solid #775339; }
.pot-lid::before { content: ""; position: absolute; width: 14px; height: 12px; left: 33px; top: -8px; border-radius: 7px 7px 3px 3px; background: #956849; }
.pot-handle { position: absolute; width: 42px; height: 48px; right: -26px; top: 8px; border: 9px solid #8a5f43; border-left: 0; border-radius: 0 50% 50% 0; z-index: -1; }
.pot-spout { position: absolute; left: -27px; top: 13px; width: 36px; height: 24px; background: #a27654; transform: rotate(27deg); border-radius: 0 0 0 70%; clip-path: polygon(0 0,100% 25%,100% 100%,33% 75%); }
.ceramic-caption { position: absolute; right: 25px; bottom: 19px; font-size: 12px; color: #9d9387; letter-spacing: .02em; font-family: var(--sans); }
.project-content { padding: 25px 27px 27px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; color: #8290a3; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.project-title { font-size: 20px; font-weight: 450; letter-spacing: -.015em; line-height: 1.6; margin-top: 9px; }
.project-description { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.tag { padding: 3px 7px; background: #f4f6f9; color: #69758a; border-radius: 3px; font-size: 12px; line-height: 1.55; }
.project-link { margin-top: 22px; color: var(--blue); font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
.lab-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px; background: #f7f9fc; border: 1px solid #e5eaf2; border-radius: 5px; align-items: center; }
.lab-copy { min-width: 0; }
.lab-copy h3 { font-size: 23px; line-height: 1.5; letter-spacing: -.015em; margin: 12px 0; font-weight: 500; }
.lab-copy p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.lab-copy .text-link { margin-top: 22px; }
.lab-copy .section-title { margin-top: 12px; margin-bottom: 18px; line-height: 1.6; }
.lab-copy .button { margin-top: 24px; }
.lab-section { background: #fafbfd; border-bottom: 1px solid var(--line); }
.lab-section .lab-feature { background: transparent; border: 0; padding: 12px 0; border-radius: 0; }
.lab-section + .section { border-top: 0; }
.lab-preview { min-width: 0; background: white; border: 1px solid #dce4ef; border-radius: 5px; overflow: hidden; }
.terminal-bar { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; color: #7e8da3; font-family: var(--mono); font-size: 12px; background: #f1f5fa; border-bottom: 1px solid #e1e7f0; }
.terminal-body { padding: 17px 17px 19px; font-family: var(--mono); font-size: 12px; color: #42628b; line-height: 1.9; overflow-wrap: anywhere; }
.terminal-line { display: block; }
.terminal-line > span { display: inline-block; min-width: 67px; color: #8497b4; }
.terminal-comment { display: block; color: #97a2b3; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; border-top: 1px solid #e8edf4; margin-top: 15px; padding-top: 13px; }
.metric-name { display: block; color: #9aa4b4; font-size: 12px; }
.metric-value { display: block; color: #3d5578; font-size: 12px; font-weight: 500; margin-top: 3px; }
.writing-item { display: grid; grid-template-columns: 110px minmax(0,1fr) 24px; gap: 26px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); transition: color .2s ease; }
.writing-item:first-child { padding-top: 2px; }
.writing-item:last-child { border-bottom: 0; padding-bottom: 0; }
.writing-date { font-family: var(--sans); font-size: 12px; color: #929ca9; padding-top: 5px; }
.writing-date > span { display: block; margin-top: 6px; color: #a0aab9; font-family: var(--sans); font-size: 12px; }
.writing-title { font-size: 17px; font-weight: 450; line-height: 1.6; letter-spacing: -.015em; }
.writing-item:hover .writing-title { color: var(--blue); }
.writing-description { color: #7e8898; font-size: 12px; margin-top: 7px; line-height: 1.9; }
.writing-arrow { color: #8a97ab; text-align: right; }
.writing-meta { margin-bottom: 7px; color: #92a0b1; font-family: var(--sans); font-size: 12px; }
.about-strip { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; padding: 47px 0; border-top: 1px solid var(--line); }
.about-strip .eyebrow { margin-bottom: 13px; }
.about-strip-title { font-size: 22px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; }
.about-strip-text { color: var(--muted); font-size: 13px; line-height: 1.95; }
.about-strip .text-link { margin-top: 8px; }
.site-footer { margin-top: 24px; border-top: 1px solid var(--line); background: #fafbfd; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-top: 30px; padding-bottom: 22px; }
.footer-brand { font-size: 13px; font-weight: 500; letter-spacing: -.015em; }
.footer-brand p, .footer-brand small { display: block; font-weight: 400; font-size: 12px; color: #95a0af; margin-top: 5px; letter-spacing: 0; }
.footer-inner > div > p { color: #95a0af; font-size: 12px; margin-top: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: #7a879a; font-size: 12px; align-items: start; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { padding-bottom: 22px; color: #a0a8b5; font-family: var(--sans); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.page-heading { padding-top: 66px; padding-bottom: 36px; max-width: 760px; }
.page-title { margin-top: 12px; font-size: clamp(32px,4vw,45px); font-weight: 450; line-height: 1.5; letter-spacing: -.015em; }
.page-description { margin-top: 17px; color: var(--muted); font-size: 15px; max-width: 650px; line-height: 1.95; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 29px; margin-bottom: 3px; }
.filter-button { border: 1px solid var(--line); background: white; color: #718097; padding: 7px 13px; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.filter-button:hover { border-color: #b8c7df; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.filter-button > span { margin-left: 7px; opacity: .6; font-family: var(--sans); }
.listing-footnote { color: #919db0; font-size: 12px; line-height: 1.9; margin-top: 26px; }
.listing-section { padding-top: 28px; }
.page-heading ~ .project-grid, .page-heading ~ .writing-list, .filter-bar ~ .project-grid, .filter-bar ~ .writing-list { margin-bottom: 72px; }
.article-header { padding-top: 40px; padding-bottom: 34px; max-width: 920px; }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; font-size: 12px; color: #8893a3; margin-bottom: 36px; }
.breadcrumbs a:hover { color: var(--blue); }
.article-category { color: var(--blue); font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.article-title { font-size: clamp(29px,3.6vw,43px); line-height: 1.55; letter-spacing: -.015em; font-weight: 450; margin-top: 13px; max-width: 850px; text-wrap: balance; }
.article-deck { color: var(--muted); font-size: 16px; line-height: 1.9; margin-top: 19px; max-width: 790px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: #8b96a7; font-family: var(--sans); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0,780px) 210px; gap: 72px; padding-bottom: 65px; align-items: start; }
.article-toc { grid-column: 2; grid-row: 1; position: sticky; top: 36px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); padding-left: 22px; margin-top: 20px; }
.toc-label { color: #99a3b1; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; margin-bottom: 5px; }
.article-toc a { color: #7e8999; font-size: 12px; line-height: 1.8; }
.article-toc nav { display: flex; flex-direction: column; gap: 12px; }
.article-toc a:hover { color: var(--blue); }
.prose { grid-column: 1; grid-row: 1; min-width: 0; font-size: 16px; line-height: 2; color: #43516a; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -.015em; line-height: 1.5; margin-top: 49px; margin-bottom: 20px; scroll-margin-top: 35px; }
.prose h3 { color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.65; margin-top: 31px; margin-bottom: 12px; scroll-margin-top: 35px; }
.prose p { margin: 15px 0; }
.prose strong { color: #223751; font-weight: 500; }
.prose a:not(.button):not(.text-link) { color: var(--blue); text-decoration: underline; text-decoration-color: #bdcdf3; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 24px; margin: 15px 0 23px; }
.prose li { padding-left: 3px; margin: 8px 0; }
.prose li::marker { color: #869bb9; }
.prose blockquote { border-left: 3px solid #7b9edf; margin: 28px 0; padding: 3px 0 3px 23px; color: #5b6c86; }
.prose figure { margin: 30px 0; }
.prose figure img { width: 100%; border: 1px solid var(--line); border-radius: 4px; }
.prose figcaption { margin-top: 10px; color: #91a0b1; font-size: 12px; line-height: 1.8; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #f7f9fc; border: 1px solid #e1e7f0; border-radius: 5px; overflow: hidden; margin: 0 0 33px; }
.summary-item { padding: 20px 22px; border-bottom: 1px solid #e1e7f0; }
.summary-item:nth-child(odd) { border-right: 1px solid #e1e7f0; }
.summary-item:nth-last-child(-n+2) { border-bottom: 0; }
.summary-label { display: block; font-family: var(--sans); color: #8b99ad; font-size: 12px; letter-spacing: .02em; margin-bottom: 8px; }
.summary-item strong { display: block; font-size: 13px; line-height: 1.8; font-weight: 450; }
.summary-item p { margin: 6px 0 0; color: #6f7f96; font-size: 12px; line-height: 1.85; }
.callout { margin: 25px 0; padding: 20px 23px; border: 1px solid #dce6f5; border-left: 3px solid #82a3dc; border-radius: 3px; background: #f6f9fe; font-size: 13px; line-height: 1.9; }
.callout-title { display: block; color: #3b5c87; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.callout p { margin: 7px 0 0; }
.callout.note { background: #f6f9fe; }
.callout.caution { background: #fbf8f2; border-color: #eee3ce; border-left-color: #c5a674; color: #806b4d; }
.callout.caution .callout-title { color: #816546; }
.data-table-wrapper { max-width: 100%; overflow-x: auto; margin: 25px 0; border: 1px solid var(--line); border-radius: 4px; -webkit-overflow-scrolling: touch; }
.data-table-wrapper table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.85; text-align: left; }
.data-table-wrapper th { background: #f4f7fb; color: #5c6e88; font-weight: 500; }
.data-table-wrapper th, .data-table-wrapper td { padding: 12px 15px; border-bottom: 1px solid var(--line); min-width: 105px; vertical-align: top; }
.data-table-wrapper tr:last-child td { border-bottom: 0; }
.data-table-wrapper th:first-child, .data-table-wrapper td:first-child { min-width: 120px; }
.code-block { max-width: 100%; margin: 24px 0; border: 1px solid #dce3ec; border-radius: 5px; overflow: hidden; background: #f6f8fb; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; background: #edf1f7; color: #7b899e; font-family: var(--mono); font-size: 12px; line-height: 1.5; border-bottom: 1px solid #dfe6ef; }
.code-toolbar button { padding: 3px 8px; border: 1px solid #ced8e7; border-radius: 3px; background: #fff; font-family: var(--sans); font-size: 12px; }
.code-toolbar button:hover { color: var(--blue); border-color: #8da9db; }
.code-block pre { margin: 0; padding: 20px; overflow-x: auto; font-size: 12px; line-height: 1.9; tab-size: 2; }
.code-block pre code { padding: 0; background: transparent; color: #456080; font-family: var(--mono); border-radius: 0; white-space: pre; overflow-wrap: normal; }
.prose :not(pre) > code { background: #edf2f8; color: #405c85; padding: 2px 5px; border-radius: 3px; font-size: .85em; font-family: var(--mono); overflow-wrap: anywhere; }
.steps { list-style: none; padding-left: 0 !important; counter-reset: steps; }
.steps > li, .steps > div { position: relative; padding: 0 0 24px 45px; border-left: 1px solid var(--line); margin-left: 13px; }
.steps > div h3 { margin-top: 0; }
.step-number { position: absolute; left: -14px; top: 1px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #d4dfef; background: #fff; border-radius: 50%; color: var(--blue); font-family: var(--sans); font-size: 12px; }
.steps > :last-child { border-left-color: transparent; }
.article-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 47px; padding-top: 27px; border-top: 1px solid var(--line); color: #8a96a7; font-size: 12px; }
.about-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 90px; padding-top: 65px; padding-bottom: 64px; align-items: start; }
.about-intro .page-title { margin-bottom: 26px; }
.about-intro p { color: var(--muted); font-size: 15px; margin: 17px 0; line-height: 2; }
.about-intro .eyebrow { margin: 0; font-size: 12px; }
.about-panel { border: 1px solid var(--line); border-radius: 5px; background: #fafbfd; padding: 29px; }
.monogram { display: flex; align-items: center; justify-content: center; gap: 5px; height: 180px; background: #edf2fa; color: #899cbd; font-family: var(--sans); font-size: 58px; font-style: normal; letter-spacing: -.015em; border: 1px solid #e1e7f1; margin-bottom: 25px; }
.monogram > span { font-family: var(--sans); font-style: normal; font-size: 29px; margin-top: -25px; }
.about-panel > p { font-size: 17px; font-weight: 450; }
.about-panel > span { display: block; color: #91a0b5; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; margin-top: 5px; }
.about-intro > h2 { font-size: 26px; line-height: 1.6; letter-spacing: -.015em; font-weight: 450; }
.about-facts { margin: 0; font-size: 12px; color: #728198; }
.about-facts dt { font-family: var(--sans); font-size: 12px; color: #9ba7b8; margin-top: 16px; }
.about-facts dd { margin: 4px 0 0; }
.about-facts p { margin: 12px 0; }
.about-facts > div { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding: 14px 0; }
.about-facts > div > span { min-width: 82px; font-family: var(--sans); font-size: 12px; color: #95a2b5; padding-top: 2px; }
.about-facts > div > strong { font-size: 12px; font-weight: 500; }
.about-intro > .about-facts { margin-top: 30px; }
.principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.principle { border-top: 2px solid #d8e2f3; padding: 24px 0; }
.principle h3 { font-size: 17px; font-weight: 500; letter-spacing: -.015em; margin: 8px 0 13px; }
.principle p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.principle > span { font-family: var(--sans); font-size: 12px; color: #8b9bb3; }
.contact-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; padding: 35px; margin: 25px 0 65px; background: #f4f7fc; border: 1px solid #e2e8f2; border-radius: 4px; }
.contact-panel h2 { font-size: 23px; font-weight: 500; letter-spacing: -.015em; }
.contact-panel p { color: #76859b; font-size: 13px; margin-top: 8px; }
.contact-panel > .eyebrow, .contact-panel > h2, .contact-panel > p { flex-basis: 100%; }
.contact-panel { gap: 9px; }
.contact-panel > .hero-actions { margin-top: 17px; }
.empty-state { text-align: center; color: #8a96a8; font-size: 14px; padding: 65px 20px; border: 1px dashed #dbe2ed; border-radius: 4px; margin-bottom: 65px; }
.search-dialog { width: min(640px, calc(100% - 32px)); max-height: min(76vh,680px); border: 1px solid #d7dfeb; padding: 0; border-radius: 8px; margin: 12vh auto 0; color: var(--ink); background: #fff; box-shadow: 0 22px 80px #102c4933; }
.search-dialog::backdrop { background: #1225415c; backdrop-filter: blur(4px); }
.search-head { display: flex; align-items: center; gap: 15px; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.search-head input { flex: 1; min-width: 0; border: 0; background: white; padding: 7px 0; font-size: 16px; outline-offset: 4px; }
.search-head input::placeholder { color: #a1a9b6; }
.search-head > label { flex: 1; font-size: 12px; font-weight: 450; color: #62718a; }
.search-dialog > input { display: block; width: calc(100% - 40px); margin: 20px 20px 8px; padding: 12px 14px; border: 1px solid #d9e2f0; background: #f9fbfe; border-radius: 4px; font-size: 15px; }
.search-dialog > input::placeholder { color: #a1a9b6; }
.search-result-list { list-style: none; margin: 0; padding: 0; }
.close-search { border: 1px solid #e0e5ed; border-radius: 3px; padding: 4px 8px; color: #7f8ba0; background: #f9fafc; font-size: 12px; }
.search-results { padding: 10px; max-height: 55vh; overflow-y: auto; }
.search-result { display: block; padding: 14px 16px; border-radius: 4px; }
.search-result:hover { background: #f2f6fc; }
.search-result strong { font-size: 14px; font-weight: 450; }
.search-result > strong { display: block; }
.search-result > .search-result-category { color: #8194b2; font-family: var(--sans); font-size: 12px; }
.search-result small, .search-result p, .search-result span { display: block; font-size: 12px; color: #8a97aa; margin-top: 5px; }
.search-results .empty-state { padding: 32px 12px; border: 0; margin: 0; }

@media (min-width: 1500px) {
  .hero { min-height: 610px; }
}
@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 28px; }
  .main-nav { gap: 22px; }
  .hero { gap: 38px; min-height: 540px; }
  .hero-title { font-size: 43px; }
  .hero-description { font-size: 14px; }
  .hero-visual::before { inset-inline: -10px; }
  .system-nodes { gap: 6px; padding-inline: 12px; }
  .system-node strong { font-size: 12px; }
  .project-content { padding: 22px; }
  .workflow-art { padding-inline: 22px; }
  .flow-line { flex-basis: 14px; }
  .flow-node { font-size: 12px; }
  .lab-feature { gap: 30px; padding: 27px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 170px; gap: 40px; }
  .about-layout { gap: 50px; grid-template-columns: minmax(0,1fr) 260px; }
  .about-strip { gap: 25px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; gap: 22px; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
  .brand-word { font-size: 15px; }
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 12px; padding-block: 25px; }
  .main-nav a.active::after, .main-nav a[aria-current="page"]::after { bottom: 15px; }
  .hero { gap: 28px; padding-top: 58px; padding-bottom: 58px; min-height: 0; }
  .hero-title { font-size: 35px; }
  .hero-kicker { font-size: 12px; letter-spacing: .02em; margin-bottom: 19px; }
  .hero-description { font-size: 13px; margin-top: 19px; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .button { padding-inline: 13px; font-size: 12px; min-height: 41px; }
  .hero-footnote { font-size: 12px; }
  .board-top { padding-inline: 12px; }
  .board-label { font-size: 12px; }
  .system-core { padding-top: 25px; }
  .system-title { font-size: 14px; }
  .system-caption { font-size: 12px; }
  .system-node { padding: 11px 3px; }
  .system-node small { font-size: 12px; }
  .system-node strong { font-size: 12px; }
  .system-node > span { font-size: 12px; }
  .board-bottom { font-size: 12px; padding-inline: 12px; }
  .project-grid { gap: 19px; }
  .project-art { min-height: 195px; }
  .project-title { font-size: 18px; }
  .flow-node strong { font-size: 12px; }
  .flow-node small { font-size: 12px; }
  .flow-label, .flow-footer { font-size: 12px; }
  .workflow-art { padding-inline: 16px; }
  .flow-line { flex-basis: 11px; }
  .ceramic-word { left: 22px; top: 28px; font-size: 22px; }
  .pot-shape { transform: scale(.86); margin-left: 42px; }
  .project-content { padding: 21px; }
  .project-description { font-size: 12px; }
  .lab-feature { gap: 26px; padding: 25px; }
  .lab-copy h3 { font-size: 20px; }
  .lab-copy p { font-size: 12px; }
  .metric-value { font-size: 12px; }
  .metric-name { font-size: 12px; }
  .writing-item { grid-template-columns: 88px minmax(0,1fr) 18px; gap: 18px; }
  .about-strip { grid-template-columns: .65fr 1fr; gap: 17px 26px; }
  .about-strip .text-link { grid-column: 2; }
  .article-layout { display: flex; flex-direction: column; gap: 24px; }
  .article-toc { position: static; order: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; width: 100%; margin-top: 0; padding: 18px 0; border-left: 0; border-block: 1px solid var(--line); }
  .article-toc nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .toc-label { flex-basis: 100%; margin-bottom: 3px; }
  .prose { width: 100%; order: 1; }
  .about-layout { gap: 35px; grid-template-columns: minmax(0,1fr) 230px; }
  .about-panel { padding: 21px; }
  .principle-grid { gap: 19px; }
  .principle h3 { font-size: 16px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 24px; }
  .container { width: calc(100% - 40px); }
  .preview-bar { font-size: 12px; padding: 7px 18px; }
  .preview-bar > .container { width: 100%; gap: 4px 10px; }
  .preview-bar > .container > span:first-child { font-size: 12px; }
  .preview-version { display: none; }
  .header-inner { min-height: 71px; justify-content: space-between; }
  .brand-mark { width: 31px; height: 31px; font-size: 12px; }
  .brand-word { font-size: 16px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 10px 16px -14px #31496c45; }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 5px; font-size: 14px; }
  .main-nav a.active::after, .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a.active, .main-nav a[aria-current="page"] { color: var(--blue); }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; padding-bottom: 45px; }
  .hero-kicker { font-size: 12px; margin-bottom: 19px; }
  .hero-title { font-size: clamp(34px, 9.6vw, 48px); line-height: 1.4; letter-spacing: -.015em; }
  .hero-description { font-size: 16px; line-height: 1.95; margin-top: 19px; max-width: 430px; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .button { padding: 11px 18px; min-height: 44px; font-size: 12px; }
  .hero-footnote { font-size: 12px; margin-top: 20px; }
  .hero-visual { padding: 13px 0 0; max-width: 440px; width: 100%; margin-inline: auto; }
  .hero-visual::before { inset: -10px -10px; }
  .board-top { padding: 13px 16px; }
  .board-label { font-size: 12px; }
  .system-core { padding-top: 27px; }
  .system-title { font-size: 16px; }
  .system-caption { font-size: 12px; }
  .system-connectors { height: 31px; margin-top: 20px; }
  .system-connectors::before { height: 20px; top: -21px; }
  .system-connectors::after { height: 30px; }
  .system-nodes { padding: 0 15px 23px; gap: 8px; }
  .system-node { padding: 12px 5px; }
  .system-node strong { font-size: 12px; }
  .system-node small { font-size: 12px; }
  .system-node > span { font-size: 12px; }
  .board-bottom { padding: 11px 16px; font-size: 12px; }
  .section { padding-top: 35px; padding-bottom: 39px; }
  .section-heading { gap: 10px; margin-bottom: 23px; }
  .section-title { font-size: 22px; gap: 10px; }
  .section-index { font-size: 12px; }
  .text-link { font-size: 12px; gap: 7px; }
  .section-intro { font-size: 13px; margin-bottom: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-art { min-height: 207px; }
  .workflow-art { padding: 29px 25px; }
  .flow-node { padding: 14px 5px; font-size: 12px; }
  .flow-node strong { font-size: 12px; }
  .flow-node small { font-size: 12px; }
  .flow-line { flex-basis: 18px; }
  .flow-label, .flow-footer { font-size: 12px; }
  .project-content { padding: 23px; }
  .project-title { font-size: 20px; }
  .project-description { font-size: 15px; }
  .ceramic-word { left: 32px; top: 33px; font-size: 25px; }
  .pot-shape { transform: none; }
  .lab-feature { grid-template-columns: 1fr; gap: 25px; padding: 23px; }
  .lab-copy h3 { font-size: 22px; }
  .lab-copy p { font-size: 15px; }
  .terminal-body { padding: 15px; font-size: 12px; }
  .metric-value { font-size: 12px; }
  .metric-name { font-size: 12px; }
  .writing-item { grid-template-columns: minmax(0,1fr) 18px; gap: 5px 14px; padding-block: 22px; }
  .writing-date { grid-column: 1; padding-top: 0; font-size: 12px; }
  .writing-date > span { display: inline; margin-left: 10px; }
  .writing-content { grid-column: 1; }
  .writing-arrow { grid-column: 2; grid-row: 2; }
  .writing-title { font-size: 16px; }
  .writing-description { font-size: 14px; }
  .about-strip { grid-template-columns: 1fr; gap: 16px; padding: 34px 0 29px; }
  .about-strip .text-link { grid-column: 1; margin-top: 0; }
  .about-strip-title { font-size: 21px; }
  .footer-inner { flex-direction: column; gap: 20px; padding-top: 26px; }
  .footer-links { gap: 21px; }
  .footer-bottom { font-size: 12px; flex-direction: column; gap: 5px; }
  .page-heading { padding-top: 42px; padding-bottom: 28px; }
  .page-title { font-size: 35px; }
  .page-description { font-size: 16px; }
  .filter-bar { gap: 6px; padding-bottom: 24px; }
  .filter-button { font-size: 12px; padding: 8px 11px; }
  .article-header { padding-top: 27px; padding-bottom: 27px; }
  .breadcrumbs { font-size: 12px; margin-bottom: 27px; }
  .article-title { font-size: 29px; line-height: 1.5; letter-spacing: -.015em; }
  .article-deck { font-size: 16px; line-height: 1.95; margin-top: 17px; }
  .article-meta { font-size: 12px; gap: 5px 13px; margin-top: 20px; }
  .article-layout { gap: 22px; padding-bottom: 42px; }
  .article-toc { gap: 6px 16px; padding-block: 15px; }
  .article-toc a { font-size: 12px; }
  .prose { font-size: 16px; line-height: 2; }
  .prose h2 { margin-top: 37px; margin-bottom: 17px; font-size: 22px; }
  .prose h3 { font-size: 17px; margin-top: 26px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-item { padding: 17px 19px; }
  .summary-item:nth-child(odd) { border-right: 0; }
  .summary-item:nth-last-child(-n+2) { border-bottom: 1px solid #e1e7f0; }
  .summary-item:last-child { border-bottom: 0; }
  .callout { padding: 17px 18px; font-size: 14px; }
  .data-table-wrapper table { font-size: 12px; }
  .data-table-wrapper th, .data-table-wrapper td { padding: 11px 12px; }
  .code-block pre { font-size: 12px; padding: 16px; }
  .steps > li, .steps > div { padding-left: 32px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 41px; padding-bottom: 38px; }
  .about-intro p { font-size: 16px; }
  .about-panel { display: grid; grid-template-columns: 110px 1fr; gap: 8px 23px; padding: 23px; align-items: start; }
  .about-panel > .monogram { grid-row: 1 / 3; }
  .about-panel > p { align-self: end; }
  .about-panel > span { margin-top: 0; }
  .monogram { height: 136px; font-size: 45px; margin: 0; }
  .about-facts dt:first-child { margin-top: 0; }
  .principle-grid { grid-template-columns: 1fr; gap: 3px; }
  .principle { padding: 23px 0; }
  .principle h3 { font-size: 18px; }
  .contact-panel { padding: 26px; margin-bottom: 40px; }
  .contact-panel h2 { font-size: 21px; }
  .contact-panel p { font-size: 12px; }
  .search-dialog { margin-top: 7vh; max-height: 83vh; }
  .search-head { padding: 15px; }
  .search-head input { font-size: 14px; }
}
/* Personal introduction, language navigation, and opt-in experiment video. */
.language-switch { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 33px; min-height: 34px; padding: 5px; color: #8692a5; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.language-switch a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.language-switch a:hover { color: var(--blue); }
.hero-portrait { width: min(100%, 300px); justify-self: center; align-self: center; margin: 0; }
.hero-portrait > img { width: 100%; height: 400px; object-fit: cover; object-position: center 25%; border-radius: 6px; background: var(--wash); }
.hero-portrait figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 13px; color: #566780; font-size: 13px; font-weight: 450; line-height: 1.8; }
.hero-portrait figcaption span { color: #8a97aa; font-size: 12px; font-weight: 400; }
.about-portrait { display: block; width: 100%; max-width: 100%; margin: 0 0 24px; overflow: hidden; border-radius: 4px; }
.about-portrait figcaption { margin-top: 16px; font-size: 18px; }
.about-portrait figcaption span { display: block; margin-top: 6px; font-size: 13px; color: #62738b; }
img.about-portrait, .about-portrait img { display: block; width: 100%; height: auto; object-fit: contain; }
.video-block { margin: 30px 0; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 5px; background: #f8fafd; }
.video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 270px; padding: 35px 28px; text-align: center; }
.video-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 15px; border: 1px solid #d9e3f4; border-radius: 8px; background: #edf3ff; color: var(--blue); font-size: 17px; line-height: 1; }
.video-placeholder h3 { margin: 0 0 9px; color: #435975; font-size: 18px; font-weight: 450; line-height: 1.7; }
.video-placeholder p { max-width: 460px; margin: 0; color: #8290a5; font-size: 14px; line-height: 1.9; }
.video-trigger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 230px; padding: 28px; border: 0; background: #f6f9ff; color: #3f5c85; font-size: 15px; line-height: 1.8; text-align: center; }
.video-trigger:hover { background: #edf3fd; }
.video-trigger .video-icon { margin-bottom: 4px; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #101c2e; }
.video-frame > .video-trigger { height: 100%; min-height: 0; }
.video-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.video-caption { padding: 13px 19px; border-top: 1px solid #e2e8f2; color: #8b98ab; background: white; font-size: 12px; line-height: 1.8; }
.prose .video-caption { margin: 0; text-align: left; }
html[lang="en"] .hero-title { font-size: clamp(35px, 3.6vw, 49px); line-height: 1.3; letter-spacing: 0; }
html[lang="en"] :is(.page-title, .article-title, .section-title, .project-title, .writing-title, .about-strip-title) { letter-spacing: 0; }
html[lang="en"] .article-title { max-width: 860px; line-height: 1.4; }
html[lang="en"] .main-nav { gap: 22px; }
html[lang="en"] .hero-kicker { flex-wrap: wrap; }

@media (min-width: 1051px) and (max-width: 1180px) {
  .header-inner { gap: 24px; }
  .main-nav, html[lang="en"] .main-nav { gap: 19px; }
  .header-actions { gap: 9px; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
}
@media (max-width: 1050px) {
  .header-inner { justify-content: space-between; }
  .header-actions { gap: 10px; margin-left: auto; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px 32px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 10px 16px -14px #31496c45; }
  .main-nav.is-open, html[lang="en"] .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 5px; font-size: 14px; }
  .main-nav a.active::after, .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a.active, .main-nav a[aria-current="page"] { color: var(--blue); }
  .hero-portrait { width: min(100%, 280px); }
  .hero-portrait > img { height: 373px; }
  html[lang="en"] .hero-title { font-size: 39px; }
}
@media (max-width: 800px) {
  .hero-portrait { width: min(100%, 255px); }
  .hero-portrait > img { height: 340px; }
  .hero-portrait figcaption { display: block; }
  .hero-portrait figcaption span { display: block; margin-top: 2px; }
  html[lang="en"] .hero-title { font-size: 34px; }

}
@media (max-width: 620px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .header-actions { gap: 3px; }
  .language-switch { gap: 0; padding-left: 6px; }
  .language-switch a { min-width: 31px; padding-inline: 4px; }
  .menu-toggle { padding-inline: 4px; font-size: 12px; }
  .main-nav { padding-inline: 20px; }
  .hero-portrait { width: min(100%, 270px); margin-top: 7px; }
  .hero-portrait > img { height: 360px; }
  .hero-portrait figcaption { display: flex; gap: 5px 10px; }
  .hero-portrait figcaption span { margin-top: 0; }
  .about-panel > .about-portrait { grid-column: 1 / -1; margin: 0; }

  .video-placeholder { min-height: 245px; padding: 28px 21px; }
  .video-placeholder h3 { font-size: 17px; }
  .video-placeholder p { font-size: 14px; }
  .video-trigger { min-height: 215px; padding: 24px 20px; }
  .video-caption { padding: 12px 15px; }
  html[lang="en"] .hero-title { font-size: clamp(33px, 9vw, 44px); }
  html[lang="en"] .article-title { font-size: 28px; }
  html[lang="en"] .page-title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .preview-bar, .site-header, .site-footer, .article-toc, .hero-actions, .filter-bar, .search-dialog, .code-toolbar button { display: none !important; }
  .container { width: 100%; }
  .article-layout { display: block; }
  .article-header, .page-heading { padding-top: 0; }
  .prose { font-size: 11pt; color: #222; }
  .prose h2 { break-after: avoid; }
  .code-block pre { white-space: pre-wrap; }
  .project-card, .summary-item, .callout { break-inside: avoid; }
  a { color: inherit; }
}
.project-card .project-art { aspect-ratio: 16 / 10; min-height: 0; }

/* Notes: readable linked hashtags and combined category/text filters. */
.note-tags { gap: 8px; margin-top: 15px; }
.note-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 9px; border: 1px solid #dbe6f5; background: #f5f9ff; color: #285ca0; overflow-wrap: anywhere; }
.note-tag:hover { background: #e9f2ff; border-color: #9db9df; }
.article-header .note-tags { margin-top: 20px; }
.note-search-controls { max-width: 680px; margin-bottom: 22px; }
.note-search-controls > label { display: block; margin-bottom: 9px; color: #455c7c; font-size: 13px; }
.note-search-row { display: flex; align-items: stretch; gap: 12px; }
.note-search-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cbd9ee; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.note-search-row input::placeholder { color: #75869e; }
.note-listing .filter-bar { padding-bottom: 14px; }
.note-listing .filter-button[aria-pressed="true"] { background: #285ca0; border-color: #285ca0; }
.filter-count { margin: 0 0 20px; color: #62738b; font-size: 13px; }
.note-listing .writing-list { margin-bottom: 56px; }
.note-listing .empty-state { color: #566c8b; padding: 32px 20px; }
.section-sources { margin: 20px 0 30px; padding: 15px 18px; border-left: 2px solid #bfd2ed; background: #f8fbff; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.section-sources > p { margin: 0 0 6px; color: #536d91; font-size: 12px; }
.section-sources ul { margin: 0; padding-left: 20px; }
.section-sources li { margin: 4px 0; }
.draft-notice { background: #f5f9ff; }
@media (max-width: 620px) {
  .note-search-row { flex-wrap: wrap; gap: 9px; }
  .note-search-row input { flex-basis: 100%; font-size: 16px; }
  .note-listing .filter-button { min-height: 40px; }
  .note-tag { min-height: 36px; }
  .section-sources { padding: 13px 15px; }
}
@media print { .note-search-controls, .filter-count { display: none !important; } }

/* Browser-only idea feedback demo. */
.idea-feedback { margin: 40px 0; padding: 24px; border: 1px solid #d5e3f5; border-radius: 5px; background: #fff; color: #3c5272; }
.idea-feedback h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; }
.idea-feedback h3 { margin: 24px 0 12px; font-size: 16px; line-height: 1.6; }
.idea-feedback p { margin: 10px 0; }
.idea-feedback-notice { padding: 12px 15px; border-left: 3px solid #759dd1; background: #f3f8ff; font-size: 14px; line-height: 1.9; }
.reaction-buttons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.idea-feedback button { min-height: 44px; padding: 9px 13px; border: 1px solid #bacdea; border-radius: 4px; background: #fff; color: #285ca0; font: inherit; font-size: 13px; line-height: 1.6; cursor: pointer; }
.idea-feedback button:hover { background: #eef5ff; }
.idea-feedback button:disabled { cursor: default; opacity: .6; }
.reaction-button[aria-pressed="true"] { background: #e7f1ff; border-color: #3970b4; box-shadow: inset 0 0 0 1px #3970b4; }
.reaction-selection { font-size: 13px; color: #536d91; }
.idea-feedback form { display: grid; gap: 8px; }
.idea-feedback form > h3 { margin-bottom: 4px; }
.idea-feedback label { font-size: 13px; }
.idea-feedback input, .idea-feedback textarea { width: 100%; max-width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #c5d5ec; border-radius: 4px; color: #263f61; background: #fff; font: inherit; font-size: 16px; line-height: 1.7; }
.idea-feedback textarea { resize: vertical; }
.idea-feedback form > button { justify-self: start; margin-top: 5px; }
.idea-feedback [data-feedback-storage], .idea-feedback-status { font-size: 13px; line-height: 1.8; }
.idea-feedback-status { min-height: 1.8em; color: #285ca0; }
.idea-feedback-comments { list-style: none; margin: 0; padding: 0; }
.idea-feedback-comments > li { padding: 14px 0; border-bottom: 1px solid #e0e8f4; overflow-wrap: anywhere; }
.idea-feedback-comments strong { font-size: 14px; }
.idea-feedback-comments p { font-size: 15px; white-space: pre-wrap; }
.idea-feedback .idea-feedback-clear { margin-top: 20px; }
.idea-feedback [hidden] { display: none !important; }
@media (max-width: 620px) {
  .idea-feedback { padding: 18px 15px; }
  .idea-feedback h2 { font-size: 20px; }
  .reaction-buttons { gap: 7px; }
  .idea-feedback .reaction-button { flex: 1 1 155px; text-align: left; }
}

/* Career milestones retain latest-first reading order on every screen. */
.about-portrait { max-width: 300px; margin-inline: auto; }
.career-heading { max-width: 720px; margin-bottom: 40px; }
.career-heading > p:last-child { color: var(--muted); line-height: 1.95; margin-top: 20px; }
.career-timeline { list-style: none; padding: 0; margin: 0; }
.career-milestone { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 32px; }
.career-period { margin: 0; padding-top: 3px; font-size: 14px; color: var(--blue); font-variant-numeric: tabular-nums; }
.career-detail { position: relative; padding: 0 0 44px 30px; border-left: 1px solid #d8e3f1; }
.career-detail::before { content: ''; position: absolute; top: 7px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px white; }
.career-milestone:last-child .career-detail { padding-bottom: 0; }
.career-company { margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.career-detail h3 { margin: 0 0 16px; font-size: 22px; line-height: 1.5; font-weight: 500; }
.career-detail > p:not(.career-company) { max-width: 710px; line-height: 1.95; font-size: 15px; color: var(--muted); }
.career-detail > .career-heading-line { color: var(--ink); font-weight: 500; }
.career-detail ul { padding-left: 20px; margin: 16px 0 0; max-width: 710px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.career-detail li + li { margin-top: 8px; }
@media (max-width: 620px) {
 .career-milestone { grid-template-columns: 1fr; gap: 12px; }
 .career-period { padding-left: 25px; }
 .career-detail { padding-left: 24px; margin-left: 4px; padding-bottom: 34px; }
 .career-detail h3 { font-size: 20px; }
 .about-panel { display: block; }
 .about-panel > .about-portrait { margin-inline: auto; }
}

.project-concept { position: relative; padding: 0; background: #111b28; }
.project-concept img { object-fit: contain; box-shadow: none; }

.lab-directions > .eyebrow { margin-bottom: 12px; color: var(--blue); }
.lab-directions-intro { max-width: 760px; margin: 20px 0 30px; color: var(--muted); line-height: 1.9; }
.lab-tracks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.lab-tracks > article { padding: 25px; background: #f5f8fc; border: 1px solid #dce6f2; border-radius: 8px; }
.lab-track-index { display: block; margin-bottom: 18px; color: var(--blue); font-size: 13px; }
.lab-tracks h3 { margin: 0 0 16px; font-size: 20px; line-height: 1.65; font-weight: 500; }
.lab-tracks p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.lab-tracks .lab-track-question { margin-top: 22px; padding-top: 18px; border-top: 1px solid #dce6f2; font-size: 14px; }
@media(max-width: 800px) { .lab-tracks { grid-template-columns: 1fr; } .lab-tracks > article { padding: 24px; } }
