:root {
  --ink: #f4f8fb;
  --muted: #9fb2c3;
  --muted-2: #748a9d;
  --bg: #050b12;
  --bg-deep: #03070c;
  --panel: #0a1520;
  --panel-2: #0d1b28;
  --line: #223445;
  --line-bright: #36536a;
  --cyan: #00c7d9;
  --cyan-soft: #63e1e7;
  --amber: #ffb43b;
  --amber-soft: #ffd58f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 26px 70px rgba(0, 0, 0, .32);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 83% 4%, rgba(0, 199, 217, .11), transparent 28rem),
    radial-gradient(circle at 9% 24%, rgba(255, 180, 59, .055), transparent 22rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
}

a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, blockquote, dl { margin-top: 0; }
:focus-visible { outline: 3px solid rgba(0, 199, 217, .75); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; scroll-margin-top: 86px; }
.eyebrow {
  color: var(--cyan-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .155em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(54, 83, 106, .68);
  background: rgba(5, 11, 18, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 49px; height: 49px; object-fit: contain; }
.wordmark { position: relative; display: grid; grid-template-columns: auto auto; column-gap: 4px; line-height: 1; }
.wordmark strong, .wordmark b { font-size: 1.03rem; letter-spacing: .045em; }
.wordmark strong { color: var(--ink); }
.wordmark b { color: var(--amber); }
.wordmark small { grid-column: 1 / -1; color: var(--muted); margin-top: 6px; font-size: .66rem; letter-spacing: .055em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: .88rem; padding: 9px 10px; border-radius: 8px; }
.site-nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.menu-button { display: none; color: var(--ink); background: transparent; border: 1px solid var(--line-bright); border-radius: 9px; padding: 8px 11px; }

.hero { padding: 86px 0 64px; min-height: 730px; display: grid; align-items: center; border-bottom: 1px solid rgba(34, 52, 69, .65); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr); gap: 72px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.5rem, 7.3vw, 7.25rem);
  letter-spacing: -.055em;
  line-height: .91;
  margin-bottom: 28px;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 1.2px var(--cyan-soft); }
.lede { max-width: 780px; color: #bccbd7; font-size: clamp(1.03rem, 1.4vw, 1.19rem); line-height: 1.72; }
blockquote { margin: 28px 0 30px; padding-left: 18px; border-left: 2px solid var(--amber); color: var(--amber-soft); font-family: var(--serif); font-size: 1.13rem; font-style: italic; }
.hero-actions, .paper-actions, .author-links { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 17px; border: 1px solid var(--line-bright); border-radius: 10px; text-decoration: none; font-size: .91rem; font-weight: 750; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--cyan); border-color: var(--cyan); color: #021014; }
.button.secondary { background: rgba(255,255,255,.035); color: var(--ink); }
.button.secondary:hover { border-color: var(--cyan); }

.hero-mark { position: relative; padding: 26px; }
.mark-orbit { position: relative; aspect-ratio: 1; border: 1px solid rgba(0,199,217,.2); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(0,199,217,.06), transparent 63%); box-shadow: 0 0 90px rgba(0,199,217,.09); }
.mark-orbit::before, .mark-orbit::after { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,180,59,.16); border-radius: 50%; transform: rotate(22deg) scaleY(.44); }
.mark-orbit::after { transform: rotate(-36deg) scaleY(.28); border-color: rgba(0,199,217,.22); }
.mark-orbit img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 16px 35px rgba(0,0,0,.34)); }
.hero-mark dl { position: relative; margin: -22px auto 0; width: min(100%, 390px); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(10,21,32,.95); box-shadow: var(--shadow); }
.hero-mark dl div { padding: 14px 10px; text-align: center; }
.hero-mark dl div + div { border-left: 1px solid var(--line); }
.hero-mark dt { color: var(--amber); font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.hero-mark dd { margin: 6px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.25; }

.section-heading { margin-bottom: 36px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 470px); gap: 48px; align-items: end; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.15rem, 4vw, 4.05rem); line-height: 1.03; font-weight: 500; letter-spacing: -.035em; }
.section-heading > p, .split-heading > p { color: var(--muted); margin-bottom: 3px; }

.program { background: rgba(9, 19, 29, .58); }
.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; box-shadow: var(--shadow); }
.chain li { min-height: 270px; padding: 24px 20px; background: linear-gradient(160deg, var(--panel-2), #08121c); position: relative; }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 26px; z-index: 2; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #041015; font-size: .84rem; font-weight: 900; }
.chain span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 38px; border: 1px solid rgba(0,199,217,.5); border-radius: 50%; color: var(--cyan-soft); font-family: var(--serif); }
.chain strong { display: block; margin-bottom: 11px; font-size: 1rem; }
.chain p { color: var(--muted); font-size: .84rem; margin-bottom: 0; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.filter { border: 1px solid var(--line-bright); border-radius: 999px; background: transparent; color: var(--muted); min-height: 39px; padding: 7px 14px; cursor: pointer; font-size: .84rem; font-weight: 720; }
.filter:hover, .filter.active { color: #031014; border-color: var(--cyan); background: var(--cyan); }
#paper-count { margin-left: auto; color: var(--muted-2); font-size: .8rem; }
.paper-list { border-top: 1px solid var(--line-bright); }
.paper-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 26px; padding: 34px 22px 32px 10px; border-bottom: 1px solid var(--line); transition: background .18s ease, border-color .18s ease; }
.paper-card:hover { background: linear-gradient(90deg, rgba(0,199,217,.035), transparent 75%); border-color: var(--line-bright); }
.paper-card[hidden] { display: none; }
.paper-index { color: var(--line-bright); font-family: var(--serif); font-size: 3.15rem; line-height: .9; text-align: center; }
.latest .paper-index { color: var(--amber); }
.paper-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-bottom: 10px; color: var(--muted-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .085em; font-weight: 750; }
.paper-meta span:first-child { color: var(--cyan-soft); }
.latest .paper-meta span:first-child { color: var(--amber-soft); }
.paper-card h3 { max-width: 980px; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.17; font-weight: 500; letter-spacing: -.02em; margin-bottom: 14px; }
.paper-thesis { max-width: 940px; color: #b5c5d1; margin-bottom: 18px; }
.paper-actions { margin-bottom: 18px; }
.text-link { color: var(--cyan-soft); text-decoration: none; font-size: .86rem; font-weight: 780; border-bottom: 1px solid rgba(99,225,231,.38); padding-bottom: 2px; }
.text-link span { color: var(--amber); }
.muted-link { color: var(--muted); border-bottom-color: rgba(159,178,195,.32); }
details { border-top: 1px dashed rgba(54,83,106,.62); padding-top: 13px; }
summary { width: max-content; max-width: 100%; color: var(--ink); cursor: pointer; font-size: .86rem; font-weight: 750; }
summary::marker { color: var(--amber); }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.report-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 17px 18px; background: rgba(10,21,32,.72); }
.report-grid h4 { margin-bottom: 6px; color: var(--amber-soft); font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; }
.report-grid p { color: var(--muted); font-size: .86rem; margin-bottom: 0; }
.report-grid .equation { color: var(--ink); overflow-wrap: anywhere; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

.appendices { background: linear-gradient(180deg, rgba(10,21,32,.66), rgba(6,13,21,.4)); border-block: 1px solid rgba(34,52,69,.7); }
.appendix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.appendix-grid article { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--panel-2), #07111a); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.appendix-label { color: var(--cyan-soft); font-size: .76rem; font-weight: 760; text-transform: uppercase; letter-spacing: .09em; }
.appendix-grid h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; font-weight: 500; margin: 23px 0 14px; }
.appendix-grid p { color: var(--muted); }
.appendix-grid .paper-actions { margin-top: auto; margin-bottom: 0; }

.result-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
table { width: 100%; min-width: 840px; border-collapse: collapse; background: rgba(8,18,28,.92); }
th, td { padding: 19px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: #0d1e2c; color: var(--cyan-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
tbody th { width: 18%; color: var(--ink); font-size: .9rem; }
td { color: var(--muted); font-size: .86rem; }
tbody td:nth-child(2) { width: 42%; color: #c0cdd7; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(0,199,217,.035); }

.control-teaser { padding-top: 30px; }
.control-card { border: 1px solid rgba(0,199,217,.42); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: radial-gradient(circle at 100% 0%, rgba(0,199,217,.1), transparent 24rem), var(--panel); box-shadow: var(--shadow); }
.control-card h2 { max-width: 760px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.05rem); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; margin-bottom: 15px; }
.control-card p:not(.eyebrow) { color: var(--muted); max-width: 850px; margin-bottom: 0; }
.control-actions { min-width: 250px; text-align: center; }
.control-actions .button { width: 100%; }
.control-actions small { display: block; margin-top: 10px; color: var(--muted-2); font-size: .72rem; }

.author { padding-top: 70px; }
.author-grid { display: grid; grid-template-columns: 150px minmax(0, 720px); gap: 36px; align-items: center; }
.author-monogram { width: 150px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--amber); font-family: var(--serif); font-size: 2rem; background: radial-gradient(circle, rgba(255,180,59,.08), transparent 65%); }
.author h2 { font-family: var(--serif); font-size: 2.7rem; line-height: 1; font-weight: 500; margin-bottom: 15px; }
.author p:not(.eyebrow) { color: var(--muted); }
.author-links a { color: var(--cyan-soft); font-size: .86rem; text-underline-offset: 4px; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted-2); }
.footer-inner { display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; gap: 34px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand span { display: grid; }
.footer-brand small { color: var(--muted-2); font-size: .7rem; }
.footer-inner p { margin: 0; font-size: .75rem; text-align: center; }
.footer-inner > a { color: var(--cyan-soft); font-size: .78rem; text-decoration: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .chain { grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .chain li { min-width: 215px; }
  .control-card { grid-template-columns: 1fr; }
  .control-actions { width: min(100%, 340px); }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .menu-button { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 10px; border: 1px solid var(--line-bright); border-radius: 12px; background: #07111b; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px 12px; }
  .hero { min-height: 0; padding: 62px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.5rem); }
  .hero-mark { width: min(100%, 440px); margin: -14px auto 0; padding: 10px; }
  .split-heading { grid-template-columns: 1fr; gap: 17px; }
  .section-heading { margin-bottom: 28px; }
  .report-grid, .appendix-grid { grid-template-columns: 1fr; }
  .paper-card { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding-inline: 0; }
  .paper-index { font-size: 2.35rem; }
  .paper-meta { display: grid; }
  .author-grid { grid-template-columns: 96px minmax(0, 1fr); }
  .author-monogram { width: 96px; font-size: 1.35rem; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .footer-inner p { text-align: left; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 22px, 520px); }
  .wordmark small { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-mark dl { grid-template-columns: 1fr; margin-top: -10px; }
  .hero-mark dl div + div { border-left: 0; border-top: 1px solid var(--line); }
  .chain { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .chain li { min-height: 0; min-width: 0; }
  .chain li:not(:last-child)::after { content: "↓"; right: 24px; top: auto; bottom: -12px; }
  .chain span { margin-bottom: 20px; }
  .paper-card { grid-template-columns: 1fr; }
  .paper-index { text-align: left; }
  #paper-count { width: 100%; margin: 4px 0 0; }
  .control-card { padding: 25px 20px; }
  .author-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
