/* ═══════════════════════════════════════════════════════════════════════════
   HOLYSTICO GROUP — v47 · GRAND II · BRIDGE
   Re-faces the v45 inner-page components in the v47 language without
   rewriting their markup: Instrument Sans, tight modern headlines, square
   panels, pill buttons with a rising fill, and page heroes that set an
   oversized headline at the bottom-left of a full-height photograph.
   Loaded after style.css, system.css and lux.css, on inner pages only.
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
  --display:'Instrument Sans','Helvetica Neue',Arial,sans-serif;
  --sans:'Instrument Sans','Helvetica Neue',Arial,sans-serif;
  --cond:'Instrument Sans','Helvetica Neue',Arial,sans-serif;
  --serif:'Instrument Sans','Helvetica Neue',Arial,sans-serif;

  --paper:#ffffff; --paper-2:#f4efe7; --sand:#e9e1d3;
  --ink:#100e0c; --ink-2:#181512; --ink-3:#221e1a; --ink-4:#2c2722;
  --bronze:#a98352; --bronze-d:#8a6a3d; --bronze-l:#d2b386; --bronze-x:#efe4d2;
  --txt:#16130f; --txt-soft:#5f574b; --txt-mute:#8d8476;
  --txt-dk:#f5f0e7; --txt-dk-soft:#c3baab; --txt-dk-mute:#958b7c;
  --line:rgba(22,19,15,.12); --line-2:rgba(22,19,15,.22);

  --g-gold:linear-gradient(0deg,#a98352,#a98352);
  --gold-sheen:var(--g-gold); --gold-grad:var(--g-gold);
  --gold-grad-soft:linear-gradient(0deg,rgba(169,131,82,.08),rgba(169,131,82,.08));
  --g-gold-soft:var(--gold-grad-soft);

  --r:4px; --r-lg:6px; --r-xl:8px;
  --e1:0 1px 0 rgba(22,19,15,.05);
  --e2:0 24px 50px -34px rgba(16,14,12,.26);
  --e3:0 40px 80px -40px rgba(16,14,12,.34);
  --shadow-soft:var(--e2);
  --nav-h:96px;
  --tint-champagne:transparent; --tint-blush:transparent; --tint-sky:transparent; --tint-sage:transparent;
}

/* ── Ground & type ───────────────────────────────────────────────────────── */
html body{background:#fff;font-family:var(--x-f);font-size:17px;line-height:1.75;color:var(--x-t);font-feature-settings:"ss01","cv11"}
html body .sec-quiet,html body .tone-b{background:var(--x-stone);border-color:transparent}
html body .tone-a{background:#fff}
html body section.tone-b{margin-inline:0!important;border-radius:0!important;--tm:0px!important}
html body section.tone-b > .wrap{max-width:var(--maxw);padding-inline:var(--gut)}
html body .enquire2:not(.dark):not(.x-inv){background:var(--x-stone)}
[id]{scroll-margin-top:110px}

html body :is(h1,h2,h3,h4,h5,h6){font-family:var(--x-f);font-weight:500!important;letter-spacing:-.02em!important;line-height:1.1}
html body .display{font-family:var(--x-f);font-weight:500!important;letter-spacing:-.04em!important;line-height:.98;font-size:clamp(46px,6.4vw,112px)}
html body .h-sec,html body :is(h1,h2).h-sec{font-family:var(--x-f);font-weight:500!important;letter-spacing:-.035em!important;line-height:1.02;font-size:clamp(36px,4.2vw,68px)}
html body .h-3{font-weight:500;letter-spacing:-.022em!important}
html body :is(.display,.h-sec,.h-3,h1,h2,h3,h4,.hs-line,.quote-frame) em,html body em.gold,html body .gold{font-family:inherit!important;font-style:normal!important;
  font-weight:inherit!important;letter-spacing:inherit!important;font-size:1em!important;color:var(--x-gold);background:none;-webkit-text-fill-color:currentColor}
html body .sec-dark :is(.display,.h-sec,h2,h3) em{color:var(--x-gold-l)}
html body :is(.aw-n,.aw-count b,.lx-card-n){font-family:var(--x-f)!important;font-style:normal!important}
html body .lead{font-family:var(--x-f);font-size:18.5px;line-height:1.7;color:var(--x-t2)}
html body p{line-height:1.75}

/* labels: a dot, spaced capitals — the line rules of v45 are gone */
html body .eyebrow{font-family:var(--x-f);font-weight:600;font-size:12.5px;letter-spacing:.2em;color:var(--x-gold);gap:12px}
html body .eyebrow::before{width:7px;height:7px;border-radius:50%;background:currentColor}
html body .eyebrow.light{color:var(--x-gold-l)}
html body .idx{font-family:var(--x-f);font-weight:600;font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--x-gold)}
html body .sec-head .he{max-width:820px}

/* ── Buttons: pill, rising fill ──────────────────────────────────────────── */
html body .btn{border-radius:999px;font-family:var(--x-f);font-weight:600;font-size:15px;letter-spacing:-.005em;text-transform:none;min-height:56px;padding:0 28px;
  box-shadow:none;position:relative;overflow:hidden;isolation:isolate;transition:color .55s var(--x-ease),border-color .55s}
html body .btn::after{content:"";position:absolute;left:50%;top:100%;width:140%;aspect-ratio:1;border-radius:50%;background:var(--x-ink);z-index:-1;transform:translate(-50%,0);transition:transform .8s var(--x-ease)}
html body .btn:hover::after{transform:translate(-50%,-72%)}
html body .btn:hover{transform:none;box-shadow:none}
html body :is(.btn-gold,.btn-solid){background:var(--x-gold);color:#fff;border:1px solid var(--x-gold)}
html body :is(.btn-gold,.btn-solid):hover{color:#fff;border-color:var(--x-ink)}
html body .btn-dark{background:var(--x-ink);color:#fff;border:1px solid var(--x-ink)}
html body .btn-dark::after{background:var(--x-gold)}
html body .btn-line{background:transparent;color:var(--x-t);border:1px solid var(--x-line2)}
html body .btn-line::after{background:var(--x-t)}
html body .btn-line:hover{color:#fff;border-color:var(--x-t)}
html body .btn-line.light{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
html body .btn-line.light::after{background:#fff}
html body .btn-line.light:hover{color:var(--x-ink);border-color:#fff}
html body .sec-quiet .btn-line.light{color:var(--x-t);border-color:var(--x-line2)}
html body :is(.pcard-cta,.card-cta){border-radius:999px!important;background:var(--x-gold)!important;color:#fff!important;font-family:var(--x-f);font-weight:600;letter-spacing:0;text-transform:none;box-shadow:none!important}
html body :is(.lead-link,.card-link,.jart-go){font-family:var(--x-f);font-weight:600;letter-spacing:0;text-transform:none;color:var(--x-gold)}
html body .jart-go{background:none!important;color:var(--x-gold)!important;padding:0 0 4px!important;border-radius:0!important;box-shadow:none!important;width:auto!important;border-bottom:1px solid currentColor}

/* ── Page heroes: full-height photograph, oversized headline bottom-left ─── */
html body .phd{min-height:max(640px,92svh);align-items:flex-end;text-align:left;padding-block:calc(var(--x-hh) + 40px) clamp(48px,6vh,80px)}
html body .phd-scrim{background:linear-gradient(180deg,rgba(8,7,6,.45) 0%,rgba(8,7,6,0) 26%),linear-gradient(0deg,rgba(8,7,6,.88) 0%,rgba(8,7,6,.4) 36%,rgba(8,7,6,0) 66%),
  linear-gradient(90deg,rgba(8,7,6,.45) 0%,rgba(8,7,6,0) 60%)}
html body .phd-media img{animation:xKen 26s linear both}
html body .phd-wrap{grid-template-columns:minmax(0,1fr) auto;align-items:end}
html body .phd-in{max-width:1080px}
html body .phd .crumb{font-family:var(--x-f);font-weight:500;font-size:14.5px;letter-spacing:0;text-transform:none;margin-bottom:22px;color:rgba(255,255,255,.7)}
html body .phd .eyebrow{color:var(--x-gold-l)}
html body .phd .display{margin-top:20px;text-shadow:none;font-size:clamp(46px,6.6vw,118px)}
html body .phd .lead{margin-top:24px;color:rgba(255,255,255,.84);max-width:48ch}
html body .phd-cta{margin-top:34px}
html body .phd-stat b{font-family:var(--x-f);font-weight:500;letter-spacing:-.03em}
html body .phd-stat span{font-family:var(--x-f);font-weight:500;font-size:14px;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.7)}
html body .phd::after{display:none}
html body .phero:not(.x-phero){min-height:max(640px,90svh);display:flex;align-items:flex-end}
html body .phero:not(.x-phero) .wrap{width:100%}
html body .phero:not(.x-phero) .phero-inner{padding-bottom:clamp(48px,6vh,80px)}
html body .phero:not(.x-phero) .crumb{font-family:var(--x-f);font-weight:500;font-size:14.5px;color:rgba(255,255,255,.7)}
html body .phero:not(.x-phero) .display{font-size:clamp(52px,8vw,140px);margin-top:18px!important}
html body .phero-bg img{animation:xKen 26s linear both}

/* ── Panels, cards, figures ──────────────────────────────────────────────── */
html body :is(.card,.pcard,.awc,.jr,.pil,.mech,.ldr,.lc,.offc,.role,.dl,.upd,.jart,.vstep,.perk,.tier,.eq2-card,.npt,.nclk,.bn,.fdr){box-shadow:none;border-color:var(--x-line)}
html body :is(.card,.pcard,.awc,.jr,.pil,.mech,.ldr,.lc,.role,.jart,.perk,.tier){transition:transform .7s var(--x-ease),box-shadow .7s var(--x-ease)}
html body :is(.card,.pcard,.awc,.jr,.pil,.mech,.ldr,.lc,.role,.jart,.perk,.tier):hover{transform:translateY(-6px);box-shadow:0 34px 60px -38px rgba(16,14,12,.35)}
html body .factrail .fr-i b,html body .fr-i b{font-family:var(--x-f);font-weight:500;letter-spacing:-.03em}
html body .factrail .fr-i span{font-family:var(--x-f);font-weight:500;font-size:14px;letter-spacing:0;text-transform:none;color:var(--x-t3)}
html body .pcard-name{font-family:var(--x-f);font-weight:500;letter-spacing:-.03em;text-transform:none!important}
html body .pcard{background:#fff}
html body :is(.pcard-tag,.chip,.tag,.pill,.badge,.mech-tag,.rera-k,.mrun-tag){font-family:var(--x-f);font-weight:600;letter-spacing:.12em}

/* ── Forms ───────────────────────────────────────────────────────────────── */
html body :is(input,select,textarea){font-family:var(--x-f)}
html body .pform :is(input,select,textarea){min-height:54px;font-size:16.5px}
html body .pform button[type=submit],html body .pf-go{border-radius:999px!important;background:var(--x-gold)!important;font-family:var(--x-f);font-weight:600;letter-spacing:0;text-transform:none}

/* ── Project sub-bar follows the header ──────────────────────────────────── */
html body .psub{top:82px;background:rgba(255,255,255,.96);transition:top .7s var(--x-ease)}
html.hx-hdr-hidden body .psub{top:0}
html body .psub a{font-family:var(--x-f);font-weight:500;font-size:15px;letter-spacing:0;text-transform:none}
html body .psub-n{font-family:var(--x-f);font-weight:600;letter-spacing:-.01em;text-transform:none}
html body .psub-cta{border-radius:999px;background:var(--x-gold)!important;font-family:var(--x-f);font-weight:600;letter-spacing:0;text-transform:none}

/* ── v45 pins h1/h2 tracking with !important; v47 needs its own ───────────── */
html body .x-ptitle{letter-spacing:-.055em!important;font-weight:500!important}
html body .x-mega,html body .x-dsp{letter-spacing:-.04em!important;font-weight:500!important}
html body .hx-ftr-cta h2{letter-spacing:-.035em!important;font-weight:500!important}
html body .x-hero-in h1,html body .x-hero-in h2{text-transform:none!important}

/* old floating pieces the shell replaces */
.sprog,.cursor,.cursor-dot,.c-dot,.c-ring{display:none!important}

@media (max-width:900px){
  html body .psub{top:68px}
  html body .phd{min-height:max(560px,84svh)}
  html body .phd-wrap{grid-template-columns:1fr}
}
html body .eyebrow::before{width:7px!important;height:7px!important;border-radius:50%!important;background:currentColor!important}
html body :is(.phd,.phero) .crumb{display:flex!important;width:max-content;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;font-size:14.5px!important}
html body :is(.phd,.phero) .crumb :is(a,span){text-transform:none!important;letter-spacing:0!important}

/* ═══ v48 · ELEGANCE — regular weight, measured sizes, clean white bands ═══ */
:root{--paper-2:#f7f7f5;--sand:#ececea;--bronze-x:#f1ece4}
/* the v45 beige panels and washes become clean white bands with a hairline */
html body section.tone-b,html body .sec-quiet,html body .tone-b,html body .enquire2:not(.dark):not(.x-inv){
  background:#fff!important;background-image:none!important;border:0!important;border-top:1px solid var(--x-line)!important;box-shadow:none!important;border-radius:0!important}
html body .sec-quiet::before,html body .sec-quiet::after{display:none!important}
html body :is(.awc,.figrow > div,.npt,.nclk,.bn,.eq2-card,.spx,.spec-nav,.spx-nav,.tabs,.amsw){background-image:none}

html body :is(h1,h2,h3,h4,h5,h6){font-weight:400!important;letter-spacing:-.015em!important}
html body .display{font-weight:400!important;letter-spacing:-.025em!important;line-height:1.08;font-size:clamp(36px,4.2vw,68px)}
html body .phd .display{font-size:clamp(36px,4.4vw,72px)}
html body .phero:not(.x-phero) .display{font-size:clamp(40px,5vw,84px)}
html body .h-sec,html body :is(h1,h2).h-sec{font-weight:400!important;letter-spacing:-.02em!important;line-height:1.15;font-size:clamp(28px,2.5vw,42px)}
html body section.tone-b .sec-head .he .h-sec{max-width:18ch}
html body .h-3{font-weight:400}
html body .lead{font-size:17px;line-height:1.8}
html body .eyebrow{font-weight:500;font-size:12px;letter-spacing:.22em}
html body .eyebrow::before{width:5px!important;height:5px!important}
html body .btn{font-weight:500;font-size:14.5px;min-height:52px}
html body :is(.pcard-name,.factrail .fr-i b,.fr-i b,.phd-stat b){font-weight:400!important}
html body .x-ptitle{font-weight:400!important;letter-spacing:-.035em!important}
html body .x-mega,html body .x-dsp{font-weight:400!important;letter-spacing:-.022em!important}
html body .hx-ftr-cta h2{font-weight:400!important;letter-spacing:-.02em!important}

/* ══ v49 · tonal rhythm — white and a neutral stone, never a solid dark block ══ */
html body section.x-st{background:#f2f2ef!important;background-image:linear-gradient(180deg,#f4f4f1 0%,#efefeb 100%)!important;border-top:0!important}
html body section.x-st + section:not(.x-st){border-top:0!important}
html body section.x-st :is(.card,.fcard,.perk,.cred,.upd,.role,.dl,.tier,.mm,.amc,.cert,.press-i,.prin,.day,.faq-i,.val,.thread,.lgl,.strs,.pform){background:#fff!important;border-color:rgba(22,19,15,.07)!important;
  box-shadow:0 1px 2px rgba(22,19,15,.04),0 24px 60px -36px rgba(22,19,15,.28)!important;transition:transform .6s var(--x-ease),box-shadow .6s var(--x-ease)}
html body section.x-st :is(.card,.fcard,.perk,.cred,.upd,.role,.dl,.tier,.amc,.cert,.press-i,.prin):hover{transform:translateY(-6px);box-shadow:0 2px 4px rgba(22,19,15,.05),0 40px 80px -40px rgba(22,19,15,.38)!important}
html body section.tone-a,html body section.sec-quiet.tone-a{background:#fff!important}

/* ══ v49.1 · performance — smooth on Safari, Chrome, Firefox and phones ════ */
/* frosted-glass effects re-blur everything behind them on every scrolled frame */
html body *:not(.hx-menu):not(.x-lb){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* marathon hero: the soft colour fields stay, without a moving 70px blur or a moving 3D floor */
html body .mrun-bg span{filter:none!important;animation:none!important;opacity:.7}
html body .mrun-3d-in{animation:none!important}
html body .hero-bg img{animation:none!important}

/* ══ v49.2 · the invitation — private viewing, set over a 3D render ═══════ */
html body section.enquire2.x-inv{position:relative;isolation:isolate;border:0!important;color:#fff;background-color:#3a332b!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
html body section.enquire2.x-inv::before{content:""!important;display:block!important;position:absolute;inset:clamp(14px,1.6vw,26px);border:1px solid rgba(217,191,142,.42);pointer-events:none;z-index:0;background:none!important}
html body section.enquire2.x-inv > .wrap{position:relative;z-index:1}
html body .x-inv .eq2-left :is(h2,.h-sec){color:#fff!important}
html body .x-inv .eq2-left :is(p,.lead,.contacts a,.contacts a *){color:rgba(255,255,255,.86)!important}
html body .x-inv .eq2-left :is(.eyebrow,em,.gold){color:var(--x-gold-l)!important}
html body .x-inv .eq2-left .eyebrow::before{background:var(--x-gold-l)!important}
html body .x-inv .contacts .ico{border-color:rgba(255,255,255,.34)!important;background:transparent!important;color:#fff!important}
html body .x-inv .eq2-trust{border-color:rgba(255,255,255,.2)!important}
html body .x-inv .eq2-trust b{color:#fff!important}html body .x-inv .eq2-trust span{color:var(--x-gold-l)!important}
html body .x-inv .eq2-card{border-top:2px solid var(--x-gold)!important;box-shadow:0 50px 100px -50px rgba(0,0,0,.7)!important}
.x-inv-mark{display:block;width:46px;height:46px;margin-bottom:20px;color:var(--x-gold-l)}
.x-inv-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.2}
.hx-ftr.no-cta .hx-ftr-cta{display:none}

/* stone sections: fine architectural hairlines in pale gold, fading at top and bottom */
html body section.x-st:not(.x-inv){position:relative;isolation:isolate}
html body section.x-st.x-st:not(.x-inv)::after{content:""!important;display:block!important;position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(170,132,83,.12) 0 1px,transparent 1px 132px)!important;background-position:center top!important;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%)}
html body section.x-st.x-st:not(.x-inv)::before{content:"";position:absolute;left:50%;top:0;width:56px;height:1px;margin-left:-28px;background:var(--x-gold);display:block!important;opacity:.7}

/* ══ v49.5 · careers — life at Holystico, on film ══════════════════════════ */
html body section.x-culture{position:relative;isolation:isolate;background:#f2f2ef;padding:clamp(80px,9vw,140px) 0}
html body section.x-culture::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(170,132,83,.12) 0 1px,transparent 1px 132px);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%)}
.x-cul-head{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,80px);align-items:end;margin-bottom:clamp(36px,4vw,60px)}
.x-cul-head .h-sec{margin-top:14px}
.x-cul-head .lead{max-width:48ch;margin:0}
.x-cul-g{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,1.6vw,26px)}
.x-cul-i{display:block;text-align:left;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:var(--x-t)}
.x-cul-i figure{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:6px;margin:0 0 16px;background:#e6e4df}
.x-cul-i img{width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--x-ease)}
.x-cul-i figure::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,9,7,.45),rgba(10,9,7,0) 50%)}
.x-cul-i i{position:absolute;left:18px;bottom:18px;z-index:1;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--x-t);transition:transform .5s var(--x-ease),background .4s}
.x-cul-i i svg{width:12px;height:12px;fill:currentColor;margin-left:2px}
.x-cul-i:hover img{transform:scale(1.05)}
.x-cul-i:hover i{background:var(--x-gold);color:#fff;transform:scale(1.06)}
.x-cul-i b{display:block;font-weight:400;font-size:19px;letter-spacing:-.01em}
.x-cul-i small{display:block;margin-top:4px;font-size:14.5px;color:#7d766c}
@media (max-width:1000px){.x-cul-g{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){
  .x-cul-head{grid-template-columns:1fr}
  .x-cul-g{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 calc(-1 * var(--gut,20px));padding:0 var(--gut,20px) 6px;scrollbar-width:none}
  .x-cul-g::-webkit-scrollbar{display:none}
  .x-cul-i{flex:0 0 72%;scroll-snap-align:start}
}
