:root {
  --orange: #f44900;
  --orange-dark: #c83c00;
  --cream: #f5eadb;
  --skin: #fcf3df;
  --muted: rgba(245, 234, 219, 0.74);
  --line: rgba(245, 234, 219, 0.16);
  --black: #050403;
  --panel: #100b08;
  --heading: "Instrument Serif", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

html.is-loading {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--body);
  background:
    radial-gradient(circle at 50% 4%, rgba(244, 73, 0, 0.2), transparent 24rem),
    linear-gradient(180deg, #0d0907 0%, #030303 100%);
}

body.is-loading {
  overflow: hidden;
}

body.is-loading > *:not(.preloader) {
  visibility: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 73, 0, 0.14), transparent 22rem),
    #050403;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(360px, 88vw);
  text-align: center;
  animation: preloaderFadeIn 700ms ease both;
}

.preloader__ring-wrap {
  position: relative;
  width: 156px;
  height: 156px;
}

.preloader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.preloader__ring-track {
  fill: none;
  stroke: rgba(245, 234, 219, 0.14);
  stroke-width: 2.5;
}

.preloader__ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  filter: drop-shadow(0 0 8px rgba(244, 73, 0, 0.55));
}

.preloader__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  transform: translate(-50%, -50%);
  opacity: 1;
  animation: preloaderLogoPulse 2.4s ease-in-out infinite;
}

.preloader__percent-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.08rem;
  color: var(--cream);
  font-family: var(--heading);
  line-height: 1;
}

.preloader__percent {
  min-width: 2.6ch;
  font-size: clamp(2.6rem, 9vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.preloader__percent-sign {
  color: var(--orange);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
}

.preloader__track {
  position: relative;
  width: min(300px, 78vw);
  height: 4px;
  overflow: hidden;
  background: rgba(245, 234, 219, 0.1);
}

.preloader__track-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #b83600, var(--orange), #ff9a5c);
  box-shadow: 0 0 18px rgba(244, 73, 0, 0.55);
}

.preloader__status {
  margin: 0;
  color: rgba(245, 234, 219, 0.48);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes preloaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderLogoPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.92;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4px 4px;
}

.top-logo {
  display: none;
}

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

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

.site-nav {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  transform: translateX(-50%);
  color: rgba(245, 234, 219, 0.72);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 234, 219, 0.08);
  isolation: isolate;
  scroll-snap-align: start;
  background: #0d1009;
  color: var(--cream);
}

.hero__birds {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero__gif {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 140%;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: contrast(6) brightness(2.8);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.hero.is-birds-ready .hero__gif {
  opacity: 0.88;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04) 52%, rgba(0, 0, 0, 0.22)),
    url("image 5.png") center / cover no-repeat;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  transform: scale(1.05);
  opacity: 1;
  filter: brightness(1.34) saturate(0.94) contrast(1.02);
}

.hero--no-gif .hero__birds {
  display: none;
}

.hero--no-gif .hero__bg {
  opacity: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 18%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 3px
    );
  animation: heroGrain 8s steps(2) infinite;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 62%, rgba(0, 0, 0, 0.16) 0, transparent 46%),
    linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.12) 68%, rgba(0, 0, 0, 0.46) 100%);
}

.hero__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.hero__logo {
  grid-column: 2;
  justify-self: center;
  width: min(240px, 62vw);
  pointer-events: auto;
}

.hero__logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  opacity: 0;
}

body.is-ready .hero__logo img {
  animation: logoFadeIn 1.1s ease 0.15s both, logoFloat 4.5s ease-in-out 1.4s infinite;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.92);
    filter: brightness(0) invert(1) blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  }
}

.hero__socials {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
}

.hero__socials a {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid rgba(245, 234, 219, 0.72);
  border-radius: 50%;
  color: var(--cream);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero__socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 18px rgba(244, 73, 0, 0.45);
  transform: translateY(-3px) scale(1.08);
}

.hero__socials svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.hero::before,
.hero::after,
.feature::before,
.club::before,
.artwork::before,
.author-section::before,
.quiz-section::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(92%, 900px);
  text-align: center;
}

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

.hero .eyebrow {
  margin-bottom: 0.55rem;
  color: rgba(245, 234, 219, 0.96);
  font-size: clamp(0.78rem, 1.25vw, 1rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.hero-eyebrow {
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero .hero-actions .btn {
  margin-top: 0;
  margin-inline: 0;
}

.hero-cta {
  opacity: 0;
}

.btn.hero-cta--contact {
  border: 1px solid rgba(245, 234, 219, 0.88);
  background: transparent;
  box-shadow: none;
}

.btn.hero-cta--contact:hover {
  background: rgba(245, 234, 219, 0.12);
  border-color: #fff;
  box-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.28);
  filter: none;
}

body.is-ready .hero-eyebrow {
  animation: heroEyebrowIn 1.15s cubic-bezier(0.16, 0.84, 0.24, 1) 0.35s both;
}

body.is-ready .hero-cta {
  animation: heroCtaIn 1s cubic-bezier(0.16, 0.84, 0.24, 1) 1.1s both;
}

.hero h1,
.hero .hero-title {
  color: var(--cream);
  text-shadow: 0 0 36px rgba(0, 0, 0, 0.9);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(245, 234, 219, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 0.92;
}

h1 {
  font-size: clamp(4rem, 10vw, 7.2rem);
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(0, 0, 0, 0.9);
}

.hero-title {
  display: block;
  transform: scale(var(--hero-title-scale, 1));
  transform-origin: center;
  transition: transform 80ms linear;
  will-change: transform;
  min-height: 1.05em;
}

.typing-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.02em;
  min-width: min(100%, 13ch);
}

.typing-text {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #fff8ee 0%,
    #ffe8c8 28%,
    #fff8ee 52%,
    #ffd9a8 78%,
    #fff8ee 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: typingShimmer 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
}

.typing-text.is-word-complete {
  animation: typingShimmer 5.5s ease-in-out infinite, typingPulse 0.55s ease;
}

.typing-cursor {
  display: inline-block;
  flex-shrink: 0;
  width: 0.055em;
  min-width: 3px;
  height: 0.78em;
  margin-left: 0.03em;
  background: linear-gradient(180deg, #ffc98a 0%, var(--orange) 55%, #c93400 100%);
  border-radius: 2px;
  box-shadow:
    0 0 10px rgba(244, 73, 0, 0.85),
    0 0 26px rgba(244, 73, 0, 0.45);
  animation:
    typingCursorBlink 1.05s step-end infinite,
    typingCursorGlow 2.6s ease-in-out infinite;
  transform: translateY(0.08em);
}

.typing-cursor.is-typing {
  animation: typingCursorGlow 2.6s ease-in-out infinite;
  opacity: 1;
}

h2 {
  font-size: clamp(2.25rem, 6vw, 5.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 2.1rem;
}

p {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 400;
  line-height: 1.75;
}

.btn,
.quiz-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 2.85rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 0;
  color: #fff;
  font: 700 0.72rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--orange);
  box-shadow: 0 0.9rem 2rem rgba(244, 73, 0, 0.26);
  cursor: pointer;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 320ms ease,
    filter 280ms ease,
    color 280ms ease;
}

.btn::before,
.club-btn::before,
.quiz-actions button::before,
.footer-form button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-16deg);
  transition: transform 620ms cubic-bezier(0.2, 0.85, 0.2, 1);
  pointer-events: none;
}

.btn::after,
.club-btn::after,
.quiz-actions button::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: radial-gradient(
    circle at var(--btn-glow-x, 50%) var(--btn-glow-y, 50%),
    rgba(255, 220, 160, 0.35) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.btn:hover::before,
.club-btn:hover::before,
.quiz-actions button:hover::before,
.footer-form button:hover::before {
  transform: translateX(130%) skewX(-16deg);
}

.btn:hover::after,
.club-btn:hover::after,
.quiz-actions button:hover::after {
  opacity: 1;
}

.btn {
  margin-top: 1.25rem;
}

.hero .btn {
  display: inline-flex;
  width: max-content;
  min-height: 2.7rem;
  margin-top: 1rem;
  margin-inline: auto;
  padding: 0.8rem 1.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  box-shadow: 0 0.85rem 1.8rem rgba(244, 73, 0, 0.34);
}

.btn:hover,
.quiz-actions button:hover {
  background: #ff5a14;
  border-color: var(--orange);
  box-shadow:
    0 1.15rem 2.6rem rgba(244, 73, 0, 0.45),
    0 0 0 1px rgba(255, 200, 130, 0.25),
    0 0 28px rgba(244, 73, 0, 0.38);
  filter: brightness(1.06);
  transform: translateY(-4px) scale(1.04)
    perspective(500px)
    rotateX(var(--btn-tilt-x, 0deg))
    rotateY(var(--btn-tilt-y, 0deg));
}

.btn:active,
.quiz-actions button:active,
.club-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 100ms;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.feature,
.club,
.artwork,
.author-section,
.quiz-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 234, 219, 0.1);
  isolation: isolate;
  scroll-snap-align: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
}

.split--reverse .book-cover {
  order: 2;
}

.copy {
  max-width: 620px;
}

.copy p {
  max-width: 58ch;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  width: auto;
  min-width: 9.5rem;
  min-height: 2.55rem;
  margin-top: 1rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(245, 234, 219, 0.9);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 280ms ease;
}

.text-link::after {
  display: none;
}

.text-link:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0.7rem 1.6rem rgba(244, 73, 0, 0.35);
  transform: translateY(-3px);
}

.feature--field {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.06) 52%, rgba(0, 0, 0, 0.28)),
    url("image 2.png") center / cover no-repeat;
  background-color: #0d1009;
}

.feature--field::before {
  display: none;
}

.feature--field .section-inner {
  width: min(980px, calc(100% - 2rem));
}

.feature--field .split {
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.feature--field .book-cover {
  width: min(100%, 280px);
  justify-self: end;
}

.feature--field .book-cover img {
  filter: drop-shadow(0 1.4rem 1.8rem rgba(0, 0, 0, 0.64));
}

.feature--field .copy {
  max-width: 470px;
  padding-top: 0.4rem;
}

.feature--field h2 {
  max-width: 430px;
  font-size: clamp(3rem, 5.7vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.feature--field .copy p {
  max-width: 54ch;
  margin: 0.8rem 0 0;
  color: rgba(245, 234, 219, 0.9);
  font-size: clamp(0.64rem, 0.95vw, 0.78rem);
  font-weight: 500;
  line-height: 1.35;
}

.feature--field .text-link {
  margin-top: 1rem;
}

.feature--personal {
  overflow: hidden;
  background: #0a0604;
}

.feature--personal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.feature--personal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: brightness(0.84) saturate(1.04) contrast(1.05);
}

.feature--personal__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.46)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38));
}

.feature--personal::before {
  display: none;
}

.feature--personal .section-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2rem));
}

.feature--personal .split {
  grid-template-columns: 0.84fr 1fr;
  gap: clamp(1.35rem, 3.6vw, 3.5rem);
}

.feature--personal .book-cover {
  width: min(100%, 285px);
  justify-self: end;
}

.feature--personal .book-cover img {
  filter: drop-shadow(0 1.3rem 1.8rem rgba(0, 0, 0, 0.78));
}

.feature--personal .copy {
  max-width: 500px;
}

.feature--personal h2 {
  max-width: 450px;
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.feature--personal .copy p {
  max-width: 58ch;
  margin: 0.75rem 0 0;
  color: rgba(245, 234, 219, 0.92);
  font-size: clamp(0.58rem, 0.82vw, 0.72rem);
  font-weight: 500;
  line-height: 1.28;
}

.feature--personal .text-link {
  margin-top: 1rem;
}

.feature--legacy {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.16) 50%, rgba(0, 0, 0, 0.52)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5)),
    url("The Legacy of Maximilian Bauer bg.png"),
    linear-gradient(140deg, #090908 0%, #1a1713 58%, #030303 100%);
  background-position: center;
  background-size: cover;
}

.feature--legacy::before {
  display: none;
}

.feature--legacy .section-inner {
  width: min(900px, calc(100% - 2rem));
}

.feature--legacy .split {
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(1.25rem, 3.4vw, 3.2rem);
}

.feature--legacy .book-cover {
  width: min(100%, 275px);
  justify-self: end;
}

.feature--legacy .book-cover img {
  filter: drop-shadow(0 1.25rem 1.8rem rgba(0, 0, 0, 0.78));
}

.feature--legacy .copy {
  max-width: 500px;
}

.feature--legacy h2 {
  max-width: 470px;
  font-size: clamp(2.35rem, 4.3vw, 3.85rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.feature--legacy .copy p {
  max-width: 58ch;
  margin: 0.55rem 0 0;
  color: rgba(245, 234, 219, 0.88);
  font-size: clamp(0.54rem, 0.74vw, 0.66rem);
  font-weight: 500;
  line-height: 1.22;
}

.feature--legacy .text-link {
  margin-top: 1rem;
}

.club {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: linear-gradient(130deg, #1a110b 0%, #050403 60%);
}

.club__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.club__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: brightness(0.82) saturate(1.04) contrast(1.05);
}

.club__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 35% 38%, rgba(244, 73, 0, 0.18), transparent 16rem);
}

.club::before {
  z-index: 2;
  inset: auto 0 0;
  height: 48%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 62%),
    repeating-linear-gradient(90deg, rgba(245, 234, 219, 0.055) 0 1px, transparent 1px 82px);
}

.club .section-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
}

.center-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.club .center-copy {
  transform: translateY(-1.3rem);
  width: 100%;
}

.club h2 {
  margin-inline: auto;
  max-width: min(100%, 640px);
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.club-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 168px;
  min-height: 2.55rem;
  margin-top: 0;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(245, 234, 219, 0.9);
  background: transparent;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 280ms ease,
    background 280ms ease,
    border-color 280ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease;
}

.club-btn--books {
  border-color: rgba(244, 73, 0, 0.85);
  background: var(--orange);
  box-shadow: 0 0.7rem 1.6rem rgba(244, 73, 0, 0.28);
}

.club-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow:
    0 0.8rem 2rem rgba(244, 73, 0, 0.42),
    0 0 22px rgba(244, 73, 0, 0.35);
  transform: translateY(-4px) scale(1.05)
    perspective(500px)
    rotateX(var(--btn-tilt-x, 0deg))
    rotateY(var(--btn-tilt-y, 0deg));
}

.book-slider {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: clamp(2.1rem, 4vw, 3.3rem) auto 0;
  padding-bottom: 1.6rem;
}

.book-slider__viewport {
  overflow: hidden;
  width: 100%;
  padding: 2.4rem 0 0.35rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.book-slider__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.95rem, 2vw, 1.75rem);
  width: max-content;
  animation: bookSliderScroll 34s linear infinite;
  will-change: transform;
}

.book-slider:hover .book-slider__track {
  animation-play-state: paused;
}

.book-slider::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 0.7rem;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(245, 234, 219, 0.35), transparent);
  filter: blur(8px);
  pointer-events: none;
}

@keyframes bookSliderScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.shelf {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: clamp(1rem, 2.15vw, 1.9rem);
  margin-top: clamp(2.1rem, 4vw, 3.3rem);
  padding-bottom: 1.6rem;
}

.shelf::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 0.7rem;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(245, 234, 219, 0.35), transparent);
  filter: blur(8px);
}

.book-cover,
.mini-book {
  position: relative;
  display: block;
  color: #fff5e9;
  transform-style: preserve-3d;
}

.book-cover {
  width: min(100%, 330px);
  justify-self: center;
  transform: perspective(800px) rotateY(8deg);
}

.book-cover img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.7));
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 500ms ease;
}

.book-cover.reveal.is-visible img {
  animation: coverShine 6s ease-in-out infinite 1.2s;
}

.book-cover:hover img {
  transform: scale(1.04) translateY(-4px);
  filter:
    drop-shadow(0 2.4rem 2.6rem rgba(244, 73, 0, 0.18))
    drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.75));
}

.mini-book {
  width: clamp(92px, 10vw, 142px);
  filter: drop-shadow(0 1.3rem 1.4rem rgba(0, 0, 0, 0.7));
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform;
}

.mini-book:nth-child(even) {
  transform: translateY(-0.8rem);
}

.mini-book:hover {
  z-index: 5;
  transform: translateY(-1.65rem) scale(1.13);
  filter: drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.86));
}

.mini-book:nth-child(even):hover {
  transform: translateY(-2.35rem) scale(1.13);
}

.mini-book img {
  width: 100%;
  height: auto;
}

.book-slider .mini-book {
  flex-shrink: 0;
  width: clamp(76px, 7vw, 118px);
}

.mini-book__link {
  display: block;
  width: 100%;
}

.book-slider .mini-book img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 168px;
  object-fit: contain;
}

.book-slider .mini-book:nth-child(even) {
  transform: translateY(-0.55rem);
}

.book-slider .mini-book:hover,
.book-slider .mini-book:nth-child(even):hover {
  z-index: 6;
  transform: translateY(-0.9rem) scale(1.07);
  filter: drop-shadow(0 1.8rem 1.9rem rgba(0, 0, 0, 0.86));
}

.artwork {
  position: relative;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(140deg, #1a1408, #050403 56%, #120c08);
}

.artwork__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.artwork__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: brightness(0.88) saturate(1.05) contrast(1.04);
}

.artwork__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 42%, rgba(201, 146, 50, 0.22), transparent 22rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 50%, rgba(0, 0, 0, 0.42));
}

.artwork .section-inner {
  position: relative;
  z-index: 2;
}

.artwork::before {
  display: none;
}

.artwork .center-copy {
  transform: translateY(2rem);
}

.artwork-eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(201, 146, 50, 0.95);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.artwork-title {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 0.9;
}

.artwork-title__lead {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}

.artwork-title__main {
  display: block;
  color: #fff7ea;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.78);
}

.artwork-copy {
  max-width: 42ch;
  margin: 1.15rem auto 0;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.7;
}

.artwork-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.artwork-btn {
  margin-top: 0;
  min-width: 11.5rem;
}

.artwork-btn--contact {
  border: 1px solid rgba(245, 234, 219, 0.88);
  background: transparent;
  box-shadow: none;
}

.btn.artwork-btn--contact:hover {
  background: rgba(245, 234, 219, 0.12);
  border-color: #fff;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.28);
  filter: none;
}

.author-section {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("af728ec8-2984-4445-bfd3-6c09ea56d2e4 1.png"),
    #0a0705;
  background-position: center;
  background-size: cover;
}

.author-section::before {
  display: none;
}

.author-section .section-inner {
  width: min(940px, calc(100% - 2rem));
}

.author-spacer {
  min-height: 1px;
}

.author-section .copy {
  max-width: 430px;
  justify-self: end;
  transform: translateY(0.4rem);
}

.author-section h2 {
  max-width: 390px;
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.author-section .copy p {
  max-width: 46ch;
  margin: 0.8rem 0 0;
  color: rgba(245, 234, 219, 0.86);
  font-size: clamp(0.58rem, 0.82vw, 0.72rem);
  font-weight: 500;
  line-height: 1.3;
}

.author-link {
  margin-top: 1rem;
}

.quiz-section {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 18%, rgba(244, 73, 0, 0.12), transparent 18rem),
    url("image 6.png"),
    #0a0705;
  background-position: center;
  background-size: cover;
}

.quiz-section::before {
  display: none;
}

.quiz-inner {
  width: min(720px, calc(100% - 2rem));
  text-align: center;
}

.quiz-section .copy {
  max-width: 560px;
  margin-inline: auto;
  transform: none;
}

.quiz-section h2 {
  margin-inline: auto;
  max-width: 520px;
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.quiz-section .copy p {
  max-width: 52ch;
  margin: 0.8rem auto 0;
  color: rgba(245, 234, 219, 0.86);
  font-size: clamp(0.58rem, 0.82vw, 0.72rem);
  font-weight: 500;
  line-height: 1.3;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.quiz-result {
  min-height: 2.8rem;
  margin: 1rem 0 0;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  line-height: 1.45;
  transition: opacity 280ms ease, transform 280ms ease;
}

.quiz-result.is-updating {
  animation: quizResultPop 520ms cubic-bezier(0.16, 0.84, 0.24, 1);
}

.quiz-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 24px;
  margin-top: 0.9rem;
  border: 1px solid rgba(245, 234, 219, 0.9);
  background: transparent;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quiz-link:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-above {
  min-height: 34vh;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
    url("footerabove.png");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(188, 136, 43, 0.8);
  scroll-snap-align: start;
}

.footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 7, 5, 0.98), rgba(4, 4, 3, 0.98)),
    radial-gradient(circle at 82% 100%, rgba(145, 95, 23, 0.24), transparent 18rem);
  border-top: 1px solid rgba(188, 136, 43, 0.58);
  scroll-snap-align: start;
}

.footer-grid {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.08fr 1.22fr;
  gap: clamp(1.8rem, 4vw, 3.1rem);
  padding: clamp(2rem, 4vw, 3.1rem) 0 clamp(1.5rem, 3vw, 2.2rem);
}

.footer-grid > div {
  position: relative;
}

.footer-grid > div:not(:last-child)::after {
  position: absolute;
  top: 0.3rem;
  right: calc(clamp(1.8rem, 4vw, 3.1rem) / -2);
  width: 1px;
  height: 86%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(188, 136, 43, 0.65), transparent);
}

.footer h3 {
  margin: 0 0 1rem;
  color: #c99232;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer h4 {
  margin: 0 0 0.9rem;
  color: #c99232;
  font-family: var(--heading);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 0.65rem;
  color: rgba(245, 234, 219, 0.72);
  font-size: clamp(0.72rem, 0.92vw, 0.86rem);
  line-height: 1.75;
}

.footer a:hover {
  color: #c99232;
  transform: translateX(4px);
}

.footer-column a {
  position: relative;
  padding-left: 1rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a::before {
  position: absolute;
  left: 0;
  color: #c99232;
  content: "›";
}

.footer-book {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(245, 234, 219, 0.08);
  color: inherit;
  text-decoration: none;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 280ms ease;
}

.footer-book:hover {
  transform: translateX(6px);
  color: #fff;
}

.footer-book:hover img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0.7rem 0.9rem rgba(244, 73, 0, 0.22));
}

.footer-book img {
  width: 45px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0.55rem 0.65rem rgba(0, 0, 0, 0.72));
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 320ms ease;
}

.footer-book p {
  margin: 0;
  color: rgba(245, 234, 219, 0.82);
  line-height: 1.35;
}

.footer-form {
  display: grid;
  grid-template-columns: 1fr auto;
  height: 36px;
  margin: 1rem 0 1.15rem;
  border: 1px solid rgba(245, 234, 219, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.footer-form input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 0.9rem;
  font-family: var(--body);
  font-size: 0.72rem;
  outline: none;
}

.footer-form button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: center;
  height: 22px;
  margin-right: 5px;
  padding: 0 0.85rem;
  border: 0;
  background: #f5eadb;
  color: #1b1209;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 280ms ease,
    color 280ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease;
}

.footer-form button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0.5rem 1.2rem rgba(244, 73, 0, 0.38);
  transform: translateY(-2px) scale(1.04);
}

.quiz-actions button.is-selected {
  background: #ff5a14;
  box-shadow:
    0 0.9rem 2rem rgba(244, 73, 0, 0.38),
    0 0 18px rgba(244, 73, 0, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.socials {
  display: flex;
  gap: 0.85rem;
}

.socials a {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(201, 146, 50, 0.7);
  border-radius: 50%;
  color: #c99232;
  font-size: 0.82rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.socials a::before {
  display: none;
  content: none;
}

.socials svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px) scale(1.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 58px;
  border-top: 1px solid rgba(245, 234, 219, 0.08);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(10, 8, 5, 0.86)),
    url("footerabove.png");
  background-position: right bottom;
  background-size: 420px auto;
}

.footer-bottom p {
  margin: 0;
  color: rgba(245, 234, 219, 0.68);
  font-size: 0.72rem;
}

.footer-bottom span {
  width: 1px;
  height: 18px;
  background: rgba(188, 136, 43, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 900ms cubic-bezier(0.16, 0.84, 0.24, 1),
    transform 900ms cubic-bezier(0.16, 0.84, 0.24, 1),
    filter 900ms ease;
}

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

.book-cover.reveal {
  transform: perspective(900px) rotateY(14deg) translateX(-48px) scale(0.9);
  filter: blur(4px);
}

.book-cover.reveal.is-visible {
  transform: perspective(900px) rotateY(6deg) translateX(0) scale(1);
  filter: blur(0);
  animation: bookFloat 5.5s ease-in-out infinite 0.9s;
}

.book-cover.reveal.is-visible:hover {
  animation: none;
}

.copy.reveal {
  transform: translateX(42px);
  filter: blur(3px);
}

.copy.reveal.is-visible {
  transform: translateX(0);
  filter: blur(0);
}

.center-copy.reveal {
  transform: translateY(36px) scale(0.96);
}

.center-copy.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.book-slider.reveal {
  transform: translateY(48px) scale(0.97);
  transition-delay: 120ms;
}

.book-slider.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.copy.reveal.is-visible p,
.center-copy.reveal.is-visible p,
.center-copy.reveal.is-visible .artwork-eyebrow {
  animation: fadeSlideUp 780ms cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

.copy.reveal.is-visible p:nth-of-type(1) { animation-delay: 0.15s; }
.copy.reveal.is-visible p:nth-of-type(2) { animation-delay: 0.28s; }
.copy.reveal.is-visible p:nth-of-type(3) { animation-delay: 0.4s; }

.copy.reveal.is-visible .quiz-actions button:nth-child(1) { animation-delay: 0.48s; }
.copy.reveal.is-visible .quiz-actions button:nth-child(2) { animation-delay: 0.58s; }
.copy.reveal.is-visible .quiz-actions button:nth-child(3) { animation-delay: 0.68s; }

.copy.reveal.is-visible .quiz-actions button {
  animation: fadeSlideUp 780ms cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

.copy.reveal.is-visible .text-link,
.copy.reveal.is-visible .quiz-result,
.center-copy.reveal.is-visible .club-actions,
.center-copy.reveal.is-visible .btn,
.center-copy.reveal.is-visible .artwork-actions {
  animation: fadeSlideUp 780ms cubic-bezier(0.16, 0.84, 0.24, 1) 0.45s both;
}

.center-copy.reveal.is-visible .artwork-copy {
  animation: fadeSlideUp 780ms cubic-bezier(0.16, 0.84, 0.24, 1) 0.36s both;
}

.center-copy.reveal.is-visible .artwork-eyebrow {
  animation-delay: 0.05s;
}

.center-copy.reveal.is-visible .artwork-title__lead {
  animation: headingReveal 900ms cubic-bezier(0.16, 0.84, 0.24, 1) 0.12s both;
}

.center-copy.reveal.is-visible .artwork-title__main {
  animation: headingReveal 900ms cubic-bezier(0.16, 0.84, 0.24, 1) 0.28s both;
}

.heading-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotateX(-55deg);
  transform-origin: center bottom;
  animation: wordReveal 720ms cubic-bezier(0.16, 0.84, 0.24, 1) forwards;
  animation-delay: calc(0.08s * var(--word-i, 0) + 0.05s);
}

.footer-brand.reveal.is-visible,
.footer-column.reveal.is-visible {
  animation: fadeSlideUp 800ms cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

.section-inner,
.hero__content {
  animation: sectionBreath 900ms ease both;
}

header,
main > section,
.footer-above {
  transition: filter 450ms ease, background-position 900ms ease;
}

header.is-active-section,
main > section.is-active-section,
.footer-above.is-active-section {
  filter: saturate(1.06) contrast(1.04);
  background-position: center center;
}

.book-cover,
.btn,
.text-link,
.club-btn,
.quiz-link {
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 320ms ease,
    background 280ms ease,
    border-color 280ms ease,
    color 280ms ease,
    box-shadow 320ms ease;
}

.book-cover:hover {
  transform: perspective(900px) rotateY(2deg) translateY(-14px) scale(1.05);
}

.feature--field .book-cover:hover,
.feature--personal .book-cover:hover,
.feature--legacy .book-cover:hover {
  transform: perspective(900px) rotateY(2deg) translateY(-14px) scale(1.05);
}

.feature--field .book-cover.reveal.is-visible,
.feature--personal .book-cover.reveal.is-visible,
.feature--legacy .book-cover.reveal.is-visible {
  animation: bookFloat 5.5s ease-in-out infinite 0.9s;
}

.feature--field .book-cover.reveal {
  transform: perspective(900px) rotateY(12deg) translateX(-40px) scale(0.92);
}

.feature--personal .book-cover.reveal,
.feature--legacy .book-cover.reveal {
  transform: perspective(900px) rotateY(12deg) translateX(-40px) scale(0.92);
}

.feature--field .book-cover.reveal.is-visible,
.feature--personal .book-cover.reveal.is-visible,
.feature--legacy .book-cover.reveal.is-visible {
  transform: perspective(900px) rotateY(4deg) translateX(0) scale(1);
}

@keyframes sectionBreath {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes headingReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
    letter-spacing: 0.05em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: inherit;
  }
}

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(110%) rotateX(-55deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes bookFloat {
  0%,
  100% {
    transform: perspective(900px) rotateY(6deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateY(6deg) translateY(-10px);
  }
}

@keyframes coverShine {
  0%,
  100% {
    filter: drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.7));
  }
  50% {
    filter:
      drop-shadow(0 2.2rem 2.4rem rgba(244, 73, 0, 0.12))
      drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.72));
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes quizResultPop {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroKenBurns {
  from {
    background-position: center 46%;
    transform: scale(1.04);
  }
  to {
    background-position: center 54%;
    transform: scale(1.1);
  }
}

@keyframes heroEyebrowIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroCtaIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingShimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes typingPulse {
  0% {
    filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
  }
  40% {
    filter: drop-shadow(0 0 36px rgba(244, 73, 0, 0.35)) drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
  }
  100% {
    filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
  }
}

@keyframes typingCursorBlink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0.15;
  }
}

@keyframes typingCursorGlow {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(244, 73, 0, 0.85),
      0 0 26px rgba(244, 73, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 16px rgba(244, 73, 0, 1),
      0 0 40px rgba(244, 73, 0, 0.65),
      0 0 60px rgba(244, 73, 0, 0.25);
  }
}

@keyframes heroGrain {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-2%, 1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .hero__grain,
  .book-slider__track,
  .typing-text,
  .typing-cursor,
  .hero-eyebrow,
  .hero-cta,
  .hero__logo img,
  .book-cover.reveal.is-visible,
  .heading-word,
  .copy.reveal.is-visible p,
  .center-copy.reveal.is-visible p,
  .center-copy.reveal.is-visible .artwork-title__lead,
  .center-copy.reveal.is-visible .artwork-title__main,
  .artwork__video,
  .club__video,
  .feature--personal__video {
    animation: none;
  }

  .artwork__video,
  .club__video,
  .feature--personal__video {
    display: none;
  }

  .artwork {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62)),
      url("REAL LIFE ADVENTURES.png") center / cover no-repeat,
      linear-gradient(140deg, #1a1408, #050403 56%, #120c08);
  }

  .club {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.78)),
      url("image 6.png") center / cover no-repeat,
      linear-gradient(130deg, #1a110b 0%, #050403 60%);
  }

  .feature--personal {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.46)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38)),
      url("NEVER PERSONAL back.png") center / cover no-repeat,
      #0a0604;
  }

  .reveal,
  .book-cover.reveal,
  .copy.reveal,
  .center-copy.reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .heading-word,
  .hero-eyebrow,
  .hero-cta,
  .hero__logo img {
    opacity: 1;
    transform: none;
  }

  .typing-cursor {
    display: none;
  }

  .typing-text {
    color: var(--cream);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
  }
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
  }

  .hero,
  .feature,
  .club,
  .artwork,
  .author-section,
  .quiz-section,
  .footer-above {
    scroll-snap-align: none;
  }

  .hero__socials {
    display: none;
  }

  .hero__top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero__logo {
    grid-column: 1;
  }

  .split,
  .split--reverse,
  .feature--field .split,
  .feature--personal .split,
  .feature--legacy .split,
  .author-section .split {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    text-align: center;
    justify-items: center;
  }

  .split--reverse .book-cover {
    order: 0;
  }

  .feature--field .book-cover,
  .feature--personal .book-cover,
  .feature--legacy .book-cover,
  .book-cover {
    width: min(58vw, 250px);
    justify-self: center;
  }

  .feature--field .copy,
  .feature--personal .copy,
  .feature--legacy .copy,
  .author-section .copy,
  .copy {
    max-width: 36rem;
    margin-inline: auto;
    justify-self: center;
    text-align: center;
    transform: none;
  }

  .feature--field h2,
  .feature--personal h2,
  .feature--legacy h2,
  .author-section h2,
  .copy h2 {
    max-width: none;
    margin-inline: auto;
  }

  .feature--field .copy p,
  .feature--personal .copy p,
  .feature--legacy .copy p,
  .author-section .copy p,
  .copy p {
    max-width: 42ch;
    margin-inline: auto;
    font-size: clamp(0.88rem, 2.4vw, 1rem);
    line-height: 1.65;
  }

  .text-link,
  .author-link {
    margin-inline: auto;
    justify-content: center;
  }

  .author-spacer {
    display: none;
  }

  .club {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .club .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100% - 1.5rem, 420px);
    margin-inline: auto;
    gap: 1.35rem;
  }

  .club h2 {
    max-width: 14ch;
    padding-inline: 0.5rem;
    font-size: clamp(1.85rem, 6.2vw, 3rem);
    line-height: 1.08;
  }

  .club .center-copy {
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .club-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .club-btn {
    width: min(100%, 220px);
  }

  .artwork-copy {
    max-width: 34ch;
    padding-inline: 0.75rem;
  }

  .artwork-actions,
  .hero-actions,
  .club-actions {
    flex-direction: column;
    align-items: center;
  }

  .feature,
  .club,
  .artwork,
  .author-section,
  .quiz-section {
    min-height: auto;
    padding: 4.5rem 0;
  }

  .footer-above {
    min-height: 220px;
    padding: 0;
  }
}

@media (max-width: 820px) {
  .site-nav {
    width: 100%;
    justify-content: center;
    padding-inline: 1rem;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 78vh;
    height: auto;
    padding: 5.5rem 0 4rem;
  }

  .hero__gif {
    width: 165%;
    top: 18%;
  }

  .hero .hero-title,
  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .book-slider {
    width: 100%;
    max-width: 100%;
    margin: 0.5rem auto 0;
    padding-bottom: 1.1rem;
    overflow: hidden;
  }

  .book-slider__viewport {
    overflow: hidden;
    mask-image: none;
    padding: 1.1rem 0 0.35rem;
  }

  .book-slider__track {
    display: block;
    animation: none !important;
    width: 100%;
    transform: none !important;
  }

  .book-slider:hover .book-slider__track {
    animation: none !important;
  }

  .book-slider .mini-book,
  .book-slider .mini-book:nth-child(even),
  .book-slider .mini-book:hover,
  .book-slider .mini-book:nth-child(even):hover {
    display: none !important;
    width: 100%;
    margin: 0 auto;
    transform: none !important;
    filter: drop-shadow(0 1.2rem 1.5rem rgba(0, 0, 0, 0.72));
  }

  .book-slider .mini-book.is-active {
    display: flex !important;
    justify-content: center;
    align-items: center;
    animation: mobileBookFade 480ms ease both;
  }

  .book-slider .mini-book__link {
    display: flex;
    justify-content: center;
    width: auto;
  }

  .book-slider .mini-book img {
    width: min(64vw, 220px);
    max-height: none;
  }

  .book-slider .mini-book[aria-hidden="true"] {
    display: none !important;
  }

  .book-slider::after {
    right: 22%;
    left: 22%;
  }

  @keyframes mobileBookFade {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .portrait {
    width: min(68vw, 280px);
  }

  .quiz-actions {
    justify-content: center;
  }

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

  .footer-grid > div::after {
    display: none;
  }

  .footer-bottom {
    flex-wrap: wrap;
    padding: 1rem;
    text-align: center;
  }

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

@media (max-width: 560px) {
  .site-nav {
    display: none;
  }

  .hero__top {
    padding: 0.7rem 1rem;
  }

  .hero__logo {
    width: min(200px, 70vw);
  }

  .hero {
    min-height: 100svh;
    padding: 5rem 0 3.25rem;
  }

  .hero-actions .btn {
    width: min(100%, 240px);
  }

  .feature,
  .club,
  .artwork,
  .author-section,
  .quiz-section {
    padding: 3.4rem 0;
  }

  .feature--field .book-cover,
  .feature--personal .book-cover,
  .feature--legacy .book-cover,
  .book-cover {
    width: min(72vw, 220px);
  }

  .feature--field .copy p,
  .feature--personal .copy p,
  .feature--legacy .copy p,
  .author-section .copy p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .feature--field h2,
  .feature--personal h2,
  .feature--legacy h2,
  .author-section h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .club h2 {
    max-width: 12ch;
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .book-slider .mini-book img {
    width: min(64vw, 200px);
  }

  .artwork-title__main {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .artwork-btn {
    width: min(100%, 240px);
  }

  .text-link,
  .author-link {
    width: min(100%, 200px);
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

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

  .footer-form {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0.45rem;
  }

  .footer-form input,
  .footer-form button {
    height: 34px;
  }

  .footer-form button {
    margin: 0;
  }

  .explore-books {
    width: min(100% - 1.25rem, 1100px);
    padding: 1rem 0.75rem 1.25rem;
  }

  .explore-books__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .explore-book img {
    width: min(100%, 180px);
  }

  .explore-book__btn {
    width: min(100%, 200px);
  }

  .contact-shell,
  .about-shell {
    width: min(100% - 1.25rem, 720px);
  }
}


html:has(body.page-about),
html:has(body.page-book),
html:has(body.page-explore-books) {
  scroll-snap-type: none;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: rgba(8, 6, 4, 0.96);
  border-bottom: 1px solid rgba(188, 136, 43, 0.28);
}

.about-back {
  color: rgba(245, 234, 219, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease;
}

.about-back:hover {
  color: #fff;
}

.about-top__logo {
  display: inline-flex;
  justify-self: center;
}

.about-top__logo img {
  width: clamp(7rem, 14vw, 9.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}

body.page-about {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 73, 0, 0.08), transparent 32rem),
    linear-gradient(180deg, #0b0806 0%, #030303 55%, #020202 100%);
}

.about-page {
  position: relative;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 7vw, 4.5rem) 1rem clamp(4.5rem, 10vw, 7rem);
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(244, 73, 0, 0.24), transparent 58%),
    radial-gradient(circle at 12% 88%, rgba(201, 146, 50, 0.16), transparent 20rem),
    radial-gradient(circle at 88% 72%, rgba(244, 73, 0, 0.1), transparent 16rem),
    linear-gradient(155deg, #2b1d13 0%, #17100b 38%, #0a0705 72%, #050403 100%);
}

.about-hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(245, 234, 219, 0.012) 3px,
      rgba(245, 234, 219, 0.012) 4px
    );
  pointer-events: none;
  content: "";
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin-inline: auto;
  text-align: center;
}

.about-hero .eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(201, 146, 50, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.about-hero h1::after {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 1.15rem auto 0;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  content: "";
}

.about-hero__lead {
  max-width: 46ch;
  margin: 1.15rem auto 0;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.68;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.about-tags li {
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(188, 136, 43, 0.38);
  color: rgba(245, 234, 219, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.22);
}

.about-shell {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2rem));
  margin: clamp(-3.5rem, -8vw, -5rem) auto 0;
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem) clamp(2rem, 4vw, 2.8rem);
  border: 1px solid rgba(188, 136, 43, 0.28);
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.97) 0%, rgba(10, 7, 5, 0.98) 100%);
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(245, 234, 219, 0.06);
}

.about-intro {
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(188, 136, 43, 0.22);
}

.about-content__lead {
  margin: 0;
  color: rgba(245, 234, 219, 0.94);
  font-family: var(--heading);
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1.55;
}

.about-content__lead::first-letter {
  float: left;
  margin: 0.06rem 0.5rem 0 0;
  color: var(--orange);
  font-family: var(--heading);
  font-size: clamp(3rem, 6vw, 3.8rem);
  line-height: 0.82;
}

.about-chapter {
  padding: clamp(1.6rem, 3.5vw, 2.2rem) 0;
  border-bottom: 1px solid rgba(245, 234, 219, 0.07);
}

.about-chapter--last {
  border-bottom: 0;
  padding-bottom: 0.5rem;
}

.about-chapter__label {
  margin: 0 0 0.45rem;
  color: rgba(201, 146, 50, 0.88);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-chapter h2 {
  margin: 0 0 1rem;
  color: var(--cream);
  font-family: var(--heading);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-chapter p {
  margin: 0 0 1.15rem;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.88;
}

.about-chapter p:last-child {
  margin-bottom: 0;
}

.about-quote {
  margin: 1.4rem 0 1.5rem;
  padding: 1.15rem 1.2rem 1.15rem 1.35rem;
  border-left: 3px solid var(--orange);
  background: rgba(244, 73, 0, 0.07);
}

.about-quote p {
  margin: 0;
  color: rgba(245, 234, 219, 0.9);
  font-family: var(--heading);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-style: italic;
  line-height: 1.55;
}

.about-cta {
  margin-top: clamp(1.8rem, 4vw, 2.4rem);
  padding-top: clamp(1.6rem, 3vw, 2rem);
  border-top: 1px solid rgba(188, 136, 43, 0.22);
  text-align: center;
}

.about-cta p {
  max-width: 36ch;
  margin: 0 auto 1.15rem;
  color: rgba(245, 234, 219, 0.68);
  font-size: 0.88rem;
  line-height: 1.6;
}

.about-cta .btn {
  margin-top: 0;
}

@media (max-width: 820px) {
  .about-hero {
    padding-bottom: clamp(5rem, 14vw, 6.5rem);
  }

  .about-shell {
    width: calc(100% - 1.25rem);
    margin-top: -3rem;
    padding-inline: 1.15rem;
  }

  .about-content__lead::first-letter {
    font-size: 2.6rem;
  }

  .about-tags li {
    font-size: 0.58rem;
  }
}

.footer--compact {
  scroll-snap-align: none;
}

.footer--compact .footer-bottom {
  border-top: 1px solid rgba(245, 234, 219, 0.08);
}

body.page-book {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 73, 0, 0.06), transparent 32rem),
    linear-gradient(180deg, #0b0806 0%, #030303 55%, #020202 100%);
}

.book-page {
  position: relative;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.book-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem clamp(4rem, 9vw, 6.5rem);
}

.book-hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(245, 234, 219, 0.01) 3px,
      rgba(245, 234, 219, 0.01) 4px
    );
  pointer-events: none;
  content: "";
}

.book-hero__inner {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin-inline: auto;
  text-align: center;
}

.book-hero .eyebrow {
  margin: 0 0 0.7rem;
  color: var(--book-accent-soft, rgba(201, 146, 50, 0.92));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.book-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.book-hero h1::after {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--book-accent, var(--orange)), transparent);
  content: "";
}

.book-hero__lead {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: rgba(245, 234, 219, 0.76);
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.65;
}

.page-book--windermere .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(61, 90, 128, 0.45), transparent 55%),
    linear-gradient(155deg, #1a2d4a 0%, #0f1a2c 45%, #080f18 100%);
}

.page-book--dead-winter .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(140, 160, 175, 0.28), transparent 55%),
    linear-gradient(155deg, #1c2228 0%, #12171c 45%, #080a0d 100%);
}

.page-book--pudding .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(120, 140, 80, 0.28), transparent 55%),
    linear-gradient(155deg, #1e2218 0%, #12150f 45%, #060504 100%);
}

.page-book--pudding {
  --book-accent: #8fa86a;
  --book-accent-soft: rgba(143, 168, 106, 0.95);
}

.page-book--money-game .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(201, 146, 50, 0.32), transparent 55%),
    linear-gradient(155deg, #2a2210 0%, #161008 45%, #0a0704 100%);
}

.page-book--money-game {
  --book-accent: #c99232;
  --book-accent-soft: rgba(201, 146, 50, 0.95);
}

.page-book--die-alone .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(100, 110, 120, 0.3), transparent 55%),
    linear-gradient(155deg, #1a1c20 0%, #0f1012 45%, #050403 100%);
}

.page-book--die-alone {
  --book-accent: #8a9aab;
  --book-accent-soft: rgba(138, 154, 171, 0.95);
}

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

.book-layout--solo .book-details {
  max-width: 640px;
  margin-inline: auto;
}

.page-book--legacy .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(201, 146, 50, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(245, 234, 219, 0.08), transparent 18rem),
    linear-gradient(155deg, #1a1713 0%, #100e0b 45%, #050403 100%);
}

.page-book--legacy {
  --book-accent: #c99232;
  --book-accent-soft: rgba(201, 146, 50, 0.95);
}

.page-book--never-personal .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(244, 73, 0, 0.32), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(201, 146, 50, 0.14), transparent 18rem),
    linear-gradient(155deg, #2a1408 0%, #160a05 45%, #0a0604 100%);
}

.page-book--never-personal {
  --book-accent: #f44900;
  --book-accent-soft: rgba(244, 73, 0, 0.95);
}

.page-book--killing-adam .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(244, 73, 0, 0.38), transparent 55%),
    linear-gradient(155deg, #3b1c0c 0%, #1f0f08 45%, #0a0604 100%);
}

.page-book--journey .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(74, 130, 180, 0.35), transparent 55%),
    linear-gradient(155deg, #1e3a52 0%, #122433 45%, #080f16 100%);
}

.page-book--breaking-heart .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(160, 40, 55, 0.4), transparent 55%),
    linear-gradient(155deg, #3a1018 0%, #220a10 45%, #0c0507 100%);
}

.page-book--vendetta .book-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(201, 146, 50, 0.35), transparent 55%),
    linear-gradient(155deg, #3d2f0a 0%, #241c06 45%, #0e0b03 100%);
}

.page-book--windermere {
  --book-accent: #6b8cb8;
  --book-accent-soft: rgba(107, 140, 184, 0.95);
}

.page-book--dead-winter {
  --book-accent: #9eb0be;
  --book-accent-soft: rgba(158, 176, 190, 0.95);
}

.page-book--killing-adam {
  --book-accent: #f44900;
  --book-accent-soft: rgba(244, 73, 0, 0.95);
}

.page-book--journey {
  --book-accent: #6aa3d4;
  --book-accent-soft: rgba(106, 163, 212, 0.95);
}

.page-book--breaking-heart {
  --book-accent: #c44d5e;
  --book-accent-soft: rgba(196, 77, 94, 0.95);
}

.page-book--vendetta {
  --book-accent: #d4a82a;
  --book-accent-soft: rgba(212, 168, 42, 0.95);
}

.book-shell {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2rem));
  margin: clamp(-3rem, -7vw, -4.5rem) auto 0;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid rgba(188, 136, 43, 0.24);
  background: linear-gradient(180deg, rgba(18, 12, 8, 0.97) 0%, rgba(10, 7, 5, 0.98) 100%);
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(245, 234, 219, 0.06);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.book-cover-wrap {
  position: sticky;
  top: 1.5rem;
}

.book-cover-wrap img {
  width: min(100%, 300px);
  margin-inline: auto;
  filter: drop-shadow(0 1.8rem 2.4rem rgba(0, 0, 0, 0.72));
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.book-meta li {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(188, 136, 43, 0.32);
  color: rgba(245, 234, 219, 0.7);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
}

.book-summary h2 {
  margin: 0 0 0.85rem;
  color: var(--cream);
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.book-summary p {
  margin: 0 0 1rem;
  color: rgba(245, 234, 219, 0.78);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.85;
}

.book-summary p:last-child {
  margin-bottom: 0;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245, 234, 219, 0.08);
}

.book-actions .btn {
  margin-top: 0;
}

.book-back-link {
  margin-top: 0 !important;
  font-size: 0.72rem !important;
}

.book-more {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  padding-top: clamp(1.6rem, 3vw, 2rem);
  border-top: 1px solid rgba(188, 136, 43, 0.2);
}

.book-more h2 {
  margin: 0 0 1.1rem;
  color: rgba(245, 234, 219, 0.88);
  font-family: var(--heading);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 400;
  text-align: center;
}

.book-more__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.book-more__item {
  display: block;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease;
}

.book-more__item:hover {
  transform: translateY(-4px);
}

.book-more__item img {
  width: 100%;
  max-width: 88px;
  margin-inline: auto;
  filter: drop-shadow(0 0.8rem 1.2rem rgba(0, 0, 0, 0.55));
}

.book-more__item span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(245, 234, 219, 0.62);
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.3;
}

.mini-book__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 820px) {
  .book-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-cover-wrap {
    position: static;
  }

  .book-meta {
    justify-content: center;
  }

  .book-actions {
    justify-content: center;
  }

  .book-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .artwork-actions {
    flex-direction: column;
    align-items: center;
  }
}

.contact-shell {
  width: min(560px, calc(100% - 2rem));
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field label {
  color: rgba(201, 146, 50, 0.92);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(188, 136, 43, 0.32);
  border-radius: 0;
  color: #fff7ea;
  font: 400 0.95rem/1.5 var(--body);
  background: rgba(0, 0, 0, 0.28);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(245, 234, 219, 0.38);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(244, 73, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(244, 73, 0, 0.14);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.contact-actions .btn {
  width: max-content;
  margin-top: 0;
}

.contact-status {
  min-height: 1.25rem;
  margin: 0;
  color: rgba(245, 234, 219, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 520px) {
  .contact-actions .btn {
    width: 100%;
  }
}

.explore-books {
  width: min(1100px, calc(100% - 2rem));
  margin: clamp(-2.5rem, -6vw, -3.5rem) auto clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(188, 136, 43, 0.28);
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.97) 0%, rgba(10, 7, 5, 0.98) 100%);
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(245, 234, 219, 0.06);
}

.explore-books__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.explore-book {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.7rem 1rem;
  border: 1px solid transparent;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.explore-book:hover {
  transform: translateY(-6px);
  border-color: rgba(188, 136, 43, 0.4);
  background: rgba(0, 0, 0, 0.22);
}

.explore-book img {
  width: min(100%, 140px);
  height: auto;
  filter: drop-shadow(0 1rem 1.4rem rgba(0, 0, 0, 0.55));
  transition: transform 280ms ease;
}

.explore-book:hover img {
  transform: scale(1.04) rotate(-1deg);
}

.explore-book h2 {
  margin: 0;
  color: rgba(245, 234, 219, 0.9);
  font-family: var(--heading);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.explore-book__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 2.35rem;
  margin-top: 0.15rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--orange);
  box-shadow: 0 0.65rem 1.4rem rgba(244, 73, 0, 0.28);
  transition:
    transform 280ms ease,
    background-color 220ms ease,
    box-shadow 280ms ease;
}

.explore-book__btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-16deg);
  transition: transform 620ms cubic-bezier(0.2, 0.85, 0.2, 1);
  pointer-events: none;
}

.explore-book:hover .explore-book__btn {
  background: #ff5a14;
  box-shadow:
    0 0.9rem 1.8rem rgba(244, 73, 0, 0.42),
    0 0 18px rgba(244, 73, 0, 0.28);
  transform: translateY(-2px);
}

.explore-book:hover .explore-book__btn::before {
  transform: translateX(130%) skewX(-16deg);
}

@media (max-width: 900px) {
  .explore-books__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 420px) {
  .explore-books__grid {
    grid-template-columns: 1fr;
  }
}
