@font-face {
  font-family:Manrope;
  src:url('/assets/fonts/manrope.ttf') format('truetype');
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
:root {
  color-scheme:light;
  --bg:#fafaf9;
  --surface:#fff;
  --surface2:#fff0f1;
  --ink:#251c20;
  --muted:#675f63;
  --accent:#ba0015;
  --brand:#e60012;
  --line:#e6dfe0;
  --font:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:112px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:16px/1.7 var(--font);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input {
  font:inherit;
}
button {
  cursor:pointer;
  color:inherit;
}
a,button {
  -webkit-tap-highlight-color:transparent;
}
a:hover {
  color:var(--accent);
}
:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px;
}
::selection {
  background:#ffd6dc;
  color:var(--ink);
}
img,svg {
  max-width:100%;
}
[hidden] {
  display:none!important;
}
h1,h2,h3,p {
  margin-top:0;
}
h1,h2,h3 {
  font-weight:650;
  line-height:1.12;
  letter-spacing:-.045em;
}
h1 {
  font-size:clamp(52px,5.7vw,82px);
  margin-bottom:28px;
}
h1 em,h2 em {
  font-style:normal;
}
h2 {
  font-size:clamp(34px,3.4vw,48px);
  margin-bottom:24px;
}
h3 {
  letter-spacing:-.025em;
}
p {
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}
strong {
  color:var(--ink);
  font-weight:650;
}
.wrap {
  max-width:1240px;
  width:calc(100% - 96px);
  margin-inline:auto;
}
.muted {
  color:var(--muted);
}
.accent {
  color:var(--accent);
}
.micro,.eyebrow {
  font-size:14px;
  line-height:1.6;
  font-weight:550;
}
.eyebrow {
  display:block;
  margin-bottom:22px;
  color:var(--accent);
}
.small {
  font-size:14px;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:99;
  padding:12px 20px;
  background:var(--accent);
  color:#fff;
}
.skip-link:focus {
  top:10px;
}
/* Quiet navigation leaves the research in the foreground. */
.site-header {
  border-bottom:1px solid var(--line);
  background:#fafaf9f5;
  backdrop-filter:blur(16px);
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:88px;
  gap:24px;
}
.brand {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:15px;
  font-weight:700;
  white-space:nowrap;
  min-height:44px;
}


.brand-alias {
  color:var(--muted);
  font-weight:450;
}
.site-header nav {
  display:flex;
  align-items:center;
  gap:25px;
  font-size:14px;
  font-weight:550;
}
.site-header nav a {
  display:flex;
  align-items:center;
  min-height:44px;
}
.site-header nav a[aria-current] {
  color:var(--accent);
}



.menu-toggle {
  display:none;
}
/* A red research loop is the visual signature, with readable supporting text. */
.hero {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  align-items:center;
  gap:64px;
  padding-block:82px 72px;
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--brand);
  border-radius:50%;
  margin-right:10px;
}
.hero h1 {
  color:var(--brand);
}
.hero-intro {
  font-size:17px;
  max-width:500px;
  margin-bottom:22px;
}
.hero-intro strong {
  font-size:19px;
}
.hero-intro strong span {
  font-weight:450;
  white-space:nowrap;
}
.hero-role {
  font-size:14px;
  line-height:1.9;
  margin-bottom:28px;
}
.hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px 30px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 22px;
  min-height:48px;
  font-size:14px;
  font-weight:650;
  border-radius:6px;
  transition:background .2s,transform .2s;
}
.button.primary {
  background:var(--brand);
  color:#fff;
}
.button.primary:hover {
  background:var(--accent);
  transform:translateY(-2px);
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  font-weight:600;
  min-height:44px;
  border-bottom:1px solid var(--line);
  line-height:1.5;
}
.text-link:hover {
  border-color:var(--accent);
}
.research-visual {
  min-width:0;
  align-self:center;
  background:var(--surface2);
  border:1px solid #f3ccd1;
  border-radius:12px;
  padding:24px;
  position:relative;
}
.visual-top {
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.visual-top .micro {
  font-size:12px;
}
.visual-top .micro:last-child {
  font-family:var(--mono);
}
.network-stage {
  margin:0 -12px;
}
.network {
  width:100%;
  display:block;
}
.graph-node {
  fill:var(--brand);
  transition:opacity .2s;
}
.graph-node .node-halo {
  fill:#e6001208;
  stroke:#e6001220;
}
.graph-node .node-ring {
  fill:#fff8f8;
  stroke:#e6001280;
}
.graph-node text {
  font:600 12px var(--font);
  letter-spacing:1px;
  fill:var(--accent);
}
.graph-caption {
  font:11px var(--mono);
  letter-spacing:1.5px;
  fill:var(--muted);
}
.research-visual[data-active="models"] .node-models .node-halo,.research-visual[data-active="agents"] .node-agents .node-halo,.research-visual[data-active="data"] .node-data .node-halo {
  fill:#e6001218;
  stroke:var(--brand);
}
.loop-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid #edc8cc;
  gap:4px;
}
.loop-tabs button {
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  min-height:48px;
  padding:12px 3px;
  font-size:15px;
  color:var(--muted);
  text-align:left;
}
.loop-tabs button span {
  font:12px var(--mono);
  margin-right:7px;
}
.loop-tabs button[aria-selected=true] {
  border-color:var(--brand);
  color:var(--accent);
  font-weight:700;
}
.loop-panel {
  min-height:174px;
  padding-top:20px;
}
.loop-panel .micro {
  font-size:13px;
}
.loop-panel p {
  font-size:15px;
  line-height:1.7;
  margin:8px 0 0;
  max-width:380px;
}
.loop-panel a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  font-weight:600;
  color:var(--accent);
}
.credibility {
  border-block:1px solid var(--line);
  display:flex;
  gap:38px;
  align-items:center;
  padding-block:26px;
}
.credibility>.micro {
  color:var(--muted);
  white-space:nowrap;
}
.credibility>div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex:1;
}
.credibility>div>span {
  font-size:16px;
  font-weight:650;
}
.credibility small {
  font-size:13px;
  font-weight:450;
  color:var(--muted);
  display:block;
  margin-top:3px;
}
.section {
  padding-block:104px;
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:56px;
  margin-bottom:44px;
}
.section-heading h2 {
  margin-bottom:0;
}
.section-heading>p,.section-heading>div+div {
  max-width:360px;
}
.section-heading>p {
  margin-bottom:3px;
}
.flagship {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:var(--surface);
}
.flagship-copy {
  padding:44px;
}
.flagship h3 {
  font-size:60px;
  margin-bottom:12px;
}
.flagship .eyebrow {
  margin-bottom:28px;
}
.project-role {
  font-size:15px;
  color:var(--accent);
  font-weight:600;
  margin-bottom:20px;
}
.flagship p:not(.project-role) {
  max-width:430px;
}
.project-facts {
  display:flex;
  gap:48px;
  margin:30px 0;
}
.project-facts strong {
  display:block;
  font-size:34px;
  font-weight:650;
  letter-spacing:-.035em;
  line-height:1.3;
  white-space:nowrap;
}
.project-facts span {
  font-size:14px;
  color:var(--muted);
  display:block;
  line-height:1.6;
  margin-top:8px;
}
.model-art {
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:450px;
  background:#fff0f1;
  border-left:1px solid var(--line);
}
.model-art:before {
  position:absolute;
  inset:0;
  content:'';
  background-image:radial-gradient(#ba00152b .7px,transparent .7px);
  background-size:19px 19px;
  mask-image:linear-gradient(transparent,black,transparent);
}
.model-art-label {
  position:absolute;
  left:28px;
  top:26px;
  font-size:13px;
  color:var(--accent);
}
.token-row {
  display:flex;
  gap:16px;
  color:var(--accent);
  font:13px var(--mono);
  z-index:1;
}
.token-row span {
  border:1px solid #efc2c8;
  background:#fff9;
  padding:6px 11px;
  border-radius:4px;
}
.model-core {
  width:245px;
  height:240px;
  display:grid;
  place-items:center;
  position:relative;
  margin:12px 0;
}
.core-symbol {
  font-family:serif;
  font-size:92px;
  color:var(--brand);
}
.core-orbit {
  position:absolute;
  width:200px;
  height:155px;
  border:1px solid #e6001255;
  border-radius:50%;
  transform:rotate(-35deg);
}
.core-orbit.second {
  transform:rotate(35deg);
  width:155px;
  height:210px;
  border-color:#ba001570;
}
.core-orbit.third {
  transform:rotate(80deg);
  width:175px;
  height:230px;
  border-color:#e6001240;
}
.core-orbit:before {
  content:'';
  position:absolute;
  top:20%;
  left:5%;
  background:var(--brand);
  width:6px;
  height:6px;
  border-radius:50%;
}
.model-flow {
  display:flex;
  gap:16px;
  align-items:center;
  font:12px var(--mono);
  color:var(--accent);
  z-index:1;
}
.model-flow i {
  font-style:normal;
  color:var(--muted);
}
.model-art-bottom {
  position:absolute;
  bottom:25px;
  font-size:12px;
  color:var(--muted);
}
.research-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px;
  margin-top:32px;
}
.research-card {
  min-width:0;
  padding:32px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:10px;
}
.card-meta {
  display:flex;
  justify-content:space-between;
  margin-bottom:24px;
}
.card-meta>.muted {
  display:none;
}
.research-card h3 {
  font-size:32px;
  margin-bottom:18px;
}
.research-card p {
  max-width:450px;
}
.project-links {
  display:flex;
  flex-wrap:wrap;
  gap:4px 24px;
  margin-top:20px;
}
.project-links a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-color:#e9aab2;
}
.project-links a:hover {
  text-decoration-color:var(--accent);
}
.table-art {
  height:120px;
  display:flex;
  gap:4px;
  align-items:center;
  margin-bottom:28px;
}
.table-art>div:not(.table-clean) {
  display:flex;
  flex-direction:column;
  gap:4px;
}
.table-art span {
  display:block;
  width:37px;
  height:15px;
  border:1px solid #e7c7cc;
  background:#fff7f8;
  border-radius:2px;
}
.table-art span.highlight {
  background:#ffd4da;
  border-color:#c84b5a;
}
.table-art b {
  font-size:24px;
  font-weight:450;
  color:var(--accent);
  margin:0 23px;
}
.table-art .table-clean {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:4px;
  transform:rotate(-7deg);
}
.table-clean span {
  width:28px;
  height:28px;
  background:#fff0f1;
  border-color:#cf6774;
}
.document-art {
  height:120px;
  display:flex;
  align-items:center;
  gap:33px;
  position:relative;
  margin-bottom:28px;
}
.doc-page {
  width:90px;
  height:107px;
  border:1px solid #c88992;
  border-radius:4px;
  padding:13px;
  background:#fff7f8;
  transform:rotate(-6deg);
}
.doc-page>i {
  display:block;
  height:2px;
  background:#c88992;
  margin-bottom:6px;
}
.doc-page>i:nth-child(2) {
  width:75%;
}
.doc-chart {
  display:flex;
  gap:5px;
  align-items:end;
  height:32px;
  margin-block:10px;
}
.doc-chart b {
  width:9px;
  height:28px;
  background:#eb9aa5;
}
.doc-chart b:nth-child(2) {
  height:18px;
}
.doc-chart b:nth-child(3) {
  height:24px;
  background:var(--brand);
}
.doc-chart b:nth-child(4) {
  height:31px;
}
.doc-caption {
  display:flex;
  flex-direction:column;
  gap:5px;
  font:13px var(--mono);
  color:var(--muted);
}
.doc-caption span:before {
  content:'+ ';
  color:var(--accent);
}
.scan-line {
  position:absolute;
  left:0;
  top:45%;
  width:100px;
  height:1px;
  background:var(--brand);
}
.research-note {
  display:grid;
  grid-template-columns:150px 1fr;
  gap:12px 32px;
  align-items:start;
  margin-top:72px;
  padding:36px 0 36px 32px;
  border-left:3px solid var(--brand);
}
.research-note .eyebrow {
  padding-top:8px;
}
.research-note p {
  font-size:30px;
  line-height:1.5;
  letter-spacing:-.025em;
  max-width:790px;
  color:var(--ink);
  margin-bottom:8px;
}
.research-note em {
  color:var(--accent);
  font-style:normal;
}
.research-note .vision-detail {
  grid-column:2;
  font-size:17px;
  line-height:1.8;
  letter-spacing:0;
  color:var(--muted);
  margin-bottom:8px;
}
.research-note>a {
  grid-column:2;
  justify-self:start;
}
.papers-section {
  background:#f3f1f0;
  border-block:1px solid var(--line);
}
.paper-row {
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:28px;
  border-top:1px solid var(--line);
  padding:30px 0;
}
.paper-year {
  font:14px/1.8 var(--mono);
  color:var(--muted);
  padding-top:4px;
}
.paper-row .micro {
  font-size:13px;
  margin-bottom:12px;
}
.paper-row h3,.paper-row h2 {
  font-size:23px;
  line-height:1.45;
  letter-spacing:-.025em;
  margin-bottom:10px;
  max-width:900px;
}
.paper-row h3 span {
  font-size:18px;
  color:var(--accent);
}
.paper-row p {
  font-size:14px;
  margin-bottom:0;
  line-height:1.85;
}
.paper-list {
  border-bottom:1px solid var(--line);
  margin-bottom:20px;
}
.paper-venue {
  color:var(--ink);
  margin-top:8px;
}
.writing-row {
  display:grid;
  grid-template-columns:190px minmax(0,1fr) 28px;
  gap:32px;
  align-items:start;
  padding:32px 0;
  border-top:1px solid var(--line);
}
.writing-row>.micro {
  font-size:13px;
  line-height:2;
}
.writing-row h3 {
  font-size:24px;
  line-height:1.4;
  margin-bottom:12px;
}
.writing-row p {
  font-size:15px;
  max-width:700px;
  margin-bottom:0;
}
.writing-row>span:last-child {
  font-size:24px;
  color:var(--accent);
}
a.writing-row:hover h3 {
  color:var(--accent);
}
.writing-list {
  border-bottom:1px solid var(--line);
}
.post-item>a:last-child {
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  justify-self:end;
}
.about-section {
  background:var(--surface);
  border-block:1px solid var(--line);
}
.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
}
.about-grid>div>p {
  max-width:440px;
}
.about-grid .about-intro {
  font-size:19px;
  line-height:1.7;
  margin-bottom:24px;
}
.about-grid .text-link {
  margin-top:16px;
}
.timeline {
  padding-left:28px;
  border-left:1px solid var(--line);
}
.timeline article {
  position:relative;
  padding-bottom:36px;
}
.timeline article:before {
  content:'';
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--brand);
  position:absolute;
  left:-32px;
  top:8px;
}
.timeline article:last-child {
  padding-bottom:0;
}
.timeline .micro {
  font:13px/1.7 var(--mono);
}
.timeline h3 {
  font-size:21px;
  line-height:1.4;
  margin:10px 0;
}
.timeline h3 small {
  font-size:15px;
  font-weight:450;
  color:var(--muted);
}
.timeline p {
  font-size:15px;
  margin:0;
  line-height:1.8;
}
.timeline a {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  font-size:14px;
  color:var(--accent);
}
.awards-strip {
  border-top:1px solid var(--line);
  padding-top:32px;
  margin-top:64px;
  display:grid;
  grid-template-columns:120px 1.4fr 1fr 1fr;
  gap:28px;
}
.awards-strip>.micro {
  color:var(--muted);
}
.awards-strip strong {
  font-size:14px;
  display:block;
}
.awards-strip div span {
  color:var(--muted);
  font:13px var(--mono);
  display:block;
  margin-top:10px;
}
.closing {
  padding-block:104px;
  text-align:center;
}
.closing h2 {
  font-size:48px;
  line-height:1.2;
  margin-bottom:32px;
}
.closing>div {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:24px;
}
.site-footer {
  display:flex;
  justify-content:space-between;
  gap:32px;
  padding-block:32px;
  border-top:1px solid var(--line);
}
.footer-name {
  font-size:15px;
  font-weight:650;
}
.footer-name span {
  font-weight:450;
  color:var(--muted);
}
.site-footer p {
  font-size:14px;
  margin:8px 0 0;
}
.footer-links {
  display:flex;
  gap:4px 24px;
  flex-wrap:wrap;
  justify-content:end;
  font-size:14px;
  align-content:start;
}
.footer-links a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
.footer-links>span {
  flex-basis:100%;
  color:var(--muted);
  font-size:13px;
  text-align:right;
}
/* The notebook and archive share the same calm reading rhythm. */
.page-intro {
  padding-block:64px 56px;
}
.page-intro .back-link {
  margin-bottom:40px;
}
.back-link {
  display:flex;
  align-items:center;
  width:fit-content;
  min-height:44px;
  font-size:14px;
  color:var(--muted);
}
.page-intro h1 {
  font-size:72px;
  line-height:1.13;
}
.page-intro>p {
  font-size:18px;
  max-width:680px;
}
.blog-topics {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:28px;
}
.blog-topics span {
  font-size:14px;
  padding:6px 14px;
  border:1px solid var(--line);
  border-radius:30px;
  color:var(--muted);
}
.blog-body {
  padding-bottom:30px;
}
.small-heading {
  margin-bottom:24px;
}
.small-heading h2 {
  font-size:28px;
}
.notebook-empty {
  border:1px dashed #d9a7ae;
  border-radius:10px;
  padding:36px;
  display:flex;
  align-items:center;
  gap:32px;
  background:#fff5f6;
}
.notebook-mark {
  font:36px var(--mono);
  color:var(--accent);
  white-space:nowrap;
}
.notebook-empty h3 {
  font-size:24px;
  margin:0 0 12px;
}
.notebook-empty p {
  max-width:560px;
  margin:0;
}
.elsewhere {
  padding-top:64px;
}
.elsewhere h2 {
  font-size:36px;
}
.source-label {
  font-size:13px;
  color:var(--accent);
  display:block;
  margin-top:18px;
}
.archive-section {
  padding-bottom:96px;
}
.search-box {
  display:flex;
  align-items:center;
  gap:28px;
  background:var(--surface);
  border:1px solid #d2bfc2;
  border-radius:8px;
  padding:14px 20px;
}
.search-box:focus-within {
  border-color:var(--accent);
}
.search-box>span {
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
  color:var(--accent);
}
.search-box input {
  width:100%;
  min-width:0;
  min-height:44px;
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:16px;
  padding:8px;
  outline-offset:1px;
}
.search-box input::placeholder {
  color:var(--muted);
}
#paper-count {
  margin-top:18px;
}
.archive-paper .project-links {
  margin-top:12px;
}
.filter-empty {
  padding:30px 0;
  color:var(--muted);
}
.blog-filter {
  display:flex;
  gap:10px;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.blog-filter button {
  min-height:44px;
  background:none;
  border:1px solid var(--line);
  border-radius:30px;
  font-size:15px;
  padding:8px 18px;
  color:var(--muted);
}
.blog-filter button.active {
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.reading-progress {
  position:fixed;
  top:88px;
  left:0;
  right:0;
  height:3px;
  z-index:21;
}
.reading-progress span {
  display:block;
  background:var(--brand);
  height:100%;
  width:100%;
  transform:scaleX(0);
  transform-origin:left;
}
.post {
  max-width:780px;
  padding-block:60px 90px;
}
.post-header {
  border-bottom:1px solid var(--line);
  padding-bottom:36px;
  margin-bottom:44px;
}
.post-header .back-link {
  margin-bottom:40px;
}
.post-header h1 {
  font-size:50px;
  line-height:1.25;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
}
.post-description {
  font-size:20px;
}
.post-byline {
  font-size:14px;
}
.post-byline span {
  color:var(--muted);
}
.prose {
  font-size:18px;
  line-height:1.95;
  overflow-wrap:break-word;
}
.prose p {
  font-size:18px;
  line-height:1.95;
  color:var(--ink);
  margin-bottom:1.6em;
}
.prose h2 {
  font-size:30px;
  margin-top:2em;
  line-height:1.5;
}
.prose h3 {
  font-size:24px;
  margin-top:1.7em;
}
.prose a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px;
}
.prose blockquote {
  border-left:3px solid var(--brand);
  margin-left:0;
  padding-left:24px;
}
.prose pre {
  padding:24px;
  background:#f4eeee;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:auto;
  font-size:14px;
}
.prose code {
  font-family:var(--mono);
  color:var(--accent);
}
.prose img {
  height:auto;
  width:100%;
  border-radius:12px;
  margin-block:12px 28px;
}
.prose > h2:first-child { margin-top:0; }
.prose .illustration-note { font-size:16px; color:var(--muted); margin-top:40px; }
.prose table {
  display:block;
  overflow:auto;
  border-collapse:collapse;
  max-width:100%;
  font-size:15px;
}
.prose th,.prose td {
  border:1px solid var(--line);
  padding:10px 16px;
}
.prose hr {
  border:0;
  border-top:1px solid var(--line);
  margin:40px 0;
}
.post-footer {
  margin-top:56px;
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.error-page {
  min-height:65vh;
}
@media(max-width:1150px) {
  .wrap {
    width:calc(100% - 64px);
  }
  .brand-alias {
    display:none;
  }
  .hero {
    gap:36px;
  }
  .hero h1 {
    font-size:64px;
  }
  .flagship-copy {
    padding:34px;
  }
  .credibility {
    gap:24px;
  }
  .credibility>div {
    gap:20px;
  }
  .credibility>div>span {
    font-size:14px;
  }
  .about-grid {
    gap:60px;
  }
  .writing-row {
    grid-template-columns:160px minmax(0,1fr) 24px;
    gap:26px;
  }
}
@media(max-width:900px) {
  .header-inner {
    min-height:76px;
  }
  .menu-toggle {
    display:flex;
    gap:16px;
    align-items:center;
    min-height:44px;
    background:var(--surface);
    border:1px solid var(--line);
    padding:8px 14px;
    font-size:14px;
    border-radius:6px;
  }
  .site-header nav {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:76px;
    padding:18px 32px;
    background:var(--bg);
    border-bottom:1px solid var(--line);
    gap:8px;
    flex-direction:column;
    align-items:stretch;
    font-size:16px;
    box-shadow:0 20px 30px #251c2010;
    max-height:calc(100dvh - 76px);
    overflow:auto;
  }
  .site-header nav.is-open {
    display:flex;
  }
  .site-header nav a {
    padding:8px 12px;
  }

  .hero {
    gap:28px;
    padding-block:56px;
  }
  .hero h1 {
    font-size:54px;
  }
  .hero-intro {
    font-size:16px;
  }
  .hero-intro strong {
    font-size:18px;
  }
  .research-visual {
    padding:20px;
  }
  .visual-top .micro {
    font-size:11px;
  }
  .visual-top .muted {
    display:none;
  }
  .loop-tabs button {
    font-size:14px;
  }
  .loop-tabs button span {
    display:none;
  }
  .loop-panel {
    min-height:200px;
  }
  .credibility {
    display:block;
  }
  .credibility>.micro {
    display:block;
    margin-bottom:20px;
  }
  .section-heading {
    gap:32px;
  }
  .flagship-copy {
    padding:30px;
  }
  .flagship h3 {
    font-size:48px;
  }
  .project-facts {
    gap:28px;
  }
  .research-card {
    padding:26px;
  }
  .table-art span {
    width:28px;
  }
  .table-art b {
    margin-inline:16px;
  }
  .research-note {
    grid-template-columns:110px 1fr;
    gap:20px;
  }
  .research-note p {
    font-size:27px;
  }
  .awards-strip {
    grid-template-columns:1fr 1fr;
  }
  .reading-progress {
    top:76px;
  }
}
@media(max-width:700px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .brand {
    font-size:14px;
    gap:12px;
  }

  .site-header nav {
    padding-inline:20px;
  }
  .hero {
    display:block;
    padding-top:44px;
    padding-bottom:40px;
  }
  .hero h1 {
    font-size:clamp(49px,11vw,72px);
    margin-bottom:24px;
  }
  .hero .eyebrow {
    margin-bottom:20px;
  }
  .hero-intro {
    max-width:530px;
  }
  .hero-role {
    line-height:1.85;
  }
  .hero-actions {
    gap:18px 24px;
  }
  .research-visual {
    margin:40px auto 0;
    max-width:540px;
    padding:22px;
  }
  .visual-top .micro {
    font-size:12px;
  }
  .visual-top .muted {
    display:block;
  }
  .network-stage {
    max-width:440px;
    margin-inline:auto;
  }
  .loop-tabs button {
    font-size:15px;
  }
  .loop-tabs button span {
    display:inline;
    font-size:12px;
  }
  .loop-panel {
    min-height:168px;
  }
  .loop-panel p {
    max-width:100%;
  }
  .credibility {
    padding-block:24px;
  }
  .credibility>div {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .credibility>div>span {
    font-size:15px;
  }
  .section {
    padding-block:64px;
  }
  .section-heading {
    display:block;
    margin-bottom:32px;
  }
  .section-heading h2 {
    font-size:36px;
    margin-bottom:24px;
  }
  .section-heading>.text-link {
    margin-top:4px;
  }
  .section-heading>p,.section-heading>div+div {
    max-width:100%;
  }
  .eyebrow {
    margin-bottom:18px;
  }
  .flagship {
    grid-template-columns:1fr;
  }
  .flagship-copy {
    padding:30px 26px;
  }
  .flagship h3 {
    font-size:48px;
  }
  .flagship .eyebrow {
    font-size:13px;
    margin-bottom:22px;
  }
  .model-art {
    border-left:0;
    border-top:1px solid var(--line);
    min-height:360px;
  }
  .model-core {
    height:190px;
    transform:scale(.85);
    margin:0;
  }
  .token-row {
    margin-top:38px;
  }
  .model-flow {
    margin-bottom:32px;
  }
  .model-art-bottom {
    bottom:18px;
  }
  .research-grid {
    grid-template-columns:minmax(0,1fr);
    gap:20px;
    margin-top:20px;
  }
  .research-card h3 {
    font-size:30px;
  }
  .table-art span {
    width:34px;
  }
  .research-note {
    display:block;
    margin-top:44px;
    padding:12px 0 12px 22px;
  }
  .research-note p {
    font-size:26px;
    margin-bottom:20px;
  }
  .research-note .vision-detail {
    font-size:16px;
    margin-bottom:12px;
  }
  .paper-row {
    grid-template-columns:48px minmax(0,1fr);
    gap:16px;
    padding:26px 0;
  }
  .paper-row h3,.paper-row h2 {
    font-size:20px;
  }
  .paper-year {
    font-size:13px;
  }
  .paper-row .micro {
    font-size:12px;
  }
  .writing-row {
    grid-template-columns:minmax(0,1fr) 24px;
    gap:14px 16px;
    padding:28px 0;
  }
  .writing-row>.micro {
    grid-column:1/-1;
    font-size:13px;
  }
  .writing-row>.micro br {
    display:none;
  }
  .writing-row>.micro .muted {
    margin-left:12px;
  }
  .writing-row h3 {
    font-size:23px;
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:44px;
  }
  .about-grid h2 {
    font-size:36px;
  }
  .about-grid>div>p {
    max-width:100%;
  }
  .timeline {
    margin-left:4px;
  }
  .awards-strip {
    grid-template-columns:1fr;
    gap:24px;
    margin-top:44px;
    padding-top:28px;
  }
  .awards-strip>div {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:baseline;
  }
  .awards-strip strong {
    max-width:80%;
  }
  .awards-strip div span {
    margin:0;
  }
  .closing {
    padding-block:64px;
  }
  .closing h2 {
    font-size:36px;
  }
  .site-footer {
    display:block;
    padding-block:28px;
  }
  .footer-links {
    justify-content:start;
    margin-top:20px;
  }
  .footer-links>span {
    text-align:left;
  }
  .page-intro {
    padding-top:30px;
    padding-bottom:40px;
  }
  .page-intro .back-link {
    margin-bottom:30px;
  }
  .page-intro h1 {
    font-size:clamp(39px,9vw,58px);
    overflow-wrap:anywhere;
  }
  .page-intro>p {
    font-size:17px;
  }
  .small-heading {
    display:flex;
    gap:16px;
    align-items:center;
  }
  .small-heading h2 {
    font-size:26px;
    margin:0;
  }
  .notebook-empty {
    padding:26px;
    display:block;
  }
  .notebook-mark {
    font-size:28px;
    display:block;
    margin-bottom:18px;
  }
  .notebook-empty h3 {
    font-size:22px;
  }
  .elsewhere {
    padding-top:40px;
  }
  .elsewhere h2 {
    font-size:32px;
  }
  .search-box {
    display:block;
    padding:16px;
  }
  .search-box>span {
    display:block;
    margin-bottom:8px;
  }
  .search-box input {
    padding:8px 0;
  }
  .post {
    padding-top:32px;
    padding-bottom:60px;
  }
  .post-header .back-link {
    margin-bottom:30px;
  }
  .post-header h1 {
    font-size:36px;
  }
  .post-description {
    font-size:18px;
  }
  .prose,.prose p {
    font-size:17px;
  }
  .archive-section {
    padding-bottom:64px;
  }
}
@media(max-width:380px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .hero h1 {
    font-size:47px;
  }
  .hero-actions {
    gap:12px 18px;
  }
  .button {
    padding-inline:16px;
    gap:16px;
  }
  .research-visual {
    padding:18px;
  }
  .visual-top .micro {
    font-size:11px;
  }
  .visual-top .muted {
    display:none;
  }
  .loop-tabs button {
    font-size:14px;
  }
  .loop-tabs button span {
    margin-right:4px;
    font-size:11px;
  }
  .loop-panel {
    min-height:190px;
  }
  .table-art span {
    width:25px;
    height:13px;
  }
  .table-art .table-clean span {
    width:24px;
    height:24px;
  }
  .research-card {
    padding:24px;
  }
  .project-facts strong {
    font-size:30px;
  }
  .project-facts {
    gap:24px;
  }
  .project-facts span {
    font-size:13px;
  }
  .paper-row {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .paper-year {
    padding:0;
  }
  .page-intro h1 {
    font-size:39px;
  }
  .brand {
    font-size:13px;
  }
  .menu-toggle {
    padding-inline:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .moving-signal {
    display:none;
  }
}

.profile-photo {
  max-width: 440px;
  margin: 28px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface2);
}
.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.foundation-feature .foundation-title {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.15;
  margin-bottom: 28px;
}
.foundation-models {
  padding: 12px 38px;
  background: var(--surface2);
  border-left: 1px solid var(--line);
}
.foundation-model {
  padding: 28px 0;
}
.foundation-model + .foundation-model {
  border-top: 1px solid #e9c6cc;
}
.foundation-model .model-company {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
}
.foundation-model h4 {
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.foundation-model p {
  font-size: 15px;
  margin-bottom: 12px;
}
.foundation-model .text-link {
  color: var(--accent);
  border-color: #e9c6cc;
}
@media (max-width: 700px) {
  .foundation-models {
    padding: 0 26px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 380px) {
  .foundation-feature .foundation-title {
    font-size: 28px;
  }
  .foundation-model h4 {
    font-size: 26px;
  }
}

/* Personal identity appears before the research narrative. */
.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.profile-top {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}
.profile-top .profile-photo {
  margin: 0;
  padding: 6px;
}
.profile-summary .eyebrow {
  margin-bottom: 8px;
}
.profile-name {
  font-size: 34px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 14px;
}
.profile-name span {
  font-size: 24px;
  font-weight: 450;
  color: var(--muted);
  white-space: nowrap;
}
.profile-roles {
  margin-bottom: 16px;
  font-size: 15px;
}
.profile-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.profile-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-size: 14px;
}
.profile-social a:hover {
  border-color: var(--accent);
  background: var(--surface2);
}
.profile-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@media (max-width: 700px) {
  .profile-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 28px 32px;
  }
  .profile-top .profile-photo {
    width: 100%;
    max-width: 440px;
  }
  .profile-name {
    font-size: 30px;
  }
  .profile-name span {
    font-size: 21px;
  }
  .profile-social {
    gap: 8px;
  }
  .profile-social a {
    padding-inline: 11px;
  }
  .brand-avatar {
    width: 34px;
    height: 34px;
  }
}

/* Shared reading scale for English, Japanese and Chinese. */
:root {
  --font: Manrope, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html { scroll-padding-top: 116px; }
body { font-size: 18px; }
p, .hero-intro, .flagship p:not(.project-role), .research-card p,
.writing-row p, .timeline p, .foundation-model p { font-size: 18px; line-height: 1.8; }
.profile-roles { font-size: 18px; }
.micro, .eyebrow, .small, .paper-year, .paper-row .micro,
.paper-row p, .timeline .micro, .credibility small,
.writing-row > .micro, .awards-strip strong, .awards-strip div span,
.site-footer p, .footer-links > span { font-size: 16px; }
.text-link, .button, .project-links a, .timeline a, .footer-links,
.profile-social a, .foundation-model .model-company, .search-box > span,
.post-byline, .back-link { font-size: 17px; }
.section { padding-block: 76px; }
.section-heading { align-items: center; margin-bottom: 32px; }
.section-heading > h2 { margin: 0; }
h2, .section-heading h2, .about-grid h2 { font-size: 38px; line-height: 1.3; }
.paper-row h2, .paper-row h3 { font-size: 24px; }
.writing-row h3 { font-size: 26px; }
.paper-row { gap: 24px; padding-block: 30px; }
.paper-row p { line-height: 1.8; }
.timeline h3 { font-size: 24px; }
.timeline h3 small { font-size: 17px; }
.about-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 70px; }
.page-intro { padding-block: 44px 40px; }
.page-intro .back-link { margin-bottom: 24px; }
.page-intro h1 { font-size: 56px; margin-bottom: 24px; }
.page-intro > .text-link { margin-top: 0; }
.search-box input { font-size: 18px; }
.notebook-empty { display: block; padding: 24px; font-size: 18px; }
.elsewhere { padding-top: 32px; }
.loop-tabs button { font-size: 17px; }
.loop-tabs button span { font-size: 13px; }
.loop-panel { min-height: 185px; }
.loop-panel p { font-size: 17px; }
.loop-panel a, .loop-panel .micro { font-size: 16px; }
.visual-top .micro { font-size: 14px; }
.graph-node text { font-size: 16px; letter-spacing: 0; }
.graph-caption { font-size: 13px; letter-spacing: 0; }
.prose, .prose p { font-size: 19px; }
.prose { max-width: 72ch; }
:lang(ja) h1, :lang(zh) h1,
:lang(ja) h2, :lang(zh) h2,
:lang(ja) h3, :lang(zh) h3 { letter-spacing: -.025em; line-break: strict; }
:lang(ja) .hero h1, :lang(zh) .hero h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.4; }
:lang(ja) .foundation-title, :lang(zh) .foundation-title { font-size: 38px; line-height: 1.4; }
/* Language links stay visible, including on phones. */
.header-inner { gap: 20px; }
.brand { gap: 12px; font-size: 16px; }
.brand-alias { display: none; }
.site-header #main-nav { gap: 22px; font-size: 16px; margin-left: auto; }
.site-header .language-switch { display: flex; gap: 2px; margin: 0; flex-shrink: 0; }
.site-header .language-switch a { min-height: 44px; padding: 8px 10px; font-size: 15px; border-radius: 6px; }
.site-header .language-switch a[aria-current] { background: var(--surface2); color: var(--accent); font-weight: 700; }
.site-header .language-switch a:hover { background: var(--surface2); }
@media (max-width: 1100px) {
  .header-inner { min-height: 80px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
  .site-header #main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; margin: 0; padding: 18px 32px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px #251c2010; flex-direction: column; align-items: stretch; gap: 6px; max-height: calc(100dvh - 80px); overflow: auto; }
  .site-header #main-nav.is-open { display: flex; }
  .site-header #main-nav a { min-height: 48px; padding: 8px 12px; font-size: 18px; }
  .site-header .language-switch { position: static; flex-direction: row; align-items: center; margin-left: auto; border: 0; padding: 0; box-shadow: none; width: auto; background: transparent; }
  .reading-progress { top: 80px; }
  .about-grid { grid-template-columns: 230px minmax(0,1fr); gap: 45px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 144px; }
  .header-inner { flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; padding-bottom: 8px; }
  .brand { flex: 1; order: 0; font-size: 15px; }
  .menu-toggle { order: 1; font-size: 16px; }
  .site-header .language-switch { order: 2; flex-basis: 100%; justify-content: flex-end; margin-left: 0; border-top: 1px solid var(--line); padding-top: 3px; }
  .site-header .language-switch a { padding: 6px 14px; font-size: 16px; min-height: 44px; }
  .site-header #main-nav { top: 116px; padding-inline: 20px; max-height: calc(100dvh - 116px); }
  .reading-progress { top: 116px; }
  .section { padding-block: 52px; }
  h2, .section-heading h2, .about-grid h2 { font-size: 30px; }
  .section-heading { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 26px; }
  .section-heading h2 { margin-bottom: 0; }
  .hero { padding-block: 42px; }
  .hero h1 { font-size: 54px; }
  :lang(ja) .hero h1, :lang(zh) .hero h1 { font-size: clamp(34px, 7.7vw, 52px); }
  .profile-roles, .hero-intro { font-size: 18px; }
  .research-visual { padding: 20px; }
  .loop-tabs button { font-size: 16px; }
  .loop-tabs button span { display: none; }
  .loop-panel { min-height: 190px; }
  .visual-top .micro { font-size: 14px; }
  .visual-top .micro:last-child { display: none; }
  .credibility > div > span { font-size: 17px; }
  .credibility small { font-size: 15px; }
  .paper-row { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .paper-row h2, .paper-row h3 { font-size: 22px; }
  .paper-row p { font-size: 16px; }
  .paper-year { font-size: 16px; padding: 0; }
  .writing-row > .micro { font-size: 15px; }
  .writing-row h3 { font-size: 23px; }
  .writing-row p { font-size: 18px; }
  .about-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .about-grid .text-link { margin-top: 0; }
  .timeline p { font-size: 18px; }
  .timeline .micro { font-size: 15px; }
  .awards-strip strong { font-size: 16px; }
  .page-intro h1 { font-size: 42px; }
  .page-intro { padding-block: 28px 30px; }
  .post-header h1 { font-size: 34px; }
  .prose, .prose p { font-size: 18px; }
  .footer-links, .site-footer p { font-size: 16px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 47px; }
  .research-visual { padding: 16px; }
  .profile-name { font-size: 29px; }
  .profile-social { gap: 6px; }
  .profile-social a { padding-inline: 9px; font-size: 16px; }
  :lang(ja) .foundation-title, :lang(zh) .foundation-title { font-size: 30px; }
}
@media (max-width: 700px) {
  :lang(ja) .loop-tabs { grid-template-columns: 1fr 1fr 1.5fr; }
  .loop-tabs button { white-space: nowrap; }
  .graph-node text, .graph-caption { display: none; }
}
