:root {
  --paper: #fbfaf7; --ink: #17263b; --muted: #49596b; --line: #c8cfd2;
  --blue: #22469c; --red: #ac4037; --plate: #eff2f7; --navy: #172d43;
  --serif: "STIX Two Text", "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
.wrap { width: min(1170px, calc(100% - 8vw)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid #a54024; outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2; background: white; padding: 7px 15px; }
.skip:focus { top: 8px; }
.mast { min-height: 84px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 650; text-decoration: none; letter-spacing: -.035em; font-size: 1.15rem; }
.monogram { background: var(--navy); color: white; width: 36px; height: 36px; display: grid; place-items: center; font: italic 1.6rem/.9 var(--serif); padding: 0 3px 4px 0; letter-spacing: -.105em; }
nav { display: flex; gap: clamp(15px, 3vw, 39px); }
nav a { font-size: .92rem; text-decoration: none; padding-block: 8px; }
nav a:hover, .brand:hover { text-decoration: underline; }
.intro { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(36px, 5vw, 82px); align-items: center; padding-block: clamp(49px, 7vw, 97px); }
.intro-type { padding-block: 8px; }
.kicker, .smallhead, .lang-label, .plate-heading, .section-bar { font-size: .79rem; font-weight: 650; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.kicker { color: var(--blue); display: flex; align-items: center; gap: 10px; margin: 0 0 19px; }
.rule { display: inline-block; width: 25px; height: 2px; background: currentColor; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .equation { font-family: var(--serif); font-weight: 400; }
h1 { margin: 0 0 21px -.05em; font-size: clamp(4rem, 7.8vw, 7.25rem); line-height: 1; letter-spacing: -.07em; }
h1 i, h2 i { font-weight: 400; }
h1 i { color: var(--blue); }
.lead { max-width: 42ch; font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.button { display: inline-block; margin-top: 25px; color: #fff; background: var(--navy); border: 1px solid var(--navy); text-decoration: none; padding: 10px 19px; font-size: .94rem; font-weight: 600; }
.button:hover { background: var(--blue); color: #fff; }
.root-figure { background: var(--plate); border: 1px solid #bdc9db; padding: clamp(18px, 2vw, 29px); color: #253851; }
.plate-heading { display: flex; align-items: center; justify-content: space-between; color: #52627a; letter-spacing: .1em; }
.plate-mark { font: italic 1.2rem/1 var(--serif); color: var(--blue); }
.root-figure h2 { font-size: clamp(1.6rem, 2.5vw, 2.45rem); letter-spacing: -.045em; line-height: 1.15; margin: 9px 0 8px; }
.root-figure img { width: 100%; height: auto; display: block; }
.root-figure figcaption { border-top: 1px solid #c5cfdb; margin-top: 8px; padding-top: 11px; display:flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .88rem; }
.keys, .keys span { display: inline-flex; align-items: center; gap: 13px; }
.keys span { gap: 5px; }
.swatch { display: inline-block; width: 19px; height: 0; border-top: 3px solid var(--blue); }
.swatch.dashed { border-color: var(--red); border-top-style: dashed; }
.root-figure a, .textlink { color: var(--blue); font-weight: 600; }
.section-bar { display:flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 12px 0; }
.section-bar span:last-child { color: var(--muted); text-transform: none; letter-spacing: .015em; font-size: .85rem; font-weight: 450; }
.work, .about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 7.5vw, 115px); align-items: start; padding-block: clamp(50px, 6vw, 88px); }
.work-intro h2, .about h2 { font-size: clamp(2.7rem, 4.5vw, 4.25rem); line-height: 1.03; letter-spacing: -.055em; margin-bottom: 20px; }
.work-intro > p:not(.kicker), .about p:not(.kicker) { color: var(--muted); max-width: 53ch; }
.textlink { display: inline-block; margin-top: 20px; }
.data-panel { padding: clamp(20px, 3vw, 37px); background: var(--navy); color: #f6f7fb; }
.panel-heading { display:flex; gap: 10px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.panel-heading h3, .about h3 { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--serif); letter-spacing: -.04em; }
.panel-heading span { font-size: .82rem; color: #c4d9ed; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-size: .88rem; color: #d6e2eb; padding-bottom: 14px; }
th,td { padding: 8px 4px; text-align: right; border-bottom: 1px solid #496074; }
th:first-child { text-align: left; padding-left:0; }
thead th { font-size: .8rem; color: #d4e1ec; font-weight: 500; }
tbody th { font-weight: 500; }
td.gap { font-weight: 650; color: #b6ddf7; }
.panel-note, .detail-body { font-size: 1rem; line-height: 1.55; color: #e0e9f2; }
details { border-top: 1px solid #5d7385; margin-top: 20px; }
summary { cursor: pointer; font-weight: 600; padding-top: 13px; }
.detail-body { padding-top: 12px; }
.detail-body ul { padding-left: 1.2em; }
.detail-body a:hover { color: #b6ddf7; }
code { font-size: .94em; }
.math-band { border-block: 1px solid var(--line); background: #eef1ee; }
.math-band .kicker { color: #3b6152; }
.math-inline { white-space: nowrap; }
.note-panel { background: #fffefa; border-left: 3px solid #6f877c; padding: 24px clamp(17px, 3vw, 35px); }
.smallhead, .lang-label { color: #476557; font-size: .75rem; }
.equation { margin: 8px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: clamp(1.32rem, 2.6vw, 2.3rem); line-height: 1.3; letter-spacing: -.025em; }
.lang-label { margin: 16px 0 6px; }
[lang="ja"], [lang="zh-CN"] { font-family: "Yu Gothic", "Microsoft YaHei", "Hiragino Sans", sans-serif; line-height: 1.85; }
.takeaway { padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.takeaway strong { color: var(--ink); display: block; }
.about { align-items: baseline; }
.about p { margin-top: 10px; }
.about p.institution { font-weight: 600; color: #263c57; }
footer { border-top: 1px solid var(--line); padding-block: 23px; display:flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
@media(max-width: 820px) {
  .intro { gap: 22px; }
  .intro-type h1 { font-size: clamp(3.6rem, 8vw, 4.8rem); }
  .work, .about { grid-template-columns: .8fr 1.2fr; gap: 28px; }
}
@media(max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .mast { min-height: 68px; gap: 10px; }
  .brand { gap: 8px; font-size: 1.02rem; }
  .monogram { width: 31px; height: 31px; font-size: 1.3rem; }
  nav { gap: 12px; } nav a { font-size: .85rem; }
  .intro, .work, .about { grid-template-columns: 1fr; }
  .intro { padding-block: 39px; gap: 26px; }
  .intro-type h1 { font-size: clamp(4.3rem, 13vw, 5.6rem); }
  .root-figure { max-width: 550px; }
  .work, .about { padding-block: 40px; }
  .work-intro h2 br { display:none; }
  .work-intro h2 br::after { content:" "; }
  .work-intro h2 i::before { content: " "; }
  .about { gap: 4px; }
}
@media(max-width: 375px) {
  .mast { flex-wrap: wrap; padding-block: 9px; }
  .keys { flex-wrap: wrap; }
  .data-panel { padding-inline: 13px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
