/* ============================================================
   STERLING WINDOWS & FURNISHING — ULTRA PREMIUM LIGHT THEME
   Palette: Warm Ivory · Deep Charcoal · Brushed Gold
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:wght@200;300;400;500;600&display=swap');

:root {
  --ivory:       #faf8f3;
  --ivory-2:     #f4f1e8;
  --ivory-3:     #edeadf;
  --ivory-4:     #e4dfd1;
  --charcoal:    #1c1c1a;
  --charcoal-2:  #2e2e2b;
  --charcoal-3:  #404040;
  --text:        #1c1c1a;
  --text-2:      #484844;
  --text-3:      #7a7a72;
  --text-4:      #606060;
  --gold:        #b08a2e;
  --gold-light:  #cba84e;
  --gold-pale:   rgba(176,138,46,0.09);
  --gold-border: rgba(176,138,46,0.28);
  --border:      rgba(26,26,24,0.08);
  --border-2:    rgba(26,26,24,0.15);
  --shadow-sm:   0 2px 14px rgba(26,26,24,0.07);
  --shadow-md:   0 10px 45px rgba(26,26,24,0.10);
  --shadow-lg:   0 28px 90px rgba(26,26,24,0.14);
  --radius:      3px;
  --ease:        cubic-bezier(0.25,0.46,0.45,0.94);
  /* Square grid defs */
  --grid-light: linear-gradient(rgba(26,26,24,0.055) 1px,transparent 1px),
                linear-gradient(90deg,rgba(26,26,24,0.055) 1px,transparent 1px);
  --grid-dark:  linear-gradient(rgba(176,138,46,0.11) 1px,transparent 1px),
                linear-gradient(90deg,rgba(176,138,46,0.11) 1px,transparent 1px);
  --grid-size:  44px 44px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--ivory);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{cursor:pointer;border:none;background:none;font-family:inherit;}
::-webkit-scrollbar{width:4px;}
::-webkit-scrollbar-track{background:var(--ivory);}
::-webkit-scrollbar-thumb{background:var(--gold-border);border-radius:2px;}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;font-weight:400;line-height:1.08;color:var(--charcoal);}
.section-eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-family:'DM Sans',sans-serif;font-size:.64rem;font-weight:600;
  letter-spacing:.32em;text-transform:uppercase;color:var(--gold);margin-bottom:1.4rem;
}
.section-eyebrow::before{content:'';width:26px;height:1px;background:var(--gold);flex-shrink:0;}
.section-title{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,4vw,3.8rem);font-weight:300;color:var(--charcoal);line-height:1.08;}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:.85rem 2.2rem;font-family:'DM Sans',sans-serif;font-size:.72rem;
  font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  border-radius:var(--radius);transition:all .38s var(--ease);cursor:pointer;border:1px solid transparent;
}
.btn-primary{background:var(--charcoal);color:var(--ivory);border-color:var(--charcoal);}
.btn-primary:hover{background:var(--charcoal-2);transform:translateY(-2px);box-shadow:0 14px 40px rgba(26,26,24,.2);}
.btn-gold{background:var(--gold);color:var(--ivory);border-color:var(--gold);}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px);box-shadow:0 14px 40px rgba(176,138,46,.3);}
.btn-outline{background:transparent;color:var(--charcoal);border-color:var(--border-2);}
.btn-outline:hover{border-color:var(--charcoal);transform:translateY(-2px);}
.btn-outline-gold{background:transparent;color:var(--gold);border-color:var(--gold-border);}
.btn-outline-gold:hover{background:var(--gold-pale);border-color:var(--gold);}
.btn-outline-ivory{background:transparent;color:var(--ivory);border-color:rgba(250,248,243,.35);}
.btn-outline-ivory:hover{background:rgba(250,248,243,.1);border-color:rgba(250,248,243,.6);}
.btn-sm{padding:.6rem 1.4rem;font-size:.66rem;}
.btn-lg{padding:1rem 2.8rem;font-size:.76rem;}

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:all .45s var(--ease);}
.header-grid-strip{
  position:absolute;inset:0;
  /* background-image:var(--grid-light);background-size:var(--grid-size); */
  pointer-events:none;opacity:0;transition:opacity .4s;
}
.header.scrolled .header-grid-strip{opacity:1;}
.header-inner{
  max-width:1300px;margin:0 auto;padding:1.15rem 2rem;
  display:flex;align-items:center;gap:2rem;
  transition:padding .4s var(--ease);position:relative;z-index:1;
}
.header.scrolled{background:rgba(250,248,243,.96);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm);}
.header.scrolled .header-inner{padding:.8rem 2rem;}
/* On dark hero — logo/nav go light */
.header.on-hero .logo-name{color:var(--ivory);}
.header.on-hero .logo-sub{color:rgba(250,248,243,.4);}
.header.on-hero .logo-icon{color:var(--gold-light);}
.header.on-hero .nav-link{color:rgba(250,248,243,.55);}
.header.on-hero .nav-link:hover,.header.on-hero .nav-link.active{color:var(--ivory);}
.header.on-hero .mobile-toggle span{background:var(--ivory);}

.logo{display:flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0;}
.logo-icon{width:34px;height:34px;color:var(--gold);flex-shrink:0;}
.logo-text{display:flex;flex-direction:column;line-height:1;}
.logo-name{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:600;color:var(--charcoal);letter-spacing:.04em;transition:color .4s;}
.logo-sub{font-family:'DM Sans',sans-serif;font-size:.52rem;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:var(--text-3);margin-top:3px;transition:color .4s;}
.logo-image-wrap{
  position:relative;
  display:block;
  line-height:0;
  width:228px;
  max-width:42vw;
}
.logo-img{
  width:100%;
  height:auto;
  transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.logo-img-light{
  position:absolute;
  inset:0;
  opacity:0;
}
.logo.logo--light .logo-img-dark,
.header.on-hero .logo .logo-img-dark{
  opacity:0;
}
.logo.logo--light .logo-img-light,
.header.on-hero .logo .logo-img-light{
  opacity:1;
}
.header.on-hero .logo .logo-img-light{
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.18));
}
.header .logo{
  gap:0;
}
.header .logo-image-wrap{
  width:168px;
  max-width:18vw;
}
.footer .logo-image-wrap{
  width:216px;
  max-width:44vw;
}

.nav{display:flex;align-items:center;gap:0;margin-left:auto;}
.nav-link{font-family:'DM Sans',sans-serif;font-size:.72rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);padding:.5rem 1.1rem;transition:color .3s;position:relative;}
.nav-link::after{content:'';position:absolute;bottom:-2px;left:50%;right:50%;height:1px;background:var(--gold);transition:all .4s var(--ease);}
.nav-link:hover,.nav-link.active{color:var(--charcoal);}
.nav-link:hover::after,.nav-link.active::after{left:1.1rem;right:1.1rem;}

.mobile-toggle{display:none;flex-direction:column;gap:5px;padding:8px;margin-left:auto;}
.mobile-toggle span{display:block;width:22px;height:1px;background:var(--charcoal);transition:all .4s;}
.mobile-toggle.open span:nth-child(1){transform:rotate(45deg) translate(4px,4px);}
.mobile-toggle.open span:nth-child(2){opacity:0;}
.mobile-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px);}
.mobile-nav{display:none;flex-direction:column;background:rgba(250,248,243,.98);backdrop-filter:blur(20px);border-top:1px solid var(--border);padding:1rem 2rem 2rem;}
.mobile-nav.open{display:flex;}
.mobile-nav-link{font-family:'DM Sans',sans-serif;font-size:.9rem;color:var(--text-2);padding:1rem 0;border-bottom:1px solid var(--border);transition:color .3s;}
.mobile-nav-link:hover{color:var(--gold);}

/* ===== FOOTER ===== */
.footer{
  background-color:var(--charcoal);
  background-image:var(--grid-dark);
  background-size:var(--grid-size);
  position:relative;
}
.footer::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,var(--gold),var(--gold-light),var(--gold),transparent);}
.footer-inner{max-width:1200px;margin:0 auto;padding:5rem 2rem 4rem;display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:4rem;position:relative;z-index:1;}
.footer-brand p{font-family:'DM Sans',sans-serif;font-size:.85rem;color:rgba(250,248,243,.65);line-height:1.85;max-width:280px;margin-top:1.5rem;}
.footer-links h4{font-family:'DM Sans',sans-serif;font-size:.62rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:1.5rem;}
.footer-links a,.footer-links p{display:block;font-family:'DM Sans',sans-serif;font-size:.85rem;color:rgba(250,248,243,.65);margin-bottom:.8rem;transition:color .3s;line-height:1.7;}
.footer-links a:hover{color:rgba(250,248,243,.95);}
.footer-bottom{border-top:1px solid rgba(250,248,243,.12);padding:1.5rem 2rem;max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;font-family:'DM Sans',sans-serif;font-size:.75rem;color:rgba(250,248,243,.55);position:relative;z-index:1;}
.footer-bottom a{color:var(--gold);text-decoration:none;transition:color .2s;}.footer-bottom a:hover{color:var(--gold-light);}
.footer-legal{display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:center;}
.footer-legal a{color:rgba(250,248,243,.55);font-size:.72rem;transition:color .2s;}.footer-legal a:hover{color:var(--gold);}
.footer-devby{font-size:.72rem;color:rgba(250,248,243,.4);text-align:center;width:100%;padding-top:.5rem;border-top:1px solid rgba(250,248,243,.06);margin-top:.4rem;}
.footer-devby a{color:rgba(176,138,46,.8);}.footer-devby a:hover{color:var(--gold);}
.footer-social{display:flex;gap:10px;margin-top:1.5rem;}
.footer-social a{width:38px;height:38px;border:1px solid rgba(250,248,243,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:rgba(250,248,243,.65);transition:all .3s;}
.footer-social a:hover{border-color:var(--gold);color:var(--gold);}

/* ===== IMAGE PLACEHOLDER WITH SQUARE GRID ===== */
.img-grid-box{
  width:100%;
  background-color:var(--ivory-3);
  background-image:var(--grid-light);
  background-size:36px 36px;
  border:1px solid var(--border-2);
  border-radius:var(--radius);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;
  position:relative;overflow:hidden;
}
.img-grid-box::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 65% 55% at 50% 50%,rgba(250,248,243,.55),transparent);pointer-events:none;}
.img-grid-box.has-photo{
  background:none;
  border-color:rgba(26,26,24,.08);
  box-shadow:var(--shadow-md);
}
.img-grid-box.has-photo::after{
  background:
    linear-gradient(180deg, rgba(250,248,243,.04) 0%, rgba(26,26,24,.14) 100%),
    radial-gradient(ellipse 72% 60% at 50% 46%, rgba(250,248,243,.1), transparent 70%);
}
.img-grid-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease),filter .45s var(--ease);
}
.img-grid-box.has-photo:hover .img-grid-photo{
  transform:scale(1.035);
  filter:saturate(1.04) contrast(1.02);
}
.img-grid-box .ph-icon{color:var(--text-4);position:relative;z-index:1;}
.img-grid-box .ph-text{font-family:'DM Sans',sans-serif;font-size:.6rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--text-4);position:relative;z-index:1;}
.img-grid-box.portrait{aspect-ratio:3/4;}
.img-grid-box.landscape{aspect-ratio:4/3;}
.img-grid-box.square{aspect-ratio:1/1;}
.img-grid-box.wide{aspect-ratio:16/6;}

/* ===== PAGE HERO (inner pages) — dark with gold grid ===== */
.page-hero{
  padding:10rem 2rem 5rem;
  background-color:var(--charcoal);
  background-image:var(--grid-dark);
  background-size:var(--grid-size);
  position:relative;text-align:center;overflow:hidden;
}
.page-hero::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 84% 74% at 50% 58%,rgba(26,26,24,.24),rgba(26,26,24,.68) 72%,var(--charcoal) 92%);pointer-events:none;}
.page-hero-content{position:relative;z-index:1;}
.page-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.5rem,5vw,4.2rem);font-weight:300;color:var(--ivory);margin-bottom:1rem;}
.page-hero p{font-family:'DM Sans',sans-serif;font-size:.95rem;color:rgba(250,248,243,.5);max-width:540px;margin:0 auto;line-height:1.85;}
.breadcrumb{display:flex;align-items:center;justify-content:center;gap:8px;font-family:'DM Sans',sans-serif;font-size:.68rem;letter-spacing:.08em;color:rgba(250,248,243,.3);margin-bottom:1.5rem;}
.breadcrumb a{color:var(--gold-light);transition:opacity .3s;}
.breadcrumb a:hover{opacity:.7;}

/* ===== SCROLL REVEAL ===== */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .75s var(--ease),transform .75s var(--ease);}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ===== MISC UTILITIES ===== */
.tag{display:inline-flex;padding:4px 13px;border:1px solid var(--gold-border);border-radius:100px;font-family:'DM Sans',sans-serif;font-size:.62rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);background:var(--gold-pale);}
.divider{width:48px;height:1px;background:linear-gradient(90deg,var(--gold),transparent);margin:1.5rem 0;}
.divider-center{margin:1.5rem auto;background:linear-gradient(90deg,transparent,var(--gold),transparent);}
.gold-rule{width:100%;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.35;}
.feature-li{display:flex;align-items:center;gap:14px;padding:.75rem 0;border-bottom:1px solid var(--border);font-family:'DM Sans',sans-serif;font-size:.88rem;color:var(--text-2);}
.feature-li::before{content:'';width:20px;height:1px;background:var(--gold);flex-shrink:0;}

.float-btns{position:fixed;bottom:2rem;right:2rem;display:flex;flex-direction:column;gap:.65rem;align-items:center;z-index:999;}
.whatsapp-float{width:54px;height:54px;background:#25D366;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(37,211,102,.35);transition:all .4s;animation:waFloat 4s ease-in-out infinite;cursor:pointer;}
.whatsapp-float:hover{transform:scale(1.1);}
.call-float{width:54px;height:54px;background:linear-gradient(135deg,var(--gold),var(--gold-light));border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(176,138,46,.35);transition:all .4s;animation:callFloat 4s ease-in-out infinite 2s;color:var(--ivory);}
.call-float:hover{transform:scale(1.1);}
@keyframes waFloat{0%,100%{box-shadow:0 6px 24px rgba(37,211,102,.35);}50%{box-shadow:0 6px 40px rgba(37,211,102,.5),0 0 0 8px rgba(37,211,102,.08);}}
@keyframes callFloat{0%,100%{box-shadow:0 6px 24px rgba(176,138,46,.35);}50%{box-shadow:0 6px 40px rgba(176,138,46,.52),0 0 0 8px rgba(176,138,46,.1);}}

body.call-chooser-open{overflow:hidden;}
.call-chooser-backdrop{
  position:fixed;inset:0;z-index:10000;
  display:flex;align-items:center;justify-content:center;
  padding:1.5rem;background:rgba(12,10,8,.66);backdrop-filter:blur(8px);
  opacity:0;pointer-events:none;transition:opacity .28s var(--ease);
}
.call-chooser-backdrop.open{opacity:1;pointer-events:auto;}
.call-chooser-modal{
  width:min(100%,420px);background:var(--ivory);
  border:1px solid rgba(176,138,46,.2);border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.24);overflow:hidden;
}
.call-chooser-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  padding:1.35rem 1.35rem 1rem;background:linear-gradient(180deg,rgba(176,138,46,.08),rgba(176,138,46,0));
}
.call-chooser-title{font-family:'Cormorant Garamond',serif;font-size:1.8rem;line-height:1;color:var(--charcoal);margin:0 0 .2rem;}
.call-chooser-sub{font-family:'DM Sans',sans-serif;font-size:.82rem;line-height:1.6;color:var(--text-3);margin:0;}
.call-chooser-close{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);border-radius:50%;background:rgba(255,255,255,.8);
  color:var(--text-2);transition:all .25s;
}
.call-chooser-close:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-pale);}
.call-chooser-list{padding:0 1.1rem 1.1rem;display:grid;gap:.85rem;}
.call-person-card{
  display:flex;align-items:center;gap:1rem;
  padding:1rem 1.05rem;border:1px solid rgba(176,138,46,.18);
  border-radius:14px;background:rgba(250,248,243,.92);text-decoration:none;
  transition:transform .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease);
}
.call-person-card:hover{
  transform:translateY(-2px);border-color:rgba(176,138,46,.45);
  background:var(--ivory);box-shadow:0 12px 28px rgba(176,138,46,.12);
}
.call-person-icon{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(176,138,46,.14);color:var(--gold);flex-shrink:0;
}
.call-person-text{flex:1;min-width:0;}
.call-person-name{
  display:block;font-family:'DM Sans',sans-serif;font-size:.96rem;
  font-weight:700;color:var(--charcoal);margin-bottom:.18rem;
}
.call-person-number{
  display:block;font-family:'DM Sans',sans-serif;font-size:.8rem;
  color:var(--text-3);letter-spacing:.04em;
}
.call-person-arrow{color:var(--gold);opacity:.7;flex-shrink:0;}

.wa-chooser-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  padding:1.35rem 1.35rem 1rem;background:linear-gradient(180deg,rgba(37,211,102,.12),rgba(37,211,102,0));
}
.wa-person-card{
  display:flex;align-items:center;gap:1rem;
  padding:1rem 1.05rem;border:1px solid rgba(37,211,102,.18);
  border-radius:14px;background:rgba(244,255,247,.92);text-decoration:none;
  transition:transform .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease);
}
.wa-person-card:hover{
  transform:translateY(-2px);border-color:rgba(37,211,102,.45);
  background:#fff;box-shadow:0 12px 28px rgba(37,211,102,.12);
}
.wa-person-icon{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(37,211,102,.14);color:#25D366;flex-shrink:0;
}
.wa-person-arrow{color:#1a9e4a;opacity:.7;flex-shrink:0;}

/* ===== COOKIE CONSENT BANNER ===== */
#cookieConsent{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:#1c1c1a;border-top:2px solid #b08a2e;padding:1.1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;transform:translateY(100%);transition:transform .45s cubic-bezier(.25,.46,.45,.94);font-family:'DM Sans',sans-serif;}
#cookieConsent.show{transform:translateY(0);}
.cookie-text{font-size:.82rem;color:rgba(250,248,243,.75);line-height:1.6;flex:1;min-width:240px;}
.cookie-text a{color:#b08a2e;text-decoration:underline;}
.cookie-btns{display:flex;gap:.6rem;flex-shrink:0;}
.cookie-accept{background:#b08a2e;color:#fff;border:none;padding:.55rem 1.3rem;border-radius:4px;font-size:.8rem;font-weight:600;letter-spacing:.06em;cursor:pointer;transition:background .25s;}
.cookie-accept:hover{background:#cba84e;}
.cookie-reject{background:transparent;color:rgba(250,248,243,.55);border:1px solid rgba(250,248,243,.2);padding:.55rem 1.1rem;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .25s;}
.cookie-reject:hover{border-color:rgba(250,248,243,.5);color:rgba(250,248,243,.8);}
@media(max-width:600px){#cookieConsent{flex-direction:column;align-items:flex-start;gap:1rem;}.cookie-btns{width:100%;}.cookie-accept,.cookie-reject{flex:1;text-align:center;}}
@media(max-width:600px){
  .float-btns{right:1rem;bottom:1rem;gap:.5rem;}
  .whatsapp-float,.call-float{width:48px;height:48px;}
}

@media(max-width:1024px){.footer-inner{grid-template-columns:1fr 1fr;gap:3rem;}}
@media(max-width:768px){
  .nav,.header .btn{display:none;}
  .mobile-toggle{display:flex;}
  .header .logo-image-wrap{width:148px;max-width:52vw;}
  .footer .logo-image-wrap,.logo-image-wrap{width:190px;max-width:58vw;}
  .footer-inner{grid-template-columns:1fr;gap:2rem;}
  .footer-bottom{flex-direction:column;gap:.5rem;text-align:center;}
  .section-title{font-size:2rem;}
}


/* ═══════════════════════════════════════════════════════════════
   STERLING WINDOWS — ANIMATION UPGRADE CSS
   Counter · Pipeline · Hero Gold · Timeline · Reveals
═══════════════════════════════════════════════════════════════ */

/* ── COUNTER: stat number flash on count ── */
[data-count] { transition: color .1s; }
.count-flash  { color: var(--gold-light) !important; }

/* Hero stats strip — tiltable */
.h-stat {
  cursor: default;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
  transform-style: preserve-3d;
}
.h-stat:hover { box-shadow: 0 8px 28px rgba(176,138,46,.18); }

/* ── GOLD GRADIENT HERO (products & contact page-hero) ── */
.page-hero {
  background-color: var(--charcoal);
  background-image: var(--grid-dark);
  background-size: var(--grid-size);
  overflow: hidden;
}

/* Animated gold orbs behind hero content */
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 54% 74% at 18% 48%, rgba(176,138,46,.28) 0%, rgba(176,138,46,.12) 34%, transparent 68%),
    radial-gradient(ellipse 42% 62% at 80% 34%, rgba(203,168,78,.24) 0%, rgba(203,168,78,.1) 36%, transparent 62%),
    radial-gradient(ellipse 38% 42% at 52% 92%, rgba(176,138,46,.18) 0%, rgba(176,138,46,.08) 38%, transparent 60%);
  animation: heroGoldPulse 8s ease-in-out infinite alternate;
  filter: saturate(1.08);
}
@keyframes heroGoldPulse {
  0%   { opacity: .88; transform: scale(1) translateY(0); }
  50%  { opacity: 1;  transform: scale(1.05) translateY(-10px); }
  100% { opacity: .94; transform: scale(.985) translateY(5px); }
}

/* Sweeping light beam */
.page-hero-beam {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.page-hero-beam::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 48%; height: 220%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,241,196,.03) 39%, rgba(176,138,46,.2) 50%, rgba(255,241,196,.05) 60%, transparent 70%);
  filter: blur(2px);
  transform: rotate(-15deg);
  animation: heroBeam 7s ease-in-out infinite 2s;
}
@keyframes heroBeam {
  0%   { left: -60%; opacity: 0; }
  12%  { opacity: .95; }
  100% { left: 130%; opacity: 0; }
}

/* Gold particle dots in hero */
.page-hero-sparks {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.page-hero-sparks span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,246,214,.95), rgba(203,168,78,.95) 52%, rgba(176,138,46,.72) 100%);
  box-shadow: 0 0 10px rgba(176,138,46,.42), 0 0 22px rgba(176,138,46,.18);
  animation: sparkFloat linear infinite;
}
@keyframes sparkFloat {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  12%  { opacity: .78; }
  60%  { opacity: .5; }
  90%  { opacity: .24; }
  100% { transform: translateY(-120px) scale(.28); opacity: 0; }
}

/* Floating gold rings */
.page-hero-rings {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ph-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(203,168,78,.32);
  box-shadow: 0 0 0 1px rgba(255,241,196,.06) inset;
  animation: ringExpand 6s ease-out infinite;
}
.ph-ring:nth-child(1) { width:300px; height:300px; top:50%; left:50%; margin:-150px 0 0 -150px; animation-delay:0s; }
.ph-ring:nth-child(2) { width:500px; height:500px; top:50%; left:50%; margin:-250px 0 0 -250px; animation-delay:1.5s; }
.ph-ring:nth-child(3) { width:700px; height:700px; top:50%; left:50%; margin:-350px 0 0 -350px; animation-delay:3s; }
@keyframes ringExpand {
  0%   { transform: scale(.58); opacity: .72; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* Hero content above overlays */
.page-hero-content { position: relative; z-index: 2; }

/* ── PIPELINE PROCESS — full redesign ── */
.process-section { position: relative; overflow: hidden; }

/* Remove old static connector line */
.process-steps::before { display: none !important; }

/* New pipeline layout */
.pipeline-wrap {
  position: relative;
  margin-top: 4rem;
  padding: 0 2rem;
}

/* Full-width horizontal connector track (desktop) */
.pipe-track {
  position: absolute;
  top: 28px;             /* centered with 56px nodes */
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: rgba(176,138,46,.15);
  border-radius: 2px;
  z-index: 0;
  /* Decorative dashed golden line */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(176,138,46,.15) 0px,
    rgba(176,138,46,.15) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Glowing animated fill segments between nodes */
.pipe-segment {
  position: absolute;
  top: 28px;
  height: 2px;
  background: rgba(176,138,46,.1);
  border-radius: 2px;
  z-index: 1;
  overflow: hidden;
}

/* Glowing fill inside segment */
.pipe-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), rgba(253,224,138,.9));
  border-radius: 2px;
  transition: width 0.65s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 10px rgba(176,138,46,.7), 0 0 20px rgba(176,138,46,.3);
  position: relative;
}
/* Animated shimmer on fill */
.pipe-fill::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: pipeShin 1.8s ease-in-out infinite;
}
@keyframes pipeShin { 0%{transform:translateX(-100%);} 100%{transform:translateX(200%);} }

/* Step container */
.pipe-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-top: 0;
}

/* Individual step */
.pipe-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .6rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.pipe-step.pipe-active {
  opacity: 1;
  transform: translateY(0);
}

/* Node circle */
.pipe-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,138,46,.25);
  background: rgba(26,26,24,.85);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .4s, background .4s, box-shadow .4s;
  margin-bottom: 1.6rem;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.pipe-step.pipe-active .pipe-node {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(176,138,46,.25), rgba(176,138,46,.06));
  box-shadow:
    0 0 0 6px rgba(176,138,46,.06),
    0 0 0 12px rgba(176,138,46,.03),
    0 0 24px rgba(176,138,46,.25),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* Pulse ring on active node */
.pipe-node::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,138,46,.35);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .4s .2s, transform .4s .2s;
}
.pipe-step.pipe-active .pipe-node::after {
  opacity: 1; transform: scale(1);
  animation: nodeRing 2.4s ease-in-out infinite 0.5s;
}
@keyframes nodeRing {
  0%,100% { transform:scale(1); opacity:.35; }
  50%      { transform:scale(1.14); opacity:.7; }
}

/* Step number */
.pipe-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: rgba(176,138,46,.4);
  transition: color .4s;
}
.pipe-step.pipe-active .pipe-num { color: var(--gold-light); }

/* Icon inside node */
.pipe-icon svg { opacity: .35; transition: opacity .4s; }
.pipe-step.pipe-active .pipe-icon svg { opacity: 1; }

.pipe-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 500;
  color: rgba(250,248,243,.6);
  margin-bottom: .35rem;
  transition: color .4s;
}
.pipe-step.pipe-active .pipe-label { color: var(--ivory); }

.pipe-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  color: rgba(250,248,243,.25);
  line-height: 1.7;
  transition: color .4s;
}
.pipe-step.pipe-active .pipe-desc { color: rgba(250,248,243,.6); }

/* Step counter badge */
.pipe-badge {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem; font-weight: 700;
  color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.5);
  transition: opacity .3s .3s, transform .3s .3s;
  box-shadow: 0 2px 8px rgba(176,138,46,.4);
}
.pipe-step.pipe-active .pipe-badge { opacity: 1; transform: scale(1); }

/* ── TIMELINE (vertical, alternating) ── */
.timeline-section {
  padding: 6rem 2rem;
  background: var(--ivory-2);
  position: relative;
}
.timeline-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Centre spine */
.timeline-spine {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(176,138,46,.25) 10%, rgba(176,138,46,.25) 90%, transparent);
  transform: translateX(-50%);
}
/* Animated fill */
.timeline-spine::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  transition: height 1.8s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(176,138,46,.4);
}
.timeline-spine.tl-spine-active::after { height: 100%; }

/* Timeline item */
.tl-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.tl-item:nth-child(odd)  { flex-direction: row;         transform: translateX(-40px); }
.tl-item:nth-child(even) { flex-direction: row-reverse;  transform: translateX(40px);  }
.tl-item.tl-visible { opacity: 1; transform: translateX(0); }

/* Content box */
.tl-box {
  flex: 1;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.tl-box:hover { box-shadow: 0 8px 32px rgba(176,138,46,.1); transform: translateY(-3px); }

/* Arrow pointing to spine */
.tl-item:nth-child(odd)  .tl-box::after {
  content: ''; position: absolute;
  right: -10px; top: 28px;
  border: 10px solid transparent;
  border-left-color: var(--border);
}
.tl-item:nth-child(even) .tl-box::after {
  content: ''; position: absolute;
  left: -10px; top: 28px;
  border: 10px solid transparent;
  border-right-color: var(--border);
}

/* Centre dot */
.tl-dot {
  position: absolute;
  left: 50%; top: 28px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid rgba(176,138,46,.4);
  transform: translate(-50%, 0);
  transition: background .4s, border-color .4s, box-shadow .4s;
  z-index: 2;
}
.tl-item.tl-visible .tl-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(176,138,46,.15);
}

.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600;
  color: var(--gold);
  margin-bottom: .3rem;
}
.tl-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}
.tl-text {
  font-family: 'DM Sans', sans-serif;
  font-size: .83rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* Spacer on the opposite side */
.tl-spacer { flex: 1; }

/* Mobile: stack timeline */
@media(max-width: 700px) {
  .timeline-spine { left: 20px; }
  .tl-item, .tl-item:nth-child(even) {
    flex-direction: column;
    padding-left: 52px;
    transform: translateY(20px);
  }
  .tl-item.tl-visible { transform: translateY(0); }
  .tl-dot { left: 20px; top: 22px; }
  .tl-item:nth-child(odd)  .tl-box::after,
  .tl-item:nth-child(even) .tl-box::after { display: none; }
  .tl-spacer { display: none; }
}

/* ── PROCESS SECTION mobile ── */
@media(max-width: 768px) {
  .pipe-steps {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
  .pipe-step { flex-direction: row; text-align: left; gap: 1.2rem; align-items: flex-start; }
  .pipe-node { margin-bottom: 0; flex-shrink: 0; }
  .pipe-track, .pipe-segment { display: none; }

  /* Vertical connector on mobile */
  .pipeline-wrap::before {
    content: '';
    position: absolute;
    left: calc(2rem + 28px);
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(176,138,46,.25) 10%, rgba(176,138,46,.25) 90%, transparent);
  }
}

/* ── SCROLL REVEAL ENHANCEMENT ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.reveal-left  { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-left.visible, .reveal.reveal-right.visible { transform: translateX(0); }
.reveal.reveal-scale { transform: scale(.94); }
.reveal.reveal-scale.visible { transform: scale(1); }

/* ═══════════════════════════════════════════════════════════════
   GALLERY SECTION — Ultra Premium
═══════════════════════════════════════════════════════════════ */
.gallery-section {
  padding: 9rem 2rem;
  background-color: var(--charcoal);
  background-image: var(--grid-dark);
  background-size: var(--grid-size);
  position: relative;
  overflow: hidden;
}
.gallery-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176,138,46,.07), transparent 65%),
              radial-gradient(ellipse 60% 40% at 50% 100%, rgba(176,138,46,.05), transparent 70%);
  pointer-events: none;
}
.gallery-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
 
/* Header */
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-title { color: var(--ivory); margin-bottom: 1.2rem; }
.gallery-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem; font-weight: 300;
  color: rgba(250,248,243,.42);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}
 
/* Filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 3.5rem;
}
.gf-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .55rem 1.4rem;
  border: 1px solid rgba(176,138,46,.22);
  border-radius: 50px;
  color: rgba(250,248,243,.45);
  background: transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.gf-btn:hover {
  color: var(--gold-light);
  border-color: rgba(176,138,46,.5);
  background: rgba(176,138,46,.06);
}
.gf-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(176,138,46,.35);
}
 
/* Gallery grid — clean uniform layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
 
/* Card base */
.g-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}
.g-item:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
 
/* Thumbnail wrapper */
.g-thumb {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.g-thumb::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(250,248,243,.02), rgba(26,26,24,.08));
  pointer-events:none;
}
.g-media{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s var(--ease),filter .45s var(--ease);
}
.g-item:hover .g-media{
  transform:scale(1.06);
  filter:saturate(1.04) contrast(1.03);
}
 
/* Placeholder panels (gradient art standing in for real photos) */
.g-ph {
  width: 100%; height: 100%;
  transition: transform .6s var(--ease);
}
.g-item:hover .g-ph { transform: scale(1.06); }
 
/* Each placeholder gets a unique premium gradient + window SVG feel */
.g-ph--1 { background: linear-gradient(145deg, #1a1a14 0%, #2c2416 40%, #1c1a10 70%, #0f0d09 100%);
  box-shadow: inset 0 0 80px rgba(176,138,46,.12); }
.g-ph--2 { background: linear-gradient(160deg, #0e1318 0%, #162230 50%, #0a0f14 100%);
  box-shadow: inset 0 0 80px rgba(100,140,180,.08); }
.g-ph--3 { background: linear-gradient(135deg, #111418 0%, #1a1f24 50%, #0c1016 100%);
  box-shadow: inset 0 0 60px rgba(150,200,220,.06); }
.g-ph--4 { background: linear-gradient(150deg, #141210 0%, #201c16 60%, #100e0c 100%);
  box-shadow: inset 0 0 60px rgba(176,138,46,.09); }
.g-ph--5 { background: linear-gradient(125deg, #16130d 0%, #26200f 55%, #121008 100%);
  box-shadow: inset 0 0 100px rgba(176,138,46,.14); }
.g-ph--6 { background: linear-gradient(155deg, #0d1015 0%, #151c25 50%, #090c12 100%);
  box-shadow: inset 0 0 80px rgba(80,120,160,.08); }
.g-ph--7 { background: linear-gradient(140deg, #0f1214 0%, #181e22 50%, #0b0e10 100%);
  box-shadow: inset 0 0 60px rgba(140,190,210,.07); }
.g-ph--8 { background: linear-gradient(160deg, #13100c 0%, #1e1912 55%, #0f0d09 100%);
  box-shadow: inset 0 0 60px rgba(176,138,46,.1); }
.g-ph--9 { background: linear-gradient(130deg, #181410 0%, #2a2116 45%, #141008 100%);
  box-shadow: inset 0 0 100px rgba(176,138,46,.16); }
 
/* Draw a window frame SVG pattern inside each placeholder via pseudo */
.g-ph::before {
  content: '';
  position: absolute; inset: 12%;
  border: 1px solid rgba(176,138,46,.18);
  border-radius: 2px;
}
.g-ph::after {
  content: '';
  position: absolute;
  top: 12%; bottom: 12%; left: 50%; width: 1px;
  background: rgba(176,138,46,.12);
}
 
/* Overlay */
.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14,12,8,0) 20%,
    rgba(14,12,8,.2) 48%,
    rgba(12,10,7,.74) 78%,
    rgba(10,8,5,.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.6rem 1.6rem;
  opacity: 1;
  transition: background .38s var(--ease);
}
.g-item:hover .g-overlay {
  background: linear-gradient(
    180deg,
    rgba(14,12,8,0) 12%,
    rgba(14,12,8,.3) 42%,
    rgba(12,10,7,.82) 72%,
    rgba(10,8,5,.96) 100%
  );
}
 
/* A thin gold shimmer bar at bottom on hover */
.g-overlay::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
  transform: scaleX(1);
  opacity: .7;
  transition: opacity .45s var(--ease);
}
.g-item:hover .g-overlay::before { opacity: 1; }
 
.g-overlay-content { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
 
.g-cat-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .56rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-bottom: .5rem;
  align-self: flex-start;
}
.g-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--ivory);
  margin-bottom: .2rem;
  line-height: 1.2;
}
.g-item-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  color: rgba(250,248,243,.5);
  margin: 0;
}
 
/* Expand icon button */
.g-zoom-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(176,138,46,.15);
  border: 1px solid rgba(176,138,46,.35);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  cursor: pointer;
  transform: scale(0) rotate(-45deg);
  transition: transform .35s var(--ease), background .3s;
  opacity: 0;
}
.g-item:hover .g-zoom-btn {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}
.g-zoom-btn:hover {
  background: var(--gold);
  color: var(--charcoal);
}
 
/* Gallery CTA */
.gallery-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
 
/* Filter hide/show */
.g-item.g-hidden {
  display: none;
  pointer-events: none;
}
.g-item.g-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity .35s, transform .35s;
}
 
/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════════ */
.glb-backdrop {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(8,7,5,.97);
  backdrop-filter: blur(12px) saturate(.7);
  display: flex; flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s var(--ease);
}
.glb-backdrop.glb-open {
  opacity: 1;
  pointer-events: auto;
}
 
.glb-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  transform: scale(.97);
  transition: transform .32s var(--ease);
}
.glb-backdrop.glb-open .glb-shell { transform: scale(1); }
 
/* Toolbar */
.glb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.4rem;
  background: rgba(18,16,12,.85);
  border-bottom: 1px solid rgba(176,138,46,.12);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  gap: 1rem;
}
.glb-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}
.glb-counter {
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold);
  white-space: nowrap;
  padding: .25rem .75rem;
  border: 1px solid rgba(176,138,46,.25);
  border-radius: 50px;
  background: rgba(176,138,46,.06);
}
.glb-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.glb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500;
  color: var(--ivory);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.glb-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  color: rgba(250,248,243,.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.glb-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.glb-divider {
  width: 1px; height: 22px;
  background: rgba(176,138,46,.18);
  margin: 0 6px;
}
.glb-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,248,243,.55);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s;
}
.glb-btn:hover {
  color: var(--gold-light);
  background: rgba(176,138,46,.1);
  border-color: rgba(176,138,46,.2);
}
.glb-btn--close:hover {
  color: var(--ivory);
  background: rgba(200,60,60,.25);
  border-color: rgba(200,60,60,.3);
}
.glb-zoom-pct {
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem; font-weight: 600;
  color: rgba(250,248,243,.4);
  min-width: 36px;
  text-align: center;
  letter-spacing: .05em;
}
 
/* Stage */
.glb-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glb-img-wrap {
  position: absolute;
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  transition: opacity .22s;
}
.glb-img-wrap.glb-dragging { cursor: grabbing; }
.glb-img-media {
  display:block;
  max-width:min(1180px, 82vw);
  max-height:74vh;
  object-fit:contain;
  border-radius:4px;
  border:1px solid rgba(176,138,46,.15);
  background:rgba(20,17,12,.92);
  box-shadow:0 40px 100px rgba(0,0,0,.7), 0 0 60px rgba(176,138,46,.06);
}
 
/* Arrows */
.glb-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18,16,12,.7);
  border: 1px solid rgba(176,138,46,.2);
  color: rgba(250,248,243,.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all .25s var(--ease);
  z-index: 2;
}
.glb-arrow:hover {
  background: rgba(176,138,46,.15);
  border-color: rgba(176,138,46,.5);
  color: var(--gold-light);
  transform: translateY(-50%) scale(1.08);
}
.glb-arrow--prev { left: 1.4rem; }
.glb-arrow--next { right: 1.4rem; }
 
/* Thumbnail strip */
.glb-thumbs {
  display: flex;
  gap: 6px;
  padding: .75rem 1.4rem;
  background: rgba(14,12,9,.9);
  border-top: 1px solid rgba(176,138,46,.1);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(176,138,46,.25) transparent;
  justify-content: center;
}
.glb-thumbs::-webkit-scrollbar { height: 3px; }
.glb-thumbs::-webkit-scrollbar-thumb { background: rgba(176,138,46,.25); border-radius: 2px; }
 
.glb-thumb {
  width: 64px; height: 46px;
  border-radius: 3px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: all .22s;
  opacity: .45;
  position: relative;
}
.glb-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,5,.02), rgba(10,8,5,.28));
  pointer-events:none;
}
.glb-thumb-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.glb-thumb:hover { opacity: .75; border-color: rgba(176,138,46,.35); }
.glb-thumb.glb-thumb-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(176,138,46,.4);
}
 
/* Transition animation between images */
.glb-img-wrap.glb-slide-out-left  { animation: glbSlideOutLeft  .22s forwards; }
.glb-img-wrap.glb-slide-out-right { animation: glbSlideOutRight .22s forwards; }
.glb-img-wrap.glb-slide-in-left   { animation: glbSlideInLeft   .22s forwards; }
.glb-img-wrap.glb-slide-in-right  { animation: glbSlideInRight  .22s forwards; }
@keyframes glbSlideOutLeft  { to { transform: translateX(-60px) scale(.95); opacity: 0; } }
@keyframes glbSlideOutRight { to { transform: translateX(60px) scale(.95);  opacity: 0; } }
@keyframes glbSlideInLeft   { from { transform: translateX(60px) scale(.96);  opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes glbSlideInRight  { from { transform: translateX(-60px) scale(.96); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
 
/* Gallery responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .g-item {
    min-height: 220px;
  }
}
@media (max-width: 580px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .g-item {
    min-height: 200px;
  }
  .glb-toolbar { flex-wrap: wrap; gap: .5rem; }
  .glb-info { order: 2; width: 100%; }
  .glb-tools { order: 1; width: 100%; justify-content: flex-end; }
  .glb-thumbs { display: none; }
  .glb-zoom-pct, .glb-btn[id="glbFlip"], .glb-btn[id="glbRotate"] { display: none; }
}

/* Premium notices */
.premium-notice-stack{
  position:fixed;
  top:1.35rem;
  right:1.35rem;
  width:min(100vw - 2rem,380px);
  display:grid;
  gap:.9rem;
  z-index:12000;
  pointer-events:none;
}
.premium-notice-overlay{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
  background:rgba(12,10,8,.4);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .32s var(--ease);
  z-index:12010;
}
.premium-notice-overlay.is-visible{
  opacity:1;
  pointer-events:auto;
}
.premium-notice{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  color:var(--ivory);
  pointer-events:auto;
}
.premium-notice::before{
  content:'';
  position:absolute;
  inset:-20% auto -20% -40%;
  width:56%;
  background:linear-gradient(115deg,transparent 18%,rgba(255,255,255,.2) 48%,transparent 82%);
  opacity:0;
  transform:translateX(-115%) rotate(8deg);
}
.premium-notice.is-visible::before{
  animation:premiumNoticeFlare 1.15s ease-out .08s 1 forwards;
}
.premium-notice::after{
  content:'';
  position:absolute;
  inset:1px;
  border-radius:21px;
  background:radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 38%);
  pointer-events:none;
}
.premium-notice--toast{
  padding:1rem 1rem 1rem 1.05rem;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.9rem;
  align-items:start;
  opacity:0;
  transform:translateY(-16px) scale(.96);
  transition:opacity .32s var(--ease),transform .32s var(--ease);
}
.premium-notice--toast.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}
.premium-notice--spotlight{
  width:min(100%,460px);
  padding:1.35rem;
  transform:translateY(22px) scale(.94);
  opacity:0;
  transition:opacity .34s var(--ease),transform .34s var(--ease);
}
.premium-notice-overlay.is-visible .premium-notice--spotlight{
  opacity:1;
  transform:translateY(0) scale(1);
}
.premium-notice--success{
  background:
    linear-gradient(145deg, rgba(17,71,43,.98), rgba(28,121,76,.96) 54%, rgba(85,180,121,.92));
}
.premium-notice--warning{
  background:
    linear-gradient(145deg, rgba(85,52,7,.98), rgba(176,138,46,.96) 54%, rgba(224,188,98,.92));
}
.premium-notice--error{
  background:
    linear-gradient(145deg, rgba(77,19,21,.98), rgba(150,46,55,.96) 52%, rgba(220,108,132,.9));
}
.premium-notice--info{
  background:
    linear-gradient(145deg, rgba(20,38,68,.98), rgba(47,92,164,.95) 52%, rgba(110,156,235,.9));
}
.premium-notice-icon{
  position:relative;
  z-index:1;
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
}
.premium-notice-body,
.premium-notice-close,
.premium-notice-progress,
.premium-notice-spotlight-top{
  position:relative;
  z-index:1;
}
.premium-notice-title{
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-size:1.45rem;
  font-weight:600;
  line-height:1;
  margin-bottom:.3rem;
}
.premium-notice-text{
  display:block;
  font-family:'DM Sans',sans-serif;
  font-size:.84rem;
  line-height:1.65;
  color:rgba(250,248,243,.88);
}
.premium-notice-meta{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-bottom:.85rem;
  font-family:'DM Sans',sans-serif;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(250,248,243,.74);
}
.premium-notice-meta::before{
  content:'';
  width:22px;
  height:1px;
  background:rgba(255,255,255,.45);
}
.premium-notice-close{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:rgba(250,248,243,.88);
  transition:transform .24s var(--ease),background .24s var(--ease),border-color .24s var(--ease);
}
.premium-notice-close:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.24);
}
.premium-notice-progress{
  margin-top:.9rem;
  height:3px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  overflow:hidden;
}
.premium-notice-progress span{
  display:block;
  width:100%;
  height:100%;
  transform-origin:left center;
  background:linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.36));
  animation:premiumNoticeProgress linear forwards;
}
.premium-notice-spotlight-top{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:1rem;
}
.premium-notice-spotlight-top .premium-notice-icon{
  width:60px;
  height:60px;
  border-radius:18px;
}
.premium-notice-spotlight-body{
  position:relative;
  z-index:1;
  padding:1rem 1.1rem;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.premium-notice-spotlight-title{
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  line-height:1;
  margin-bottom:.5rem;
}
.premium-notice-spotlight-text{
  font-family:'DM Sans',sans-serif;
  font-size:.9rem;
  line-height:1.75;
  color:rgba(250,248,243,.9);
}
@keyframes premiumNoticeFlare{
  0%{opacity:0;transform:translateX(-115%) rotate(8deg);}
  22%{opacity:.82;}
  100%{opacity:0;transform:translateX(300%) rotate(8deg);}
}
@keyframes premiumNoticeProgress{
  from{transform:scaleX(1);}
  to{transform:scaleX(0);}
}
@media (max-width: 640px) {
  .premium-notice-stack{
    top:1rem;
    right:1rem;
    left:1rem;
    width:auto;
  }
  .premium-notice--toast{
    grid-template-columns:auto 1fr;
  }
  .premium-notice--toast .premium-notice-close{
    grid-column:2;
    justify-self:end;
    margin-top:-.15rem;
  }
  .premium-notice-spotlight-top{
    align-items:center;
  }
  .premium-notice-spotlight-title{
    font-size:1.7rem;
  }
}
