:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --surface: #13131a;
  --surface-raised: #191922;
  --purple: #8b5cf6;
  --purple-light: #b79aff;
  --orange: #f59e0b;
  --orange-light: #ffc24b;
  --blue: #38bdf8;
  --blue-light: #7dd3fc;
  --text: #f8f8fa;
  --muted: #9ca3af;
  --faint: #6b7280;
  --border: rgba(139, 92, 246, 0.18);
  --border-strong: rgba(139, 92, 246, 0.34);
  --shell: 1240px;
  --header-height: 72px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--purple);
  color: #fff;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 760;
}

h3 {
  font-weight: 650;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
}

.brand__mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  align-items: end;
  gap: 3px;
  width: 18px;
  height: 18px;
}

.brand__mark span {
  display: block;
  width: 4px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--orange), var(--purple));
}

.brand__mark span:nth-child(1) {
  height: 9px;
}
.brand__mark span:nth-child(2) {
  height: 17px;
}
.brand__mark span:nth-child(3) {
  height: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.button) {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--purple);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--text);
}

.site-nav > a:not(.button):hover {
  color: var(--purple-light);
  transform: scale(1.06);
}

.site-nav > .button:hover {
  background: var(--text);
  color: var(--purple);
  transform: scale(1.05);
}

.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav > .button[aria-current="page"] {
  background: var(--purple);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.28);
  color: #fff;
}

.site-nav > .button[aria-current="page"]:hover {
  background: var(--text);
  color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button--compact {
  min-height: 38px;
  padding-inline: 16px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
}

.button--primary {
  background: var(--purple);
  box-shadow: 0 12px 34px rgba(139, 92, 246, 0.28);
  color: #fff;
}

.button--primary:hover {
  box-shadow: 0 16px 42px rgba(139, 92, 246, 0.4);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.button--secondary:hover,
.button--ghost:hover {
  border-color: var(--border-strong);
  background: rgba(139, 92, 246, 0.08);
}

.button--light {
  background: var(--text);
  color: var(--bg);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 40px);
  padding: calc(var(--header-height) + 46px) 0 84px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
  pointer-events: none;
}

.neural-field,
.hero__grid,
.hero__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.neural-field {
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.hero__grid {
  z-index: -4;
  background-image: linear-gradient(rgba(139, 92, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  animation: grid-drift 24s linear infinite;
}

.hero__aurora {
  z-index: -3;
  filter: blur(80px);
  opacity: 0.44;
}

.hero__aurora--purple {
  inset: 4% -8% 26% 44%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.7), transparent 68%);
  animation: aurora-purple 12s ease-in-out infinite alternate;
}

.hero__aurora--orange {
  inset: 34% 4% 3% 64%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.42), transparent 68%);
  animation: aurora-orange 10s ease-in-out infinite alternate;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__copy .eyebrow span {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
}

.hero h1 {
  margin-bottom: 28px;
  font-size: 72px;
  line-height: 0.98;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--text) 10%, var(--purple-light) 54%, var(--orange-light));
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero__badges li {
  position: relative;
  padding: 7px 11px 7px 25px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(19, 19, 26, 0.58);
  color: #c7c9d1;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero__badges li::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  content: "";
  transform: translateY(-50%);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  transform: perspective(1100px) rotateX(var(--book-rx, 0deg)) rotateY(var(--book-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 260ms ease-out;
}

.hero__visual picture {
  position: relative;
  z-index: 2;
}

.hero__visual img {
  width: min(100%, 590px);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 42px 48px rgba(0, 0, 0, 0.58));
}

.book-glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.8), rgba(245, 158, 11, 0.72), rgba(139, 92, 246, 0.1));
  filter: blur(60px);
  opacity: 0.54;
  animation: book-glow 9s ease-in-out infinite alternate;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(183, 154, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit--one {
  width: 88%;
  height: 56%;
}
.orbit--two {
  width: 66%;
  height: 85%;
  transform: rotate(48deg);
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: var(--text);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 132px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 100px;
  margin-bottom: 72px;
}

.section-heading h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: 52px;
}

.section-heading > p,
.section-heading--center > p,
.final-cta__inner > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-heading--center {
  display: block;
  max-width: 760px;
  text-align: center;
}

.section-heading--center h2 {
  margin-bottom: 22px;
}

.section-heading--center > p {
  max-width: 640px;
  margin-inline: auto;
}

.section--intro {
  background: linear-gradient(180deg, var(--bg), #0d0d13 45%, var(--bg));
}

.citation-section {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 78% 42%, rgba(139, 92, 246, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0d13, var(--bg));
}

.citation-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.citation-heading h2 {
  margin-bottom: 24px;
  font-size: 48px;
}

.citation-heading > p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.citation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(19, 19, 26, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.citation-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px 16px 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.citation-copy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.citation-copy:hover {
  border-color: var(--border-strong);
  background: rgba(139, 92, 246, 0.12);
}

.citation-copy.is-copied {
  border-color: rgba(125, 211, 252, 0.45);
  color: var(--blue-light);
}

.citation-copy svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.citation-code {
  margin: 0;
  padding: 28px 30px 32px;
  overflow-x: auto;
  color: #d8d5e5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.85;
  tab-size: 2;
}

.citation-code code {
  font: inherit;
}

.book-toc {
  display: grid;
  max-width: 1100px;
  gap: 14px;
}

.toc-part {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(25, 25, 34, 0.9), rgba(19, 19, 26, 0.58));
}

.toc-part summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 18px 26px;
  cursor: pointer;
  list-style: none;
}

.toc-part summary::-webkit-details-marker {
  display: none;
}

.toc-part summary::after {
  color: var(--purple-light);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  text-align: center;
}

.toc-part[open] summary::after {
  content: "−";
}

.toc-part summary > span:first-child {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 760;
}

.toc-part summary strong {
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", Avenir, sans-serif;
  font-size: 21px;
}

.toc-part summary > span:last-of-type {
  color: var(--faint);
  font-size: 12px;
}

.toc-part summary:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: -4px;
}

.toc-list {
  margin: 0;
  padding: 10px 28px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  list-style: none;
}

.toc-entry {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(24px, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding-block: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.toc-entry::after {
  grid-column: 2;
  grid-row: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.22);
  content: "";
  transform: translateY(-0.35em);
}

.toc-entry > span:first-child {
  grid-column: 1;
  min-width: 0;
}

.toc-entry > span:last-child {
  grid-column: 3;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.toc-entry--chapter {
  margin-top: 18px;
  color: var(--text);
  font-size: 16px;
  font-weight: 680;
}

.toc-entry--chapter:first-child {
  margin-top: 8px;
}

.toc-entry--section {
  padding-left: 20px;
}

.toc-entry--subsection {
  padding-left: 44px;
  color: #a8aab4;
  font-size: 13px;
}

.section--why::before {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 70%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.09), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.back-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: 980px;
  gap: 36px;
  text-align: center;
}

.back-cover__heading h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: 52px;
}

.back-cover__copy {
  max-width: 940px;
  margin-inline: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(25, 25, 34, 0.86), rgba(19, 19, 26, 0.52));
}

.back-cover__copy p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.back-cover__copy p:last-child {
  margin-bottom: 0;
}

.back-cover__copy .back-cover__lead {
  color: var(--text);
  font-size: 19px;
}

.author-card > span {
  display: grid;
  grid-area: avatar;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.24), rgba(245, 158, 11, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 760;
}

.final-cta {
  position: relative;
  padding: 156px 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final-cta::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.final-cta__aurora {
  position: absolute;
  z-index: -2;
  inset: 10% 10%;
  background: radial-gradient(ellipse at 35% 50%, rgba(139, 92, 246, 0.45), transparent 52%),
    radial-gradient(ellipse at 68% 52%, rgba(245, 158, 11, 0.3), transparent 50%);
  filter: blur(65px);
  animation: final-aurora 10s ease-in-out infinite alternate;
}

.final-cta__inner {
  max-width: 900px;
}

.final-cta h2 {
  margin-bottom: 26px;
  font-size: 60px;
}

.final-cta__inner > p {
  max-width: 650px;
  margin-inline: auto;
}

.final-cta .hero__actions {
  justify-content: center;
  margin-top: 36px;
}

.site-footer {
  padding: 54px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #09090c;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
}

.site-footer__inner > div:first-child p {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  gap: 28px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint);
  font-size: 11px;
}

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 110px) 0 86px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(ellipse at 75% 25%, rgba(139, 92, 246, 0.15), transparent 48%), linear-gradient(180deg, #0d0d13, var(--bg));
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black 70%, transparent);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: 66px;
}

.page-lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.purchase-section {
  position: relative;
  padding-block: 88px 130px;
}

.purchase-section__heading {
  margin-bottom: 42px;
  text-align: center;
}

.purchase-section__heading .eyebrow {
  margin-bottom: 14px;
}

.purchase-section__heading h2 {
  margin: 0;
  font-size: 48px;
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.purchase-grid--two-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(28, 27, 40, 0.96), rgba(16, 16, 23, 0.82));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.purchase-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  content: "";
}

.purchase-card::after {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.purchase-card--orange::after {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 68%);
}

.purchase-card--national::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
}

.purchase-card--national::before {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.purchase-card--orange::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.purchase-card--contact::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
}

.purchase-card--contact {
  border-color: rgba(139, 92, 246, 0.28);
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.1), transparent 52%),
    linear-gradient(145deg, rgba(28, 27, 40, 0.98), rgba(16, 16, 23, 0.86));
}

.purchase-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.purchase-card > * {
  position: relative;
  z-index: 1;
}

.purchase-card__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 36px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.04em;
}

.purchase-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-light);
}

.purchase-card--orange .purchase-card__icon {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.1);
  color: var(--orange-light);
}

.purchase-card--national .purchase-card__icon {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.1);
  color: var(--blue-light);
}

.purchase-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purchase-card__label {
  margin-bottom: 12px;
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.purchase-card--orange .purchase-card__label {
  color: var(--orange-light);
}

.purchase-card--national .purchase-card__label {
  color: var(--blue-light);
}

.purchase-card h2 {
  margin-bottom: 18px;
  font-size: 29px;
}

.purchase-card > p:not(.purchase-card__label) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
}

.purchase-card__action {
  width: 100%;
  margin-top: auto;
  padding-inline: 16px;
}

.purchase-note {
  margin: 28px auto 0;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

.book-gallery {
  margin-top: 118px;
}

.book-gallery__heading {
  margin-bottom: 42px;
  text-align: center;
}

.book-gallery__heading .eyebrow {
  margin-bottom: 14px;
}

.book-gallery__heading h2 {
  margin: 0;
  font-size: 48px;
}

.book-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.book-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.book-gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition:
    filter 300ms ease,
    transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.book-gallery__item:hover img {
  filter: saturate(1.12);
  transform: scale(1.035);
}

.book-gallery__item figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(11, 11, 15, 0.74);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 11px;
  font-weight: 680;
}

.prose {
  max-width: 900px;
  padding-block: 90px 130px;
  color: #c6c8d0;
  font-size: 17px;
}

.prose--authors {
  max-width: 1120px;
}

.prose h2 {
  margin: 70px 0 20px;
  color: var(--text);
  font-size: 34px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 24px;
}

.prose a:not(.button) {
  color: var(--purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(183, 154, 255, 0.35);
  text-underline-offset: 4px;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 76px;
}

.author-card {
  position: relative;
  display: grid;
  grid-template-areas:
    "avatar name"
    "bio bio"
    "link link";
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 22px 20px;
  min-height: 0;
  padding: 38px 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(28, 27, 40, 0.96), rgba(16, 16, 23, 0.78));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.author-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--purple), var(--orange));
  content: "";
}

.author-card::after {
  position: absolute;
  top: -100px;
  right: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.author-card:nth-child(even)::after {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 68%);
}

.author-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.author-card > * {
  position: relative;
  z-index: 1;
}

.author-card h2 {
  grid-area: name;
  align-self: center;
  margin: 0;
  font-size: 27px;
}

.author-card p {
  grid-area: bio;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.prose .author-card__link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.author-card__link span {
  transition: transform 180ms ease;
}

.author-card__link:hover span {
  transform: translate(2px, -2px);
}

.contact-panel {
  scroll-margin-top: calc(var(--header-height) + 28px);
  margin: 0 0 76px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.1), rgba(245, 158, 11, 0.05));
}

.contact-panel h2 {
  margin: 0 0 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prose .contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(11, 11, 15, 0.48);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.prose .contact-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
}

.contact-card strong {
  font-size: 15px;
  font-weight: 650;
}

.page-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.1), rgba(245, 158, 11, 0.05));
}

.page-callout h2 {
  margin: 0;
  font-size: 25px;
}

.page-callout .eyebrow {
  margin-bottom: 10px;
}

.news-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prose--news {
  max-width: 980px;
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  margin-bottom: 104px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 0, rgba(245, 158, 11, 0.1), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(25, 25, 34, 0.96), rgba(13, 13, 19, 0.92));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.event-feature__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.event-feature__visual img {
  width: 100%;
  height: auto;
}

.event-feature__copy {
  padding-right: 18px;
}

.event-feature__copy .eyebrow {
  margin-bottom: 14px;
}

.prose .event-feature__copy h2 {
  margin: 0 0 20px;
  font-size: 36px;
}

.event-feature__copy > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
}

.event-feature__details {
  display: grid;
  gap: 22px;
  margin: 0;
}

.event-feature__details div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-feature__details dt {
  margin-bottom: 6px;
  color: var(--orange-light);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-feature__details dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.event-feature__details address {
  font-style: normal;
}

.prose .event-feature__registration {
  margin-top: 30px;
  color: #fff;
  text-decoration: none;
}

.social-posts {
  max-width: 800px;
  margin: 0 auto 92px;
}

.social-posts__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.social-posts__heading .eyebrow {
  margin-bottom: 10px;
}

.social-posts__heading h2 {
  margin: 0;
}

.social-carousel {
  padding: 20px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(28, 27, 40, 0.96), rgba(16, 16, 23, 0.82));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.social-carousel__viewport {
  width: 100%;
  margin-inline: auto;
}

.prose a.social-carousel__fallback {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.prose a.social-carousel__fallback:hover {
  border-color: var(--purple);
  box-shadow: 0 18px 46px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.social-carousel__fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.social-carousel__fallback:hover img {
  transform: scale(1.025);
}

.social-carousel__fallback-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.16), transparent 52%),
    linear-gradient(145deg, rgba(25, 25, 34, 0.98), rgba(13, 13, 19, 0.98));
}

.social-carousel__fallback-label {
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.social-carousel__fallback-copy time {
  color: var(--orange-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.2;
}

.social-carousel__fallback-copy strong {
  font-size: 22px;
  line-height: 1.12;
}

.social-carousel__fallback-summary {
  max-width: 470px;
  color: #c9cad2;
  font-size: 13px;
  line-height: 1.5;
}

.social-carousel__fallback-copy > span:last-child:not(.social-carousel__fallback-summary) {
  color: #d9dae0;
  font-size: 13px;
  font-weight: 700;
}

.social-carousel__slide:not([hidden]) {
  animation: carousel-enter 420ms ease both;
}

.social-carousel__controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.social-carousel__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--purple-light);
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.34);
  color: #fff;
  font-size: 21px;
  font-weight: 750;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.social-carousel__button:hover {
  border-color: #fff;
  background: #7542ec;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px) scale(1.05);
}

.social-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.social-carousel__dots {
  display: flex;
  gap: 8px;
}

.social-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--faint);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.social-carousel__dots button[aria-current="true"] {
  width: 26px;
  background: var(--purple-light);
}

.social-carousel__status {
  margin: 0;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item time {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.news-item p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes grid-drift {
  to {
    background-position: 64px 64px;
  }
}

@keyframes carousel-enter {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aurora-purple {
  from {
    transform: translate3d(-4%, -2%, 0) scale(0.96);
  }
  to {
    transform: translate3d(4%, 4%, 0) scale(1.08);
  }
}

@keyframes aurora-orange {
  from {
    transform: translate3d(3%, 4%, 0) scale(0.92);
  }
  to {
    transform: translate3d(-5%, -3%, 0) scale(1.08);
  }
}

@keyframes book-glow {
  from {
    transform: rotate(-8deg) scale(0.94);
    opacity: 0.45;
  }
  to {
    transform: rotate(8deg) scale(1.08);
    opacity: 0.68;
  }
}

@keyframes scroll-cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes final-aurora {
  from {
    transform: scale(0.96) translateX(-2%);
  }
  to {
    transform: scale(1.08) translateX(2%);
  }
}

@media (max-width: 1080px) {
  .purchase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-card:last-child {
    grid-column: 1 / -1;
    min-height: 350px;
  }

  .purchase-grid--two-options .purchase-card:last-child {
    grid-column: auto;
    min-height: 430px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: 60px;
  }
  .hero__visual {
    min-height: 520px;
  }
  .section-heading h2,
  .back-cover__heading h2 {
    font-size: 44px;
  }
  .back-cover {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .shell {
    width: min(calc(100% - 34px), var(--shell));
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 80px 32px 32px;
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 25px;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }
  .site-nav .button {
    margin-top: 28px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 54px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__copy {
    max-width: 720px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero__visual {
    min-height: 390px;
  }
  .hero__visual img {
    max-height: 410px;
  }
  .book-glow {
    width: 55%;
  }
  .scroll-cue {
    display: none;
  }

  .section {
    padding: 104px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 58px;
  }

  .section-heading > p {
    max-width: 650px;
  }
  .citation-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .citation-heading > p:last-child {
    max-width: 650px;
  }
  .back-cover {
    gap: 32px;
  }
  .back-cover__heading h2 {
    max-width: 680px;
  }
  .author-grid {
    grid-template-columns: 1fr;
  }
  .final-cta h2 {
    font-size: 50px;
  }

  .event-feature {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .hero {
    min-height: calc(100svh - 24px);
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 26px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: 45px;
  }

  .hero__lede {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero__actions .button--citation {
    grid-column: 1 / -1;
  }
  .button {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 12px;
  }
  .hero__badges {
    gap: 6px;
    margin-top: 18px;
  }
  .hero__badges li {
    padding: 6px 8px 6px 20px;
    font-size: 9px;
  }
  .hero__badges li::before {
    left: 8px;
  }
  .hero__visual {
    min-height: 265px;
  }
  .hero__visual img {
    max-height: 280px;
  }
  .book-glow {
    width: 64%;
    filter: blur(42px);
  }
  .orbit--one {
    width: 78%;
  }

  .section {
    padding: 82px 0;
  }
  .section-heading {
    margin-bottom: 44px;
  }
  .section-heading h2,
  .back-cover__heading h2 {
    font-size: 36px;
  }
  .section-heading > p,
  .section-heading--center > p {
    font-size: 15px;
  }

  .citation-heading h2 {
    margin-bottom: 18px;
    font-size: 36px;
  }
  .citation-heading > p:last-child {
    font-size: 15px;
  }
  .citation-card__header {
    padding: 10px 10px 10px 16px;
  }
  .citation-copy {
    padding-inline: 10px;
  }
  .citation-code {
    padding: 22px 20px 26px;
    font-size: 11px;
    line-height: 1.75;
  }

  .toc-part summary {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 10px;
    min-height: 74px;
    padding: 14px 16px;
  }

  .toc-part summary > span:last-of-type {
    display: none;
  }
  .toc-part summary strong {
    font-size: 17px;
  }
  .toc-list {
    padding: 8px 16px 24px;
  }
  .toc-entry {
    grid-template-columns: minmax(0, auto) minmax(12px, 1fr) auto;
    font-size: 12px;
  }
  .toc-entry--chapter {
    font-size: 14px;
  }
  .toc-entry--section {
    padding-left: 10px;
  }
  .toc-entry--subsection {
    padding-left: 20px;
    font-size: 11px;
  }
  .back-cover__copy {
    padding: 24px;
  }
  .back-cover__copy p {
    font-size: 15px;
  }
  .back-cover__copy .back-cover__lead {
    font-size: 17px;
  }

  .final-cta {
    padding: 104px 0;
  }
  .final-cta h2 {
    font-size: 41px;
  }
  .final-cta .hero__actions {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__links {
    flex-direction: column;
    gap: 10px;
  }
  .site-footer__legal {
    grid-column: auto;
  }

  .page-hero {
    padding: calc(var(--header-height) + 72px) 0 64px;
  }
  .page-hero h1 {
    font-size: 48px;
  }

  .purchase-section {
    padding-block: 56px 88px;
  }

  .purchase-section__heading {
    margin-bottom: 30px;
  }

  .purchase-section__heading h2 {
    font-size: 36px;
  }

  .book-gallery {
    margin-top: 82px;
  }

  .book-gallery__heading {
    margin-bottom: 30px;
  }

  .book-gallery__heading h2 {
    font-size: 36px;
  }

  .book-gallery__grid {
    grid-template-columns: 1fr;
  }

  .purchase-grid {
    grid-template-columns: 1fr;
  }

  .purchase-card,
  .purchase-card:last-child {
    grid-column: auto;
    min-height: 390px;
    padding: 30px;
  }

  .purchase-card h2 {
    font-size: 26px;
  }
  .page-lede {
    font-size: 16px;
  }
  .prose {
    padding-block: 64px 90px;
    font-size: 16px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .author-grid {
    grid-template-columns: 1fr;
  }
  .author-card {
    grid-template-areas:
      "avatar name"
      "bio bio"
      "link link";
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px 14px;
    padding: 26px 22px;
  }
  .author-card > span {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    font-size: 12px;
  }
  .author-card h2 {
    align-self: center;
    margin: 0;
    font-size: 22px;
  }
  .author-card p {
    font-size: 14px;
  }
  .prose .author-card__link {
    margin-top: 0;
  }
  .contact-panel {
    padding: 26px 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-callout {
    align-items: stretch;
    flex-direction: column;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-feature {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 76px;
    padding: 14px 14px 28px;
  }

  .event-feature__visual {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .event-feature__copy {
    padding-inline: 8px;
  }

  .prose .event-feature__copy h2 {
    font-size: 29px;
  }

  .social-posts {
    margin-bottom: 68px;
  }

  .social-posts__heading {
    align-items: start;
  }

  .social-carousel {
    padding: 10px 10px 12px;
  }

  .prose a.social-carousel__fallback {
    grid-template-columns: 1fr;
    height: auto;
  }

  .social-carousel__fallback img {
    height: 290px;
  }

  .social-carousel__fallback-copy {
    min-height: 230px;
    padding: 24px 22px;
  }

  .social-carousel__fallback-copy strong {
    font-size: 20px;
  }

  .social-carousel__fallback-summary {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .neural-field {
    display: none;
  }
}

@supports not (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled,
  .site-nav,
  .hero__badges,
  .button--secondary {
    background: rgba(19, 19, 26, 0.98);
  }
}
