@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  /* Type scale shared with the HOTSPOT project site */
  --text-2xs: 0.74rem;
  --text-xs: 0.84rem;
  --text-sm: 0.96rem;
  --text-base: 1rem;
  --text-lg: 1.18rem;
  --text-xl: 1.55rem;
  /* Display sizes run larger than HOTSPOT for this wide layout; reading sizes match */
  --text-2xl: clamp(2.2rem, 3.5vw, 3.6rem);
  --text-hero: clamp(2.6rem, 5.4vw, 5rem);
  --red: #b62031;
  --red-light: #f9e8e9;
  --red-dark: #791722;
  --green: #28766f;
  --green-light: #e8f3ee;
  --green-dark: #174f4d;
  --blue: #2a6478;
  --blue-light: #e8f1f3;
  --blue-dark: #163f50;
  --ink: #1d292e;
  --muted: #5e6864;
  --line: #d7ccb9;
  --line-dark: #b7a98f;
  --surface: #f3ecdc;
  --white: #fffdf7;
  --gold: #b68c43;
  --stone: #607984;
  --stone-dark: #304954;
  --shadow: 0 14px 32px rgba(41, 32, 20, .09);
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--white); background-image: radial-gradient(circle at 14% 8%, rgba(182, 140, 67, .08), transparent 27%), linear-gradient(rgba(74, 57, 30, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 57, 30, .025) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; color: var(--ink); font-family: var(--sans); font-size: var(--text-base); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
body.menu-open::before { content: ""; position: fixed; z-index: 40; inset: 78px 0 0; background: rgba(32, 36, 40, .22); backdrop-filter: blur(2px); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 500; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-170%); background: var(--red); color: #fff; font-size: var(--text-sm); font-weight: 700; }
.skip-link:focus { transform: none; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, .9); backdrop-filter: blur(16px); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 120px; align-items: center; gap: 24px; }
.brand { width: fit-content; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.imc-mark { position: relative; width: 46px; height: 42px; flex-shrink: 0; overflow: visible; border: 1px solid #0b151a; border-radius: 5px; background: linear-gradient(135deg, #3d4b50 0 16%, var(--stone) 16% 72%, var(--stone-dark) 72%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.07), 5px 5px 0 rgba(17,28,33,.17); transform: rotate(-2deg); }
.imc-mark::before { content: ""; position: absolute; z-index: 1; inset: 5px; border: 1px solid rgba(210, 183, 122, .48); border-radius: 2px; background: linear-gradient(90deg, transparent 45%, rgba(210,183,122,.32) 45% 52%, transparent 52%), linear-gradient(0deg, transparent 26%, rgba(210,183,122,.3) 26% 32%, transparent 32% 67%, rgba(210,183,122,.3) 67% 73%, transparent 73%); box-shadow: none; }
.imc-mark::after { content: ""; position: absolute; z-index: 3; top: 5px; right: 5px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid #f5c0bd; border-radius: 1px; background: var(--red); }
.imc-mark i { position: absolute; z-index: 2; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: rgba(226, 202, 149, .72); }
.imc-mark i:nth-child(1) { top: 11px; transform: rotate(8deg); }
.imc-mark i:nth-child(2) { top: 20px; width: 14px; transform: rotate(-6deg); }
.imc-mark i:nth-child(3) { top: 29px; width: 21px; transform: rotate(5deg); }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: var(--text-sm); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: var(--text-xs); line-height: 1.2; }
.site-nav { height: 72px; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: center; gap: clamp(12px, 1.7vw, 28px); border: 0; border-radius: 0; background: transparent; }
.site-nav a { position: relative; min-height: 72px; padding: 0 2px; display: inline-flex; align-items: center; gap: 7px; border-radius: 0; color: var(--muted); font-size: var(--text-sm); font-weight: 600; line-height: 1; white-space: nowrap; transition: color .18s ease; }
.site-nav a[href="index.html"]::before, .site-nav a[href="architect.html"]::before, .site-nav a[href="crossbar.html"]::before, .site-nav a[href="parallelbar.html"]::before, .site-nav a[href="findings.html"]::before, .site-nav a[href="code.html"]::before, .site-nav a[href="papers.html"]::before { content: ""; width: 19px; height: 19px; flex-shrink: 0; border: 1px solid var(--line-dark); border-radius: 4px; background-color: #fff; }
.site-nav a[href="index.html"]::before { border-color: var(--stone-dark); background-color: var(--stone); background-image: linear-gradient(rgba(225,199,142,.75), rgba(225,199,142,.75)), linear-gradient(rgba(225,199,142,.6), rgba(225,199,142,.6)), linear-gradient(var(--red), var(--red)); background-size: 9px 2px, 6px 2px, 4px 4px; background-position: 3px 5px, 7px 10px, 11px 2px; background-repeat: no-repeat; }
.site-nav a[href="architect.html"]::before { border-color: var(--green-dark); background-color: var(--green-light); background-image: linear-gradient(var(--green), var(--green)), linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)); background-size: 13px 2px, 5px 5px, 5px 5px, 5px 5px, 5px 5px; background-position: center, 3px 3px, 11px 3px, 3px 11px, 11px 11px; background-repeat: no-repeat; }
.site-nav a[href="crossbar.html"]::before { background-image: linear-gradient(90deg, transparent 44%, var(--red) 44% 56%, transparent 56%), linear-gradient(0deg, transparent 44%, var(--blue) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 38%, var(--gold) 38% 62%, transparent 62%), linear-gradient(-45deg, transparent 38%, var(--gold) 38% 62%, transparent 62%); background-size: 100% 100%, 100% 100%, 48% 48%, 48% 48%; background-position: center, center, 86% 14%, 14% 86%; background-repeat: no-repeat; }
.site-nav a[href="parallelbar.html"]::before { background-image: linear-gradient(90deg, transparent 20%, var(--blue) 20% 33%, transparent 33% 67%, var(--blue) 67% 80%, transparent 80%), linear-gradient(0deg, transparent 26%, var(--gold) 26% 39%, transparent 39% 61%, var(--gold) 61% 74%, transparent 74%); }
.site-nav a[href="findings.html"]::before { border-color: var(--red-dark); background-color: var(--red); background-image: linear-gradient(rgba(255,225,207,.68), rgba(255,225,207,.68)), linear-gradient(rgba(255,225,207,.58), rgba(255,225,207,.58)); background-size: 9px 2px, 6px 2px; background-position: center 5px, center 10px; background-repeat: no-repeat; }
.site-nav a[href="code.html"]::before { border-color: var(--stone-dark); background-color: var(--stone); background-image: linear-gradient(90deg, transparent 16%, #d8bd83 16% 28%, transparent 28% 44%, #d8bd83 44% 56%, transparent 56% 72%, #d8bd83 72% 84%, transparent 84%); }
.site-nav a[href="papers.html"]::before { background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--stone), var(--stone)), linear-gradient(var(--stone), var(--stone)); background-size: 3px 11px, 7px 2px, 7px 2px; background-position: 3px center, 8px 5px, 8px 10px; background-repeat: no-repeat; }
.site-nav a:hover, .site-nav a:focus-visible { background: transparent; color: var(--red-dark); }
.site-nav a:focus-visible { outline: 2px solid rgba(182, 32, 49, .35); outline-offset: -7px; border-radius: 7px; }
.site-nav a[aria-current="page"] { background: transparent; color: var(--red-dark); box-shadow: none; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--red), #d65f68); }
.site-nav .nav-repository { display: none; }
.header-repo { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; justify-self: end; gap: 7px; border: 1px solid rgba(29, 41, 46, .35); border-radius: 999px; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.header-repo:hover, .header-repo:focus-visible { background: var(--ink); color: #fff; }
.menu-toggle { position: relative; min-height: 42px; margin-left: auto; padding: 9px 13px; display: none; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 999px; background: #fff; font-size: var(--text-sm); font-weight: 700; }
.menu-toggle::before { content: ""; width: 17px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; transition: transform .18s ease, box-shadow .18s ease; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); box-shadow: none; }
.menu-toggle[aria-expanded="true"]::after { content: ""; position: absolute; left: 13px; width: 17px; height: 2px; transform: rotate(-45deg); border-radius: 2px; background: currentColor; }

.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; color: var(--blue-dark); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: var(--blue); }
.eyebrow.red { color: var(--red-dark); }
.eyebrow.red::before { background: var(--red); }
.eyebrow.green { color: var(--green-dark); }
.eyebrow.green::before { background: var(--green); }
.hero, .page-hero, .section { position: relative; isolation: isolate; overflow: hidden; }
.hero > .container, .page-hero > .container, .section > .container { position: relative; z-index: 1; }
.hero { padding: clamp(72px, 8vw, 118px) 0; }
.hero-grid { min-height: 580px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: clamp(52px, 7vw, 104px); align-items: center; }
.hero h1, .page-hero h1, .section-heading h2, .content-copy h2 { font-family: var(--sans); font-weight: 500; }
.hero h1 { max-width: 830px; margin: 0 0 26px; font-size: var(--text-hero); line-height: .98; letter-spacing: -.045em; }
.hero h1 .accent-red { color: var(--red); }
.hero h1 .accent-green { color: var(--green); }
.hero h1 .accent-blue { color: var(--blue); }
.hero-summary { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: var(--text-lg); line-height: 1.55; }
.hero-authors { margin: 22px 0 0; font-size: var(--text-sm); font-weight: 600; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--blue); border-radius: 999px; font-size: var(--text-sm); font-weight: 600; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(32, 36, 40, .12); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-secondary { border-color: var(--ink); background: #fff; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--ink); color: #fff; }
.button-red { border-color: var(--red); background: var(--red); color: #fff; }
.button-red:hover, .button-red:focus-visible { border-color: var(--red-dark); background: var(--red-dark); }
.button-green { border-color: var(--green); background: var(--green); color: #fff; }
.button-green:hover, .button-green:focus-visible { border-color: var(--green-dark); background: var(--green-dark); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-dark); font-size: var(--text-sm); font-weight: 700; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.system-visual { min-height: 540px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.signal-atlas { border-color: #526b75; background: linear-gradient(150deg, #3f5964, #29424d); color: #fff; box-shadow: 0 18px 48px rgba(30, 55, 65, .2); }
.signal-atlas .visual-head { border-bottom-color: rgba(225, 203, 157, .24); color: #d7c8a9; }
.signal-map { position: relative; min-height: 520px; margin: 12px 0 8px; overflow: hidden; background-image: radial-gradient(circle at center, rgba(182,140,67,.2) 0 2px, transparent 3px), linear-gradient(45deg, transparent 49.7%, rgba(205,174,111,.2) 49.8% 50.2%, transparent 50.3%), linear-gradient(-45deg, transparent 49.7%, rgba(205,174,111,.2) 49.8% 50.2%, transparent 50.3%); background-size: 24px 24px, 100% 100%, 100% 100%; }
.signal-map::before, .signal-map::after { content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; background: rgba(205, 174, 111, .25); transform: translate(-50%, -50%); }
.signal-map::before { width: calc(100% - 96px); height: 1px; }
.signal-map::after { width: 1px; height: calc(100% - 76px); }
.stone-field { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.knowledge-stone { position: absolute; width: 130px; height: 130px; opacity: .98; transform: rotate(-2deg); filter: drop-shadow(9px 11px 4px rgba(10,29,37,.28)); }
.knowledge-stone:nth-child(even) { transform: rotate(2deg); }
.knowledge-stone::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 130px; height: 26px; clip-path: polygon(26px 0, 100% 0, 104px 100%, 0 100%); border: 2px solid #b8c7c9; background: linear-gradient(135deg, #aebdc0, #8ea2a8); }
.knowledge-stone::after { content: ""; position: absolute; z-index: 1; top: 0; left: 104px; width: 26px; height: 130px; clip-path: polygon(100% 0, 100% 104px, 0 100%, 0 26px); border: 2px solid #38535e; background: linear-gradient(160deg, #58727c, #3d5863); }
.knowledge-face { position: absolute; z-index: 2; top: 26px; left: 0; width: 104px; height: 104px; padding: 16px 10px 14px; display: grid; align-content: center; overflow: hidden; border: 3px solid #9db0b7; border-radius: 2px; background: linear-gradient(145deg, #8ba0a8 0 9%, #6f8791 9% 82%, #5d7680 82%); color: #f2f5f1; text-align: center; text-shadow: 0 1px 0 #35505b; box-shadow: inset 0 0 0 2px rgba(236,243,239,.14); }
.knowledge-face::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(230,239,236,.18); pointer-events: none; }
.knowledge-face strong, .knowledge-face small { position: relative; z-index: 1; max-width: 100%; overflow-wrap: anywhere; }
.knowledge-face strong { font-size: var(--text-xs); line-height: 1.08; }
.knowledge-face small { margin-top: 5px; color: #dce5e1; font-size: var(--text-xs); font-weight: 700; line-height: 1.12; letter-spacing: 0; }
.ks-1 { top: 18px; left: 8px; }
.ks-2 { top: 18px; right: 8px; }
.ks-3 { bottom: 10px; left: 8px; }
.ks-4 { right: 8px; bottom: 10px; }
.guide-stone { position: absolute; z-index: 2; width: 128px; display: grid; justify-items: center; color: #f7efdf; text-align: center; }
.guide-stone strong { margin-top: 10px; font-size: var(--text-sm); line-height: 1.1; }
.guide-stone small { margin-top: 5px; color: #d7c8aa; font-size: var(--text-xs); line-height: 1.2; }
.stone-north { top: 14px; left: 50%; transform: translateX(-50%); }
.stone-east { top: 50%; right: 0; transform: translateY(-50%); }
.stone-south { bottom: 12px; left: 50%; transform: translateX(-50%); }
.stone-west { top: 50%; left: 0; transform: translateY(-50%); }
.stone-cube { position: relative; width: 82px; height: 82px; display: block; transform: rotate(-1deg); filter: drop-shadow(7px 9px 3px rgba(5,10,12,.34)); }
.guide-stone:nth-child(even) .stone-cube { transform: rotate(2deg); }
.stone-cube::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 82px; height: 18px; clip-path: polygon(18px 0, 100% 0, 64px 100%, 0 100%); border: 2px solid #e16b71; background: linear-gradient(135deg, #dc5962, #bd303c); }
.stone-cube::after { content: ""; position: absolute; z-index: 1; top: 0; left: 64px; width: 18px; height: 82px; clip-path: polygon(100% 0, 100% 64px, 0 100%, 0 18px); border: 2px solid #62131d; background: linear-gradient(160deg, #8f1e29, #65131c); }
.stone-front { position: absolute; z-index: 2; top: 18px; left: 0; width: 64px; height: 64px; display: block; overflow: hidden; border: 2px solid #721722; border-radius: 2px; background: linear-gradient(145deg, #d04b55 0 9%, var(--red) 9% 82%, #941b28 82%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.08); }
.stone-front::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,222,204,.36); }
.stone-cube[class*="glyph-"] .stone-front i { display: none; }
.stone-cube[class*="glyph-"] .stone-front::after { content: ""; position: absolute; z-index: 2; }
.glyph-device .stone-front::after { top: 23px; left: 11px; width: 36px; height: 15px; background: #f7d5bd; clip-path: polygon(0 45%, 15% 45%, 24% 5%, 37% 90%, 49% 5%, 61% 90%, 73% 5%, 83% 45%, 100% 45%, 100% 62%, 82% 62%, 73% 100%, 61% 20%, 49% 100%, 37% 20%, 25% 62%, 0 62%); filter: drop-shadow(0 1px 0 #64121b); }
.glyph-array .stone-front::after { inset: 16px; border: 2px solid #f7d5bd; background-image: linear-gradient(90deg, transparent 44%, #f7d5bd 44% 56%, transparent 56%), linear-gradient(0deg, transparent 44%, #f7d5bd 44% 56%, transparent 56%); }
.glyph-sensing .stone-front::after { top: 18px; left: 13px; width: 30px; height: 21px; border: 2px solid #f7d5bd; border-radius: 50%; background: radial-gradient(circle, #f7d5bd 0 3px, transparent 4px); box-shadow: 0 8px 0 -5px #f7d5bd; }
.glyph-conversion .stone-front i { position: absolute; z-index: 2; bottom: 14px; width: 7px; display: block !important; transform: none !important; border-radius: 1px 1px 0 0; background: #f7d5bd; }
.glyph-conversion .stone-front i:nth-child(1) { left: 13px; height: 10px; }
.glyph-conversion .stone-front i:nth-child(2) { left: 25px; height: 19px; }
.glyph-conversion .stone-front i:nth-child(3) { left: 37px; height: 29px; }
.map-coordinate { position: absolute; z-index: 3; top: 50%; left: 50%; width: 250px; min-height: 204px; padding: 16px 20px; display: grid; place-content: center; justify-items: center; transform: translate(-50%, -50%) rotate(-2deg); border: 1px solid #d6b66f; outline: 5px double rgba(214,182,111,.26); background: #f3e7cc; color: var(--ink); text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.map-coordinate span { color: var(--red-dark); font-family: var(--sans); font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; }
.map-coordinate strong { margin: 4px 0; color: var(--red); font-size: var(--text-xl); line-height: 1; }
.map-coordinate small { max-width: 150px; color: var(--muted); font-family: var(--sans); font-size: var(--text-xs); line-height: 1.3; }
.coordinate-fabrics { margin-bottom: 9px; display: flex; align-items: center; gap: 9px; }
.coordinate-fabrics .coordinate-link { color: var(--gold); font-size: var(--text-sm); letter-spacing: 0; }
.architecture-icon.atlas-icon { width: 66px; height: 66px; margin: 0; border-radius: 8px; box-shadow: none; }
.signal-atlas .visual-caption { border: 1px solid rgba(205,174,111,.2); background: rgba(255,255,255,.06); color: #cfc3aa; }
.signal-atlas .visual-caption strong { color: #fff; }
.visual-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.architecture-symbol { min-height: 335px; padding: 45px 22px 28px; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 16px; }
.symbol-block { min-height: 245px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line-dark); border-radius: 16px; background: #fff; }
.symbol-block strong { font-size: var(--text-xl); }
.symbol-block small { color: var(--muted); font-size: var(--text-xs); }
.architecture-icon { position: relative; width: 140px; height: 140px; margin: 24px auto 4px; display: block; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 24px; background: #fff; box-shadow: 0 9px 24px rgba(32,36,40,.07); }
.architecture-icon i, .architecture-icon b { position: absolute; display: block; border-radius: 4px; }

/* Canonical fabric marks: perpendicular rails with two diagonal resistors, or a two-rung parallel ladder. */
.architecture-icon.crossbar-icon { overflow: visible; border: 0; border-radius: 50%; background: transparent url("assets/crossbar-mark.svg") center / contain no-repeat; box-shadow: none; }
.architecture-icon.parallelbar-icon { border-color: #9caeae; border-radius: 18px; background: #edf2ef; }
.architecture-icon.crossbar-icon i, .architecture-icon.crossbar-icon b, .architecture-icon.parallelbar-icon i, .architecture-icon.parallelbar-icon b { display: none; box-shadow: none; }
.architecture-icon.crossbar-icon i:first-child, .architecture-icon.crossbar-icon b:first-of-type, .architecture-icon.crossbar-icon em { display: none; }
.architecture-icon.crossbar-icon em::before, .architecture-icon.crossbar-icon em::after, .architecture-icon.parallelbar-icon em::before, .architecture-icon.parallelbar-icon em::after { content: ""; position: absolute; height: 18%; background: var(--gold); clip-path: polygon(0 42%, 12% 42%, 21% 4%, 33% 88%, 45% 4%, 57% 88%, 69% 4%, 80% 42%, 100% 42%, 100% 66%, 79% 66%, 69% 100%, 57% 24%, 45% 100%, 33% 24%, 22% 66%, 0 66%); filter: drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -1px 0 rgba(29,41,46,.45)); }
.architecture-icon.crossbar-icon em::before, .architecture-icon.crossbar-icon em::after { display: none; }
.architecture-icon.crossbar-icon::after { display: none; }
.architecture-icon.parallelbar-icon i:first-child, .architecture-icon.parallelbar-icon i:nth-child(2) { top: 10%; bottom: 10%; width: 6px; display: block; background: var(--blue); }
.architecture-icon.parallelbar-icon i:first-child { left: 25%; }
.architecture-icon.parallelbar-icon i:nth-child(2) { left: calc(75% - 6px); }
.architecture-icon.parallelbar-icon em { position: absolute; z-index: 3; inset: 0; width: auto; height: auto; transform: none; border: 0; border-radius: 0; background: none; box-shadow: none; clip-path: none; filter: none; }
.architecture-icon.parallelbar-icon em::before, .architecture-icon.parallelbar-icon em::after { left: 25%; width: 50%; }
.architecture-icon.parallelbar-icon em::before { top: 25%; }
.architecture-icon.parallelbar-icon em::after { top: 58%; }
.architecture-icon.parallelbar-icon::before, .architecture-icon.parallelbar-icon::after { display: none; }
.architecture-icon.compact { width: 100px; height: 100px; margin: 6px 0 24px; }
.architecture-icon.compact.crossbar-icon, .architecture-icon.compact.parallelbar-icon { border-radius: 13px; }
.architecture-icon.compact.crossbar-icon i:first-child { left: calc(50% - 2px); width: 4px; }
.architecture-icon.compact.crossbar-icon b:first-of-type { top: calc(50% - 2px); height: 4px; }
.architecture-icon.compact.parallelbar-icon i:first-child, .architecture-icon.compact.parallelbar-icon i:nth-child(2) { width: 4px; }
.architecture-icon.atlas-icon { border-radius: 8px; }
.architecture-icon.atlas-icon.crossbar-icon i:first-child { left: calc(50% - 1.5px); width: 3px; }
.architecture-icon.atlas-icon.crossbar-icon b:first-of-type { top: calc(50% - 1.5px); height: 3px; }
.architecture-icon.atlas-icon.parallelbar-icon i:first-child, .architecture-icon.atlas-icon.parallelbar-icon i:nth-child(2) { width: 3px; }
.architecture-icon.brand-architecture-icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; border-radius: 50%; box-shadow: none; }
.architecture-icon.brand-architecture-icon.crossbar-icon i:first-child { left: calc(50% - 1.5px); width: 3px; }
.architecture-icon.brand-architecture-icon.crossbar-icon b:first-of-type { top: calc(50% - 1.5px); height: 3px; }
.architecture-icon.brand-architecture-icon.parallelbar-icon i:first-child, .architecture-icon.brand-architecture-icon.parallelbar-icon i:nth-child(2) { width: 3px; }
.icon-title-row { display: flex; align-items: center; gap: 20px; }
.icon-title-row .architecture-icon { margin: 0; flex-shrink: 0; }
.page-stat-card .architecture-icon { width: 150px; height: 150px; margin: 0 0 28px; filter: drop-shadow(0 16px 25px rgba(29, 41, 46, .14)); }
.symbol-arrow { display: grid; place-items: center; color: var(--green); font-size: var(--text-2xl); font-weight: 700; }
.visual-caption { margin: 0; padding: 20px; border-radius: 12px; background: #fff; color: var(--muted); font-size: var(--text-sm); }
.visual-caption strong { color: var(--ink); }

.page-hero { padding: clamp(68px, 7vw, 104px) 0 clamp(52px, 6vw, 84px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(400px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.page-hero h1 { max-width: 900px; margin: 0 0 24px; font-size: var(--text-hero); line-height: 1.02; letter-spacing: -.04em; }
.page-hero .hero-summary { max-width: 820px; }
.page-stat-card { position: relative; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,247,.94); color: var(--ink); box-shadow: var(--shadow); }
.page-stat-card::before, .page-stat-card::after { display: none; }
.page-stat-card > span { color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.page-stat-card strong { margin: 13px 0 8px; display: block; color: #f2cf84; font-size: var(--text-2xl); line-height: 1; }
.page-stat-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.page-stat-card.red strong { color: #ff9a9e; }
.page-stat-card.green strong { color: #91dfc6; }

.section { padding: clamp(76px, 8vw, 126px) 0; }
.section-tint { background: var(--surface); }
.section-heading { max-width: 1000px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-size: var(--text-2xl); line-height: 1.06; letter-spacing: -.035em; }
.section-heading p:not(.section-kicker) { max-width: 820px; margin: 22px 0 0; color: var(--muted); font-size: var(--text-lg); }
.section-kicker { margin: 0 0 14px; color: var(--blue-dark); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker.red { color: var(--red-dark); }
.section-kicker.green { color: var(--green-dark); }

.project-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { min-height: 490px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 253, 247, .92); box-shadow: 0 10px 26px rgba(41, 32, 20, .07); }
.project-card.red { border-top: 6px solid var(--red); }
.project-card.blue { border-top: 6px solid var(--blue); }
.card-meta { margin-bottom: 32px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.project-card h2, .project-card h3 { margin: 0 0 16px; font-size: var(--text-xl); line-height: 1.08; letter-spacing: -.03em; }
.project-card p { color: var(--muted); }
.card-points { margin: 10px 0 30px; padding: 0; list-style: none; }
.card-points li { position: relative; padding: 10px 0 10px 25px; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.card-points li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--green-dark); background: var(--green); }
.project-card .button { margin-top: auto; align-self: flex-start; }

.principle-grid, .finding-cards, .code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle-card, .finding-card, .code-card { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 247, .94); }
.principle-card span, .finding-card span, .code-card span { width: 42px; height: 42px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: var(--text-sm); font-weight: 700; }
.principle-card:nth-child(1) span, .finding-card:nth-child(1) span { background: var(--red); }
.principle-card:nth-child(2) span, .finding-card:nth-child(2) span { background: var(--green); }
.principle-card:nth-child(3) span, .finding-card:nth-child(3) span { background: var(--blue); }
.principle-card h3, .finding-card h3, .code-card h3 { margin: 0 0 12px; font-size: var(--text-xl); line-height: 1.16; }
.principle-card p, .finding-card p, .code-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.four-guide-cards { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.four-guide-cards .finding-card { min-height: 350px; padding: 32px; border-color: #445259; background: linear-gradient(145deg, #324249, var(--stone-dark)); color: #fff; box-shadow: 4px 5px 0 rgba(17,28,33,.1); }
.four-guide-cards .finding-card span { border: 2px solid #721722; border-radius: 4px; background: linear-gradient(135deg, #d04b55, var(--red) 62%, #741722); box-shadow: 4px 4px 0 rgba(0,0,0,.2), inset 0 0 0 2px rgba(255,255,255,.08); }
.four-guide-cards .finding-card p { color: #cbd2d0; }
.four-guide-cards .guide-card-symbol { position: relative; width: 72px; height: 72px; margin-bottom: 34px; border: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(5px 6px 2px rgba(0,0,0,.24)); }
.four-guide-cards .guide-card-symbol::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 72px; height: 16px; clip-path: polygon(16px 0, 100% 0, 56px 100%, 0 100%); border: 1px solid #e16b71; background: linear-gradient(135deg, #dc5962, #bd303c); }
.four-guide-cards .guide-card-symbol::after { content: ""; position: absolute; z-index: 1; top: 0; left: 56px; width: 16px; height: 72px; clip-path: polygon(100% 0, 100% 56px, 0 100%, 0 16px); border: 1px solid #62131d; background: linear-gradient(160deg, #8f1e29, #65131c); }
.four-guide-cards .guide-card-face { position: absolute; z-index: 2; top: 16px; left: 0; width: 56px; height: 56px; display: block; overflow: hidden; border: 2px solid #721722; border-radius: 2px; background: linear-gradient(145deg, #d04b55 0 9%, var(--red) 9% 82%, #941b28 82%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.four-guide-cards .guide-card-face::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,222,204,.3); }
.four-guide-cards .glyph-device .guide-card-face::after { content: ""; position: absolute; top: 20px; left: 10px; width: 32px; height: 13px; background: #f7d5bd; clip-path: polygon(0 45%, 15% 45%, 24% 5%, 37% 90%, 49% 5%, 61% 90%, 73% 5%, 83% 45%, 100% 45%, 100% 62%, 82% 62%, 73% 100%, 61% 20%, 49% 100%, 37% 20%, 25% 62%, 0 62%); }
.four-guide-cards .glyph-array .guide-card-face::after { content: ""; position: absolute; inset: 13px; border: 2px solid #f7d5bd; background-image: linear-gradient(90deg, transparent 44%, #f7d5bd 44% 56%, transparent 56%), linear-gradient(0deg, transparent 44%, #f7d5bd 44% 56%, transparent 56%); }
.four-guide-cards .glyph-sensing .guide-card-face::after { content: ""; position: absolute; top: 16px; left: 10px; width: 26px; height: 18px; border: 2px solid #f7d5bd; border-radius: 50%; background: radial-gradient(circle, #f7d5bd 0 3px, transparent 4px); }
.four-guide-cards .glyph-conversion .guide-card-face::after { content: ""; position: absolute; left: 10px; bottom: 11px; width: 6px; height: 11px; border-radius: 1px 1px 0 0; background: #f7d5bd; box-shadow: 12px -6px 0 #f7d5bd, 24px -14px 0 #f7d5bd; }

.content-split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(500px, 1.16fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.content-copy h2 { margin: 0 0 22px; font-size: var(--text-2xl); line-height: 1.06; letter-spacing: -.035em; }
.content-copy p { max-width: 760px; color: var(--muted); }
.detail-list { margin: 28px 0 0; padding: 0; list-style: none; }
.detail-list li { padding: 18px 0; display: grid; grid-template-columns: 32px 1fr; gap: 14px; border-top: 1px solid var(--line); }
.detail-list strong { color: var(--blue-dark); }
.detail-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.paper-figure { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(32, 36, 40, .06); }
.paper-figure img { width: 100%; max-height: 620px; padding: 24px; object-fit: contain; background: #fff; }
.paper-figure figcaption { padding: 17px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); }
.paper-figure figcaption strong { color: var(--ink); }
.figure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.result-banner { padding: 42px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; border-radius: 18px; background: var(--blue-light); }
.result-banner.red { background: var(--red-light); }
.result-banner.green { background: var(--green-light); }
.result-number { min-width: 170px; color: var(--blue); font-size: var(--text-2xl); font-weight: 700; line-height: 1; }
.result-banner.red .result-number { color: var(--red); }
.result-banner.green .result-number { color: var(--green); }
.result-banner h2 { margin: 0 0 8px; font-size: var(--text-xl); }
.result-banner p { max-width: 800px; margin: 0; color: var(--muted); }
.evidence-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.evidence-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.evidence-table caption { padding: 18px 20px; color: var(--ink); font-size: var(--text-base); font-weight: 700; text-align: left; }
.evidence-table th, .evidence-table td { padding: 15px 20px; border-top: 1px solid var(--line); }
.evidence-table thead th { background: var(--surface); color: var(--muted); font-size: var(--text-xs); }
.evidence-table tbody th { color: var(--red-dark); }
.evidence-note { margin: 14px 2px 0; color: var(--muted); font-size: var(--text-xs); }

.device-explorer { display: grid; grid-template-columns: 270px 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(32, 36, 40, .05); }
.device-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--surface); }
.device-tabs button { min-height: 88px; padding: 20px 25px; display: flex; align-items: center; gap: 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: var(--text-lg); font-weight: 700; text-align: left; cursor: pointer; }
.device-tabs button:last-child { border-bottom: 0; }
.device-tabs button span { color: var(--muted); font-size: var(--text-xs); }
.device-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.device-tabs button[aria-selected="true"] span { color: #fff; }
.device-panel { min-height: 410px; padding: clamp(34px, 5vw, 68px); display: grid; grid-template-columns: 1fr minmax(250px, .65fr); gap: 54px; align-items: center; }
.device-panel .section-kicker { font-size: var(--text-xs); }
.device-panel h2 { margin: 0 0 18px; font-size: var(--text-2xl); line-height: 1.04; letter-spacing: -.04em; }
.device-panel p { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.device-stats { margin: 0; display: grid; gap: 12px; }
.device-stats div { padding: 16px 18px; border-left: 5px solid var(--blue); border-radius: 6px; background: var(--blue-light); }
.device-stats dt { color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.device-stats dd { margin: 4px 0 0; font-size: var(--text-base); font-weight: 700; }

.repo-panel { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.repo-head { padding: 18px 22px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: var(--blue-light); font-size: var(--text-sm); font-weight: 700; }
.repo-list { margin: 0; padding: 0; list-style: none; }
.repo-list li { min-height: 90px; padding: 20px 24px; display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.repo-list li:last-child { border-bottom: 0; }
.repo-list > li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: var(--surface); color: var(--blue-dark); font-size: var(--text-sm); font-weight: 700; }
.guide-repo > li > span { border: 2px solid #721722; border-radius: 4px; background: linear-gradient(135deg, #d04b55, var(--red) 62%, #741722); color: #fff; box-shadow: 4px 4px 0 rgba(17,28,33,.16), inset 0 0 0 2px rgba(255,255,255,.08); }
.repo-list strong { display: block; font-size: var(--text-base); }
.repo-list small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--text-xs); }
.steps { counter-reset: steps; display: grid; gap: 18px; }
.step { counter-increment: steps; padding: 26px 28px; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.step::before { content: counter(steps); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.step h3 { margin: 0 0 7px; font-size: var(--text-lg); }
.step p { margin: 0; color: var(--muted); font-size: var(--text-sm); }

.paper-list { display: grid; gap: 24px; }
.publication { padding: 34px; display: grid; grid-template-columns: 130px 1fr auto; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.publication-year { display: flex; flex-direction: column; }
.publication-year strong { color: var(--blue); font-size: var(--text-xl); line-height: 1; }
.publication-year span { margin-top: 6px; color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.publication h2 { margin: 0 0 10px; font-size: var(--text-xl); line-height: 1.2; }
.publication p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.publication-actions { display: flex; flex-direction: column; gap: 10px; }
.publication-actions .button { min-width: 140px; }

/* Multi-bank parallel IMC architect */
.architect-hero { background: linear-gradient(180deg, rgba(232,243,238,.72), rgba(255,253,247,0)); }
.chip-preview { padding: 32px; overflow: hidden; border: 1px solid #526b75; border-radius: 16px; background: linear-gradient(150deg, #3f5964, #29424d); color: #fff; box-shadow: 0 18px 48px rgba(30,55,65,.2); }
.chip-preview-head { padding-bottom: 20px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(215,200,170,.24); }
.chip-preview-head span { color: #d7c8aa; font-size: var(--text-xs); font-weight: 700; }
.chip-preview-head strong { font-size: var(--text-base); text-align: right; }
.pipeline-strip, .sim-pipeline { margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; }
.pipeline-strip li { position: relative; min-height: 58px; padding: 12px 8px; display: grid; place-items: center; border: 1px solid rgba(215,200,170,.32); border-radius: 7px; background: rgba(255,255,255,.07); color: #f6efdf; font-size: var(--text-xs); font-weight: 700; text-align: center; }
.pipeline-strip li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -12px; color: #ddbf7e; font-size: var(--text-base); }
.hero-bank-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.hero-bank-grid span { aspect-ratio: 1.18; border: 1px solid #9caeae; border-radius: 5px; background-color: #edf2ef; background-image: linear-gradient(90deg, transparent 24%, var(--blue) 24% 30%, transparent 30% 70%, var(--blue) 70% 76%, transparent 76%), linear-gradient(0deg, transparent 27%, var(--gold) 27% 35%, transparent 35% 65%, var(--gold) 65% 73%, transparent 73%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.chip-preview > p { margin: 22px 0 0; color: #d5ddda; font-size: var(--text-sm); }

.architect-lab { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: 32px; align-items: start; }
.architect-controls { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(41,32,20,.06); }
.architect-controls fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.architect-controls legend { width: 100%; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--green-dark); font-size: var(--text-base); font-weight: 700; }
.control-field { margin-bottom: 18px; display: grid; gap: 8px; }
.control-field > span { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-size: var(--text-sm); font-weight: 700; }
.control-field output { color: var(--green-dark); font-weight: 700; }
.control-field select { width: 100%; min-height: 46px; padding: 0 38px 0 13px; border: 1px solid var(--line-dark); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: var(--text-sm); }
.control-field select:focus-visible { outline: 3px solid rgba(40,118,111,.24); outline-offset: 2px; }
.range-field input { width: 100%; accent-color: var(--green); }
.architect-controls > .button { width: 100%; }
.control-note { margin: 14px 0 0; color: var(--muted); font-size: var(--text-xs); }

.sim-chip { padding: 30px; overflow: hidden; border: 1px solid #435860; border-radius: 14px; background: linear-gradient(150deg, #344a53, #243a43); color: #fff; box-shadow: 0 16px 38px rgba(30,55,65,.18); }
.sim-chip-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.sim-chip-head span { color: #d7c8aa; font-size: var(--text-xs); font-weight: 700; }
.sim-chip-head h3 { margin: 4px 0 0; font-size: var(--text-xl); line-height: 1.12; }
.sim-chip-head > strong { padding: 7px 10px; border: 1px solid rgba(145,223,198,.5); border-radius: 6px; color: #a9e7d4; font-size: var(--text-xs); white-space: nowrap; }
.sim-chip-head > strong.status-warn { border-color: rgba(242,207,132,.55); color: #f2cf84; }
.sim-chip-head > strong.status-low { border-color: rgba(255,154,158,.55); color: #ff9a9e; }
.sim-pipeline { margin: 26px 0 22px; }
.sim-pipeline li { min-height: 66px; padding: 11px; display: grid; align-content: center; border-top: 3px solid var(--green); border-radius: 7px; background: rgba(255,255,255,.07); color: #edf2ef; font-size: var(--text-xs); font-weight: 700; }
.sim-pipeline li span { color: #a9e7d4; font-size: var(--text-xs); }
.sim-bank-grid { padding: 18px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; border: 1px solid rgba(215,200,170,.22); border-radius: 10px; background: rgba(8,20,25,.22); }
.sim-bank { position: relative; min-width: 0; aspect-ratio: 1.12; display: grid; place-items: end center; overflow: hidden; border: 1px solid #78909a; border-radius: 5px; background-color: #dbe4e1; background-image: linear-gradient(90deg, transparent 23%, var(--blue) 23% 29%, transparent 29% 71%, var(--blue) 71% 77%, transparent 77%), linear-gradient(0deg, transparent 26%, var(--gold) 26% 34%, transparent 34% 66%, var(--gold) 66% 74%, transparent 74%); color: var(--stone-dark); }
.sim-bank.active { border-color: #77c9b0; background-color: #e8f3ee; box-shadow: 0 0 0 2px rgba(119,201,176,.22); }
.sim-bank b { position: relative; z-index: 1; width: 100%; padding: 2px; background: rgba(255,255,255,.82); font-size: var(--text-xs); line-height: 1; text-align: center; }
.sim-bank-legend { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; color: #d5ddda; font-size: var(--text-xs); }
.sim-bank-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sim-bank-legend i { width: 13px; height: 13px; display: inline-block; border: 1px solid #78909a; border-radius: 3px; background: #dbe4e1; }
.sim-bank-legend i.active { border-color: #77c9b0; background: #e8f3ee; box-shadow: 0 0 0 2px rgba(119,201,176,.22); }
.sim-bank-legend strong { margin-left: auto; color: #f6efdf; }
.sim-results { margin: 28px 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sim-results div { min-height: 112px; padding: 18px; border: 1px solid rgba(215,200,170,.25); border-radius: 8px; background: rgba(255,255,255,.07); }
.sim-results span { display: block; color: #d5ddda; font-size: var(--text-xs); font-weight: 700; }
.sim-results strong { margin-top: 8px; display: block; color: #f2cf84; font-size: var(--text-xl); line-height: 1; }
.sim-results div:nth-child(2) strong { color: #a9e7d4; }
.sim-mapping, .sim-advice, .sim-boundary { padding: 16px 18px; border-radius: 8px; }
.sim-mapping { margin: 0 0 12px; border-left: 4px solid var(--blue); background: rgba(42,100,120,.18); color: #edf2ef; font-size: var(--text-sm); }
.sim-advice { margin: 0; border-left: 4px solid var(--green); background: rgba(40,118,111,.18); color: #edf2ef; font-size: var(--text-sm); }
.sim-advice strong { color: #a9e7d4; }
.sim-boundary { margin: 14px 0 0; border: 1px solid rgba(215,200,170,.2); color: #c7d0cd; font-size: var(--text-xs); }

/* Current-distribution cartoon */
.cartoon-hero { background: linear-gradient(180deg, rgba(232,243,238,.68), rgba(255,253,247,0)); }
.cartoon-loop { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 46px rgba(35,55,58,.13); }
.cartoon-loop picture, .cartoon-loop img, .cartoon-teaser-media picture, .cartoon-teaser-media img { display: block; width: 100%; }
.cartoon-loop img { min-height: 290px; object-fit: contain; background: #fff; }
.cartoon-loop figcaption { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); }
.cartoon-loop figcaption strong { color: var(--green-dark); }

.cartoon-teaser-section { padding-top: 72px; padding-bottom: 72px; }
.cartoon-teaser { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: clamp(42px, 7vw, 88px); align-items: center; }
.cartoon-teaser .content-copy h2 { font-size: var(--text-2xl); }
.cartoon-teaser-media { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 36px rgba(35,55,58,.12); color: var(--green-dark); }
.cartoon-teaser-media img { aspect-ratio: 160 / 63; object-fit: contain; background: #fff; }
.cartoon-teaser-media > span { padding: 14px 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); background: var(--green-light); font-size: var(--text-sm); font-weight: 700; }

.cartoon-stepper { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(35,55,58,.09); }
.cartoon-step-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--surface); }
.cartoon-step-tabs button { min-width: 0; min-height: 84px; padding: 13px 8px; display: grid; place-content: center; gap: 4px; border: 0; border-right: 1px solid var(--line); border-top: 4px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: var(--text-xs); font-weight: 700; text-align: center; cursor: pointer; }
.cartoon-step-tabs button:last-child { border-right: 0; }
.cartoon-step-tabs button span { color: var(--green); font-size: var(--text-xs); letter-spacing: .08em; }
.cartoon-step-tabs button:hover { background: var(--green-light); color: var(--ink); }
.cartoon-step-tabs button[aria-selected="true"] { border-top-color: var(--green); background: #fff; color: var(--ink); }
.cartoon-step-tabs button:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(40,118,111,.3); outline-offset: -4px; }
.cartoon-panel { min-height: 470px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .65fr); align-items: stretch; }
.cartoon-frame { padding: 28px; display: grid; place-items: center; border-right: 1px solid var(--line); background: #fff; }
.cartoon-frame img { width: 100%; max-height: 460px; display: block; object-fit: contain; }
.cartoon-copy { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, var(--green-light), #fff 72%); }
.cartoon-count { margin: 0 0 14px; color: var(--green-dark); font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cartoon-copy h3 { margin: 0 0 16px; font-size: var(--text-xl); line-height: 1.08; letter-spacing: -.035em; }
.cartoon-copy > p:not(.cartoon-count) { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.cartoon-reading { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(40,118,111,.22); }
.cartoon-reading span { display: block; color: var(--muted); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; }
.cartoon-reading strong { margin-top: 5px; display: block; color: var(--green-dark); font-size: var(--text-sm); }
.cartoon-controls { padding: 18px 22px; display: flex; justify-content: center; gap: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.cartoon-controls .button { min-width: 160px; }
.cartoon-principles .principle-card { border-top-color: var(--green); }
.cartoon-cta { margin-top: 34px; padding: 25px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 12px; background: var(--stone-dark); color: #fff; }
.cartoon-cta p { margin: 0; color: #d5ddda; font-size: var(--text-sm); }

.site-footer { border-top: 4px solid var(--gold); background: var(--stone-dark); color: #f6efdf; }
.footer-inner { min-height: 170px; padding: 44px 0 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px 40px; align-items: center; }
.site-footer .brand small, .footer-inner > p { color: #b9c2be; }
.footer-inner > p { max-width: 560px; margin: 0 auto; font-size: var(--text-sm); text-align: center; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-links a { color: #e3e9e9; font-size: var(--text-sm); font-weight: 600; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.footer-link, .footer-links .footer-link { color: #ddbf7e; font-size: var(--text-sm); font-weight: 700; }
.footer-inner > p.footer-note { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--text-xs); text-align: left; }

@media (max-width: 1160px) {
  .container { width: min(var(--container), calc(100% - 64px)); }
  .header-inner { min-height: 104px; padding-top: 8px; grid-template-columns: 1fr auto; grid-template-rows: 52px 44px; gap: 0 16px; }
  .brand { grid-area: 1 / 1; }
  .header-repo { grid-area: 1 / 2; display: inline-flex; }
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { width: 100%; height: 44px; margin: 0; padding: 0; display: flex; position: static; grid-area: 2 / 1 / 3 / -1; overflow-x: auto; overflow-y: hidden; flex-direction: row; align-items: stretch; justify-content: flex-start; gap: 22px; border: 0; border-radius: 0; background: transparent; box-shadow: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { min-height: 44px; padding: 0 2px; flex: 0 0 auto; border-radius: 0; font-size: var(--text-sm); }
  .site-nav a:hover, .site-nav a:focus-visible { background: transparent; color: var(--red-dark); }
  .site-nav a[aria-current="page"] { background: transparent; color: var(--red-dark); }
  .site-nav .nav-repository { display: none; }
  .hero-grid, .page-hero-grid, .content-split { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .system-visual { max-width: 850px; }
  .page-stat-card { max-width: 620px; }
  .principle-grid, .finding-cards, .code-grid { grid-template-columns: repeat(2, 1fr); }
  .architect-lab { grid-template-columns: 1fr; }
  .cartoon-teaser { grid-template-columns: 1fr; }
  .cartoon-teaser-media { max-width: 900px; }
  .cartoon-step-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cartoon-step-tabs button:nth-child(4) { border-right: 0; }
  .cartoon-step-tabs button:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .cartoon-panel { grid-template-columns: 1fr; }
  .cartoon-frame { border-right: 0; border-bottom: 1px solid var(--line); }
  .architect-controls fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .architect-controls legend { grid-column: 1 / -1; }
  .architect-controls .control-field { margin-bottom: 0; }
  .architect-controls > .button { max-width: 320px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .brand small { display: none; }
  .hero { padding: 60px 0 76px; }
  .hero h1, .page-hero h1 { font-size: var(--text-hero); }
  .hero-summary { font-size: var(--text-base); }
  .architecture-symbol { grid-template-columns: 1fr; }
  .symbol-arrow { transform: rotate(90deg); }
  .system-visual { padding: 20px; }
  .signal-map { min-height: 550px; }
  .project-cards, .principle-grid, .finding-cards, .code-grid, .figure-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .content-split { gap: 38px; }
  .result-banner { grid-template-columns: 1fr; padding: 30px; }
  .device-explorer { grid-template-columns: 1fr; }
  .device-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .device-tabs button { min-width: 0; min-height: 76px; flex: 1; justify-content: center; padding: 14px 8px; border-right: 1px solid var(--line); border-bottom: 0; font-size: var(--text-sm); }
  .device-tabs button:last-child { border-right: 0; }
  .device-panel { grid-template-columns: 1fr; gap: 30px; }
  .publication { grid-template-columns: 1fr; }
  .publication-actions { flex-direction: row; flex-wrap: wrap; }
  .architect-controls fieldset { grid-template-columns: 1fr; }
  .architect-controls legend { grid-column: auto; }
  .architect-controls .control-field { margin-bottom: 12px; }
  .cartoon-step-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartoon-step-tabs button, .cartoon-step-tabs button:nth-child(4) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cartoon-step-tabs button:nth-child(even) { border-right: 0; }
  .cartoon-step-tabs button:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .cartoon-frame { padding: 18px; }
  .cartoon-copy { padding: 30px; }
  .cartoon-controls { flex-wrap: wrap; }
  .pipeline-strip, .sim-pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline-strip li:nth-child(2)::after { display: none; }
  .hero-bank-grid { grid-template-columns: repeat(4, 1fr); }
  .sim-bank-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-inner { padding: 40px 0; grid-template-columns: 1fr; justify-items: start; }
  .footer-inner > p { margin: 0; text-align: left; }
}

@media (max-width: 480px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-inner { min-height: 100px; }
  .brand strong { font-size: var(--text-xs); }
  .imc-mark { width: 40px; height: 36px; }
  .hero-actions, .publication-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .project-card, .principle-card, .finding-card, .code-card { padding: 25px; }
  .chip-preview, .architect-controls, .sim-chip { padding: 22px; }
  .chip-preview-head, .sim-chip-head { align-items: flex-start; flex-direction: column; }
  .chip-preview-head strong { text-align: left; }
  .hero-bank-grid { grid-template-columns: repeat(3, 1fr); }
  .sim-bank-grid { grid-template-columns: repeat(4, 1fr); padding: 14px; }
  .sim-results { grid-template-columns: 1fr; }
  .sim-results div { min-height: 0; }
  .sim-bank-legend strong { width: 100%; margin-left: 0; }
  .architect-controls > .button { max-width: none; }
  .cartoon-loop img { min-height: 0; }
  .cartoon-controls { align-items: stretch; flex-direction: column; }
  .cartoon-controls .button { width: 100%; }
  .cartoon-cta { align-items: stretch; flex-direction: column; }
  .visual-head { align-items: flex-start; flex-direction: column; }
  .signal-map { min-height: 820px; margin-top: 18px; background-image: radial-gradient(circle at center, rgba(182,140,67,.2) 0 2px, transparent 3px), linear-gradient(45deg, transparent 49.6%, rgba(205,174,111,.22) 49.8% 50.2%, transparent 50.4%), linear-gradient(-45deg, transparent 49.6%, rgba(205,174,111,.22) 49.8% 50.2%, transparent 50.4%); background-size: 24px 24px, 100% 100%, 100% 100%; }
  .signal-map::before, .signal-map::after { display: none; }
  .guide-stone { width: 128px; }
  .stone-north { top: 158px; left: 50%; transform: translateX(-50%); }
  .stone-east { top: 30%; right: 0; transform: translateY(-50%); }
  .stone-south { bottom: 160px; left: 50%; transform: translateX(-50%); }
  .stone-west { top: 70%; left: 0; transform: translateY(-50%); }
  .ks-1 { top: 16px; left: 3px; }
  .ks-2 { top: 16px; right: 14px; }
  .ks-3 { bottom: 16px; left: 3px; }
  .ks-4 { right: 14px; bottom: 16px; }
  .map-coordinate { width: 220px; min-height: 204px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Reusable research-site visual system */
body { background: #fff; background-image: none; }
.page-hero, .architect-hero, .cartoon-hero { background: #fff; }
.section-tint { background: #f6f8f7; }
.site-nav { background: transparent; }
.site-nav a::before { display: none !important; }
.page-stat-card, .paper-figure, .publication, .principle-card, .finding-card, .repo-panel, .cartoon-stepper, .cartoon-loop, .cartoon-teaser-media { box-shadow: 0 8px 24px rgba(32,36,40,.06); }
.principle-card { display: flex; flex-direction: column; }
.principle-card .text-link { margin-top: auto; padding-top: 18px; }
.content-copy > p, .section-heading > p { max-width: 820px; }
.page-stat-card strong { color: var(--blue-dark); }
.page-stat-card.red strong { color: var(--red); }
.page-stat-card.green strong { color: var(--green-dark); }
.system-mark-card h2 { margin: 0 0 10px; font-size: var(--text-xl); line-height: 1.12; }

/* Crossbar multi-bank architect */
.crossbar-controls legend { color: var(--red-dark); }
.crossbar-controls .control-field output { color: var(--red-dark); }
.crossbar-controls .range-field input { accent-color: var(--red); }
.crossbar-chip-preview { border-color: #6f4a4e; background: linear-gradient(150deg, #513f45, #322f39); }
.crossbar-hero-bank-grid span { background-color: #f7eeee; background-image: linear-gradient(90deg, transparent 46%, var(--red) 46% 54%, transparent 54%), linear-gradient(0deg, transparent 46%, var(--blue) 46% 54%, transparent 54%), linear-gradient(45deg, transparent 38%, var(--gold) 38% 62%, transparent 62%), linear-gradient(45deg, transparent 38%, var(--gold) 38% 62%, transparent 62%); background-size: 100% 100%, 100% 100%, 44% 44%, 44% 44%; background-position: center, center, 96% 4%, 4% 96%; background-repeat: no-repeat; }
.crossbar-sim-chip .sim-pipeline li { border-top-color: var(--red); }
.crossbar-sim-chip .sim-pipeline li span { color: #ffb4b8; }
.crossbar-sim-chip .sim-chip-head > strong { border-color: rgba(255,180,184,.5); color: #ffb4b8; }
.crossbar-sim-chip .sim-chip-head > strong.status-warn { border-color: rgba(242,207,132,.55); color: #f2cf84; }
.crossbar-sim-chip .sim-chip-head > strong.status-low { border-color: rgba(255,154,158,.55); color: #ff9a9e; }
.sim-bank.crossbar-bank { background-color: #f2e5e6; background-image: none; }
.sim-bank.crossbar-bank.active { border-color: #e47b83; background-color: #f9e8e9; box-shadow: 0 0 0 2px rgba(182,32,49,.22); }
.crossbar-bank .rail-v, .crossbar-bank .rail-h { position: absolute; z-index: 0; display: block; border-radius: 2px; }
.crossbar-bank .rail-v { top: 8%; bottom: 24%; left: calc(50% - 1.5px); width: 3px; background: var(--red); }
.crossbar-bank .rail-h { top: calc(43% - 1.5px); right: 8%; left: 8%; height: 3px; background: var(--blue); }
.crossbar-bank em { position: absolute; z-index: 1; inset: 0; }
.crossbar-bank em::before, .crossbar-bank em::after { content: ""; position: absolute; width: 39%; height: 16%; background: var(--gold); clip-path: polygon(0 42%, 12% 42%, 21% 4%, 33% 88%, 45% 4%, 57% 88%, 69% 4%, 80% 42%, 100% 42%, 100% 66%, 79% 66%, 69% 100%, 57% 24%, 45% 100%, 33% 24%, 22% 66%, 0 66%); filter: drop-shadow(0 1px 0 var(--ink)); }
.crossbar-bank em::before { top: 20%; left: 50%; transform: rotate(45deg); }
.crossbar-bank em::after { top: 49%; left: 11%; transform: rotate(45deg); }
.crossbar-sim-chip .sim-results div:first-child strong { color: #ffb4b8; }
.crossbar-sim-chip .sim-results div:nth-child(2) strong { color: #f2cf84; }
.crossbar-sim-chip .sim-advice { border-left-color: var(--red); background: rgba(182,32,49,.16); }
.crossbar-sim-chip .sim-advice strong { color: #ffb4b8; }
.crossbar-sim-chip .sim-bank-legend i.crossbar-legend { background-color: #f2e5e6; background-image: linear-gradient(90deg, transparent 44%, var(--red) 44% 56%, transparent 56%), linear-gradient(0deg, transparent 44%, var(--blue) 44% 56%, transparent 56%), linear-gradient(45deg, transparent 39%, var(--gold) 39% 61%, transparent 61%); }
.crossbar-sim-chip .sim-bank-legend i.crossbar-legend.active { border-color: #e47b83; background-color: #f9e8e9; box-shadow: 0 0 0 2px rgba(182,32,49,.22); }

/* Expanded research pages */
.page-hero h1, .section-heading h2, .content-copy h2, .content-copy h3 { text-wrap: balance; }
sub, sup { line-height: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; overflow-wrap: anywhere; }
.content-split > *, .detail-list li > div { min-width: 0; }
.content-copy h3 { margin: 0 0 16px; font-size: var(--text-xl); line-height: 1.16; letter-spacing: -.02em; }
.content-copy .hero-actions { margin-top: 26px; }
.content-split.align-start { align-items: start; }
.content-split.figure-first { grid-template-columns: minmax(500px, 1.16fr) minmax(0, .84fr); }
.content-split + .content-split { margin-top: clamp(64px, 7vw, 104px); }
.section-lead { max-width: 900px; margin: 36px 0 0; color: var(--muted); font-size: var(--text-lg); }

.equation { margin: 0; padding: 22px 26px; overflow-x: auto; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; background: #fff; }
.equation + .equation { margin-top: 16px; }
.content-copy .equation { max-width: 760px; margin-top: 24px; }
.equation math { font-size: 1.25rem; }
.equation mtd { padding: 2px 10px 2px 0; text-align: left; }
.equation figcaption { margin-top: 14px; color: var(--muted); font-size: var(--text-xs); }
.equation.centered { max-width: 760px; margin: 0 0 40px; }

.principle-grid.four { grid-template-columns: repeat(4, 1fr); }
.principle-card:nth-child(4) span { background: var(--gold); }
.principle-card small { display: block; margin: -8px 0 10px; color: var(--red-dark); font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(32,36,40,.06); }
.stat-strip article { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat-strip article:last-child { border-right: 0; }
.stat-strip strong { margin-bottom: 18px; display: block; color: var(--red); font-size: var(--text-2xl); font-weight: 500; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.stat-strip h3 { margin: 0 0 8px; font-size: var(--text-lg); line-height: 1.2; }
.stat-strip p { margin: 0; color: var(--muted); font-size: var(--text-sm); }

.crossbar-explorer { grid-template-columns: 220px 1fr; }
.crossbar-explorer .device-tabs button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.crossbar-explorer .device-tabs button[aria-selected="true"] { background: var(--red); }
.crossbar-explorer .device-tabs button:focus-visible { outline: 3px solid rgba(182,32,49,.35); outline-offset: -4px; }
.crossbar-explorer .device-panel { grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 40px; padding: clamp(24px, 3.5vw, 48px); }
.device-panel[hidden] { display: none; }
.crossbar-explorer .paper-figure img { max-height: 520px; padding: 16px; }
.crossbar-explorer .device-panel h3 { margin: 0 0 18px; font-size: var(--text-xl); line-height: 1.16; }
.crossbar-explorer .device-stats div { border-left-color: var(--blue); background: var(--blue-light); }
.crossbar-explorer .device-stats div:nth-child(2) { border-left-color: var(--red); background: var(--red-light); }
.crossbar-explorer .device-stats div:nth-child(3) { border-left-color: var(--gold); background: #f6efe1; }

.evidence-table.wide { min-width: 860px; }
.evidence-table tbody th[rowspan] { vertical-align: top; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sim-levels { width: 100%; margin: 22px 0 18px; border-collapse: collapse; font-size: var(--text-sm); }
.sim-levels th, .sim-levels td { padding: 10px 12px; border-top: 1px solid rgba(215,200,170,.2); text-align: left; }
.sim-levels thead th { border-top: 0; color: #d7c8aa; font-size: var(--text-xs); font-weight: 700; }
.sim-levels tbody th { color: #edf2ef; font-weight: 600; }
.sim-levels td { color: #f6efdf; font-variant-numeric: tabular-nums; }
.sim-levels tr.level-ok td:last-child { color: #a9e7d4; }
.sim-levels tr.level-warn td:last-child { color: #f2cf84; }
.sim-levels tr.level-low td:last-child { color: #ff9a9e; }
.evidence-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: var(--text-xs); }

.publication h3 { margin: 0 0 10px; font-size: var(--text-xl); line-height: 1.2; }
.publication .publication-note { margin-top: 10px; color: var(--ink); }
.citation-box { margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.citation-box-head { padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); background: #f6f8f7; color: var(--muted); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.citation-box p { margin: 0; padding: 20px; font-size: var(--text-sm); }
.citation-box pre { margin: 0; padding: 20px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--text-xs); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.equation .cases { padding-left: .55em; border-left: 2px solid currentColor; border-radius: 8px 0 0 8px; }
.copy-button { min-height: 34px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible { background: var(--ink); color: #fff; }

@media (max-width: 1160px) {
  .content-split.figure-first { grid-template-columns: 1fr; }
  .principle-grid.four, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip article:nth-child(2) { border-right: 0; }
  .stat-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .crossbar-explorer .device-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .principle-grid.four, .stat-strip { grid-template-columns: 1fr; }
  .stat-strip article, .stat-strip article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-strip article:last-child { border-bottom: 0; }
  .crossbar-explorer { grid-template-columns: 1fr; }
  .crossbar-explorer .device-tabs button { align-items: center; }
  .footer-links { align-items: flex-start; }
  .equation { padding: 18px; }
  .equation math { font-size: 1.05rem; }
}
