.gs3d{--ink:#0E0D0B;--ivory:#F4EFE6;--gold:#D4AF37;--mut:#B8B2A3;position:relative;background:var(--ink) var(--grain,none);color:var(--ivory);isolation:isolate}
.gs3d-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;z-index:0}
.gs3d-stage::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 55% 50% at 50% 50%,rgb(212 175 55/.14),transparent 70%)}
.gs3d-stage canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .8s ease}
.gs3d-ready .gs3d-stage canvas{opacity:1}
.gs3d-fallback{position:absolute;inset:0;margin:auto;height:52%;width:auto;max-width:70%;opacity:.85;pointer-events:none;filter:drop-shadow(0 0 40px rgb(212 175 55/.25));transition:opacity .8s ease}
.gs3d-ready .gs3d-fallback{opacity:0}
.gs3d-static .gs3d-fallback{opacity:.55}
.gs3d-static .gs3d-stage canvas{display:none}
.gs3d-content{position:relative;z-index:1;margin-top:-100vh;margin-top:-100svh}
.gs3d-panel{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:96px clamp(16px,5vw,48px) 64px;gap:18px}
.gs3d-panel > *{margin:0;max-width:22ch}
.gs3d-eyebrow{font:600 13px/1.4 "DM Sans",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.gs3d-h1{font:420 clamp(44px,9vw,112px)/1 var(--serif);letter-spacing:-.025em;color:var(--ivory)}
.gs3d-h2{font:420 clamp(34px,6vw,72px)/1.05 var(--serif);letter-spacing:-.02em;color:var(--ivory)}
.gs3d-p{font:400 clamp(17px,1.8vw,20px)/1.6 "DM Sans",sans-serif;color:var(--ivory);max-width:46ch!important}
.gs3d-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:none!important}
.gs3d-btn{display:inline-flex;align-items:center;min-height:48px;padding:12px 26px;border-radius:8px;font:600 16px/1.2 "DM Sans",sans-serif;
  text-decoration:none;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,border-color .2s,color .2s}
.gs3d-btn-primary{background:var(--gold);color:#111;box-shadow:0 2px 10px rgb(212 175 55/.25)}
.gs3d-btn-secondary{border:1px solid currentColor;color:var(--ivory);background:rgb(14 13 11/.35)}
@media (hover:hover){.gs3d-btn:hover{transform:translateY(-2px)}
  .gs3d-btn-primary:hover{box-shadow:0 0 0 1px var(--gold),0 10px 28px rgb(212 175 55/.38)}
  .gs3d-btn-secondary:hover{border-color:var(--gold);color:var(--gold)}}
.gs3d-btn:active{transform:scale(.97)}
.gs3d-btn:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.gs3d-scroll{font:500 13px/1 "DM Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--mut);margin-top:24px!important}
/* static fallback: shorter hero, soft shadow behind text over the flat logo */
.gs3d-static .gs3d-panel{min-height:72vh}
.gs3d-static .gs3d-txt{text-shadow:0 2px 24px var(--ink),0 0 6px var(--ink)}
@media (prefers-reduced-motion:reduce){.gs3d-btn{transition:none}.gs3d-btn:hover,.gs3d-btn:active{transform:none}.gs3d-stage canvas{transition:none}}

/* Portfolio: the stage spans the whole gallery run, sticky behind the photos */
.gs-journey:has(> .gs3d-stage){background-color:var(--ink,#0E0D0B);isolation:isolate}
.gs-journey > .gs3d-stage{position:sticky;top:0;height:100vh;height:100svh;margin-bottom:-100vh;margin-bottom:-100svh;z-index:0}
.gs-journey > .gs3d,.gs-journey > .gs-sec{position:relative}
.gs-journey > .gs3d{background-color:transparent}
.gs-journey > .gs3d .gs3d-content{margin-top:0}
.gs-journey.gl-on > .gs-sec{background-color:transparent!important}
.gs-journey.gs3d-static .gs3d-fallback{opacity:.55}
.gs-journey.gs3d-static .gs3d-stage canvas{display:none}
/* Portfolio: wider gutters so the gold logo turning behind the photos shows between them */
.gs-journey.gl-on .gs-gallery{gap:30px!important;column-gap:30px!important}
.gs-journey.gl-on .gs-gallery .gs-shot{margin-bottom:0!important}
/* merge phase: the stage leaves the gallery run and floats above the closing sections to reach the footer logo */
.gs-journey.gl-merge{isolation:auto}
.gs-journey.gl-merge > .gs3d-stage{position:fixed;inset:0;height:100vh;height:100svh;margin:0;z-index:1;pointer-events:none}
/* keep the closing sections' text above the gliding logo (their backgrounds stay below it) */
.gs-journey.gl-merge > .gs-sec > .gs-wrap,.gs-journey.gl-merge ~ .gs-sec > .gs-wrap,body:has(.gs-journey.gl-merge) .gs-footer-in{position:relative;z-index:2}
.gs-journey.gl-merge > .gs3d-stage::after{opacity:0}

/* the portfolio H1 is the small keyword line above the big title */
h1.gs3d-eyebrow{max-width:none!important;width:auto;text-wrap:balance;line-height:1.5}
