/* =============== REWILD — Editorial Design System =============== */

:root {
  /* Palette — earth-leaning, editorial */
  --bone:     #F7F3EC;   /* primary background */
  --bone-2:   #EFE9DD;   /* subtle section break */
  --ink:      #1A1814;   /* primary text */
  --ink-2:    #2C2822;   /* slightly softer */
  --muted:    #6B655B;   /* secondary text */
  --bronze:   #A67B4E;   /* accent */
  --bronze-d: #8A6239;   /* accent hover */
  --rule:     #D9D1C2;   /* hairline dividers */

  /* Type */
  --serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --max-w:         1280px;
  --narrow-w:      760px;
  --gutter:        clamp(20px, 5vw, 64px);
  --section-pad:   clamp(80px, 12vw, 160px);
}

/* =============== RESET =============== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

/* =============== CONTAINERS =============== */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow {
  max-width: var(--narrow-w);
}

/* =============== TYPE UTILITIES =============== */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 32px;
  text-align: center;
}

/* =============== NAV =============== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__wordmark {
  display: flex;
  align-items: center;
  position: relative;
  height: 32px;
}
.nav__logo {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.4s ease;
}
.nav__logo--white { opacity: 1; position: relative; }
.nav__logo--dark  { opacity: 0; position: absolute; left: 0; top: 0; }
.nav.is-scrolled .nav__logo--white { opacity: 0; }
.nav.is-scrolled .nav__logo--dark  { opacity: 1; }
.nav__meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.85;
  transition: color 0.4s ease;
}
.nav.is-scrolled .nav__meta { color: var(--muted); }
.nav__cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--bone);
  color: var(--bone);
  transition: all 0.3s ease;
}
.nav__cta:hover {
  background: var(--bone);
  color: var(--ink);
}
.nav.is-scrolled .nav__cta {
  border-color: var(--ink);
  color: var(--ink);
}
.nav.is-scrolled .nav__cta:hover {
  background: var(--ink);
  color: var(--bone);
}

@media (max-width: 640px) {
  .nav__meta { display: none; }
}

/* =============== HERO =============== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--bone);
}
.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* Cover for both <video> and <iframe> (Vimeo) */
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 inverse */
  border: none;
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero__wordmark {
  margin: 0;
  line-height: 1;
}
.hero__wordmark-img {
  height: clamp(56px, 12vw, 144px);
  width: auto;
  display: block;
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.6vw, 28px);
  line-height: 1.4;
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--bone);
}
.hero__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 48px 0 0;
  opacity: 0.85;
  line-height: 1.8;
  max-width: 680px;
}
.hero__meta em {
  font-style: italic;
}
.hero__meta a {
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  margin-left: 1px;
  transition: opacity 0.2s ease;
}
.hero__meta a:hover {
  opacity: 1;
}

/* =============== HERO META BAND =============== */
.hero-meta {
  background: var(--bone);
  padding: 80px 0;
  text-align: center;
}
.hero-meta__headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 28px;
}
.hero-meta__route {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.hero-meta__detail {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.hero-meta__access {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 0;
}
.hero-meta em {
  font-style: italic;
}
.hero-meta a {
  text-decoration: none;
  color: inherit;
  opacity: 0.6;
  margin-left: 1px;
  transition: opacity 0.2s ease;
}
.hero-meta a:hover {
  opacity: 1;
}
.hero__cta {
  display: inline-block;
  margin-top: 44px;
  padding: 16px 44px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--bone);
  color: var(--bone);
  transition: all 0.3s ease;
}
.hero__cta:hover {
  background: var(--bone);
  color: var(--ink);
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* =============== SECTIONS =============== */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section--storybook {
  background: #EDE4D4;
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: 80px;
}
.section--pillars {
  background: #E5D5B6;
}
.section--pillars .pillar {
  background: #E5D5B6;
}
.section--glance {
  background: var(--bone);
}
.section--journey {
  background: #F2EBD8;
  padding-bottom: calc(var(--section-pad) * 0.5);
}
.section--experiences {
  background: var(--bone-2);
}
.section--people {
  background: var(--bone);
}
.section--leaves-behind {
  background: var(--ink);
  color: var(--bone);
}
.section--leaves-behind .eyebrow {
  color: var(--bronze);
  opacity: 0.85;
}
.section--rewilding-defined {
  background-color: var(--ink);
  color: var(--bone);
  padding: 0;
}
.rewilding-defined__media {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 62;
  overflow: hidden;
}
.rewilding-defined__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.rewilding-defined__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 48%;
  padding: clamp(40px, 5vw, 70px) 0 0;
  background: linear-gradient(180deg,
    rgba(20, 18, 14, 0.55) 0%,
    rgba(20, 18, 14, 0.30) 45%,
    rgba(20, 18, 14, 0) 100%
  );
  color: var(--bone);
}
.rewilding-defined__heading {
  text-align: center;
  margin-bottom: 36px;
}
.rewilding-defined__word {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  margin: 0 0 14px;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.rewilding-defined__pron {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.85;
  margin: 0;
}
.rewilding-defined__body {
  display: flex;
  align-items: stretch;
}
.rewilding-defined__body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  color: var(--bone);
  opacity: 0.92;
}
.rewilding-defined__body p:first-child {
  padding-right: clamp(20px, 3vw, 44px);
}
.rewilding-defined__body p + p {
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid rgba(247, 243, 236, 0.28);
}
@media (max-width: 640px) {
  .rewilding-defined__body {
    flex-direction: column;
  }
  .rewilding-defined__body p:first-child {
    padding-right: 0;
    padding-bottom: clamp(16px, 4vw, 28px);
    border-bottom: 1px solid rgba(247, 243, 236, 0.28);
  }
  .rewilding-defined__body p + p {
    padding-left: 0;
    padding-top: clamp(16px, 4vw, 28px);
    border-left: none;
  }
}
.rewilding-defined__body em {
  font-style: italic;
  color: var(--ink);
  opacity: 1;
}
.rewilding-defined__close {
  font-style: italic;
  opacity: 1 !important;
  margin-top: 2em !important;
  padding-top: 2em;
  border-top: 1px solid rgba(247, 243, 236, 0.2);
}
.section--who-for {
  background: var(--bone);
}
.section--investment {
  background: var(--bone-2);
}
.section--faq {
  background: var(--bone);
}
.section--curator {
  background: var(--bone-2);
}
.section--apply {
  background: var(--ink);
  color: var(--bone);
}
.section--apply .eyebrow {
  color: var(--bronze);
  opacity: 0.85;
}

/* =============== 02 INVITATION =============== */

.invitation__body p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.55;
  margin: 0 0 1.2em;
  color: var(--ink-2);
}
.invitation__body p:last-child { margin-bottom: 0; }
.invitation__body em { font-style: italic; }

/* =============== 03 PILLARS =============== */

.thesis {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
  color: var(--ink-2);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.pillar {
  background: var(--bone-2);
  padding: 40px 36px;
}
.pillar__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
}
.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.pillars__close {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  text-align: center;
  color: var(--muted);
  margin: 56px 0 0;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

/* =============== 04 AT A GLANCE =============== */

.glance {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.glance__facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fact {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
}
.fact:last-child { border-bottom: none; }
.fact__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 8px;
}
.fact__value {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.glance__map img {
  width: 100%;
  height: auto;
  filter: sepia(0.04);
}

@media (max-width: 860px) {
  .glance { grid-template-columns: 1fr; gap: 56px; }
  .glance__map { order: -1; }
}

/* =============== 05 JOURNEY =============== */

.act {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.act--reverse { direction: rtl; }
.act--reverse > * { direction: ltr; }
.act__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.act__image--stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.act__image--stack img {
  aspect-ratio: 16 / 9;
}
.act__numeral {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 20px;
}
.act__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--ink);
}
.act__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}
.act__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 2px solid var(--bronze);
}
.act__list-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 16px;
}
.act__list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.act__list li:last-child { border-bottom: none; }
.act__list em { font-family: var(--serif); font-style: italic; color: var(--muted); }

@media (max-width: 900px) {
  .act { grid-template-columns: 1fr; gap: 44px; padding: 56px var(--gutter); }
  .act--reverse { direction: ltr; }
}

/* =============== 06 EXPERIENCES =============== */

.experiences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.experience {
  background: var(--bone-2);
  padding: 36px 28px;
  min-height: 200px;
}
.experience h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}
.experience p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .experiences { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .experiences { grid-template-columns: 1fr; }
}

/* =============== 07 PEOPLE =============== */

.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.person-category h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.person-category p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.people__close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-2);
}

@media (max-width: 720px) {
  .people { grid-template-columns: 1fr; gap: 36px; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .people { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* =============== 08 LEAVES BEHIND =============== */

.leaves__body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.55;
  margin: 0 0 1.2em;
  color: var(--bone);
  opacity: 0.92;
}
.leaves__close {
  font-style: italic;
  opacity: 1 !important;
  margin-top: 2em !important;
  padding-top: 2em;
  border-top: 1px solid rgba(247, 243, 236, 0.2);
}

/* =============== 09 WHO FOR =============== */

.who-for__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.who-for__list li {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.who-for__list li:last-child { border-bottom: none; }

/* =============== 10 INVESTMENT =============== */

.investment__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.investment__block {
  margin-bottom: 36px;
}
.investment__block h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 12px;
}
.investment__block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* =============== 11 FAQ =============== */

.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 44px 28px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}
.faq__item summary:hover { color: var(--bronze); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--bronze);
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__answer {
  padding: 0 44px 28px 0;
}
.faq__answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* =============== 12 CURATOR =============== */

.curator {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.curator__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.curator__text p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 1.2em;
}
.curator__links {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 32px !important;
}
.curator__links a {
  border-bottom: 1px solid var(--bronze);
  color: var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.curator__links a:hover { color: var(--bronze); }
.dot { margin: 0 10px; color: var(--muted); }

@media (max-width: 860px) {
  .curator { grid-template-columns: 1fr; gap: 40px; }
}

/* =============== 13 APPLY =============== */

.apply {
  text-align: center;
}
.apply p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--bone);
  margin: 0 0 1.2em;
}
.apply__sign {
  font-style: italic;
  color: var(--bronze) !important;
  margin-top: 2em !important;
}
.apply__form {
  margin: 64px 0 48px;
  background: var(--bone);
  padding: 40px 32px;
  border-radius: 2px;
  text-align: left;
}
.apply__cta-fallback {
  display: inline-block;
  padding: 18px 48px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--bronze);
  color: var(--bone);
  transition: background 0.3s ease;
}
.apply__cta-fallback:hover { background: var(--bronze-d); }

/* =============== FOOTER =============== */

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 48px;
  text-align: center;
}
.footer__wordmark {
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
}
.footer__logo {
  height: 44px;
  width: auto;
}
.footer__line {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 32px;
}
.footer__links {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 48px;
}
.footer__links a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
  border-bottom: 1px solid rgba(247, 243, 236, 0.3);
  padding-bottom: 2px;
}
.footer__links a:hover { opacity: 1; }
.footer__copyright {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0;
}

/* =============== SCROLL FADE-IN =============== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== MOTION-REDUCE =============== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =============== SELECTION =============== */

::selection {
  background: var(--bronze);
  color: var(--bone);
}

/* ═══════════════════════════════════════════
   STORYBOOK
═══════════════════════════════════════════ */

.book-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  padding: 0 var(--gutter);
}

/* ── Book — StPageFlip ── */
.book-stage {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  justify-content: center;
}
.book-flipbook-wrap {
  width: min(960px, 82vw);
  position: relative;
  flex-shrink: 1;
  min-width: 0;
}
.book-nav__arrow--side {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .book-stage { gap: 12px; }
}

#flipbook {
  display: block;
}

/* Hide raw page divs — StPageFlip repositions them via canvas */
#flipbook .page {
  display: none;
}

#flipbook .page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Navigation ── */
.book-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.book-nav__arrow {
  background: none;
  border: 1px solid rgba(166,123,78,0.38);
  color: var(--bronze);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s;
  opacity: 0.8;
}
.book-nav__arrow:hover:not(:disabled) {
  background: rgba(166,123,78,0.14);
  border-color: var(--bronze);
  opacity: 1;
}
.book-nav__arrow:disabled { opacity: 0.22; cursor: default; }
.book-nav__dots { display: flex; gap: 10px; align-items: center; }
.book-nav__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(166,123,78,0.28);
  border: 1px solid rgba(166,123,78,0.38);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.book-nav__dot.is-active {
  background: var(--bronze);
  border-color: var(--bronze);
  transform: scale(1.25);
}
