/* ============================================================
   PAPER MOON — a paper-cutout children's book studio
   Palette sampled from the fox illustrations:
   butter cream → coral sunset → teal ocean → night blue
   ============================================================ */

:root {
  --cream:      #f4ecd6;
  --cream-deep: #ecdfc0;
  --coral:      #f0a878;
  --coral-deep: #e8836a;
  --peach:      #fbe9d0;
  --teal:       #3a9aa0;
  --teal-deep:  #1f6b72;
  --teal-dark:  #175159;
  --moon:       #f2d55c;
  --moon-edge:  #c9a83a;
  --star:       #f2d55c;
  --star-2:     #f6c98a;
  --star-3:     #bfe0d8;
  --star-edge:  #d8b85a;
  --cloud:      #eef0d6;
  --night:      #1a2744;
  --night-deep: #12203c;

  --ink:        #4a3b2e;      /* warm brown text, not black */
  --ink-soft:   #715c48;
  --paper-white:#fffdf6;

  --wave-1: #4aa8ad;
  --wave-2: #3a9aa0;
  --wave-3: #1f6b72;

  --serif: "Fraunces", Georgia, serif;
  --round: "Baloo 2", "Trebuchet MS", sans-serif;

  --shadow-lift: 0 10px 22px -12px rgba(74,59,46,.45);
  --shadow-paper: 0 3px 0 rgba(74,59,46,.10), 0 12px 26px -14px rgba(74,59,46,.4);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
}

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

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

body {
  margin: 0;
  font-family: var(--round);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--coral); color: var(--paper-white); }

.svg-defs { position: absolute; width: 0; height: 0; }

/* paper grain over everything */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* custom scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 20px; border: 3px solid var(--cream-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--coral-deep); }

a { color: inherit; }

.btn {
  --btn-bg: var(--coral);
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--round); font-weight: 700; font-size: 1rem;
  padding: .78em 1.5em; border-radius: 999px; border: none;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-back), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn-primary {
  background: var(--coral); color: var(--paper-white);
  box-shadow: 0 4px 0 var(--coral-deep), 0 12px 22px -10px rgba(232,131,106,.7);
}
.btn-primary:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 7px 0 var(--coral-deep), 0 18px 30px -10px rgba(232,131,106,.75); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--coral-deep); }
.btn-primary.big { font-size: 1.15rem; padding: 1em 2em; }
.btn-ghost {
  background: rgba(255,253,246,.7); color: var(--ink);
  border: 2px solid rgba(74,59,46,.18);
  box-shadow: 0 3px 0 rgba(74,59,46,.12);
}
.btn-ghost:hover { transform: translateY(-3px) rotate(1deg); background: var(--paper-white); }
.btn-ghost.night { background: rgba(255,255,255,.08); color: #f3ead4; border-color: rgba(243,234,212,.3); box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.btn-ghost.night:hover { background: rgba(255,255,255,.16); }
.btn-arr { transition: transform .3s var(--ease-back); }
.btn-ghost:hover .btn-arr { transform: translateX(4px); }

:where(a, button):focus-visible {
  outline: 3px dashed var(--coral-deep);
  outline-offset: 4px; border-radius: 6px;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(.7rem,2vw,1.1rem) clamp(1rem,4vw,2.4rem);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(244,236,214,.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(74,59,46,.1), 0 8px 24px -16px rgba(74,59,46,.5);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand-moon { width: 30px; height: 30px; filter: drop-shadow(0 2px 2px rgba(74,59,46,.25)); transition: transform .5s var(--ease-back); }
.brand:hover .brand-moon { transform: rotate(-18deg) scale(1.08); }
.brand-name { letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(.6rem,2vw,1.6rem); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-soft); position: relative; padding: .3em 0; transition: color .25s; }
.nav-links a:not(.nav-cta)::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:2px; background: var(--coral); border-radius:2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--moon); color: var(--night); font-weight: 700; padding: .5em 1.2em !important; border-radius: 999px; box-shadow: 0 3px 0 var(--moon-edge); transition: transform .3s var(--ease-back), background .25s, box-shadow .25s; }
.nav-cta:hover { transform: translateY(-2px); background: #f7e08a; color: var(--night); box-shadow: 0 5px 0 var(--moon-edge); }
.nav-cta:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--moon-edge); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(6rem,14vh,9rem) clamp(1.2rem,6vw,4rem) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      #bfd9d2 0%,
      #d7dcc8 24%,
      #f0dcc2 52%,
      var(--coral) 74%,
      var(--coral-deep) 100%);
  isolation: isolate;
}
.hero-sky, .hero-clouds { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hero-clouds { z-index: -2; }
.hero-clouds svg { position: absolute; top: 8%; right: -4%; width: 46%; height: 40%; opacity: .8; filter: drop-shadow(0 8px 6px rgba(74,59,46,.15)); }
.cloud-2 svg { top: 30%; right: 8%; width: 30%; height: 26%; opacity: .65; }
.hero-bird { position: absolute; top: 20%; right: 22%; width: clamp(48px,5vw,78px); z-index: -1; opacity: .85; filter: drop-shadow(0 4px 3px rgba(74,59,46,.18)); animation: flap 5s ease-in-out infinite; }
@keyframes flap { 0%,100%{ transform: translateY(0) rotate(-2deg); } 50%{ transform: translateY(-10px) rotate(2deg); } }

.hero-hang { position: absolute; top: 0; left: 0; right: 0; height: 46vh; z-index: -1; pointer-events: none; }
.hang { position: absolute; top: 0; left: var(--x); display: flex; flex-direction: column; align-items: center;
  transform: translateY(var(--drop)); animation: sway 6s var(--delay) ease-in-out infinite; transform-origin: top center; }
@keyframes sway { 0%,100%{ rotate: -3deg; } 50%{ rotate: 3deg; } }
.thread { width: 2px; height: var(--drop); background: rgba(74,59,46,.32); }
.moon-hang .thread { background: rgba(74,59,46,.4); }
.moon-big { width: clamp(96px,11vw,150px); height: auto; filter: drop-shadow(0 8px 8px rgba(74,59,46,.28)); }
.star-hang { width: clamp(30px,3.4vw,46px); filter: drop-shadow(0 5px 5px rgba(74,59,46,.28)); }
.star-hang.small { width: clamp(22px,2.6vw,34px); }
.star-hang.tiny { width: clamp(16px,2vw,26px); }
/* stars swing a little when you point at them */
.hang { pointer-events: auto; }
.hang:hover { animation-duration: 1.2s; }
.hang:hover .star-hang, .moon-hang:hover .moon-big { transform: rotate(-8deg); transition: transform .4s var(--ease-back); }

.hero-inner { position: relative; z-index: 3; max-width: 62rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-transform: lowercase; color: var(--ink-soft); background: rgba(255,253,246,.55); padding: .4em 1em; border-radius: 999px; box-shadow: 0 2px 0 rgba(74,59,46,.1); }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral-deep); box-shadow: 0 0 0 3px rgba(232,131,106,.3); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 8vw, 6.2rem); line-height: .98;
  letter-spacing: -.02em; color: var(--ink);
  margin: 1.1rem 0 1.2rem; text-wrap: balance;
  font-variation-settings: "opsz" 130;
}
.hero-title em { font-style: italic; color: var(--coral-deep); font-variation-settings: "opsz" 120; }
.wm-fix { white-space: nowrap; }
.hero-lede { max-width: 34rem; font-size: clamp(1.05rem,1.6vw,1.28rem); color: var(--ink-soft); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.hero-fox {
  position: relative; z-index: 2; margin: auto auto 0; width: min(96%, 1000px);
  align-self: center; animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-.4deg); } 50%{ transform: translateY(-14px) rotate(.4deg); } }
.hero-fox img { display: block; width: 100%; height: auto; border-radius: 14px 14px 0 0; filter: drop-shadow(0 18px 22px rgba(74,59,46,.3)); mask-image: linear-gradient(180deg,#000 82%,transparent 100%); }

.waves { position: absolute; left: -2%; right: -2%; bottom: 0; height: 30vh; min-height: 200px; z-index: 3; pointer-events: none; }
.wave { position: absolute; left: 0; width: 104%; height: 100%; }
.w1 { bottom: 30%; opacity: .95; animation: drift 11s ease-in-out infinite alternate; }
.w2 { bottom: 12%; animation: drift 9s ease-in-out infinite alternate-reverse; }
.w3 { bottom: 0; animation: drift 13s ease-in-out infinite alternate; }
.wave path { filter: none; }
@keyframes drift { from{ transform: translateX(-2%); } to{ transform: translateX(2%); } }

.scroll-cue { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 5; display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; text-decoration: none; color: var(--paper-white); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-shadow: 0 1px 3px rgba(74,59,46,.4); }
.scroll-cue svg { width: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(5px); } }

/* ============ TORN DIVIDERS ============ */
.torn-top { position: absolute; top: -1px; left: 0; right: 0; height: 60px; transform: translateY(-99%); pointer-events: none; }
.torn-top::before { content:""; position:absolute; inset:0; background: inherit; }
.torn-cream { background: var(--cream); clip-path: polygon(0 60%,4% 42%,9% 58%,15% 40%,21% 56%,27% 44%,34% 60%,41% 46%,48% 58%,55% 42%,62% 56%,69% 44%,76% 58%,83% 46%,90% 58%,96% 44%,100% 56%,100% 100%,0 100%); }
.torn-coral { background: var(--coral); clip-path: polygon(0 52%,5% 40%,11% 56%,18% 42%,25% 58%,33% 44%,40% 56%,47% 42%,55% 58%,62% 44%,70% 56%,77% 42%,85% 56%,92% 44%,100% 54%,100% 100%,0 100%); }
.torn-teal { background: var(--teal-deep); clip-path: polygon(0 50%,6% 38%,13% 54%,20% 40%,28% 56%,36% 42%,44% 56%,52% 40%,60% 56%,68% 42%,76% 56%,84% 42%,92% 54%,100% 42%,100% 100%,0 100%); }

/* ============ BOOKS ============ */
.books { position: relative; background: var(--cream); padding: clamp(4rem,9vw,7rem) clamp(1.2rem,6vw,4rem) clamp(5rem,10vw,8rem); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem,5vw,4rem); text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--coral-deep); margin: 0 0 .7rem; }
.kicker.light { color: var(--peach); }
.kicker.night { color: var(--moon); }
.section-head h2, .studio h2, .starmaker h2, .shop h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(2rem,4.6vw,3.5rem); line-height: 1.04; margin: 0 0 1rem; text-wrap: balance;
}
.section-head h2 em, .studio h2 em { font-style: italic; color: var(--coral-deep); }
.section-sub, .studio-copy p { font-size: clamp(1rem,1.4vw,1.15rem); color: var(--ink-soft); font-weight: 500; }
.section-sub { max-width: 34rem; margin: 0 auto; }

.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem,3vw,2.8rem); max-width: 1180px; margin: 0 auto; }
.book-card {
  --tilt: 0deg;
  background: var(--paper-white); border-radius: 14px;
  padding: 1rem 1rem 1.4rem;
  box-shadow: var(--shadow-paper);
  transform: rotate(var(--tilt));
  transition: transform .45s var(--ease-back), box-shadow .45s var(--ease);
  will-change: transform;
  opacity: 0;
}
.book-card.in { animation: cardIn .7s var(--ease-back) forwards; }
@keyframes cardIn { from{ opacity:0; transform: rotate(var(--tilt)) translateY(40px); } to{ opacity:1; transform: rotate(var(--tilt)) translateY(0); } }
.book-card:hover { transform: rotate(calc(var(--tilt) * -.4)) translateY(-12px) scale(1.03); box-shadow: 0 3px 0 rgba(74,59,46,.1), 0 30px 46px -18px rgba(74,59,46,.5); z-index: 2; }
.book-cover { position: relative; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(74,59,46,.08), 0 6px 14px -8px rgba(74,59,46,.4); }
.cover-art svg { display: block; width: 100%; height: auto; }
.book-spine { position: absolute; top: 0; left: 0; width: 10px; height: 100%; background: linear-gradient(90deg, rgba(74,59,46,.22), rgba(74,59,46,0)); }
.book-meta { padding: 1.1rem .4rem 0; }
.book-age { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .35rem; }
.book-meta h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.08; margin: 0 0 .5rem; letter-spacing: -.01em; }
.book-blurb { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .9rem; }
.book-price { font-size: .92rem; color: var(--ink-soft); font-weight: 600; margin: 0; }
.book-price span { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin-right: .3em; }

/* ============ STUDIO ============ */
.studio { position: relative; background: var(--coral); color: var(--ink); padding: clamp(4.5rem,9vw,7.5rem) clamp(1.2rem,6vw,4rem); }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; max-width: 1180px; margin: 0 auto; }
.studio-copy p { color: #6b4a38; }
.studio-copy h2 { color: #5a3826; }
.studio-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1.2rem; }
.studio-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex: none; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--paper-white); background: var(--coral-deep); width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 4px 0 rgba(90,56,38,.35); }
.studio-steps strong { font-family: var(--round); font-weight: 700; font-size: 1.15rem; color: #5a3826; display: block; margin-bottom: .1rem; }
.studio-steps p { margin: 0; font-size: .95rem; }
.studio-fig { margin: 0; position: relative; }
.studio-fig img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(90,56,38,.6), 0 0 0 10px var(--paper-white), 0 0 0 12px rgba(74,59,46,.12); transform: rotate(1.4deg); transition: transform .5s var(--ease); }
.studio-fig:hover img { transform: rotate(0deg) scale(1.01); }
.studio-fig figcaption { margin-top: 1.4rem; font-size: .9rem; color: #6b4a38; text-align: center; }
.studio-fig figcaption em { font-style: italic; }

/* ============ STARMAKER ============ */
.starmaker { position: relative; background: linear-gradient(180deg, var(--teal-deep) 0%, var(--night) 62%, var(--night-deep) 100%); color: #f3ead4; padding: clamp(4.5rem,9vw,7.5rem) clamp(1.2rem,6vw,4rem); overflow: hidden; }
.starmaker-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: center; max-width: 1180px; margin: 0 auto; }
.star-copy h2 { color: #fdf6e3; }
.star-copy p { color: #d9e5df; font-weight: 500; }
.star-controls { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.star-count { font-size: .9rem; color: #a9c4bd; font-weight: 600; }
.canvas-wrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(243,234,212,.16), 0 24px 50px -20px rgba(0,0,0,.6); aspect-ratio: 16 / 11; background: radial-gradient(120% 90% at 70% 20%, #24345c 0%, #16264a 55%, #0e1c38 100%); cursor: crosshair; }
#starCanvas { display: block; width: 100%; height: 100%; }
.canvas-hint { position: absolute; bottom: 12px; right: 16px; margin: 0; font-size: .8rem; color: rgba(243,234,212,.5); pointer-events: none; transition: opacity .4s; letter-spacing: .04em; }
.canvas-hint.gone { opacity: 0; }

/* ============ SHOP ============ */
.shop { position: relative; background: var(--night-deep); color: #f3ead4; padding: clamp(4.5rem,9vw,7rem) clamp(1.2rem,6vw,4rem) clamp(3rem,6vw,5rem); text-align: center; overflow: hidden; }
.shop::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(253,246,227,.8), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(191,224,216,.7), transparent),
    radial-gradient(2px 2px at 84% 18%, rgba(242,213,92,.75), transparent),
    radial-gradient(1.5px 1.5px at 70% 78%, rgba(253,246,227,.6), transparent),
    radial-gradient(1px 1px at 46% 88%, rgba(246,201,138,.6), transparent),
    radial-gradient(1.5px 1.5px at 92% 60%, rgba(253,246,227,.6), transparent),
    radial-gradient(1px 1px at 8% 78%, rgba(191,224,216,.6), transparent);
}
.shop-moon {
  position: absolute; top: 11%; right: 8%; width: clamp(44px,6vw,80px); height: auto;
  filter: drop-shadow(0 0 24px rgba(242,213,92,.4)); opacity: .8; pointer-events: none; z-index: 0;
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0) rotate(-4deg); } 50%{ transform: translateY(-12px) rotate(4deg); } }
.shop-inner { position: relative; z-index: 1; max-width: 42rem; margin: 0 auto; }
.shop h2 { color: #fdf6e3; }
.shop-sub { color: #cdd9d3; font-size: clamp(1rem,1.5vw,1.18rem); font-weight: 500; max-width: 34rem; margin: 0 auto 2rem; }
.shop-price { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.price-block { display: flex; align-items: baseline; gap: .6rem; }
.price-old { font-family: var(--serif); font-size: 1.6rem; color: #7f8ba3; text-decoration: line-through; }
.price-new { font-family: var(--serif); font-weight: 500; font-size: 3rem; color: var(--moon); line-height: 1; }
.shop-fine { margin-top: 1.6rem; font-size: .86rem; color: #94a1b8; }

/* ============ FOOTER ============ */
.footer { position: relative; background: var(--night-deep); color: #cdd9d3; padding: 4rem clamp(1.2rem,6vw,4rem) 2rem; }
.footer-waves { position: absolute; top: 0; left: 0; right: 0; height: 60px; transform: translateY(-99%); overflow: hidden; pointer-events: none; }
.footer-waves svg { width: 100%; height: 100%; display: block; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--round); font-weight: 800; font-size: 1.25rem; color: #f3ead4; }
.footer-brand .brand-moon { width: 26px; height: 26px; }
.footer-nav { display: flex; gap: 1.4rem; justify-content: center; }
.footer-nav a { text-decoration: none; font-weight: 600; color: #a9b8c9; transition: color .25s; }
.footer-nav a:hover { color: var(--moon); }
.footer-note { text-align: right; font-size: .84rem; color: #8a99ab; margin: 0; line-height: 1.5; }
.credit { max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(243,234,212,.12); text-align: center; font-size: .82rem; color: #7f8ba3; }
.credit a { color: var(--moon); text-decoration: none; border-bottom: 1px dotted rgba(242,213,92,.5); }
.credit a:hover { color: var(--star-2); }
.credit .guide-link { color: #cdd9d3; border-bottom-color: rgba(205,217,211,.35); }
.credit .guide-link:hover { color: var(--moon); }

/* ============ SCROLL REVEALS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-inner, .starmaker-inner { grid-template-columns: 1fr; }
  .studio-fig { order: -1; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-note { text-align: center; }
  .canvas-wrap { aspect-ratio: 16/12; }
}
@media (max-width: 560px) {
  .nav-links { gap: .5rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .book-grid { grid-template-columns: 1fr; max-width: 24rem; }
  .book-card { transform: rotate(0deg) !important; }
  .book-card.in { animation: none; opacity: 1; }
  .hero-title { font-size: clamp(2.4rem,10vw,3.4rem); }
  .hero-hang { height: 30vh; }
  .hero-hang .hang { top: -1vh; }
  .moon-hang { --x: 78% !important; }
  .moon-big { width: 74px; }
  .cloud-2, .hero-bird { display: none; }
  .eyebrow { max-width: 72%; }
  .shop-price { flex-direction: column; gap: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; }
  .hero-fox, .hang, .w1, .w2, .w3, .scroll-cue svg { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .book-card { opacity: 1; }
}
