:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #a9b4bd;
  --muted-strong: #cbd3d9;
  --night: #02070b;
  --night-soft: #07111a;
  --panel: rgba(8, 19, 29, 0.82);
  --panel-solid: #08131d;
  --line: rgba(117, 160, 187, 0.2);
  --line-strong: rgba(117, 186, 228, 0.42);
  --blue: #19baf2;
  --blue-soft: #71d6fa;
  --gold: #e4ad43;
  --gold-soft: #ffd981;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
  --font-display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(15, 128, 184, 0.13), transparent 28rem),
    radial-gradient(circle at 14% 32%, rgba(211, 151, 42, 0.08), transparent 24rem),
    var(--night);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 111, 150, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 111, 150, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #00121c;
  background: var(--blue-soft);
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(105, 150, 177, 0.16);
  background: rgba(2, 7, 11, 0.82);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.wordmark-number {
  color: var(--gold-soft);
  font-size: 1.2rem;
  font-weight: 900;
}

.wordmark-days {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -190px;
  right: -180px;
  border: 1px solid rgba(22, 174, 232, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(22, 174, 232, 0.025),
    0 0 0 125px rgba(22, 174, 232, 0.018);
}

.hero::after {
  right: 4%;
  bottom: 0;
  left: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 34px rgba(228, 173, 67, 0.8);
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(300px, 0.8fr) minmax(440px, 1.2fr);
  align-items: center;
  gap: clamp(60px, 8vw, 126px);
  padding-block: 72px 88px;
}

.cover-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 398px);
  perspective: 1600px;
}

.cover-halo {
  position: absolute;
  inset: 10% -18% -7%;
  border-radius: 50%;
  opacity: 0.48;
  filter: blur(32px);
  background:
    radial-gradient(circle at 50% 75%, rgba(226, 164, 53, 0.4), transparent 36%),
    radial-gradient(circle at 45% 30%, rgba(0, 161, 225, 0.32), transparent 55%);
}

.book-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  border: 1px solid rgba(242, 196, 102, 0.42);
  border-radius: 3px 8px 8px 3px;
  transform: rotateY(4deg) rotateX(0.5deg);
  box-shadow:
    -13px 8px 0 #020508,
    -14px 8px 0 rgba(242, 196, 102, 0.24),
    0 38px 76px rgba(0, 0, 0, 0.66),
    0 0 44px rgba(0, 153, 218, 0.1);
}

.cover-edge {
  position: absolute;
  z-index: 3;
  top: 1.3%;
  bottom: 1.3%;
  left: 1px;
  width: 6px;
  opacity: 0.5;
  background: linear-gradient(90deg, #020407, rgba(255, 208, 112, 0.4));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow,
.section-kicker,
.gallery-label {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow span {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1;
}

h1 {
  margin: 0;
  font-size: clamp(4.8rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #fff1bd 0%, var(--gold) 45%, #98631a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 40px rgba(228, 173, 67, 0.08);
}

.book-subtitle {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--blue-soft);
  font-size: clamp(1.2rem, 2.2vw, 1.78rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.book-deck {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.bestseller-proof {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(228, 173, 67, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(228, 173, 67, 0.12), rgba(11, 43, 60, 0.42)),
    rgba(6, 16, 24, 0.72);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.bestseller-seal {
  display: grid;
  flex: 0 0 58px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 230, 166, 0.72);
  border-radius: 50%;
  color: #071116;
  background: linear-gradient(145deg, #fff0b8, var(--gold) 72%);
  box-shadow: 0 0 28px rgba(228, 173, 67, 0.22);
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bestseller-copy p {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bestseller-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 5px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.35;
  list-style: none;
}

.bestseller-copy li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bestseller-copy li::before {
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--blue);
  box-shadow: 0 0 10px rgba(25, 186, 242, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

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

.button-primary {
  color: #051014;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 10px 30px rgba(228, 173, 67, 0.18);
}

.button-primary:hover {
  box-shadow: 0 15px 38px rgba(228, 173, 67, 0.3);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--blue-soft);
  background: rgba(10, 31, 44, 0.48);
}

.button-secondary:hover {
  border-color: var(--blue);
  background: rgba(16, 76, 106, 0.3);
}

.hero-facts {
  display: flex;
  margin: 38px 0 0;
  gap: 0;
}

.hero-facts div {
  display: grid;
  min-width: 116px;
  padding-inline: 20px;
  border-left: 1px solid var(--line);
  gap: 2px;
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 850;
  line-height: 1;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publisher-line {
  margin: 22px 0 0;
  color: #788994;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.publisher-line strong {
  color: #aab8c0;
}

.section {
  position: relative;
  padding-block: clamp(86px, 11vw, 150px);
}

.assessment {
  overflow: hidden;
}

.assessment-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(215, 169, 77, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(13, 34, 48, 0.92), rgba(6, 15, 23, 0.94)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.assessment-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(51, 140, 190, 0.08) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(51, 140, 190, 0.08) 50%, transparent 50.2%);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.assessment-copy,
.assessment-visual {
  position: relative;
  z-index: 1;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.assessment-copy > p:not(.section-kicker) {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--gold-soft);
  font-weight: 850;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.assessment-visual {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.assessment-visual::before,
.assessment-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(31, 183, 239, 0.22);
  border-radius: 50%;
}

.assessment-visual::before {
  inset: 5%;
}

.assessment-visual::after {
  inset: 20%;
  border-color: rgba(228, 173, 67, 0.32);
}

.assessment-core {
  display: grid;
  z-index: 3;
  width: 116px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(7, 19, 28, 0.86);
  box-shadow: 0 0 50px rgba(228, 173, 67, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.signal {
  position: absolute;
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-soft);
  background: #07131c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-one {
  top: 4%;
  left: 20%;
}

.signal-two {
  right: 3%;
  bottom: 28%;
}

.signal-three {
  bottom: 3%;
  left: 19%;
}

.infographics {
  border-block: 1px solid var(--line);
  background: rgba(4, 12, 18, 0.62);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 44px;
}

.section-heading > p {
  max-width: 500px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.chapter-browser {
  margin-top: clamp(44px, 6vw, 72px);
}

.chapter-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 10, 16, 0.76);
}

.chapter-tab {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.chapter-tab span {
  color: #647784;
  font-size: 0.67rem;
}

.chapter-tab:hover {
  color: var(--ink);
  background: rgba(17, 66, 91, 0.25);
}

.chapter-tab[aria-selected="true"] {
  border-color: rgba(228, 173, 67, 0.4);
  color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(228, 173, 67, 0.16), rgba(13, 92, 130, 0.17));
}

.chapter-tab[aria-selected="true"] span {
  color: var(--blue-soft);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-block: 44px 22px;
  gap: 24px;
}

.gallery-heading h3 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.gallery-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.infographic-card {
  min-width: 0;
}

.infographic-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: #06101a;
  cursor: zoom-in;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.infographic-button:hover:not(:disabled) {
  transform: translateY(-5px);
  border-color: rgba(35, 183, 237, 0.5);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

.infographic-button:disabled {
  cursor: default;
}

.infographic-media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(18, 151, 210, 0.14), transparent 34%),
    linear-gradient(135deg, #081923, #040a10 75%);
}

.infographic-media::before,
.infographic-media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.infographic-media::before {
  inset: 10%;
  border: 1px solid rgba(47, 157, 211, 0.18);
  background-image:
    linear-gradient(rgba(39, 126, 172, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 126, 172, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.infographic-media::after {
  right: 10%;
  bottom: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.infographic-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  background: #fff;
  transition: opacity 180ms ease, transform 250ms ease;
}

.infographic-media.is-loaded img {
  opacity: 1;
}

.infographic-button:hover:not(:disabled) img {
  transform: scale(1.015);
}

.infographic-index {
  position: relative;
  z-index: 1;
  color: rgba(228, 173, 67, 0.72);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.infographic-media.is-loaded .infographic-index {
  display: none;
}

.infographic-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 17px;
  border-top: 1px solid var(--line);
}

.infographic-caption strong {
  font-size: 0.88rem;
}

.infographic-caption span {
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(50px, 9vw, 130px);
}

.about-grid h2 {
  max-width: 720px;
}

.about-copy {
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.about-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.about-copy p + p {
  margin-top: 24px;
}

.about-buy {
  margin-top: 30px;
}

.closing-cta {
  padding-block: 85px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 120%, rgba(228, 173, 67, 0.16), transparent 40%),
    #041019;
}

.closing-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.closing-inner h2 {
  max-width: 800px;
  margin-bottom: 34px;
}

.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  background: #010508;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.footer-wordmark {
  margin-bottom: 8px;
}

.footer-inner p {
  margin: 0;
  color: #758590;
  font-size: 0.76rem;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.footer-meta a {
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.lightbox {
  width: min(1100px, calc(100% - 30px));
  max-width: none;
  height: min(94svh, 980px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(97, 183, 226, 0.34);
  border-radius: 18px;
  color: var(--ink);
  background: #030a10;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
}

.lightbox::backdrop {
  background: rgba(0, 3, 6, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox-shell {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.lightbox-bar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid var(--line);
}

.lightbox-bar p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-bar h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
}

.icon-button,
.lightbox-nav {
  display: grid;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(10, 30, 42, 0.88);
  cursor: pointer;
  place-items: center;
  transition: border-color 150ms ease, background 150ms ease;
}

.icon-button:hover,
.lightbox-nav:hover {
  border-color: var(--blue);
  background: rgba(15, 74, 101, 0.9);
}

.icon-button {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-image-wrap {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  background:
    radial-gradient(circle at center, rgba(18, 103, 145, 0.13), transparent 54%),
    #02070b;
}

.lightbox-scroll {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.lightbox-scroll img {
  width: min(100%, 900px);
  max-width: none;
  max-height: none;
  height: auto;
  margin-inline: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.lightbox-nav {
  z-index: 2;
  justify-self: center;
  width: 44px;
  height: 62px;
  border-radius: 10px;
  font-size: 1.3rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 940px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
    gap: 54px;
    padding-block: 70px;
  }

  h1 {
    font-size: clamp(4rem, 10vw, 6rem);
  }

  .assessment-card {
    grid-template-columns: 1fr;
  }

  .assessment-visual {
    justify-self: center;
    width: min(100%, 420px);
  }

  .chapter-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav a:nth-child(3) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 50px 72px;
  }

  .cover-stage {
    width: min(72vw, 340px);
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-facts {
    justify-content: center;
  }

  .book-deck,
  .book-subtitle {
    margin-inline: auto;
  }

  .bestseller-proof {
    margin-inline: auto;
    text-align: left;
  }

  .publisher-line {
    text-align: center;
  }

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading > p {
    justify-self: start;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .book-subtitle {
    font-size: 1.14rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bestseller-copy ul {
    flex-direction: column;
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
  }

  .assessment-card {
    padding: 28px 22px;
  }

  .chapter-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .lightbox-image-wrap {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    padding-inline: 8px;
  }

  .lightbox-nav {
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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