/* IvyPop V38 — focused hero rebuild. Nothing outside the hero/header modified. */
.site-header {
  background:linear-gradient(180deg,rgba(6,5,8,.70) 0%,rgba(6,5,8,.35) 58%,rgba(6,5,8,.10) 100%);
  border-bottom:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.site-header .nav-wrap {min-height:76px}
.site-header .logo-link img {width:132px;height:auto;object-fit:contain}
/* One contiguous, full-bleed photographic scene. The chapter photos remain real, separate buttons. */
.hero {
  position:relative;
  height:clamp(850px,100svh,1060px);
  min-height:850px;
  overflow:hidden;
  background:#10090d;
  isolation:isolate;
}
.hero-art {inset:0;overflow:hidden}
.hero-art img {object-position:59% 49%;filter:saturate(1.04) contrast(1.025)}
.hero-scrim {
  background:
   linear-gradient(90deg,rgba(6,4,8,.88) 0%,rgba(8,5,10,.77) 19%,rgba(10,5,10,.38) 45%,rgba(8,4,9,.05) 74%),
   linear-gradient(0deg,rgba(7,4,9,.78) 0%,rgba(7,4,9,.20) 28%,transparent 52%),
   linear-gradient(180deg,rgba(6,4,9,.12),transparent 32%);
}
.hero-inner {
  position:relative;
  z-index:3;
  display:block;
  height:auto;
  padding-top:clamp(133px,16svh,172px);
  padding-bottom:0;
}
.hero-copy {width:min(630px,53vw);padding:0;margin:0}
.hero h1 {
  margin:0 0 22px;
  max-width:650px;
  font-size:clamp(3.15rem,4.95vw,5.1rem);
  line-height:1.035;
  letter-spacing:-.048em;
  font-weight:760;
  text-wrap:balance;
}
.hero h1 .hero-last {white-space:normal}
.hero h1 em {
  font-family:'Allura',cursive;
  font-weight:400;font-style:normal;
  font-size:1.17em;
  line-height:.75;
  letter-spacing:-.008em;
  white-space:nowrap;
  color:#ff75b2;
  vertical-align:-.04em;
  text-shadow:0 2px 9px rgba(57,5,31,.45);
}
.hero-sub {font-size:15px;max-width:425px;line-height:1.6;color:#f4edf0}
.hero-ctas {margin-top:22px;gap:11px}
.hero-disclaimer {margin-top:24px;font-size:10px;letter-spacing:.12em}
/* The three photographic chapters occupy the SAME photograph, not a white overflow area. */
.hero .chapters {
  position:absolute;
  width:min(1240px,calc(100% - 64px));
  max-width:none;
  z-index:8;
  left:50%;bottom:21px;
  transform:translateX(-50%);
  margin:0;
  padding:0!important;
  background:transparent;
  scroll-margin-top:80px;
}
.hero .chapter-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;overflow:visible;margin:0;padding:4px 2px 3px}
.hero .chapter-card {
  position:relative;
  height:188px;
  border-radius:21px;
  border:1px solid rgba(255,255,255,.48);
  background:rgba(12,7,12,.42);
  box-shadow:
    0 1px 2px rgba(0,0,0,.16),
    0 11px 25px rgba(5,2,7,.42),
    0 22px 35px rgba(5,2,7,.22),
    inset 0 1px 1px rgba(255,255,255,.5),
    inset 1px 0 0 rgba(255,255,255,.15),
    inset 0 -2px 5px rgba(0,0,0,.15);
  transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease,border-color .24s ease;
}
.hero .chapter-card::after {
  content:"";position:absolute;inset:1px;border-radius:20px;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.21),inset 0 -1px 3px rgba(0,0,0,.25);
  pointer-events:none;z-index:5;
}
.hero .chapter-card:nth-child(2){transform:translateY(-4px)}
.hero .chapter-card:hover,.hero .chapter-card:focus-visible {
  transform:translateY(-7px);
  border-color:rgba(255,196,226,.8);
  box-shadow:0 1px 2px rgba(0,0,0,.15),0 14px 25px rgba(5,2,7,.48),0 27px 44px rgba(5,2,7,.32),inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 3px rgba(0,0,0,.18);
}
.hero .chapter-card:active{transform:translateY(-1px);box-shadow:0 5px 12px rgba(5,2,7,.4),inset 0 2px 6px rgba(0,0,0,.45)}
.hero .chapter-card>img {filter:saturate(1.05) contrast(1.025)}
.hero .chapter-shadow {background:linear-gradient(0deg,rgba(9,4,10,.83),rgba(9,4,10,.28) 40%,transparent 78%)}
.hero .chapter-content {left:17px;right:17px;bottom:15px;gap:4px}
.hero .chapter-overline {font-size:9px;letter-spacing:.12em;color:#ffe1ed}
.hero .chapter-content strong {font-size:25px;letter-spacing:-.045em;font-weight:750}
.hero .chapter-hint {font-size:11px;line-height:1.35;color:#f6e9ee}
.hero .preview-note {
  color:rgba(255,245,250,.81);
  font-size:10px;line-height:1.4;
  padding:0;margin:9px 0 0;text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.75);
}
@media (max-width:1000px) {
  .site-header .nav-wrap {min-height:72px}
  .hero {height:clamp(860px,105svh,1000px);min-height:860px}
  .hero-inner {padding-top:145px}
  .hero-copy {width:min(570px,65vw)}
  .hero h1 {font-size:clamp(3.0rem,5.8vw,4.4rem)}
  .hero .chapters {width:calc(100% - 44px);bottom:24px}
  .hero .chapter-card {height:178px}
  .hero .chapter-grid {gap:10px}
}
@media (max-width:700px) {
  .site-header .nav-wrap {min-height:66px}
  .site-header .logo-link img {width:114px}
  .hero {height:clamp(840px,100svh,900px);min-height:840px}
  .hero-art img {object-position:55% 50%}
  .hero-scrim {background:linear-gradient(180deg,rgba(7,4,9,.75) 0%,rgba(7,4,9,.22) 30%,rgba(7,4,9,.55) 57%,rgba(7,4,9,.85) 100%),linear-gradient(90deg,rgba(7,4,9,.4),transparent 90%)}
  .hero-inner {padding-top:106px;padding-bottom:0;display:block;height:auto}
  .hero-copy {width:100%;max-width:420px;padding:0}
  .hero h1 {font-size:clamp(2.45rem,9.2vw,3.45rem);line-height:1.04;margin-bottom:16px;max-width:425px;letter-spacing:-.046em}
  .hero h1 em {font-size:1.18em}
  .hero-sub {font-size:13px;max-width:350px}
  .hero-ctas {margin-top:18px;gap:8px}
  .hero-ctas .btn {min-height:43px;padding:10px 12px;font-size:12px}
  .hero-disclaimer {margin-top:16px;font-size:9px}
  .hero .chapters {width:calc(100% - 32px);bottom:21px;padding:0!important;margin:0}
  .hero .chapter-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible;margin:0;padding:2px}
  .hero .chapter-card {height:154px;min-width:0;border-radius:15px}
  .hero .chapter-card::after {border-radius:14px}
  .hero .chapter-card .mini-phone {display:none}
  .hero .chapter-content {left:9px;right:8px;bottom:10px;padding:0}
  .hero .chapter-overline {font-size:7px;letter-spacing:.055em}
  .hero .chapter-content strong {font-size:clamp(13px,3.9vw,17px)}
  .hero .chapter-hint {font-size:9px;max-height:36px;overflow:hidden}
  .hero .preview-note {font-size:9px;margin:10px 0 0}
}
@media(max-width:380px) {
  .hero{height:900px;min-height:900px}
  .hero-inner{padding-top:106px}
  .hero h1{font-size:clamp(2.2rem,9vw,2.6rem)}
  .hero .chapter-card{height:141px}
  .hero .chapter-overline{font-size:6.5px}
  .hero .chapter-hint{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.hero .chapter-card,.hero .chapter-card>img{transition:none!important}}
