:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #192e3d;
  --muted: #54616a;
  --rule: #d1d2c8;
  --accent: #955126;
  --serif: "Baskervville", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Inter", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #ae672f; outline-offset: 4px; }
.shell { width: min(1216px, 89%); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 83px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 700 20px/1.1 var(--serif); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.brand-symbol { width: 43px; height: 42px; display: inline-grid; place-items: center; padding: 0 3px 3px 0; background: var(--ink); color: var(--paper); font: italic bold 30px/.9 Georgia, serif; letter-spacing: -.12em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.site-nav a { text-decoration: none; position: relative; font-size: 14px; padding: 9px 0; color: var(--muted); }
.site-nav a:hover, .site-nav a.active, .site-nav a[aria-current=page] { color: var(--ink); }
.site-nav a.active::after, .site-nav a[aria-current=page]::after, .site-nav a:hover::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 2px; background: var(--accent); }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 9; background: var(--ink); color: white; padding: .6rem 1rem; }
.skip-link:focus { top: .4rem; }
.eyebrow, .note-subject { color: var(--accent); font: 600 12px/1.4 var(--sans); letter-spacing: .12em; }
.inner-page { padding-block: clamp(30px, 5vw, 76px); }
.site-footer { border-top: 1px solid var(--rule); color: var(--muted); }
.footer-inner { min-height: 79px; font-size: 12px; letter-spacing: .03em; }
.footer-inner > span > span { margin-inline: 5px; color: #8b8b7e; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.home-hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(32px, 5vw, 84px); padding: clamp(40px, 5vw, 74px) 0; }
.hero-copy { padding: 5px 0 8px; }
.domain-mark { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; letter-spacing: .2em; font: 600 12px/1.1 "IBM Plex Mono", Consolas, monospace; }
.domain-mark::before { content: ""; width: 31px; height: 2px; background: var(--accent); }
.hero-copy h1 { margin: 0; font: 700 clamp(48px, 5.3vw, 79px)/1.17 var(--serif); letter-spacing: -.055em; }
.title-dot { color: var(--accent); font-family: Georgia, serif; padding-left: .03em; }
.hero-intro { max-width: 31em; color: var(--muted); margin: 23px 0 0; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 27px; }
.primary-link, .text-link, .small-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; text-decoration: none; font-weight: 600; }
.primary-link { color: white; background: var(--ink); padding: 11px 18px; }
.primary-link:hover { background: #304b5b; }
.text-link, .small-link { border-bottom: 1px solid #bba58e; padding-block: 3px; }
.text-link:hover, .small-link:hover { color: var(--accent); border-color: var(--accent); }
.torus-plate { margin: 0; min-width: 0; border: 1px solid #abb4b1; }
.plate-visual {
  position: relative; overflow: hidden; background-color: #1b3549;
  background-image: linear-gradient(#8096a119 1px, transparent 1px), linear-gradient(90deg, #8096a119 1px, transparent 1px), radial-gradient(ellipse at 53% 40%, #28475c, #172f42 90%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.plate-label, .plot-axis { position: absolute; color: #cad8da; font-size: 11px; }
.plate-label { top: 15px; left: 19px; display: flex; gap: 8px; align-items: center; letter-spacing: .13em; }
.plot-dot { width: 6px; height: 6px; border-radius: 50%; background: #ecb879; }
.plot-axis { right: 16px; bottom: 13px; font: italic 13px Georgia, serif; }
#torus { display: block; width: 100%; aspect-ratio: 760 / 430; height: auto; }
.plate-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; background: #eeeee6; }
.plate-caption > div, .angle-control { display: flex; align-items: center; gap: 9px; }
.plate-caption strong { font-family: var(--serif); font-size: 16px; }
.torus-formula { font: italic 15px Georgia, serif; color: var(--muted); }
.angle-control { font-size: 11px; color: var(--muted); white-space: nowrap; }
.angle-control input { width: clamp(45px, 5vw, 80px); accent-color: var(--accent); cursor: pointer; }
.angle-control output { min-width: 24px; font-variant-numeric: tabular-nums; }
.home-notes { border-top: 1px solid var(--ink); padding: 25px 0 54px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.section-heading h2 { margin: 0; font: 700 clamp(27px, 2.6vw, 37px)/1.4 var(--serif); letter-spacing: -.04em; }
.small-link { font-size: 13px; }
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.note-teaser { position: relative; display: block; padding: 21px 25px 33px; color: var(--ink); text-decoration: none; transition: background .12s; }
.note-teaser:first-child { padding-left: 0; }
.note-teaser + .note-teaser { border-left: 1px solid var(--rule); }
.note-teaser:hover { background: #edece2; }
.note-teaser h3 { margin: 10px 0 9px; font: 700 clamp(19px, 1.8vw, 24px)/1.45 var(--serif); }
.note-teaser p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 27em; }
.teaser-arrow { position: absolute; right: 15px; bottom: 6px; color: var(--accent); }
@media (max-width: 900px) {
  .shell { width: 91%; }
  .home-hero { gap: 23px; }
  .hero-copy h1 { font-size: clamp(44px, 5.7vw, 62px); }
  .hero-intro { font-size: 15px; }
  .plate-caption { padding-inline: 10px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 64px; }
  .home-hero { grid-template-columns: 1fr; padding: 37px 0 30px; gap: 27px; }
  .hero-intro { max-width: 36em; margin-top: 16px; }
  .hero-copy { padding: 0; }
  .hero-actions { margin-top: 18px; }
  .domain-mark { margin-bottom: 13px; }
  .hero-copy h1 { font-size: clamp(46px, 9vw, 61px); }
  .note-grid { grid-template-columns: 1fr; }
  .note-teaser, .note-teaser:first-child { padding: 16px 23px 18px 0; }
  .note-teaser + .note-teaser { border-left: 0; border-top: 1px solid var(--rule); }
  .teaser-arrow { bottom: auto; top: 19px; right: 5px; }
  .note-teaser h3 { margin: 5px 0; }
  .note-teaser p { max-width: none; }
  .home-notes { padding-bottom: 30px; }
}
@media (max-width: 420px) {
  .wordmark { gap: 8px; font-size: 17px; }
  .brand-symbol { width: 35px; height: 35px; font-size: 26px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 13px; }
  .plate-caption { flex-wrap: wrap; }
  .angle-control { margin-left: auto; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { color: black; background: white; }
}
