/* the site's own fonts (free OFL licence, see assets/fonts/OFL-LICENSE.txt) — served from joyinvitation.com, no Google round-trip */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/great-vibes-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); }
/* stand-in fonts sized like the real ones, so text does not jump when the web fonts arrive */
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 96.2%; ascent-override: 95.6%; descent-override: 30.1%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("Times-Italic"); size-adjust: 89.3%; ascent-override: 103%; descent-override: 32.5%; line-gap-override: 0%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 95.7%; ascent-override: 111.8%; descent-override: 39.7%; line-gap-override: 0%; }
/* ==========================================================
   Wedding Studio — shared styles
   ========================================================== */
:root {
  --bg: #fefbf5;
  --bg-2: #fbf4e8;
  --bg-3: #f5ebd9;
  --bg-4: #ecdcbc;
  --emerald: #0f5a46;
  --emerald-deep: #08392c;
  --emerald-light: #2f8f6f;
  --gold-soft: #d8b46a;
  --accent: #9a6b1e;
  --accent-2: #b8862f;
  --gold: #c9973d;
  --gold-deep: #8a5d17;
  --heading: #2a1e12;
  --ink: #2a1e12;
  --text: #3d2f22;
  --muted: #7a6a58;
  --line: rgba(154, 107, 30, .22);
  --card: rgba(255, 255, 255, .62);
  --shadow: 0 30px 70px -30px rgba(110, 80, 30, .38);
  --serif: "Cormorant Garamond", "Cormorant Fallback", "Times New Roman", serif;
  --script: "Great Vibes", cursive;
  --sans: "Jost", "Jost Fallback", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .8, .22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: .74rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.display {
  font-family: var(--serif); font-weight: 500; line-height: .95;
  letter-spacing: -.01em; color: var(--heading);
}
.display em { font-style: italic; font-weight: 400; color: var(--accent-2); }
.script { font-family: var(--script); font-weight: 400; color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 46ch; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin: .3em 0 .25em; }
.section-head .lead { margin: 0 auto; }
.gold-text {
  background: linear-gradient(100deg, #b8862f 0%, #e3bd6a 30%, #fff1c9 50%, #a8761f 70%, #c9973d 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 999px; font-size: .9rem; letter-spacing: .06em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #f6dfa6, #d4a548 50%, #a8761f);
  color: var(--ink); font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(217, 164, 111, .7);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(217, 164, 111, .8); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(201,151,61, .08); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.site-header.scrolled { background: rgba(251, 245, 234, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: .55em; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--heading); letter-spacing: .01em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: .84rem; letter-spacing: .08em; }
.nav-links a { position: relative; color: var(--muted); transition: color .3s; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--heading); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .7em 1.3em; font-size: .8rem; flex: none; }   /* never squeezed (its words stay whole) */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .8s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); }
.mobile-menu a { font-family: var(--serif); font-size: 2.4rem; color: var(--heading); border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu .btn { margin-top: 24px; font-family: var(--sans); font-size: 1rem; border: 0; }

@media (max-width: 1120px) {   /* the full menu needs room; smaller screens get the menu button */
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Ambient petals ---------- */
#petals { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ==========================================================
   EDITION SWITCH (Traditional | Modern)
   ========================================================== */
.ed-switch { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); box-shadow: inset 0 1px 3px rgba(110,80,30,.12); flex: none; }
.ed-switch button { position: relative; z-index: 1; padding: .5em 1.1em; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-radius: 999px; transition: color .4s; white-space: nowrap; }
.ed-switch button[aria-pressed="true"] { color: #fdf6e6; }
.ed-switch i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(135deg, var(--emerald-light), var(--emerald)); box-shadow: 0 4px 12px -4px rgba(15,90,70,.6), inset 0 0 0 1px rgba(233,196,106,.6); transition: transform .5s var(--ease); }
[data-edition="modern"] .ed-switch i { transform: translateX(100%); }
.mobile-menu .ed-switch { margin: 0 auto 18px; }
@media (max-width: 900px) { .nav .ed-switch button { padding: .45em .8em; font-size: .64rem; letter-spacing: .08em; } }

/* ==========================================================
   ROTATING HEADLINES — words rise in, one line at a time
   ========================================================== */
.rot { display: grid; }
.rot-line { grid-area: 1 / 1; pointer-events: none; }
.rot-line.on { pointer-events: auto; }
.rot-line .w { display: inline-block; padding-bottom: .08em; }
.rot-line .w > span { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(8px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(.4s + var(--i) * 75ms); }
.rot-line.on .w > span { opacity: 1; transform: none; filter: none; }
.rot-line.off .w > span { opacity: 0; transform: translateY(-.35em); filter: blur(6px); transition-duration: .45s; transition-delay: calc(var(--i) * 30ms); }

/* ==========================================================
   HOME — the pop-up storybook (sticky stage)
   ========================================================== */
.story { position: relative; height: 900vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; transition: opacity .38s, filter .38s; }
.stage.switching { opacity: 0; filter: blur(6px); }
.stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 70% 55%, rgba(240,214,150, .32), transparent 70%),
    radial-gradient(45% 55% at 8% 95%, rgba(15,90,70, .08), transparent 70%),
    radial-gradient(40% 50% at 95% 5%, rgba(15,90,70, .05), transparent 70%),
    linear-gradient(180deg, #fffdf8, #faf3e6);
}
.stage-bg::after { /* fine grain */
  content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* the book */
.book-stage { position: absolute; inset: 0; perspective: 2400px; perspective-origin: 50% 35%; z-index: 2; }
.book { position: absolute; left: 0; top: 0; width: 1000px; height: 640px; transform-style: preserve-3d; will-change: transform; }
.book-board { position: absolute; left: -14px; right: -14px; top: -14px; bottom: -14px; border-radius: 10px; transform: translateZ(-8px);
  background: linear-gradient(160deg, #1d6e55, #0a3d30); box-shadow: 0 40px 70px -20px rgba(60,40,10,.45), inset 0 0 0 3px rgba(233,196,106,.5); opacity: 0; transition: opacity .3s; }
.book.is-open .book-board { opacity: 1; }
.page { position: absolute; top: 0; width: 500px; height: 640px; background: linear-gradient(90deg, #fbf3e3, #fffdf7 40%); }
.page-left { left: 0; background: linear-gradient(270deg, #e9dcc0 0%, #fbf3e3 8%, #fffdf7 50%); box-shadow: inset 0 0 0 1px rgba(201,151,61,.35); opacity: 0; transition: opacity .3s; }
.book.is-open .page-left { opacity: 1; }
.page-right { left: 500px; background: linear-gradient(90deg, #e9dcc0 0%, #fbf3e3 8%, #fffdf7 50%);
  box-shadow: inset 0 0 0 1px rgba(201,151,61,.35), 3px 3px 0 #efe3c9, 6px 6px 0 #e7d6b4, 9px 9px 0 #ddc79c; }
.page::after { content: ""; position: absolute; inset: 22px; border: 1.5px solid rgba(201,151,61,.45); border-radius: 4px; }
.spread { position: absolute; inset: 0; transform-style: preserve-3d; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.pl { position: absolute; transform-origin: 50% 100%; will-change: transform, opacity; filter: drop-shadow(0 6px 8px rgba(90,60,15,.22)); }
.pl svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pl.floor { filter: none; }
.pv { background: radial-gradient(circle at 50% 40%, #fffaf0, #efdfc2); filter: none; }
.pv video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.pv.clickable { cursor: pointer; }

.leaf, .cover { position: absolute; top: 0; left: 500px; width: 500px; height: 640px; transform-style: preserve-3d; transform-origin: 0 50%; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { transform: rotateY(180deg); }
.leaf .face { background: linear-gradient(90deg, #e9dcc0 0%, #fbf3e3 8%, #fffdf7 50%); box-shadow: inset 0 0 0 1px rgba(201,151,61,.35); }
.leaf .face::after { content: ""; position: absolute; inset: 22px; border: 1.5px solid rgba(201,151,61,.45); border-radius: 4px; }
.leaf .face.back { background: linear-gradient(270deg, #e9dcc0 0%, #fbf3e3 8%, #fffdf7 50%); }
.cover { top: -10px; height: 660px; width: 512px; }
.cover .face { border-radius: 4px 12px 12px 4px; }
.cover .face.back { background: linear-gradient(270deg, #e3d4b4, #fbf3e3 10%, #fffdf7); box-shadow: inset 0 0 0 8px #0f5a46, inset 0 0 0 10px #d4a548; border-radius: 12px 4px 4px 12px; }
.cover-front {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px),
    radial-gradient(80% 60% at 30% 20%, rgba(95,174,142,.45), transparent 60%),
    linear-gradient(160deg, #1d7259, #0f5a46 45%, #082f24);
  box-shadow: inset 6px 0 14px rgba(0,0,0,.35), inset -2px 0 0 rgba(233,196,106,.4), 0 30px 60px -20px rgba(40,25,5,.55);
}
.cover-frame { position: absolute; inset: 26px; border: 3px solid #d4a548; border-radius: 6px; box-shadow: inset 0 0 0 6px rgba(15,90,70,.0), inset 0 0 0 8px #e9c46a40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.cover-frame::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(233,196,106,.6); border-radius: 4px; }
.cover-orn { width: 210px; height: 210px; margin-bottom: 4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.cover-title { font-family: var(--script); font-size: 92px; line-height: 1; background: linear-gradient(100deg, #b8862f, #f6dc8c 35%, #fffaf0 50%, #e2b04a 65%, #a8761f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.cover-sub { font-family: var(--serif); font-size: 22px; letter-spacing: .22em; text-transform: uppercase; color: #f2d48a; }
.cover-small { font-size: 15px; letter-spacing: .4em; text-transform: uppercase; color: rgba(243,234,214,.7); margin-top: 6px; }

/* words around the book */
.copy { position: absolute; z-index: 5; will-change: transform, opacity; }
.hero-copy { left: var(--gutter); top: 50%; transform: translateY(calc(-50% + var(--dy, 0px))); max-width: min(560px, 46vw); }
.hero-copy h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); margin-top: 18px; }
.hero-script { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.2; margin-top: 4px; }
.hero-copy .lead { margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: .82rem; color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg-2); margin-left: -10px; display: grid; place-items: center; font-family: var(--serif); font-size: .9rem; color: var(--ink); background: linear-gradient(135deg, #f6dfa6, #c49335); }
.avatars span:first-child { margin-left: 0; }
.trust b { color: var(--heading); font-weight: 500; }
.stars { color: #c4912c; letter-spacing: .1em; }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 14px; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); z-index: 5; }
.scroll-cue i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.scroll-cue i::after { content: ""; width: 1px; height: 14px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

.scene-copy { left: 50%; top: clamp(78px, 11vh, 120px); width: min(900px, calc(100% - 2 * var(--gutter))); transform: translate(-50%, var(--dy, 0px)); text-align: center; opacity: 0; }
.scene-copy .eyebrow { justify-content: center; }
.scene-copy h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); margin: 10px 0 8px; }
.scene-copy .lead { margin: 0 auto; max-width: 60ch; font-size: clamp(.92rem, 1.1vw, 1.05rem); }

.trio-labels { position: absolute; inset: 0; pointer-events: none; z-index: 6; opacity: 0; }
.trio-label { position: absolute; text-align: center; transform: translateX(-50%); width: 260px; }
.trio-label h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 500; color: var(--heading); line-height: 1.1; }
.trio-label p { font-size: .78rem; color: var(--muted); }
.trio-label .stars { font-size: .8rem; }
.trio-label a { display: inline-block; margin-top: 4px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--emerald); border-bottom: 1px solid currentColor; }

.progress-rail { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 6; }
.progress-rail i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.progress-rail i.on { background: var(--emerald); transform: scale(1.5); }

@media (max-width: 760px) {
  .hero-copy { top: auto; bottom: 6vh; transform: translateY(var(--dy, 0px)); max-width: none; right: var(--gutter); text-align: center; }
  .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); margin-top: 0; }
  .hero-copy .eyebrow { display: none; }
  .hero-script { font-size: 1.5rem; }
  .hero-copy .lead { margin: 8px auto 14px; font-size: .88rem; }
  .hero-actions { justify-content: center; }
  .hero-copy .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-copy .btn { padding: .85em 1.15em; font-size: .82rem; }
  .trust { justify-content: center; margin-top: 14px; }
  .scroll-cue { display: none; }
  .scene-copy h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .scene-copy .lead { font-size: .85rem; }
  .trio-label { width: 31vw; }
  .trio-label h3 { font-size: 1rem; }
  .trio-label p { display: none; }
  .trio-label a { font-size: .58rem; letter-spacing: .08em; }
  .progress-rail { right: 8px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .hero-copy .trust, .hero-script { display: none; }
  .hero-copy { bottom: 4vh; }
}

/* ---------- Stats band ---------- */
.stats { --heading: #fdf6e6; --text: #f3ead6; --muted: rgba(243,234,214,.72); --accent: #e9c46a; --accent-2: #f2d48a; --line: rgba(233,196,106,.28); --card: rgba(255,255,255,.06); border-top: 2px solid #d4a548; border-bottom: 2px solid #d4a548; background: radial-gradient(60% 120% at 50% 0%, rgba(47,143,111,.45), transparent 70%), linear-gradient(180deg, var(--emerald), var(--emerald-deep)); }
.stats .num span { background: linear-gradient(100deg, #f6dc8c, #fffaf0 45%, #e2b04a 70%, #f6dc8c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 54px) 12px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; color: var(--heading); }
.stat .num small { font-size: .5em; color: var(--accent); margin-left: 2px; }
.stat p { color: var(--muted); font-size: .82rem; margin-top: 8px; letter-spacing: .04em; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Name preview ---------- */
.try-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.try-form { display: grid; gap: 16px; margin-top: 28px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 18px 18px 10px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.7); outline: none; transition: border-color .3s, background .3s; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 24px; }
.field select { padding: 14px 18px; appearance: none; }
.field label { position: absolute; left: 18px; top: 15px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field input[type="date"] + label { top: 5px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-wrap { display: grid; place-items: center; perspective: 1200px; }
.phone {
  width: min(320px, 78vw); height: calc((min(320px, 78vw) - 24px) * 16 / 9 + 24px); border-radius: 44px; padding: 12px;   /* the screen is exactly 9:16, like the invitation */
  background: linear-gradient(145deg, #f0d896, #b88a3a 55%, #e6c47c); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotateY(-12deg) rotateX(4deg); transition: transform 1s var(--ease); position: relative;
}
.phone:hover { transform: rotateY(0) rotateX(0); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; background: #f6efe4; }
.try-veil { position: absolute; inset: 0; z-index: 2; background: #f6efe4; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.try-veil.on { opacity: 1; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.overlay-names { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #6b3a1f; z-index: 2; background: radial-gradient(ellipse 62% 30% at 50% 50%, rgba(255,250,242,.95), rgba(255,250,242,.75) 55%, transparent 100%); }
.overlay-names .on-names { font-family: var(--script); font-size: clamp(2rem, 9vw, 2.9rem); line-height: 1.1; color: #8a5326; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.overlay-names .on-amp { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #a8683f; }
.overlay-names .on-date { margin-top: 10px; font-family: var(--serif); letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: #7a4a2a; }
.overlay-names .on-small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: #a8683f; margin-bottom: 6px; }
.overlay-names > * { opacity: 0; transform: translateY(10px); animation: nameIn 1s var(--ease) forwards; }
@keyframes nameIn { to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .try-grid { grid-template-columns: 1fr; } .phone { transform: none; } }

/* ---------- Library: framed designs float above an open book ---------- */
.library { overflow: hidden; }
[data-edition="traditional"] .library { background: url("../film/bg.webp") center / cover no-repeat; }
.carousel { position: relative; height: clamp(560px, 50vw, 680px); max-width: 1500px; margin: 0 auto; perspective: 1600px; }
.carousel-cards { position: absolute; inset: 0; transform-style: preserve-3d; }
.ccard { position: absolute; left: 0; top: 0; aspect-ratio: 9 / 16; transform-origin: 50% 100%; will-change: transform, opacity; cursor: pointer; filter: drop-shadow(0 18px 22px rgba(90,60,15,.3)); transition: filter .4s; }
.ccard.centre { filter: drop-shadow(0 26px 30px rgba(90,60,15,.4)) drop-shadow(0 0 22px rgba(246,220,140,.55)); }
.ccard-video { position: absolute; left: 12%; right: 12%; top: 6%; bottom: 6%; overflow: hidden; background: #efe2c6; border-radius: 4px; }
.ccard-video video, .ccard-video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ccard-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.carousel-book { position: absolute; left: 50%; bottom: 0; width: min(920px, 90%); transform: translateX(-50%); z-index: 200; pointer-events: none; }
.book-mod { width: min(560px, 90%); display: none; filter: drop-shadow(0 24px 30px rgba(90,60,15,.3)); }
.carousel-glow { position: absolute; left: 50%; bottom: 8%; width: 70%; height: 60%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 100%, rgba(255,240,200,.75), transparent 70%); pointer-events: none; }
.carousel-caption { position: absolute; left: 50%; bottom: 3%; transform: translate(-50%, 8px); z-index: 210; text-align: center; padding: 8px 18px 10px; border-radius: 16px; background: rgba(255,250,240,.9); border: 1px solid rgba(201,151,61,.35); box-shadow: 0 10px 24px -14px rgba(90,60,15,.5); opacity: 0; transition: opacity .4s, transform .4s; white-space: nowrap; }
.carousel-caption.show { opacity: 1; transform: translate(-50%, 0); }
.carousel-caption b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--heading); }
.carousel-caption span { font-size: .78rem; color: var(--muted); }
.car-btn { position: absolute; top: 42%; z-index: 220; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,250,240,.9); border: 1px solid rgba(201,151,61,.45); font-size: 1.8rem; line-height: 1; color: var(--accent); box-shadow: 0 8px 20px -10px rgba(90,60,15,.5); transition: transform .3s; }
.car-btn:hover { transform: scale(1.08); }
.car-prev { left: max(10px, 3%); } .car-next { right: max(10px, 3%); }
@media (max-width: 700px) { .carousel { height: 470px; } .book-trad { width: 115%; } .car-btn { width: 40px; height: 40px; top: 38%; } .carousel-caption b { font-size: 1.1rem; } }
.vcard { position: relative; flex: none; width: clamp(200px, 20vw, 260px); border-radius: 22px; overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow); transition: transform .6s var(--ease), box-shadow .6s; cursor: pointer; isolation: isolate; }
.vcard:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 40px 80px -30px rgba(110,75,20,.5), 0 0 0 1px rgba(201,151,61,.4); }
.vcard-media { aspect-ratio: 9 / 15; position: relative; overflow: hidden; }
.vcard-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard-media video { transform: scale(1.06); }
.vcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(35,22,10,.88)); }
.vcard .badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(35,22,10,.5); backdrop-filter: blur(6px); border: 1px solid rgba(246,223,166,.55); color: #f6dfa6; }
.vcard-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2; }
.vcard-info h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: #fffaf0; line-height: 1.1; }
.vcard-meta { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: rgba(255,245,225,.82); margin-top: 6px; gap: 8px; }
.vcard-meta .price { white-space: nowrap; color: #f6dfa6; font-weight: 500; font-size: .9rem; }
.vcard .play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.vcard .play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }
.library-foot { text-align: center; margin-top: 30px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 32px 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(201,151,61,.45); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(176,127,44,.35); position: absolute; right: 18px; top: 10px; }
.step .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(15,90,70,.14), rgba(15,90,70,.04)); color: var(--emerald); margin-bottom: 22px; }
.step .ico svg { width: 22px; height: 22px; }
.step h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--heading); }
.step p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Packages ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 26px; align-items: stretch; }
.plan-actions { display: grid; gap: 10px; justify-items: center; }
.plan-mail { font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.plan-mail:hover { color: var(--emerald); }
.plan { position: relative; padding: 38px 32px 34px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(170deg, rgba(201,151,61,.16), rgba(246,230,195,.7) 60%, rgba(255,250,240,.7)); border-color: rgba(201,151,61,.55); transform: translateY(-14px); }
.plan.featured:hover { transform: translateY(-20px); }
.plan .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 16px; border-radius: 999px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(135deg, var(--emerald-light), var(--emerald)); color: #f6dc8c; border: 1px solid #d4a548; white-space: nowrap; }
.plan h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--heading); }
.plan .tag { color: var(--muted); font-size: .88rem; }
.plan .cost { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.plan .cost b { font-family: var(--serif); font-size: 3.2rem; font-weight: 500; color: var(--heading); line-height: 1; }
.plan .cost s { color: var(--muted); font-size: .95rem; }
.plan .save { font-size: .74rem; color: var(--accent); letter-spacing: .08em; }
.plan ul { list-style: none; margin: 24px 0 30px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .9rem; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--emerald); margin-top: 3px; }
.plan .btn { width: 100%; }
@media (max-width: 700px) { .plan.featured, .plan.featured:hover { transform: none; } }

/* ---------- Reviews ---------- */
.rcard { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); break-inside: avoid; margin-bottom: 20px; }
.rcard .stars { font-size: .9rem; }
.rcard blockquote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--heading); margin: 12px 0 18px; }
.rcard .who { display: flex; align-items: center; gap: 12px; }
.rcard .who span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); background: linear-gradient(135deg, #f6dfa6, #c49335); flex: none; }
.rcard .who b { display: block; font-weight: 500; font-size: .92rem; }
.rcard .who small { color: var(--muted); font-size: .76rem; }
.review-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.review-row .rcard { flex: none; width: min(380px, 84vw); scroll-snap-align: start; margin: 0; }

/* ---------- CTA ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(70px, 10vw, 130px) var(--gutter); border-radius: 36px; overflow: hidden; --heading: #fdf6e6; --text: #f3ead6; --muted: rgba(243,234,214,.72); --accent: #e9c46a; --accent-2: #f2d48a; --line: rgba(233,196,106,.28); --card: rgba(255,255,255,.06); background: radial-gradient(70% 90% at 50% 0%, rgba(233,196,106,.22), transparent 70%), linear-gradient(160deg, var(--emerald), var(--emerald-deep)); border: 2px solid #d4a548; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin: 14px 0; }
.cta-band .lead { margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { --heading: #fdf6e6; --text: #f3ead6; --muted: rgba(243,234,214,.72); --accent: #e9c46a; --accent-2: #f2d48a; --line: rgba(233,196,106,.28); --card: rgba(255,255,255,.06); border-top: 3px solid #d4a548; padding: 80px 0 30px; color: var(--text); background: radial-gradient(60% 80% at 50% 0%, rgba(47,143,111,.35), transparent 70%), linear-gradient(180deg, var(--emerald), var(--emerald-deep)); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.footer-grid ul a:hover { color: var(--heading); }
.footer-about p { color: var(--muted); font-size: .92rem; margin: 16px 0 22px; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .3s, background .3s; }
.socials a:hover { border-color: var(--accent); background: rgba(201,151,61,.1); }
.socials svg { width: 17px; height: 17px; }
.footer-big { font-family: var(--serif); font-size: clamp(2.2rem, 8.2vw, 8.6rem); line-height: .9; text-align: center; margin: 60px 0 30px; color: transparent; -webkit-text-stroke: 1px rgba(233,196,106,.3); white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page-hero { padding: 150px 0 50px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin: 14px 0 12px; }
.page-hero .lead { margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero::before { content: none; }   /* clean page tops: no colour glow behind the title */

.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.chip { padding: .6em 1.2em; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--heading); border-color: rgba(201,151,61,.5); }
.chip.on { background: linear-gradient(135deg, #f6dfa6, #d4a548); color: var(--ink); border-color: transparent; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 26px 0 30px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.toolbar select { padding: .6em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.grid-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.grid-designs .vcard { width: auto; }
.grid-designs .vcard.hidden { display: none; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(45,32,14,.55); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, .85fr) 1fr; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-media { background: #000; position: relative; min-height: 420px; }
.modal-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal-body { padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.modal-body h2 { font-family: var(--serif); font-size: 2.8rem; font-weight: 500; line-height: 1; color: var(--heading); }
.modal-body .price { font-family: var(--serif); font-size: 2rem; color: var(--accent-2); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 1.3rem; z-index: 3; }
.modal-incl { list-style: none; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.modal-incl li::before { content: "✦ "; color: var(--accent); }
.sound-btn { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: .5em 1em; border-radius: 999px; background: rgba(35,22,10,.6); color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: .76rem; }
@media (max-width: 760px) { .modal-box { grid-template-columns: 1fr; } .modal-media { min-height: 0; aspect-ratio: 9/12; } .modal-body { padding: 26px 22px; } .modal-body h2 { font-size: 2.2rem; } }

/* reviews page */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding: 40px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); max-width: 860px; margin: 0 auto 50px; }
.big-score { text-align: center; }
.big-score b { font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--heading); font-weight: 500; display: block; }
.big-score small { color: var(--muted); }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 30px 1fr 50px; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); }
.bar i { height: 8px; border-radius: 99px; background: rgba(154,107,30,.12); overflow: hidden; display: block; }
.bar i em { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #c9973d, #f0d38a); transition: width 1.4s var(--ease); }
.masonry { columns: 3 320px; column-gap: 20px; }
@media (max-width: 600px) { .rating-summary { grid-template-columns: 1fr; padding: 28px; } }

/* faq */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-search { position: relative; margin-bottom: 26px; }
.faq-search input { width: 100%; padding: 18px 22px 18px 54px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.75); outline: none; font-size: 1rem; }
.faq-search input:focus { border-color: var(--accent); }
.faq-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item.hidden { display: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--heading); }
.faq-q i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item.open .faq-q i { background: rgba(201,151,61,.12); transform: rotate(180deg); }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 4px 26px; max-width: 70ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-cat { margin: 40px 0 6px; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.faq-cat.hidden { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-card { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; margin-bottom: 16px; transition: border-color .3s; }
.contact-card:hover { border-color: rgba(201,151,61,.5); }
.contact-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(201,151,61,.12); color: var(--accent-2); flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-weight: 500; color: var(--heading); }
.contact-card small { color: var(--muted); }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

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

/* designs toolbar + contact brief */
.toolbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.check input { accent-color: var(--emerald); width: 16px; height: 16px; }
.form-title { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--heading); }
.form-note { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; }

@media (max-width: 520px) {
  .logo { font-size: 1.15rem; white-space: nowrap; gap: .4em; }
  .logo-mark { width: 24px; height: 24px; }
  .nav { gap: 10px; }
}

/* ==========================================================
   HOME — Traditional scroll film (film.js)
   ========================================================== */
.stage[data-mode="film"] .stage-bg { background: url("../film/bg.webp") center / cover no-repeat, #fbf3e4; }
.stage[data-mode="film"] .stage-bg::after { display: none; }
.film { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.film-box { position: absolute; left: 0; top: 0; width: 1000px; height: 562.5px; transform-origin: 0 0; will-change: transform; pointer-events: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 11%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 11%, #000 97%, transparent 100%); mask-composite: intersect; }
.fl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fl-single, .fl-three { opacity: 0; }
.fw { position: absolute; overflow: hidden; opacity: 0; background: #12606a; border-radius: 14% 14% 2% 2% / 7% 7% 1% 1%; box-shadow: inset 0 0 18px rgba(0,0,0,.35); }
.fw video, .fw img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.fw-three { border-radius: 12% 12% 2% 2% / 7% 7% 1% 1%; }
.fw.clickable { cursor: pointer; }
.stage[data-mode="film"] .trio-label { background: rgba(255,250,240,.88); padding: 8px 14px 10px; border-radius: 16px; box-shadow: 0 10px 24px -14px rgba(90,60,15,.5); border: 1px solid rgba(201,151,61,.35); width: auto; min-width: 190px; }
@media (max-width: 760px) { .stage[data-mode="film"] .trio-label { min-width: 0; padding: 4px 7px 5px; border-radius: 10px; } .stage[data-mode="film"] .trio-label h3 { font-size: .8rem; white-space: nowrap; } .stage[data-mode="film"] .trio-label a { font-size: .5rem; margin-top: 1px; white-space: nowrap; } }

/* film: palace text as a tall column on the left; pavilion heading kept short */
.scene-copy.side { left: var(--gutter); top: 50%; transform: translateY(calc(-50% + var(--dy, 0px))); text-align: left; }
.scene-copy.side .eyebrow { justify-content: flex-start; }
.scene-copy.side h2 { font-size: clamp(2.8rem, 4.8vw, 5.6rem); line-height: 1.02; margin: 18px 0 20px; }
.scene-copy.side .lead { margin: 0; max-width: 34ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.scene-copy .scene-actions { display: none; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.scene-copy.side .scene-actions { display: flex; }
.scene-copy.compact { top: clamp(70px, 8vh, 96px); }
.scene-copy.compact h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin: 6px 0 0; }
.scene-copy.compact .lead { display: none; }

.logo { white-space: nowrap; }

/* ==========================================================
   MODERN EDITION — white paper, deep plum and gold (modern.js)
   ========================================================== */
[data-edition="modern"] {
  --bg: #fcfbfa; --bg-2: #f7f3f2; --bg-3: #efe7e8; --bg-4: #e4d6da;
  --heading: #3f1533; --ink: #3f1533; --text: #3b2b35; --muted: #7b6a73;
  --accent: #7d3a66; --accent-2: #8f4a74;
  --emerald: #5a1f45; --emerald-deep: #3a1230; --emerald-light: #7d3a66;
  --line: rgba(125, 58, 102, .18);
}
[data-edition="modern"] body { background: var(--bg); }
[data-edition="modern"] .btn-primary { background: linear-gradient(135deg, #7d3a66, #5a1f45); color: #fff; box-shadow: 0 10px 26px -12px rgba(90, 31, 69, .7); }
[data-edition="modern"] .display em { color: #9c6a2e; }
[data-edition="modern"] .library { background: linear-gradient(180deg, #fcfbfa, #f6f0f1); }
body.switching main { opacity: .2; }
main { transition: opacity .3s; }

/* hero: the heart <-> rose loop */
.mhero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #fbfbfb; }
.mhero[hidden], .mstory[hidden], .story[hidden] { display: none; }
.mhero-film { position: absolute; inset: 0; }
.mhero-film img, .mhero-film canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.mf-canvas { opacity: 0; transition: opacity .25s; }
.mhero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(252,251,250,.96) 0%, rgba(252,251,250,.85) 30%, rgba(252,251,250,0) 55%); }
.mhero-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(600px, 46vw); }
.mhero-copy h1 { font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: 1; margin: 16px 0 18px; min-height: 2em; }   /* room for the changing headline, so nothing jumps */
.mhero-copy .lead { margin-bottom: 26px; max-width: 44ch; }
.mhero-note { margin-top: 18px; font-size: .86rem; color: var(--muted); letter-spacing: .02em; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: .84rem; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.mhero-preview { position: absolute; z-index: 3; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 16px; text-align: left; background: none; }
.mhero-preview .vf { width: clamp(78px, 7vw, 108px); }
.mhero-preview-text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; color: var(--heading); max-width: 11ch; }
.mhero-preview-text small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mhero-cue { left: auto; right: var(--gutter); }

/* the framed vertical video (frame, video in its window, flowers on top) */
.vf { position: relative; display: block; aspect-ratio: 1055 / 1658; filter: drop-shadow(0 18px 28px rgba(63, 21, 51, .22)); }
.vf-win { position: absolute; left: 13.4%; top: 10.1%; width: 73.3%; height: 81.2%; overflow: hidden; background: #f3eeee; }
.vf-win video, .vf-win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.vf-win video.on, .vf-win img.on, .mhero-preview .vf-win img { opacity: 1; }
.vf-frame, .vf-flowers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* scene film: one swipe per scene */
.mstory { position: relative; }
.mstage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #fbfbfb; }
.ms-film { position: absolute;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 100%); mask-composite: intersect; }
.ms-stills img, .ms-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ms-canvas { opacity: 0; }
.ms-copy { position: absolute; z-index: 3; left: var(--gutter); top: clamp(84px, 11vh, 120px); width: min(560px, 42vw); transition: opacity .3s; }
.ms-copy h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1.02; margin: 12px 0 10px; }
.ms-copy .lead { margin-bottom: 20px; font-size: clamp(.95rem, 1.1vw, 1.08rem); max-width: 42ch; }
.ms-vertical { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translate(30px, -46%); opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); text-align: center; }
.ms-vertical.show { opacity: 1; transform: translate(0, -46%); }
.ms-vertical .eyebrow { justify-content: center; margin-bottom: 10px; font-size: .66rem; }
.ms-vertical .eyebrow::before { display: none; }
.ms-tabs { position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9rem; color: var(--muted); }
.ms-tabs span { opacity: .5; }
.ms-tabs button { color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.ms-tabs button.on { color: var(--heading); border-color: var(--accent); }
.ms-hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 24px; display: flex; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
.ms-hint i { width: 1px; height: 26px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }

@media (max-width: 760px) {
  .mhero::after { background: linear-gradient(180deg, rgba(252,251,250,0) 30%, rgba(252,251,250,.92) 58%, rgba(252,251,250,.98)); }
  .mhero-film img, .mhero-film canvas { object-position: 62% 30%; height: 62%; }
  .mhero-copy { top: auto; bottom: 120px; transform: none; width: auto; right: var(--gutter); text-align: center; }
  .mhero-copy .eyebrow { justify-content: center; font-size: .62rem; }
  .mhero-copy h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); margin: 8px 0 10px; }
  .mhero-copy .lead { font-size: .9rem; margin: 0 auto 16px; }
  .mhero-copy .hero-actions { justify-content: center; flex-wrap: nowrap; gap: 8px; }
  .mhero-copy .btn { padding: .85em 1.05em; font-size: .8rem; }
  .mhero-note { display: none; }
  .mhero-preview { left: 50%; transform: translateX(-50%); bottom: 18px; }
  .mhero-preview .vf { width: 58px; }
  .mhero-preview-text { font-size: 1rem; }
  .mhero-cue { display: none; }
  .ms-copy { top: 76px; width: auto; right: var(--gutter); text-align: center; }
  .ms-copy .eyebrow { justify-content: center; }
  .ms-copy h2 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .ms-copy .lead { font-size: .86rem; margin: 0 auto 12px; }
  .ms-copy .btn { padding: .7em 1.2em; font-size: .8rem; }
  .ms-vertical { width: 30vw !important; top: auto; bottom: 64px; transform: translate(20px, 0); }
  .ms-vertical.show { transform: none; }
  .ms-vertical .eyebrow { display: none; }
  .ms-tabs { bottom: 14px; right: var(--gutter); flex-wrap: nowrap; overflow-x: auto; font-size: .78rem; scrollbar-width: none; }
  .ms-hint { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) { .mhero-copy .lead { display: none; } }

/* library cards: Modern uses the rose frame (its window sits where .vf-win does) */
[data-edition="modern"] .ccard { aspect-ratio: 1055 / 1658; }
[data-edition="modern"] .ccard-video { inset: auto; left: 13.4%; top: 10.1%; width: 73.3%; height: 81.2%; border-radius: 0; box-shadow: none; }
[data-edition="modern"] .ccard-frame { display: block; }

@media (max-height: 820px) and (min-width: 761px) { .mhero-note { display: none; } .mhero-copy { transform: translateY(-54%); } }
@media (max-width: 1180px) and (min-width: 901px) { .nav-cta { display: none; } }
.ms-copy::before { content: ''; position: absolute; inset: -50px -70px -40px -60px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(251,251,251,.94), rgba(251,251,251,.75) 55%, rgba(251,251,251,0)); }
.ms-tabs button { white-space: nowrap; }

.vcard-media img, .phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard:hover .vcard-media img { transform: scale(1.06); }
.vcard-media img { transition: transform 1.2s var(--ease); }

/* ---- Modern hero v2: the heart loop shown at a size where it stays sharp ---- */
.mhero-film { inset: auto; right: var(--gutter); top: 54%; width: min(56vw, 980px); aspect-ratio: 16 / 9; transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }
.mhero-film img, .mhero-film canvas { object-fit: cover; object-position: 50% 50%; }
.mhero::after { display: none; }
.mhero-copy { width: min(560px, 40vw); top: 54%; transform: translateY(-50%); }
.mhero-copy h1 { font-size: clamp(2.8rem, 5.2vw, 5.6rem); }
.mhero-preview { position: static; margin-top: 26px; gap: 18px; }
.mhero-preview .vf { width: clamp(110px, 9vw, 140px); }
.mhero-preview-text { font-size: 1.35rem; }
@media (max-height: 820px) and (min-width: 761px) { .mhero-copy { transform: translateY(-50%); } .mhero-preview .vf { width: 96px; } .mhero-copy h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); } }
@media (max-height: 700px) and (min-width: 761px) { .mhero-preview { display: none; } }
@media (max-width: 760px) {
  .mhero-film { right: 0; left: 0; top: 64px; width: 100%; transform: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .mhero-film img, .mhero-film canvas { height: 100%; }
  .mhero-copy { top: auto; bottom: 24px; transform: none; width: auto; }
  .mhero-preview { justify-content: center; margin-top: 16px; }
  .mhero-preview .vf { width: 70px; }
}
/* the framed invitation beside the scenes: bigger label spacing */
.ms-vertical .eyebrow { margin-bottom: 14px; }
.mstage.waiting .ms-hint span::after { content: " · loading"; }
@media (max-width: 760px) { .ms-vertical { width: 42vw !important; bottom: 56px; } }

/* ---- watch popup: the invitation plays in a tall vertical frame ---- */
.modal-box { grid-template-columns: auto minmax(0, 1fr); width: min(1060px, 100%); }
.modal-media { min-height: 0; height: min(84vh, 760px); aspect-ratio: 9 / 16; }
.modal-media video { object-fit: cover; }
@media (max-width: 760px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-media { height: auto; width: min(100%, 58vh * 9 / 16); justify-self: center; margin-top: 12px; border-radius: 16px; overflow: hidden; }
}
@media (min-width: 761px) { .mhero { background: #fafafa; } .mhero-film { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; } }
.ms-copy::before { inset: -70px -90px -50px -80px; background: radial-gradient(closest-side, rgba(251,251,251,.97), rgba(251,251,251,.9) 62%, rgba(251,251,251,0)); }
.ms-copy .lead { color: var(--text); }
.ms-tabs { background: rgba(251,251,251,.88); padding: 6px 16px; border-radius: 999px; left: calc(var(--gutter) - 16px); box-shadow: 0 6px 20px -12px rgba(63,21,51,.3); }
@media (max-width: 760px) { .mhero-preview { transform: none; left: auto; bottom: auto; margin-left: auto; margin-right: auto; } }

/* ==========================================================
   MODERN — two auto-playing scene sections (modern.js)
   ========================================================== */
.mscenes[hidden] { display: none; }
.mscene { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: #fbfbfb;
  --cardH: min(83vh, 840px); --cardW: calc(var(--cardH) * .636); }
.mscene + .mscene { border-top: 1px solid var(--line); }
.msc-film { position: absolute; left: 0; top: 70px; bottom: 120px; right: calc(var(--cardW) + 6vw);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 96%, transparent 100%); mask-composite: intersect; }
.msc-stills img, .msc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 70% 100%; display: block; }
.msc-canvas { opacity: 0; }
.msc-copy { position: absolute; z-index: 3; left: var(--gutter); top: clamp(80px, 10vh, 116px); width: min(620px, 44vw); }
.msc-copy::before { content: ""; position: absolute; inset: -70px -90px -50px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(251,251,251,.94), rgba(251,251,251,.78) 58%, rgba(251,251,251,0)); }
.msc-copy h2 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1.02; margin: 12px 0 10px; }
.msc-copy .lead { color: var(--text); margin-bottom: 20px; max-width: 46ch; font-size: clamp(.95rem, 1.05vw, 1.06rem); }
.msc-thumbs { position: absolute; z-index: 3; left: var(--gutter); bottom: 18px; display: flex; gap: 14px; }
.msc-thumbs button { width: 86px; text-align: center; font-size: .7rem; color: var(--muted); }
.msc-thumbs img { display: block; width: 86px; height: 86px; border-radius: 14px; object-fit: cover; border: 2px solid transparent;
  box-shadow: 0 8px 18px -10px rgba(63,21,51,.45); transition: border-color .3s, transform .3s; }
.msc-thumbs button:hover img { transform: translateY(-3px); }
.msc-thumbs button.on img { border-color: var(--accent); }
.msc-thumbs button.on span { color: var(--heading); }
.msc-thumbs span { display: block; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msc-thumbs i { display: block; height: 2px; margin-top: 4px; border-radius: 2px;
  background: linear-gradient(var(--accent), var(--accent)) left / calc(var(--p, 0) * 100%) 100% no-repeat, var(--line); }
.msc-vertical { position: absolute; z-index: 3; right: 6vw; top: 50%; transform: translateY(-46%); width: var(--cardW); text-align: center; }
.msc-vertical .eyebrow { justify-content: center; margin-bottom: 12px; font-size: .66rem; }
.msc-vertical .eyebrow::before { display: none; }
.msc-vertical .vf-win video { opacity: 1; }
/* the scene pictures keep their couple on the left of the frame: slide the film right so the story clears the words
   (its empty right side tucks under the framed video) */
@media (min-width: 761px) {
  .msc-film { transform: translateX(var(--shift)); --shift: clamp(0px, 10vw - 50px, 160px); }
  /* every second section is the mirror image: the scene comes from the right, words right, framed video left */
  .mscene.flip .msc-film { left: calc(var(--cardW) + 6vw); right: 0; transform: translateX(calc(-1 * var(--shift))) scaleX(-1); --shift: clamp(0px, 48vw - 300px, 470px); }
  .mscene.flip .msc-copy { left: auto; right: var(--gutter); text-align: right; }
  .mscene.flip .msc-copy .eyebrow { justify-content: flex-end; flex-direction: row-reverse; }
  .mscene.flip .msc-copy .lead { margin-left: auto; }
  .mscene.flip .msc-thumbs { left: auto; right: var(--gutter); }
  .mscene.flip .msc-vertical { right: auto; left: 6vw; }
}
@media (max-width: 760px) {
  .mscene.flip .msc-film { transform: scaleX(-1); }
  .mscene { height: auto; min-height: 0; max-height: none; padding: 80px 0 30px; display: flex; flex-direction: column; gap: 16px; }
  .msc-copy { position: relative; left: auto; top: auto; width: auto; padding: 0 var(--gutter); text-align: center; order: 1; }
  .msc-copy .eyebrow { justify-content: center; }
  .msc-copy h2 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .msc-copy .lead { margin: 0 auto 12px; font-size: .9rem; }
  .msc-film { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; order: 2; }
  .msc-thumbs { position: relative; left: auto; bottom: auto; order: 3; padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; gap: 10px; }
  .msc-thumbs button, .msc-thumbs img { width: 68px; flex: none; }
  .msc-thumbs img { height: 68px; }
  .msc-vertical { position: relative; right: auto; top: auto; transform: none; order: 4; width: 66vw; margin: 4px auto 0; }
}

/* ---- Modern hero: wider words, wider preview label (desktop only) ---- */
@media (min-width: 761px) {
  .mhero-copy { width: min(660px, 44vw); }
  .mhero-copy h1 { font-size: clamp(2.8rem, 4.9vw, 5.4rem); }
  .mhero-film { width: min(52vw, 940px); }
}
.mhero-preview-text { max-width: 16ch; }
.mhero-preview .vf-win video { opacity: 1; }

/* ---- Modern library: one line of big framed invitations, gliding slowly ---- */
.mlib { display: none; overflow: hidden; padding: 10px 0 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
[data-edition="modern"] .mlib { display: block; }
[data-edition="modern"] .carousel { display: none; }
.mlib-track { display: flex; gap: 30px; width: max-content; animation: mlib var(--dur, 90s) linear infinite; }
.mlib:hover .mlib-track { animation-play-state: paused; }
@keyframes mlib { to { transform: translateX(-50%); } }
.mcard { flex: none; width: clamp(220px, 18vw, 290px); text-align: center; cursor: pointer; }
.mcard .vf { transition: transform .5s var(--ease); }
.mcard:hover .vf { transform: translateY(-8px); }
.mcard .vf-win img { opacity: 1; }
.mcard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--heading); margin-top: 12px; }
.mcard p { font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .mcard { width: 58vw; } .mlib-track { gap: 18px; } }

/* ---------- policies ---------- */
.policy-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.policy-tabs a { padding: .55em 1.2em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--heading); background: rgba(255,255,255,.7); }
.policy { max-width: 820px; }
.policy article { padding: 34px 0 10px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.policy article:first-child { border-top: 0; padding-top: 0; }
.policy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--heading); margin: 0 0 12px; }
.policy h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--heading); margin: 26px 0 6px; }
.policy p, .policy li { color: var(--text); line-height: 1.75; }
.policy ul { padding-left: 1.2em; display: grid; gap: 6px; }
.policy-sum { font-size: 1.08rem; color: var(--heading); }
.policy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   PHONES — everything fits one hand, nothing squeezed
   ========================================================== */
.menu-btn { flex: none; }
@media (max-width: 560px) {
  .stat .num { font-size: clamp(1.9rem, 8.4vw, 2.4rem); white-space: nowrap; }
  .stat p { font-size: .76rem; }
  .two { grid-template-columns: 1fr; gap: 12px; }
  .steps { gap: 12px; }
  .step { padding: 20px 20px 18px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; }
  .step::before { font-size: 2.8rem; right: 14px; top: 8px; }
  .step .ico { width: 42px; height: 42px; margin: 0; grid-row: span 2; }
  .step h3 { font-size: 1.3rem; padding-right: 48px; }
  .step p { margin-top: 2px; font-size: .86rem; }
  .policy-tabs a { font-size: .82rem; }
}
@media (max-width: 440px) {
  .nav { gap: 8px; }
  .logo { font-size: 1.02rem; gap: .35em; }
  .logo-mark { width: 22px; height: 22px; }
  .nav .ed-switch button { padding: .5em .62em; font-size: .56rem; letter-spacing: .06em; }
  .menu-btn { width: 40px; height: 40px; }
  .menu-btn span { left: 11px; right: 11px; }
  .menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 23px; }
}
@media (max-width: 350px) { .logo span { display: none; } }

/* the sample couple's names on full-film designs */
.vcard-names, .mcard-names { font-family: var(--script); color: var(--accent); font-size: 1.25rem; line-height: 1.1; margin: 2px 0 4px; }
.vcard-names { color: #f6dc9c; text-shadow: 0 1px 6px rgba(0,0,0,.45); font-size: 1.35rem; }
.mcard-names { text-align: center; }
.modal-names { font-family: var(--script); color: var(--accent); font-size: 1.6rem; margin: -4px 0 8px; }

/* "Open the live invitation" in the design window */
.live-demo { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; margin: 6px 0 4px; border-style: dashed; }
.live-demo small { font-size: .72rem; letter-spacing: .04em; color: var(--muted); font-weight: 400; }

/* the first screen of the inner pages shows at once (no fade wait): it is what visitors see first */
.page-hero .reveal { opacity: 1; transform: none; }
/* the design grid keeps its room while the cards are being added, so the page below does not jump */
.grid-designs:empty { min-height: 110vh; }

/* ==========================================================
   MAJESTIC — clean white & beige (easy on the eyes, the way
   couples like to shop). Romantic keeps its own colours.
   ========================================================== */
[data-edition="traditional"] {
  --bg: #ffffff; --bg-2: #faf6f1; --bg-3: #f4ece2; --bg-4: #eadfcf;
  --heading: #2f2622; --ink: #2f2622; --text: #5b4b42; --muted: #8d7c70;
  --accent: #a27a3a; --accent-2: #b48a48; --gold: #c39a55; --gold-deep: #8c6a33;
  --line: rgba(162, 122, 58, .18); --card: #ffffff;
  --shadow: 0 24px 60px -32px rgba(90, 65, 40, .28);
}
[data-edition="traditional"] body { background: #fff; }
[data-edition="traditional"] .site-header.scrolled { background: rgba(255, 255, 255, .92); }
[data-edition="traditional"] .btn-primary { background: linear-gradient(135deg, #e9cf98, #c9a15c 55%, #a8803f); color: #2f2622; box-shadow: 0 10px 26px -14px rgba(140, 106, 51, .55); }
/* the promise bar, the closing band and the footer: soft beige instead of dark green */
[data-edition="traditional"] .stats,
[data-edition="traditional"] .cta-band,
[data-edition="traditional"] .site-footer {
  --heading: #2f2622; --text: #5b4b42; --muted: #8d7c70; --accent: #a27a3a; --accent-2: #b48a48;
  --line: rgba(162, 122, 58, .2); --card: #ffffff;
  background: #f7f1e8; color: var(--text);
}
[data-edition="traditional"] .stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-edition="traditional"] .stats .num span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #2f2622; }
[data-edition="traditional"] .cta-band { border: 1px solid var(--line); box-shadow: none; }
[data-edition="traditional"] .site-footer { border-top: 1px solid var(--line); }
[data-edition="traditional"] .footer-big { -webkit-text-stroke: 1px rgba(162, 122, 58, .35); }

/* "New" badge in the menu */
.nav-new { font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: .15em .5em; margin-left: .35em; vertical-align: .9em; }

/* ==========================================================
   DESIGN PAGE (design.html) — every page in a phone + page planner
   ========================================================== */
.pd { padding-top: 96px; }
.pd-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.pd-crumbs a:hover { color: var(--heading); }
.pd-crumbs span { margin: 0 .4em; opacity: .6; }
.pd-crumbs b { font-weight: 500; color: var(--heading); }
.pd-top { display: grid; grid-template-columns: minmax(300px, 46%) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pd-viewer { position: sticky; top: 90px; text-align: center; }
.pd-stage { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 26px); }
.pd-phone { position: relative; width: min(300px, 70vw); aspect-ratio: 1 / 2; border-radius: 44px; padding: 10px; background: #1f1a18; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.05); flex: none; }
.pd-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #1f1a18; z-index: 3; }
.pd-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg-2); }
.pd-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.pd-slide.on { opacity: 1; visibility: visible; }
.pd-slide img, .pd-slide video, .pd-slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.pd-tap, .pd-sound { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: .7em 1.4em; border-radius: 999px; background: rgba(255,255,255,.92); color: #2f2622; font-size: .82rem; letter-spacing: .06em; box-shadow: 0 8px 24px -10px rgba(0,0,0,.45); white-space: nowrap; }
.pd-tap::before { content: "\261D  "; }
.pd-arrow { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 1.4rem; line-height: 1; color: var(--heading); flex: none; transition: background .3s, transform .3s; }
.pd-arrow:hover { background: var(--bg-2); transform: translateY(-1px); }
.pd-caption { margin-top: 18px; min-height: 66px; }
.pd-caption b { font-weight: 500; color: var(--heading); }
.pd-num { font-family: var(--serif); font-style: italic; color: var(--accent); margin-right: .3em; }
.pd-caption p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.pd-dots { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 10px auto 4px; max-width: 300px; }
.pd-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.pd-dots button.on { background: var(--accent); }
.pd-count { font-size: .75rem; color: var(--muted); }
.pd-note { font-size: .82rem; color: var(--muted); max-width: 340px; margin: 10px auto 8px; }
.pd-full { display: inline-block; font-size: .8rem; color: var(--accent); border: 1px solid var(--line); border-radius: 10px; padding: .45em .9em; }
.pd-info h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 10px 0 2px; }
.pd-names { font-family: var(--script); font-size: 1.7rem; color: var(--accent); min-height: 1.2em; }
.pd-blurb { margin: 10px 0 18px; max-width: 52ch; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pd-price small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pd-price b { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--heading); line-height: 1; }
.pd-price span { font-size: .82rem; color: var(--muted); width: 100%; }
.pd-buy { width: 100%; justify-content: center; text-align: center; }
.pd-ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: .8rem; color: var(--muted); margin: 12px 0 26px; }
.pd-card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 30px); background: var(--bg-2); }
.pd-card h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.9rem; color: var(--heading); margin: 6px 0 14px; }
.pd-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-3); margin-bottom: 16px; }
.pd-tabs button { padding: .7em .4em; border-radius: 999px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-tabs button.on { background: #fff; color: var(--heading); box-shadow: 0 0 0 1px var(--line); }
.pd-tab { display: none; }
.pd-tab.on { display: grid; gap: 14px; }
.pd-pt { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.pd-pt i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--accent); font-style: normal; font-size: .9rem; }
.pd-pt b { font-weight: 500; color: var(--heading); }
.pd-pt p { font-size: .86rem; color: var(--muted); }
.pd-small { font-size: .86rem; color: var(--muted); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chips span { padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; color: var(--heading); }
.pd-chips .more { color: var(--accent); }
.pd-plan { max-width: 820px; padding-top: clamp(60px, 8vw, 100px); }
.pd-plan h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 10px 0 10px; }
.pd-plan .lead { margin-bottom: 24px; }
.pd-list { list-style: none; display: grid; gap: 10px; }
.pd-list li { display: grid; grid-template-columns: 20px 28px 1fr auto; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: grab; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.pd-list li.drag { opacity: .4; }
.pd-list li.over { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(162, 122, 58, .15); }
.pd-grip { color: var(--accent); font-size: 1.1rem; }
.pd-n { font-family: var(--serif); font-style: italic; color: var(--muted); }
.pd-name b { display: block; font-weight: 500; color: var(--heading); }
.pd-name small { display: block; font-size: .78rem; color: var(--muted); }
.pd-move { display: flex; gap: 4px; }
.pd-move button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); color: var(--heading); background: #fff; }
.pd-move button:disabled { opacity: .3; }
.pd-move button[data-act="del"] { color: #a33; }
.pd-add { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.pd-addbtn { flex: 1; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--heading); text-align: left; }
.pd-reset { font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pd-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--bg-2); }
.pd-picker[hidden] { display: none; }
.pd-picker button { padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .84rem; color: var(--heading); }
.pd-picker button:hover { border-color: var(--accent); }
.pd-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 24px; padding: 30px 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.pd-bar { position: absolute; top: 14px; left: 22px; right: 22px; height: 3px; border-radius: 3px; background: var(--line); }
.pd-bar i { display: block; width: 4%; height: 100%; border-radius: 3px; background: var(--accent); }
.pd-steps b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); font-weight: 500; }
.pd-steps span { font-size: .8rem; color: var(--muted); }
.pd-acc details { border-bottom: 1px solid var(--line); }
.pd-acc summary { list-style: none; cursor: pointer; padding: 18px 2px; display: flex; justify-content: space-between; color: var(--heading); }
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary::after { content: "+"; color: var(--accent); }
.pd-acc details[open] summary::after { content: "\2013"; }
.pd-acc details > div { padding: 0 2px 18px; color: var(--text); font-size: .92rem; }
.pd-acc ul, .pd-acc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.pd-acc a { color: var(--accent); text-decoration: underline; }
.pd-talk { text-align: center; margin: 26px 0 0; }
.pd-talk a { color: var(--heading); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.pd-more { padding-top: 70px; }
.pd-sticky { position: fixed; left: 50%; bottom: 16px; z-index: 40; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 24px; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 18px 50px -18px rgba(40,25,15,.45); border: 1px solid var(--line); transition: transform .5s var(--ease); max-width: calc(100% - 32px); }
.pd-sticky.on { transform: translate(-50%, 0); }
.pd-sticky small { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pd-sticky b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--heading); }
@media (max-width: 860px) {
  .pd-top { grid-template-columns: 1fr; }
  .pd-viewer { position: static; }
  .pd-phone { width: min(270px, 66vw); }
  .pd-arrow { width: 36px; height: 36px; }
  .pd-info { text-align: center; }
  .pd-info .eyebrow { justify-content: center; }
  .pd-blurb { margin-left: auto; margin-right: auto; }
  .pd-price { justify-content: center; }
  .pd-card { text-align: left; }
  .pd-steps { grid-template-columns: 1fr; }
  .pd-sticky { left: 12px; right: 78px; max-width: none; transform: translateY(140%); justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; bottom: 14px; }
  .pd-sticky.on { transform: none; }
  .pd-sticky small { display: none; }
  .pd-sticky b { font-size: 1.05rem; white-space: nowrap; }
  .pd-sticky .btn { padding: .75em 1em; font-size: .74rem; letter-spacing: .03em; }
  .pd-list li { grid-template-columns: 16px 22px 1fr; }
  .pd-move { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ==========================================================
   PLANNER (planner.html) + the home teaser
   ========================================================== */
.pl-new { display: inline-block; font-size: .62rem; letter-spacing: .12em; padding: .2em .6em; border-radius: 999px; background: var(--accent); color: #fff; margin-right: .5em; }
.pl-actions { justify-content: center; margin-top: 26px; }
.pl-note { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.pl-how { border-top: 1px solid var(--heading); padding-top: 14px; }
.pl-head { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); margin-bottom: 34px; }
.pl-head span:first-child { color: var(--heading); }
.pl-grid { display: grid; grid-template-columns: 210px 1fr minmax(240px, 380px); gap: clamp(20px, 3vw, 40px); align-items: center; }
.pl-steps { list-style: none; align-self: start; }
.pl-steps li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); cursor: pointer; font-size: .95rem; transition: color .3s; }
.pl-steps li span { font-family: ui-monospace, monospace; font-size: .75rem; margin-right: 12px; }
.pl-steps li.on { color: var(--heading); }
.pl-stage { display: grid; place-items: center; padding: clamp(24px, 4vw, 50px); border-radius: 20px; background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); min-height: 520px; }
.pl-phone { width: 250px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 9px; background: #1f1a18; box-shadow: var(--shadow); }
.pl-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fbf8f4; color: #2f2622; font-size: 11px; }
.ps { position: absolute; inset: 0; padding: 30px 14px 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); overflow: hidden; }
.ps.on { opacity: 1; transform: none; }
.ps small { color: #8d7c70; font-size: 9.5px; }
.ps-top { display: flex; justify-content: space-between; align-items: baseline; }
.ps-top b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; }
.ps-top span { font-size: 10px; color: #a83a4a; }
.ps-card { margin: 10px 0; padding: 11px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px -12px rgba(0,0,0,.3); }
.ps-big { font-size: 22px; font-weight: 500; margin: 2px 0; }
.ps-right { display: block; text-align: right; margin-top: -18px; }
.ps-bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; margin: 10px 0 8px; gap: 2px; }
.ps-legend { display: flex; flex-wrap: wrap; gap: 3px 8px; font-size: 8.5px; color: #6b5b50; }
.ps-legend i, .ps-list i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.ps-list > div { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; padding: 6px 2px; border-bottom: 1px solid #efe7de; }
.ps-list b { font-weight: 500; }
.ps-next b { display: block; font-size: 14px; margin: 2px 0; }
.ps-next span { color: #8d7c70; font-size: 10px; }
.ps-tasks > div { display: flex; align-items: center; gap: 8px; padding: 8px 2px; border-bottom: 1px solid #efe7de; }
.ps-tasks i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c9a15c; display: grid; place-items: center; font-style: normal; font-size: 9px; color: #fff; flex: none; }
.ps-tasks .done { color: #a0918a; text-decoration: line-through; }
.ps-tasks .done i { background: #7d8f6a; border-color: #7d8f6a; }
.ps-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.ps-stats div { background: #fff; border-radius: 10px; padding: 8px; text-align: center; box-shadow: 0 6px 18px -12px rgba(0,0,0,.3); }
.ps-stats b { display: block; font-size: 17px; font-weight: 500; }
.ps-guests > div { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 7px 2px; border-bottom: 1px solid #efe7de; }
.ps-guests .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #f1e6d8; color: #8c6a33; font-size: 10px; }
.ps-guests b { font-weight: 500; }
.ps-guests .ok { color: #5f7a4e; } .ps-guests .wait { color: #b4883a; } .ps-guests .no { color: #a83a4a; }
.ps-share { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #f1e6d8; font-size: 9.5px; color: #6b5b50; }
.ps-day > div { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 9px 0 9px 10px; border-left: 2px solid #e2cfae; margin-left: 4px; position: relative; }
.ps-day > div::before { content: ""; position: absolute; left: -5px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #c9a15c; }
.ps-day b { font-weight: 500; }
.pl-copy .pl-n { font-family: ui-monospace, monospace; font-size: .78rem; color: var(--muted); }
.pl-copy h3 { font-family: var(--sans); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; color: var(--heading); margin: 10px 0 12px; }
.pl-copy p { color: var(--text); }
.pl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pl-f { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.pl-f i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent); font-style: normal; margin-bottom: 14px; }
.pl-f b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--heading); }
.pl-f p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.pl-cta { text-align: center; }
/* home teaser */
.pl-teaser { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-2), var(--bg)); }
.pl-teaser h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 10px 0 12px; }
.pl-teaser ul { list-style: none; display: grid; gap: 8px; margin: 16px 0 24px; color: var(--text); }
.pl-teaser li::before { content: "\2713  "; color: var(--accent); }
.pl-teaser .pl-stage { min-height: 0; padding: 22px; }
@media (max-width: 960px) {
  .pl-grid { grid-template-columns: 1fr; }
  .pl-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .pl-stage { min-height: 0; }
  .pl-features { grid-template-columns: 1fr 1fr; }
  .pl-teaser { grid-template-columns: 1fr; text-align: center; }
  .pl-teaser .eyebrow { justify-content: center; }
  .pl-teaser ul { justify-items: center; }
  .pl-teaser .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .pl-features { grid-template-columns: 1fr; }
  .pl-head span:last-child { display: none; }
  .pl-steps li { font-size: .82rem; }
}
/* the menu stays on one line: tighter spacing, and the header button gives way on mid-size screens */
.nav-links { gap: clamp(14px, 1.6vw, 28px); white-space: nowrap; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1500px) { .nav-cta { display: none; } }
@media (max-width: 1280px) { .nav-links { font-size: .8rem; letter-spacing: .05em; gap: 16px; } }
.pd-short { display: none; }
@media (max-width: 860px) { .pd-long { display: none; } .pd-short { display: inline; } }

/* ==========================================================
   ONE-PAGE HOME (2026-10): film reel hero, invitations in
   phones, prices + comparison, FAQ, compact menu
   ========================================================== */
[data-edition="modern"] #vhero { display: none; }
.vhero { padding: 104px 0 34px; background: #fff; text-align: center; overflow: hidden; }
.vhero-copy { max-width: 820px; }
.vhero-copy h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); margin: 14px 0 12px; }
.vhero-copy .lead { margin: 0 auto; }
.vhero-copy .lead b { color: var(--heading); font-weight: 500; }
.vhero .hero-actions { justify-content: center; margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chips { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trust-chips li { font-size: .78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--bg-2); }

.reel { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 34px calc(50% - 130px) 16px; margin-top: 8px; }
.reel::-webkit-scrollbar { display: none; }
.rphone { flex: none; width: 260px; scroll-snap-align: center; cursor: pointer; transition: transform .6s var(--ease), opacity .6s; transform: scale(.88); opacity: .72; }
.rphone.on { transform: none; opacity: 1; }
.rscreen { position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #1f1a18; border: 9px solid #1f1a18; box-shadow: 0 30px 60px -28px rgba(60, 40, 20, .55), 0 0 0 1px rgba(0,0,0,.06); }
.rscreen img, .rscreen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.rscreen video { opacity: 0; transition: opacity .5s; }
.rphone.playing video { opacity: 1; }
.rscreen::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; border-radius: 10px; background: #1f1a18; }
.rsound { position: absolute; z-index: 4; right: 10px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(20, 14, 10, .55); display: none; }
.rsound::before { content: "🔇"; font-size: 16px; }
.rphone.sound .rsound::before { content: "🔊"; }
.rphone.on .rsound { display: grid; place-items: center; }
.rbar { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; display: none; }
.rbar i { display: block; height: 100%; background: #f3d79a; transform-origin: left; transform: scaleX(0); }
.rphone.on .rbar { display: block; }
.rphone figcaption { text-align: center; margin-top: 12px; }
.rphone figcaption b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--heading); line-height: 1.15; }
.rphone figcaption span { display: block; font-family: var(--script); color: var(--accent); font-size: 1.2rem; }
.rphone figcaption a { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); visibility: hidden; }
.rphone.on figcaption a { visibility: visible; }
.reel-dots { display: flex; justify-content: center; gap: 4px; }
.reel-dots button { width: 26px; height: 26px; display: grid; place-items: center; }
.reel-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.reel-dots button.on::before { background: var(--accent); transform: scale(1.4); }
@media (max-width: 760px) {
  .vhero { padding: 88px 0 22px; }
  .vhero-copy .eyebrow { font-size: .62rem; letter-spacing: .22em; }
  .vhero-copy .lead { font-size: .9rem; }
  .vhero .btn { padding: .8em 1.3em; font-size: .82rem; }
  .trust-chips li { font-size: .7rem; padding: 5px 10px; }
  .rphone { width: 64vw; }
  .reel { padding: 24px 18vw 10px; gap: 12px; }
  .rphone figcaption b { font-size: 1.1rem; }
}

/* the invitations, each in a phone */
.tpl-section { background: var(--bg-2); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 34px 22px; max-width: 1180px; margin: 0 auto; }
.tcard { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tphone { position: relative; width: 100%; max-width: 230px; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 7px; background: #1f1a18; box-shadow: 0 24px 48px -26px rgba(60,40,20,.6); transition: transform .5s var(--ease), box-shadow .5s; }
.tphone::before { content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; transform: translateX(-50%); width: 30%; height: 11px; border-radius: 8px; background: #1f1a18; }
.tscreen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #efe6d8; }
.tscreen img { width: 100%; height: 100%; object-fit: cover; }
.tcard:hover .tphone { transform: translateY(-8px); box-shadow: 0 34px 60px -26px rgba(60,40,20,.7); }
.tbadge { position: absolute; z-index: 3; top: 30px; left: 50%; transform: translateX(-50%); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--heading); white-space: nowrap; }
.tcard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--heading); margin-top: 14px; line-height: 1.15; }
.tnames { font-family: var(--script); color: var(--accent); font-size: 1.15rem; line-height: 1.2; }
.tmeta { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.tbtn { margin-top: 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--heading); transition: background .3s, border-color .3s; }
.tcard:hover .tbtn { background: rgba(201,151,61,.1); border-color: var(--accent); }
@media (max-width: 700px) {
  .tpl-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .tphone { border-radius: 24px; padding: 5px; }
  .tscreen { border-radius: 19px; }
  .tphone::before { top: 10px; height: 9px; }
  .tcard h3 { font-size: 1.1rem; margin-top: 10px; }
  .tnames { font-size: 1rem; }
  .tmeta { font-size: .7rem; }
  .tbtn { font-size: .66rem; padding: 7px 12px; }
}

/* prices: always visible (no fade-in), three packages, delivery, comparison */
.pricing { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1180px; margin: 0 auto; gap: 22px; }
.plan { padding: 32px 26px 28px; }
.plan .cost b { font-size: 2.8rem; }
.plan-time { display: inline-block; margin-top: 10px; font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: rgba(15,90,70,.08); color: var(--emerald); align-self: flex-start; }
.plan ul { margin: 18px 0 24px; gap: 9px; }
.handmade-band { max-width: 900px; margin: 0 auto 46px; text-align: center; padding: 22px 20px; border-radius: 22px; border: 1px dashed rgba(201,151,61,.6); background: var(--bg-2); }
.handmade-band > b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--heading); }
.handmade-band > span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.delivery div { padding: 12px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.delivery small { display: block; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.delivery b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--heading); }
.compare-title { text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--heading); margin: 64px 0 18px; }
.compare-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--text); }
.compare thead th { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--heading); background: var(--bg-2); }
.compare thead th small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--accent); }
.compare thead th.hl { background: rgba(201,151,61,.16); }
.compare td.yes svg { width: 18px; height: 18px; color: var(--emerald); display: inline-block; }
.compare td.no { color: var(--muted); opacity: .6; }
@media (max-width: 700px) {
  .handmade-band { padding: 18px 12px; margin-bottom: 34px; }
  .handmade-band > b { font-size: 1.25rem; }
  .handmade-band > span { font-size: .82rem; }
  .delivery { gap: 6px; }
  .delivery small { font-size: .62rem; letter-spacing: 0; }
  .delivery b { font-size: 1.2rem; }
  .plan .cost b { font-size: 2.4rem; }
  .compare { font-size: .76rem; }
  .compare th, .compare td { padding: 9px 5px; }
  .compare tbody th { padding-left: 10px; }
  .compare thead th { font-size: 1rem; }
  .compare thead th small { font-size: .68rem; }
  .compare td.yes svg { width: 15px; height: 15px; }
}

/* home FAQ */
#faq .faq-q { font-size: clamp(1.1rem, 2vw, 1.4rem); padding: 18px 4px; }

/* phones: smaller words, bigger pictures */
@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .lead { font-size: .9rem; }
  .eyebrow { font-size: .64rem; letter-spacing: .24em; }
  .eyebrow::before { width: 18px; }
  .rcard { padding: 22px; }
  .rcard blockquote { font-size: 1.1rem; }
  .cta-band h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .pl-teaser h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* the menu on phones: a small card under the menu button, not the whole screen */
@media (max-width: 1120px) {
  .mobile-menu {
    inset: 66px 12px auto auto; width: min(290px, calc(100vw - 24px)); max-height: calc(100vh - 80px); overflow-y: auto;
    justify-content: flex-start; gap: 0; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 24px 50px -18px rgba(40, 28, 15, .35); clip-path: none; opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; z-index: 60;
  }
  .menu-open .mobile-menu { clip-path: none; opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .mobile-menu a { font-family: var(--sans); font-size: .95rem; letter-spacing: .02em; padding: 0 14px; min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid rgba(154,107,30,.12); border-radius: 10px; }
  .mobile-menu a:active, .mobile-menu a:hover { background: var(--bg-2); }
  .mobile-menu .btn { margin-top: 8px; font-size: .86rem; min-height: 44px; padding: 0 14px; justify-content: center; border-bottom: 0; border-radius: 999px; }
  .mobile-menu .btn + .btn { margin-top: 6px; }
  .mobile-menu .btn-ghost { border: 1px solid var(--line); }
  .menu-shade { position: fixed; inset: 0; z-index: 44; background: rgba(30, 20, 10, .18); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .menu-open .menu-shade { opacity: 1; visibility: visible; transition: opacity .25s; }
  .menu-open .site-header { transform: none; }
}
.compare td { white-space: nowrap; }
@media (min-width: 1000px) { .tpl-grid { grid-template-columns: repeat(var(--n, 5), minmax(0, 220px)); justify-content: center; } }
@media (min-width: 701px) and (max-width: 999px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
[data-edition="modern"] #story { display: none; }
.vhero { padding: clamp(60px, 8vw, 100px) 0 40px; }
.vhero-copy h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 12px 0 10px; }
.vhero .hero-actions { margin-top: 18px; }
#invitations, #packages, #how-it-works, #faq, #reviews, #try, #planner { scroll-margin-top: 70px; }
.delivery { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
.pricing { max-width: 860px; } .compare-wrap { max-width: 760px; }

/* design page: the text on the left, the page-order list on the right */
.pd-plan { max-width: var(--max); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.pd-plan-list { padding-top: 8px; }
@media (max-width: 900px) { .pd-plan { grid-template-columns: 1fr; } .pd-plan-list { position: static; } }

/* design templates page: a shop of templates */
.tp-hero { padding-bottom: 20px; }
.tp-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.tp-shop { padding-top: 20px; }
.tp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; max-width: 1180px; margin-left: auto; margin-right: auto; }
.tp-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-filters button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; color: var(--text); background: #fff; min-height: 40px; }
.tp-filters button[aria-selected="true"] { background: var(--heading); color: #fff; border-color: var(--heading); }
.tp-count { font-size: .82rem; color: var(--muted); }
.tp-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
@media (max-width: 700px) { .tp-grid { grid-template-columns: 1fr 1fr !important; } .tp-filters button { padding: 8px 14px; font-size: .78rem; } .tp-hero { padding-top: 110px; } }
