/* ============================================================
   FAITH RENEWAL STUDIO — stylesheet
   Palette drawn from Judy's watercolor logo & book covers
   ============================================================ */

:root{
  --parchment:      #FBF7F0;
  --parchment-deep: #F4ECDF;
  --blush:          #F6E3DD;
  --blush-deep:     #F0D5CC;
  --rose:           #D98E80;
  --rosewood:       #8C4A43;
  --rosewood-dark:  #6E3833;
  --sage:           #A9BA9A;
  --sage-deep:      #53674A;
  --gold:           #C9A15E;
  --gold-ink:       #7D5C25;
  --ink:            #3F3831;
  --ink-soft:       #6B6156;
  --ink-deep:       #352E27;
  --white:          #FFFFFF;

  --font-display: "Cormorant Infant", Georgia, serif;
  --font-script:  "Ephesis", cursive;
  --font-body:    "Petrona", Georgia, serif;

  --container: 1180px;
  --radius: 18px;
  --shadow-soft: 0 18px 45px -18px rgba(63, 44, 36, .28);
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
}
img{ max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.14; margin: 0 0 .6em; color: var(--ink); }
p{ margin: 0 0 1.1em; }
a{ color: var(--rosewood); }
a:hover{ color: var(--rosewood-dark); }
ul,ol{ margin: 0; padding: 0; }
button{ font-family: inherit; }
::selection{ background: var(--blush-deep); color: var(--ink); }

/* ---------- themed scrollbar ---------- */
html{
  scrollbar-color: var(--rosewood) var(--parchment-deep);
  scrollbar-width: auto;
}
::-webkit-scrollbar{ width: 13px; }
::-webkit-scrollbar-track{ background: var(--parchment-deep); }
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--rose), var(--rosewood));
  border-radius: 999px;
  border: 3px solid var(--parchment-deep);
}
::-webkit-scrollbar-thumb:hover{ background: var(--rosewood-dark); }

/* ---------- helpers ---------- */
.container{ max-width: var(--container); margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container.narrow{ max-width: 800px; }
.center{ text-align: center; }
.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--rosewood); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus{ left: 0; color:#fff; }
:focus-visible{ outline: 2.5px solid var(--rosewood); outline-offset: 3px; border-radius: 4px; }

.eyebrow{
  font-family: var(--font-body);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.script-lead{
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--rosewood);
  line-height: 1.1;
  margin-bottom: .35rem;
}
.section-title{
  font-size: clamp(2.05rem, 3.6vw, 3rem);
  letter-spacing: .01em;
}
h1, h2, h3{ text-wrap: balance; }
main section[id], #top{ scroll-margin-top: 96px; }
.section-sub{
  max-width: 620px; margin: 0 auto 1rem;
  color: var(--ink-soft);
}
.flourish{ width: 120px; margin: .2rem auto 1.4rem; }
.flourish svg{ display: block; width: 100%; height: auto; }

/* ---------- buttons ---------- */
.btn{
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .05em;
  padding: .95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn-solid{
  background: linear-gradient(150deg, #A0554C, var(--rosewood) 55%, var(--rosewood-dark));
  color: #FDF8F2; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 28px -12px rgba(140, 74, 67, .6);
}
.btn-solid:hover{
  background: linear-gradient(150deg, #AA5B51, #8F4B44 55%, #6E3833);
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 34px -12px rgba(110, 56, 51, .65);
}
.btn:active{ transform: translateY(0) scale(.985); }
.btn-ghost{
  background: transparent; color: var(--rosewood); border-color: var(--rosewood);
}
.btn-ghost:hover{ background: var(--blush); color: var(--rosewood-dark); transform: translateY(-2px); }
.btn-small{ padding: .62rem 1.35rem; font-size: .85rem; }
.btn-wide{ width: 100%; }

/* ============================================================
   RIBBON + HEADER
   ============================================================ */
.ribbon{
  background: var(--rosewood-dark);
  color: #F3E4D3;
  text-align: center;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  padding: .55rem 1rem;
}
.ribbon-star{ color: var(--gold); margin: 0 .55rem; }

.site-head{
  position: sticky; top: 0; z-index: 120;
  background: #FBF7F0;                     /* fully opaque at every width */
  border-bottom: 1px solid rgba(201, 161, 94, .3);
  transition: box-shadow .3s ease;
}
.site-head.scrolled{ box-shadow: 0 10px 30px -18px rgba(63, 44, 36, .45); }
.head-inner{
  max-width: var(--container); margin: 0 auto;
  padding: .55rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.4rem;
}
.brand{ display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark{ width: 54px; height: 39px; object-fit: contain; }
.brand-words{ display: flex; flex-direction: column; line-height: 1; }
.brand-script{
  font-family: var(--font-script);
  font-size: 1.45rem; color: var(--ink);
}
.brand-caps{
  font-family: var(--font-body); font-weight: 600;
  font-size: .58rem; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold-ink); margin-top: .18rem;
}
.main-nav{ display: flex; gap: 1.55rem; }
.main-nav a{
  font-family: var(--font-body); font-weight: 500; font-size: .86rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: .4rem 0; position: relative;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold);
  transition: right .3s ease;
}
.main-nav a:hover{ color: var(--rosewood); }
.main-nav a:hover::after{ right: 0; }

.menu-toggle{
  display: none;
  align-items: center; gap: .55rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: .5rem 1rem;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .bars{ display: inline-flex; flex-direction: column; gap: 4px; }
.menu-toggle .bars i{ display: block; width: 20px; height: 2px; background: var(--rosewood); border-radius: 2px; }
.menu-word{ font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

/* mobile menu panel — a solid drawer that opens under the (always opaque) header */
.mobile-menu{
  position: fixed;
  top: 108px;                               /* JS aligns this to the header's bottom edge */
  left: 0; right: 0; bottom: 0;
  z-index: 110;                             /* just beneath the sticky header */
  background: #FBF7F0;                      /* solid, never see-through */
  display: flex; flex-direction: column;
  padding: .4rem 1.5rem 2rem;
  overflow-y: auto;
  border-top: 1px solid rgba(201,161,94,.3);
}
.mobile-menu[hidden]{ display: none; }
.menu-close{
  position: absolute; top: .65rem; right: 1.25rem;
  background: var(--blush); border: none; color: var(--rosewood-dark);
  font-size: 1.1rem; line-height: 1;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer;
}
.mobile-nav{ display: flex; flex-direction: column; padding-top: .2rem; }
.mobile-nav a:first-child{ padding-right: 3.4rem; }
.mobile-nav a{
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: .85rem 0.2rem;
  border-bottom: 1px solid rgba(201,161,94,.22);
}
.mobile-nav a:hover{ color: var(--rosewood); }
.mobile-cta{ margin-top: 1.6rem; text-align: center; }
.mobile-verse{
  margin-top: auto; padding-top: 2rem;
  font-style: italic; color: var(--ink-soft); font-size: .95rem; text-align: center;
}

/* ============================================================
   HERO — the Garden Window
   ============================================================ */
.hero{
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(3.5rem, 7vh, 5.5rem);
}
.hero-wash{
  position: absolute; inset: 0; z-index: 0;
  background: url("../art/wash-hero.jpg") center / cover no-repeat;
  opacity: .95;
  filter: saturate(1.1);
}
.hero-wash::after{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 58% at 40% 46%, rgba(251,247,240,.9), rgba(251,247,240,.3) 58%, rgba(251,247,240,0) 78%);
}
.ray{
  position: absolute; z-index: 1; top: -12%; height: 85%; width: 190px;
  background: linear-gradient(180deg, rgba(201,161,94,.28), rgba(201,161,94,.05) 70%, transparent);
  transform: rotate(19deg);
  filter: blur(6px);
  pointer-events: none;
}
.ray-a{ left: 12%; animation: rayDrift 11s ease-in-out infinite alternate; }
.ray-b{ left: 24%; width: 90px; animation: rayDrift 15s ease-in-out infinite alternate-reverse; }
@keyframes rayDrift{
  from{ opacity: .35; transform: rotate(19deg) translateX(-14px); }
  to  { opacity: .85; transform: rotate(19deg) translateX(16px); }
}

.petals{ position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.petal{
  position: absolute; top: -90px;
  animation: petalFall var(--dur, 14s) linear var(--delay, 0s) infinite;
  will-change: transform;
}
.petal img{
  display: block;
  opacity: .88;
  animation: petalSway var(--sdur, 3.4s) ease-in-out var(--sdelay, 0s) infinite alternate;
}
@keyframes petalFall{
  from{ transform: translateY(0); }
  to  { transform: translateY(var(--fallH, 110vh)); }
}
@keyframes petalSway{
  from{ transform: rotate(-16deg) translateX(-13px); }
  to  { transform: rotate(18deg)  translateX(13px); }
}

.hero-inner{
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.hero-title{
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.hero-title span{ display: block; }
.hero-title .line-2{ font-style: italic; font-weight: 500; }
.hero-title .line-3 em{ font-style: normal; font-weight: 600; color: var(--rosewood); }
@supports (-webkit-background-clip: text) or (background-clip: text){
  .hero-title .line-3 em{
    background: linear-gradient(115deg, #7C3F39, #A2564E 48%, #C9873F 105%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}
.script-accent{
  display: inline !important;
  font-family: var(--font-script);
  font-size: .92em;
  color: var(--gold-ink);
  padding-right: .08em;
}
.hero-lead{
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.hero-ctas{ display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero-trust{
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--sage-deep);
}
.hero-trust span{ white-space: nowrap; }
.hero-trust .dot{ color: var(--gold); font-size: .7rem; }

/* — the arched window — */
.window-scene{
  --ww: min(430px, 84vw);
  position: relative;
  display: flex; justify-content: center;
  padding-top: 3.2rem;
}
.vines{
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: calc(var(--ww) * 1.3);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.vines .stem{
  fill: none; stroke: #7C8F6D; stroke-width: 2.6; stroke-linecap: round;
  opacity: .85;
}
.vines .leaf{
  transform-box: fill-box;
  transform-origin: 0% 50%;
  animation: leafSway 5.2s ease-in-out infinite alternate;
}
.vines .leaf-a{ fill: #A9BA9A; }
.vines .leaf-b{ fill: #8CA07C; }
.vines .leafset g:nth-child(2n) .leaf{ animation-duration: 6.4s; animation-delay: -2.1s; }
.vines .leafset g:nth-child(3n) .leaf{ animation-duration: 7.1s; animation-delay: -3.6s; }
.vines .leafset g:nth-child(4n) .leaf{ animation-delay: -1.2s; }
@keyframes leafSway{
  from{ transform: rotate(-4.5deg); }
  to  { transform: rotate(6deg); }
}
.bloom-petals{
  fill: #EFC3B9; opacity: .95;
  transform-box: fill-box; transform-origin: center;
  animation: bloomBreathe 6s ease-in-out infinite alternate;
}
.bloom:nth-of-type(2n) .bloom-petals{ animation-duration: 7.4s; animation-delay: -2.4s; }
.bloom-heart{ fill: var(--gold); }
@keyframes bloomBreathe{
  from{ transform: scale(.94) rotate(-3deg); }
  to  { transform: scale(1.07) rotate(4deg); }
}
.apex-cross{ opacity: .9; }

.window{
  position: relative;
  width: var(--ww);
  height: calc(var(--ww) * 1.36);
  border-radius: calc(var(--ww) / 2) calc(var(--ww) / 2) 20px 20px;
  background: url("../art/wash-arch.jpg") center top / cover no-repeat;
  border: 1px solid rgba(201, 161, 94, .65);
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, .5),
    0 0 0 10px rgba(201, 161, 94, .35),
    0 42px 80px -38px rgba(110, 56, 51, .5);
  overflow: hidden;
  z-index: 1;
}
.window::after{
  content: ""; position: absolute; inset: 11px;
  border-radius: calc(var(--ww) / 2 - 11px) calc(var(--ww) / 2 - 11px) 12px 12px;
  border: 1px solid rgba(255, 255, 255, .75);
  pointer-events: none;
}
.win-ray{
  position: absolute; top: -8%; height: 80%; width: 26%;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0) 85%);
  mix-blend-mode: screen;
  transform: rotate(13deg);
  filter: blur(3px);
  pointer-events: none;
}
.win-ray-a{ left: 16%; animation: winRay 8s ease-in-out infinite alternate; }
.win-ray-b{ left: 44%; width: 14%; animation: winRay 12s ease-in-out infinite alternate-reverse; }
@keyframes winRay{
  from{ opacity: .3; }
  to  { opacity: .8; }
}

.book{
  position: absolute;
  border-radius: 4px;
  border: 2px solid rgba(255, 253, 247, .85);
  filter: drop-shadow(0 26px 22px rgba(63, 42, 33, .4));
  will-change: transform;
}
.book-c{
  width: 54%; height: auto; left: 23%; bottom: 6.5%; z-index: 3;
  animation: bookFloat 6.8s ease-in-out infinite alternate;
}
.book-l{
  width: 40%; height: auto; left: 4.5%; bottom: 21%; z-index: 1;
  transform: rotate(-8deg);
  animation: bookFloatL 8.4s ease-in-out infinite alternate;
}
.book-r{
  width: 40%; height: auto; right: 4.5%; bottom: 19%; z-index: 2;
  transform: rotate(8deg);
  animation: bookFloatR 9.6s ease-in-out infinite alternate;
}
@keyframes bookFloat { from{ transform: translateY(0); }              to{ transform: translateY(-13px); } }
@keyframes bookFloatL{ from{ transform: rotate(-8deg) translateY(0); } to{ transform: rotate(-7deg) translateY(-10px); } }
@keyframes bookFloatR{ from{ transform: rotate(8deg) translateY(0); }  to{ transform: rotate(7deg) translateY(-11px); } }

/* ============================================================
   TAGLINE BELT
   ============================================================ */
.belt{
  background: linear-gradient(180deg, #96534B, var(--rosewood) 45%, #74403A);
  overflow: hidden;
  padding: .95rem 0;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 12px 24px -18px rgba(0,0,0,.5), inset 0 -12px 24px -18px rgba(0,0,0,.5);
}
.belt-track{
  display: flex; align-items: center;
  width: max-content;
  animation: beltMove 80s linear infinite;
}
.belt:hover .belt-track{ animation-play-state: paused; }
.belt-copy{ display: flex; align-items: center; flex: none; }
.belt-item{
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.28rem; white-space: nowrap;
  color: #F8ECDF;
  margin: 0 1.5rem;
}
.belt-sep{ color: #E7BC6C; font-size: .85rem; flex: none; text-shadow: 0 0 10px rgba(231,188,108,.55); }
@keyframes beltMove{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ============================================================
   WELCOME
   ============================================================ */
.welcome{ padding: clamp(4rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem); }
.prayer{
  margin: 2.2rem auto 0;
  padding: 1.9rem 2.2rem;
  max-width: 640px;
  background: var(--white);
  border: 1px solid rgba(201,161,94,.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.prayer::before{
  content: "❝";
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; line-height: 46px;
  background: var(--blush); color: var(--rosewood);
  font-size: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(201,161,94,.4);
}
.prayer p{
  font-family: var(--font-display); font-size: 1.34rem; font-style: italic; font-weight: 500;
  line-height: 1.5; margin-bottom: .6rem;
}
.prayer cite{
  font-style: normal; font-size: .82rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
}

/* ============================================================
   FEATURED BOOK
   ============================================================ */
.featured{
  background:
    radial-gradient(ellipse 60% 70% at 10% 12%, rgba(243, 214, 205, .95), transparent 62%),
    radial-gradient(ellipse 50% 60% at 94% 88%, rgba(169, 186, 154, .45), transparent 62%),
    radial-gradient(ellipse 40% 40% at 70% 10%, rgba(240, 203, 137, .3), transparent 70%),
    var(--parchment-deep);
  padding: clamp(4rem, 8vh, 6rem) 0;
  overflow: hidden;
}
.featured-grid{
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.featured-cover{ position: relative; display: flex; justify-content: center; }
.featured-cover::before{
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 120%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(196, 90, 74, .28), rgba(196, 90, 74, .1) 55%, transparent 72%);
  pointer-events: none;
}
.featured-tag{
  position: absolute; top: -16px; z-index: 2; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--rosewood); color: #FDF3E8;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem 1.15rem; border-radius: 999px;
  box-shadow: 0 10px 18px -8px rgba(110,56,51,.5);
  white-space: nowrap;
}
.featured-img{
  position: relative;
  width: min(330px, 74vw);
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 0 40px 70px -26px rgba(96, 38, 30, .65);
  transform: rotate(-2.5deg);
  transition: transform .45s ease;
}
.featured-cover:hover .featured-img{ transform: rotate(0deg) scale(1.025); }
.script-tagline{
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--gold-ink);
  margin: -.2rem 0 1rem;
}
.chips{
  list-style: none; display: flex; flex-wrap: wrap; gap: .55rem;
  margin: 1.1rem 0 1.7rem;
}
.chips li{
  font-size: .82rem; font-weight: 600; letter-spacing: .05em;
  padding: .4rem 1.05rem;
  background: linear-gradient(160deg, #FBEBE5, var(--blush));
  border: 1px solid rgba(140,74,67,.28);
  color: var(--rosewood-dark);
  border-radius: 999px;
  box-shadow: 0 6px 14px -8px rgba(140,74,67,.35);
}
.featured-ctas{ display: flex; flex-wrap: wrap; gap: .9rem; }

/* ============================================================
   BOOKSHELF — flip cards
   ============================================================ */
.books{ padding: clamp(4rem, 8vh, 6rem) 0; }
.shelf-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: 2.4rem;
}
.shelf-card{ text-align: center; }
.flip-scene{
  perspective: 1400px;
  aspect-ratio: 2 / 3;
  max-width: 340px;
  margin: 0 auto;
  transition: transform .4s ease;
}
.shelf-card:hover .flip-scene{ transform: translateY(-7px); }
.flip-inner{
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2, .7, .25, 1);
}
.shelf-card:hover .flip-inner,
.shelf-card.flipped .flip-inner{ transform: rotateY(180deg); }
.flip-front, .flip-back{
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}
.flip-front img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 24px 45px -20px rgba(63,42,33,.5);
  transition: box-shadow .4s ease;
}
/* each book glows in its own cover color */
.shelf-card:nth-child(1):hover .flip-front img{ box-shadow: 0 30px 55px -18px rgba(164, 32, 32, .55); }
.shelf-card:nth-child(2):hover .flip-front img{ box-shadow: 0 30px 55px -18px rgba(196, 116, 26, .55); }
.shelf-card:nth-child(3):hover .flip-front img{ box-shadow: 0 30px 55px -18px rgba(122, 84, 30, .6); }
.flip-back{
  transform: rotateY(180deg);
  background:
    radial-gradient(ellipse 90% 40% at 50% -5%, rgba(246,227,221,.9), transparent 70%),
    var(--white);
  border: 1px solid rgba(201,161,94,.45);
  box-shadow: 0 24px 45px -20px rgba(63,42,33,.35);
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.6rem 1.5rem;
  text-align: left;
}
.flip-back h3{ font-size: 1.35rem; margin-bottom: .5rem; }
.flip-back p{ font-size: .93rem; line-height: 1.6; margin-bottom: .8rem; }
.back-tags{ font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.text-link{ font-weight: 600; font-size: .92rem; }
.shelf-title{ font-size: 1.45rem; margin: 1.2rem 0 .15rem; }
.shelf-hook{ color: var(--ink-soft); font-style: italic; font-size: .97rem; margin-bottom: .7rem; }
.flip-btn{
  background: transparent;
  border: 1.5px solid var(--sage-deep);
  color: var(--sage-deep);
  border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  padding: .48rem 1.2rem;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.flip-btn:hover, .flip-btn[aria-pressed="true"]{
  background: var(--sage-deep); color: #F7F4EC;
}
.shelf-note{
  text-align: center; margin: 2.6rem auto 0; max-width: 520px;
  color: var(--ink-soft);
  font-size: .98rem;
}

/* ============================================================
   PROMISE — what to expect
   ============================================================ */
.promise{ background: var(--parchment-deep); padding: clamp(4rem, 8vh, 6rem) 0; }
.promise-grid{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.promise-grid li{
  background: var(--white);
  border: 1px solid rgba(201,161,94,.35);
  border-radius: var(--radius);
  padding: 1.6rem 1.25rem 1.3rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.promise-grid li:hover{ transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.promise-icon{
  display: inline-flex; width: 54px; height: 54px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rosewood);
  margin-bottom: .9rem;
  box-shadow: inset 0 0 0 1px rgba(140,74,67,.15);
}
.promise-icon svg{ width: 30px; height: 30px; }
.promise-grid li:nth-child(3n+2) .promise-icon{ background: #EDF2E5; color: var(--sage-deep); box-shadow: inset 0 0 0 1px rgba(83,103,74,.18); }
.promise-grid li:nth-child(3n) .promise-icon{ background: #F8EBD3; color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(125,92,37,.18); }
.promise-grid li:hover{ border-color: rgba(201,161,94,.7); }
.promise-grid h3{ font-size: 1.22rem; margin-bottom: .35rem; }
.promise-grid p{ font-size: .9rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ============================================================
   MEET JUDY
   ============================================================ */
.judy{
  padding: clamp(4.5rem, 9vh, 6.5rem) 0;
  background:
    radial-gradient(ellipse 42% 46% at 88% 22%, rgba(240, 203, 137, .3), transparent 68%),
    radial-gradient(ellipse 36% 40% at 6% 82%, rgba(169, 186, 154, .26), transparent 66%),
    var(--parchment);
}
.judy-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
.judy-quote{
  margin: 1.6rem 0;
  padding: 0 0 0 1.4rem;
  border-left: 3px solid var(--gold);
}
.judy-quote p{
  font-family: var(--font-display);
  font-size: 1.3rem; font-style: italic; font-weight: 500;
  color: var(--rosewood-dark);
  margin: 0;
}
.life-vine{
  list-style: none;
  margin-top: 1.9rem;
  position: relative;
  padding-left: 2rem;
}
.life-vine::before{
  content: "";
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--sage), var(--sage-deep));
  border-radius: 2px;
}
.life-vine li{
  position: relative;
  padding: 0 0 1.05rem .4rem;
  font-size: .99rem;
}
.vine-leaf{
  position: absolute; left: -2rem; top: .32em;
  width: 18px; height: 18px;
  background: var(--sage);
  border: 2px solid var(--parchment);
  border-radius: 0 60% 0 60%;
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px var(--sage);
}
.life-vine li:nth-child(2n) .vine-leaf{ background: var(--rose); box-shadow: 0 0 0 2px var(--rose); }

.judy-figure{ margin: 0; }
.portrait-scene{
  position: relative;
  border-radius: 170px 170px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(201,161,94,.55);
  box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 0 0 9px rgba(201,161,94,.3), var(--shadow-soft);
}
.portrait-scene img{ width: 100%; height: auto; display: block; }
.sunbeam{
  position: absolute; z-index: 2;
  top: -22%; left: -34%;
  width: 105%; height: 125%;
  background: linear-gradient(118deg, transparent 26%, rgba(255,241,205,.5) 43%, rgba(255,241,205,.12) 60%, transparent 72%);
  mix-blend-mode: screen;
  animation: beamGlow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes beamGlow{
  from{ opacity: .45; transform: translateX(-12px); }
  to  { opacity: .95; transform: translateX(14px); }
}
.mote{
  position: absolute; z-index: 3;
  width: 5px; height: 5px; border-radius: 50%;
  background: #FFEFC9;
  box-shadow: 0 0 8px 2px rgba(255, 236, 187, .8);
  opacity: 0;
  animation: moteFloat 9s linear infinite;
  pointer-events: none;
}
.mote.m1{ left: 18%; top: 66%; animation-duration: 9.5s;  animation-delay: -1s; }
.mote.m2{ left: 32%; top: 78%; animation-duration: 12s;   animation-delay: -4s; width: 4px; height: 4px; }
.mote.m3{ left: 47%; top: 70%; animation-duration: 10.5s; animation-delay: -7s; }
.mote.m4{ left: 60%; top: 82%; animation-duration: 13s;   animation-delay: -2.5s; width: 3px; height: 3px; }
.mote.m5{ left: 72%; top: 74%; animation-duration: 11s;   animation-delay: -5.5s; }
.mote.m6{ left: 27%; top: 88%; animation-duration: 14s;   animation-delay: -9s;  width: 3px; height: 3px; }
.mote.m7{ left: 82%; top: 87%; animation-duration: 10s;   animation-delay: -3.4s; width: 4px; height: 4px; }
@keyframes moteFloat{
  0%  { transform: translate(0, 0); opacity: 0; }
  12% { opacity: .9; }
  55% { opacity: .55; }
  100%{ transform: translate(26px, -240px); opacity: 0; }
}
.judy-figure figcaption{
  text-align: center;
  font-style: italic; color: var(--ink-soft); font-size: .95rem;
  margin-top: 1rem;
}

/* ============================================================
   STUDIO STORY
   ============================================================ */
.studio{
  background: var(--parchment-deep);
  padding: clamp(4rem, 8vh, 5.5rem) 0 0;
  overflow: hidden;
}
.studio-logo{
  width: min(280px, 62vw);
  margin: 0 auto 1.4rem;
  animation: logoBreathe 7s ease-in-out infinite alternate;
}
@keyframes logoBreathe{
  from{ transform: scale(1); }
  to  { transform: scale(1.035); }
}
.studio-garland{
  width: min(680px, 92vw);
  margin: 2.2rem auto -2px;
  mix-blend-mode: multiply;
  opacity: .9;
}

/* ============================================================
   VERSE BAND
   ============================================================ */
.verse{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F9EDE3, var(--blush) 55%, #F3D9D0);
  padding: clamp(4.5rem, 9vh, 6.5rem) 0;
  text-align: center;
}
.verse-glow{
  position: absolute; z-index: 0;
  left: 50%; top: 50%;
  width: min(660px, 90vw); height: min(660px, 90vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240, 203, 137, .6), rgba(240,203,137,.18) 55%, transparent 75%);
  animation: glowBreathe 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glowBreathe{
  from{ transform: translate(-50%, -50%) scale(.9);  opacity: .7; }
  to  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
.verse-inner{ position: relative; z-index: 1; }
.verse-ref{
  font-size: .8rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .8rem;
}
.verse-script{
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.15;
  color: var(--rosewood-dark);
  margin-bottom: .7rem;
}
.verse-rest{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink-soft);
  max-width: 560px; margin: 0 auto 1.2rem;
}
.verse-cross{ width: 26px; margin: .6rem auto 0; opacity: .9; }
.verse-cross svg{ width: 100%; height: auto; display: block; }
.vmote{
  position: absolute; z-index: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: #F5D9A0;
  box-shadow: 0 0 10px 3px rgba(240, 203, 137, .65);
  opacity: 0;
  animation: vmoteRise 11s linear infinite;
  pointer-events: none;
}
.vmote.v1{ left: 8%;  bottom: -3%; animation-delay: -2s; }
.vmote.v2{ left: 19%; bottom: -3%; animation-delay: -6.5s; width: 4px; height: 4px; }
.vmote.v3{ left: 31%; bottom: -3%; animation-delay: -9s; }
.vmote.v4{ left: 44%; bottom: -3%; animation-delay: -4s;  width: 4px; height: 4px; }
.vmote.v5{ left: 58%; bottom: -3%; animation-delay: -7.8s; }
.vmote.v6{ left: 70%; bottom: -3%; animation-delay: -1.2s; width: 5px; height: 5px; }
.vmote.v7{ left: 83%; bottom: -3%; animation-delay: -5.2s; }
.vmote.v8{ left: 93%; bottom: -3%; animation-delay: -8.6s; width: 4px; height: 4px; }
@keyframes vmoteRise{
  0%  { transform: translateY(0);      opacity: 0; }
  10% { opacity: .95; }
  60% { opacity: .5; }
  100%{ transform: translateY(-56vh);  opacity: 0; }
}

/* ============================================================
   HOW — steps
   ============================================================ */
.how{ padding: clamp(4rem, 8vh, 6rem) 0; }
.steps{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
  counter-reset: step;
}
.step{ position: relative; text-align: center; padding: 0 .6rem; }
.step:not(:last-child)::after{
  content: "";
  position: absolute; top: 33px; left: calc(50% + 46px); right: calc(-50% + 46px);
  border-top: 2px dotted rgba(201, 161, 94, .7);
}
.step-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(165deg, #FBEBE3, #F3D6CB);
  border: 1.5px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 24px -12px rgba(140, 74, 67, .55);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600;
  color: var(--rosewood-dark);
  margin-bottom: 1rem;
}
.step h3{ font-size: 1.3rem; margin-bottom: .3rem; }
.step p{ font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   FAMILIES & CHURCHES
   ============================================================ */
.families{ background: var(--parchment-deep); padding: clamp(4rem, 8vh, 6rem) 0; }
.family-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.family-card{
  background: var(--white);
  border: 1px solid rgba(201,161,94,.35);
  border-top: 4px solid var(--rose);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.4rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.family-card:nth-child(2){ border-top-color: var(--gold); }
.family-card:nth-child(3){ border-top-color: var(--sage); }
.family-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.family-icon{
  display: inline-flex; width: 50px; height: 50px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--blush); color: var(--rosewood);
  margin-bottom: .85rem;
}
.family-icon svg{ width: 28px; height: 28px; }
.family-card:nth-child(2) .family-icon{ background: #F8EBD3; color: var(--gold-ink); }
.family-card:nth-child(3) .family-icon{ background: #EDF2E5; color: var(--sage-deep); }
.family-card h3{ font-size: 1.4rem; margin-bottom: .45rem; }
.family-card p{ font-size: .96rem; color: var(--ink-soft); margin: 0; }
.family-cta{ text-align: center; margin: 2.4rem 0 0; font-size: 1.02rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq{ padding: clamp(4rem, 8vh, 6rem) 0; }
.faq details{
  border-bottom: 1px solid rgba(201, 161, 94, .4);
}
.faq details:first-of-type{ border-top: 1px solid rgba(201, 161, 94, .4); margin-top: 2rem; }
.faq summary{
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .2rem;
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 500;
  color: var(--ink);
  transition: color .25s ease;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary:hover{ color: var(--rosewood); }
.faq summary::after{
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-ink);
  font-family: var(--font-body); font-size: 1.05rem;
  transition: transform .3s ease, background-color .3s ease;
}
.faq details[open] summary::after{
  transform: rotate(45deg);
  background: var(--blush);
}
.faq details p{ padding: 0 .2rem 1.3rem; color: var(--ink-soft); max-width: 660px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact{
  background:
    radial-gradient(ellipse 46% 52% at 90% 8%, rgba(243, 214, 205, .75), transparent 65%),
    radial-gradient(ellipse 36% 46% at 4% 94%, rgba(169, 186, 154, .3), transparent 62%),
    var(--parchment-deep);
  padding: clamp(4rem, 8vh, 6rem) 0;
}
.contact-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-note{
  font-style: italic; color: var(--sage-deep);
  border-left: 3px solid var(--sage);
  padding-left: 1rem;
}
.contact-mark{
  width: 170px; margin-top: 1.8rem;
  opacity: .9;
}
.contact-form{
  background: var(--white);
  border: 1px solid rgba(201,161,94,.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.field{ margin-bottom: 1.15rem; }
.field label{
  display: block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .4rem;
}
.field input, .field select, .field textarea{
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--parchment);
  border: 1px solid rgba(63, 56, 49, .22);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.field textarea{ resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--rosewood);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(217, 142, 128, .25);
}
.form-success{
  margin: 1.1rem 0 0;
  padding: .9rem 1.2rem;
  background: #EEF3E7;
  border: 1px solid var(--sage);
  border-radius: 10px;
  color: var(--sage-deep);
  font-weight: 500;
}

/* ============================================================
   MAP
   ============================================================ */
.map{ padding: clamp(4rem, 8vh, 6rem) 0 clamp(3.5rem, 7vh, 5rem); }
.map-frame{
  margin-top: 2.2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(95, 115, 85, .45);
  box-shadow: 0 0 0 7px rgba(255,255,255,.6), 0 0 0 8px rgba(169,186,154,.4), var(--shadow-soft);
}
.map-frame iframe{
  display: block;
  width: 100%;
  filter: sepia(.12) saturate(.95) hue-rotate(-4deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot{
  background: linear-gradient(180deg, #3B332B, #2B241E);
  border-top: 3px solid var(--gold);
  color: #EDE4D6;
}
.site-foot a{ color: #EDE4D6; text-decoration: none; }
.site-foot a:hover{ color: var(--gold); }
.foot-grid{
  display: grid;
  grid-template-columns: 1.25fr .7fr 1fr 1.05fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-top: 3.6rem; padding-bottom: 2.8rem;
}
.foot-mark{ width: 74px; height: 54px; object-fit: contain; margin-bottom: .7rem; }
.foot-name .brand-script{ font-size: 1.7rem; color: #F5EDE0; }
.foot-name .brand-caps{ color: var(--gold); font-size: .62rem; margin-left: .5rem; }
.foot-name{ margin-bottom: .5rem; }
.foot-mission{ color: #BFB39F; font-size: .95rem; }
.site-foot h3{
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.foot-nav{ display: flex; flex-direction: column; gap: .45rem; }
.foot-nav a{ font-size: .95rem; }
.foot-books p{ margin-bottom: .45rem; font-size: .95rem; color: #D8CDBA; font-style: italic; }
.foot-books a{ display: block; margin-bottom: .45rem; font-size: .95rem; color: #D8CDBA; font-style: italic; }
.foot-verse p{ font-size: .95rem; color: #D8CDBA; }
.foot-ref{ color: var(--gold) !important; font-size: .82rem !important; letter-spacing: .14em; }
.foot-bottom{
  border-top: 1px solid rgba(237, 228, 214, .16);
  text-align: center;
  padding: 1.3rem 1.5rem;
}
.foot-bottom p{ margin: 0; font-size: .85rem; color: #A99C87; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px){
  .main-nav, .head-cta{ display: none; }
  .menu-toggle{ display: inline-flex; }
}
@media (min-width: 1024px){
  .mobile-menu{ display: none !important; }
}

@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero-copy{ display: flex; flex-direction: column; align-items: center; }
  .hero-lead{ max-width: 40rem; }
  .hero-ctas{ justify-content: center; }
  .hero-trust{ justify-content: center; }
  .window-scene{ margin-top: 1.4rem; }
  .featured-grid{ grid-template-columns: 1fr; }
  .featured-copy{ text-align: center; }
  .chips{ justify-content: center; }
  .featured-ctas{ justify-content: center; }
  .shelf-grid{ grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .promise-grid{ grid-template-columns: repeat(2, 1fr); }
  .promise-grid li:last-child{ grid-column: 1 / -1; }
  .judy-grid{ grid-template-columns: 1fr; }
  .judy-figure{ order: -1; max-width: 420px; margin: 0 auto; }
  .steps{ grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .step:not(:last-child)::after{ display: none; }
  .family-grid{ grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-copy{ text-align: center; }
  .contact-note{ border-left: none; padding-left: 0; }
  .contact-mark{ margin-inline: auto; }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  body{ font-size: 1rem; }
  .ribbon{ font-size: .68rem; letter-spacing: .08em; }
  .hero{ padding-top: 2.2rem; }
  .hero-title{ font-size: clamp(2.35rem, 9.5vw, 2.9rem); }
  .brand-script{ font-size: 1.25rem; }
  .belt-item{ font-size: 1.08rem; margin: 0 1.1rem; }
  .steps{ grid-template-columns: 1fr; }
  .promise-grid{ grid-template-columns: 1fr; }
  .promise-grid li:last-child{ grid-column: auto; }
  .prayer{ padding: 1.6rem 1.4rem; }
  .map-frame iframe{ height: 280px; }
  .foot-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPAGES
   ============================================================ */
.page-hero{
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 6vh, 4.6rem) 0 clamp(2.6rem, 5vh, 3.8rem);
}
.page-hero-inner{
  position: relative; z-index: 2;
  max-width: 840px; margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.mark-badge{ width: 92px; height: auto; margin: 0 auto .4rem; }
.page-hero h1{
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
  font-weight: 500;
  margin-bottom: .55rem;
}
.page-dek{ max-width: 660px; margin: 0 auto; color: var(--ink-soft); font-size: 1.07rem; }

.main-nav a[aria-current="page"]{ color: var(--rosewood); }
.main-nav a[aria-current="page"]::after{ right: 0; }
.mobile-nav a[aria-current="page"]{ color: var(--rosewood); }

/* --- book spreads --- */
.spread{ padding: clamp(3.6rem, 7vh, 5.6rem) 0; }
.band-red{
  background:
    radial-gradient(ellipse 58% 70% at 8% 20%, rgba(243, 209, 200, .9), transparent 62%),
    radial-gradient(ellipse 40% 52% at 96% 88%, rgba(240, 203, 137, .3), transparent 64%),
    var(--parchment);
}
.band-amber{
  background:
    radial-gradient(ellipse 58% 70% at 92% 16%, rgba(244, 216, 158, .55), transparent 62%),
    radial-gradient(ellipse 44% 54% at 4% 90%, rgba(214, 126, 65, .18), transparent 62%),
    var(--parchment-deep);
}
.band-attic{
  background:
    radial-gradient(ellipse 56% 68% at 10% 14%, rgba(226, 196, 138, .5), transparent 60%),
    radial-gradient(ellipse 42% 52% at 94% 90%, rgba(146, 106, 56, .22), transparent 62%),
    var(--parchment);
}
.spread-grid{
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.spread-grid.flip .spread-cover{ order: 2; }
.spread-cover{ display: flex; justify-content: center; }
.spread-cover img{
  width: min(320px, 72vw);
  border-radius: 10px;
  border: 3px solid #fff;
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.spread-grid.flip .spread-cover img{ transform: rotate(2deg); }
.spread-cover:hover img{ transform: rotate(0deg) scale(1.02); }
.cover-glow-red .spread-cover img{ box-shadow: 0 36px 64px -26px rgba(164, 32, 32, .55); }
.cover-glow-amber .spread-cover img{ box-shadow: 0 36px 64px -26px rgba(196, 116, 26, .55); }
.cover-glow-attic .spread-cover img{ box-shadow: 0 36px 64px -26px rgba(122, 84, 30, .6); }
.who-line{
  font-style: italic; color: var(--sage-deep);
  border-left: 3px solid var(--sage);
  padding-left: 1rem;
  margin: 1.2rem 0;
}
.meta-line{
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.1rem;
}
.detail-row{ display: flex; gap: 1rem; margin-top: 1.8rem; }
.detail-row figure{ margin: 0; flex: 1; }
.detail-row img{
  width: 100%; height: 172px; object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 16px 30px -16px rgba(63, 42, 33, .5);
}
.detail-row figcaption{
  font-size: .85rem; font-style: italic; color: var(--ink-soft);
  margin-top: .45rem; text-align: center;
}

/* --- Judy's letter (about) --- */
.about-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: start;
}
.letter{
  position: relative;
  background: var(--white);
  border: 1px solid rgba(201,161,94,.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.letter::before{
  content: "";
  position: absolute; top: 1.3rem; right: 1.5rem;
  width: 118px; height: 86px;
  background: url("../art/mark.png") center / contain no-repeat;
  opacity: .3;
  pointer-events: none;
}
.letter-greeting{
  font-family: var(--font-script);
  font-size: 2rem; color: var(--gold-ink);
  margin-bottom: .8rem;
}
.signature{
  font-family: var(--font-script);
  font-size: 2.5rem; line-height: 1.1;
  color: var(--rosewood);
  margin: 1.2rem 0 0;
}

/* --- studio logo story --- */
.logo-story{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}
.logo-frame{
  background: var(--white);
  border: 1px solid rgba(201,161,94,.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex; justify-content: center;
}
.logo-frame img{ width: min(300px, 66vw); }
.logo-notes{ list-style: none; }
.logo-notes li{ position: relative; padding: 0 0 1.35rem 2.2rem; }
.logo-notes li::before{
  content: "✦";
  position: absolute; left: 0; top: .15rem;
  color: var(--gold);
}
.logo-notes h3{ font-size: 1.35rem; margin-bottom: .25rem; }
.logo-notes p{ margin: 0; color: var(--ink-soft); }

/* --- deep rosewood CTA band --- */
.cta-band{
  background: linear-gradient(150deg, #96534B, #6E3833);
  text-align: center;
  padding: clamp(3.2rem, 6vh, 4.6rem) 0;
}
.cta-band .section-title{ color: #FBF2E7; }
.cta-band p{ color: #EDD9C8; max-width: 580px; margin: 0 auto 1.7rem; }
.cta-band .script-lead{ color: #E7BC6C; }
.cta-ctas{ display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.btn-cream{
  background: #FBF7F0; color: var(--rosewood-dark); border-color: #FBF7F0;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.45);
}
.btn-cream:hover{ background: #fff; color: var(--rosewood-dark); transform: translateY(-2px); }
.cta-band .btn-ghost{ color: #F8ECDF; border-color: rgba(248,236,223,.75); }
.cta-band .btn-ghost:hover{ background: rgba(255,255,255,.14); color: #fff; }

/* --- families page --- */
.starters{ list-style: none; max-width: 700px; margin: 2.2rem auto 0; }
.starters li{
  background: var(--white);
  border: 1px solid rgba(201,161,94,.4);
  border-left: 4px solid var(--rose);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .95rem;
  font-size: 1.03rem;
}
.starters li:nth-child(2){ border-left-color: var(--gold); }
.starters li:nth-child(3){ border-left-color: var(--sage); }
.group-panel{
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(201,161,94,.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  max-width: 780px;
  margin: 2.6rem auto 0;
}
.group-panel ul{ list-style: none; margin: 1rem 0 1.5rem; }
.group-panel li{ position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.group-panel li::before{ content: "—"; position: absolute; left: 0; color: var(--gold-ink); }

@media (max-width: 960px){
  .spread-grid{ grid-template-columns: 1fr; text-align: center; }
  .spread-grid.flip .spread-cover{ order: 0; }
  .spread-copy .chips{ justify-content: center; }
  .spread-copy .featured-ctas{ justify-content: center; }
  .who-line{ border-left: none; padding-left: 0; }
  .logo-story{ grid-template-columns: 1fr; }
  .logo-notes{ max-width: 500px; margin: 0 auto; text-align: left; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-grid .judy-figure{ order: -1; }
}
@media (max-width: 640px){
  .detail-row{ gap: .7rem; }
  .detail-row img{ height: 128px; }
  .page-hero h1{ font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .letter::before{ width: 84px; height: 62px; opacity: .22; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .petals{ display: none; }
  .belt-track{ animation: none; }
  .mote, .vmote{ display: none; }
}
