/* HomePrint scroll-journey landing — v2 (warmer, bolder, more brand) */
:root {
  --ink: #221b13;
  --paper: #faf6ef;
  --clay: #c2603e;
  --clay-deep: #a34a2c;
  --gold: #b98a4e;
  --sand: #eee3d0;
  --teal: #3d6b6b;
  --whatsapp: #25d366;
  --serif: "Fraunces", "New York", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; color: var(--clay); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; /* no transition: compositor transitions freeze on GPU-less Chrome */
}
.nav.solid { background: rgba(250,246,239,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(34,27,19,.08); }
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; text-decoration: none;
}
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .word { font-weight: inherit; }
.brand .mark rect { fill: var(--clay); }
.brand .mark text { font-family: Georgia, serif; font-size: 38px; font-weight: 700; fill: #fff; text-anchor: middle; }
.nav .brand span { color: var(--clay); }
.nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 500; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav .cta {
  background: var(--clay); color: #fff; padding: 10px 20px; border-radius: 999px; opacity: 1;
  box-shadow: 0 6px 18px rgba(194,96,62,.35);
}
.nav .cta:hover { background: var(--clay-deep); }
.nav-toggle { display: none; }

/* ---------- scrub chapters ---------- */
.scrub { position: relative; height: 170vh; }
/* chain: plan → 3D → dive → living furnish inside ONE sticky stage; the video
   source dissolves in place at segment boundaries, nothing scrolls in or out */
.scrub.chain { height: 340vh; }
.scrub .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #14100b; }
.scrub video, .scrub .scrub-still, .scrub .frame0 {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.seg { position: absolute; inset: 0; }
.seg + .seg { opacity: 0; } /* initial state; landing.js drives the dissolves */
.scrub .stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,11,.42), transparent 40%);
  pointer-events: none;
}
.cap {
  position: absolute; z-index: 3; left: 6vw; bottom: 9vh; max-width: 620px;
  color: #fdfbf7; opacity: 0; translate: 0 18px;
  pointer-events: none; will-change: opacity, translate;
}
/* fades are driven from the rAF loop in landing.js (JS lerp), NOT CSS transitions —
   compositor transitions freeze on GPU-less Chrome sessions */
.cap.center { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -46%); text-align: center; max-width: min(92vw, 780px); width: max-content; }
.cap h1, .cap h2 { font-family: var(--serif); font-weight: 600; line-height: 1.07; text-shadow: 0 2px 24px rgba(0,0,0,.38); }
.cap h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.cap h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
.cap p { margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .94; text-shadow: 0 1px 12px rgba(0,0,0,.4); line-height: 1.55; }
.cap .scroll-cue {
  margin-top: 18px; font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--clay);
  opacity: 1; text-shadow: none;
}
.cap .tag {
  display: inline-block; margin-bottom: 14px; padding: 7px 16px;
  background: rgba(194,96,62,.92); border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff;
  text-shadow: none;
}
.cap.dark {
  color: var(--ink);
  background: rgba(250,246,239,.94);
  padding: 36px 48px;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(34,27,19,.14);
}
.cap.dark h1, .cap.dark h2 { text-shadow: none; }
.cap.dark p { text-shadow: none; opacity: .8; }
.scroll-hint.dark { color: var(--ink); }
.scroll-hint.dark::after { background: linear-gradient(to bottom, var(--ink), transparent); }
.scroll-hint {
  position: absolute; z-index: 4; left: 50%; bottom: 4vh; transform: translateX(-50%);
  color: #fdfbf7; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85;
  transition: opacity .4s;
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0;
  background: linear-gradient(to bottom, #fdfbf7, transparent); animation: drop 1.6s infinite;
}
.scroll-hint.hide { opacity: 0; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- interludes ---------- */
.interlude { position: relative; background: var(--ink); color: var(--paper); padding: 20vh 8vw; text-align: center; overflow: hidden; }
.interlude .watermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg);
  font-family: var(--serif); font-weight: 700; font-size: clamp(6rem, 22vw, 20rem);
  color: rgba(250,246,239,.045); white-space: nowrap; pointer-events: none;
}
.interlude h2 { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 940px; margin: 0 auto; line-height: 1.14; }
.interlude h2 em { color: #e2916d; }
.interlude .sub { position: relative; margin: 28px auto 0; max-width: 660px; opacity: .8; font-size: 1.06rem; line-height: 1.65; }
.stats { position: relative; display: flex; gap: 8vw; justify-content: center; margin-top: 9vh; flex-wrap: wrap; }
.stats div { max-width: 230px; }
.stats b { display: block; font-family: var(--serif); font-size: 2.5rem; color: #e2916d; margin-bottom: 8px; }
.stats span { font-size: .92rem; opacity: .8; line-height: 1.5; }
.reveal { opacity: 0; translate: 0 28px; } /* animated from landing.js */

/* ---------- pricing strip ---------- */
.pricing { background: var(--paper); padding: 14vh 8vw; text-align: center; }
.pricing h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 12px; }
.pricing .sub { opacity: .7; margin-bottom: 7vh; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--sand); border-radius: 20px; padding: 32px 22px; text-align: left; }
.price-card.hero-card { background: var(--clay); color: #fff; border-color: var(--clay); box-shadow: 0 18px 44px rgba(194,96,62,.35); }
.price-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.price-card .amount { font-family: var(--serif); font-size: 2rem; }
.price-card p { margin-top: 10px; font-size: .85rem; opacity: .75; line-height: 1.5; }
.pricing .more { display: inline-block; margin-top: 6vh; font-size: .95rem; color: var(--clay-deep); font-weight: 600; }

/* ---------- finale ---------- */
.finale { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.finale .bg { position: absolute; inset: 0; }
.finale .bg img { width: 100%; height: 100%; object-fit: cover; }
.finale .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,16,11,.35), rgba(20,16,11,.6)); }
.finale .inner { position: relative; z-index: 2; color: #fdfbf7; padding: 20vh 6vw; }
.finale .tag {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px;
  background: rgba(194,96,62,.92); border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.finale h2 { font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.07; }
.finale p { margin: 22px auto 0; max-width: 580px; font-size: 1.08rem; opacity: .92; line-height: 1.6; }
.finale .actions { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 16px 34px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: var(--clay); color: #fff; box-shadow: 0 8px 30px rgba(194,96,62,.45); }
.btn.ghost { border: 1.5px solid rgba(253,251,247,.65); color: #fdfbf7; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--paper); padding: 60px 8vw 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: center; }
footer .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
footer .brand .mark { width: 32px; height: 32px; }
footer .brand span { color: #e2916d; }
footer ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--paper); opacity: .75; text-decoration: none; font-size: .9rem; }
footer a:hover { opacity: 1; }
footer .fine { margin-top: 36px; font-size: .78rem; opacity: .45; }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .nav .brand { font-size: 1.25rem; }
  .brand .mark { width: 30px; height: 30px; }
  .nav ul { gap: 14px; }
  .nav ul li.hide-m { display: none; }
  .cap { left: 7vw; right: 7vw; max-width: none; bottom: 12vh; }
  .cap.dark { padding: 26px 26px; }
  .scrub { height: 160vh; }
  .scrub.chain { height: 300vh; }
  .stats { gap: 34px; }
  .foot-grid { flex-direction: column; align-items: flex-start; }
}
/* reduced-motion: stills instead of scrubs */
.reduced .scrub, .reduced .scrub.chain { height: 100vh; }
