/* =========================================================
   IdeasBouquet Design Labs — light editorial theme
   ========================================================= */

:root {
  --paper: #faf6ef;
  --paper-2: #f3ece0;
  --paper-3: #ebe1d2;
  --card: #fffdf9;
  --ink: #211c2b;
  --ink-2: #382f45;
  --ink-soft: #5c5468;
  --muted: #8b8296;
  --line: rgba(33, 28, 43, 0.12);
  --line-strong: rgba(33, 28, 43, 0.22);

  --coral: #e8603c;
  --coral-deep: #cf4a28;
  --plum: #7b4bd6;
  --teal: #1f9d8b;
  --amber: #e8a33d;
  --pink: #f2a0b5;
  --lilac: #cbb8f5;

  --grad-warm: linear-gradient(120deg, #e8603c 0%, #e8a33d 42%, #7b4bd6 100%);
  --grad-soft: linear-gradient(135deg, #fff6ea 0%, #f4ecff 55%, #e9fbf6 100%);

  --shadow-sm: 0 1px 2px rgba(33, 28, 43, 0.06), 0 6px 18px -10px rgba(33, 28, 43, 0.18);
  --shadow-md: 0 2px 4px rgba(33, 28, 43, 0.05), 0 24px 48px -28px rgba(33, 28, 43, 0.35);
  --shadow-lg: 0 8px 16px rgba(33, 28, 43, 0.06), 0 48px 90px -40px rgba(33, 28, 43, 0.45);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: min(1200px, 92vw);
  --header-h: 76px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: rgba(232, 96, 60, 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: var(--wrap); margin-inline: auto; }
.icon { width: 1em; height: 1em; flex: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 0.7rem 1rem; border-radius: var(--r-full);
  background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Paper grain + cursor glow + progress --------------------- */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 96, 60, 0.11) 0%, rgba(123, 75, 214, 0.07) 42%, transparent 68%);
  opacity: 0; transition: opacity 0.5s ease;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad-warm);
  transition: width 0.08s linear;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 246, 239, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(33, 28, 43, 0.45);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.brand-mark { width: 28px; height: 46px; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark img { mix-blend-mode: multiply; }
.brand-type { display: grid; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -0.03em;
}
.brand-sub {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 1.65rem; margin-inline: auto; }
.nav a {
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 0.3rem 0; transition: color 0.2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--coral); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); place-items: center; gap: 5px;
  background: var(--card);
}
.menu-toggle span {
  display: block; width: 16px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: grid; gap: 0.2rem;
  padding: 0.6rem 4vw 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(250, 246, 239, 0.98);
}
.mobile-nav a {
  padding: 0.75rem 0.4rem; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--coral-deep); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.92rem 1.45rem; border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(120deg, var(--coral) 0%, #ef7a42 100%);
  color: #fff; box-shadow: 0 12px 26px -12px rgba(232, 96, 60, 0.75);
}
.btn--primary:hover { box-shadow: 0 18px 34px -12px rgba(232, 96, 60, 0.8); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }

.btn--ghost {
  background: rgba(255, 253, 249, 0.6);
  border-color: var(--line-strong); color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--card); border-color: var(--ink); }

.btn--sm { padding: 0.66rem 1.05rem; font-size: 0.82rem; }
.btn--full { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.92rem; color: var(--coral-deep);
  border-bottom: 1px solid rgba(207, 74, 40, 0.35); padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.2s ease;
}
.text-link:hover { gap: 0.7rem; color: var(--ink); }

.link-btn {
  color: var(--coral-deep); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  min-height: min(880px, 94vh);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  will-change: transform;
}
.blob--1 {
  width: 46vw; height: 46vw; left: -12vw; top: -12vw;
  background: radial-gradient(circle at 35% 35%, #ffd9c9, rgba(255, 217, 201, 0) 68%);
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--2 {
  width: 42vw; height: 42vw; right: -10vw; top: 4vw;
  background: radial-gradient(circle at 50% 50%, #ddd0ff, rgba(221, 208, 255, 0) 68%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.blob--3 {
  width: 38vw; height: 38vw; left: 34vw; bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, #ccf2e8, rgba(204, 242, 232, 0) 70%);
  animation: drift 30s ease-in-out infinite alternate;
}
.hero-rings {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 0 49.6%, rgba(33, 28, 43, 0.05) 49.6% 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 0 34.6%, rgba(33, 28, 43, 0.04) 34.6% 35%, transparent 35%);
  background-size: 1100px 1100px, 1100px 1100px;
  background-position: 78% 40%, 78% 40%;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  padding: 0.5rem 0.85rem; border: 1px solid var(--line);
  border-radius: var(--r-full); background: rgba(255, 253, 249, 0.65);
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 rgba(232, 96, 60, 0.45);
  animation: pulse 2.6s ease-out infinite;
}

.hero h1 {
  margin: 1.15rem 0 1.35rem;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  font-weight: 600; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 100, "SOFT" 40;
}
.grad-text {
  background: var(--grad-warm);
  background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  animation: gradientPan 9s ease infinite;
  padding-right: 0.06em;
}

.hero-lede {
  max-width: 34rem; color: var(--ink-soft); font-size: 1.06rem;
  line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.9rem 0 2.6rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line); padding-top: 1.35rem;
  max-width: 32rem;
}
.hero-stats > div {
  padding-right: clamp(1.4rem, 4vw, 2.6rem);
  margin-right: clamp(1.4rem, 4vw, 2.6rem);
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem;
}
.hero-stats dd {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero book art */
.hero-art { position: relative; }
.hero-stage {
  position: relative; height: clamp(380px, 46vw, 560px);
  perspective: 1400px;
  display: grid; place-items: center;
}
.hero-book {
  position: absolute; width: clamp(190px, 21vw, 275px);
  border-radius: 6px 12px 12px 6px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s var(--ease);
}
.hero-book img {
  width: 100%; height: auto; border-radius: inherit;
  box-shadow:
    -2px 2px 0 rgba(255, 255, 255, 0.75) inset,
    0 40px 60px -30px rgba(33, 28, 43, 0.55),
    0 12px 22px -12px rgba(33, 28, 43, 0.35);
}
.hero-book::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 8px 0 14px -8px rgba(0, 0, 0, 0.35),
              inset 1px 0 0 rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.hero-book--back {
  transform: translate3d(-38%, -8%, 0) rotate(-13deg) rotateY(12deg) scale(0.86);
  z-index: 1; opacity: 0.92;
}
.hero-book--mid {
  transform: translate3d(30%, 3%, 0) rotate(9deg) rotateY(-10deg) scale(0.9);
  z-index: 2;
}
.hero-book--front {
  transform: translate3d(-2%, 12%, 0) rotate(-2.5deg);
  z-index: 3;
}
.hero-book--front img { box-shadow: 0 55px 80px -34px rgba(33, 28, 43, 0.6), 0 16px 26px -14px rgba(33, 28, 43, 0.4); }

.hero-stage:hover .hero-book--back { transform: translate3d(-42%, -10%, 0) rotate(-16deg) rotateY(14deg) scale(0.87); }
.hero-stage:hover .hero-book--mid { transform: translate3d(34%, 1%, 0) rotate(12deg) rotateY(-12deg) scale(0.91); }
.hero-stage:hover .hero-book--front { transform: translate3d(-2%, 8%, 0) rotate(-1deg) scale(1.015); }

.float-chip {
  position: absolute; z-index: 4;
  padding: 0.55rem 0.9rem; border-radius: var(--r-full);
  background: rgba(255, 253, 249, 0.88); backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 28, 43, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  animation: bob 6s ease-in-out infinite;
}
.float-chip--a { top: 4%; left: 2%; animation-delay: -1s; color: var(--plum); }
.float-chip--b { right: 0; top: 22%; animation-delay: -3s; color: var(--coral-deep); }
.float-chip--c { bottom: 7%; left: 8%; animation-delay: -5s; color: var(--teal); }

.spark { position: absolute; color: var(--amber); font-size: 1.1rem; animation: twinkle 4s ease-in-out infinite; }
.spark--1 { top: 12%; right: 12%; }
.spark--2 { bottom: 20%; right: 4%; font-size: 0.8rem; animation-delay: -1.5s; color: var(--pink); }
.spark--3 { top: 48%; left: -3%; font-size: 0.7rem; animation-delay: -3s; color: var(--plum); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.hero-scroll-line {
  width: 1px; height: 34px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateY(-100%); animation: scrollLine 2.4s ease-in-out infinite;
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55); overflow: hidden; padding: 1.05rem 0;
}
.marquee { display: flex; }
.marquee-track {
  display: flex; align-items: center; gap: 1.5rem; flex: none;
  padding-right: 1.5rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-style: italic; letter-spacing: -0.01em; white-space: nowrap;
}
.marquee-track i { color: var(--coral); font-style: normal; font-size: 0.8rem; }

/* =========================================================
   Section basics
   ========================================================= */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
section[id], #top { scroll-margin-top: calc(var(--header-h) + 14px); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { max-width: 52rem; margin-inline: auto; text-align: center; }
.section-kicker {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--coral-deep); margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.55rem);
  letter-spacing: -0.035em;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--ink-soft); }
.section-lede {
  margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.02rem;
  line-height: 1.75; max-width: 42rem;
}
.section-head--center .section-lede { margin-inline: auto; }

/* =========================================================
   Collection tools
   ========================================================= */
.collection { background: linear-gradient(180deg, transparent, rgba(243, 236, 224, 0.42) 30%, transparent); }

.collection-tools {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap;
}
.affiliate-note {
  font-size: 0.72rem; line-height: 1.6; color: var(--muted);
  max-width: 52rem; margin-bottom: 1.8rem;
}
.affiliate-note strong { color: var(--ink-soft); font-weight: 800; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.58rem 0.95rem; border-radius: var(--r-full);
  border: 1px solid var(--line); background: rgba(255, 253, 249, 0.7);
  font-size: 0.8rem; font-weight: 700; color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.chip:hover { border-color: var(--line-strong); transform: translateY(-1px); color: var(--ink); }
.chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  box-shadow: 0 8px 18px -10px rgba(33, 28, 43, 0.6);
}
.chip-count {
  font-size: 0.64rem; padding: 0.1rem 0.34rem; border-radius: var(--r-full);
  background: rgba(33, 28, 43, 0.08); color: inherit;
}
.chip.is-active .chip-count { background: rgba(255, 255, 255, 0.18); }

.search {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-width: 260px; flex: 0 1 300px;
  padding: 0.6rem 0.9rem; border-radius: var(--r-full);
  border: 1px solid var(--line); background: rgba(255, 253, 249, 0.8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(123, 75, 214, 0.12); }
.search .icon { width: 18px; height: 18px; color: var(--muted); }
.search input {
  width: 100%; border: 0; background: transparent; outline: 0;
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search-hint { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }

/* =========================================================
   Book grid + cards
   ========================================================= */
.book-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.book-card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0.7rem 0.7rem 0.95rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s ease, background 0.45s ease;
  will-change: transform;
}
.book-card:hover {
  transform: translateY(-7px);
  border-color: rgba(33, 28, 43, 0.2);
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.book-card.is-out { display: none; }

.book-media {
  position: relative; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(242, 160, 181, 0.22), transparent 60%),
    radial-gradient(120% 100% at 90% 100%, rgba(123, 75, 214, 0.18), transparent 62%),
    linear-gradient(160deg, #f7efe4, #efe8f8);
  padding: 1.35rem 1.6rem 1.15rem;
}
.book-media::before {
  content: ""; position: absolute; inset: 12% 18% 6%;
  border-radius: 50%; filter: blur(24px);
  background: radial-gradient(circle, rgba(232, 96, 60, 0.2), transparent 66%);
  opacity: 0.7;
}
.book-open {
  position: relative; display: block; width: 100%; padding: 0;
  border-radius: 4px 8px 8px 4px;
  transform: perspective(900px) rotateY(-4deg);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.book-card:hover .book-open { transform: perspective(900px) rotateY(0deg) translateY(-3px); }
.book-open img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: inherit;
  box-shadow: 0 24px 36px -22px rgba(33, 28, 43, 0.65), 0 6px 12px -8px rgba(33, 28, 43, 0.4);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.book-card:hover .book-open img { box-shadow: 0 30px 44px -22px rgba(33, 28, 43, 0.7), 0 10px 16px -10px rgba(33, 28, 43, 0.45); }

.book-shine {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  pointer-events: none;
}
.book-shine::after {
  content: ""; position: absolute; top: -60%; left: -80%;
  width: 55%; height: 220%; transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.75s var(--ease);
}
.book-card:hover .book-shine::after { left: 130%; }

.book-badge {
  position: absolute; z-index: 3; top: 0.65rem; left: 0.65rem;
  padding: 0.28rem 0.55rem; border-radius: var(--r-full);
  background: rgba(255, 253, 249, 0.9); backdrop-filter: blur(6px);
  border: 1px solid rgba(33, 28, 43, 0.1);
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.book-badge--gold {
  background: linear-gradient(120deg, #f7dfae, #efc97b);
  border-color: rgba(150, 105, 20, 0.25); color: #6a4a0c;
}

.book-peek {
  position: absolute; z-index: 4; left: 50%; bottom: 0.7rem;
  transform: translate(-50%, 10px); opacity: 0;
  padding: 0.36rem 0.7rem; border-radius: var(--r-full);
  background: rgba(33, 28, 43, 0.88); color: var(--paper);
  font-size: 0.66rem; font-weight: 700; white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  pointer-events: none;
}
.book-card:hover .book-peek, .book-open:focus-visible .book-peek { opacity: 1; transform: translate(-50%, 0); }

.book-body { display: flex; flex-direction: column; flex: 1; padding: 0.95rem 0.35rem 0; }
.book-series {
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral-deep);
  margin-bottom: 0.4rem;
}
.book-title { font-size: 1.08rem; letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.book-open-text { text-align: left; padding: 0; font: inherit; color: inherit; }
.book-open-text:hover { color: var(--coral-deep); }
.book-desc {
  margin-top: 0.55rem; font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft);
  flex: 1;
}
.book-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line);
}
.book-meta { font-size: 0.67rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.amazon-link {
  display: inline-flex; align-items: center; gap: 0.3rem; flex: none;
  padding: 0.42rem 0.7rem; border-radius: var(--r-full);
  background: var(--ink); color: var(--paper);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.amazon-link .icon { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.amazon-link:hover { background: var(--coral); transform: translateY(-1px); }
.amazon-link:hover .icon { transform: translate(1px, -1px); }

.empty-state {
  text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft);
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: rgba(255, 253, 249, 0.5);
}
.empty-star { color: var(--coral); margin-right: 0.3rem; }

/* =========================================================
   Spotlight
   ========================================================= */
.spotlight-panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(123, 75, 214, 0.16);
  background:
    radial-gradient(90% 120% at 12% 0%, #fff7ec 0%, transparent 55%),
    radial-gradient(80% 120% at 100% 10%, #e6dcff 0%, transparent 60%),
    linear-gradient(135deg, #fbf5ea 0%, #f1eaff 55%, #eafaf5 100%);
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1rem; padding: clamp(2rem, 5vw, 4.4rem);
  box-shadow: var(--shadow-md);
}
.spotlight-copy { position: relative; z-index: 2; max-width: 34rem; }
.spotlight-copy .section-title { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.spotlight-copy strong { font-weight: 800; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

.spotlight-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.spotlight-word {
  position: absolute; left: -2%; bottom: -8%;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(6rem, 19vw, 16rem); line-height: 0.7;
  letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(33, 28, 43, 0.12);
  user-select: none;
}

.spotlight-art {
  position: relative; min-height: 380px; z-index: 1;
  perspective: 1200px;
}
.spot-book {
  position: absolute; width: clamp(120px, 13vw, 168px);
  border-radius: 4px 9px 9px 4px;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.spot-book img {
  width: 100%; height: auto; border-radius: inherit;
  box-shadow: 0 30px 45px -24px rgba(33, 28, 43, 0.65), 0 8px 14px -8px rgba(33, 28, 43, 0.35);
}
.spot-book--1 { left: 3%; top: 18%; transform: rotate(-12deg); z-index: 1; }
.spot-book--2 { left: 27%; top: 10%; transform: rotate(-4deg); z-index: 2; }
.spot-book--3 { left: 51%; top: 16%; transform: rotate(5deg); z-index: 3; }
.spot-book--4 { left: 38%; top: 30%; transform: rotate(0deg) scale(1.18); z-index: 4; }
.spotlight-panel:hover .spot-book--1 { transform: rotate(-16deg) translate(-6px, -6px); }
.spotlight-panel:hover .spot-book--2 { transform: rotate(-6deg) translateY(-9px); }
.spotlight-panel:hover .spot-book--3 { transform: rotate(9deg) translate(6px, -6px); }
.spotlight-panel:hover .spot-book--4 { transform: rotate(0deg) scale(1.22) translateY(-4px); }

/* =========================================================
   Studio
   ========================================================= */
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.studio-copy .section-lede + .section-lede { margin-top: 1rem; }
.studio-copy .text-link { margin-top: 1.7rem; }
.value-stack { display: grid; gap: 0.8rem; }
.value-card {
  position: relative; padding: 1.5rem 1.6rem 1.5rem 4.4rem;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s var(--ease);
}
.value-card:hover { transform: translateX(6px); background: var(--card); box-shadow: var(--shadow-sm); }
.value-num {
  position: absolute; left: 1.25rem; top: 1.35rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--coral);
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.value-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; }

/* =========================================================
   Steps
   ========================================================= */
.how { background: rgba(243, 236, 224, 0.5); border-block: 1px solid var(--line); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative; padding: 2rem 1.6rem 1.7rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.step-num {
  display: block; font-family: var(--font-display); font-size: 3.6rem;
  font-weight: 300; line-height: 0.8; color: transparent;
  -webkit-text-stroke: 1.2px rgba(232, 96, 60, 0.45);
  margin-bottom: 1.2rem;
}
.step h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; }
.how-note { text-align: center; margin-top: 1.8rem; font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   CTA
   ========================================================= */
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl); text-align: center;
  padding: clamp(2.6rem, 6vw, 5.2rem) clamp(1.4rem, 4vw, 4rem);
  background:
    radial-gradient(70% 120% at 20% 0%, #ffe3d2 0%, transparent 60%),
    radial-gradient(70% 120% at 85% 100%, #e3d6ff 0%, transparent 62%),
    linear-gradient(135deg, #fff8ee, #fbeff1 55%, #eef9f6);
  border: 1px solid rgba(232, 96, 60, 0.16);
  box-shadow: var(--shadow-md);
}
.cta-panel .section-kicker { color: var(--plum); }
.cta-panel h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.035em; }
.cta-panel h2 em { font-style: italic; font-weight: 400; }
.cta-panel .section-lede { margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.9rem; }
.cta-orbit { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-orbit span {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(33, 28, 43, 0.12);
}
.cta-orbit span:nth-child(1) { width: 420px; height: 420px; left: -140px; top: -180px; animation: spin 60s linear infinite; }
.cta-orbit span:nth-child(2) { width: 560px; height: 560px; right: -220px; bottom: -300px; animation: spin 80s linear infinite reverse; }
.cta-orbit span:nth-child(3) { width: 220px; height: 220px; right: 12%; top: -90px; border-style: solid; border-color: rgba(232, 96, 60, 0.12); animation: spin 40s linear infinite; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 1.4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
}
.footer-logo-link { display: inline-block; }
.footer-logo { width: auto; height: 168px; mix-blend-mode: multiply; }
.footer-brand p {
  margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft);
  line-height: 1.7; max-width: 26rem;
}
.footer-col h3 {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.24rem 0; transition: color 0.2s ease, transform 0.25s var(--ease);
}
.footer-col a:hover { color: var(--coral-deep); transform: translateX(3px); }
.footer-note p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.65; }
.footer-fine { margin-top: 1rem; font-size: 0.72rem !important; color: var(--muted) !important; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: 0.74rem; color: var(--muted);
}
.back-top { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; color: var(--ink-soft); }
.back-top:hover { color: var(--coral-deep); }

/* =========================================================
   Modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(33, 28, 43, 0.38);
  backdrop-filter: blur(10px); animation: fadeIn 0.3s ease both;
}
.modal-card {
  position: relative; z-index: 1; width: min(880px, 100%);
  max-height: min(88vh, 780px); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: var(--card); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.45s var(--ease) both;
}
.modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 253, 249, 0.9); border: 1px solid var(--line);
  color: var(--ink); transition: background 0.2s ease, transform 0.3s var(--ease);
}
.modal-close:hover { background: var(--paper-2); transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; }

.modal-media {
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(242, 160, 181, 0.28), transparent 60%),
    linear-gradient(160deg, #f7efe4, #efe8f8);
  display: grid; place-items: center; padding: 2rem 1.6rem;
}
.modal-media img {
  width: 100%; max-width: 260px; height: auto; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 30px 50px -26px rgba(33, 28, 43, 0.7);
}
.modal-body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.modal-body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.14; margin-bottom: 0.7rem; }
.modal-desc { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; }
.modal-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem;
  margin: 1.3rem 0; padding: 1rem 0; border-block: 1px solid var(--line);
}
.modal-meta dt {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem;
}
.modal-meta dd { font-size: 0.82rem; font-weight: 700; line-height: 1.35; }
.modal-fine { margin-top: 0.8rem; font-size: 0.68rem; color: var(--muted); text-align: center; }

body.modal-open { overflow: hidden; }

/* =========================================================
   Blog
   ========================================================= */
.blog-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 80% 0%, rgba(221, 208, 255, 0.55), transparent 62%),
              radial-gradient(70% 100% at 10% 20%, rgba(255, 217, 201, 0.5), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.blog-hero p { margin-top: 1.1rem; max-width: 40rem; color: var(--ink-soft); font-size: 1.03rem; }

.post-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__art {
  height: 230px; position: relative; overflow: hidden;
  display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: 20px;
  background:
    radial-gradient(110% 90% at 15% 0%, rgba(242, 160, 181, 0.24), transparent 60%),
    radial-gradient(110% 100% at 95% 100%, rgba(123, 75, 214, 0.18), transparent 62%),
    linear-gradient(160deg, #f8f1e6, #efe8f8);
}
.post-card__art img {
  height: auto; max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 18px 28px -18px rgba(33, 28, 43, 0.6), 0 4px 10px -6px rgba(33, 28, 43, 0.35);
  transform: rotate(-1.4deg);
  transition: transform 0.7s var(--ease);
}
.post-card:hover .post-card__art img { transform: rotate(0deg) scale(1.04); }
.post-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__tag {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--coral-deep); margin-bottom: 0.45rem;
}
.post-card h2, .post-card h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; }
.post-card p { margin-top: 0.5rem; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.post-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.1rem; padding-top: 0.8rem; border-top: 1px solid var(--line);
  font-size: 0.7rem; color: var(--muted);
}
.post-card__meta span:last-child { color: var(--ink); font-weight: 700; }

.journal-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.journal-grid .post-card__art { height: 210px; }
.journal-actions { text-align: center; margin-top: 2rem; }

.article { max-width: 760px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0.8rem 0 1rem; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center;
  font-size: 0.75rem; color: var(--muted); margin-top: 1.15rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.article-hero {
  margin: 2rem 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(90% 100% at 15% 0%, rgba(242, 160, 181, 0.22), transparent 62%),
    linear-gradient(160deg, #f8f1e6, #efe8f8);
}
.article-hero img {
  width: auto; max-width: 100%; height: auto; max-height: 440px;
  object-fit: contain; border-radius: 4px 10px 10px 4px;
  box-shadow: 0 26px 40px -26px rgba(33, 28, 43, 0.6);
}
.article-body { font-size: 1.02rem; line-height: 1.85; color: var(--ink-2); }
.article-body > * + * { margin-top: 1.15rem; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2.4rem; letter-spacing: -0.02em;
}
.article-body h3 { font-size: 1.16rem; margin-top: 1.8rem; }
.article-body p { color: var(--ink-soft); }
.article-body a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--ink-soft); }
.article-body li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  margin: 1.8rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--coral);
  background: rgba(255, 253, 249, 0.8); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic; line-height: 1.5;
  color: var(--ink);
}
.article-body strong { font-weight: 800; color: var(--ink); }
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--r-md); border: 1px solid var(--line); }
.article-body figcaption { font-size: 0.72rem; color: var(--muted); margin-top: 0.5rem; }

.article-cta {
  margin-top: 2.6rem; padding: 1.8rem; border-radius: var(--r-lg);
  background: linear-gradient(135deg, #fff6ea, #f1eaff);
  border: 1px solid var(--line);
}
.article-cta h2 { font-size: 1.4rem; margin: 0 0 0.4rem; }
.article-cta p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; }

.post-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 700;
}
.post-nav a { color: var(--ink-soft); }
.post-nav a:hover { color: var(--coral-deep); }

.simple-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.simple-header .header-inner { justify-content: space-between; }

/* =========================================================
   Reveal + keyframes
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3vw, 4vw, 0) scale(1.12); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 96, 60, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(232, 96, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 96, 60, 0); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(12deg); }
}
@keyframes gradientPan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 1.2rem; }
  .hero-stats > div { padding-right: 1.4rem; margin-right: 1.4rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }

  .hero { min-height: 0; padding-top: 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-copy { max-width: 40rem; }
  .hero-art { order: -1; }
  .hero-stage { height: clamp(300px, 62vw, 420px); }
  .hero-book { width: clamp(150px, 33vw, 220px); }
  .hero-scroll { display: none; }

  .spotlight-panel { grid-template-columns: 1fr; }
  .spotlight-art { min-height: 320px; }
  .spot-book { width: clamp(110px, 20vw, 150px); }

  .studio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .collection-tools { flex-direction: column; }
  .search { width: 100%; flex: 1 1 auto; }
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; }
  .modal-media { padding: 1.4rem; }
  .modal-media img { max-width: 180px; }
  .spotlight-art { min-height: 280px; }
}

@media (max-width: 520px) {
  :root { --wrap: 90vw; }
  .book-grid { grid-template-columns: 1fr; }
  .book-media { padding: 1.2rem 1.5rem 1rem; }
  .hero-stats { gap: 0.9rem 0; }
  .hero-stats > div { padding-right: 1rem; margin-right: 1rem; }
  .hero-stats dd { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; align-items: flex-start; }
  .spotlight-word { font-size: 8rem; }
  .hero-book--back { transform: translate3d(-30%, -6%, 0) rotate(-11deg) scale(0.82); }
  .hero-book--mid { transform: translate3d(24%, 4%, 0) rotate(8deg) scale(0.86); }
  .modal-meta { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .cursor-glow { display: none; }
}
