@import url("<?php echo get_stylesheet_directory_uri(); ?>/lana/assets/fonts/fonts.css");

/* --------------------------------------------------------------------------
   Lana Vashovsky — Rhymes for a Whole Life
   Faithful recreation of the original editorial page.
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}
body{
    margin: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}


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

a:hover {
  color: #b0724f;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

/* Keyframes — identical to the original site */
@keyframes cbRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes cbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cbWipe {
  from { clip-path: inset(100% 0 0 0 round 16px); }
  to { clip-path: inset(0 0 0 0 round 16px); }
}

@keyframes cbZoom {
  from { scale: 1.12; }
  to { scale: 1; }
}

@keyframes cbDriftA {
  from { transform: translate3d(0, 26px, 0); }
  to { transform: translate3d(0, -26px, 0); }
}

@keyframes cbDriftB {
  from { transform: translate3d(0, 54px, 0); }
  to { transform: translate3d(0, -54px, 0); }
}

@keyframes cbHeroIn {
  from { opacity: 0; scale: 1.08; }
  to { opacity: 1; scale: 1; }
}

@keyframes cbCurtain {
  0% { transform: translateY(0); border-radius: 0; }
  100% { transform: translateY(-100%); border-radius: 0 0 48vw 48vw; }
}

@keyframes cbLoaderText {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-40px); }
}

@keyframes cbHeroExit {
  to { transform: translateY(-14vh) scale(0.92); opacity: 0.15; }
}

@keyframes cbHeroImgExit {
  to { transform: translateY(-9vh) scale(1.08); filter: brightness(0.55); }
}

@keyframes cbHeroFade {
  to { opacity: 0; }
}

@keyframes cbPar1 {
  from { transform: translate3d(0, 42vh, 0) rotate(-3deg); }
  to { transform: translate3d(0, -46vh, 0) rotate(2deg); }
}

@keyframes cbPar2 {
  from { transform: translate3d(0, 24vh, 0); }
  to { transform: translate3d(0, -28vh, 0); }
}

@keyframes cbPar3 {
  from { transform: translate3d(0, 60vh, 0) scale(0.9); }
  to { transform: translate3d(0, -64vh, 0) scale(1.05); }
}

@keyframes cbPar4 {
  from { transform: translate3d(0, 14vh, 0); }
  to { transform: translate3d(0, -18vh, 0); }
}

@keyframes cbStackAway {
  to { transform: scale(0.94) translateY(-10px); opacity: 1; }
}

@keyframes cbTestiAway {
  to { transform: scale(0.93) translateY(34px); opacity: 0.55; }
}

@keyframes cbCardL {
  from { transform: translate(-14vw, 22vh) rotate(-16deg); opacity: 0; }
  to { transform: translate(0, 0) rotate(-6deg); opacity: 1; }
}

@keyframes cbCardR {
  from { transform: translate(14vw, 22vh) rotate(16deg); opacity: 0; }
  to { transform: translate(0, 0) rotate(5deg); opacity: 1; }
}

@keyframes cbFootRise {
  from { transform: translateY(18%) scale(0.96); opacity: 0.4; }
  to { transform: translateY(12%) scale(1); opacity: 1; }
}

@keyframes cbFootIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes cbColumn {
  to { transform: translateY(-50%); }
}

@keyframes cbLift {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

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

[data-in="1"] [data-word] {
  opacity: 1 !important;
  transform: none !important;
}

/* Hover / press fill button */
.ihb[data-on="1"] .ihb-a,
.ihb:hover .ihb-a {
  transform: translateX(48px) !important;
  opacity: 0 !important;
}

.ihb[data-on="1"] .ihb-b,
.ihb:hover .ihb-b {
  transform: translateX(-4px) !important;
  opacity: 1 !important;
}

.ihb[data-on="1"] .ihb-dot,
.ihb:hover .ihb-dot {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: scale(1.8) !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Root
   -------------------------------------------------------------------------- */

.site {
  --terra: #b0724f;
  --terra-deep: #9a6041;
  --sage: #7b9752;
  --sage-pale: #dbe2c2;
  --cream: #f7f2ec;
  --off: #faf8f5;
  --ink: #1f1b19;
  --ink-soft: #5a514c;
  --cocoa: #3b2d27;
  --hairline: rgba(31, 27, 25, 0.12);
  --cb-reveal: cbRise 1s linear both;
  --cb-wipe: cbWipe 1s linear both, cbZoom 1s linear both;
  --cb-drift-a: cbDriftA 1s linear both;
  --cb-drift-b: cbDriftB 1s linear both;
  timeline-scope: --sheet;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off);
  overflow-x: clip;
}

.serif {
  font-family: "Instrument Serif", serif;
}

/* --------------------------------------------------------------------------
   Interactive hover button
   -------------------------------------------------------------------------- */

.ihb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}

.ihb:hover {
  color: #fff;
}

.ihb-a {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform: translateX(4px);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ihb-b {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  opacity: 0;
  transform: translateX(48px);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ihb-dot {
  position: absolute;
  left: 20%;
  top: 40%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--terra-deep);
  z-index: 1;
  transition: left 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    height 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ihb--nav {
  padding: 9px 20px;
  font-size: 13px;
}

.ihb--wide {
  min-width: min(100%, clamp(180px, 22vw, 320px));
}

.ihb--block {
  margin-top: auto;
  width: 100%;
  flex: 0 0 auto;
}

.ihb--compact {
  margin-top: 14px;
  padding: 11px 22px;
  font-size: 13px;
}

/* Word-by-word reveal */
[data-word] {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cocoa);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3.4vw, 64px);
  animation: cbCurtain 1.1s 2.4s cubic-bezier(0.76, 0, 0.24, 1) both;
  pointer-events: none;
}

.loader-top,
.loader-bottom {
  display: flex;
  justify-content: space-between;
}

.loader-top {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  animation: cbLoaderText 0.5s 2.05s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.loader-bottom {
  align-items: flex-end;
  gap: 24px;
  animation: cbLoaderText 0.5s 2.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.loader-name {
  font-size: clamp(40px, 9vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.loader-name em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  letter-spacing: -0.02em;
}

.loader-pct-wrap {
  text-align: right;
}

.loader-pct {
  font-size: clamp(40px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.loader-pct small {
  font-size: 0.4em;
  vertical-align: top;
}

.loader-bar-track {
  margin-top: 14px;
  width: clamp(120px, 16vw, 240px);
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-left: auto;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: #fff;
  width: 0%;
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cocoa);
  color: #fff;
  display: none;
  flex-direction: column;
  padding: 22px clamp(20px, 3.4vw, 64px) 40px;
  animation: cbFade 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.menu.is-open {
  display: flex;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-brand {
  font-size: 28px;
  font-weight: 500;
}

.menu-brand em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.menu-close {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.menu-nav {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.menu-nav a:hover {
  color: var(--sage-pale);
}

.menu-nav a.is-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--sage-pale);
}

.menu-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  background: #d9c7b6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 3.4vw, 64px);
  animation: cbMaskIn 0.9s 3.3s cubic-bezier(0.22, 0.61, 0.36, 1) both,
    cbHeroFade linear both;
  animation-timeline: auto, scroll(root);
  animation-range: normal, 0px 50vh;
}

.brand {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.nav-pill a {
  padding: 8px 14px;
}

.nav-pill a:hover {
  opacity: 0.7;
  color: #fff;
}

.menu-open {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
  z-index: 0;
  animation: cbHeroImgExit linear both, cbHeroIn 2s 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-timeline: scroll(root), auto;
  animation-range: 0px 100vh, normal;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(60, 40, 30, 0.12) 0%,
    rgba(60, 40, 30, 0) 28%,
    rgba(60, 40, 30, 0) 48%,
    rgba(60, 40, 30, 0.62) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 0 clamp(20px, 3.4vw, 64px) clamp(22px, 2.6vw, 36px);
  color: #fff;
  transform-origin: 50% 100%;
  animation: cbHeroExit linear both;
  animation-timeline: scroll(root);
  animation-range: 0px 90vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(20px, 2.6vw, 36px);
  margin-left: clamp(0px, 42vw - 160px, 46%);
  text-align: right;
}

.hero-intro {
  min-width: 0;
  animation: cbMaskIn 1s 3.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-lede {
    margin: 0 0 14px;
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    display: inline-grid;
}

.hero-title {
    margin: 0;
    font-weight: 400;
    font-size: clamp(40px, 6.5vw, 112px);
    text-shadow: 0 2px 24px rgba(60, 40, 30, 0.35);
    line-height: 0.96;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-line--italic {
  padding-bottom: 0.08em;
}

.hero-line span {
  display: block;
}

.hero-line--1 span {
  animation: cbLift 1.1s 3.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-line--italic span {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  letter-spacing: -0.01em;
  animation: cbLift 1.1s 3.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-meta {
  margin-top: clamp(18px, 2vw, 28px);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  animation: cbMaskIn 1s 3.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  font-size: 13px;
}

.hero-books {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reader-stack {
  display: flex;
}

.reader-stack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.reader-stack img + img {
  margin-left: -10px;
}

.hero-stars {
  line-height: 1.4;
}

.hero-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #fff;
}

.hero-award {
  color: rgba(255, 255, 255, 0.88);
}

/* --------------------------------------------------------------------------
   Sheet (content over sticky hero + footer)
   -------------------------------------------------------------------------- */

.sheet {
  position: relative;
  z-index: 2;
  view-timeline-name: --sheet;
  border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0;
  background: #fff;
  box-shadow: 0 -30px 80px rgba(40, 25, 18, 0.28);
  overflow: clip;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  position: relative;
  view-timeline-name: --about;
  background: #fff;
  scroll-margin-top: 24px;
  overflow: clip;
}

.about-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 3.4vw, 64px);
  pointer-events: none;
}

.about-copy {
  width: 100%;
  max-width: 720px;
  text-align: center;
  pointer-events: auto;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #1f1b19;
  border: 1px solid rgba(31, 27, 25, 0.14);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(60, 30, 20, 0.08);
}

.about-title {
  margin: 18px 0 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #1f1b19;
  text-wrap: balance;
}

.about-body {
  margin: clamp(18px, 2vw, 26px) auto 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: #4a423d;
  text-wrap: pretty;
}

.about-float {
  position: relative;
  z-index: 2;
  height: 320vh;
  margin-top: -100vh;
  pointer-events: none;
}

.about-float-inner {
  position: absolute;
  inset: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.float-card {
  position: absolute;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(60, 30, 20, 0.16);
  will-change: transform;
}

.float-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  text-align: center;
  font-family: "Instrument Serif", serif;
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.15;
  color: #fff;
}

.float-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 10, 0) 40%, rgba(20, 12, 10, 0.72) 100%);
}

.float-card--1 {
  right: clamp(8px, 4vw, 64px);
  top: 6%;
  width: clamp(120px, 16vw, 230px);
  animation: cbDriftA 1s linear both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.float-card--1 img { object-position: 50% 14%; }

.float-card--2 {
  left: clamp(8px, 6vw, 120px);
  top: 16%;
  width: clamp(110px, 13vw, 180px);
  animation: cbDriftB 1s linear both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.float-card--2 img { object-position: 50% 32%; }

.float-card--3 {
  left: clamp(-30px, -1vw, 0px);
  top: 30%;
  width: clamp(130px, 15vw, 210px);
  animation: cbDriftA 1s linear both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.float-card--3 img { object-position: 50% 20%; }

.float-card--4 {
  right: clamp(-20px, 0vw, 0px);
  top: 42%;
  width: clamp(120px, 14vw, 200px);
  animation: cbDriftB 1s linear both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.float-card--4 img { object-position: 50% 20%; }

.float-card--5 {
  left: 40%;
  top: 56%;
  width: clamp(130px, 16vw, 230px);
  animation: cbDriftA 1s linear both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.float-card--5 img { object-position: 50% 10%; }

/* --------------------------------------------------------------------------
   Books
   -------------------------------------------------------------------------- */

.books {
  padding: clamp(20px, 3vw, 48px) clamp(10px, 1.4vw, 24px) clamp(60px, 6vw, 90px);
  background: #fff;
  scroll-margin-top: 24px;
}

.books-panel {
  background: var(--terra);
  border-radius: clamp(24px, 3vw, 48px);
  padding: clamp(60px, 7vw, 110px) clamp(16px, 3vw, 56px);
  color: #fff;
}

.books-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.books-head {
  text-align: center;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.85);
}

.kicker--dark {
  color: var(--ink-soft);
}

.kicker-line {
  width: 64px;
  height: 1px;
}

.kicker-line--l-light {
  background: linear-gradient(90deg, transparent, #fff);
}

.kicker-line--r-light {
  background: linear-gradient(90deg, #fff, transparent);
}

.kicker-line--l-terra {
  background: linear-gradient(90deg, transparent, var(--terra));
}

.kicker-line--r-terra {
  background: linear-gradient(90deg, var(--terra), transparent);
}

.section-title {
  margin: 16px 0 0;
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.italic-sage {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--sage-pale);
}

.italic-sage-deep {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--sage);
}

.book-stack {
  display: flex;
  flex-direction: column;
  margin-top: clamp(40px, 5vw, 64px);
  timeline-scope: --book2, --book3;
}

.book-card {
  position: sticky;
  top: clamp(56px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  padding: 14px;
  box-sizing: border-box;
  height: min(clamp(440px, 74vh, 640px), calc(100vh - clamp(56px, 8vh, 96px) - 24px));
  border-radius: 20px;
  background: var(--terra);
  transform-origin: 50% 0%;
  margin-bottom: 0;
}

.book-card--1 {
  z-index: 1;
  animation: cbStackAway 1s linear both;
  animation-timeline: --book2;
  animation-range: entry 0% entry 100%;
}

.book-card--2 {
  z-index: 2;
  view-timeline-name: --book2;
  animation: cbStackAway 1s linear both;
  animation-timeline: --book3;
  animation-range: entry 0% entry 100%;
}

.book-card--3 {
  z-index: 3;
  view-timeline-name: --book3;
}

.book-spacer {
  height: 60vh;
}

.book-art {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
  min-height: 0;
}

.book-art--blush { background: #f1e4e0; }
.book-art--lilac { background: #ece4f0; }
.book-art--sand { background: #f3ece4; }

.book-art img {
  display: block;
  max-width: min(100%, 520px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.book-art--a img {
  animation: var(--cb-drift-a);
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.book-art--b img {
  animation: var(--cb-drift-b);
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.book-card--1 .book-art:hover img,
.book-card--3 .book-art:hover img {
  transform: translateY(-8px) rotate(-1deg);
}

.book-card--2 .book-art:hover img {
  transform: translateY(-8px) rotate(1deg);
}

.book-copy {
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.book-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.book-copy h3 {
  margin: 8px 0 0;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.book-copy .lede {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.book-inside {
  font-size: 14px;
  font-weight: 500;
}

.book-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.books-cta {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Meet the author
   -------------------------------------------------------------------------- */

.statement {
  background: #fff;
  color: var(--ink);
  padding: clamp(70px, 8vw, 120px) clamp(20px, 3.4vw, 64px);
  overflow: clip;
}

.statement-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.statement-head {
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.chip--ink {
  background: var(--ink);
  color: #fff;
  border: 0;
  box-shadow: none;
}

.statement-title {
  margin: 18px 0 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.statement-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  max-width: 760px;
  margin: clamp(28px, 4vw, 52px) auto 0;
  padding: 0 clamp(0px, 2vw, 24px);
}

.statement-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(60, 30, 20, 0.22);
  position: relative;
  z-index: 1;
  transform-origin: 50% 100%;
  animation: cbCardL 1s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 95%;
}

.years-card {
  position: relative;
  z-index: 2;
  margin: clamp(-16px, -2vw, -32px) 0 0 clamp(-24px, -4vw, -48px);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: var(--terra);
  color: #fff;
  box-shadow: 0 30px 70px rgba(60, 30, 20, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 2.6vw, 32px) 0;
  overflow: hidden;
  transform-origin: 50% 100%;
  animation: cbCardR 1s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 95%;
}

.years-label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}

.years-num {
  font-family: "Instrument Serif", serif;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.years-card img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: auto;
    transform: translateY(-23%);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.statement-prose {
  max-width: 62ch;
  margin: clamp(36px, 5vw, 64px) auto 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

.statement-prose p {
  margin: 0;
  text-wrap: pretty;
}

.statement-prose p + p {
  margin-top: 18px;
}

.statement-quote {
  margin: clamp(24px, 3vw, 36px) 0 0 !important;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

.statement-quote span {
  color: var(--sage);
}

.honors {
  margin-top: clamp(40px, 5vw, 72px);
  border-radius: 28px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: clamp(24px, 3vw, 40px);
  text-align: left;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.honors-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
}

.honors-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  max-width: 16ch;
}

.honors-hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.award-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(60, 30, 20, 0.16);
}

.award-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(150px, 16vw, 220px);
  border-radius: 12px;
  background: var(--cream);
  overflow: hidden;
}

.award-frame img {
  display: block;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(60, 30, 20, 0.18);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.award-card:hover img {
  transform: scale(1.04);
}

.award-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.award-meta span:first-child {
  font-size: 14px;
  font-weight: 500;
}

.award-meta span:last-child {
  font-size: 12px;
  color: var(--ink-soft);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 14, 12, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: cbFade 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  width: min(92vw, 900px);
  height: 88vh;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.5));
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  padding: clamp(56px, 6vw, 90px) clamp(20px, 3.4vw, 64px);
  background: var(--cream);
}

.faq-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3.5vw, 44px);
  align-items: start;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

.faq-promo {
  border-radius: 16px;
  background: var(--sage-pale);
  overflow: hidden;
}

.faq-promo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 30%;
}

.faq-promo-body {
  padding: 20px;
}

.faq-promo-body strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.faq-promo-body p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  justify-content: flex-start;
}

.faq-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #5a514c;
  transition: background 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-tab.is-active {
  background: #b0724f;
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 27, 25, 0.08);
  overflow: hidden;
  transition: background 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item:hover {
  transform: translateX(4px);
}

.faq-item.is-open {
  background: #fff;
  border-color: rgba(176, 114, 79, 0.35);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  color: var(--ink);
}

.faq-item.is-open .faq-q {
  font-weight: 600;
}

.faq-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  margin: 0;
  padding: 0 18px 16px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  animation: cbFade 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.faq-item:not(.is-open) .faq-a {
  display: none;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials {
  position: relative;
  padding: clamp(70px, 8vw, 120px) clamp(20px, 3.4vw, 64px);
  overflow: hidden;
  background-color: #ffffff;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.testimonials-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.chip--ghost {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: none;
}

.testimonials-head h2 {
  margin: 22px 0 0;
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.testimonials-head p {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.testi-cols {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.testi-col {
  width: clamp(260px, 26vw, 320px);
  flex: 0 0 auto;
}

.testi-col--2 { display: none; }
.testi-col--3 { display: none; }

.testi-list {
  list-style: none;
  margin: 0;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-col--1 .testi-list { animation: cbColumn 15s linear infinite; }
.testi-col--2 .testi-list { animation: cbColumn 19s linear infinite; }
.testi-col--3 .testi-list { animation: cbColumn 17s linear infinite; }

.testi-list:hover {
  animation-play-state: paused;
}

.testi-card {
  padding: clamp(24px, 2.4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background: #fff;
  box-shadow: 0 10px 30px rgba(60, 30, 20, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.testi-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(60, 30, 20, 0.16);
}

.testi-card blockquote {
  margin: 0;
  padding: 0;
}

.testi-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.testi-foot img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 0 0 2px var(--cream);
}

.testi-foot cite {
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.testi-foot span {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  padding: clamp(100px, 14vw, 200px) clamp(20px, 3.4vw, 64px);
  background: #2b201b;
  color: #fff;
  overflow: hidden;
  text-align: center;
  scroll-margin-top: 24px;
}

.contact-bg {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 60%;
  animation: var(--cb-drift-a);
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.contact-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(43, 32, 27, 0.35), rgba(43, 32, 27, 0.8));
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  animation: var(--cb-reveal);
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

.contact-title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.contact-lede {
  margin: 18px auto 0;
  max-width: 44ch;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: pretty;
}

.contact-form {
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
}

.contact-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.contact-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.contact-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.contact-form button {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--terra);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.contact-form button:hover {
  background: var(--terra-deep);
  transform: translateY(-1px);
  color: #fff;
}

.contact-thanks {
  display: none;
  margin: 14px 0 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--sage-pale);
}

.contact-thanks.is-on {
  display: block;
}

.contact-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Footer reveal
   -------------------------------------------------------------------------- */

.footer-slot {
  position: relative;
  height: clamp(380px, 52vh, 480px);
  clip-path: inset(0 0 0 0);
  z-index: 0;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(380px, 52vh, 480px);
  box-sizing: border-box;
  background: var(--terra);
  color: #fff;
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 3.4vw, 64px) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  animation: cbFootIn 1s linear both;
  animation-timeline: --sheet;
  animation-range: exit 10% exit 70%;
}

.footer-brand {
  font-size: 26px;
  letter-spacing: -0.01em;
}

.footer-brand em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
}

.footer-blurb {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  justify-self: end;
  font-size: 13px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #fff;
  opacity: 0.75;
}

.footer-legal {
  margin-top: clamp(20px, 2.4vw, 32px);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-giant {
  margin-top: clamp(4px, 0.8vw, 12px);
  font-size: clamp(44px, 11vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.18);
  transform: translateY(12%);
  transform-origin: 50% 100%;
  user-select: none;
  animation: cbFootRise 1s linear both;
  animation-timeline: --sheet;
  animation-range: exit 0% exit 100%;
}

.footer-giant em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Responsive — matches original 600 / 860 / 1100 breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1099px) {
  .testi-col--3 { display: none; }
}

@media (min-width: 1100px) {
  .testi-col--2,
  .testi-col--3 { display: block; }
}

@media (min-width: 860px) {
  .testi-col--2 { display: block; }
  .menu-open { display: none; }
  .nav-pill { display: flex; }
}

@media (max-width: 859px) {
  .nav-pill { display: none; }
  .menu-open { display: inline-flex; }

  .hero-copy {
    align-items: flex-start;
    margin-left: 0;
    text-align: left;
  }

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

  .testi-col--2,
  .testi-col--3 { display: none; }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 599px) {
  .hero-photo {
    object-position: 22% 50%;
  }

  .book-card {
    height: auto;
    min-height: min(clamp(440px, 74vh, 640px), calc(100vh - clamp(56px, 8vh, 96px) - 24px));
    grid-template-columns: minmax(0, 1fr);
  }
}
