/* ============================================================
   FABLE — This Is Not Popcorn
   Powder Blue #8CB9D6 · Warm Gold #D5A634 · Floral White #FFFAF3
   ============================================================ */

:root {
  --cream: #FFFAF3;
  --cream-soft: #FFFDF8;
  --blue: #8CB9D6;
  --blue-mist: #A9CBE0;
  --blue-deep: #5F8CAB;
  --gold: #D5A634;
  --gold-soft: rgba(213, 166, 52, 0.35);
  --gold-faint: rgba(213, 166, 52, 0.16);
  --ink: #2A4250;
  --dusk: #16242C;
  --dusk-soft: #1D303B;

  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Times New Roman", Times, "Cormorant Garamond", serif;

  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --nav-h: 84px;
}

/* ---------- reset / base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

::selection { background: var(--blue); color: var(--cream); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.eyebrow--cream { color: rgba(255, 250, 243, 0.85); }
.eyebrow--gold { color: var(--gold); }

/* split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-split] .wi {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: var(--wd, 0s);
}
[data-split].in-view .wi { transform: translateY(0); }

/* generic reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

.no-js .reveal, .no-js [data-split] .wi { opacity: 1; transform: none; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.btn--gold:hover { background: var(--gold); color: var(--cream); box-shadow: 0 14px 34px -12px rgba(213, 166, 52, 0.55); }

.btn--ghost { padding: 11px 24px; }
.btn--ghost:hover { background: var(--gold); color: var(--cream); }

.btn--blue { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn--blue:hover { background: var(--blue); border-color: var(--blue); color: var(--cream); box-shadow: 0 14px 34px -12px rgba(140, 185, 214, 0.7); }

.link-line {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-line::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-line:hover::after { transform: scaleX(0.35); transform-origin: left; }

/* ---------- cursor ---------- */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 300;
  border-radius: 50%;
  transform: translate(-100px, -100px);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(213, 166, 52, 0.55);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: var(--blue);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
html.has-cursor, html.has-cursor a, html.has-cursor button,
html.has-cursor input, html.has-cursor label { cursor: none; }

/* ---------- scroll progress ---------- */

.progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 150;
}

/* ---------- loader ---------- */

.loader {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.loader.is-done { transform: translateY(-101%); }
.loader.is-gone { display: none; }
.no-js .loader { display: none; }

.loader-inner { text-align: center; }

.loader-icon {
  width: clamp(96px, 14vw, 150px);
  height: auto;
  aspect-ratio: 452 / 424;
  color: var(--blue);
  margin-inline: auto;
  overflow: visible;
}

.loader-tag {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.loader.is-tagged .loader-tag { opacity: 1; }

/* ---------- navigation ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 52px);
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease),
              backdrop-filter 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav.is-solid {
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(213, 166, 52, 0.18);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-icon { width: 40px; height: 38px; color: var(--blue); transition: color 0.4s var(--ease); }
.nav-brand:hover .nav-icon { color: var(--gold); }
.nav-word {
  font-size: 15px;
  letter-spacing: 0.42em;
  color: var(--ink);
  transform: translateY(1px);
}

.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.45s var(--ease), left 0.45s var(--ease);
}
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.nav-burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- mobile menu ---------- */

.menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0s linear 0.55s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--ease);
}

.menu-links { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 52px);
  color: var(--ink);
  padding: 4px 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
  transition-delay: var(--md, 0s);
}
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu-links a:hover { color: var(--blue-deep); }
.menu-links em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.menu-tag { font-size: 11px; letter-spacing: 0.4em; color: var(--gold); }

/* ---------- chapter rail ---------- */

.rail {
  position: fixed; right: 30px; top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.rail.is-visible { opacity: 1; }

.rail a { display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; }

.rail-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rail a.is-active .rail-dot { background: var(--gold); transform: scale(1.35); }

.rail-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.rail a:hover .rail-label { opacity: 0.8; transform: none; }

@media (max-width: 1099px) { .rail { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 24px) 24px 90px;
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-arch {
  position: absolute;
  left: 50%; bottom: -18%;
  transform: translateX(-50%);
  width: min(880px, 92vw);
  height: 106%;
  border: 1px solid var(--gold-soft);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.hero-arch--inner {
  width: min(820px, 86vw);
  height: 101%;
  border-color: var(--gold-faint);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 34px;
}

.hero-icon {
  display: inline-block;
  margin-bottom: 8px;
  animation: bob 5.5s ease-in-out infinite;
}
.hero-icon svg {
  width: clamp(58px, 7vw, 78px);
  height: auto;
  aspect-ratio: 452 / 424;
  color: var(--blue);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero-icon:hover svg { color: var(--gold); transform: rotate(-6deg) scale(1.06); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title { margin: 10px 0 22px; }
.hero-title img {
  width: min(480px, 74vw);
  height: auto;
  margin-inline: auto;
}

.hero-tagline {
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  color: var(--gold);
  margin-bottom: 30px;
}
.hero-tagline .ch { display: inline-block; }

.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.86;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 34px; flex-wrap: wrap;
}
.hero-ctas .link-line { color: var(--blue-deep); }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 44px; height: 64px;
  display: flex; justify-content: center;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% { clip-path: inset(0 0 100% 0); }
  45% { clip-path: inset(0); }
  100% { clip-path: inset(100% 0 0 0); }
}

/* hero entrance */
[data-enter] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 130ms + 150ms);
}
body.is-loaded [data-enter] { opacity: 1; transform: none; }
.no-js [data-enter] { opacity: 1; transform: none; }
body.is-loaded .hero-icon[data-enter] { opacity: 1; transform: none; }

/* hanging ornaments */
.hang {
  position: absolute; top: 0;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: top center;
  animation: sway 7s ease-in-out infinite;
  z-index: 1;
}
.hang--l { left: clamp(40px, 12vw, 220px); }
.hang--r { right: clamp(40px, 14vw, 260px); animation-duration: 9s; animation-delay: -2.5s; }

.hang-line { width: 1px; background: var(--gold-soft); }
.hang--l .hang-line { height: clamp(90px, 16vh, 170px); }
.hang--r .hang-line { height: clamp(140px, 24vh, 250px); }

.hang-cloud { width: 44px; height: 41px; color: var(--blue); margin-top: 6px; }
.hang-star { color: var(--gold); font-size: 19px; margin-top: 4px; animation: twinkle 3.4s ease-in-out infinite; }

@keyframes sway {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.4deg); }
}

.hero-star {
  position: absolute;
  color: var(--gold);
  animation: twinkle 4s ease-in-out infinite;
  z-index: 1;
}
.hero-star--1 { top: 24%; left: 16%; font-size: 13px; animation-delay: -1s; }
.hero-star--2 { top: 38%; right: 14%; font-size: 17px; animation-delay: -2.2s; }
.hero-star--3 { bottom: 22%; left: 24%; font-size: 11px; animation-delay: -3.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

@media (max-width: 720px) {
  .hang--l { display: none; }
  .hero-star--1 { display: none; }
  .hero-sub .bp { display: none; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 34px 0;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  background: var(--cream);
}
.marquee-track {
  display: flex; align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue);
}
.marquee-cloud { width: 34px; height: 32px; color: var(--gold); flex: none; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- chapter I — story ---------- */

.story {
  position: relative;
  background: linear-gradient(168deg, var(--blue-mist) 0%, var(--blue) 55%, #7FAECD 100%);
  color: var(--cream);
  padding: clamp(110px, 14vw, 190px) 0;
  overflow: hidden;
  text-align: center;
}

.story-balloon {
  position: absolute;
  top: 12%; right: clamp(4%, 8vw, 12%);
  width: clamp(70px, 9vw, 120px);
  color: rgba(255, 250, 243, 0.55);
}

.story-star { position: absolute; color: var(--cream); animation: twinkle 4.4s ease-in-out infinite; }
.story-star--1 { top: 18%; left: 10%; font-size: 14px; }
.story-star--2 { bottom: 16%; right: 18%; font-size: 12px; animation-delay: -2s; }

.story-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.15;
  max-width: 17ch;
  margin: 0 auto 64px;
}

.story-lines { max-width: 640px; margin: 0 auto 72px; }
.story-line {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 2;
  color: rgba(255, 250, 243, 0.94);
}

.story-close {
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  margin-bottom: 84px;
}
.story-rule { width: clamp(40px, 8vw, 110px); height: 1px; background: rgba(255, 250, 243, 0.45); }
.story-moral {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.4;
}
.story-moral em { color: #F4E5BC; }

.story-marks {
  display: flex; justify-content: center;
  gap: clamp(34px, 6vw, 90px);
  flex-wrap: wrap;
}
.story-marks li { display: flex; flex-direction: column; gap: 4px; }
.story-marks strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.story-marks span {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.75);
}

/* ---------- chapter II — collections ---------- */

.collections { position: relative; background: var(--cream); }

.collections-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.collections-head { text-align: center; margin-bottom: clamp(28px, 4vh, 56px); }

.collections-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 54px);
  color: var(--ink);
}

.shelf-wrap { width: 100%; }
.shelf {
  display: flex; align-items: stretch;
  gap: clamp(22px, 3vw, 44px);
  width: max-content;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  will-change: transform;
}

.shelf-intro, .shelf-outro {
  display: flex; flex-direction: column;
  justify-content: center;
  flex: none;
  width: min(330px, 80vw);
}
.shelf-edition {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: var(--ink);
}
.shelf-edition-sub {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
}
.shelf-hint {
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-deep);
  animation: nudge 2.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(10px); opacity: 1; }
}

.shelf-outro { text-align: center; align-items: center; gap: 22px; }
.shelf-outro-icon { width: 46px; height: 43px; color: var(--blue); }
.shelf-outro p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
}
.shelf-outro .link-line { color: var(--gold); }

/* the tins */
.card {
  position: relative;
  flex: none;
  width: min(350px, 78vw);
  min-height: 520px;
  padding: 64px 36px 38px;
  border-radius: 175px 175px 18px 18px;
  display: flex; flex-direction: column;
  text-align: center;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card::before {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 168px 168px 12px 12px;
  border: 1px solid;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-12px) rotate(-0.6deg); }

.card--blue {
  background: linear-gradient(165deg, #9CC4DE 0%, var(--blue) 60%, #80B0CF 100%);
  color: var(--cream);
  box-shadow: 0 30px 60px -30px rgba(95, 140, 171, 0.5);
}
.card--blue::before { border-color: rgba(255, 250, 243, 0.4); }
.card--blue:hover { box-shadow: 0 44px 80px -34px rgba(95, 140, 171, 0.65); }

.card--cream {
  background: linear-gradient(165deg, #FFFDF8 0%, var(--cream) 70%, #FBF2E2 100%);
  color: var(--ink);
  border: 1px solid var(--gold-faint);
  box-shadow: 0 30px 60px -30px rgba(170, 140, 70, 0.28);
}
.card--cream::before { border-color: var(--gold-soft); }
.card--cream:hover { box-shadow: 0 44px 80px -34px rgba(170, 140, 70, 0.4); }

.card--dusk {
  background: linear-gradient(165deg, #22363F 0%, var(--dusk) 65%, #101B22 100%);
  color: var(--cream);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 26, 0.55);
}
.card--dusk::before { border-color: rgba(213, 166, 52, 0.4); }
.card--dusk:hover { box-shadow: 0 44px 80px -34px rgba(10, 20, 26, 0.7); }

.card-top {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.card-icon {
  width: 44px; height: 41px;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-icon { transform: rotate(-8deg) translateY(-4px); }
.card--blue .card-icon { color: var(--cream); }
.card--cream .card-icon { color: var(--blue); }
.card--dusk .card-icon { color: var(--gold); }

.card-no {
  font-size: 11px;
  letter-spacing: 0.34em;
  color: currentColor;
  opacity: 0.75;
}

.card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.card--cream .card-name { color: var(--ink); }

.card-desc {
  font-size: 15.5px;
  line-height: 1.75;
  opacity: 0.88;
  margin-bottom: 24px;
}

.card-notes {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px;
  margin-bottom: 28px;
}
.card-notes span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.card-notes span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--gold);
  opacity: 1;
}
.card--blue .card-notes span::after { color: #F4E5BC; }

.card-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid;
}
.card--blue .card-foot { border-color: rgba(255, 250, 243, 0.3); }
.card--cream .card-foot { border-color: var(--gold-faint); }
.card--dusk .card-foot { border-color: rgba(255, 250, 243, 0.16); }

.card-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
}
.card-link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.card--blue .card-link { color: #F4E5BC; }
.card-link:hover { border-color: currentColor; }

/* mobile: native swipe */
@media (max-width: 900px), (pointer: coarse) {
  .collections { height: auto !important; padding: clamp(90px, 12vw, 140px) 0; }
  .collections-pin { position: static; height: auto; padding-top: 0; }
  .shelf-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 18px;
  }
  .shelf-wrap::-webkit-scrollbar { display: none; }
  .shelf { transform: none !important; }
  .card, .shelf-intro, .shelf-outro { scroll-snap-align: center; }
}

/* ---------- chapter III — gifting ---------- */

.gifting {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--dusk-soft) 0%, var(--dusk) 60%, #101B22 100%);
  color: var(--cream);
  padding: clamp(110px, 14vw, 190px) 0 clamp(110px, 13vw, 170px);
  overflow: hidden;
  text-align: center;
}
.gifting-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gifting .container { position: relative; z-index: 2; }

.gifting-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
  margin: 0 auto clamp(60px, 8vw, 100px);
}

.gifting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  text-align: left;
}

/* the invitation */
.invite-wrap { perspective: 1100px; display: flex; justify-content: center; }
.invite {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.invite-card {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 0.72;
  background: linear-gradient(160deg, #FFFDF8 0%, var(--cream) 55%, #F8EDDB 100%);
  border: 1px solid var(--gold);
  outline: 6px solid rgba(213, 166, 52, 0.12);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 34px;
  box-shadow:
    0 50px 90px -40px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(213, 166, 52, 0.15);
}
.invite-card::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.invite-icon { width: 52px; height: 49px; color: var(--blue); margin-bottom: 16px; }
.invite-word { width: 152px; height: auto; }
.invite-tag {
  font-size: 9.5px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 12px;
}
.invite-rule { width: 54px; height: 1px; background: var(--gold-soft); margin: 30px 0; }
.invite-line {
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  line-height: 1.9;
}
.invite-sub { font-family: var(--font-display); font-size: 17px; color: var(--gold); margin-top: 8px; }

.seal {
  position: absolute;
  right: -26px; bottom: -26px;
  width: 92px; height: 92px;
  border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background:
    radial-gradient(circle at 32% 28%, #E8C25C 0%, var(--gold) 45%, #A87E1F 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 16px 30px -12px rgba(0, 0, 0, 0.55),
    inset 0 2px 6px rgba(255, 255, 255, 0.35),
    inset 0 -4px 10px rgba(90, 65, 10, 0.45);
  transform: rotate(-12deg) translateZ(40px);
}
.seal::before {
  content: "";
  position: absolute; inset: 9px;
  border-radius: inherit;
  border: 1px solid rgba(255, 250, 243, 0.4);
}
.seal-icon { width: 40px; height: 38px; color: rgba(255, 250, 243, 0.92); }

/* the ritual */
.ritual { display: flex; flex-direction: column; gap: clamp(34px, 4vw, 52px); }
.ritual li {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
}
.ritual-no {
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}
.ritual h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 8px;
}
.ritual p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 250, 243, 0.78);
}

.gifting-cta { margin-top: clamp(60px, 8vw, 90px); }

@media (max-width: 900px) {
  .gifting-grid { grid-template-columns: 1fr; }
  .invite { margin-bottom: 16px; }
  .seal { right: -12px; bottom: -18px; width: 78px; height: 78px; }
}

/* ---------- chapter IV — boutique ---------- */

.boutique {
  background: var(--cream);
  padding: clamp(110px, 14vw, 190px) 0;
  overflow: hidden;
}

.boutique-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.boutique-figure { position: relative; }
.arch-frame {
  position: relative;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid var(--gold);
  outline: 8px solid rgba(213, 166, 52, 0.1);
  aspect-ratio: 0.78;
  box-shadow: 0 50px 90px -45px rgba(95, 140, 171, 0.55);
}
.arch-frame img {
  width: 100%; height: 116%;
  object-fit: cover;
  will-change: transform;
}
.boutique-figure figcaption {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--blue-deep);
}

.boutique-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 56px);
  color: var(--ink);
  margin-bottom: 26px;
}
.boutique-lede {
  font-size: 17.5px;
  line-height: 1.85;
  opacity: 0.88;
  max-width: 52ch;
  margin-bottom: 46px;
}

.boutique-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px;
  margin-bottom: 50px;
}
.boutique-details dt {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
}
.boutique-details dd {
  font-size: 16px;
  line-height: 1.7;
}
.boutique-details a { border-bottom: 1px solid var(--gold-soft); transition: border-color 0.3s; }
.boutique-details a:hover { border-color: var(--gold); }

@media (max-width: 900px) {
  .boutique-grid { grid-template-columns: 1fr; }
  .boutique-figure { max-width: 420px; margin-inline: auto; }
}

/* ---------- epilogue ---------- */

.epilogue {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, #FAF1E2 100%);
  padding: clamp(110px, 14vw, 180px) 0;
  text-align: center;
  border-top: 1px solid var(--gold-faint);
}

.epilogue-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 54px);
  color: var(--ink);
  margin-bottom: 22px;
}
.epilogue-copy {
  max-width: 52ch;
  margin: 0 auto 50px;
  font-size: 17px;
  line-height: 1.85;
  opacity: 0.86;
}

.subscribe {
  display: flex; justify-content: center; align-items: stretch;
  gap: 16px;
  max-width: 560px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.subscribe input {
  flex: 1 1 280px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(95, 140, 171, 0.45);
  padding: 12px 4px;
  transition: border-color 0.4s var(--ease);
}
.subscribe input::placeholder { color: rgba(42, 66, 80, 0.45); }
.subscribe input:focus { outline: none; border-color: var(--gold); }

.subscribe-note {
  margin-top: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--blue-deep);
  min-height: 1.6em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.subscribe-note.is-shown { opacity: 1; transform: none; }

/* ---------- footer ---------- */

.footer {
  position: relative;
  background: var(--cream);
  border-top: 1px solid var(--gold-faint);
  padding: clamp(70px, 8vw, 110px) 0 0;
  overflow: hidden;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: clamp(60px, 7vw, 90px);
  z-index: 2;
}

.footer-logo { width: 190px; margin-bottom: 22px; }
.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--blue-deep);
  line-height: 1.7;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 400;
}
.footer-col a {
  font-size: 15px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.footer-col a:hover { color: var(--blue-deep); border-color: var(--gold-soft); }

.footer-legal {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  padding-block: 26px 30px;
  border-top: 1px solid var(--gold-faint);
  font-size: 12.5px;
  opacity: 0.75;
  z-index: 2;
}
.footer-tag { letter-spacing: 0.18em; }

.footer-watermark {
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 92vw);
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- responsive nav ---------- */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn--ghost { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, [data-enter], [data-split] .wi { opacity: 1 !important; transform: none !important; }
  .loader { display: none; }
  .marquee-track { animation: none; }
}
