/* SuperAIGuy.com — orbital identity and responsive interface. */
:root {
  color-scheme: dark;
  --bg: #060b13;
  --surface: #0e1723;
  --surface2: #142131;
  --ink: #f0f5fa;
  --muted: #a5b3c4;
  --line: #253243;
  --gold: #e8bd79;
  --cyan: #66cfff;
  --green: #96d5be;
  --max: 1264px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 2.85rem); font-weight: 640; }
h3 { font-size: 1.19rem; font-weight: 650; }
p { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; border-radius: 3px; }
.page-shell { max-width: var(--max); padding: 0 40px; margin: 0 auto; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-180%); z-index: 200; padding: 12px 20px; background: var(--cyan); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

/* A legible wordmark, with the A carrying the new identity. */
.site-header { position: sticky; top: 0; z-index: 100; background: #060b13f2; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff12; }
.header-inner { max-width: var(--max); margin: auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 750; font-size: 1.45rem; letter-spacing: -.055em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-name { display: inline-flex; align-items: center; }
.brand-mark { width: 28px; height: 32px; margin: 0 1px 0 2px; object-fit: contain; filter: drop-shadow(0 0 5px #00a6ff42); }
.brand-ai { color: var(--cyan); margin-right: 1px; }
.brand .domain { margin-left: 1px; color: #acbbc9; font-size: .91em; font-weight: 450; letter-spacing: -.055em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; font-size: .8rem; font-weight: 550; }
.site-nav a, .site-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 4px 0; color: #b3bfcd; white-space: nowrap; font-size: inherit; font-weight: inherit; }
.site-nav a:hover, .site-nav button:hover { color: #fff; text-decoration: none; }
.site-nav .nav-lab { border: 1px solid #315675; border-radius: 5px; padding: 9px 15px; color: #c8e9ff; background: #102234; }
.site-nav .nav-lab:hover { background: #17324a; border-color: #4c8ab5; }
.site-nav a[aria-current="page"] { color: var(--cyan); text-decoration: underline; text-underline-offset: 7px; }

/* The orbital graphic is blended into the hero, without a profile frame. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: 16px; padding-top: 48px; padding-bottom: 55px; min-height: 650px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-bottom: 8px; }
.hero .eyebrow { margin-bottom: 23px; font-size: .65rem; letter-spacing: .16em; color: #9bb6cb; }
.eyebrow { margin-bottom: 24px; font-size: .68rem; font-weight: 700; letter-spacing: .17em; color: var(--gold); }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 11px #47b9ff94; vertical-align: middle; }
.hero h1 { margin: 0; font-size: clamp(2.8rem, 5.1vw, 4.2rem); font-weight: 650; line-height: 1.07; letter-spacing: -.057em; text-wrap: initial; }
.hero h1 em { font-style: normal; color: #80d4ff; }
.hero-lede { max-width: 465px; margin: 26px 0 0; font-size: 1.035rem; line-height: 1.85; color: #acbacc; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 48px; padding: 13px 20px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 650; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.primary { color: #061323; background: #8bd8ff; border-color: #8bd8ff; }
.primary:hover { background: #b1e5ff; border-color: #b1e5ff; }
.secondary { border-color: #3c4b5d; }
.secondary:hover { background: var(--surface2); border-color: #6a809a; }
.hero-proof { display: flex; gap: 9px 19px; flex-wrap: wrap; margin-top: 28px; font-size: .66rem; color: #92a5b9; }
.hero-proof span:before { content: "✓"; color: var(--cyan); margin-right: 6px; }
.hero-visual { position: relative; min-width: 0; aspect-ratio: 1; width: 108%; justify-self: center; display: flex; align-items: center; }
.hero-visual img { width: 100%; mask-image: radial-gradient(ellipse at center, #000 51%, #000e 62%, #0000 73%); }
.hero-wordmark img { mask-image: linear-gradient(180deg, #0000, #000 14%, #000 88%, #0000); mix-blend-mode: screen; }
.visual-caption { position: absolute; bottom: 3%; left: 0; right: 0; text-align: center; color: #6d9fbf; font-size: .56rem; letter-spacing: .26em; }
.trust-strip { border-top: 1px solid #263b5077; border-bottom: 1px solid #263b5077; background: #0c1520; }
.trust-strip .page-shell { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 21px; padding-bottom: 21px; }
.trust-strip p { font-size: .75rem; margin: 0; color: #adbbc9; }
.trust-strip a { color: #b7d9ee; font-size: .74rem; white-space: nowrap; }
.mini-label { color: #70b7df; font-size: .6rem; letter-spacing: .15em; margin-right: 19px; }

/* Content hierarchy keeps useful information ahead of decoration. */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-tinted { background: #0a121d; border-top: 1px solid #ffffff0b; border-bottom: 1px solid #ffffff0b; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 52px; margin-bottom: 37px; }
.section-head .eyebrow { margin-bottom: 15px; }
.section-head > p { max-width: 370px; margin: 0; font-size: .87rem; line-height: 1.8; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 26px; }
.learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.learning-card { display: flex; flex-direction: column; min-height: 248px; border-top: 2px solid #3c6680; }
.lesson-number { color: #78b4d5; font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .12em; margin-bottom: 27px; }
.learning-card h3 { margin-bottom: 12px; }
.learning-card p { flex-grow: 1; font-size: .82rem; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; min-height: 36px; color: #9ed7f5; font-size: .77rem; font-weight: 600; }
.resource-download { display: flex; gap: 20px; align-items: center; margin-top: 24px; padding: 21px 25px; border: 1px solid var(--line); border-radius: 6px; background: #0d1825; color: var(--ink); }
.resource-download:hover { text-decoration: none; background: var(--surface2); }
.resource-download strong { font-size: .85rem; }
.resource-download small { display: block; margin-top: 4px; color: var(--muted); font-size: .74rem; line-height: 1.75; }
.resource-download > span:nth-child(2) { flex: 1; }
.download-icon { color: var(--cyan); font-size: 1.7rem; }

/* Form controls have generous targets and visible state. */
label { display: flex; flex-direction: column; gap: 8px; color: #b6c3d1; font-size: .76rem; font-weight: 550; }
input, select, textarea { min-width: 0; width: 100%; min-height: 46px; padding: 12px; color: var(--ink); border: 1px solid #62748a; border-radius: 4px; background: #09121e; font-size: .85rem; }
input::placeholder, textarea::placeholder { color: #8c9bad; }
input:hover, select:hover, textarea:hover { border-color: #70859d; }
textarea { resize: vertical; line-height: 1.8; }
input[type="number"] { font-variant-numeric: tabular-nums; }
.filter-panel { display: flex; align-items: flex-end; gap: 15px; margin-bottom: 23px; }
.search-field { flex: 1; }
.filter-panel > label:nth-child(2) { width: 180px; }
.filter-panel .button { height: 46px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs button { min-height: 44px; padding: 8px 16px; color: #b0bfce; border: 1px solid var(--line); border-radius: 4px; background: transparent; font-size: .76rem; font-weight: 550; }
.filter-tabs button[aria-pressed="true"] { color: #d5eeff; border-color: #5183a1; background: #1a354b; }
.filter-tabs button:hover { border-color: var(--cyan); }
.result-count { margin: 18px 0; color: var(--muted); font-size: .72rem; }
.prompt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prompt-card { display: flex; flex-direction: column; padding: 23px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.card-top h3 { margin: 0; }
.tag { padding: 4px 7px; color: #a7cbe3; border: 1px solid #43688677; border-radius: 3px; font-size: .57rem; font-weight: 650; letter-spacing: .12em; white-space: nowrap; }
.skill-level { color: var(--muted); font-size: .67rem; }
.prompt-card h3 { font-size: 1.12rem; margin-bottom: 11px; }
.prompt-card > p { flex-grow: 1; font-size: .79rem; line-height: 1.8; }
.prompt-card details { margin-bottom: 15px; font-size: .76rem; }
.prompt-text { margin-top: 8px; padding: 13px; color: #c2d1e1; background: #09121e; border: 1px solid var(--line); border-radius: 4px; font-size: .75rem; white-space: pre-wrap; line-height: 1.8; overflow-wrap: anywhere; }
.prompt-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.text-button { min-height: 44px; padding: 6px 0; color: var(--cyan); border: 0; background: none; font-size: .76rem; font-weight: 600; }
.text-button:hover { color: #c1eaff; }
summary { cursor: pointer; min-height: 44px; padding: 10px 0; color: var(--cyan); font-size: .76rem; }
.small-note { margin: 16px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.small-note a { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 36px; border: 1px dashed var(--line); border-radius: 6px; text-align: center; }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lab-form label[for] { margin: 20px 0 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; }
.form-footer .small-note { margin: 0; }
.service-status { color: var(--muted); font-size: .66rem; text-align: right; }
.service-status[data-ready="true"] { color: var(--green); }
.answer-card { display: flex; flex-direction: column; min-height: 440px; }
.answer { flex: 1; font-size: .89rem; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-placeholder { padding: 58px 15px 35px; text-align: center; white-space: normal; }
.answer-placeholder > span { display: block; margin-bottom: 24px; color: var(--cyan); font-size: 2.5rem; }
.answer-placeholder h3 { font-size: 1.2rem; }
.answer-placeholder p { font-size: .85rem; }
.answer-card > .text-link { margin-top: 16px; }
.answer.error { color: #ffbcae; }

.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.calculator-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 25px; }
.calculator-controls label:last-child { grid-column: 1 / -1; }
.calc-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 25px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; }
.calc-total output { color: var(--cyan); font-size: 1.6rem; font-weight: 650; letter-spacing: -.05em; white-space: nowrap; }
.bar-chart { padding-top: 4px; }
.bar-row { display: grid; grid-template-columns: 55px 1fr 85px; align-items: center; gap: 12px; margin: 13px 0; color: var(--muted); font-size: .72rem; }
.bar-track { height: 21px; border-left: 1px solid #889ab1; background: #09121e; position: relative; }
.bar-fill { display: block; height: 100%; background: var(--gold); border-radius: 0 3px 3px 0; }
.bar-fill.output { background: var(--cyan); }
.bar-axis { display: flex; justify-content: space-between; padding-left: 67px; padding-right: 97px; color: var(--muted); font-size: .65rem; }
figure { margin: 24px 0; }
.budget-chart { display: flex; min-height: 28px; gap: 2px; overflow: hidden; border-radius: 4px; background: #09121e; }
.budget-segment { height: 28px; min-width: 0; }
.data-table { width: 100%; margin: 21px 0; border-collapse: collapse; font-size: .73rem; }
.data-table caption { text-align: left; padding-bottom: 10px; color: var(--muted); font-size: .69rem; }
.data-table th, .data-table td { padding: 9px 5px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table thead th { color: var(--muted); font-weight: 600; }
.data-table tbody th { font-weight: 500; }
.data-table td { font-variant-numeric: tabular-nums; }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.model-card p { font-size: .82rem; }
.model-card .tag { display: inline-block; margin-bottom: 14px; }
.model-card h3 { margin-bottom: 11px; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 25px; margin-bottom: 0; }
.glossary-item { padding: 21px 0; border-top: 1px solid var(--line); }
.glossary-item dt { font-size: .96rem; font-weight: 650; letter-spacing: -.02em; }
.glossary-item dd { margin: 10px 0 0; color: var(--muted); font-size: .81rem; }
.glossary-item a { display: inline-flex; align-items: center; min-height: 36px; margin-top: 8px; font-size: .73rem; }
.section-head > .search-field { max-width: 360px; }
.source-section { max-width: 850px; padding-top: 95px; padding-bottom: 95px; text-align: center; }
.source-section h2 { margin-bottom: 23px; }
.source-section > p:not(.eyebrow):not(.small-note) { font-size: .95rem; }
.source-section .hero-actions { justify-content: center; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #040911; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer-inner p { margin: 10px 0; font-size: .75rem; }
.footer-inner nav { display: flex; gap: 20px; padding-top: 6px; font-size: .74rem; flex-wrap: wrap; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer-inner > .small-note { flex-basis: 100%; padding-top: 19px; margin-top: 9px; border-top: 1px solid #ffffff0e; font-size: .66rem; }
.social-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 9px; font-size: .73rem; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; color: #92bed9; }
.muted { color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 101; max-width: 90vw; transform: translateX(-50%); padding: 12px 22px; color: var(--bg); border-radius: 5px; background: var(--cyan); box-shadow: 0 6px 30px #0008; font-size: .85rem; }

/* Guides, news, and policy pages share the same typography and navigation. */
.content-page main.page-shell { padding-top: 65px; padding-bottom: 75px; }
.content-page .prose { max-width: 820px; margin: auto; }
.page-title { margin-bottom: 20px; font-size: clamp(2.15rem, 5vw, 3.65rem); line-height: 1.12; }
.page-lede { font-size: 1.1rem; }
.prose h2 { margin: 37px 0 16px; font-size: 1.7rem; }
.prose h3 { margin: 25px 0 13px; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; line-height: 1.9; }
.prose ul, .prose ol { padding-left: 24px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .card { margin: 20px 0; }
.prose .learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .learning-card h3 { margin-top: 0; }
.callout { margin: 25px 0; padding: 18px 22px; border-left: 3px solid var(--cyan); border-radius: 0 5px 5px 0; background: var(--surface); }
.resource-list { display: grid; gap: 15px; }
.resource-list li { padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); overflow-wrap: anywhere; }
.resource-list small { display: block; }
.prose code { padding: 2px 5px; color: var(--ink); border-radius: 3px; background: #17283d; font-size: .85em; overflow-wrap: anywhere; }
.news-list { display: grid; gap: 20px; margin: 30px 0; }
.prose .news-card { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.news-meta { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.prose .news-card h2 { margin: 18px 0; font-size: clamp(1.3rem, 3vw, 1.65rem); }
.news-card strong, .callout strong { color: var(--ink); }
.news-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: .85rem; }
.news-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.news-links .small-note { margin: 0; }
.prose .callout p:last-child, .news-card p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .page-shell { padding-left: 30px; padding-right: 30px; }
  .header-inner { padding-left: 30px; padding-right: 30px; gap: 20px; }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 25px; height: 29px; }
  .site-nav { gap: 16px; font-size: .75rem; }
  .site-nav .nav-lab { padding: 8px 11px; gap: 9px; }
  .hero { min-height: 580px; padding-top: 40px; padding-bottom: 44px; gap: 8px; }
  .hero h1 { font-size: clamp(2.7rem, 5.2vw, 3.35rem); }
  .hero-lede { font-size: .96rem; }
  .hero-proof { gap: 8px 12px; font-size: .61rem; }
  .hero .eyebrow { font-size: .57rem; }
  .hero-visual { width: 112%; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section-head { gap: 30px; }
  .section-head > p { max-width: 320px; }
  .learning-grid, .prompt-grid, .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-grid, .calculator-grid { gap: 16px; }
  .card { padding: 22px; }
  .card-top { flex-wrap: wrap; }
  .calc-total output { font-size: 1.4rem; }
  .form-footer { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .site-header { position: relative; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 24px 8px; gap: 8px; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 27px; height: 31px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 8px; font-size: .74rem; }
  .site-nav .nav-lab { padding: 4px 0; gap: 7px; border: 0; background: none; color: var(--cyan); }
  .site-nav .nav-lab:hover { background: none; }
  .page-shell { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 44px; padding-bottom: 25px; gap: 9px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 580px; font-size: clamp(2.65rem, 7.6vw, 4rem); }
  .hero .eyebrow { font-size: .62rem; margin-bottom: 21px; }
  .hero-lede { max-width: 550px; margin-top: 22px; font-size: .97rem; }
  .hero-actions { margin-top: 24px; }
  .hero-proof { font-size: .65rem; margin-top: 23px; }
  .hero-visual { width: min(100%, 470px); margin-top: -2px; }
  .visual-caption { bottom: 0; }
  .trust-strip .page-shell { flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 20px; padding-bottom: 20px; }
  .trust-strip p { font-size: .73rem; line-height: 1.8; }
  .mini-label { display: block; margin-bottom: 6px; }
  .section { padding-top: 54px; padding-bottom: 54px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 21px; margin-bottom: 29px; }
  .section-head > p { max-width: none; }
  .section-head > .search-field { width: 100%; max-width: none; }
  .lab-grid, .calculator-grid { grid-template-columns: minmax(0, 1fr); }
  .card-top { flex-wrap: nowrap; }
  .form-footer { flex-wrap: nowrap; }
  .filter-panel { flex-wrap: wrap; }
  .filter-panel .search-field { flex-basis: 100%; }
  .filter-panel > label:nth-child(2) { flex: 1; }
  .learning-card { min-height: 0; }
  .answer-placeholder { padding-top: 30px; }
  .source-section { padding-top: 67px; padding-bottom: 67px; }
  .footer-inner { gap: 16px; }
  .footer-inner nav { gap: 12px 24px; }
  .content-page main.page-shell { padding-top: 44px; padding-bottom: 54px; }
  .prose .resource-list { padding-left: 0; list-style: none; }
}
@media (max-width: 520px) {
  .page-shell { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .site-nav { gap: 5px; font-size: .68rem; }
  .site-nav .nav-lab { gap: 5px; }
  .hero { padding-top: 35px; gap: 4px; }
  .hero h1 { font-size: clamp(2.3rem, 9.6vw, 3.12rem); }
  .hero .eyebrow { font-size: .56rem; letter-spacing: .13em; }
  .hero-lede { font-size: .94rem; }
  .hero-proof { gap: 8px 11px; font-size: .62rem; }
  .hero-visual { width: 108%; margin-top: 3px; }
  .hero-actions { gap: 9px; }
  .button { padding: 12px 16px; gap: 20px; }
  .learning-grid, .prompt-grid, .glossary-grid, .model-grid, .prose .learning-grid { grid-template-columns: minmax(0, 1fr); }
  .lesson-number { margin-bottom: 21px; }
  .learning-card p { margin-bottom: 16px; }
  .filter-tabs { gap: 6px; }
  .filter-tabs button { padding: 8px 12px; }
  .form-row, .calculator-controls { gap: 12px; }
  input, select, textarea { font-size: 1rem; }
  .card { padding: 21px; }
  .card-top { align-items: flex-start; gap: 10px; }
  .calculator-grid .card-top { flex-wrap: wrap; }
  .service-status { max-width: 135px; }
  .form-footer { flex-wrap: wrap; gap: 12px; }
  .form-footer .button { width: 100%; justify-content: space-between; }
  .bar-row { grid-template-columns: 44px 1fr 76px; gap: 8px; }
  .bar-axis { padding-left: 52px; padding-right: 84px; }
  .calc-total output { font-size: 1.45rem; }
  .resource-download { padding: 18px; gap: 13px; }
  .resource-download strong { font-size: .82rem; }
  .resource-download small { font-size: .72rem; }
  .footer-inner { flex-direction: column; }
  .footer-inner > .small-note { width: 100%; }
  .prose h2 { font-size: 1.5rem; }
  .prose p, .prose li { font-size: .92rem; }
}
@media (max-width: 360px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; font-size: .72rem; }
  .site-nav .nav-lab { margin-left: auto; }
  .hero-proof { flex-direction: column; gap: 6px; }
  .hero-actions .button { flex: 1; gap: 10px; padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Monthly email preferences live at the bottom of every page. */
.monthly-updates { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; width: 100%; padding: 8px 0 42px; margin-bottom: 13px; border-bottom: 1px solid #ffffff16; scroll-margin-top: 100px; }
.newsletter-copy .eyebrow { margin-bottom: 14px; }
.monthly-updates h2 { margin-bottom: 15px; font-size: 2rem; }
.monthly-updates .newsletter-copy > p:not(.eyebrow) { max-width: 480px; font-size: .85rem; line-height: 1.8; }
.monthly-updates .newsletter-copy .newsletter-note { font-size: .73rem; color: #9aaebf; margin-bottom: 0; }
.newsletter-form { align-self: center; min-width: 0; }
.newsletter-entry { display: flex; gap: 9px; margin-top: 9px; }
.newsletter-entry input { flex: 1; min-width: 0; }
.newsletter-entry .button { white-space: nowrap; gap: 18px; }
.consent-label { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 17px; font-size: .71rem; font-weight: 400; line-height: 1.7; }
.consent-label input { min-height: 0; height: 18px; width: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--cyan); }
.consent-label a { text-decoration: underline; }
.newsletter-form .newsletter-status { min-height: 27px; margin: 13px 0 0; color: #a5bbcf; font-size: .72rem; line-height: 1.75; }
.newsletter-status[data-state="recorded"] { color: var(--green); }
.newsletter-status[data-state="error"] { color: #ffbcae; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The guide opens as a native modal: focus stays in it until dismissal. */
html.assistant-open { overflow: hidden; }
.assistant-launcher { position: fixed; z-index: 105; bottom: 22px; right: 24px; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 19px; border: 1px solid #649ac2; border-radius: 6px; color: #e2f5ff; background: #102c43; box-shadow: 0 5px 28px #0007; font-size: .77rem; font-weight: 600; }
.assistant-launcher:hover { background: #193d59; border-color: #99d6ff; }
.assistant-launcher > span:first-child { color: #95ddff; font-size: 1.1rem; }
.assistant-launcher-label { white-space: nowrap; }
.assistant-drawer { position: fixed; inset: 0 0 0 auto; width: min(510px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100vw; margin: 0; padding: 27px; overflow-y: auto; overscroll-behavior: contain; color: var(--ink); border: 0; border-left: 1px solid #4e7fa3; background: linear-gradient(150deg, #152b3f 0, #0b1623 34%, #08111d 100%); box-shadow: -12px 0 70px #0007; }
.assistant-drawer::backdrop { background: #010610b8; backdrop-filter: blur(3px); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.drawer-header .eyebrow { margin-bottom: 12px; color: #a0d3f1; font-size: .59rem; letter-spacing: .17em; }
.drawer-header h2 { font-size: 1.65rem; letter-spacing: -.045em; }
.drawer-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; margin-top: -7px; border: 1px solid #6185a144; border-radius: 5px; background: #d1eaff0b; color: var(--ink); font-size: 1.65rem; line-height: 1; }
.drawer-close:hover { background: #d1eaff18; }
.assistant-drawer > p { margin-bottom: 20px; font-size: .85rem; line-height: 1.8; }
.drawer-service { display: flex; align-items: center; gap: 8px; margin-bottom: 21px; font-size: .7rem; color: var(--muted); }
.drawer-service .status-dot { margin-right: 0; }
#drawer-ai-status[data-ready="true"] { color: var(--green); }
.drawer-form { display: grid; gap: 19px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.drawer-form label { font-size: .75rem; }
.drawer-form .small-note { margin: -3px 0 0; }
.drawer-form textarea { font-size: .91rem; }
.drawer-submit { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.drawer-submit > span { font-size: .67rem; color: var(--muted); }
.drawer-submit .button { gap: 19px; }
.drawer-answer { margin-top: 25px; }
.drawer-answer .card-top { margin-bottom: 14px; }
.drawer-answer h3 { font-size: .96rem; letter-spacing: -.02em; }
.drawer-answer .answer { padding: 17px 18px; border: 1px solid #263f54; border-radius: 5px; background: #040e19; font-size: .86rem; }
.drawer-answer .answer p { margin-bottom: 0; }
.drawer-answer > .text-link { margin-top: 10px; }
.drawer-answer #drawer-copy-status:empty { display: none; }
.site-footer { padding-bottom: 90px; }

@media (max-width: 1024px) {
  .site-nav { gap: 17px; }
  .monthly-updates { gap: 36px; }
}
@media (max-width: 760px) {
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; justify-content: stretch; }
  .site-nav a, .site-nav button { justify-content: flex-start; }
  .site-nav .nav-lab { justify-content: flex-start; }
  .monthly-updates { grid-template-columns: 1fr; gap: 25px; padding-bottom: 32px; scroll-margin-top: 24px; }
  .monthly-updates .newsletter-copy > p:not(.eyebrow) { max-width: none; }
  .assistant-launcher { bottom: 16px; right: 20px; min-height: 46px; padding: 10px 16px; font-size: .72rem; }
  .newsletter-form .newsletter-status { margin-top: 12px; }
}
@media (max-width: 520px) {
  .site-nav { font-size: .73rem; gap: 0 8px; }
  .newsletter-entry .button { gap: 10px; padding-left: 12px; padding-right: 12px; font-size: .74rem; }
  .assistant-drawer { width: 100vw; padding: 24px 20px; }
  .drawer-form textarea { font-size: 1rem; }
  .drawer-header h2 { font-size: 1.55rem; }
  .drawer-submit { flex-wrap: wrap; gap: 12px; }
  .drawer-submit .button { flex: 1; min-width: 155px; }
  .assistant-launcher { right: 16px; width: 48px; height: 48px; min-height: 48px; padding: 0; gap: 0; border-radius: 50%; }
  .assistant-launcher-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .assistant-launcher > span:first-child { font-size: 1.35rem; }
  .assistant-launcher > span:last-child { display: none; }
}
@media (max-width: 360px) {
  .site-nav { display: grid; font-size: .69rem; }
  .site-nav .nav-lab { margin-left: 0; }
  .newsletter-entry { flex-direction: column; }
  .newsletter-entry .button { justify-content: space-between; }
}

.nav-toggle { display: none; }
.site-nav { gap: 20px; font-size: .77rem; }
@media (max-width: 1100px) and (min-width: 761px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 13px; padding-bottom: 8px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 10px; }
}
@media (max-width: 760px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .nav-enhanced .nav-toggle { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; color: #c6dded; border: 1px solid #46677e; border-radius: 4px; background: #102234; font-size: .75rem; }
  .nav-enhanced .site-nav { display: none; }
  .nav-enhanced .mobile-nav-open .site-nav { display: grid; }
  .site-nav { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .8rem; }
  .site-nav a, .site-nav button { min-height: 48px; white-space: normal; justify-content: flex-start; }
}

/* A bespoke publication shelf: announcement art is distinct from a confirmed book cover. */
.bookshelf-section { background: radial-gradient(ellipse at 13% 57%, #214b6e22, transparent 48%), #0a121d; }
.publication-shelf { display: grid; gap: 25px; }
.book-publication { display: grid; grid-template-columns: minmax(215px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 48px; padding: 38px 44px 28px; border: 1px solid #3e5569; border-radius: 8px; background: linear-gradient(120deg, #14283c 0%, #111d2b 38%, #0d1825 100%); min-width: 0; }
.book-artwork { position: relative; width: min(100%, 250px); margin: 0 auto; padding: 0 15px 14px; perspective: 1000px; }
.book-artwork:after { content: ""; position: absolute; bottom: 43px; left: -19%; width: 138%; height: 10px; border-radius: 2px; background: linear-gradient(180deg, #526579, #182939 45%, #0a1420); box-shadow: 0 12px 19px #0009; z-index: 0; }
.book-announcement { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; aspect-ratio: 3 / 4; padding: 22px 18px; border: 1px solid #9b824b; border-radius: 3px 8px 8px 3px; color: #e9dcc2; background: radial-gradient(ellipse at 50% 37%, #0d48719c, transparent 47%), repeating-linear-gradient(0deg, #ffffff02 0, #ffffff02 1px, transparent 1px, transparent 4px), linear-gradient(135deg, #182c3f, #061321 55%, #112b41); box-shadow: 10px 17px 25px #0008, inset 3px 0 6px #e7cf8840; transform: rotateY(-13deg) rotateX(3deg); transform-origin: center; }
.book-announcement:before { content: ""; position: absolute; inset: -1px auto -1px -12px; width: 13px; background: linear-gradient(90deg, #05101a, #24415a 55%, #52748c); border: 1px solid #57738b; border-right: 0; transform: skewY(-12deg); transform-origin: right; }
.book-announcement:after { content: ""; position: absolute; top: 4px; right: -9px; bottom: 3px; width: 8px; background: repeating-linear-gradient(0deg, #b5c2ca 0, #b5c2ca 1px, #e1e7eb 1px, #e1e7eb 3px); border-radius: 0 3px 3px 0; transform: skewY(17deg); transform-origin: left; z-index: -1; }
.book-imprint { font-size: .56rem; letter-spacing: .2em; color: #e6c684; }
.book-orbit { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin: 18px 0 9px; border: 1px solid #65b8e750; border-radius: 50%; background: radial-gradient(circle, #259fe118 0, transparent 68%); }
.book-orbit:before { content: ""; position: absolute; inset: -10px; border: 1px solid #caac6055; border-radius: 50%; }
.book-orbit:after { content: ""; position: absolute; inset: -19px; border: 1px dashed #6abaff33; border-radius: 50%; }
.book-orbit img { width: 58px; height: auto; filter: drop-shadow(0 0 11px #1386d75c); }
.book-announcement-label { text-align: center; font-size: 1.3rem; font-weight: 550; letter-spacing: .055em; line-height: 1.25; color: #eef4fa; }
.book-announcement-status { margin-top: 16px; padding-top: 11px; width: 100%; border-top: 1px solid #bb9a5466; text-align: center; font-size: .53rem; letter-spacing: .2em; color: #e6c684; }
.book-artwork-note { position: relative; z-index: 2; margin: 24px -15px 0; color: #a7b9c8; font-size: .6rem; line-height: 1.6; text-align: center; }
.book-cover { display: block; position: relative; z-index: 1; width: 100%; height: auto; border-radius: 3px; box-shadow: 10px 17px 25px #0008; }
.book-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; color: #e5c48c; border: 1px solid #b6965966; border-radius: 3px; font-size: .57rem; font-weight: 650; letter-spacing: .16em; }
.book-publication-copy { min-width: 0; }
.book-publication-copy h3 { margin: 18px 0; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; }
.book-publication-copy > p { max-width: 480px; font-size: .87rem; line-height: 1.85; }
.book-publication-copy .book-release-date { font-size: .74rem; color: #a8bdce; margin: 20px 0 10px; }
.book-publication-copy .text-link { min-height: 44px; color: #a3dbfa; }
.bookshelf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 25px; }
.bookshelf-bottom p { margin: 0; max-width: 650px; font-size: .77rem; }
.bookshelf-bottom .text-link { min-height: 44px; white-space: nowrap; }
.bookshelf-page { margin-top: 42px; }
.bookshelf-page .books-section-title { margin: 0 0 26px; font-size: 1.45rem; }
.prose .book-publication { margin: 0; padding: 34px 30px 25px; gap: 30px; grid-template-columns: minmax(205px, .78fr) minmax(0, 1.22fr); }
.prose .book-publication h3 { margin: 18px 0; font-size: 1.75rem; }
.prose .book-artwork-note { font-size: .6rem; margin-bottom: 0; }
.books-future { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 35px; align-items: center; margin-top: 44px; padding: 33px 28px; border-top: 1px solid #3b4e60; background: #0d1927; border-radius: 5px; }
.books-future .eyebrow { font-size: .57rem; margin-bottom: 12px; }
.prose .books-future h2 { font-size: 1.45rem; margin: 0 0 14px; }
.books-future p { font-size: .82rem; }
.books-future .text-link { min-height: 44px; }
.future-book-spines { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 9px; padding: 13px 8px 16px; height: 172px; }
.future-book-spines:after { content: ""; position: absolute; left: -7px; right: -7px; bottom: 8px; height: 8px; border-radius: 2px; background: linear-gradient(#587086, #1e3547 70%); box-shadow: 0 9px 13px #0008; }
.future-book-spines span { width: 23px; height: 113px; border: 1px solid #54738e; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #0d2031, #294966 38%, #10283c); box-shadow: inset 3px 0 #ffffff08; }
.future-book-spines span:nth-child(2) { height: 136px; border-color: #8c7956; background: linear-gradient(90deg, #352a1a, #665135 40%, #2b241a); }
.future-book-spines span:nth-child(3) { height: 125px; transform: rotate(-7deg); margin-left: 4px; border-color: #548b9c; background: linear-gradient(90deg, #102b35, #275160 40%, #102b35); }
.future-book-spines span:nth-child(4) { height: 110px; background: linear-gradient(90deg, #172536, #354761 40%, #172536); }
.future-book-spines span:nth-child(5) { height: 142px; border-color: #7b7568; background: linear-gradient(90deg, #242f38, #52616c 40%, #26323c); }
@media (max-width: 760px) {
  .book-publication, .prose .book-publication { grid-template-columns: 1fr; gap: 30px; padding: 30px 26px 28px; }
  .book-artwork { max-width: 225px; }
  .book-publication-copy { text-align: center; }
  .book-publication-copy > p { margin-left: auto; margin-right: auto; }
  .bookshelf-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .books-future { grid-template-columns: 1fr; padding: 25px; gap: 18px; }
  .future-book-spines { width: 180px; margin: 0 auto; }
}
@media (max-width: 360px) {
  .book-publication, .prose .book-publication { padding-left: 20px; padding-right: 20px; }
  .book-artwork { max-width: 205px; }
}

/* The dedicated Bookshelf opens as an editorial room, beyond the article column. */
.books-page main.page-shell { padding-top: 46px; padding-bottom: 90px; }
.books-page .bookshelf-page { margin: 0; }
.books-editorial-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 44px; min-height: 540px; }
.books-editorial-copy { min-width: 0; padding: 25px 0 30px; }
.books-editorial-copy > .eyebrow { color: #b6c9dc; font-size: .64rem; letter-spacing: .19em; margin-bottom: 24px; }
.books-editorial-copy h1 { margin: 0; color: #ecf3fa; font-size: clamp(2.9rem, 4.7vw, 4.2rem); font-weight: 560; letter-spacing: -.055em; line-height: 1.1; text-wrap: initial; }
.books-editorial-copy h1 em { color: #e7cfa4; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.05em; }
.books-editorial-lede { max-width: 470px; margin: 24px 0 0; color: #b0c0d0; font-size: .98rem; line-height: 1.85; }
.books-first-feature { margin-top: 29px; padding-top: 26px; border-top: 1px solid #496178; max-width: 470px; }
.books-first-feature .book-status { font-size: .55rem; color: #e5ccaa; border-color: #b699655e; }
.books-first-feature h2 { margin: 15px 0 12px; font-size: 1.5rem; font-weight: 550; letter-spacing: -.035em; }
.books-first-feature > p { color: #adbdcd; margin: 0; font-size: .83rem; line-height: 1.85; }
.books-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 21px; margin-top: 22px; }
.books-hero-actions .button { font-size: .74rem; min-height: 46px; gap: 19px; }
.books-hero-actions .text-link { font-size: .74rem; min-height: 44px; }
.book-preorder { width: 100%; max-width: 420px; }
.book-waitlist .newsletter-entry { flex-direction: column; }
.book-waitlist .newsletter-entry .button { justify-content: center; white-space: normal; text-align: center; }
.book-waitlist .consent-label { margin-top: 13px; }
.book-waitlist .book-waitlist-description { color: #a5bbcf; font-size: .72rem; line-height: 1.7; margin: 10px 0 0; }
.book-waitlist .newsletter-status { margin-top: 8px; }
.books-stage-figure { min-width: 0; margin: 0; }
.books-stage { position: relative; height: 500px; isolation: isolate; border-radius: 12px; background: radial-gradient(ellipse at 52% 49%, #24638e2b, transparent 63%), linear-gradient(150deg, #101e2d00, #14283d26 50%, #0a172600); }
.books-stage-orbits { position: absolute; width: 330px; height: 330px; top: 36px; left: 50%; transform: translateX(-50%); border: 1px solid #659cd527; border-radius: 50%; }
.books-stage-orbits:before { content: ""; position: absolute; inset: -25px; border: 1px solid #6eacc922; border-radius: 50%; }
.books-stage-orbits:after { content: ""; position: absolute; inset: 25px; border: 1px solid #b5a77733; border-radius: 50%; }
.books-stage-orbits span:first-child { position: absolute; inset: 55px; border: 1px dashed #5fa3c73b; border-radius: 50%; }
.books-stage-orbits span:nth-child(2), .books-stage-orbits span:nth-child(3) { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #8cbcdc; box-shadow: 0 0 12px #61a8d9; }
.books-stage-orbits span:nth-child(2) { left: 25px; top: 66px; }
.books-stage-orbits span:nth-child(3) { right: 14px; bottom: 83px; background: #c5b07b; box-shadow: 0 0 10px #c5b07b50; }
.books-stage-first { position: absolute; z-index: 3; bottom: 88px; left: 17%; width: 245px; perspective: 1100px; }
.books-stage-first .book-announcement { padding: 26px 21px; box-shadow: 12px 21px 29px #000a, inset 4px 0 7px #e4d2a22b; transform: rotateY(-17deg) rotateX(3deg); }
.books-stage-first .book-orbit { width: 124px; height: 124px; margin: 23px 0 13px; }
.books-stage-first .book-orbit img { width: 67px; }
.books-stage-first .book-announcement-label { font-size: 1.52rem; letter-spacing: .08em; }
.books-stage-first .book-imprint { font-size: .6rem; }
.books-stage-first .book-announcement-status { font-size: .57rem; margin-top: 21px; padding-top: 12px; }
.books-stage-first .book-cover { box-shadow: 12px 21px 29px #000a; }
.books-reserved-spines { position: absolute; z-index: 1; bottom: 87px; right: 12%; display: flex; gap: 12px; align-items: flex-end; transform: skewY(-2deg); }
.books-reserved-spines span { width: 26px; height: 238px; border: 1px solid #5c819750; border-radius: 4px 5px 0 0; background: linear-gradient(90deg, #102030, #233d4e6b 44%, #112335); box-shadow: inset 3px 0 #8fb9d511, 7px 5px 10px #0004; }
.books-reserved-spines span:nth-child(2) { height: 264px; width: 31px; border-color: #9d8c6452; background: linear-gradient(90deg, #20252c, #50452f40 44%, #1e2531); }
.books-reserved-spines span:nth-child(3) { height: 218px; width: 24px; border-color: #5c819744; background: linear-gradient(90deg, #122437, #233d5544 44%, #122235); }
.books-stage-shelf { position: absolute; z-index: 4; bottom: 75px; left: 6%; right: 4%; height: 14px; border-top: 1px solid #b4c4d080; border-bottom: 1px solid #02101f; border-radius: 3px; background: linear-gradient(180deg, #658093, #344b61 30%, #1a2e43 70%, #081323); box-shadow: 0 18px 23px #000b, 0 -2px 7px #8bbdd328; }
.books-stage-imprint { position: absolute; bottom: 29px; left: 0; right: 0; color: #8faac0; text-align: center; font-size: .51rem; letter-spacing: .2em; }
.books-stage-figure > .book-artwork-note { margin: 1px 0 0; font-size: .64rem; color: #a7bacb; }
.books-details-bar { display: grid; grid-template-columns: .9fr 1fr 1.15fr; gap: 35px; align-items: start; margin-top: 28px; padding: 29px 0; border-top: 1px solid #61758870; border-bottom: 1px solid #61758870; }
.books-detail-label { display: block; margin-bottom: 9px; color: #9fb5c9; font-size: .55rem; letter-spacing: .14em; }
.books-details-bar strong { color: #dfc99f; font-size: .95rem; font-weight: 550; }
.books-details-bar p { margin: 0; font-size: .83rem; color: #c3d2df; }
.books-horizon { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 65px; align-items: center; padding: 67px 0 16px; }
.books-horizon-copy { max-width: 440px; }
.books-horizon-copy .eyebrow { color: #adbfce; font-size: .59rem; margin-bottom: 18px; }
.books-horizon-copy h2 { margin: 0 0 20px; color: #e0ebf4; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 500; line-height: 1.13; }
.books-horizon-copy p:not(.eyebrow) { color: #aebfd0; font-size: .87rem; line-height: 1.85; }
.books-horizon-copy .text-link { min-height: 44px; }
.books-horizon-display { position: relative; min-width: 0; height: 275px; padding: 18px 34px 0; background: radial-gradient(ellipse at 50% 69%, #28557321, transparent 63%); }
.books-empty-volumes { display: flex; align-items: flex-end; justify-content: center; gap: 20px; height: 210px; position: relative; z-index: 1; }
.books-empty-volumes span { display: block; width: 52px; height: 163px; border: 1px solid #57708670; border-radius: 4px 7px 0 0; background: linear-gradient(90deg, #0a1725, #283d516b 18%, #172b3d42 56%, #0b1928); box-shadow: inset 5px 0 #88b0c111, 10px 1px 14px #0005; }
.books-empty-volumes span:nth-child(2) { height: 185px; border-color: #9e916250; background: linear-gradient(90deg, #111d2b, #62533528 18%, #28323922 56%, #111b27); }
.books-empty-volumes span:nth-child(3) { height: 172px; transform: rotate(-6deg); transform-origin: bottom; margin-left: 8px; border-color: #628e9f77; }
.books-empty-volumes span:nth-child(4) { height: 149px; }
.books-empty-volumes span:nth-child(5) { height: 194px; border-color: #8a96a150; }
.books-horizon-shelf { position: absolute; left: 16px; right: 16px; top: 228px; height: 10px; z-index: 2; border-top: 1px solid #9caeba77; border-radius: 2px; background: linear-gradient(180deg, #627c91, #1a3045 40%, #0b1827); box-shadow: 0 15px 20px #0008; }
.books-horizon-label { display: block; padding-top: 21px; text-align: center; color: #91aabd; font-size: .51rem; letter-spacing: .18em; }
.books-catalog { padding-top: 57px; }
.books-section-heading { margin-bottom: 30px; }
.books-section-heading .eyebrow { margin-bottom: 12px; }
.books-catalog .publication-shelf { gap: 30px; }
@media (max-width: 1100px) {
  .books-editorial-hero { gap: 25px; }
  .books-editorial-copy h1 { font-size: 3rem; }
  .books-stage { height: 465px; }
  .books-stage-first { width: 220px; left: 12%; }
  .books-stage-first .book-orbit { width: 110px; height: 110px; margin-top: 18px; }
  .books-reserved-spines { right: 8%; gap: 10px; }
  .books-reserved-spines span { width: 23px; height: 215px; }
  .books-reserved-spines span:nth-child(2) { width: 26px; height: 234px; }
  .books-reserved-spines span:nth-child(3) { width: 20px; height: 204px; }
  .books-horizon { gap: 35px; }
  .books-empty-volumes { gap: 14px; }
  .books-empty-volumes span { width: 43px; }
}
@media (max-width: 900px) {
  .books-editorial-hero { grid-template-columns: 1fr; gap: 5px; }
  .books-editorial-copy { max-width: 680px; padding: 10px 0 15px; }
  .books-editorial-copy h1 { font-size: clamp(2.7rem, 6.5vw, 4.1rem); }
  .books-editorial-lede, .books-first-feature { max-width: 610px; }
  .books-stage-figure { width: min(100%, 620px); justify-self: center; }
  .books-stage { height: 460px; }
  .books-stage-first { left: 24%; width: 245px; }
  .books-reserved-spines { right: 14%; }
  .books-horizon { grid-template-columns: 1fr 1fr; gap: 20px; }
  .books-empty-volumes { gap: 10px; }
  .books-empty-volumes span { width: 33px; }
}
@media (max-width: 600px) {
  .books-page main.page-shell { padding-top: 31px; padding-bottom: 65px; }
  .books-editorial-copy > .eyebrow { font-size: .55rem; margin-bottom: 21px; }
  .books-editorial-copy h1 { font-size: clamp(2.5rem, 8.2vw, 3.2rem); }
  .books-editorial-lede { margin-top: 21px; font-size: .87rem; }
  .books-first-feature { margin-top: 24px; padding-top: 23px; }
  .books-hero-actions { gap: 10px 17px; }
  .books-stage { height: 407px; }
  .books-stage-first { width: 210px; left: 14%; bottom: 68px; }
  .books-stage-first .book-announcement { padding: 23px 17px; }
  .books-stage-first .book-orbit { width: 101px; height: 101px; margin: 16px 0 9px; }
  .books-stage-first .book-orbit img { width: 59px; }
  .books-stage-first .book-announcement-label { font-size: 1.31rem; }
  .books-reserved-spines { bottom: 68px; right: 7%; gap: 8px; }
  .books-reserved-spines span { width: 18px; height: 183px; }
  .books-reserved-spines span:nth-child(2) { width: 21px; height: 202px; }
  .books-reserved-spines span:nth-child(3) { display: none; }
  .books-stage-orbits { width: min(265px, calc(100% - 52px)); height: auto; aspect-ratio: 1; top: 43px; }
  .books-stage-shelf { bottom: 55px; left: 2%; right: 2%; }
  .books-stage-imprint { bottom: 17px; font-size: .44rem; }
  .books-details-bar { grid-template-columns: 1fr; gap: 21px; padding: 24px 0; margin-top: 31px; }
  .books-detail-label { margin-bottom: 6px; }
  .books-horizon { grid-template-columns: 1fr; gap: 13px; padding-top: 43px; }
  .books-horizon-copy { max-width: 480px; }
  .books-horizon-copy h2 { font-size: 2.2rem; }
  .books-horizon-display { width: min(100%, 390px); justify-self: center; padding-left: 22px; padding-right: 22px; }
  .books-empty-volumes { gap: 14px; }
  .books-empty-volumes span { width: 41px; }
  .books-stage-figure > .book-artwork-note { font-size: .6rem; }
}
@media (max-width: 560px) {
  .books-editorial-hero { gap: 0; }
  .books-editorial-copy { display: contents; }
  .books-editorial-copy > .eyebrow { grid-row: 1; }
  .books-editorial-copy > h1 { grid-row: 2; }
  .books-editorial-lede { grid-row: 3; }
  .books-stage-figure { grid-row: 4; margin-top: 12px; }
  .books-first-feature { grid-row: 5; margin-top: 25px; }
}
@media (max-width: 360px) {
  .books-stage-first { width: 190px; left: 14%; }
  .books-stage-first .book-orbit { width: 91px; height: 91px; }
  .books-stage-first .book-announcement-label { font-size: 1.2rem; }
  .books-empty-volumes { gap: 11px; }
  .books-empty-volumes span { width: 36px; }
}

/* Shared navigation: destinations expand into a second row, never over the page. */
.site-header { position: relative; }
.nav-enhanced .site-header { position: sticky; }
.header-inner { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 13px 40px; gap: 20px; }
.brand { gap: 6px; font-size: 1.25rem; letter-spacing: -.02em; flex-shrink: 0; }
.brand-name { display: inline; }
.brand-mark { width: 24px; height: 28px; margin: 0; flex-shrink: 0; }
.brand-ai { margin: 0; }
.book-author { color: #d2e3f1; font-size: .83rem; }
.book-subtitle { color: #cadbea; font-size: .93rem; }
.brand .domain { margin: 0; font-size: .92em; letter-spacing: -.02em; color: #c5d4e0; }
.site-nav { display: block; width: auto; margin: 0 0 0 auto; padding: 0; border: 0; }
.nav-primary { display: flex; align-items: center; gap: 21px; }
.site-nav a, .site-nav button { min-height: 44px; gap: 7px; padding: 8px 0; color: #c8d5e1; font-size: .78rem; white-space: nowrap; }
.site-nav .nav-tools-toggle { display: none; border: 0; background: none; }
.nav-enhanced .site-nav .nav-tools-toggle { display: inline-flex; }
.site-nav .nav-subscribe { min-height: 44px; padding: 10px 17px; border: 1px solid #f0cc90; border-radius: 6px; background: #edc483; color: #101922; font-weight: 750; }
.site-nav .nav-subscribe:hover { background: #ffdfa9; color: #101922; }
.nav-tools-toggle[aria-expanded="true"] { color: #8dddff; }
.nav-tools-toggle span { transition: transform .15s; }
.nav-tools-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.header-subnav { border-top: 1px solid #365064; background: #0d1d2c; }
.tools-row-inner { display: flex; align-items: center; justify-content: flex-end; gap: 12px 25px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.tools-row-inner a { display: inline-flex; align-items: center; min-height: 44px; color: #d4e7f5; font-size: .81rem; }
.tools-row-inner a[aria-current="page"] { color: #8dddff; text-decoration: underline; text-underline-offset: 6px; }
.header-controls { display: flex; align-items: center; gap: 8px; }
.footer-inner nav a { gap: 6px; }
.newsletter-inline { grid-template-columns: 1fr 1fr; gap: 30px; margin: 44px 0; padding: 30px; border: 1px solid #6f684f; border-radius: 10px; background: linear-gradient(120deg, #192839, #101d2d); scroll-margin-top: 110px; }
.prose .newsletter-inline h2 { margin: 0 0 17px; color: #f0f5fa; font-size: 1.75rem; }
.newsletter-inline .eyebrow { color: #edc483; font-size: .64rem; }
.newsletter-inline .newsletter-note { color: #becddd; }
.newsletter-inline .consent-label a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .newsletter-inline { grid-template-columns: 1fr; padding: 25px; gap: 23px; }
}
@media (max-width: 440px) {
  .newsletter-inline { padding: 22px 19px; scroll-margin-top: 88px; }
}
.header-assistant { width: 44px; height: 44px; padding: 0; border: 1px solid #598cae; border-radius: 6px; background: #102c43; color: #b9e7ff; font-size: 1.2rem; }
.header-assistant:hover { background: #1c405b; }
.nav-toggle { display: none; }
/* A compact desktop launcher lives outside the maximum content column.
   At narrower widths, the reserved header control replaces it. */
.assistant-launcher { display: none; }
.assistant-launcher-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1360px) {
  .assistant-launcher { display: flex; width: 48px; height: 48px; min-height: 48px; padding: 0; right: 18px; bottom: 24px; gap: 0; border-radius: 50%; }
  .assistant-launcher > span:first-child { display: inline; font-size: 1.35rem; }
  .header-assistant { display: none; }
}
@media (max-width: 1100px) {
  .header-inner { padding-left: 30px; padding-right: 30px; gap: 14px; }
  .nav-primary { gap: 14px; }
  .site-nav a, .site-nav button { font-size: .74rem; }
}
@media (max-width: 1000px) {
  html { scroll-padding-top: 88px; }
  .monthly-updates { scroll-margin-top: 24px; }
  .nav-enhanced .mobile-nav-open { max-height: calc(100dvh - 20px); overflow-y: auto; }
  .header-inner { padding: 11px 24px; justify-content: space-between; gap: 8px; }
  .header-controls { margin-left: auto; }
  .site-nav { width: 100%; margin: 0; order: 3; }
  .nav-primary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; padding: 10px 0 5px; border-top: 1px solid #31465a; }
  .site-nav a, .site-nav button { justify-content: flex-start; min-height: 48px; white-space: normal; font-size: .83rem; }
  .site-nav .nav-subscribe { justify-content: center; }
  .nav-enhanced .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 8px 11px; border: 1px solid #46677e; border-radius: 6px; background: #102234; color: #d4e7f5; font-size: .78rem; }
  .nav-enhanced .site-nav { display: none; }
  .nav-enhanced .mobile-nav-open .site-nav { display: block; }
  .tools-row-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; justify-content: stretch; }
  .tools-row-inner a { font-size: .78rem; }
}
@media (max-width: 520px) {
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 1.08rem; gap: 4px; }
  .brand-mark { width: 20px; height: 24px; }
  .nav-primary, .tools-row-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a, .site-nav button { font-size: .8rem; }
}
@media (max-width: 360px) {
  .brand { font-size: 1rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-controls { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-tools-toggle span { transition: none; }
}

/* Book launch entry points share one consent-based waitlist destination. */
.site-nav .nav-preorder { color: #8dddff; font-weight: 650; }
.nav-primary { flex-wrap: wrap; }
.hero-preorder { flex-basis: 100%; padding: 8px 0; }
.footer-book { display: flex; flex-basis: 100%; align-items: center; gap: 24px; padding: 26px; border: 1px solid #37536b; border-radius: 10px; background: #0d1b2a; }
.footer-book img { width: 72px; height: auto; flex-shrink: 0; border-radius: 3px; }
.footer-book > div { flex: 1; }
.footer-book h2 { font-size: clamp(1.1rem, 2.3vw, 1.45rem); line-height: 1.3; margin: 6px 0; }
.footer-book .eyebrow { color: #8dddff; }
.footer-book .button { max-width: 100%; }
#books-first-waitlist-form { scroll-margin-top: 120px; }
@media (max-width: 700px) {
  .footer-book { flex-wrap: wrap; gap: 16px; padding: 22px; }
  .footer-book > div { flex-basis: calc(100% - 88px); }
  .footer-book .button { width: 100%; text-align: center; }
}


/* Physical book presentation: uploaded artwork remains the front cover. */
.book-volume {
  --book-depth: 44px;
  position: relative;
  width: 100%;
  aspect-ratio: 853 / 1280;
  transform-style: preserve-3d;
  transform: translateY(var(--book-lift, 0px)) rotateX(-14deg) rotateY(28deg) rotateZ(-1deg);
  transform-origin: center bottom;
}
.book-volume-front, .book-volume-back, .book-volume-spine, .book-volume-pages {
  position: absolute;
  backface-visibility: hidden;
}
.book-volume-front {
  inset: 0;
  transform: translateZ(calc(var(--book-depth) / 2));
  border-radius: 2px 4px 4px 2px;
  background: #101010;
  box-shadow: 18px 14px 28px #0008;
}
.book-volume-front .book-cover {
  position: static;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: none;
}
.book-volume-front:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 1px 0 #e6c8864d, inset -1px 0 #ffffff14;
  background: linear-gradient(90deg, #0007 0, #0000 2%, #ffffff12 3%, #0002 4%, #0000 7%);
  pointer-events: none;
}
.book-volume-back {
  inset: 0;
  transform: rotateY(180deg) translateZ(calc(var(--book-depth) / 2));
  background: #111;
  border: 1px solid #6e5b3b;
  border-radius: 3px;
}
.book-volume-spine {
  top: 0;
  bottom: 0;
  left: calc(var(--book-depth) / -2);
  width: var(--book-depth);
  transform: rotateY(-90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 20px 4px;
  background: linear-gradient(90deg, #060606, #29241b 30%, #15130f 65%, #070707);
  border: 1px solid #6e5b3b;
  border-radius: 3px 0 0 3px;
  color: #e7d7b7;
  writing-mode: vertical-rl;
}
.book-volume-spine span { font-size: 13px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.book-volume-spine small { font-size: 7px; letter-spacing: .12em; }
.book-volume-pages {
  background: repeating-linear-gradient(0deg, #eee5d0 0, #eee5d0 1px, #c7bea7 1px, #c7bea7 2px);
  border: 2px solid #191611;
}
.book-volume-top, .book-volume-bottom {
  left: 0;
  width: 100%;
  height: var(--book-depth);
}
.book-volume-top { top: calc(var(--book-depth) / -2); transform: rotateX(90deg); }
.book-volume-bottom { bottom: calc(var(--book-depth) / -2); transform: rotateX(-90deg); }
.book-volume-edge {
  top: 0;
  bottom: 0;
  left: calc(100% - var(--book-depth) / 2);
  width: var(--book-depth);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #eee5d0 0, #eee5d0 1px, #c7bea7 1px, #c7bea7 2px);
}
.book-artwork:has(.book-volume) { --book-lift: -36px; padding-top: 36px; }
.book-artwork:has(.book-volume):after { bottom: 13px; z-index: 2; }
.books-stage-first:has(.book-volume) { bottom: 124px; }
@media (max-width: 600px) {
  .book-volume { --book-depth: 36px; }
  .book-volume-spine span { font-size: 11px; }
  .book-volume-spine small { font-size: 6px; }
  .books-stage-first:has(.book-volume) { bottom: 98px; }
}

/* Cite-this block: visible, copyable citation for guides and dated news pages. */
.cite-this { margin-top: 40px; padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.cite-this h2 { margin: 0 0 14px; font-size: 1.05rem; }
.cite-meta { display: grid; gap: 10px; margin: 0 0 14px; }
.cite-meta div { display: grid; gap: 2px; }
.cite-meta dt { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.cite-meta dd { margin: 0; overflow-wrap: anywhere; }
.cite-text { margin: 0 0 6px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--surface2); overflow-wrap: anywhere; font-size: .9rem; }
.cite-copy[hidden] { display: none; }
