/* PREVIEW v6 2026-09-17 · one continuous world.
 * One warm paper background from top to bottom. No dark, sand or orange bands.
 * Sections separate by space, hairlines and type. Ember is an accent only.
 */

/* ---------- one background ---------- */
html { background: var(--bg); }
body { background: transparent; }
.band, .band.overlap, .band.inset, .showcase, .close {
  background: transparent !important; border-radius: 0 !important; box-shadow: none !important;
}
html.scrub .band, html.scrub .showcase { transform: none; }
.showcase canvas.sparks, .close-embers, .close::before { display: none !important; }
.hero::before, .hero-center::before { display: none; }

/* hairline dividers between the big blocks, drawn short and centred */
main > section + section, main > section + .band, main > .band + section, main > .band + .showcase,
main > .showcase + section, main > section + .showcase, .close {
  position: relative;
}
main > section + section::after, main > .band + section::after, main > .showcase + section::after,
main > section + .band::after, main > section + .showcase::after, main > .band + .showcase::after, .close::after {
  content: ""; position: absolute; left: 50%; top: 0; width: min(1104px, calc(100% - 40px)); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, rgba(41,34,25,0), rgba(41,34,25,0.12) 20%, rgba(41,34,25,0.12) 80%, rgba(41,34,25,0));
  pointer-events: none;
}
.band.overlap { padding-top: clamp(80px, 9vw, 140px); }

/* dark and orange bands become paper: restore ink colours */
.showcase { color: var(--ink); }
.showcase h2 { color: var(--ink); }
.showcase h2 em { color: var(--ember); }
.showcase .section-head p { color: var(--body-warm); }
.reel figcaption span { color: var(--muted); }
.reel figcaption b { color: var(--ink); }
.close { color: var(--ink); }
.close h2 { color: var(--ink); }
.close h2 em { color: var(--ember); }
.close p, .close-inner p { color: var(--body-warm); }
.close .btn.light { background: var(--ember); color: var(--cream); border-color: var(--ember); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 1px 2px rgba(110,40,15,0.18), 0 10px 24px -12px rgba(193,78,43,0.55); }
.close .btn.light:hover { background: var(--ember-deep); }
.close-foot, .foot-fine, .foot-id, .foot-legal { color: var(--muted); border-color: var(--hair) !important; }
.close-foot a, .foot-right a, .foot-id a { color: var(--body-warm) !important; }
.close-foot a:hover, .foot-right a:hover, .foot-id a:hover { color: var(--ink) !important; }
.close .lockup svg path { fill: var(--ember); }
.close .wordmark { color: var(--ink); }
.close .wordmark span { color: var(--ember); }

/* ---------- the world layer: fixed glow + dust behind everything ---------- */
.world { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.world .wg { position: absolute; border-radius: 50%; will-change: transform; }
.world .wg1 { width: 900px; height: 900px; left: 50%; top: -260px; margin-left: -450px; background: radial-gradient(closest-side, rgba(242,210,176,0.55), rgba(242,210,176,0)); }
.world .wg2 { width: 700px; height: 700px; right: -220px; top: 45%; background: radial-gradient(closest-side, rgba(214,95,53,0.10), rgba(214,95,53,0)); }
.world .wg3 { width: 760px; height: 760px; left: -260px; top: 70%; background: radial-gradient(closest-side, rgba(242,200,160,0.35), rgba(242,200,160,0)); }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .world .wg1 { width: 560px; height: 560px; margin-left: -280px; top: -160px; }
  .world .wg2, .world .wg3 { width: 420px; height: 420px; }
}

/* ---------- construction funnel: a pinned, centred story ---------- */
html.scrub .funnel-track { height: 230svh; margin-top: clamp(20px, 3vw, 40px); }
html.scrub .funnel-track .funnel-stage { position: sticky; top: max(84px, calc(50svh - 330px)); }
html.scrub .funnel-track .funnel { margin-top: 0; }
@media (min-width: 921px) { html.scrub .funnel-track .section-head.rv.rv { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  html.scrub .funnel-track { height: auto; }
  html.scrub .funnel-track .funnel-stage { position: static; }
}
.f-core { box-shadow: 0 30px 70px -20px rgba(162,63,31,0.45), 0 0 0 10px rgba(193,78,43,0.05); }

/* ---------- missed-call phone: larger and centred ---------- */
.callsec .phone { width: min(360px, 100%); aspect-ratio: 360 / 720; }
html.scrub .callsec.pinned .phone-track { height: calc(720px + 90svh); }
html.scrub .callsec.pinned .phone { top: calc(50svh - 360px); }
.phone .msg { font-size: 14px; }
@media (max-height: 800px) and (min-width: 601px) { html.scrub .callsec.pinned .phone { top: 76px; } }
@media (max-width: 600px) {
  .callsec .phone { width: 290px; }
  html.scrub .callsec.pinned .phone-track { height: calc(580px + 100svh); }
  html.scrub .callsec.pinned .phone { top: calc(50svh - 290px + 24px); }
  .phone .msg { font-size: 13px; }
}

/* ---------- videos in phone frames that float ---------- */
.reel .frame {
  border-radius: 46px; padding: 11px; background: #1d1611 !important;
  box-shadow: 0 0 0 1px rgba(41,34,25,0.25), inset 0 0 0 1.5px rgba(255,255,255,0.06), 0 50px 90px -40px rgba(41,34,25,0.55), 0 18px 30px -18px rgba(41,34,25,0.3) !important;
}
.reel .frame::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 20px; background: #1d1611; z-index: 2; }
.reel video { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); border-radius: 36px; object-fit: cover; }
.reel .snd { right: 22px; bottom: 22px; }
html.scrub .reel .frame {
  transform: translate3d(0, calc((1 - var(--p, 1)) * var(--lift, 90px)), 0) rotate(calc((1 - var(--p, 1)) * var(--tilt, -4deg)));
  opacity: 1;
}
.reels .reel:nth-child(2) .frame { --lift: 170px; --tilt: 5deg; }
.reels { gap: clamp(36px, 7vw, 110px); }
@media (min-width: 601px) { .reels .reel:nth-child(2) { margin-top: 90px; } }

/* ---------- hero: bigger stage ---------- */
html.intro.intro-on .hero h1 { transform-origin: 50% 60%; will-change: transform; }

/* ---------- cursor dot (desktop, created by v6.js) ---------- */
.cursor-dot {
  position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ember); pointer-events: none; z-index: 200; opacity: 0;
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), margin 0.5s var(--ease-out), background 0.5s var(--ease-out), opacity 0.4s ease;
  will-change: transform;
}
.cursor-dot.on { opacity: 1; }
.cursor-dot.big { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(193,78,43,0.14); box-shadow: inset 0 0 0 1px rgba(193,78,43,0.45); }

/* smoother page transitions */
::view-transition-old(root) { animation: vt6-out 260ms cubic-bezier(0.4,0,1,1) both; }
::view-transition-new(root) { animation: vt6-in 520ms cubic-bezier(0.19,1,0.22,1) both; }
@keyframes vt6-out { to { opacity: 0; transform: scale(0.995); } }
@keyframes vt6-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  .world canvas, .cursor-dot { display: none; }
  .reel .frame { transform: none !important; }
}

/* ---------- round 2: fixes from the scroll critique ---------- */
.showcase h2, .showcase h2 .sw > span, .close h2, .close h2 .sw > span { color: var(--ink) !important; }
.showcase h2 em .sw > span, .close h2 em .sw > span { color: var(--ember) !important; }
html.scrub .funnel-track { height: 210svh; }
@media (max-width: 920px) { html.scrub .funnel-track { height: auto; } }
@media (max-width: 600px) {
  .reels .reel:nth-child(2) .frame { --lift: 90px; --tilt: 4deg; }
  .reel .frame { border-radius: 36px; padding: 8px; }
  .reel video { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 29px; }
  .reel .frame::before { top: 14px; height: 16px; }
}

/* ---------- luxury layer: considered entrances, larger display, gold-ember accent ---------- */
h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.0; letter-spacing: -0.028em; }
.hero-center h1 { font-size: clamp(3.1rem, 7.8vw, 7rem); }
.close h2 { font-size: clamp(2.5rem, 5.8vw, 5rem); }
section { padding-top: clamp(120px, 14vw, 230px); }
@media (max-width: 600px) { section { padding-top: 104px; } h2 { font-size: 2.45rem; } }

/* restrained gold-ember on italic moments */
h1 em:not(:has(span)), h2 em:not(:has(span)), h1 em .iw > span, h2 em .sw > span, .showcase h2 em .sw > span, .close h2 em .sw > span {
  background: linear-gradient(100deg, #B4432A 0%, #CF6B3A 55%, #C68A4C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}

/* cards wipe open from the bottom with a little depth */
html.scrub .door.rv.rv, html.scrub .build.rv.rv, html.scrub .form-card.rv.rv, html.scrub .fact.rv.rv,
html.scrub .door.rv.rv.in, html.scrub .build.rv.rv.in, html.scrub .form-card.rv.rv.in, html.scrub .fact.rv.rv.in {
  clip-path: inset(calc((1 - var(--p, 1)) * 40%) 0 0 0 round 32px);
  transform: perspective(1400px) translate3d(0, calc((1 - var(--p, 1)) * 60px), 0) rotateX(calc((1 - var(--p, 1)) * 9deg));
  transform-origin: 50% 100%;
  opacity: calc(0.2 + 0.8 * var(--p, 1));
}
.door, .build { box-shadow: 0 1px 1px rgba(41,34,25,0.03), 0 40px 80px -48px rgba(41,34,25,0.28) !important; }

/* numbers slide in ahead of their titles */
html.scrub .rv .sno { display: inline-block; transform: translate3d(calc((1 - var(--p, 1)) * -22px), 0, 0); opacity: calc(var(--p, 1) * 1.2 - 0.2); }

/* body copy follows the heading, a beat later */
html.scrub .rv > p, html.scrub .rv .section-head > p { opacity: clamp(0, calc((var(--p, 1) - 0.25) * 1.6), 1); }

/* hairlines inside lists draw across */
html.scrub .door-list li { background: linear-gradient(var(--hair), var(--hair)) left top / calc(var(--p, 1) * 100%) 1px no-repeat; border-top-color: transparent !important; }

@media (prefers-reduced-motion: reduce) {
  .door, .build, .form-card, .fact { clip-path: none !important; }
}

.close-foot .wordmark { color: var(--ink) !important; }
.close a:focus-visible { outline-color: var(--ember); }

/* phones: give the swipe row room so the first video phone's bottom edge and shadow are not clipped */
@media (max-width: 600px) { .reels { padding-bottom: 36px; margin-bottom: -20px; } }
