/* =========================================================
   City Garden, Varanasi
   Palette (from the brief):
   Deep burgundy #31070F · Royal wine #570E20 · Warm ivory #F4EDE3
   Antique parchment #EDE0C9 · Antique gold #B89561 · Dusty rose #D4B5AA
   Peacock green #315044 · Terracotta #A64C43 · Espresso #251C1D
   The page colour flows between sections as you scroll (body[data-theme]).
   ========================================================= */

/* Fonts are self-hosted rather than pulled from fonts.googleapis.com. That request
   was render-blocking, and once it was made async the text painted in a fallback face
   first and reflowed when the real one arrived -- which is where the desktop layout
   shift was coming from. Served from our own origin and preloaded in the <head>, they
   land before first paint, so there is nothing to swap and nothing to shift. */
@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: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:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-600-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:italic;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/dm-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/dm-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/dm-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Pinyon Script';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/pinyon-script-latin-400-normal.woff2) format('woff2')}

:root{
  --burg:#31070F; --wine:#570E20; --ivory:#F4EDE3; --parch:#EDE0C9;
  --gold:#B89561; --gold-lt:#DCBB7E; --gold-dk:#8E6A3A; --rose:#D4B5AA;
  --peacock:#315044; --peacock-dk:#1C352D; --terra:#A64C43; --esp:#251C1D;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --script:"Pinyon Script","Brush Script MT",cursive;
  --ease:cubic-bezier(.22,.8,.2,1);
  --gate:cubic-bezier(.77,0,.18,1);
  --pad:clamp(1.25rem,5vw,4rem);
  --nav-h:76px;
  --maxw:1280px;
}

/* ---------- Themes (body colour morphs between these) ---------- */
body[data-theme="dark"]  {--bg:var(--burg);   --fg:#F4EDE3;--muted:rgba(244,237,227,.74);--head:#F4EDE3;--accent:var(--gold-lt);--orn:var(--gold);   --line:rgba(220,187,126,.28);--glow:rgba(184,149,97,.16)}
body[data-theme="wine"]  {--bg:var(--wine);   --fg:#F4EDE3;--muted:rgba(244,237,227,.78);--head:#F4EDE3;--accent:var(--gold-lt);--orn:var(--gold-lt);--line:rgba(220,187,126,.3); --glow:rgba(212,181,170,.18)}
body[data-theme="green"] {--bg:var(--peacock-dk);--fg:#F4EDE3;--muted:rgba(244,237,227,.76);--head:#F4EDE3;--accent:var(--gold-lt);--orn:var(--gold);--line:rgba(220,187,126,.28);--glow:rgba(49,80,68,.9)}
body[data-theme="light"] {--bg:var(--ivory);  --fg:#2A1A1B;--muted:rgba(42,26,27,.74); --head:var(--burg);--accent:var(--wine);  --orn:var(--gold-dk);--line:rgba(87,14,32,.16);  --glow:rgba(212,181,170,.35)}
body[data-theme="parch"] {--bg:var(--parch);  --fg:#2A1A1B;--muted:rgba(42,26,27,.76); --head:var(--burg);--accent:var(--wine);  --orn:var(--gold-dk);--line:rgba(87,14,32,.18);  --glow:rgba(166,76,67,.12)}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:1rem;line-height:1.7;background:var(--bg);color:var(--fg);overflow-x:hidden;-webkit-font-smoothing:antialiased;
  transition:background-color 1.4s var(--ease),color 1.4s var(--ease)}
body.is-loading{overflow:hidden}
/* paper grain over everything, very faint */
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:150;opacity:.07;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;border-radius:2px}
section[id]{scroll-margin-top:calc(var(--nav-h) - 1px)}
.wrap{width:min(var(--maxw),100% - var(--pad)*2);margin-inline:auto}
.narrow{width:min(880px,100% - var(--pad)*2)}
.center{text-align:center}
.center p,.center .orn{margin-inline:auto}
.small{font-size:.86rem;opacity:.75}

/* <picture> wraps every photo for the WebP sources; display:contents keeps it out of
   the layout tree entirely, so the <img> lays out exactly as it did unwrapped. */
picture{display:contents}

/* ---------- Type ---------- */
.display,h3{font-family:var(--serif);font-weight:500;line-height:1;letter-spacing:-.015em;margin:0;color:var(--head);transition:color 1.4s var(--ease)}
.display{font-size:clamp(2.6rem,min(7.2vw,12vh),5.8rem);max-width:14ch}
.center .display{margin-inline:auto}
h3{font-size:clamp(1.9rem,3.2vw,2.7rem);margin-bottom:.8rem}
p{margin:0 0 1.1rem;max-width:58ch}
.lede{font-size:1.1rem;color:var(--muted);max-width:50ch}
.script{font-family:var(--script);font-weight:400;line-height:1}

/* lotus ornament drawn under headings */
.orn{display:block;width:180px;height:30px;color:var(--orn);margin:1.4rem 0 1.8rem;overflow:visible}
.draw{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.2s var(--ease) .2s}
.draw.in{stroke-dashoffset:0}

/* word-by-word heading reveal */
.w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.14em;margin-bottom:-.14em}
.w>span{display:inline-block;transform:translateY(105%) rotate(4deg);transform-origin:0 100%;transition:transform 1.1s var(--ease);transition-delay:calc(var(--i)*60ms)}
.in .w>span{transform:none}

/* generic fade */
.fade{opacity:0;transform:translateY(26px);transition:opacity 1.1s var(--ease),transform 1.1s var(--ease)}
.fade.in{opacity:1;transform:none}

.section{position:relative;padding:clamp(6rem,12vw,10rem) 0}

/* ---------- Buttons ---------- */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:1rem 1.8rem;border-radius:999px;font-weight:500;font-size:.98rem;text-decoration:none;overflow:hidden;isolation:isolate;transition:color .5s var(--ease),transform .5s var(--ease)}
.btn::before{content:"";position:absolute;left:50%;top:100%;width:140%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,0) scale(0);transition:transform .7s var(--ease);z-index:-1;background:var(--ivory)}
.btn:hover::before{transform:translate(-50%,-50%) scale(1.1)}
.btn>span{display:inline-block;transition:transform .5s var(--ease)}
.btn-gold{background:linear-gradient(135deg,#E2C389,#B89561 55%,#9C7A47);color:var(--burg)}
.btn-ghost{border:1px solid rgba(244,237,227,.5);color:var(--ivory)}
.btn-ghost:hover{color:var(--burg)}
.btn-wine{width:100%;padding:1.1rem;background:var(--burg);color:var(--ivory)}
.btn-wine::before{background:var(--wine)}
.link-gold{display:inline-block;color:var(--accent);text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:3px;transition:background-size .5s var(--ease)}
.link-gold:hover{background-size:0 1px;background-position:100% 100%}

/* ---------- Loader ---------- */
.loader{position:fixed;inset:0;z-index:200;display:grid;place-items:center}
.door{position:absolute;top:0;bottom:0;width:50.2%;background:radial-gradient(circle at var(--x) 50%,#4a0c1b,var(--burg) 60%);transition:transform 1.4s var(--gate)}
.door-l{left:0;--x:100%}.door-r{right:0;--x:0%}
.door::after{content:"";position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(transparent,var(--gold),transparent)}
.door-l::after{right:0}.door-r::after{left:0}
.loader-mark{position:relative;z-index:2;width:min(380px,82vw);aspect-ratio:1;display:grid;place-items:center;transition:opacity .5s,transform .9s var(--ease)}
.loader-mark img{width:58%;position:relative;opacity:0;transform:scale(.9);animation:markIn .9s .8s var(--ease) forwards;filter:drop-shadow(0 0 18px rgba(184,149,97,.35))}
@keyframes markIn{to{opacity:1;transform:none}}
@keyframes spin{to{transform:rotate(360deg)}}
.loader.open .loader-mark{opacity:0;transform:scale(1.15)}
.loader.open .door-l{transform:translateX(-101%)}
.loader.open .door-r{transform:translateX(101%)}
.loader.done{display:none}

/* ---------- Progress & cursor ---------- */
.progress{position:fixed;top:0;left:0;height:2px;width:100%;background:linear-gradient(90deg,var(--gold),var(--gold-lt));transform:scaleX(0);transform-origin:left;z-index:120}
.cursor{position:fixed;top:0;left:0;z-index:160;pointer-events:none;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--gold-lt);mix-blend-mode:difference;display:none;place-items:center;transition:width .4s var(--ease),height .4s var(--ease),margin .4s var(--ease),background .4s}
.cursor span{font-size:.8rem;font-weight:600;color:var(--burg);opacity:0;transition:opacity .3s}
.has-cursor .cursor{display:grid}
.cursor.big{width:84px;height:84px;margin:-42px 0 0 -42px;mix-blend-mode:normal;background:rgba(220,187,126,.92)}
.cursor.big span{opacity:1}
.cursor.link{width:42px;height:42px;margin:-21px 0 0 -21px}

/* ---------- Nav ---------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;height:var(--nav-h);display:flex;align-items:center;gap:2rem;padding:0 max(var(--pad),calc((100% - var(--maxw))/2));color:var(--ivory);transition:background .6s,transform .7s var(--ease),box-shadow .6s}
.nav.solid{background:rgba(49,7,15,.86);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 1px 0 rgba(184,149,97,.25)}
.nav.hide{transform:translateY(-105%)}
.nav-logo{height:62px;flex:none}
.nav-logo img{height:100%;width:auto}
.nav-links{display:none;margin-left:auto;gap:2rem}
.nav-links a{position:relative;text-decoration:none;font-size:.96rem;padding:.3rem 0}
.nav-links a::after{content:"";position:absolute;left:50%;bottom:-4px;width:5px;height:5px;margin-left:-2.5px;background:var(--gold-lt);transform:rotate(45deg) scale(0);transition:transform .45s var(--ease)}
.nav-links a:hover::after,.nav-links a.active::after{transform:rotate(45deg) scale(1)}
.nav-cta{display:none;padding:.75rem 1.4rem}
.burger{margin-left:auto;width:44px;height:44px;position:relative;z-index:110}
.burger span{position:absolute;left:10px;right:10px;height:1.5px;background:var(--ivory);transition:transform .5s var(--ease),top .5s var(--ease)}
.burger span:first-child{top:18px}.burger span:last-child{top:26px}
body.menu-open .burger span:first-child{top:22px;transform:rotate(45deg)}
body.menu-open .burger span:last-child{top:22px;transform:rotate(-45deg)}
@media (max-width:959px){
  .nav-links{display:flex;position:fixed;inset:0;margin:0;flex-direction:column;justify-content:center;align-items:center;gap:1.2rem;background:var(--burg);clip-path:circle(0 at calc(100% - 44px) 38px);transition:clip-path .9s var(--gate);z-index:105}
  body.menu-open .nav-links{clip-path:circle(150% at calc(100% - 44px) 38px)}
  /* The overlay is always burgundy, so the link colour is pinned rather than inherited
     from the page theme. It also scrolls, so a short screen can never cut links off,
     and the stagger covers every link (there are seven) instead of the first six. */
  .nav-links{overflow-y:auto;padding:calc(var(--nav-h) + 1rem) 1.5rem calc(2rem + env(safe-area-inset-bottom));justify-content:safe center}
  .nav-links a{font-family:var(--serif);font-size:clamp(1.9rem,8vw,2.5rem);font-weight:500;color:var(--ivory);flex:none;
    opacity:0;transform:translateY(20px);transition:opacity .5s var(--ease),transform .7s var(--ease);transition-delay:calc(.2s + var(--i,0) * .05s)}
  body.menu-open .nav-links a{opacity:1;transform:none}
  .nav-links a:nth-child(1){--i:1}.nav-links a:nth-child(2){--i:2}.nav-links a:nth-child(3){--i:3}.nav-links a:nth-child(4){--i:4}
  .nav-links a:nth-child(5){--i:5}.nav-links a:nth-child(6){--i:6}.nav-links a:nth-child(7){--i:7}.nav-links a:nth-child(8){--i:8}
  body.menu-open{overflow:hidden}
}
@media (min-width:960px){.nav-links{display:flex}.nav-cta{display:inline-flex}.burger{display:none}}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;color:var(--ivory);background:#1a040a;overflow:hidden;isolation:isolate}
.hero-media{position:absolute;inset:-10% 0 0;will-change:transform}
.hero-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.18)}
/* The slow zoom that used to belong to the video now runs on the photograph. */
body.is-ready .hero-still{animation:kenburns 16s var(--ease) forwards}
@keyframes kenburns{to{transform:scale(1)}}
.hero-shade{position:absolute;inset:0;background:
  radial-gradient(120% 80% at 20% 100%,rgba(49,7,15,.92),transparent 60%),
  linear-gradient(180deg,rgba(26,4,10,.6),rgba(26,4,10,.1) 35%,rgba(26,4,10,.75))}
.dust{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}

.hero-content{position:relative;z-index:3;width:min(var(--maxw),100% - var(--pad)*2);margin:0 auto;padding:calc(var(--nav-h) + 3rem) 0 clamp(6rem,14vh,9rem)}
.hero-script{font-size:clamp(2rem,4.5vw,3.2rem);color:var(--gold-lt);margin:0 0 .4rem;opacity:0;transform:translateX(-24px);transition:opacity 1.4s var(--ease) .1s,transform 1.4s var(--ease) .1s}
.hero-title{font-family:var(--serif);font-weight:500;font-size:clamp(2.9rem,min(9.6vw,14.5vh),8.4rem);line-height:.94;letter-spacing:-.025em;margin:0 0 2rem}
.hero-title em{font-style:italic;font-weight:400;color:#E6C68C;text-shadow:0 0 40px rgba(184,149,97,.35)}
.hero-title .line{display:block}
.word{display:inline-block;white-space:nowrap}
.ch{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.12em;margin-bottom:-.12em}
.ch>span{display:inline-block;transform:translateY(110%);transition:transform 1.2s var(--ease);transition-delay:calc(var(--c)*22ms + .15s)}
body.is-ready .ch>span{transform:none}
body.is-ready .hero-script{opacity:1;transform:none}
.hero-foot{display:grid;gap:1.6rem;align-items:end}
.hero-sub{max-width:44ch;font-size:1.1rem;opacity:0;transform:translateY(20px);transition:opacity 1.2s var(--ease) .9s,transform 1.2s var(--ease) .9s;margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;opacity:0;transform:translateY(20px);transition:opacity 1.2s var(--ease) 1.05s,transform 1.2s var(--ease) 1.05s}
body.is-ready .hero-sub,body.is-ready .hero-actions{opacity:1;transform:none}
.scroll-cue{position:absolute;z-index:3;left:50%;bottom:1.6rem;transform:translateX(-50%);display:none;flex-direction:column;align-items:center;gap:.5rem;font-size:.8rem;letter-spacing:.06em;text-decoration:none;color:rgba(244,237,227,.8)}
.scroll-line{width:1px;height:46px;background:rgba(244,237,227,.25);position:relative;overflow:hidden}
.scroll-line::after{content:"";position:absolute;left:0;top:0;width:1px;height:100%;background:var(--gold-lt);animation:drip 2.2s var(--ease) infinite}
@keyframes drip{0%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}
@media (min-width:960px){.hero-foot{grid-template-columns:1fr auto}.scroll-cue{display:flex}}

/* ---------- Image reveal (curtain clip on the inner layer) ---------- */
.img-reveal{position:relative;overflow:hidden;background:rgba(127,127,127,.08)}
.img-reveal .px{width:100%;height:100%;clip-path:inset(100% 0 0 0);transition:clip-path 1.4s var(--gate);will-change:transform}
.img-reveal.in .px{clip-path:inset(0 0 0 0)}
.img-reveal img{width:100%;height:100%;object-fit:cover;transform:scale(1.3);filter:blur(16px) saturate(.6);opacity:0;transition:transform 2s var(--ease),filter 1.4s var(--ease),opacity 1s}
.img-reveal.in img.loaded{transform:scale(1);filter:none;opacity:1}
.px[data-parallax]{height:118%;margin-top:-9%}
.arch{border-radius:999px 999px 0 0;aspect-ratio:3/4}
.arch .px{border-radius:inherit}

/* ---------- About ---------- */
.about-grid{display:grid;gap:4rem;align-items:center}
.about-copy p{color:var(--muted)}
.about-media{position:relative;padding:0 0 14% 10%}
.about-media .arch{width:100%}
.about-media .arch::after{content:"";position:absolute;inset:10px;border:1px solid rgba(244,237,227,.55);border-radius:inherit;pointer-events:none;z-index:2}
.about-small{position:absolute;left:0;bottom:0;width:44%;aspect-ratio:1;border-radius:50%;border:7px solid var(--ivory)}
.ring{position:absolute;right:-4%;top:-6%;width:clamp(120px,22vw,170px);color:var(--orn);animation:spin 26s linear infinite}
.ring text{font-family:var(--serif);font-style:italic;font-size:15.5px;fill:currentColor;letter-spacing:.06em}
.facts{list-style:none;padding:1.6rem 0 0;margin:2.4rem 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;border-top:1px solid var(--line)}
.facts strong{display:block;font-family:var(--serif);font-size:clamp(2rem,4.4vw,3.2rem);font-weight:500;line-height:1;color:var(--accent);font-variant-numeric:lining-nums tabular-nums}
.facts>li>span{display:block;font-size:.84rem;line-height:1.4;margin-top:.5rem;color:var(--muted)}
@media (min-width:960px){.about-grid{grid-template-columns:1.05fr 1fr;gap:6rem}}

/* ---------- Ribbon ---------- */
.ribbon{position:relative;z-index:2;background:linear-gradient(90deg,#9C7A47,#C9A766 50%,#9C7A47);color:var(--burg);overflow:hidden;padding:1.05rem 0;transform:rotate(-1.2deg) scale(1.03);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.ribbon-track{display:flex;width:max-content;align-items:center;gap:1.8rem;will-change:transform}
.ribbon span{font-family:var(--serif);font-size:clamp(1.4rem,2.6vw,2rem);font-style:italic;white-space:nowrap}
.ribbon i{width:10px;height:10px;border:1.5px solid var(--burg);transform:rotate(45deg);flex:none}

/* ---------- Spaces (pinned horizontal) ---------- */
.spaces{position:relative}
.pin-sticky{position:relative;padding:6rem 0 3rem}
.track{display:flex;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);padding:0 var(--pad) 1.5rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.track::-webkit-scrollbar{display:none}
.panel{flex:0 0 84vw;scroll-snap-align:start}
.panel-intro{flex-basis:84vw;display:flex;flex-direction:column;justify-content:center}
.panel-intro p{color:var(--muted)}
.hint{font-size:.9rem;color:var(--accent)!important}
.hint-desk{display:none}
.space-media{position:relative;width:100%;aspect-ratio:4/3;border-radius:8px}
.space-media.arch{aspect-ratio:3/4;border-radius:999px 999px 8px 8px;max-height:62vh}
.space-media.tall{aspect-ratio:3/4;max-height:62vh}
.space-copy{padding-top:1.4rem;max-width:40ch}
.space-copy h3{color:var(--accent)}
.space-copy p{color:var(--muted)}
.pin-bar{display:none}
/* Reduce Motion turns the pinned walk-through off, since driving the page sideways
   from a vertical scroll is exactly the kind of motion that setting asks us not to do.
   What was left behind was a sideways strip with nothing to say there is more to the
   right of the screen -- so stack the panels instead and let everything be reached by
   scrolling down, which is the whole point. */
@media (prefers-reduced-motion:reduce){
  .track{flex-direction:column;overflow-x:visible;scroll-snap-type:none;gap:3.5rem;padding-bottom:0}
  .panel,.panel-intro{flex:0 0 auto;width:100%}
  .hint{display:none}
}
.hx img{transform-origin:center}

.spaces.is-pinned .pin-sticky{position:sticky;top:0;height:100vh;padding:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center}
.spaces.is-pinned .track{overflow:visible;scroll-snap-type:none;padding:0 6vw;gap:6vw;align-items:center;will-change:transform}
.spaces.is-pinned .panel{flex:0 0 auto}
.spaces.is-pinned .panel-intro{width:38vw}
.spaces.is-pinned .space{display:flex;align-items:flex-end;gap:3vw}
.spaces.is-pinned .space-media{width:44vw;max-height:68vh}
.spaces.is-pinned .space-media.arch,.spaces.is-pinned .space-media.tall{width:30vw;height:68vh;aspect-ratio:auto;max-height:none}
.spaces.is-pinned .space-copy{width:24vw;padding:0 0 1rem}
.spaces.is-pinned .hint-desk{display:inline}
.spaces.is-pinned .hint-mob{display:none}
.spaces.is-pinned .pin-bar{display:block;position:absolute;left:6vw;right:6vw;bottom:5vh;height:1px;background:var(--line)}
.pin-bar span{display:block;height:100%;background:var(--gold-lt);transform:scaleX(0);transform-origin:left}

/* The same pinned walk-through on phones and tablets, where the desktop's side-by-side
   panel doesn't fit: image on top, words beneath, one panel per screen. Scrolling down
   still moves it sideways -- which is the point, since a swipe strip gives no clue that
   there is anything off to the right. */
@media (max-width:959px){
  .spaces.is-pinned .pin-sticky{height:100svh;padding:calc(var(--nav-h) + .5rem) 0 0}
  .spaces.is-pinned .track{padding:0 7vw;gap:7vw}
  .spaces.is-pinned .panel{flex:0 0 86vw}
  .spaces.is-pinned .panel-intro{width:86vw}
  .spaces.is-pinned .space{display:flex;flex-direction:column;align-items:stretch;gap:1.3rem}
  .spaces.is-pinned .space-media{width:100%;aspect-ratio:4/3;max-height:44svh}
  .spaces.is-pinned .space-media.arch,.spaces.is-pinned .space-media.tall{width:100%;height:auto;aspect-ratio:3/4;max-height:44svh}
  .spaces.is-pinned .space-copy{width:100%;padding:0}
  .spaces.is-pinned .space-copy h3{margin:0 0 .5rem}
  .spaces.is-pinned .pin-bar{left:7vw;right:7vw;bottom:3svh}
}

/* ---------- Services ---------- */
.services{overflow-x:clip}
.services::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 80% 30%,rgba(49,80,68,.9),transparent 70%);opacity:0;transition:opacity 1.2s;pointer-events:none}
body[data-theme="green"] .services::before{opacity:1}
.svc-head{position:relative;margin-bottom:2rem}
.svc-grid{position:relative;display:grid;gap:4rem}
.svc-list{position:relative;z-index:1}
.svc-item{padding:0}
.svc-item h3{color:var(--accent)}
.svc-item p{color:var(--muted)}
.svc-img-m{width:min(100%,360px);margin-bottom:1.6rem}
.svc-stage{display:none}
.tick{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;gap:.55rem}
.tick li{position:relative;padding-left:1.7rem}
.tick li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border:1px solid var(--accent);transform:rotate(45deg)}
@media (min-width:960px){
  .svc-grid{grid-template-columns:1fr 1fr;gap:6rem}
  .svc-img-m{display:none}
  .svc-item{min-height:72vh;display:flex;flex-direction:column;justify-content:center;opacity:.28;transform:translateX(-12px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
  .svc-item.is-active{opacity:1;transform:none}
  .svc-item h3{font-size:clamp(2.6rem,4vw,3.6rem)}
  .svc-stage{display:block;position:sticky;top:calc(50vh - min(34vh,330px));height:min(68vh,660px);align-self:start;margin-top:12vh}
  .stage-frame{position:relative;height:100%;aspect-ratio:3/4;margin:0 auto;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.35)}
  .stage-frame::after{content:"";position:absolute;inset:12px;border:1px solid rgba(244,237,227,.5);border-radius:inherit;pointer-events:none}
  .stage-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:circle(0% at 50% 100%);transform:scale(1.15);transition:clip-path 1.2s var(--gate),transform 1.8s var(--ease)}
  .stage-frame img.is-active{clip-path:circle(150% at 50% 100%);transform:scale(1);z-index:1}
  .stage-frame img.was-active{clip-path:circle(150% at 50% 100%);z-index:0}
}

/* ---------- Celebrations ---------- */
.rituals{overflow:hidden}
.rituals::before{content:"";position:absolute;inset:0;background:radial-gradient(55% 45% at 15% 15%,rgba(166,76,67,.16),transparent 70%);opacity:0;transition:opacity 1.2s;pointer-events:none}
body[data-theme="parch"] .rituals::before{opacity:1}
.rituals-intro{display:grid;gap:1.6rem;align-items:end;margin-bottom:3.5rem}
.rituals-intro>p{color:var(--muted);max-width:46ch;margin:0}
.eyebrow{margin:0 0 .8rem;color:var(--terra);font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.celebration-cards{display:grid;gap:clamp(3rem,7vw,6rem)}
.celebration-card{display:grid;gap:clamp(1.5rem,5vw,6rem);align-items:center}
.celebration-copy{max-width:39ch;padding-inline:clamp(.2rem,3vw,3rem)}
.celebration-no{display:inline-block;margin-bottom:1.2rem;color:var(--terra);font-family:var(--serif);font-size:1rem;letter-spacing:.12em}
.celebration-copy h3{margin:0 0 1rem;font-family:var(--serif);font-size:clamp(2rem,4.2vw,3.8rem);font-weight:500;line-height:1;color:var(--head)}
.celebration-copy p{margin:0 0 1.6rem;color:var(--muted);font-size:1.04rem;line-height:1.65}
.celebration-photo{display:block;width:min(100%,340px);justify-self:center;aspect-ratio:3/4;margin:0;overflow:hidden;border-radius:3px;box-shadow:0 18px 35px rgba(49,7,15,.14)}
.celebration-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit}
@media (max-width:759px){.celebration-photo{width:min(78vw,340px)}}
@media (min-width:760px){.rituals-intro{grid-template-columns:1.15fr .85fr}.celebration-card{grid-template-columns:1fr 1fr}.celebration-card-reverse .celebration-copy{grid-column:2;grid-row:1}.celebration-card-reverse .celebration-photo{grid-column:1;grid-row:1}}
@keyframes spin2{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}

/* ---------- Reels ---------- */
.reels{overflow:hidden}
.reels::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 55% at 85% 20%,rgba(220,187,126,.14),transparent 70%);opacity:0;transition:opacity 1.2s;pointer-events:none}
body[data-theme="wine"] .reels::before{opacity:1}
.reels .lede{margin-bottom:3.5rem}
.reel-row{display:flex;gap:1.1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:1rem var(--pad) 2rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reel-row::-webkit-scrollbar{display:none}
.reel{flex:0 0 min(66vw,290px);aspect-ratio:9/16;margin:0;position:relative;border-radius:999px 999px 18px 18px;overflow:hidden;scroll-snap-align:center;background:var(--burg);box-shadow:0 26px 60px rgba(0,0,0,.4);
  opacity:0;transform:translateY(80px) rotate(var(--r,0deg));transition:opacity 1.2s var(--ease),transform 1.4s var(--ease)}
.reel::after{content:"";position:absolute;inset:8px;border:1px solid rgba(220,187,126,.6);border-radius:inherit;pointer-events:none}
.reel.in{opacity:1;transform:translateY(var(--y,0)) rotate(var(--r,0deg))}
.reel video{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.reel:hover video{transform:scale(1.05)}
.reel-sound{position:absolute;left:50%;bottom:18px;margin-left:-21px;width:42px;height:42px;border-radius:50%;background:rgba(26,4,10,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;z-index:2}
.reel-sound::before{content:"";width:16px;height:16px;background:var(--ivory);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;
  --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E")}
.reel.sound-on .reel-sound{background:var(--gold)}
.reel.sound-on .reel-sound::before{background:var(--burg)}


/* ---------- Gallery ---------- */
.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0 0 2.5rem}
.filters button{position:relative;padding:.6rem 1.2rem;border-radius:999px;border:1px solid var(--line);font-size:.93rem;transition:color .4s,border-color .4s,background .4s}
.filters button:hover{border-color:var(--accent)}
.filters button.is-active{background:var(--burg);color:var(--ivory);border-color:var(--burg)}
.masonry{columns:2;column-gap:.8rem}
.tile{position:relative;display:block;width:100%;margin:0 0 .8rem;break-inside:avoid;border-radius:6px;perspective:1000px;
  transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i,0) * 55ms)}
.tile:nth-child(odd){--tr:-1.4deg}.tile:nth-child(even){--tr:1.4deg}
.tile.out{opacity:0;transform:scale(.9) rotate(var(--tr,-1deg));transition-delay:0s}
.tile.gone{display:none}
.tile img{height:auto}
.tile .px{position:relative;overflow:hidden;transition:clip-path 1.4s var(--gate),transform .6s var(--ease),box-shadow .5s var(--ease);
  transition-delay:calc(var(--i,0) * 55ms);transform-style:preserve-3d;will-change:transform}
.tile:hover .px{transform:perspective(1000px) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)) scale(1.025);box-shadow:0 22px 50px rgba(0,0,0,.35)}
.tile:hover img.loaded{transform:scale(1.14)}
.tile img.loaded{transition:transform .8s var(--ease)}
/* category chip + scrim, revealed on hover — content comes straight from data-cat, no markup needed */
.tile::after{content:attr(data-cat);position:absolute;left:14px;bottom:14px;z-index:2;color:var(--gold-lt);
  font-family:var(--serif);font-style:italic;font-size:.95rem;letter-spacing:.02em;text-transform:capitalize;
  opacity:0;transform:translateY(10px);transition:opacity .45s var(--ease),transform .45s var(--ease);
  text-shadow:0 2px 14px rgba(0,0,0,.7);pointer-events:none}
.tile::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;
  background:linear-gradient(180deg,transparent 55%,rgba(26,4,10,.62) 100%);
  opacity:0;transition:opacity .45s var(--ease)}
.tile:hover::after{opacity:1;transform:translateY(0)}
.tile:hover::before{opacity:1}
@media (min-width:800px){.masonry{columns:3;column-gap:1.1rem}.tile{margin-bottom:1.1rem}}
@media (hover:none){.tile::after,.tile::before{display:none}}

.lb{position:fixed;inset:0;z-index:300;background:rgba(10,2,4,.97);display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .6s var(--ease),visibility .6s}
.lb.open{opacity:1;visibility:visible}
.lb-bg{position:absolute;inset:-5%;z-index:0;background-size:cover;background-position:center;filter:blur(38px) saturate(1.2) brightness(.5);
  transform:scale(1.1);opacity:0;transition:opacity .8s var(--ease)}
.lb.open .lb-bg.show{opacity:.55}
.lb img{position:relative;z-index:1;max-width:92vw;max-height:82vh;width:auto;height:auto;border-radius:4px;box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:scale(.92) translateX(var(--slide,0px));opacity:0;transition:transform .6s var(--ease),opacity .5s}
.lb.open img.show{transform:none;opacity:1}
.lb button{position:absolute;z-index:2;color:var(--ivory);width:54px;height:54px;font-size:2.2rem;font-family:var(--serif);line-height:1;
  transition:color .3s,transform .3s var(--ease)}
.lb button:hover{color:var(--gold-lt);transform:scale(1.15)}
.lb-x{top:14px;right:14px}.lb-p{left:6px;top:50%;margin-top:-27px}.lb-n{right:6px;top:50%;margin-top:-27px}
.lb-count{position:absolute;z-index:2;bottom:18px;left:0;right:0;text-align:center;color:rgba(244,237,227,.7);font-size:.9rem}

/* ---------- Reviews ---------- */
.reviews{overflow:hidden}
.quotes{position:relative;display:grid;margin-top:1rem;min-height:10rem}
.quote{grid-area:1/1;margin:0;visibility:hidden}
.quote p{font-family:var(--serif);font-size:clamp(1.6rem,3.8vw,2.6rem);line-height:1.22;font-style:italic;max-width:28ch;margin:0 auto 1.4rem;color:var(--head)}
.quote p::before{content:"\201C";display:block;font-size:4em;line-height:.5;height:.32em;color:var(--gold);font-style:normal}
.quote footer{display:flex;align-items:center;justify-content:center;gap:.85rem;text-align:left;color:var(--accent);font-size:.95rem;opacity:0;transition:opacity .8s .5s}
.avatar{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:1.05rem;letter-spacing:.04em;color:var(--burg);background:linear-gradient(135deg,#E2C389,#B89561);box-shadow:0 6px 16px rgba(0,0,0,.3)}
.who{display:flex;flex-direction:column;gap:.2rem}
.who cite{font-style:normal;font-weight:500;font-size:1.02rem;color:#FBF5EA}
.who-meta{display:flex;align-items:center;gap:.55rem;font-size:.8rem}
.qstars{color:var(--gold-lt);letter-spacing:.09em}
.who-meta a{color:rgba(251,245,234,.7);text-underline-offset:3px}
.who-meta a:hover{color:var(--gold-lt)}
.review-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;margin-top:2.6rem}
@media (max-width:560px){.review-cta{flex-direction:column;align-items:stretch}.quote footer{gap:.7rem}}
.quote .w>span{transition-duration:.9s;transition-delay:calc(var(--i)*25ms)}
.quote.is-active{visibility:visible}
.quote.is-active footer{opacity:1}
.quote.leaving{visibility:visible}
.quote.leaving .w>span{transform:translateY(-105%);transition-delay:0s;transition-duration:.6s}
.dots{display:flex;justify-content:center;gap:.6rem;margin:1.6rem 0 2.2rem}
.dots button{width:46px;height:20px;position:relative}
.dots i{position:absolute;left:0;right:0;top:9px;height:2px;background:var(--line);overflow:hidden}
.dots i::after{content:"";position:absolute;inset:0;background:var(--gold-lt);transform:scaleX(0);transform-origin:left}
.dots .is-active i::after{animation:fill var(--dur,7s) linear forwards}
@keyframes fill{to{transform:scaleX(1)}}

/* ---------- Journal (cards shared by the home page and /blog/) ---------- */
.journal-row{display:flex;gap:1.4rem;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:1rem var(--pad) 2.4rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.journal-row::-webkit-scrollbar{display:none}
.jcard{flex:0 0 min(82vw,360px);scroll-snap-align:center;margin:0}
.jcard a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}
.jcard-media{aspect-ratio:4/3;border-radius:6px 6px 0 0;overflow:hidden;background:rgba(127,127,127,.1)}
.jcard-media img{width:100%;height:100%;object-fit:cover}
/* The card body is the "paper": it sits under the photograph like a mounted print. */
.jcard-body{flex:1;display:flex;flex-direction:column;padding:1.5rem 1.4rem 1.6rem;
  background:var(--parch);color:var(--esp);border-radius:0 0 6px 6px;
  box-shadow:0 18px 44px rgba(0,0,0,.26)}
/* A touch darker than --terra: at 11px uppercase this needs 4.5:1 on the
   parchment card, and the brand terracotta only reaches 4.3. */
.jcard-meta{margin:0 0 .6rem;font-size:.7rem;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:#9A4038}
.jcard-title{font-family:var(--serif);font-weight:500;font-size:1.62rem;line-height:1.14;
  letter-spacing:-.01em;margin:0 0 .6rem;color:var(--burg)}
.jcard-excerpt{margin:0 0 1.2rem;font-size:.95rem;line-height:1.65;color:rgba(42,26,27,.78)}
.jcard-more{margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;
  font-size:.82rem;font-weight:600;letter-spacing:.06em;color:#7A5A2B}
.jcard-more svg{transition:transform .5s var(--ease)}
.jcard{transition:transform .6s var(--ease)}
.jcard a:hover .jcard-more svg{transform:translateX(5px)}
@media (hover:hover){.jcard:hover{transform:translateY(-6px)}}
.journal-cta{margin-top:.4rem}
/* Three cards fit a desktop row, so the slider becomes a grid rather than asking
   people to scroll sideways through content that already fits. */
@media (min-width:900px){
  .journal-row{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;
    overflow:visible;padding:1.5rem 0 2.6rem;width:min(var(--maxw),100% - var(--pad)*2);margin-inline:auto}
  .jcard{flex:none}
  .jcard-title{font-size:1.5rem}
}

/* ---------- Contact ---------- */
.contact::before{content:"";position:absolute;inset:0;background:radial-gradient(55% 45% at 85% 85%,rgba(184,149,97,.14),transparent 70%);opacity:0;transition:opacity 1.2s;pointer-events:none}
body[data-theme="parch"] .contact::before{opacity:1}
.contact .lede{margin-bottom:3.5rem}
.contact-grid{display:grid;gap:3rem;align-items:start}
.form{background:var(--ivory);color:#2A1A1B;padding:clamp(1.5rem,4vw,2.6rem);border-radius:10px;box-shadow:0 24px 60px rgba(49,7,15,.14);position:relative}
.form::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:10px 10px 0 0;background:linear-gradient(90deg,var(--wine),var(--terra),var(--gold),var(--peacock))}
.field{margin-bottom:1.1rem;position:relative}
/* spam honeypot: off-screen, never shown to a person */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field.two{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
label{display:block;font-size:.88rem;margin-bottom:.35rem;color:var(--wine);font-weight:500}
input,select,textarea{width:100%;min-width:0;font:inherit;font-size:1rem;padding:.85rem .9rem;border:1px solid rgba(87,14,32,.22);border-radius:6px;background:#fff;color:#2A1A1B;transition:border-color .3s,box-shadow .3s,transform .3s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--wine);box-shadow:0 0 0 4px rgba(184,149,97,.3)}
input.err{border-color:var(--terra);background:#fff6f4;animation:shake .4s}
@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.form-note{font-size:.92rem;margin:1.1rem 0 0;opacity:.85}
.map{position:relative;aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--rose);margin-bottom:1.6rem;box-shadow:0 24px 60px rgba(49,7,15,.12)}
.map iframe{width:100%;height:100%;border:0;filter:sepia(.3) saturate(.85) hue-rotate(-8deg);position:relative;z-index:1;background:transparent}
/* Standing state of the circle, before (or instead of) the Google frame. */
.map-face{position:absolute;inset:0;z-index:0;width:100%;height:100%;border:0;cursor:pointer;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:2rem 2.4rem;text-align:center;color:var(--burg);
  background:radial-gradient(circle at 50% 38%,#F7EBE4,var(--rose) 70%,#C9A79C);transition:background .5s var(--ease)}
.map-face::after{content:"";position:absolute;inset:14px;border:1px solid rgba(87,14,32,.22);border-radius:50%;pointer-events:none}
.map-face:hover{background:radial-gradient(circle at 50% 38%,#FBF3EE,var(--rose) 72%,#C19C90)}
.map-pin{width:30px;height:30px;fill:var(--wine);margin-bottom:.3rem}
.map-name{font-family:var(--serif);font-size:1.5rem;font-weight:500;line-height:1.1}
.map-sub{font-size:.8rem;line-height:1.45;color:rgba(49,7,15,.72);max-width:20ch}
.map-cta{margin-top:.5rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wine);border-bottom:1px solid var(--gold);padding-bottom:2px}
@media (max-width:420px){.map-face{padding:1.4rem 1.6rem}.map-name{font-size:1.25rem}.map-sub{font-size:.74rem}.map-pin{width:25px;height:25px}}
address{font-style:normal;line-height:1.6;margin-bottom:1rem;color:var(--muted)}
address strong{display:block;font-family:var(--serif);font-size:1.7rem;font-weight:500;color:var(--head);margin-bottom:.2rem}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.contact-list a{text-underline-offset:5px;text-decoration-color:var(--gold)}
@media (max-width:480px){.field.two{grid-template-columns:1fr}}
@media (min-width:960px){.contact-grid{grid-template-columns:1.1fr 1fr;gap:5rem}.info{position:sticky;top:110px}}

/* ---------- Footer ---------- */
.footer{position:relative;overflow:hidden;background:var(--burg);color:var(--ivory);text-align:center;padding:5rem 0 7rem}

.footer-in{position:relative}
.footer img{width:200px;margin:0 auto}
.footer-script{font-size:2.2rem;color:var(--gold-lt);margin:1rem auto 1.6rem}
.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:1.6rem;margin-bottom:2rem}
.footer-links a{text-decoration:none;opacity:.85}
.footer-links a:hover{opacity:1;color:var(--gold-lt)}
.footer p{margin-inline:auto}

/* ---------- Dock ---------- */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:1fr 1fr;padding-bottom:env(safe-area-inset-bottom);background:var(--burg);transform:translateY(110%);transition:transform .7s var(--ease);box-shadow:0 -8px 30px rgba(0,0,0,.25)}
.dock.show{transform:none}
.dock a{display:flex;align-items:center;justify-content:center;gap:.55rem;padding:1rem;text-align:center;text-decoration:none;font-weight:500}
.dock-ico{width:19px;height:19px;flex:none;fill:currentColor}
.dock-call{color:var(--ivory)}
.dock-wa{background:linear-gradient(135deg,#E2C389,#B89561);color:var(--burg)}
@media (min-width:960px){
  .dock{left:auto;right:1.6rem;bottom:1.6rem;display:flex;flex-direction:column;align-items:flex-end;gap:.9rem;grid-template-columns:none;border-radius:0;overflow:visible;padding:0;background:none;box-shadow:none}
  .dock-call,.dock-wa{width:58px;height:58px;padding:0;border-radius:50%;box-shadow:0 14px 30px rgba(20,3,7,.35);transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
  .dock-call:hover,.dock-wa:hover{transform:scale(1.08)}
  .dock-call{background:var(--burg);color:var(--ivory);animation:pulse 3s ease-in-out infinite}
  .dock-wa{animation:none}
  .dock-ico{width:24px;height:24px}
  .dock-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .footer{padding-bottom:5rem}
}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(220,187,126,.5)}50%{box-shadow:0 0 0 12px rgba(220,187,126,0)}}

/* ---------- Reduced motion & no-JS ---------- */
/* Reduced motion: stop everything that TRAVELS, loops or parallaxes, but keep the
   opacity fades. Killing transitions outright made the whole page feel broken rather
   than calm, which is not what someone asking for less motion wants either. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mandala i,.mandala::before,.art img,.dock-call,.ribbon-track{animation:none!important}
  [data-parallax]{transform:none!important}
  .img-reveal .px{clip-path:none}
  .img-reveal img{filter:none;transform:none}
  .fade,.reel{transform:none}
  .w>span,.ch>span{transform:none;opacity:1}
  .draw{stroke-dashoffset:0}
  .quote.leaving .w>span{transform:none}
  .nav-links a{transition-delay:0s!important;transform:none}
}
.no-js .fade,.no-js .reel{opacity:1;transform:none}
.no-js .img-reveal .px{clip-path:none}
.no-js .img-reveal img{opacity:1;filter:none;transform:none}
.no-js .draw{stroke-dashoffset:0}
.no-js .loader{display:none}
.no-js .hero-sub,.no-js .hero-actions,.no-js .hero-script{opacity:1;transform:none}
.no-js body{overflow:auto}
main,.footer{overflow-x:clip}

/* =========================================================
   Responsive tuning: tablet, laptop, large desktop
   Mobile < 600 · Tablet 600–959 · Laptop/desktop 960+ · Wide 1600+
   ========================================================= */

/* Tablet */
@media (min-width:600px) and (max-width:959px){
  .about-media{max-width:560px;margin-inline:auto;width:100%}
  .panel,.panel-intro{flex-basis:62vw}
  .space-media.arch,.space-media.tall{max-height:56vh}
  .svc-list{display:grid;grid-template-columns:1fr 1fr;gap:3rem 2.5rem}
  .svc-list .svc-head{grid-column:1/-1}
  .svc-img-m{width:100%}
  .hero-foot{grid-template-columns:1fr;max-width:620px}
}
@media (min-width:600px){
  .reel-row{justify-content:center;overflow:visible;gap:1.6rem}
  .reel{flex-basis:min(28vw,300px,36vh)}
  .reel:nth-child(1){--r:-4deg;--y:30px}
  .reel:nth-child(2){--y:-10px;transition-delay:.12s}
  .reel:nth-child(3){--r:4deg;--y:30px;transition-delay:.24s}
}
@media (min-width:760px){
  .contact-grid{grid-template-columns:1.1fr 1fr;gap:3rem}
}

/* Laptop / desktop */
@media (min-width:960px){
  .svc-list .svc-head{min-height:46vh;display:flex;flex-direction:column;justify-content:flex-end;margin:0}
  .svc-stage{margin-top:0}
  .spaces.is-pinned .space-copy{width:max(24vw,280px)}
  .spaces.is-pinned .space-media{width:min(44vw,calc(68vh*4/3))}
  .spaces.is-pinned .space-media.arch,.spaces.is-pinned .space-media.tall{width:min(30vw,calc(68vh*3/4))}
  .spaces.is-pinned .panel-intro{width:max(34vw,380px)}
  .about-copy .display{max-width:12ch}
  .contact-grid{grid-template-columns:1.1fr 1fr;gap:5rem}
}
/* Short laptop screens (e.g. 1366×768) */
@media (min-width:960px) and (max-height:820px){
  :root{--nav-h:68px}
  .nav-logo{height:54px}
  .section{padding:clamp(5rem,9vw,7rem) 0}
  .hero-content{padding-bottom:4.5rem}
  .hero-sub{font-size:1rem}
  .svc-item{min-height:78vh}
  .orn{margin:1rem 0 1.3rem}
}
/* Large desktop */
@media (min-width:1400px){
  .masonry{columns:4}
}
@media (min-width:1600px){
  :root{--maxw:1440px}
}
@media (min-width:1800px){
  html{font-size:112.5%}
}
@media (min-width:2400px){
  html{font-size:125%}
  :root{--maxw:1600px}
}
@media (max-width:959px){.svc-item+.svc-item{margin-top:4rem}}
@media (min-width:600px) and (max-width:959px){.svc-item+.svc-item{margin-top:0}}
@media (min-width:760px) and (max-width:1099px){.field.two{grid-template-columns:1fr}}

/* failsafe: if scripts are blocked, never leave the page hidden. A pure-CSS backstop
   behind both the inline and js/main.js timers above, so tightened to match them. */
.loader{animation:loaderBail 0s 5.5s forwards}

/* Phones skip the splash altogether. It is the single biggest cost on a slow mobile
   connection: it holds back every real pixel, and because its mandala draws itself in
   over a second or two, that draw-in is what gets measured as the Largest Contentful
   Paint -- a decorative ring, not the venue. Measured on the live site, the render of
   that one element accounted for 2,020ms of a 5s LCP. Desktop, on a typically faster
   connection and where the intro reads as intended, keeps it. Delete this block to
   bring the splash back everywhere. */
@media (max-width:699px){
  /* With no splash, the headline is the largest thing on a phone screen, so its
     entrance is what Largest Contentful Paint ends up measuring. At 22ms per character
     the tail of a long headline lands about two seconds in. Phones get it as one quick
     move; the per-character choreography stays on desktop. */
  .ch>span{transition-duration:.45s;transition-delay:0s}
  /* The splash runs on phones too. It is kept brief here: the gates are a hard floor
     under Largest Contentful Paint, since nothing behind them counts as painted until
     they finish, so every extra 100ms of intro is 100ms on the metric. */
}
@keyframes loaderBail{to{visibility:hidden;pointer-events:none}}
.reveal-all .fade,.reveal-all .reel{opacity:1;transform:none}
.reveal-all .img-reveal .px{clip-path:none}
.reveal-all .img-reveal img{opacity:1;filter:none;transform:none}
.reveal-all .draw{stroke-dashoffset:0}
.reveal-all body{overflow:auto}

/* =====================================================================
   Mandala (images/mandala.png): three rings turn at different speeds
   ===================================================================== */
@property --sweep{syntax:'<angle>';inherits:false;initial-value:0deg}
.mandala{position:absolute;aspect-ratio:1;pointer-events:none}
.mandala-turn{position:absolute;inset:0}
/* The mandala's image is held back until the page has loaded (main.js adds .deco).
   It is decoration -- the hero one even fades in on a one-second delay -- but as a CSS
   background it was being fetched as part of the first wave, and measured on the live
   site it was winning Largest Contentful Paint off the hero photo itself: 870ms of load
   delay, then 1,420ms of render delay for a fade nobody is waiting on. */
/* Every mandala is painted as a flat gold fill cut out by the artwork used as a *mask*,
   rather than as a background image. Two reasons. It looks the same -- the PNG is gold
   line-art on transparency, so masking a gold fill with its alpha reproduces it, tonal
   variation included. And a mask is not a "contentful" paint, so these rings can never
   be chosen as the Largest Contentful Paint element. That mattered: as a background
   image the hero's ring kept winning that metric off the hero photograph itself, which
   is what got it hidden on phones in the first place. As a mask it can stay. */
.mandala i{position:absolute;inset:0;will-change:transform}
.mandala i::before{content:"";position:absolute;inset:0;background:var(--gold-lt);
  -webkit-mask:center/100% 100% no-repeat;mask:center/100% 100% no-repeat}
/* The artwork for the hero, services and footer rings is fetched only once the page
   itself has loaded (main.js adds .deco). The hero's ring does not even begin to fade
   in until a second after the page is revealed, and the other two are below the fold,
   so none of them is worth competing with the hero photograph for bandwidth. The
   loader's own ring is exempt below -- that one has to be there immediately. */
body.deco .mandala:not(.loader-mandala) i::before{-webkit-mask-image:url(../images/mandala.png);mask-image:url(../images/mandala.png)}
.mandala i:nth-child(1){-webkit-mask:radial-gradient(circle closest-side,#000 31%,transparent 31.6%);mask:radial-gradient(circle closest-side,#000 31%,transparent 31.6%);animation:mspin 60s linear infinite}
.mandala i:nth-child(2){-webkit-mask:radial-gradient(circle closest-side,transparent 31%,#000 31.6%,#000 70.4%,transparent 71%);mask:radial-gradient(circle closest-side,transparent 31%,#000 31.6%,#000 70.4%,transparent 71%);animation:mspin 100s linear infinite reverse}
.mandala i:nth-child(3){-webkit-mask:radial-gradient(circle closest-side,transparent 70.4%,#000 71%);mask:radial-gradient(circle closest-side,transparent 70.4%,#000 71%);animation:mspin 150s linear infinite}
.mandala::before{content:"";position:absolute;inset:26%;border-radius:50%;background:radial-gradient(circle,rgba(240,196,120,.32),transparent 68%);animation:mglow 5s ease-in-out infinite alternate}
@keyframes mspin{to{transform:rotate(360deg)}}
@keyframes mglow{from{opacity:.35;transform:scale(.9)}to{opacity:1;transform:scale(1.08)}}

/* Loader: the mandala is traced in a circular sweep, then the gates open.
   It's the first thing painted (and so the LCP candidate on a fresh visit), and it
   never shows at more than ~380px, so it gets its own smaller, harder-compressed
   source rather than the 820px one shared by the hero/stage/footer mandalas. */
.loader-mandala{inset:0;width:100%;opacity:.8;-webkit-mask:conic-gradient(#000 var(--sweep),transparent 0);mask:conic-gradient(#000 var(--sweep),transparent 0)}
/* Painted as a flat gold fill cut out by the mandala as a *mask*, rather than as a
   background image. Visually identical at the 0.8 opacity it shows at -- but a mask is
   not a "contentful" paint, so the splash's ring can no longer be chosen as the
   Largest Contentful Paint element. That is what it kept being measured as, and since
   it draws itself in over about a second, it was setting a floor under the whole
   page's score. The hero photograph gets counted instead, which is the honest answer. */
.loader-mandala i::before{-webkit-mask-image:url(../images/mandala-sm.png);mask-image:url(../images/mandala-sm.png)}
.loader-mandala.in{animation:sweep 2.2s cubic-bezier(.65,0,.25,1) forwards}
@keyframes sweep{to{--sweep:360deg}}
.loader-mark::before{content:"";position:absolute;inset:18%;border-radius:50%;background:radial-gradient(circle,rgba(49,7,15,.95) 40%,rgba(49,7,15,0) 72%);z-index:1;opacity:0;animation:markIn .8s 1s var(--ease) forwards}
.loader-mark img{z-index:2}

/* Hero: large mandala on the right, turns a little more as you scroll */
.hero-mandala{z-index:1;right:-16vw;top:50%;width:min(70vw,860px);margin-top:calc(min(70vw,860px)/-2);opacity:0;transition:opacity 2.5s 1s;transform:rotate(var(--scroll-rot,0deg))}
body.is-ready .hero-mandala{opacity:.5}
/* On a phone the hero photograph is full-bleed and busy -- flowers, foliage, lanterns --
   and gold line-art laid over it simply disappears, which reads as "the ring isn't
   turning" when in fact it is. Moved onto the one calm, dark area in the frame (the
   carpet at the foot of the corridor) and brightened, so the movement has something
   plain to turn against. */
@media (max-width:699px){
  .hero-mandala{right:-26vw;top:auto;bottom:-26vw;margin-top:0;width:96vw}
  body.is-ready .hero-mandala{opacity:.62}
}

/* Services sticky image, footer */
@media (min-width:960px){.stage-mandala{left:50%;top:50%;width:150%;transform:translate(-50%,-50%);opacity:.32}}
/* Phones get their own ring in the services section. The desktop one is a child of
   .svc-stage, and .svc-stage is display:none below 960px -- a child of a hidden
   parent cannot be brought back, so this is a separate element rather than a
   re-positioning of that one, which keeps the desktop layout untouched. */
.svc-mandala-m{left:50%;top:34%;width:158vw;transform:translateX(-50%);opacity:.3;z-index:0}
.svc-mandala-m i:nth-child(1){animation-duration:22s}
.svc-mandala-m i:nth-child(2){animation-duration:34s}
.svc-mandala-m i:nth-child(3){animation-duration:52s}
@media (min-width:960px){.svc-mandala-m{display:none}}
/* The footer ring was turning but nobody could tell: at opacity .2, and sunk far
   enough that only the outermost -- and most rotationally symmetric -- band showed,
   it changed the screen by under 1/255 over four seconds, where the hero ring manages
   2.4. Lifted, brightened and sped up until the movement actually reads. */
.footer-mandala{left:50%;bottom:-34%;width:min(1000px,140vw);transform:translateX(-50%);opacity:.34}
.footer-mandala i:nth-child(1){animation-duration:20s}
.footer-mandala i:nth-child(2){animation-duration:32s}
.footer-mandala i:nth-child(3){animation-duration:48s}
/* A phone shows a smaller slice of the ring, so it needs a little more of it to
   read as turning at all. */
@media (max-width:699px){.footer-mandala{bottom:-26%;opacity:.42}}

/* =====================================================================
   Reviews: textile wall background (images/pattern-wall.jpg)
   ===================================================================== */
.reviews-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.reviews-tex{position:absolute;inset:-12% 0;background:url(../images/pattern-wall.jpg) center/cover no-repeat;filter:saturate(.9)}
.reviews-bg::after{content:"";position:absolute;inset:0;background:
  radial-gradient(ellipse 60% 55% at 50% 52%,rgba(37,6,12,.9),rgba(37,6,12,.72) 70%,rgba(37,6,12,.55)),
  linear-gradient(var(--burg),rgba(49,7,15,0) 16%,rgba(49,7,15,0) 84%,var(--burg))}
.reviews .wrap{position:relative;z-index:1}
/* Reviews text stays light whatever the page theme is mid-transition */
.reviews{--head:#FBF5EA;--fg:#F4EDE3;--muted:rgba(251,245,234,.85);--accent:#EBD3A2;--line:rgba(235,211,162,.35);color:var(--fg)}
.reviews .display,.reviews .quote p{color:#FBF5EA;text-shadow:0 2px 18px rgba(20,3,7,.55)}
.reviews .quote footer,.reviews .link-gold{color:#EBD3A2}

/* =====================================================================
   Hand-painted vignettes (elephant, peacock, pavilion)
   ===================================================================== */
.art-host{position:relative}
.art{position:absolute;margin:0;pointer-events:none;z-index:0}
.art picture,.art .ink{display:block;clip-path:inset(100% 0 0 0);transform:translateY(24px);transition:clip-path 1.8s var(--gate),transform 1.8s var(--ease)}
.art.in .ink{clip-path:inset(-10% -10% 0 -10%);transform:none}
.art img{width:100%;height:auto;display:block}
.art-host .display,.art-host .orn,.art-host .lede{position:relative;z-index:1}
.art-elephant img{animation:amble 3.6s ease-in-out infinite}
@keyframes amble{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}

/* Mobile and tablet: one small vignette sits above each heading, in the flow */
.art-host .art{position:relative;display:block;margin:0 auto 1rem}
.art-elephant{width:clamp(100px,24vw,140px)}
.art-host .art-pavilion{display:none}
@media (min-width:960px){
  .art-host .art{position:absolute;margin:0}
  .art-elephant{width:clamp(170px,15vw,230px);left:0;top:-2.5rem}
  .art-host .art-pavilion{display:block;width:clamp(130px,11.5vw,175px);right:1%;top:-2rem}
}
@media (min-width:960px) and (max-height:820px){.art-elephant{width:160px}.art-pavilion{width:120px}}

@media (prefers-reduced-motion:reduce){
  .mandala i,.mandala::before,.art img{animation:none}
  .art .ink{clip-path:none;transform:none}
  .loader-mandala{-webkit-mask:none;mask:none}
}
.no-js .art .ink,.reveal-all .art .ink{clip-path:none;transform:none}
