:root {
  --ink: #16232b;
  --muted: #5e6b70;
  --paper: #fbfbf4;
  --cream: #f4f0d9;
  --line: rgba(22, 35, 43, 0.16);
  --navy: #263c5b;
  --blue: #55769a;
  --orange: #d99635;
  --orange-soft: #f5dec0;
  --red: #c85b55;
  --green: #8eb36b;
  --pink: #f3afc5;
  --peach: #e9a06d;
  --purple: #8060a9;
  --lilac: #d997db;
  --shadow: 0 16px 42px rgba(38, 60, 91, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #e9eced;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

.website-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(38, 60, 91, 0.14);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.website-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  max-width: 1540px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 50px;
}
.website-nav a,
.website-nav button {
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.website-nav a:hover,
.website-nav a:focus-visible,
.website-nav button:hover,
.website-nav button:focus-visible { color: var(--orange); }
.website-nav__dropdown { position: relative; }
.website-nav__dropdown button { padding: 20px 0; }
.website-nav__submenu {
  position: absolute;
  top: calc(100% - 3px);
  right: 0;
  display: none;
  width: min(340px, 88vw);
  padding: 8px;
  border: 1px solid rgba(38, 60, 91, 0.16);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(38, 60, 91, 0.16);
}
.website-nav__submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  line-height: 1.4;
  text-transform: none;
}
.website-nav__submenu a[aria-current="page"] {
  background: var(--orange-soft);
  color: var(--navy);
}
.website-nav__dropdown:hover .website-nav__submenu,
.website-nav__dropdown:focus-within .website-nav__submenu { display: block; }

.hero, main, .story-nav { max-width: 1540px; margin: 0 auto; }
.hero {
  color: #fffdf0;
  background: linear-gradient(125deg, #293d60 0%, #52658a 62%, #7c89a9 100%);
  padding: 34px 50px 22px;
  border-radius: 0 0 26px 26px;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 36px; align-items: end; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-family: Georgia, serif; font-size: clamp(54px, 6vw, 96px); line-height: 0.93; letter-spacing: -0.065em; }
h1 span { color: #f1c062; }
h2 { margin-bottom: 14px; font-family: Georgia, serif; font-size: clamp(38px, 4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; }
h3 { margin-bottom: 0; font-family: Georgia, serif; font-size: 26px; line-height: 1.06; letter-spacing: -0.025em; }
.dek { max-width: 850px; margin-bottom: 0; color: #f9f5df; font-size: 26px; }
.eyebrow, .mini-label { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: 0.19em; text-transform: uppercase; }
.hero .eyebrow, .hero .mini-label { color: #f1c062; }
.hero-answer { padding: 20px 22px; border: 1px solid rgba(255,255,255,0.24); border-radius: 17px; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); font-size: 18px; }
.hero-answer p:last-child { margin-bottom: 0; }
.author-row { display: flex; justify-content: space-between; gap: 30px; margin-top: 28px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,0.22); font-size: 15px; }
.institutions { color: #f1c062; font-weight: 800; letter-spacing: 0.08em; }

.story-nav {
  position: sticky;
  top: var(--website-nav-height, 58px);
  z-index: 20;
  display: flex;
  gap: 26px;
  padding: 13px 50px;
  background: rgba(251, 251, 244, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 15px rgba(38,60,91,0.08);
  backdrop-filter: blur(14px);
}
.story-nav a { color: var(--navy); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.story-nav a:hover { color: var(--orange); }

main { overflow: hidden; background: var(--paper); box-shadow: 0 20px 50px rgba(22,35,43,0.09); }
.chapter { position: relative; padding: 76px 50px; border-bottom: 1px solid var(--line); }
.chapter:nth-child(even) { background: #f4f6f4; }
.chapter-number { position: absolute; top: 47px; right: 50px; color: rgba(38,60,91,0.09); font-family: Georgia, serif; font-size: 120px; font-weight: 700; line-height: 1; }
.section-heading { max-width: 950px; margin-bottom: 28px; }
.section-heading p:last-child { max-width: 850px; color: var(--muted); font-size: 20px; }
.wide-heading { max-width: 1200px; }
.wide-heading p:last-child { max-width: 1050px; }

.setup-grid, .two-col, .feature-grid, .response-grid { display: grid; gap: 22px; }
.setup-grid { grid-template-columns: 1.08fr 0.92fr; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: 1.36fr 0.64fr; align-items: stretch; }
.response-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.formula-card, .channels-card, .plot-card, .interpretation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.formula-card, .channels-card, .interpretation-card { padding: 24px; }
.equation, .math-display { color: var(--navy); font-family: Georgia, serif; font-size: 20px; line-height: 1.9; }
.hamiltonian {
  margin: 8px 0 16px;
  padding: 15px 18px 11px;
  border-left: 5px solid var(--orange);
  border-radius: 5px 12px 12px 5px;
  background: linear-gradient(100deg, #fff8e7, #fffdf7);
  overflow-x: auto;
  font-size: 21px;
}
.hamiltonian mjx-container[display="true"] { margin: 0 !important; text-align: left !important; }
.mf-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 12px;
  align-items: baseline;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f5f5ef;
  color: var(--navy);
  font-size: 16px;
}
.mf-row span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.mf-row b { font-weight: 700; }
.card-note, .plot-caption, .interaction-hint, .muted { color: var(--muted); }
.phase-sdip { display: inline-block; padding: 0 5px 1px; border-radius: 4px; background: #739bc4; color: #fff; }
.mf-intro, .channel-intro { color: var(--muted); font-size: 15px; line-height: 1.4; }
.mf-intro { margin: 13px 0 8px; }
.channel-intro { margin: 14px 0 10px; }
.phase-card { padding-bottom: 18px; }
.bulk-phase-wrap { position: relative; }
.bulk-phase-wrap h3 { margin: 0 0 1px; color: #243b5a; font-family: Georgia, "Times New Roman", serif; font-size: 19px; text-align: center; }
.bulk-phase-frame { position: relative; width: min(72%,350px); margin: 0 auto; }
.bulk-phase-diagram { width: 100%; height: 246px; }
.phase-axis-title { position: absolute; z-index: 2; display: inline-flex; gap: 1px; align-items: center; color: #263c5b; font-family: "STIX Two Text", "Cambria Math", Georgia, "Times New Roman", serif; font-size: 17px; pointer-events: none; }
.phase-axis-title b { padding: 1px 4px; border-radius: 3px; }
.phase-axis-title-x { bottom: -31px; left: calc(50% + 17px); transform: translateX(-50%); }
.phase-axis-title-y { top: calc(50% + 11px); left: -3px; transform: translate(-50%,-50%) rotate(-90deg); }
.phase-axis-title-x b { background: #dce9c2; color: #111; }
.phase-axis-title-y b { background: #f2d0e1; color: #111; }
.phase-card-note { margin: 38px 2px 0; color: var(--muted); font-size: 14px; line-height: 1.42; }
.op-inline { display: inline-block; margin: 1px 1px; padding: 0 4px 1px; border-radius: 3px; color: #26312b; font-weight: 800; white-space: nowrap; }
.card-note { margin: 14px 0 0; font-size: 15px; }
.channel-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.chip { padding: 8px 11px; border-radius: 999px; color: #26312b; font-weight: 800; }
.chip small { font-size: 0.82em; font-weight: 700; }
.c0 { background: #d6e6bf; }.c1 { background: #f7d0db; }.c2 { background: #f5c99f; }.c3 { background: #cdbde0; }.c4 { background: #efd1ef; }
.plot-card-head { display: flex; justify-content: space-between; gap: 18px; padding: 20px 22px 0; }
.plot-card-head .mini-label { margin-bottom: 5px; }
.plot-card-head h3 { color: var(--navy); }
.plot { width: 100%; }
.plot-surface { min-height: 520px; }
.plot-medium { min-height: 390px; }
.plot-caption, .interaction-hint { margin: -3px 22px 18px; font-size: 14px; }
.interaction-hint { color: var(--blue); font-weight: 700; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: start; }
.controls label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
select { display: block; min-width: 125px; margin-top: 5px; padding: 8px 26px 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 700; }
.claim-strip { margin-top: 22px; padding: 15px 19px; border-left: 8px solid var(--orange); background: var(--orange-soft); color: #5d4325; font-size: 18px; font-weight: 700; }
.claim-strip span { margin-right: 12px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 0.15em; }
.susceptibility-definition { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 10px 22px; align-items: center; margin: 16px 0 18px; padding: 15px 17px; border: 1px solid rgba(38,60,91,0.12); border-left: 5px solid var(--blue); border-radius: 5px 12px 12px 5px; background: rgba(255,255,255,0.74); }
.susceptibility-definition p { margin: 5px 0 0; font-size: 15px; }
.susceptibility-definition > p:last-child { grid-column: 1 / -1; margin-top: 0; color: var(--muted); font-size: 14px; }
.susceptibility-equation { color: var(--navy); font-size: 18px; overflow-x: auto; }
.susceptibility-equation mjx-container[display="true"] { margin: 0.25em 0 !important; }
.kernel-overview { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: center; margin: 16px 0 18px; padding: 15px 17px; border: 1px solid rgba(38,60,91,0.12); border-left: 5px solid var(--blue); border-radius: 5px 12px 12px 5px; background: rgba(255,255,255,0.74); }
.kernel-overview p { margin: 4px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.kernel-equation { color: var(--navy); font-size: 18px; overflow-x: auto; }
.kernel-equation mjx-container[display="true"] { margin: 0.25em 0 !important; text-align: left !important; }
.kernel-emphasis { margin-top: 8px !important; padding: 6px 8px; border-radius: 6px; background: #eef3f4; color: var(--navy) !important; }
.question-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(38, 60, 91, 0.12);
  border-radius: 12px;
  background: rgba(38, 60, 91, 0.12);
}
.question-flow div { min-height: 126px; padding: 13px 14px 11px; background: #f8f8f3; }
.question-flow span { display: block; margin-bottom: 7px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.question-flow b { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 18px; }
.question-flow p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.42; }
.interpretation-card { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #fff9e9, #fff); }
.interpretation-card h3 { margin-bottom: 8px; color: var(--navy); }
.response-explainer { grid-column: 1 / -1; }
.response-lead { max-width: 1060px; margin-bottom: 0; font-size: 19px !important; }
.explainer-bottom { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 24px; padding-top: 2px; }
.explainer-bottom > div { padding: 16px 17px; border: 1px solid rgba(38, 60, 91, 0.1); border-radius: 12px; background: rgba(255,255,255,0.62); }
.explainer-bottom h3 { font-size: 23px; }
.explainer-bottom p { margin-bottom: 7px; font-size: 15px; }
.explainer-takeaway { display: grid; grid-template-columns: 0.66fr 1.34fr; gap: 20px; align-items: center; margin-top: 16px; }
.explainer-takeaway > p { margin-bottom: 0; font-size: 16px; }
.response-equation { padding: 2px 0; font-size: 23px; }
.response-equation mjx-container[display="true"] { margin: 0.45em 0 !important; text-align: left !important; }
.interpretation-card p { color: #526064; font-size: 17px; }
.bubble-factor {
  padding: 8px 10px;
  border-left: 4px solid var(--orange);
  border-radius: 4px 10px 10px 4px;
  background: #fffdf6;
  color: var(--navy);
  font-size: 16px;
  overflow-x: auto;
}
.bubble-factor mjx-container[display="true"], .nesting-line mjx-container[display="true"] { margin: 0.35em 0 !important; text-align: left !important; }
.nesting-line { color: var(--red); font-size: 22px; font-weight: 800; }
.kernel-label { margin-top: 7px; }
.formula-note { margin: 8px 0 0 !important; color: var(--muted) !important; font-size: 14px !important; }
.response-figure-bridge { margin-top: 16px; padding: 12px 15px; border-left: 5px solid var(--orange); border-radius: 4px 10px 10px 4px; background: #fffdf6; color: var(--muted); font-size: 15px; }
.response-figure-bridge strong { color: var(--navy); }
.response-followup { padding-top: 20px; }
.response-followup-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; margin-top: 10px; }
.vertex-summary { padding: 15px 17px; border: 1px solid rgba(38,60,91,0.12); border-radius: 12px; background: rgba(255,255,255,0.7); }
.vertex-summary p { margin: 5px 0 7px; color: var(--muted); font-size: 14px; }
.vertex-equation { color: var(--navy); font-size: 17px; overflow-x: auto; }
.vertex-equation mjx-container[display="true"] { margin: 0.35em 0 !important; text-align: left !important; }
.eigenproblem-note {
  margin-top: 15px;
  padding: 15px 17px;
  border: 1px solid rgba(38, 60, 91, 0.12);
  border-radius: 12px;
  background: linear-gradient(100deg, #f2f5f7, #fff);
}
.eigenproblem-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 19px; align-items: center; }
.eigenproblem-equation { color: var(--navy); font-size: 21px; }
.eigenproblem-equation mjx-container[display="true"] { margin: 0.3em 0 !important; text-align: left !important; }
.eigenproblem-grid p { margin: 0 0 7px; color: var(--muted); font-size: 14px; }
.eigenproblem-grid p:last-child { margin-bottom: 0; }
.stability-distinction { margin-top: 15px; padding: 13px 15px; border-left: 5px solid var(--orange); border-radius: 4px 10px 10px 4px; background: #fffdf6; }
.stability-distinction p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.analogy { display: grid; grid-template-columns: 90px 1fr; gap: 8px 14px; margin-top: 8px; padding: 15px; border-radius: 12px; background: #f1ead2; }
.analogy span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }

.chapter-takeaway { color: #fffdf0; background: linear-gradient(115deg, #263c5b, #385777) !important; }
.chapter-takeaway .chapter-number { color: rgba(255,255,255,0.09); }
.takeaway-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 50px; }
.takeaway-copy { padding: 20px 24px; border-left: 7px solid #f1c062; background: rgba(255,255,255,0.08); font-size: 23px; }
.takeaway-copy p:last-child { margin-bottom: 0; }
.takeaway-copy .muted { color: #e7ebed; font-size: 16px; }
.peierls-box, .analogy-block { margin-top: 34px; padding: 24px 28px 22px; color: #243b5a; border: 1px solid rgba(255,255,255,0.55); border-radius: 22px; background: rgba(255,253,240,0.96); box-shadow: 0 18px 38px rgba(12,29,52,0.22); }
.chapter-peierls .peierls-box { margin-top: 0; }
.analogy-row-title { margin: 0 0 15px; }
.analogy-row-title h3 { color: #243b5a; font-size: 27px; }
.lattice-geometry-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: center; margin: 0 0 24px; padding: 17px 19px; border: 1px solid #d8e0e5; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.lattice-geometry-copy h3 { margin: 5px 0 7px; color: #243b5a; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.lattice-geometry-copy > p:last-of-type { margin: 0; color: #536576; font-size: 15px; line-height: 1.42; }
.geometry-conditions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 12px; margin-top: 13px; color: #536576; font-size: 13px; }
.geometry-conditions span { display: flex; gap: 6px; align-items: center; }
.geometry-conditions b { color: #243b5a; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-style: italic; }
.geometry-swatch { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; }
.geometry-swatch-left { background: #9eafff; }
.geometry-swatch-right { background: #ffadad; }
.lattice-geometry-visual { min-width: 0; }
.lattice-geometry-canvas { height: 235px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg,#fbfcfd,#f3f6f8); cursor: grab; touch-action: none; }
.lattice-geometry-canvas:active { cursor: grabbing; }
.lattice-geometry-canvas canvas, .lattice-geometry-canvas svg { display: block; width: 100%; height: 100%; }
.strip-bond { stroke: #717b81; stroke-width: 1.15; opacity: 0.8; }
.strip-site { fill: #101722; }
.strip-site-left { fill: #9eafff; stroke: #7086d7; stroke-width: 1; }
.strip-site-right { fill: #ffadad; stroke: #d86f70; stroke-width: 1; }
.strip-arrow { fill: none; stroke: #263c5b; stroke-width: 1.8; marker-end: url(#strip-arrowhead); }
.strip-periodic { fill: none; stroke: #d98e28; stroke-width: 2; stroke-dasharray: 5 4; marker-start: url(#strip-arrowhead-orange); marker-end: url(#strip-arrowhead-orange); }
.strip-label { fill: #263c5b; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; }
.strip-note { fill: #536576; font-family: "STIX Two Text", "Cambria Math", Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 700; }
.lattice-geometry-visual p { margin: 3px 0 0; color: #788794; font-size: 12px; text-align: right; }
.analogy-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: #d98e28; font-size: 12px; font-weight: 900; letter-spacing: 0.15em; text-align: center; }
.analogy-divider::before, .analogy-divider::after { content: ""; height: 1px; flex: 1; background: #d5b26f; }
.peierls-head { display: grid; grid-template-columns: minmax(310px,0.8fr) 1.2fr; gap: 34px; align-items: end; margin-bottom: 16px; }
.peierls-box h3 { margin: 2px 0 0; color: #243b5a; font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.peierls-head p:last-child { margin: 0; color: #536576; font-size: 16px; line-height: 1.48; }
.peierls-diagram { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1fr); gap: 18px; align-items: center; }
.peierls-state { padding: 14px 16px 10px; border: 1px solid #d8e0e5; border-radius: 16px; background: #fff; text-align: center; }
.state-label, .mini-label { margin: 0; color: #d98e28; font-size: 13px; font-weight: 800; letter-spacing: 0.13em; }
.peierls-state > p:last-child { margin: 2px 0 0; color: #536576; font-size: 15px; }
.atom-chain { display: flex; align-items: center; justify-content: center; min-height: 34px; margin: 10px 0 2px; }
.lattice-illustration { display: flex; align-items: center; justify-content: center; gap: 12px; }
.illustration-label { color: #536576; font-size: 14px; font-weight: 800; white-space: nowrap; }
.atom { width: 17px; height: 17px; flex: 0 0 17px; border: 2px solid #243b5a; border-radius: 50%; background: #f1c062; }
.bond { width: 36px; height: 3px; flex: 0 0 36px; background: #7b8fa5; }
.bond.short { width: 21px; flex-basis: 21px; background: #d98e28; }
.bond.long { width: 51px; flex-basis: 51px; }
.mini-band { width: min(100%,315px); height: 118px; overflow: visible; }
.mini-band text { fill: #536576; font-family: "STIX Two Text", "Cambria Math", Georgia, "Times New Roman", serif; font-size: 15px; }
.band-axis { stroke: #a9b8c5; stroke-width: 1.5; }
.band-curve { fill: none; stroke: #406f9d; stroke-width: 4; stroke-linecap: round; }
.fermi-marker { stroke: #cf5b52; stroke-width: 1.6; stroke-dasharray: 4 4; }
.gap-label { fill: #cf5b52 !important; font-weight: 800; }
.peierls-arrow { display: grid; justify-items: center; color: #d98e28; text-align: center; }
.peierls-arrow span { font-size: 21px; font-weight: 800; }
.peierls-arrow strong { font-size: 56px; font-weight: 400; line-height: 0.92; }
.peierls-arrow small { color: #536576; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.bdg-edge-toggles { display: grid; box-sizing: border-box; gap: 5px; width: 145px; margin-top: 12px; padding: 9px 10px; border: 1px solid #d8e0e5; border-radius: 10px; background: rgba(255,255,255,0.82); color: #536576; text-align: left; }
.bdg-edge-toggles > span { color: #d98e28; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.bdg-edge-toggles label { display: flex; gap: 5px; align-items: center; color: #536576; font-size: 11px; font-weight: 700; line-height: 1.18; white-space: nowrap; cursor: pointer; }
.bdg-edge-toggles input { width: 12px; height: 12px; margin: 0; accent-color: #447bb6; }
.edge-toggle-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; }
.edge-toggle-left { background: #ff9290; }
.edge-toggle-right { background: #8ba5ff; }
.peierls-mapping { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 16px; padding: 13px 16px; border-radius: 13px; color: #243b5a; background: #eef3f4; font-size: 15px; text-align: center; }
.peierls-mapping strong { color: #d98e28; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.bdg-state { padding: 16px 8px 9px; }
.bdg-state h3 { margin: 5px 12px 0; color: #243b5a; font-size: 23px; }
.edge-profile { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 6px 14px -2px; }
.edge-profile svg { width: min(66%,250px); height: 50px; overflow: visible; }
.edge-profile span { color: #536576; font-size: 13px; font-weight: 800; white-space: nowrap; }
.edge-profile i { color: #d98e28; font-family: Georgia, "Times New Roman", serif; font-size: 1.08em; font-weight: 700; }
.edge-profile sub { font-size: 0.7em; }
.profile-axis { stroke: #9fa8ad; stroke-width: 2.2; }
.profile-site { fill: #a4adb2; stroke: #748086; stroke-width: 1; }
.profile-curve { fill: none; stroke: #d98e28; stroke-width: 3.4; stroke-linecap: round; }
.profile-direction { fill: none; stroke: #536576; stroke-width: 1.6; stroke-linecap: round; }
.profile-direction-label { fill: #536576; font-family: "STIX Two Text", "Cambria Math", Georgia, "Times New Roman", serif; font-size: 15px; font-style: italic; font-weight: 700; }
.spectrum-plot-shell { position: relative; }
.spectrum-inset-connectors { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.spectrum-inset-connectors line { stroke: #cf3f35; stroke-width: 1.5; }
.spectrum-inset-shell { position: absolute; top: 18px; right: 38px; z-index: 3; width: 11%; height: 41%; overflow: hidden; border: 3px solid #cf3f35; background: rgba(255,255,255,0.97); box-shadow: 0 5px 13px rgba(38,60,91,0.2); }
.spectrum-inset { width: 100%; height: 100%; }
.edge-scale { position: absolute; top: 50%; right: 9px; display: grid; gap: 4px; justify-items: center; transform: translateY(-50%); color: #243b5a; font-family: "STIX Two Text", "Cambria Math", Georgia, "Times New Roman", serif; font-size: 14px; font-style: normal; line-height: 1.08; text-align: center; pointer-events: none; }
.edge-scale-bar { width: 11px; height: 76px; border: 1px solid #526064; background: linear-gradient(to bottom, #8ba5ff, #101722 50%, #ff9290); }
.bdg-state .plot-medium { min-height: 246px; }
.bdg-state .plot-caption { margin: -3px 14px 8px; text-align: left; }
.abs-dispersion-note { margin-top: 18px; padding: 14px 18px 10px; border-left: 5px solid #d98e28; border-radius: 5px 13px 13px 5px; background: #fff; }
.abs-dispersion-note p { margin: 0; color: #243b5a; font-size: 17px; }
.edge-word { color: #607fdc; }
.states-word { color: #df706d; }
.abs-dispersion-equation { display: flex; flex-wrap: nowrap; gap: 2px 1px; align-items: center; margin-top: 9px; color: #243b5a; font-size: 21px; overflow-x: auto; white-space: nowrap; }
.abs-dispersion-equation mjx-container { margin: 0 !important; }
.equation-chip { display: inline-flex; align-items: center; padding: 2px 5px; border-radius: 4px; }
.equation-delta0 { background: #d6e6bf; }
.equation-deltas { background: #f7d0db; }
.equation-deltad { background: #f5c99f; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.22); color: #e7ebed; font-size: 14px; }
footer a { color: #f1c062; text-decoration: none; }

@media (max-width: 980px) {
  .website-nav__inner { justify-content: flex-start; padding: 9px 24px; }
  .website-nav__dropdown { width: 100%; }
  .website-nav__dropdown button {
    padding: 8px 0;
    cursor: default;
    pointer-events: none;
  }
  .website-nav__submenu { position: static; display: block; width: 100%; margin-bottom: 5px; box-shadow: none; }
  .hero-grid, .setup-grid, .feature-grid, .two-col, .response-grid, .takeaway-grid { grid-template-columns: 1fr; }
  .peierls-head, .peierls-diagram, .peierls-mapping, .lattice-geometry-card { grid-template-columns: 1fr; }
  .peierls-arrow strong { transform: rotate(90deg); }
  .lattice-illustration { flex-wrap: wrap; gap: 2px 12px; }
  .hero, .chapter { padding-left: 24px; padding-right: 24px; }
  .story-nav { overflow-x: auto; padding-left: 24px; padding-right: 24px; white-space: nowrap; }
  .author-row { display: block; }
  .institutions { margin-top: 8px; }
  .chapter-number { right: 24px; font-size: 88px; }
  .plot-surface { min-height: 430px; }
  .question-flow { grid-template-columns: 1fr; }
  .question-flow div { min-height: auto; }
  .susceptibility-definition, .kernel-overview, .explainer-bottom, .response-followup-grid, .explainer-takeaway, .eigenproblem-grid { grid-template-columns: 1fr; }
  .susceptibility-definition > p:last-child { grid-column: auto; }
}
