/* Zen Rising, Option E (31 Oct 2026). A Note of Zen brand type and colour (Karan: "each and every font is of a note of Zen
   brand guideline font"): Switzer (Light for display, Regular for reading, Medium for small labels); ink #1F0D14,
   olive #90956F, mist #F0EFEF. */
/* HPAD brand type (Karan, 31 Oct 2026: "Use HPAD brand guidelines for the text"): Oxygen Mono for titles and labels,
   Kumbh Sans for reading. Colours are free (Mallard). */
@font-face { font-family: 'Kumbh Sans'; src: url(../assets/fonts/kumbh-sans.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Oxygen Mono'; src: url(../assets/fonts/oxygen-mono.woff2) format('woff2'); font-weight: 400; font-display: swap; }
:root { --ink: #1F0D14; --olive: #90956F; --mist: #F0EFEF; --cream: #FDFCF8;
  --enter-bg: #1F0D14; --enter-ink: #F0EFEF; --enter-font: 'Kumbh Sans', system-ui, sans-serif;
  --t-display: clamp(40px, 6vw, 96px); --t-line: clamp(17px, 1.35vw, 22px); --t-label: 12px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--ink); color: var(--mist); font-family: 'Kumbh Sans', system-ui, sans-serif; font-weight: 400; overflow-x: clip; }
h1, h2, h3, blockquote { text-wrap: balance; }
a { color: inherit; }
.eyebrow { font-size: var(--t-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; opacity: .78; }

/* ------------------------------------------------------------------ header */
.hd { position: fixed; z-index: 30; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) clamp(18px, 3vw, 40px) 18px; color: var(--mist); pointer-events: none; transition: color .6s; }
.hd > * { pointer-events: auto; }
.hd-logo { display: block; width: clamp(108px, 10vw, 150px); opacity: .95; }
.hd-logo svg { display: block; width: 100%; height: auto; }
.hd-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.hd-nav a { text-decoration: none; opacity: .85; transition: opacity .3s; }
.hd-nav a:hover { opacity: 1; }
.hd { transition: color .5s, background-color .5s; }
.hd-ink .hd { color: var(--ink); }
.hd-frost .hd { background: rgba(240, 239, 239, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.snd { width: 30px; height: 22px; display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.snd i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; transition: height .4s; }
.snd.is-on i { animation: eq 1.4s ease-in-out infinite; }
.snd.is-on i:nth-child(2) { animation-delay: .2s; } .snd.is-on i:nth-child(3) { animation-delay: .5s; } .snd.is-on i:nth-child(4) { animation-delay: .8s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* ------------------------------------------------------------------ the story */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.is-live .still { opacity: 0; }
/* a soft ink scrim under the words, so they read over bright gravel and sky */
.scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, rgba(31, 13, 20, .55), rgba(31, 13, 20, .18) 55%, rgba(31, 13, 20, 0)); pointer-events: none; transition: opacity .8s; }
.on-light .scrim { opacity: 0; }
.words h2 { position: absolute; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: clamp(64px, 12vh, 140px); margin: 0; pointer-events: none; font-weight: 300; }
.words .k { display: block; font-size: var(--t-display); font-weight: 300; letter-spacing: -.01em; line-height: 1;
  opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.words .l { display: block; max-width: 30ch; margin-top: 16px; font-size: var(--t-line); font-weight: 400; line-height: 1.4; letter-spacing: .005em;
  opacity: 0; transform: translateY(12px); transition: opacity .9s .25s, transform 1s .25s cubic-bezier(.2,.8,.2,1); }
.words h2.up { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 9vh); left: 50%; right: auto; width: min(560px, 80vw); transform: translateX(-50%); text-align: center; }
.words h2.up .l { margin-left: auto; margin-right: auto; }
.words h2.up::before { content: ''; position: absolute; inset: -30% -18%; z-index: -1; background: radial-gradient(closest-side, rgba(31, 13, 20, .32), rgba(31, 13, 20, 0)); opacity: 0; transition: opacity .8s; }
.words h2.up.is-on::before { opacity: 1; }
@media (max-aspect-ratio: 9/10) { .words h2.up { top: calc(env(safe-area-inset-top, 0px) + 8vh); width: 88vw; } .words h2.up::before { inset: -40% -10%; background: radial-gradient(closest-side, rgba(31, 13, 20, .55), rgba(31, 13, 20, 0)); } }
.words .is-on .k { opacity: 1; transform: none; }
.words .is-on .l { opacity: .94; transform: none; }

/* Zen Rising, under the new sun, in ink on the mist */
.big { position: absolute; left: 50%; top: 58%; width: min(46vw, 560px); margin: 0; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .6s; }
.big img { display: block; width: 100%; }
.big.is-on { opacity: 1; transform: translate(-50%, 0); transition: opacity 1.4s, transform 1.8s cubic-bezier(.2,.8,.2,1); }
.hint { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); margin: 0; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; transition: opacity .5s; }
.hint i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--mist), transparent); animation: hint 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0%, 100% { transform: scaleY(.35); opacity: .4; } 50% { transform: scaleY(1); opacity: .9; } }

/* ------------------------------------------------------------------ the ticks: seven hours, a little sun riding them */
.ticks { position: fixed; z-index: 25; right: clamp(16px, 2.2vw, 32px); top: 50%; transform: translateY(-50%); display: grid; gap: 22px; justify-items: end; transition: opacity .6s, color .6s; color: var(--mist); }
.tick { position: relative; width: 26px; height: 10px; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.tick::after { content: ''; position: absolute; right: 0; top: 4px; width: 14px; height: 1.5px; background: currentColor; opacity: .5; transition: width .4s, opacity .4s; }
.tick.is-on::after { width: 26px; opacity: 1; }
.tick span { position: absolute; right: 36px; top: -4px; white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.tick span { text-shadow: 0 1px 8px rgba(31, 13, 20, .6); }
.tick:hover span, .tick:focus-visible span { opacity: .9; transform: none; }
.tick.is-on span { opacity: 1; transform: none; }
.tick.is-on ~ .tick:hover span { opacity: .9; }
.tick-sun { position: absolute; right: -14px; top: calc(var(--u, 0) * (100% - 10px)); width: 8px; height: 8px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 10px 2px rgba(255, 210, 122, .6); }
.on-light .ticks { opacity: 0; pointer-events: none; }

/* the contact, always one tap away after the first chapter */
.wa { position: fixed; z-index: 26; right: clamp(16px, 2.2vw, 32px); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 8px 30px rgba(31, 13, 20, .25); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1), background .3s; }
.wa svg { width: 18px; height: 18px; }
.wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { background: #fff; }

/* ------------------------------------------------------------------ the real place, Hiren Patel, the contact (a laptop scrolls down through them) */
.real { background: var(--mist); color: var(--ink); padding: 18vh 0 8vh; }
.real-h { margin: 0 auto 12vh; max-width: 760px; padding: 0 24px; text-align: center; }
.real-h h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
.facts { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; font-size: 16px; line-height: 1.4; text-align: left; }
.facts li { padding: 4px 22px; border-left: 1px solid var(--olive); }
.note { max-width: 46ch; margin: 30px auto 0; font-size: 15px; line-height: 1.6; opacity: .72; }
.rl { margin: 0 auto 10vh; width: min(86vw, 1400px); }
.rl img:not(.deco) { display: block; width: 100%; height: auto; border-radius: 3px; transform: scale(.97); clip-path: inset(6% 6% 6% 6% round 6px); transition: transform 1.4s cubic-bezier(.2,.8,.2,1), clip-path 1.4s cubic-bezier(.2,.8,.2,1); }
.rl figcaption { margin-top: 14px; font-size: var(--t-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity 1s .5s; }
.rl.is-in img:not(.deco) { transform: none; clip-path: inset(0 0 0 0 round 3px); }
.rl.is-in figcaption { opacity: .7; }
.real-h > *, .hp > *, .ct > * { opacity: 0; transform: translateY(20px); transition: opacity 1s, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.real-h.is-in > *, .hp.is-in > *, .ct.is-in > * { opacity: 1; transform: none; }
.real-h.is-in > :nth-child(2), .hp.is-in > :nth-child(2), .ct.is-in > :nth-child(2) { transition-delay: .12s; }
.real-h.is-in > :nth-child(3), .hp.is-in > :nth-child(3), .ct.is-in > :nth-child(3) { transition-delay: .24s; }
.real-h.is-in > :nth-child(4), .ct.is-in > :nth-child(4) { transition-delay: .36s; }
.ct.is-in > :nth-child(5) { transition-delay: .48s; }

.hp, .ct { position: relative; overflow: hidden; }
.pl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hp-t, .ct-t { position: relative; z-index: 1; }
/* Hiren Patel: a painted night garden (Mallard's ultramarine, gold stars, weeping trees), not the brand's flat ink */
.hp { background: #1b2a8c url(../assets/kit/hp-plate-full.webp) center / cover no-repeat; color: #fff8e6; padding: 24vh clamp(24px, 8vw, 120px); text-align: center; min-height: 100vh; display: grid; align-content: center; }
.hp blockquote { font-size: clamp(26px, 3.2vw, 46px); font-weight: 300; line-height: 1.25; max-width: 22ch; margin: 0 auto 30px; text-shadow: 0 2px 24px rgba(10, 14, 60, .55); }
.hp .eyebrow { color: #ffcf5a; opacity: 1; }
.hp .who { font-size: 15px; opacity: .85; }
.pl-sway { position: absolute; bottom: -2%; height: auto; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
.pl-l { left: -6%; width: 26%; } .pl-r { right: -7%; width: 28%; animation-duration: 8.5s; }
.star { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; background: #ffcf5a; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.2s ease-in-out var(--d) infinite; }
.fly { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%; background: #fff2a0; box-shadow: 0 0 10px 3px rgba(255, 242, 160, .55); animation: fly 9s ease-in-out var(--d) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes fly { 0%, 100% { transform: translate(0, 0); opacity: .3; } 30% { transform: translate(24px, -14px); opacity: 1; } 60% { transform: translate(-10px, -26px); opacity: .6; } }
/* the contact: a bright painted morning over the fields; the balloon drifts over, a cyclist rides by */
.ct { background: #f3d36a url(../assets/kit/ct-plate-full.webp) center / cover no-repeat; color: #1c2266; padding: 18vh clamp(24px, 8vw, 120px) 26vh; text-align: center; min-height: 100vh; }
.ct-t { display: grid; justify-items: center; gap: 18px; }
.ct .eyebrow { color: #c2412b; opacity: 1; }
.ct h2 { font-weight: 300; font-size: clamp(32px, 4.2vw, 60px); letter-spacing: -.01em; margin: 0 0 14px; }
.ct-l { margin: 0 0 10px; font-size: 17px; }
.ct-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #e0452b; color: #fff8e6; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .02em; box-shadow: 0 6px 20px rgba(160, 40, 20, .25); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.pill:hover { transform: translateY(-2px); background: #c93a22; }
.ct-s { display: flex; gap: 26px; margin-top: 8px; font-size: 15px; }
.ct-s a { text-decoration: none; border-bottom: 1px solid rgba(28, 34, 102, .45); padding-bottom: 3px; }
.ct-s a:hover { border-color: #1c2266; }
.ct-bl { left: -4%; width: 24%; } .ct-br { right: -4%; width: 22%; animation-duration: 8s; }
.ct-balloon { position: absolute; top: 8%; left: 0; width: 7%; animation: drift 38s linear infinite; }
@keyframes drift { from { transform: translate(-10vw, 10px); } 50% { transform: translate(50vw, -12px); } to { transform: translate(110vw, 6px); } }
.ct-ride { position: absolute; bottom: 9%; left: 0; width: 13%; transform: scaleX(-1); animation: ride 22s linear infinite; }
@keyframes ride { from { left: 105%; } to { left: -20%; } }
.wa-s { display: none; }
@media (prefers-reduced-motion: reduce) { .pl-sway, .star, .fly, .ct-balloon, .ct-ride { animation: none; } }

/* ------------------------------------------------------------------ a phone held upright: everything travels sideways */
@media (max-aspect-ratio: 9/10) {
  .hd-nav a { display: none; }
  .ticks { top: auto; right: auto; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); grid-auto-flow: column; gap: 10px; }
  .tick { width: 22px; height: 12px; }
  .tick::after { right: 3px; width: 16px; height: 1.5px; top: 5px; }
  .tick.is-on::after { width: 16px; }
  .tick span { display: none; }
  .tick-sun { top: -10px; right: auto; left: calc(var(--u, 0) * (100% - 8px)); }
  .wa { right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); padding: 10px 14px 10px 11px; }
  .wa-l { display: none; } .wa-s { display: inline; }
  .facts { grid-template-columns: 1fr; gap: 10px; max-width: 300px; }
  .lap-only { display: none; }
  .words h2 { bottom: 96px; }
  .big { width: 72vw; }
}
.is-side .after { display: none; }
.is-side .track { position: absolute; top: 0; left: 0; height: 100%; display: flex; width: max-content; z-index: 5; will-change: transform; transform: translate3d(100vw, 0, 0); }
.is-side .track > section { flex: none; height: 100%; }
.is-side .real { display: flex; align-items: center; padding: 0; background: var(--mist); }
.is-side .real-h { flex: none; width: 100vw; margin: 0; padding: 0 28px; display: grid; align-content: center; height: 100%; }
.is-side .facts { grid-template-columns: 1fr; gap: 10px; max-width: 300px; margin-left: 0; }
.is-side .real-h { text-align: left; }
.is-side .rl { flex: none; width: auto; margin: 0 6vw 0 0; }
.is-side .rl img:not(.deco) { width: 86vw; height: 64vh; height: 64svh; object-fit: cover; max-width: none; }
.is-side .hp, .is-side .ct { width: 100vw; display: grid; align-content: center; padding: 0 28px; min-height: 0; }
.is-side .hp blockquote { font-size: 27px; }
body.is-side { overscroll-behavior-x: none; }
@media (prefers-reduced-motion: reduce) { .hint i, .snd.is-on i { animation: none; } }

/* the door opens on the place itself: the gate painting behind it, the real wordmark */
.zr-enter { background: linear-gradient(rgba(31, 13, 20, .72), rgba(31, 13, 20, .82)), url(../assets/kit/s1-gate.webp) center 40% / cover no-repeat, var(--ink); }
.zr-enter-logo { width: min(56vw, 200px); }

/* the painted frame round each real image (js/deco.js): one cluster per image, in the margin, never over the image or its caption */
.rl { position: relative; }
.rl img:not(.deco) { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; pointer-events: none; height: auto; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite alternate; transition: opacity 1s .4s; opacity: 0; }
.rl.is-in .deco { opacity: 1; }
.d-bl { left: -11%; bottom: 8%; width: 12%; transform: translateY(calc(var(--dv, 0px) * -.6)); }
.d-br { right: -11%; bottom: 8%; width: 12%; transform: translateY(calc(var(--dv, 0px) * -.6)); }
.d-tl { left: -10%; top: 4%; width: 11%; transform: translateY(calc(var(--dv, 0px) * .4)); }
.d-tr { right: -10%; top: 4%; width: 11%; transform: translateY(calc(var(--dv, 0px) * .4)); }
@keyframes sway { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }
.is-side .deco { display: none; }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }

/* a soft shade under the header over the story, so the wordmark never sits on a tree crown */
.hd::before { content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; background: linear-gradient(rgba(31, 13, 20, .38), rgba(31, 13, 20, 0)); transition: opacity .5s; pointer-events: none; }
.hd-ink .hd::before, .hd-frost .hd::before { opacity: 0; }

/* the claim before the real images (Karan, 31 Oct: "Handcrafted ... the main thing ... NOT AI Generated") */
.real-h { max-width: 980px; }
.noai { display: inline-block; margin: 0 0 26px; }
.noai span { display: inline-block; padding: 9px 18px; border: 1.5px solid #e0452b; border-radius: 999px; color: #e0452b; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-2deg); }
.real-h h2.hc { font-size: clamp(48px, 8vw, 128px); font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.hpad-link { position: relative; color: inherit; text-decoration: none; font-weight: 500; transition: color .35s ease; }
.hpad-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.06em; height: .06em; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.hpad-link:hover, .hpad-link:focus-visible { color: #e0452b; outline: 0; }
.hpad-link:hover::after, .hpad-link:focus-visible::after { transform: scaleX(1); }
.real-h .note { font-size: 18px; max-width: 40ch; opacity: .82; }

/* the master plan, narrated (js/plan.js): a laptop scrolls down through it, a phone travels across it */
.mp { position: relative; height: 900vh; background: #efe7d6; }
.mp-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.mp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mp-step { position: absolute; left: clamp(20px, 5vw, 80px); bottom: clamp(36px, 9vh, 110px); max-width: 420px; padding: 22px 26px; border-radius: 18px;
  background: rgba(255, 250, 238, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #1c2266; box-shadow: 0 10px 40px rgba(60, 40, 20, .12);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.mp-step.is-on { opacity: 1; transform: none; }
.mp-step h3 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.01em; }
.mp-step p { margin: 0; font-size: 16px; line-height: 1.5; }
.mp-step h3::before { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0 12px 4px 0; border-radius: 50%; background: #e0452b; }
.is-side .mp { height: 100%; width: 900vw; }
.is-side .mp-stage { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; }
.is-side .mp-step { left: 16px; right: 16px; bottom: 90px; max-width: none; }

/* HPAD type: titles and labels in Oxygen Mono capitals, reading in Kumbh Sans */
.words .k, .real-h h2, .mp-step h3, .ct h2, .big, .vh-h, .eyebrow, .hd-nav, .tick span, .rl figcaption, .noai span, .vh-eyebrow, .vh-cap, .hint {
  font-family: 'Oxygen Mono', ui-monospace, monospace; text-transform: uppercase; font-weight: 400; }
.words .k { font-size: clamp(30px, 4.6vw, 72px); letter-spacing: .04em; }
.real-h h2.hc { font-size: clamp(36px, 6vw, 96px); letter-spacing: .02em; }
.mp-step h3 { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: .04em; }
.ct h2 { font-size: clamp(24px, 3.2vw, 46px); letter-spacing: .03em; }
.hp blockquote, .words .l, .note, .ct-l, .mp-step p, .vh-l { font-family: 'Kumbh Sans', system-ui, sans-serif; }

/* the hook: your own villa, in 3D (js/villa.js) */
.vh { position: relative; height: 700vh; background: #f6d9a4; }
.vh-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.vh-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.vh-hook { position: absolute; left: clamp(20px, 5vw, 80px); top: calc(env(safe-area-inset-top, 0px) + 13vh); max-width: 560px; color: #1c2266; z-index: 2; padding: 30px 34px; border-radius: 22px; background: rgba(255, 248, 232, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 50px rgba(80, 40, 10, .18); }
.vh-eyebrow { font-size: 12px; letter-spacing: .2em; margin: 0 0 18px; color: #c2412b; }
.vh-h { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: .01em; margin: 0 0 18px; }
.vh-l { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; margin: 0 0 26px; max-width: 30ch; }
.vh-ask { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #e0452b; color: #fff8e6; text-decoration: none; font-weight: 500; box-shadow: 0 8px 24px rgba(160, 40, 20, .25); transition: transform .3s, background .3s; }
.vh-ask:hover { transform: translateY(-2px); background: #c93a22; }
.vh-hint { margin: 30px 0 0; font-size: 13px; line-height: 1.5; max-width: 34ch; opacity: .8; display: flex; gap: 10px; align-items: flex-start; }
.vh-hint::before { content: ''; flex: none; width: 16px; height: 24px; margin-top: 2px; border: 1.5px solid currentColor; border-radius: 9px; background: radial-gradient(circle at 50% 30%, currentColor 2px, transparent 3px); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 6px; } }
.vh-cap { position: absolute; left: 50%; bottom: 10vh; transform: translate(-50%, 10px); margin: 0; padding: 12px 22px; border-radius: 999px; background: rgba(28, 34, 102, .72); color: #fff8e6; font-size: 13px; letter-spacing: .14em; opacity: 0; transition: opacity .5s, transform .6s; white-space: nowrap; }
.vh-cap.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-aspect-ratio: 9/10) { .vh-hook { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); left: 14px; right: 14px; padding: 22px 22px; } .vh-h { font-size: 24px; } .vh-l { font-size: 16px; margin-bottom: 18px; } .vh-hint { margin-top: 18px; } }

.in-villa .ticks, .in-villa .wa { opacity: 0 !important; pointer-events: none; }

/* the hook now opens the story (over the morning painting) */
.stage .vh-hook { z-index: 6; }
/* the sample villa after the contact: a small tag, no hook */
.vh-tag { position: absolute; left: clamp(20px, 5vw, 80px); top: calc(env(safe-area-inset-top, 0px) + 12vh); z-index: 2; color: #1c2266; padding: 20px 26px; border-radius: 18px; background: rgba(255, 248, 232, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vh-tag .vh-eyebrow { margin: 0 0 8px; }
.vh-tl { margin: 0; font-size: 17px; }
.is-side .vh { height: 100%; width: 700vw; }
.is-side .vh-stage { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; }
.is-side .ints .rl { margin-right: 6vw; }

/* a place on the plan: a fine leader line rises from it to a small label tag (no rings) */
.mp-pin { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s; }
.mp-pin.is-on { opacity: 1; }
.mp-pin i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff8e6; box-shadow: 0 0 0 2px #1c2266; }
.mp-pin i::after { content: ''; position: absolute; left: 3px; bottom: 6px; width: 1.5px; height: 64px; background: #1c2266; transform-origin: bottom; transform: scaleY(0); transition: transform .6s cubic-bezier(.2,.8,.2,1) .1s; }
.mp-pin.is-on i::after { transform: scaleY(1); }
.mp-pin b { position: absolute; left: -2px; top: -104px; white-space: nowrap; padding: 9px 14px; border-radius: 4px; background: #fff8e6; color: #1c2266; font: 400 12px/1 'Oxygen Mono', monospace; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(28, 24, 60, .18);
  opacity: 0; transform: translateY(8px); transition: opacity .4s .45s, transform .5s cubic-bezier(.2,.8,.2,1) .45s; }
.mp-pin.is-on b { opacity: 1; transform: none; }

/* the hook sits on the painted sky itself, a soft ink shade behind it, no card (round 8) */
.stage .vh-hook { background: radial-gradient(ellipse at 30% 45%, rgba(20, 14, 50, .55), rgba(20, 14, 50, 0) 72%); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff8e6; padding: 40px 48px 44px; border-radius: 0; }
.stage .vh-hook .vh-h { text-shadow: 0 2px 22px rgba(20, 14, 50, .5); }
.stage .vh-hook .vh-eyebrow { color: #ffcf5a; }
.stage .vh-hook .vh-hint { opacity: .9; }

/* narration set into the picture (as on the Tatva and Monkey Forest sites): no cards, a mono label, one short line,
   letters rising in, a soft shade only where the words sit */
.mp-step { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; color: #fff8e6; max-width: 460px; }
.mp-step::before { content: ''; position: absolute; inset: -60px -90px -50px -60px; z-index: -1; background: radial-gradient(ellipse at 30% 60%, rgba(20, 14, 50, .62), rgba(20, 14, 50, 0) 70%); }
.mp-step h3 { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .06em; margin-bottom: 12px; }
.mp-step h3::before { display: none; }
.mp-step p { font-size: 16px; line-height: 1.55; opacity: .92; max-width: 34ch; }
.mp-step h3, .mp-step p { transform: translateY(14px); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .7s; }
.mp-step.is-on h3 { transform: none; opacity: 1; }
.mp-step.is-on p { transform: none; opacity: .92; transition-delay: .15s; }
.mp-step::after { content: ''; display: block; width: 44px; height: 2px; margin-top: 18px; background: #ffcf5a; transform: scaleX(0); transform-origin: left; transition: transform .7s .3s cubic-bezier(.2,.8,.2,1); }
.mp-step.is-on::after { transform: scaleX(1); }
.words .k { text-shadow: 0 2px 30px rgba(20, 14, 50, .45); }
.words h2::after { content: ''; display: block; width: 44px; height: 2px; margin-top: 18px; background: #ffcf5a; transform: scaleX(0); transform-origin: left; transition: transform .7s .35s cubic-bezier(.2,.8,.2,1); }
.words h2.is-on::after { transform: scaleX(1); }
.words h2.up::after { margin-left: auto; margin-right: auto; transform-origin: center; }

.vh-tag { max-width: 520px; padding: 28px 32px; }
.vh-tag .vh-h { font-size: clamp(24px, 2.8vw, 40px); margin: 0 0 12px; }
.vh-tag .vh-tl { margin: 0 0 20px; }

/* the turn into the real renders: one line on the painted dawn, the plants and the balloon still moving */
.real-h.rr { position: relative; max-width: none; margin: 0 0 10vh; min-height: 92vh; display: grid; place-items: center; overflow: hidden;
  background: url(../assets/kit/fin-sky-full.webp) center / cover no-repeat; }
.rr-h { position: relative; z-index: 2; margin: 0; padding: 0 6vw; text-align: center; color: #1c2266; font-size: clamp(34px, 6.4vw, 104px) !important; line-height: 1.05; letter-spacing: .02em; }
.rr-h span { display: block; margin-top: 18px; font-size: clamp(14px, 1.4vw, 20px); letter-spacing: .24em; color: #c2412b; }
.rr-art img { position: absolute; z-index: 1; height: auto; pointer-events: none; }
.rr-l { left: -2%; bottom: -2%; width: 30%; transform-origin: 0 100%; animation: sway 7s ease-in-out infinite alternate; }
.rr-r { right: -2%; bottom: -2%; width: 30%; transform-origin: 100% 100%; animation: sway 8s ease-in-out infinite alternate-reverse; }
.rr-b { top: 12%; left: 0; width: 6%; animation: drift 40s linear infinite; }
.is-side .real-h.rr { width: 100vw; min-height: 0; height: 100%; }
@media (prefers-reduced-motion: reduce) { .rr-art img { animation: none; } }

/* contact in three layers (Karan): the painted fields behind, the cyclist in the middle, flowers in front of her */
.ct .pl { z-index: 0; }
.ct-ride { z-index: 1; bottom: 12%; width: 12%; }
.ct-front { position: absolute; z-index: 2; height: auto; pointer-events: none; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
.ct-fl { left: -3%; bottom: -3%; width: 34%; }
.ct-fr { right: -3%; bottom: -3%; width: 32%; animation-direction: alternate-reverse; }
.ct-fm { left: 40%; bottom: -6%; width: 18%; animation-duration: 8s; }
.ct-t { z-index: 3; }
.ct-balloon { top: 4%; width: 5%; z-index: 0; }

/* the door: a painted dawn (HPAD Mallard, ChatGPT), one for a laptop and one for a phone held upright */
.zr-enter { background: linear-gradient(rgba(31, 13, 20, .18), rgba(31, 13, 20, .32)), url(../assets/kit/enter-land.webp?v=2) center / cover no-repeat, #1F0D14 !important; }
@media (max-aspect-ratio: 9/10) { .zr-enter { background: linear-gradient(rgba(31, 13, 20, .18), rgba(31, 13, 20, .32)), url(../assets/kit/enter-port.webp?v=2) center / cover no-repeat, #1F0D14 !important; } }
.zr-enter-b { background: rgba(31, 13, 20, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* the three lines and the hands */
.real-h.rr { min-height: 0; height: 260vh; display: block; overflow: visible; background: none; }
.rr-in, .rr-art { position: sticky; top: 0; height: 100vh; height: 100svh; }
.rr-art { position: absolute; inset: 0; height: auto; overflow: hidden; background: url(../assets/kit/fin-sky-full.webp) center / cover no-repeat; }
.rr-in { display: grid; align-content: center; justify-items: center; gap: 2.2vh; z-index: 2; color: #1c2266; text-align: center; padding: 0 5vw; }
.rr-in p { margin: 0; display: flex; align-items: center; gap: 2vw; font-family: 'Oxygen Mono', monospace; text-transform: uppercase; letter-spacing: .03em; line-height: 1.05;
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s, transform 1s cubic-bezier(.2,.8,.2,1); }
.rr-in p.is-on { opacity: 1; transform: none; }
.rr-1 { font-size: clamp(30px, 5.4vw, 88px); font-weight: 700; -webkit-text-stroke: .5px currentColor; }
.rr-2 { font-size: clamp(36px, 6.6vw, 110px); font-weight: 700; -webkit-text-stroke: 1.6px currentColor; color: #c2412b; }
.rr-3 { font-size: clamp(18px, 2.4vw, 38px); font-weight: 400; -webkit-text-stroke: .4px currentColor; }
.rr-h { height: clamp(60px, 9vw, 150px); width: auto; transform: rotate(-6deg); }
.rr-2.is-on .rr-pen { animation: draw 1.6s ease-in-out infinite alternate; } .rr-2.is-on .rr-mouse { animation: click 1.2s ease-in-out infinite; }
@keyframes draw { from { transform: rotate(-8deg) translateX(-6px); } to { transform: rotate(-2deg) translateX(10px); } }
@keyframes click { 0%, 70%, 100% { transform: rotate(4deg) translateY(0); } 80% { transform: rotate(4deg) translateY(4px); } }
.rr-robot { position: relative; display: inline-block; }
.rr-robot img { height: clamp(44px, 6vw, 100px); width: auto; filter: grayscale(.3); opacity: .85; }
.rr-robot i { position: absolute; left: -8%; right: -8%; top: 50%; height: 5px; background: #e0452b; border-radius: 3px; transform: rotate(-18deg) scaleX(0); transition: transform .6s .5s cubic-bezier(.2,.8,.2,1); }
.rr-robot::after { content: ''; position: absolute; inset: -14%; border: 4px solid #e0452b; border-radius: 50%; transform: scale(.4); opacity: 0; transition: transform .5s .3s, opacity .5s .3s; }
.rr-3.is-on .rr-robot i { transform: rotate(-18deg) scaleX(1); }
.rr-3.is-on .rr-robot::after { transform: none; opacity: 1; }
.is-side .real-h.rr { height: 100%; width: 100vw; }
.is-side .rr-in, .is-side .rr-art { position: absolute; inset: 0; height: 100%; }
@media (max-aspect-ratio: 9/10) { .rr-in p { flex-wrap: wrap; justify-content: center; } }
.rr-in p span { white-space: nowrap; }
.rr-2 { font-size: clamp(30px, 5.2vw, 92px); }
@media (max-aspect-ratio: 9/10) { .rr-in p span { white-space: normal; } .rr-2 { font-size: 34px; } .rr-1 { font-size: 28px; } .rr-h { height: 56px; } }

/* Hiren Patel's words before the renders */
.real-h.rr { height: 520vh; }
.rr-in { grid-template-areas: 'x'; }
.rr-in p { grid-area: x; }
.rr-in p[data-g="a"] { max-width: 22ch; justify-content: center; font-family: 'Kumbh Sans', sans-serif; text-transform: none; font-size: clamp(24px, 3.2vw, 48px); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.rr-in p.rr-who { max-width: none; gap: 22px; text-align: left; font-size: 17px; }
.rr-who img { width: clamp(84px, 9vw, 130px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 30px rgba(28, 24, 60, .25); }
.rr-who b { display: block; font: 400 clamp(20px, 2vw, 30px)/1.2 'Oxygen Mono', monospace; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.rr-who span { max-width: 30ch; }
.rr-in p[data-g="a"].is-on ~ p[data-g="a"].is-on { }
.rr-in { position: sticky; }
.rr-in > p[data-g="a"] { position: relative; }
.on-b .rr-in p[data-g="b"] { grid-area: auto; }
.rr-in { grid-template-areas: none; }
.rr-in p[data-g="a"] { grid-area: auto; }

/* Hiren's words: one at a time, in one place; the render lines stack below each other */
.rr-in { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: center; justify-items: center; }
.rr-in > p[data-g="a"] { grid-row: 1 / span 3; grid-column: 1; align-self: center; }
.rr-in > .rr-1 { grid-row: 1; } .rr-in > .rr-2 { grid-row: 2; } .rr-in > .rr-3 { grid-row: 3; }

/* type that belongs to the painting, not a template (impeccable): no mono title + sans line + gold rule stack.
   A small mono time label, then the line itself, large and light, as the voice of the picture */
.words h2::after, .mp-step::after { display: none !important; }
.words .k { font-size: 12px !important; letter-spacing: .32em !important; text-shadow: 0 1px 10px rgba(20, 14, 50, .5); }
.words .is-on .k { opacity: .85; }
.words .l { margin-top: 14px; max-width: 17ch; font-family: 'Kumbh Sans', sans-serif; font-weight: 300; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.01em; text-shadow: 0 2px 26px rgba(20, 14, 50, .45); }
.words .is-on .l { opacity: 1; }
.mp-step h3 { font-size: 12px !important; letter-spacing: .3em !important; opacity: .85; margin-bottom: 12px; }
.mp-step p { font-size: clamp(22px, 2.4vw, 36px) !important; font-weight: 300; line-height: 1.18; max-width: 20ch !important; }

.rr-in > p[data-g="a"] { display: block; width: min(900px, 86vw); max-width: none !important; justify-self: center; text-align: center; white-space: normal; }
.rr-in > p.rr-who { display: flex; justify-content: center; text-align: left; }

.rr-in { grid-template-columns: minmax(0, 1fr) !important; width: 100%; box-sizing: border-box; left: 0; right: 0; }
.rr-in > p { min-width: 0; max-width: 100%; }
.rr-who b { margin: 0; }
/* one column, three rows: the quotes share all three rows, the three lines take one each (no named areas left over) */
.real-h.rr .rr-in > p { grid-area: auto; grid-column: 1 / 2; }
.real-h.rr .rr-in > p[data-g="a"] { grid-row: 1 / 4; }
.real-h.rr .rr-in > .rr-1 { grid-row: 1 / 2; } .real-h.rr .rr-in > .rr-2 { grid-row: 2 / 3; } .real-h.rr .rr-in > .rr-3 { grid-row: 3 / 4; }
/* the hands, ChatGPT's own frames (31 Oct): the pencil draws, the finger clicks, the robot hand is struck out by a painted brush mark */
.flip { position: relative; display: inline-block; transform: none !important; animation: none !important; }
.flip img { display: block; height: 100%; width: auto; }
.flip img + img { position: absolute; left: 0; top: 0; }
.flip img:not(.on) { visibility: hidden; }
.flip img:first-child:not(.on) { visibility: hidden; }
.rr-in .rr-pen { height: clamp(84px, 10.5vw, 170px); } .rr-in .rr-mouse { height: clamp(56px, 6.4vw, 104px); }
.rr-robot { display: inline-block; position: relative; }
.rr-robot img { height: clamp(48px, 6vw, 96px); width: auto; filter: none; opacity: 1; display: block; }
.rr-robot::after, .rr-robot i { display: none !important; }
.rr-robot .rr-no { position: absolute; left: 50%; top: 50%; height: 150%; width: auto; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path .7s .45s cubic-bezier(.6,0,.3,1), opacity .2s .45s, transform .7s .45s cubic-bezier(.2,.8,.2,1); }
.rr-3.is-on .rr-robot .rr-no { opacity: 1; clip-path: inset(0 0 0 0); transform: translate(-50%, -50%) scale(1); }
/* the sample villa as one evening walk (31 Oct): a long scroll; at the end the stars, one grows, Zen Rising */
.vh { height: 1100vh; background: #141a46; } .is-side .vh { width: 1100vw; }
.vh-night { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; overflow: hidden; --g: 0; }
.vn-sky { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; transform: scale(calc(1.08 - var(--g) * .06)); }
.vn-s { position: absolute; left: var(--x); top: var(--y); width: clamp(18px, 2.2vw, 34px); transform: translate(-50%, -50%); animation: vnTw var(--d) ease-in-out infinite alternate; opacity: calc(1 - var(--g) * .5); }
@keyframes vnTw { from { transform: translate(-50%, -50%) scale(.8) rotate(-6deg); opacity: .6; } to { transform: translate(-50%, -50%) scale(1.1) rotate(6deg); opacity: 1; } }
.vn-big { position: absolute; left: calc(64% - var(--g) * 14%); top: calc(30% + var(--g) * 6%); width: clamp(110px, 13vw, 210px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(calc(.16 + var(--g) * .9)) rotate(calc(var(--g) * 45deg)); }
.vn-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vn-big .tw { animation: vnBig 1.4s steps(1) infinite; }
@keyframes vnBig { 0% { opacity: 0; } 50% { opacity: 1; } }
.vn-logo { position: absolute; left: 50%; top: 58%; width: min(560px, 74vw); aspect-ratio: 6.9; transform: translate(-50%, -50%) translateY(18px) scale(.94); opacity: 0;
  background: #fdf6e3; -webkit-mask: url(../assets/zen-rising-ink.svg) center / contain no-repeat; mask: url(../assets/zen-rising-ink.svg) center / contain no-repeat;
  transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.vh-night.is-logo .vn-logo { opacity: 1; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .vn-s, .vn-big .tw { animation: none; } }
/* round 9 (31 Oct) */
.mp-step::before { inset: -22px -28px; border-radius: 18px; background: rgba(24, 20, 58, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 14px 40px rgba(10, 8, 30, .3); }
.is-side .mp-step::before { inset: -16px -18px; }
.intro { position: absolute; left: clamp(20px, 6vw, 96px); bottom: clamp(64px, 12vh, 140px); margin: 0; z-index: 5; color: #fff8e6; pointer-events: none; text-shadow: 0 2px 22px rgba(20, 14, 50, .55); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.intro-k { display: block; font: 400 13px/1 'Oxygen Mono', monospace; letter-spacing: .32em; text-transform: uppercase; }
.intro-l { display: block; margin-top: 14px; max-width: 18ch; font: 300 clamp(28px, 3.6vw, 56px)/1.12 'Kumbh Sans', sans-serif; letter-spacing: -.01em; }
.past-intro .intro { opacity: 0; transform: translateY(-20px); }
@media (max-aspect-ratio: 9/10) { .intro { bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); left: 20px; right: 20px; } .intro-l { font-size: 30px; } }
.words .k { font-size: 13px !important; } .words .is-on .k { opacity: 1 !important; }
.words h2.hi { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 13vh); }
.words h2.hi::before { content: ''; position: absolute; inset: -40% -20% -40% -12%; z-index: -1; background: radial-gradient(closest-side, rgba(31, 13, 20, .3), rgba(31, 13, 20, 0)); }
.real-h.rr { height: 340vh; }
.rr-1, .rr-2, .rr-3 { font-weight: 400 !important; -webkit-text-stroke: 0 !important; }
.rr-1 { font-size: clamp(26px, 4.2vw, 68px) !important; letter-spacing: .02em; }
.rr-2 { font-size: clamp(34px, 6.4vw, 104px) !important; gap: .4vw !important; }
.rr-3 { font-size: clamp(16px, 1.9vw, 30px) !important; letter-spacing: .08em; }
.rr-last { display: flex !important; flex-direction: column; align-items: center; gap: 26px; }
.rr-by { display: inline-flex; align-items: center; gap: 14px; font: 400 clamp(14px, 1.2vw, 18px)/1 'Oxygen Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.rr-by img { width: clamp(56px, 5vw, 76px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 6px 22px rgba(28, 24, 60, .25); }
.rr-by b { font-weight: 400; }
.hd-clear .hd { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
/* round 10 (1 Nov) */
.mp-step { z-index: 1; isolation: isolate; }
.rr-in .rr-qt { display: block; white-space: normal !important; max-width: 24ch; }
.vh { height: 800vh; } .is-side .vh { width: 800vw; }
/* 1 Nov, Karan: the real renders are full pictures, edge to edge, like the painted pages before them (no small framed image) */
.real .rl { width: 100vw; max-width: none; height: 100vh; height: 100svh; margin: 0; position: relative; overflow: hidden; }
.real .rl img:not(.deco) { width: 100%; height: 100%; object-fit: cover; border-radius: 0; clip-path: inset(0 0 0 0); transform: scale(1.06); }
.real .rl.is-in img:not(.deco) { transform: scale(1); clip-path: inset(0 0 0 0); }
.real .rl figcaption { position: absolute; z-index: 3; left: clamp(16px, 4vw, 56px); bottom: clamp(24px, 6vh, 64px); margin: 0; padding: 12px 20px; border-radius: 999px; color: #fff8e6; font-size: 12px;
  background: linear-gradient(120deg, rgba(44, 58, 140, .42), rgba(26, 163, 154, .32)); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px rgba(20, 14, 50, .25); }
.real .rl.is-in figcaption { opacity: 1; }
.real .rl .deco { display: none; }
.real { padding: 0; }
.is-side .real .rl { width: 100vw; height: 100%; margin: 0; }
.is-side .real .rl img:not(.deco) { width: 100vw; height: 100%; }
/* the plan narration on liquid glass in Mallard's own colours (ultramarine into teal), not a flat purple plate */
.mp-step::before { background: linear-gradient(135deg, rgba(44, 58, 140, .58), rgba(31, 122, 90, .46) 60%, rgba(26, 163, 154, .42)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.7) !important; backdrop-filter: blur(18px) saturate(1.7) !important; border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 18px 44px rgba(20, 14, 50, .28) !important; }
.mp-step { text-shadow: 0 1px 14px rgba(20, 14, 50, .35); }
.vh { height: 870vh; } .is-side .vh { width: 870vw; }
.intro-l { max-width: 27ch; font-size: clamp(22px, 2.5vw, 38px); }
@media (max-aspect-ratio: 9/10) { .intro-l { font-size: 22px; max-width: 24ch; } }
/* Hiren's quotes hand over cleanly: the old one leaves before the new one arrives (no two lines on top of each other) */
.rr-in > p[data-g="a"] { transition: opacity .28s ease-in, transform .4s ease-in !important; }
.rr-in > p[data-g="a"].is-on { transition: opacity .7s .34s ease-out, transform .9s .34s cubic-bezier(.2,.8,.2,1) !important; }
/* the cancel, by hand (Karan, 1 Nov): ChatGPT's painted hand with a red pencil crosses the robot hand out, stroke by stroke */
.rr-robot .rr-no { display: none !important; }
.rr-x { position: absolute; left: 50%; top: 50%; width: 125%; aspect-ratio: 264 / 279; transform: translate(-50%, -50%); pointer-events: none; --a: 0; --b: 0; }
.rr-x img.x1, .rr-x img.x2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.rr-x img.x1 { -webkit-mask: linear-gradient(45deg, transparent 38%, #000 38%, #000 62%, transparent 62%), linear-gradient(135deg, #000 calc(var(--a) * 100%), transparent calc(var(--a) * 100%)); -webkit-mask-composite: source-in; mask: linear-gradient(45deg, transparent 38%, #000 38%, #000 62%, transparent 62%), linear-gradient(135deg, #000 calc(var(--a) * 100%), transparent calc(var(--a) * 100%)); mask-composite: intersect; }
.rr-x img.x2 { -webkit-mask: linear-gradient(135deg, transparent 36%, #000 36%, #000 64%, transparent 64%), linear-gradient(225deg, #000 calc(var(--b) * 100%), transparent calc(var(--b) * 100%)); -webkit-mask-composite: source-in; mask: linear-gradient(135deg, transparent 36%, #000 36%, #000 64%, transparent 64%), linear-gradient(225deg, #000 calc(var(--b) * 100%), transparent calc(var(--b) * 100%)); mask-composite: intersect; }
.rr-pen2 { position: absolute; left: 0; top: 0; width: 107%; height: auto; transform-origin: 2% 96%; opacity: 0; transition: opacity .25s; }
.rr-x.drawing .rr-pen2 { opacity: 1; }
/* the AI renders, with a wink (Karan, 1 Nov): after "by HPAD hands", the robotic hands of HPAD Visions; a happy painted robot */
.real-h.ai { position: relative; height: 100vh; height: 100svh; margin: 0; max-width: none; display: grid; place-items: center; overflow: hidden; text-align: center; color: #1c2266;
  background: url(../assets/kit/fin-sky-full.webp) center / cover no-repeat; }
.ai-art img { position: absolute; bottom: 0; height: 52%; width: auto; pointer-events: none; } .ai-art .ai-l { left: 0; } .ai-art .ai-r { right: 0; }
.ai-in { position: relative; z-index: 2; padding: 0 6vw; max-width: 1000px; }
.ai-bot { position: relative; display: inline-block; width: clamp(110px, 12vw, 180px); aspect-ratio: 1; margin-bottom: 18px; animation: aiBob 2.6s ease-in-out infinite; }
.ai-bot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; } .ai-bot .b2 { animation: aiWink 3.2s steps(1) infinite; }
@keyframes aiBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes aiWink { 0%, 70% { opacity: 1; } 71%, 86% { opacity: 0; } 87%, 100% { opacity: 1; } }
.ai-k { margin: 0 0 14px; font: 400 13px/1 'Oxygen Mono', monospace; letter-spacing: .32em; text-transform: uppercase; }
.ai-l1 { margin: 6px 0; font: 300 clamp(17px, 1.5vw, 22px)/1.4 'Kumbh Sans', sans-serif; }
.ai-l1 a { color: #c2412b; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: color .3s; } .ai-l1 a:hover { color: #1aa39a; }
.ai-big { margin: 26px auto 0; max-width: 24ch; font: 400 clamp(26px, 3.4vw, 50px)/1.15 'Oxygen Mono', monospace; text-transform: uppercase; letter-spacing: .01em; }
.real-h.ai > * { opacity: 1 !important; transform: none !important; }
/* the interiors: each render pins full screen and the next slides over it, a stack of rooms */
.ints .rl { position: sticky; top: 0; box-shadow: 0 -30px 60px rgba(20, 14, 50, .18); }
.is-side .ints .rl { position: relative; box-shadow: none; }
.is-side .real-h.ai { width: 100vw; height: 100%; flex: none; }
.ai-big { max-width: 34ch; font-size: clamp(20px, 2.3vw, 34px); line-height: 1.2; }
/* the Zen Rising type (Karan, 1 Nov: "I love the fonts"): the logo's own letters for every heading; Caviar Dreams, capitals,
   thin, for everything else */
@font-face { font-family: 'Zen Rising Type'; src: url(../assets/fonts/ZenRisingType-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Caviar Dreams'; src: url(../assets/fonts/CaviarDreams.woff2) format('woff2'); font-weight: 300; font-display: swap; }
body, body *:not(svg):not(path) { font-family: 'Caviar Dreams', 'Kumbh Sans', sans-serif !important; text-transform: uppercase !important; font-weight: 300 !important; -webkit-text-stroke: 0 !important; }
h1, h2, h3, .words .l, .intro-l, .rr-1, .rr-2, .rr-3, .rr-q, .rr-qt, .ai-big, .vh-h, .ct h2, .mp-step h3, .rr-by b, .hd-logo, .big {
  font-family: 'Zen Rising Type', 'Jost', sans-serif !important; font-weight: 300 !important; letter-spacing: .12em !important; }
.words .l, .intro-l, .rr-q, .rr-qt { letter-spacing: .08em !important; line-height: 1.22 !important; }
.words .k, .intro-k, .ai-k, .eyebrow, .vh-eyebrow, .hd-nav, .tick span, .rl figcaption, .vh-cap, .hint, .mp-pin b { letter-spacing: .28em !important; }
.mp-step p, .ai-l1, .ct-l, .vh-tl, .pill, .wa { letter-spacing: .1em !important; }
/* HPAD Mallard's own hands, robot hand, cross and robot (1 Nov) */
.rr-x { aspect-ratio: 362 / 400; width: 110%; }
.rr-pen2 { width: 150%; }
.rr-robot img:first-child { height: clamp(52px, 6.4vw, 104px); }
.vh { height: 975vh; } .is-side .vh { width: 975vw; }
.vh { height: 1040vh; } .is-side .vh { width: 1040vw; }
/* the plan's glass plate hugs its words (Karan, 1 Nov: "the liquid glass is completely stretched out") */
.mp-step { padding: 20px 24px 22px !important; max-width: min(440px, 84vw) !important; width: max-content; box-sizing: border-box; }
.mp-step::before { inset: 0 !important; border-radius: 18px !important; }
.is-side .mp-step, .mp-step { right: auto !important; }
@media (max-aspect-ratio: 9/10) { .mp-step { left: 16px !important; bottom: 96px !important; max-width: calc(100vw - 32px) !important; padding: 16px 18px 18px !important; } .mp-step p { font-size: 17px !important; } }
/* between the master plan and the 3D home: a Mallard night garden, the door open, the line (Karan, 1 Nov) */
.walkin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #151b4a; }
.walkin .wi-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s cubic-bezier(.2,.8,.2,1); }
.walkin.is-in .wi-art { transform: scale(1); }
.wi-t { position: absolute; left: 0; right: 0; top: 12vh; text-align: center; color: #fff8e6; padding: 0 6vw; text-shadow: 0 2px 26px rgba(10, 12, 40, .55); }
.wi-t .eyebrow { margin: 0 0 16px; font-size: 12px; color: #ffcf5a; }
.wi-t h2 { margin: 0; font-size: clamp(30px, 4.6vw, 70px); line-height: 1.12; }
.wi-t h2, .wi-t .eyebrow { opacity: 0; transform: translateY(18px); transition: opacity 1.1s .2s, transform 1.3s .2s cubic-bezier(.2,.8,.2,1); }
.walkin.is-in .wi-t h2, .walkin.is-in .wi-t .eyebrow { opacity: 1; transform: none; }
.is-side .walkin { flex: none; width: 100vw; height: 100%; }
/* impeccable polish, round 15 (1 Nov) */
/* 2. long sentences in Caviar Dreams; the cut display face stays for short headings */
.rr-q, .rr-qt, .ai-big { font-family: 'Caviar Dreams', sans-serif !important; letter-spacing: .06em !important; line-height: 1.32 !important; }
/* 1. the AI headline clears the plants: narrower, smaller, plants lower on phone */
.ai-big { max-width: 28ch !important; font-size: clamp(20px, 2.1vw, 32px) !important; }
@media (max-aspect-ratio: 9/10) { .ai-art img { height: 26% !important; } .ai-in { transform: translateY(-9vh); } .ai-big { font-size: 22px !important; } .ai-l1 { font-size: 15px !important; } }
/* 3. every chapter line gets the soft ink shade the morning line has */
.words h2::before { content: ''; position: absolute; inset: -34% -14% -34% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(20, 14, 50, .36), rgba(20, 14, 50, 0)); opacity: 0; transition: opacity .8s; pointer-events: none; }
.words h2.is-on::before { opacity: 1; }
/* 4. one glass: deep ink-blue, for the plan plates and the render captions */
.mp-step::before, .real .rl figcaption { background: linear-gradient(135deg, rgba(22, 26, 72, .78), rgba(24, 58, 72, .7)) !important; -webkit-backdrop-filter: blur(16px) saturate(1.5) !important; backdrop-filter: blur(16px) saturate(1.5) !important; border: 1px solid rgba(255, 255, 255, .22) !important; }
.real .rl figcaption { color: #fff8e6 !important; }
/* 5. phone captions at the top, clear of the Riya button */
@media (max-aspect-ratio: 9/10) { .real .rl figcaption { top: calc(env(safe-area-inset-top, 0px) + 64px); bottom: auto !important; left: 16px; } }
/* 6-8. contact: stronger buttons, navy label, links on the sky, a readable sub-line */
.ct .pill { background: #b8321c !important; color: #fff8e6 !important; }
.ct .eyebrow { color: #1c2266 !important; }
.ct-l { font-size: 18px !important; }
.ct-t { position: relative; z-index: 3; transform: translateY(-6vh); }
.ct-s a { background: rgba(255, 248, 236, .8); padding: 6px 12px; border-radius: 999px; }
/* 9. Hiren's name, said clearly */
.rr-by { font-size: 16px !important; } .rr-by img { width: 72px !important; }
/* 10. each interior lands on the last: a shadow and a rounded top */
.ints .rl { border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -24px 60px rgba(10, 8, 30, .35) !important; }
/* 11. the walk-in holds one screen and a half, the plate drifting slowly */
.walkin { height: 160vh !important; } .walkin .wi-art { position: sticky !important; top: 0; height: 100vh !important; animation: wiDrift 18s ease-in-out infinite alternate; }
.walkin > picture { display: block; position: sticky; top: 0; height: 100vh; overflow: hidden; } .walkin .wi-t { position: absolute; top: 12vh; }
@keyframes wiDrift { from { transform: scale(1.02) translateX(-1%); } to { transform: scale(1.08) translateX(1%); } }
.is-side .walkin { height: 100% !important; } .is-side .walkin > picture { height: 100%; }
@media (prefers-reduced-motion: reduce) { .walkin .wi-art { animation: none; } }
/* 14. a heading for the plan */
.vh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wi-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.walkin > .wi-pin > picture { position: static; height: auto; }
.walkin .wi-art { position: absolute !important; inset: 0; width: 100%; height: 100% !important; }
.is-side .wi-pin { position: absolute; inset: 0; height: 100%; }
/* the end: night into day, the painted sun rising, Zen Rising at the foot (Karan, 1 Nov) */
.vh-night { --d: 0; --s: 0; }
.vn-day { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--d); }
.vn-s { opacity: calc(1 - var(--d)) !important; }
.vn-sunwrap { position: absolute; left: 50%; top: calc(78% - var(--s) * 40%); width: clamp(110px, 12vw, 190px); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: var(--d); }
.vn-sun { width: 100%; height: 100%; object-fit: contain; animation: vnSun 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255, 170, 80, .55)); }
@keyframes vnSun { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.06) rotate(8deg); } }
.vn-logo { top: auto !important; bottom: 12vh; background: #1c2266 !important; }
@media (prefers-reduced-motion: reduce) { .vn-sun { animation: none; } }
/* the AI section, one line (Karan, 1 Nov) */
.ai-big { font-family: 'Zen Rising Type', sans-serif !important; font-size: clamp(26px, 3.4vw, 54px) !important; max-width: 20ch !important; letter-spacing: .1em !important; line-height: 1.2 !important; margin-top: 18px !important; }
@media (max-aspect-ratio: 9/10) { .ai-big { font-size: 28px !important; } .ai-in { transform: none; } }
/* no liquid glass (Karan, 1 Nov: "off brand"): ChatGPT's painted Mallard plates, nine-sliced so the hand-cut corners and the cream
   inner line stay crisp at any size */
.mp-step::before { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; border: 0 !important;
  border-style: solid !important; border-image: url(../assets/kit/plates-02.webp) 80 fill / 28px stretch !important; border-radius: 0 !important; }
.real .rl figcaption { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important;
  border: 0 !important; border-style: solid !important; border-image: url(../assets/kit/plates-01.webp) 70 fill / 20px stretch !important; border-radius: 0 !important; padding: 12px 24px !important; }
.vh-cap { background: none !important; border-style: solid; border-image: url(../assets/kit/plates-01.webp) 70 fill / 18px stretch; border-radius: 0; padding: 12px 26px; }
/* the cross, one clean painted stroke pair wiped on (no doubled copies) */
.rr-x { width: 118% !important; aspect-ratio: 362 / 400 !important; }
.rr-x img.x1 { -webkit-mask: linear-gradient(135deg, #000 calc(var(--a) * 110% - 6%), transparent calc(var(--a) * 110% + 6%)) !important; mask: linear-gradient(135deg, #000 calc(var(--a) * 110% - 6%), transparent calc(var(--a) * 110% + 6%)) !important; -webkit-mask-composite: source-over !important; mask-composite: add !important; }
.rr-x img.x2 { display: none !important; }
.rr-pen2 { width: 120% !important; transform-origin: 4% 92%; }
.rr-robot .rr-x img.x1 { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain; }
.rr-robot .rr-x { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 135% !important; }
/* minimal, HPAD style (Karan, 1 Nov: "extremely minimal ... default it to the HPAD style"): flat deep-blue chips, square corners,
   small thin type; no painted plates, no glass */
.mp-step::before, .real .rl figcaption, .vh-cap { border-image: none !important; border: 0 !important; }
.mp-step { padding: 0 !important; max-width: min(320px, 80vw) !important; width: auto !important; text-shadow: none !important; }
.mp-step::before { inset: 0 !important; background: rgba(28, 34, 102, .9) !important; border-radius: 2px !important; }
.mp-step h3 { margin: 0 !important; padding: 12px 16px 0 !important; font-size: 10px !important; letter-spacing: .3em !important; opacity: .75 !important; }
.mp-step p { margin: 0 !important; padding: 6px 16px 14px !important; font-size: 15px !important; line-height: 1.4 !important; max-width: none !important; }
.real .rl figcaption, .vh-cap { background: #1c2266 !important; border-radius: 2px !important; padding: 8px 12px !important; font-size: 10px !important; letter-spacing: .26em !important; color: #fff8e6 !important; box-shadow: none !important; }
.mp-pin b { background: #1c2266 !important; color: #fff8e6 !important; border-radius: 2px !important; font-size: 10px !important; letter-spacing: .26em !important; padding: 6px 10px !important; box-shadow: none !important; }
@media (max-aspect-ratio: 9/10) { .mp-step p { font-size: 14px !important; } .mp-step { max-width: calc(100vw - 32px) !important; } }
.vh { height: 1560vh; } .is-side .vh { width: 1560vw; }
/* phone: the villa walk travels slowly (Karan, 1 Nov: "I jump to the next scene very, very fast") */
.is-side .vh { width: 3600vw !important; }
.vh { height: 1860vh; } .is-side .vh { width: 4300vw !important; }
.vh { height: 1560vh; } .is-side .vh { width: 3600vw !important; }
.ct .pill.pill-mail { background: #1c2266 !important; color: #fff8e6 !important; }
/* contact: email first, Riya the primary number, Nirav the secondary (Karan, 1 Nov) */
.ct .pill.pill-primary { background: #b8321c !important; color: #fff8e6 !important; }
.ct .pill.pill-second { background: transparent !important; color: #1c2266 !important; box-shadow: inset 0 0 0 1.5px #1c2266 !important; font-size: .9em; }
/* the Zen Rising logo, then HPAD, highlighted (Karan, 2 Nov) */
.hd-brand { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.hd-x { width: 1px; height: clamp(20px, 2.2vw, 28px); background: currentColor; opacity: .45; }
.hd-hpad { display: block; color: inherit; line-height: 0; transition: opacity .3s, transform .3s; }
.hd-hpad svg { display: block; height: clamp(22px, 2.4vw, 32px); width: auto; }
.hd-hpad:hover { opacity: .75; transform: translateY(-1px); }
@media (max-aspect-ratio: 9/10) { .hd-hpad svg { height: 20px; } .hd-x { height: 18px; } }
/* HPAD first; on hover or tap it turns HPAD purple */
.hd-hpad:hover, .hd-hpad:focus-visible, .hd-hpad:active { color: #8f6fb0; opacity: 1; }
/* the credit at the very end (Karan, 2 Nov) */
.ct-by { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 4; margin: 0; text-align: center; font-size: 11px; letter-spacing: .28em; }
.ct-by a { color: #1c2266; text-decoration: none; padding: 6px 12px; background: rgba(255, 248, 236, .82); border-radius: 2px; transition: color .3s; }
.ct-by a:hover, .ct-by a:focus-visible { color: #8f6fb0; }
@media (max-aspect-ratio: 9/10) { .ct-by { bottom: calc(env(safe-area-inset-bottom, 0px) + 76px); } }
.ct-by { position: static !important; margin: 26px 0 0 !important; }
/* the FINAL logo (Karan, 5 Nov 2026): the ORIGINAL Zen Rising letters with FARMLANDS below, paths unchanged from
   outputs/Zen/Zen Rising Assets/logos/zen-rising-farmlands (never live text). Every spot keeps the old wordmark frame
   (7115 units wide, ZEN RISING ink at 140,158), so ZEN RISING sits where and as big as before; FARMLANDS hangs below it.
   Header + door: inline svg, old 7115 x 1034 box, overflow visible. Moon to sun: assets/zen-rising-farmlands-small-navy.svg.
   Villa ending: the -white svg as a mask, 7115 x 1517 (4.69 : 1, was 6.9 : 1); bottom lowered by 1.5 x the extra height
   so ZEN RISING lands on the same line (the box is bottom-anchored, then translated up by half its height).
   5 Nov, later ("Yes, fix both"): every spot here is under 600 px, so all use the kit's SMALL-SIZE version
   (farmlands-small/: same layout, FARMLANDS stem 20 units instead of 6.5 so it reads at header size). */
.hd-logo svg, .zr-enter-logo svg { overflow: visible; }
.vn-logo { aspect-ratio: 4.6902; bottom: calc(12vh - min(57.36px, 7.5795vw));
  -webkit-mask: url(../assets/zen-rising-farmlands-small-white.svg?v=76) center / contain no-repeat; mask: url(../assets/zen-rising-farmlands-small-white.svg?v=76) center / contain no-repeat; }

/* ================================================================== the Fable 5.2 pass (15 Nov 2026): the finger
   Nothing looks different. The small controls keep their size and gain an unseen area to tap (44 px on phones); the
   smallest labels go from 10 to 11 px. */
.hd-logo, .hd-hpad, .snd, .tick, .ct-s a, .ct-by a { position: relative; }
.hd-logo::after, .hd-hpad::after, .snd::after, .ct-s a::after, .ct-by a::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.tick::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 30px; transform: translateY(-50%); }
@media (max-aspect-ratio: 9/10) { .tick::before { left: -5px; right: -5px; height: 44px; } }
.mp-step h3, .real .rl figcaption, .vh-cap, .mp-pin b { font-size: 11px !important; }
