/* ==========================================================================
   Aanjana Arts — Premium Corporate Website
   Design system: white background, black text, gold accents throughout.
   Black is used only as a text/utility colour — never as a section
   background. A light/dark toggle is available (see [data-theme="dark"]);
   only the lightbox and the momentary page-transition wipe stay dark,
   since those are transient viewer/utility overlays, not page sections.
   ========================================================================== */

/* Self-hosted Poppins (see tools/to-webp.mjs sibling: assets/fonts/poppins/) —
   avoids the render-blocking connection to fonts.googleapis.com/fonts.gstatic.com
   a <link> to the Google Fonts CDN would need, and keeps the CSP's style-src/
   font-src scoped to this origin for these weights. */
@font-face{ font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/poppins/poppins-400.woff2') format('woff2'); }
@font-face{ font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/poppins/poppins-500.woff2') format('woff2'); }
@font-face{ font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/poppins/poppins-600.woff2') format('woff2'); }
@font-face{ font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/poppins/poppins-700.woff2') format('woff2'); }
@font-face{ font-family:'Poppins'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/poppins/poppins-800.woff2') format('woff2'); }

:root{
  /* ---- constant tokens (used only for the lightbox + transition wipe) ---- */
  --black: #060607;
  --gold: #b8892f;
  --gold-bright: #d9ac52;
  --gold-deep: #96701f;
  --grad-gold: linear-gradient(135deg, #8a6f2e 0%, #e7c471 35%, #b8892f 60%, #f2dca0 80%, #8a6f2e 100%);
  --grad-metal: linear-gradient(135deg, #7d8794 0%, #e8ecf1 28%, #aab0ba 52%, #f6f8fb 72%, #7d8794 100%);

  /* ---- themed tokens: LIGHT (default) ---- */
  --bg: #ffffff;
  --bg-alt: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --surface-3: #eae7de;
  --border: rgba(10,10,10,0.09);
  --border-strong: rgba(10,10,10,0.16);
  --text: #16171a;
  --text-dim: #55585f;
  --text-faint: #8a8d93;
  --silver: #6b6f76;
  --silver-bright: #26282c;
  --header-scroll-bg: rgba(255,255,255,0.92);
  --shadow-soft: 0 10px 40px rgba(20,20,20,0.08);
  --shadow-strong: 0 30px 80px rgba(20,20,20,0.14);
  --shadow-gold: 0 10px 30px rgba(184,137,47,0.2);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container: 1240px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 90px;
}

:root[data-theme="dark"]{
  --bg: #0a0b0d;
  --bg-alt: #0e1013;
  --surface: #14161a;
  --surface-2: #1b1e23;
  --surface-3: #23262c;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f2f3f5;
  --text-dim: #a8adb7;
  --text-faint: #6b707a;
  --silver: #c7cdd6;
  --silver-bright: #f4f6f9;
  --header-scroll-bg: rgba(10,11,13,0.88);
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.45);
  --shadow-strong: 0 30px 80px rgba(0,0,0,0.6);
  --shadow-gold: 0 10px 30px rgba(201,162,74,0.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
img, video, canvas{ max-width:100%; display:block; }
/* Shimmer placeholder while a lazy image is still loading — pure CSS, no JS.
   Once the (opaque) photo paints over it, the shimmer underneath is simply
   never seen again, so no "loaded" class or load-event listener is needed. */
img[loading="lazy"]{
  background: linear-gradient(100deg, var(--surface-2) 28%, var(--surface-3) 48%, var(--surface-2) 68%);
  background-size: 300% 100%;
  animation: img-shimmer 1.6s ease-in-out infinite;
}
@keyframes img-shimmer{ 0%{ background-position: 130% 0; } 100%{ background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce){ img[loading="lazy"]{ animation:none; } }
/* <picture> is a transparent wrapper (added by pictureImg() for the WebP/
   fallback pair) — make it inherit its parent's box exactly like the bare
   <img> it replaces, so every existing width/height:100% or position:absolute
   rule on "... img" keeps working unchanged. */
picture{ display:block; width:100%; height:100%; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; }
h1,h2,h3,h4,h5,h6{ font-family: var(--font-display); font-weight: 700; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }
p{ margin: 0 0 1em; color: var(--text-dim); }
::selection{ background: var(--gold); color: #0a0b0d; }

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ position: relative; padding: 76px 0; }
.section--tight{ padding: 48px 0; }
.section--alt{ background: var(--bg-alt); }
.section--tint{ background: rgba(184,137,47,0.05); }
:root[data-theme="dark"] .section--tint{ background: rgba(217,172,82,0.05); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px; font-weight:600;
  padding: 7px 16px; border-radius: 999px; background: rgba(184,137,47,0.08); border: 1px solid rgba(184,137,47,0.2);
}
:root[data-theme="dark"] .eyebrow{ color: var(--gold-bright); background: rgba(217,172,82,0.1); border-color: rgba(217,172,82,0.25); }

.section-head{ max-width: 720px; margin-bottom: 50px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.text-grad{
  background: var(--grad-gold);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.text-grad-silver{
  background: var(--grad-metal);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn{
  position: relative; display: inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 32px; border-radius: 999px; font-family: var(--font-display); font-weight:600;
  font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease, color .3s ease, background .3s ease;
  white-space: nowrap; max-width: 100%;
}
@media (max-width: 480px){
  .btn{ white-space: normal; text-align:center; line-height:1.3; }
}
.btn-primary{ background: var(--grad-gold); background-size: 200% auto; color: #17130a; box-shadow: var(--shadow-gold); position:relative; overflow:hidden; }
.btn-primary:hover{ transform: translateY(-3px); background-position: right center; box-shadow: 0 16px 40px rgba(184,137,47,0.3); }
.btn-primary::before{
  content:''; position:absolute; top:0; left:-60%; width:35%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::before{ left:130%; }
@media (prefers-reduced-motion: reduce){ .btn-primary::before{ transition:none; } }
.btn-outline{ border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }
.btn-ghost{ color: var(--silver-bright); padding: 10px 0; border-radius:0; font-weight:600; }
.btn-ghost::after{ content:'→'; margin-left:8px; transition: transform .3s var(--ease); display:inline-block; }
.btn-ghost:hover::after{ transform: translateX(6px); }
.btn-sm{ padding: 11px 22px; font-size: 12px; }
.btn-block{ width:100%; }

/* ===== Preloader ===== */
#preloader{
  position: fixed; inset:0; z-index: 9999; background: var(--bg);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:18px;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
#preloader.done{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-logo{ width:68px; height:68px; object-fit:contain; animation: preloaderPulse 1.6s ease-in-out infinite; }
@keyframes preloaderPulse{ 0%,100%{ transform:scale(1); opacity:.85; } 50%{ transform:scale(1.08); opacity:1; } }
@media (prefers-reduced-motion: reduce){ .preloader-logo{ animation:none; } }
.preloader-mark{ font-family: var(--font-display); font-size: 14px; letter-spacing:.3em; color: var(--text-dim); text-transform:uppercase; font-weight:600; }
.preloader-bar{ width: 220px; height:2px; background: rgba(255,255,255,0.08); position:relative; overflow:hidden; border-radius:2px; }
.preloader-bar::after{
  content:''; position:absolute; inset:0; width:40%; background: var(--grad-gold);
  animation: preload 1.1s ease-in-out infinite;
}
@keyframes preload{ 0%{ transform: translateX(-100%);} 100%{ transform: translateX(350%);} }

/* Scroll progress */
#scroll-progress{ position: fixed; top:0; left:0; height:3px; width:0%; background: var(--grad-gold); z-index: 1001; }

/* Page transition overlay */
#page-transition{ position: fixed; inset:0; background: var(--black); z-index: 10000; transform: translateY(101%); }
#page-transition.active{ transition: transform .6s var(--ease); transform: translateY(0); }

/* ===== Header — always a solid white bar (never a dark background) ===== */
header.site-header{
  position: fixed; top:0; left:0; width:100%; z-index: 900;
  padding: 18px 0; transition: padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease, transform .4s var(--ease);
  background: var(--bg); border-bottom: 1px solid var(--border);
}
header.site-header.scrolled{
  padding: 11px 0; box-shadow: var(--shadow-soft);
}
/* Sticky only while scrolling up — hidden while scrolling down past the fold (see main.js onScroll) */
header.site-header.header-hide{ transform: translateY(-100%); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; gap: 16px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); flex-shrink:0; }
.brand img{ height: 50px; width:auto; flex-shrink:0; }
.brand-name{ font-size: 15px; font-weight:700; letter-spacing:.03em; line-height:1.15; white-space:nowrap; color: var(--text); }
.brand-name span{ display:block; font-size: 8.5px; letter-spacing:.16em; color: var(--gold-deep); font-weight:600; margin-top:3px; white-space:nowrap; }
:root[data-theme="dark"] .brand-name span{ color: var(--gold-bright); }

.nav-main{ display:flex; align-items:center; gap: 2px; flex-wrap:nowrap; }
.nav-main > li{ position:relative; }
.nav-main > li > a{
  display:flex; align-items:center; gap:6px; padding: 11px 14px; font-size: 13px; font-weight:600;
  color: var(--text-dim); letter-spacing:.01em; border-radius: 999px; transition: color .3s, background .3s; white-space:nowrap;
}
.nav-main > li > a i{ font-size: 9px; transition: transform .3s var(--ease); }
.nav-main > li:hover > a{ color:var(--text); background: var(--surface-2); }
.nav-main > li:hover > a i{ transform: rotate(180deg); }

.mega{
  position:absolute; top: calc(100% + 14px); left:50%; transform: translateX(-50%) translateY(8px);
  width: 640px; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-strong); padding: 22px; display:grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity:0; visibility:hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 50;
}
.mega.mega-narrow{ width: 300px; grid-template-columns: 1fr; }
.nav-main > li:hover .mega{ opacity:1; visibility:visible; transform: translateX(-50%) translateY(0); }
.mega a{
  display:flex; align-items:center; gap:12px; padding: 11px 12px; border-radius: 10px; color: var(--text-dim); font-size:13.5px;
  transition: background .25s, color .25s, padding-left .25s;
}
.mega a i{ color: var(--gold); width:18px; text-align:center; font-size:14px; }
.mega a:hover{ background: var(--surface-2); color: var(--text); padding-left:16px; }
.mega .mega-head{ grid-column:1/-1; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); padding:4px 12px 8px; }

.nav-actions{ display:flex; align-items:center; gap: 10px; flex-shrink:0; }
.icon-btn{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-strong); color: var(--text-dim); transition: all .3s var(--ease); background: transparent; flex-shrink:0;
}
.icon-btn:hover{ border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
:root[data-theme="dark"] .icon-btn:hover{ color: var(--gold-bright); }
.theme-toggle .fa-sun{ display:none; }
[data-theme="dark"] .theme-toggle .fa-sun{ display:inline-block; }
[data-theme="dark"] .theme-toggle .fa-moon{ display:none; }
.nav-toggle{ display:none; }

@media (max-width: 1180px){
  .nav-main{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-actions > .theme-toggle{ display:none; }
}
@media (max-width: 600px){
  .nav-actions{ gap: 8px; }
  .nav-actions > a.btn{ display:none; }
  .brand img{ height:38px; }
  .brand-name{ font-size:12.5px; }
  .brand-name span{ font-size:7.5px; }
  .icon-btn{ width:36px; height:36px; }
}

/* Mobile nav */
#mobile-nav{
  position: fixed; inset:0; z-index: 950; background: var(--bg); transform: translateX(100%);
  transition: transform .5s var(--ease); overflow-y:auto;
}
#mobile-nav.open{ transform: translateX(0); }
.mobile-nav-head{ display:flex; justify-content:space-between; align-items:center; padding: 20px 24px; border-bottom:1px solid var(--border); }
.mobile-nav-body{ padding: 10px 24px 40px; }
.mobile-nav-body > li{ border-bottom:1px solid var(--border); }
.mobile-nav-body > li > a, .mobile-toggle{
  display:flex; justify-content:space-between; align-items:center; padding: 17px 4px; font-family: var(--font-display);
  font-size: 16px; font-weight:600; color: var(--text); width:100%; background:none; border:none; text-align:left;
}
.mobile-toggle i{ color: var(--text-faint); }
.mobile-sub{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.mobile-sub.open{ max-height: 600px; }
.mobile-sub a{ display:block; padding: 11px 4px 11px 16px; color: var(--text-dim); font-size:14px; }
.mobile-cta{ margin-top: 24px; }

/* ===== Hero — white background; split layout so 3D never collides with copy ===== */
.hero{
  position: relative; min-height: 82vh; display:flex; align-items:center; overflow:hidden;
  padding-top: calc(var(--header-h) + 56px); padding-bottom: 70px; background: var(--bg); color: var(--text);
}
.hero-grid{ position:relative; z-index:3; width:100%; display:grid; grid-template-columns: 1.05fr 0.95fr; gap:20px; align-items:center; }
.hero-copy{ max-width: 620px; }
.hero-visual{ position:relative; height: 400px; }
.hero-visual::before{
  content:''; position:absolute; left:50%; bottom:6%; transform:translateX(-50%); width:70%; height:24px;
  background: radial-gradient(ellipse at center, rgba(20,20,20,0.16), transparent 70%); filter: blur(2px);
}
#hero-canvas{ position:absolute; inset:0; width:100%; height:100%; opacity:0; transition: opacity 1.2s ease 0.3s; }
#hero-canvas.ready{ opacity:1; }
.hero::before{
  content:''; position:absolute; inset:0; background: radial-gradient(circle at 68% 40%, rgba(184,137,47,0.08), transparent 55%); pointer-events:none; z-index:2;
}
/* Cursor-reactive spotlight — position set via --mx/--my in animations.js (desktop pointer only) */
.hero::after{
  content:''; position:absolute; inset:0; z-index:2; pointer-events:none; opacity:0; transition: opacity .5s var(--ease);
  background: radial-gradient(circle at var(--mx,50%) var(--my,30%), rgba(184,137,47,0.14), transparent 42%);
}
.hero:hover::after{ opacity:1; }

/* Ambient drifting glow orbs behind the hero content */
.hero-orb{ position:absolute; border-radius:50%; filter: blur(70px); opacity:.3; z-index:1; pointer-events:none; }
.hero-orb--a{ width:360px; height:360px; background: var(--grad-gold); top:-100px; right:6%; animation: orbDrift 15s ease-in-out infinite; }
.hero-orb--b{ width:240px; height:240px; background: var(--grad-metal); bottom:-60px; left:1%; animation: orbDrift 19s ease-in-out infinite reverse; }
@keyframes orbDrift{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-26px,28px) scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .hero-orb{ animation:none; } }
@media (max-width: 980px){ .hero-orb{ display:none; } }

/* Hero banner slider — crossfading photos of completed work, replaces the hero-visual panel */
.hero-slider{
  border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border);
  box-shadow: var(--shadow-strong); background: var(--surface-2);
}
.hero-slider::before{ display:none; }
.hero-slide{ position:absolute; inset:0; opacity:0; transition: opacity 1.4s ease; }
.hero-slide.active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:contain; transform: scale(1); transition: transform 5s ease-out; background:none; animation:none; }
.hero-slide.active img{ transform: scale(1.06); }
@media (prefers-reduced-motion: reduce){ .hero-slide img{ transition:none; } .hero-slide.active img{ transform:none; } }
.hero-slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:15px; color:#fff;
  background: rgba(10,10,10,0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,0.35); opacity:0; transition: all .3s var(--ease);
}
.hero-slider:hover .hero-slider-arrow{ opacity:1; }
.hero-slider-arrow:hover{ background: var(--grad-gold); color:#17130a; border-color:transparent; }
.hero-slider-prev{ left:14px; } .hero-slider-next{ right:14px; }
@media (max-width:980px){ .hero-slider-arrow{ opacity:1; width:36px; height:36px; font-size:13px; } .hero-slider-prev{ left:10px; } .hero-slider-next{ right:10px; } }
.hero-slider-dots{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%); z-index:5; display:flex; gap:9px;
}
.hero-slider-dots button{
  width:8px; height:8px; padding:0; border-radius:50%; border:1.5px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.3); transition: all .3s var(--ease);
}
.hero-slider-dots button:hover{ background: rgba(255,255,255,0.6); }
.hero-slider-dots button.active{ background:#fff; width:22px; border-radius:5px; }
@media (max-width:980px){ .hero-slider-dots{ bottom:12px; } }
.hero-tag{ display:flex; align-items:center; gap:12px; margin-bottom:22px; font-size:12.5px; letter-spacing:.18em; text-transform:uppercase; color: var(--text-dim); font-weight:600; }
.hero-tag .dot{ width:7px; height:7px; border-radius:50%; background: var(--gold); box-shadow: 0 0 12px rgba(184,137,47,0.5); }
.hero h1{ font-size: clamp(2.3rem, 4.6vw, 4rem); color: var(--text); }
.hero h1 .text-grad{
  background-size: 200% auto; animation: heroGradShift 5s ease-in-out infinite;
}
@keyframes heroGradShift{ 0%,100%{ background-position: 0% center; } 50%{ background-position: 100% center; } }
@media (prefers-reduced-motion: reduce){ .hero h1 .text-grad{ animation:none; } }
.hero-typewriter::after{
  content:''; display:inline-block; width:2px; height:.85em; margin-left:4px; vertical-align:-0.1em;
  background: currentColor; animation: caretBlink 1s steps(1) infinite;
}
@media (prefers-reduced-motion: reduce){ .hero-typewriter::after{ animation:none; } }
@keyframes caretBlink{ 50%{ opacity:0; } }
.hero p.lead{ max-width: 46ch; font-size: 17px; margin: 22px 0 32px; color: var(--text-dim); }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.hero-scroll{
  position:absolute; bottom: 30px; left:50%; transform: translateX(-50%); z-index:3; display:flex; flex-direction:column;
  align-items:center; gap:10px; color: var(--text-faint); font-size:10.5px; letter-spacing:.25em; text-transform:uppercase;
  animation: scrollBob 2.6s ease-in-out infinite;
}
.hero-scroll .line{ width:1px; height:36px; background: linear-gradient(var(--gold), transparent); overflow:hidden; }
@keyframes scrollBob{ 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,8px); } }
@media (prefers-reduced-motion: reduce){ .hero-scroll{ animation:none; } }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ height: 280px; margin-top: 30px; }
  .hero{ min-height:auto; padding-top: calc(var(--header-h) + 36px); padding-bottom:50px; }
  .hero-copy{ text-align:center; margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
}

/* Inner page hero — light band, no 3D canvas */
.page-hero{
  position:relative; padding: calc(var(--header-h) + 56px) 0 56px; overflow:hidden; background: var(--bg-alt); color: var(--text);
}
.page-hero::before{ content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(184,137,47,0.07), transparent 55%); }
.page-hero .container{ position:relative; z-index:2; }

/* 404 page */
.not-found-hero{ padding-bottom: 80px; }
.not-found-mark{
  font-family: var(--font-display); font-weight:800; font-size: clamp(5rem, 16vw, 11rem); line-height:1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.not-found-hero h1{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
.not-found-hero .lead{ max-width:520px; margin-left:auto; margin-right:auto; }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:12.5px; color: var(--text-faint); margin-bottom:16px; text-transform:uppercase; letter-spacing:.07em; }
.breadcrumb a:hover{ color: var(--gold-deep); }
.page-hero h1{ font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 900px; color: var(--text); }
.page-hero p.lead{ max-width:60ch; font-size:16px; margin-top:14px; color: var(--text-dim); }

/* ===== Cards / Grids ===== */
.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); gap:14px; }
  .grid-2.grid-stack-mobile, .grid-3.grid-stack-mobile, .grid-4.grid-stack-mobile{ grid-template-columns: 1fr; gap:28px; }
}

.card{
  background: transparent; border:none; border-top: 1px solid var(--border);
  padding: 26px 0 0; transition: border-color .4s;
  position:relative;
}
@media (max-width: 640px){ .card{ padding-top: 18px; } }
.card:hover{ border-color: var(--gold); }
.card .icon{
  display:inline-flex; align-items:center; justify-content:flex-start; width:fit-content; height:auto;
  color: var(--gold-deep); font-size:19px; margin-bottom:16px; background:none; border:none; border-radius:0;
  transition: transform .4s var(--ease);
}
.card:hover .icon{ transform: scale(1.15) rotate(-8deg); }
@media (prefers-reduced-motion: reduce){ .card .icon{ transition:none; } .card:hover .icon{ transform:none; } }
:root[data-theme="dark"] .card .icon{ color: var(--gold-bright); }
.card h3{ font-size: 1.05rem; margin-bottom:9px; }
@media (max-width:640px){ .card h3{ font-size:.92rem; } }
.card p{ font-size:14px; margin-bottom:0; }
@media (max-width:640px){ .card p{ font-size:12px; } }

/* Icon-row card variant: icon + heading share one row, short caption sits below —
   used for Infrastructure facility cards and the About "Why Choose Us" grid */
.icon-row{ display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.icon-row .icon{ margin-bottom:0; }
.icon-row h3{ margin-bottom:0; }
.card--media-mobile-only p{ transition: none; }
@media (max-width:640px){
  .card--media-mobile-only p{ display:none; }
}

/* "Six Reasons Clients Choose Us Twice" — keep the grid to icon + heading only on mobile */
@media (max-width:640px){
  .reasons-grid .card p{ display:none; }
}

/* Boxed card variant — full border + shadow, for content that should stand apart from the page (e.g. contact info) */
.card.card--boxed{
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; text-align:left;
  background: var(--surface); box-shadow: var(--shadow-soft); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.card.card--boxed:hover{ border-color: var(--gold); box-shadow: var(--shadow-strong); transform: translateY(-4px); }
.card.card--boxed a[href^="tel:"]{ display:inline-block; font-size:19px; font-weight:700; color:var(--text); margin:2px 0; }
@media (max-width:640px){ .card.card--boxed a[href^="tel:"]{ font-size:21px; } }

.product-card{ display:flex; flex-direction:column; }
.product-card .pc-media{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/5; border:1px solid var(--border);
  background: var(--surface-2);
}
@media (max-width:640px){ .product-card .pc-media{ border-radius: var(--radius); } }
.product-card .pc-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease), filter .8s; filter: grayscale(15%) brightness(.95); }
.product-card:hover .pc-media img{ transform: scale(1.08); filter: grayscale(0%) brightness(1); }
.product-card .pc-media::after{
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.32) 50%, transparent 58%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.product-card:hover .pc-media::after{ transform: translateX(130%); }
.product-card h3{ font-size:1.05rem; margin: 16px 0 0; color: var(--text); text-align:center; }
@media (max-width:640px){ .product-card h3{ font-size:.88rem; margin-top:12px; } }
.product-card .pc-arrow{
  position:absolute; top:16px; right:16px; z-index:2; width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.4);
  display:flex; align-items:center; justify-content:center; color:#fff; background: rgba(6,6,7,0.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: all .4s var(--ease);
}
@media (max-width:640px){ .product-card .pc-arrow{ width:30px;height:30px;top:12px;right:12px;font-size:12px; } }
.product-card:hover .pc-arrow{ background: var(--grad-gold); color:#17130a; border-color:transparent; transform: rotate(45deg); }

/* Related-products strip ("Other Product Verticals") — shorter media so the image reads without scrolling */
.related-verticals .pc-media{ aspect-ratio: 16/9; }

/* Industry cards */
.industry-card{ display:flex; flex-direction:column; gap:2px; text-align:left; align-items:flex-start; }
.industry-card .icon{ color: var(--silver-bright); justify-content:flex-start; }

/* Stats — boxed achievement cards: big icon, bold gradient number, label */
.stats-strip{ border:none; background: var(--surface-2); padding-top: 76px; }
.stats-strip .grid{ padding: 20px 0 64px; }
.stat-item{
  text-align:center; position:relative; padding: 38px 22px; border:1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.stat-item:hover{ transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: var(--gold); }
.stat-icon{
  width:64px; height:64px; margin:0 auto 16px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(184,137,47,0.08); border:1px solid rgba(184,137,47,0.22); color:var(--gold-deep); font-size:24px;
}
:root[data-theme="dark"] .stat-icon{ color: var(--gold-bright); }
.stat-item b{
  font-family: var(--font-display); font-weight:800; font-size: clamp(2.2rem,5vw,3.4rem); display:block; letter-spacing:-0.02em; line-height:1;
  background: var(--grad-gold); background-size:200% auto; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.stat-item > span{ font-size:12.5px; color:var(--text-dim); letter-spacing:.06em; text-transform:uppercase; font-weight:700; margin-top:6px; display:inline-block; }
@media (max-width:640px){
  .stat-item{ padding:22px 10px; }
  .stat-item b{ font-size:24px; }
  .stat-item span{ font-size:10px; }
  .stat-icon{ width:52px; height:52px; font-size:20px; margin-bottom:12px; }
}

/* Timeline */
.timeline{ position:relative; padding-left: 36px; }
.timeline::before{ content:''; position:absolute; left:8px; top:6px; bottom:6px; width:1px; background: linear-gradient(var(--gold), var(--border) 90%); }
.timeline-item{ position:relative; padding-bottom: 46px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:''; position:absolute; left:-36px; top:4px; width:17px; height:17px; border-radius:50%; background: var(--bg); border:2px solid var(--gold); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.timeline-item:hover::before{ transform: scale(1.25); box-shadow: 0 0 0 5px rgba(184,137,47,0.15); }
.timeline-item .tl-tag{ font-family: var(--font-display); color: var(--gold-deep); font-size:12.5px; letter-spacing:.13em; text-transform:uppercase; margin-bottom:8px; display:block; font-weight:600; }
:root[data-theme="dark"] .timeline-item .tl-tag{ color: var(--gold-bright); }
.timeline-item h3{ font-size:1.2rem; margin-bottom:8px; }

/* Process steps (manufacturing) */
.process-steps{ display:grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); justify-items:center; gap: 28px 0; }
.process-step{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; padding: 10px 14px; position:relative; width:100%; max-width:180px; }
.process-step:not(:last-child)::after{
  content:''; position:absolute; top:30px; left:100%; width:100%; height:1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
@media (max-width: 900px){ .process-step:not(:last-child)::after{ display:none; } }
@media (max-width: 640px){ .process-steps{ grid-template-columns: repeat(2,1fr); gap: 26px 6px; } }
.process-step-icon{
  width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(184,137,47,0.08); color: var(--gold-deep); font-size:22px; border:1px solid rgba(184,137,47,0.22);
}
:root[data-theme="dark"] .process-step-icon{ color: var(--gold-bright); }
@media (max-width: 640px){ .process-step-icon{ width:52px; height:52px; font-size:19px; } }
.process-step h3{ font-size:.92rem; margin:0; line-height:1.35; }

/* Machinery — mixed photo / icon tiles, image shown where a photo is available */
.machine-grid{ grid-template-columns: repeat(4,1fr); }
@media (max-width:980px){ .machine-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:640px){ .machine-grid{ grid-template-columns: repeat(2,1fr); gap:12px; } }
.machine-tile{ border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background: var(--surface); transition: border-color .35s, transform .35s var(--ease); }
.machine-tile:hover{ border-color: var(--gold); transform: translateY(-3px); }
.machine-tile .mt-media{ aspect-ratio: 4/3; background: var(--surface-2); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.machine-tile .mt-media img{ width:100%; height:100%; object-fit:cover; }
.machine-tile .mt-media i{ font-size:26px; color: var(--gold-deep); }
:root[data-theme="dark"] .machine-tile .mt-media i{ color: var(--gold-bright); }
.machine-tile h4{ font-size:13px; font-weight:600; padding:13px 14px; margin:0; line-height:1.35; color: var(--text); }
.machine-subhead{
  font-family: var(--font-display); font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color: var(--gold-deep); margin: 44px 0 18px;
}
.machine-subhead:first-child{ margin-top:0; }
:root[data-theme="dark"] .machine-subhead{ color: var(--gold-bright); }

/* Google review badge */
.google-review-badge{ display:inline-flex; align-items:center; gap:10px; margin-top:18px; font-size:14px; color:var(--text-dim); }
.google-review-badge i{ font-size:17px; color:var(--text-dim); }
.google-review-badge a{ font-weight:600; color:var(--text); border-bottom:1px solid var(--border-strong); transition:border-color .3s, color .3s; }
.google-review-badge a:hover{ color:var(--gold-deep); border-color:var(--gold); }
:root[data-theme="dark"] .google-review-badge a:hover{ color:var(--gold-bright); }

/* Google Reviews — cards slide one at a time; --reviews-visible controls how many
   are on screen per breakpoint (read by the JS so it always matches this CSS) */
.reviews-carousel{ max-width: 1120px; margin: 0 auto; --reviews-visible: 3; overflow:hidden; padding: 10px 2px 6px; }
.reviews-track{ display:flex; gap:24px; transition: transform .5s var(--ease); }
.review-card{
  flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * 24px) / var(--reviews-visible));
  min-width:0;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  display:flex; flex-direction:column; height:auto;
}
@media (max-width:900px){ .reviews-carousel{ --reviews-visible: 2; } }
@media (max-width:640px){
  .reviews-carousel{ --reviews-visible: 1; }
  .reviews-track{ gap:16px; }
  .review-card{ flex-basis: 100%; }
}
.review-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-strong); border-color: var(--gold); }
.review-top{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.review-avatar{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-weight:700; font-size:14px; color:#fff; flex-shrink:0; }
.review-who{ flex:1; min-width:0; text-align:left; }
.review-who b{ display:block; font-size:14px; }
.review-who span{ display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--text-faint); margin-top:2px; }
.review-who span i{ font-size:10px; }
.review-stars{ color: var(--gold-deep); font-size:13px; letter-spacing:2px; margin-bottom:12px; text-align:left; }
:root[data-theme="dark"] .review-stars{ color: var(--gold-bright); }
.review-card p{ font-size:14px; color:var(--text-dim); font-style:italic; margin:0; text-align:left; }
.reviews-nav{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:32px; }
.reviews-arrow{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border-strong); background:transparent; color:var(--text);
  display:flex; align-items:center; justify-content:center; transition: all .3s var(--ease); flex-shrink:0;
}
.reviews-arrow:hover{ border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
:root[data-theme="dark"] .reviews-arrow:hover{ color: var(--gold-bright); }
.reviews-dots{ display:flex; gap:10px; }
.reviews-dot{ width:9px; height:9px; padding:0; border-radius:50%; border:none; background: var(--border-strong); transition: background .3s, transform .3s; }
.reviews-dot:hover{ background: var(--gold); }
.reviews-dot.active{ background: var(--gold); transform: scale(1.35); }
:root[data-theme="dark"] .reviews-dot.active,
:root[data-theme="dark"] .reviews-dot:hover{ background: var(--gold-bright); }
@media (max-width:640px){ .review-card{ padding:22px 20px; } }

/* Selected Work — one large project slide at a time (image + details), with arrows + dots */
.work-carousel{ max-width: 1120px; margin: 0 auto; overflow:hidden; }
.work-track{ display:flex; transition: transform .6s var(--ease); }
.work-slide{
  flex: 0 0 100%; min-width:0; display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; align-items:center;
}
.work-media{ position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); aspect-ratio: 4/3; }
.work-media img{ width:100%; height:100%; object-fit:cover; filter: grayscale(6%) contrast(1.03) saturate(0.94); }
.work-info{ padding: 0 8px; }
.work-tag{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color: var(--gold-deep); margin-bottom:14px; }
:root[data-theme="dark"] .work-tag{ color: var(--gold-bright); }
.work-info h3{ font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); margin-bottom:14px; }
.work-info p{ color: var(--text-dim); font-size:15px; max-width:42ch; }
@media (max-width:760px){
  .work-slide{ grid-template-columns: 1fr; gap:20px; }
  .work-info{ padding:0; }
}
.work-nav{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:32px; }
.work-arrow{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--border-strong); background:transparent; color:var(--text);
  display:flex; align-items:center; justify-content:center; transition: all .3s var(--ease); flex-shrink:0;
}
.work-arrow:hover{ border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
:root[data-theme="dark"] .work-arrow:hover{ color: var(--gold-bright); }
.work-dots{ display:flex; gap:10px; }
.work-dot{ width:9px; height:9px; padding:0; border-radius:50%; border:none; background: var(--border-strong); transition: background .3s, transform .3s; }
.work-dot:hover{ background: var(--gold); }
.work-dot.active{ background: var(--gold); transform: scale(1.35); }
:root[data-theme="dark"] .work-dot.active,
:root[data-theme="dark"] .work-dot:hover{ background: var(--gold-bright); }

/* Auto-looping image slideshow (replaces a video where the source clip isn't clean) */
.img-slideshow{ position:relative; width:100%; height:100%; aspect-ratio:16/9; }
.img-slideshow img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition: opacity 1.4s ease; }
.img-slideshow img.active{ opacity:1; }

/* Testimonials — rotating carousel with dot navigation */
.testi-carousel{ max-width: 640px; margin: 0 auto; }
.testi-track{ display:flex; overflow:hidden; }
.testi-card{
  flex: 0 0 100%; min-width:0; background:none; border:none; border-radius:0; padding: 6px 4px;
  text-align:center; display:flex; flex-direction:column; align-items:center;
}
.testi-stars{ color: var(--gold-deep); font-size:13px; margin-bottom:16px; letter-spacing:3px; }
:root[data-theme="dark"] .testi-stars{ color: var(--gold-bright); }
.testi-card p{ font-size:15.5px; color:var(--text); font-style:italic; max-width:52ch; }
.testi-who{ display:flex; align-items:center; flex-direction:column; gap:10px; margin-top:14px; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; background: var(--grad-metal); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color:#111; font-weight:700; }
.testi-who b{ display:block; font-size:13.5px; }
.testi-who span{ font-size:12px; color:var(--text-faint); }
.testi-dots{ display:flex; justify-content:center; gap:10px; margin-top:32px; }
.testi-dot{ width:9px; height:9px; padding:0; border-radius:50%; border:none; background: var(--border-strong); transition: background .3s, transform .3s; }
.testi-dot:hover{ background: var(--gold); }
.testi-dot.active{ background: var(--gold); transform: scale(1.35); }
:root[data-theme="dark"] .testi-dot.active,
:root[data-theme="dark"] .testi-dot:hover{ background: var(--gold-bright); }

/* Gallery / lightbox — tiles sit flush, dense packing avoids layout gaps from spanning items */
.gallery-grid{ display:grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.gallery-grid .g-item{ position:relative; overflow:hidden; cursor: zoom-in; border-radius: var(--radius); transition: box-shadow .4s var(--ease); }
.gallery-grid .g-item img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); filter: grayscale(8%) brightness(.92); }
.gallery-grid .g-item:hover{ box-shadow: var(--shadow-strong); }
.gallery-grid .g-item:hover img{ transform: scale(1.1); filter:none; }
.gallery-grid .g-item.tall{ grid-row: span 2; }
.gallery-grid .g-item.wide{ grid-column: span 2; }
@media (max-width: 980px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows:150px; }
  .gallery-grid .g-item.wide, .gallery-grid .g-item.tall{ grid-column:span 1; grid-row:span 1; }
}

/* Gallery link cards (Factory Gallery / Project Gallery) */
.gallery-link-card{
  display:flex; align-items:center; gap:20px; padding: 28px 26px; border:1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-soft); transition: all .4s var(--ease);
}
.gallery-link-card:hover{ border-color: var(--gold); box-shadow: var(--shadow-strong); transform: translateY(-4px); }
.glc-icon{ width:56px; height:56px; border-radius:50%; background: rgba(184,137,47,0.08); border:1px solid rgba(184,137,47,0.22); color:var(--gold-deep); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
:root[data-theme="dark"] .glc-icon{ color: var(--gold-bright); }
.glc-body{ flex:1; min-width:0; }
.glc-body h3{ font-size:1.05rem; margin-bottom:6px; }
.glc-body p{ font-size:13.5px; margin:0; color:var(--text-dim); }
.glc-arrow{ width:38px; height:38px; border-radius:50%; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center; color:var(--text-dim); flex-shrink:0; transition: all .4s var(--ease); }
.gallery-link-card:hover .glc-arrow{ background: var(--grad-gold); color:#17130a; border-color:transparent; transform: rotate(45deg); }
@media (max-width:640px){ .gallery-link-card{ padding:20px; gap:14px; } .glc-icon{ width:46px;height:46px;font-size:18px; } }
.g-caption{ position:absolute; left:0; right:0; bottom:0; padding: 14px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); font-size:12px; color:#fff; opacity:0; transform: translateY(8px); transition: all .35s var(--ease); }
.g-item:hover .g-caption{ opacity:1; transform:translateY(0); }

#lightbox{ position:fixed; inset:0; background:rgba(4,4,5,0.96); z-index:2000; display:none; align-items:center; justify-content:center; padding: 30px; }
#lightbox.open{ display:flex; }
#lightbox img{ max-width:90vw; max-height:82vh; border-radius:8px; box-shadow: var(--shadow-strong); }
/* #lightbox is a flex container, so its <img> flex item paints in the same
   z-index:auto stacking bucket as these positioned buttons and would otherwise
   win over whichever ones sit earlier in the DOM (close, prev) — explicit
   z-index keeps close/prev/next clickable above the image on every device. */
#lightbox .lb-close{ position:absolute; top:24px; right:28px; font-size:26px; color:#fff; z-index:2; }
#lightbox .lb-nav{ position:absolute; top:50%; transform:translateY(-50%); font-size:24px; color:#fff; padding:14px; z-index:2; background:rgba(255,255,255,0.08); border-radius:50%; transition: background .3s var(--ease); }
#lightbox .lb-nav:hover{ background:rgba(255,255,255,0.18); }
#lightbox .lb-prev{ left:16px; } #lightbox .lb-next{ right:16px; }
#lightbox .lb-caption{ position:absolute; bottom:26px; left:0; right:0; text-align:center; color:#aeb3bc; font-size:13px; z-index:2; }
@media (max-width:640px){
  #lightbox{ padding:14px; }
  #lightbox .lb-nav{ padding:12px; font-size:20px; }
  #lightbox .lb-prev{ left:6px; } #lightbox .lb-next{ right:6px; }
  #lightbox .lb-close{ top:12px; right:14px; }
}

/* Forms */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap: 18px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:12px; letter-spacing:.05em; text-transform:uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea{
  background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px;
  color: var(--text); font-size:14px; transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--gold); background: var(--surface); }
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:12.5px; color:var(--text-faint); margin-top:14px; }
.response-time-note{
  flex-direction:row; align-items:center; gap:9px; font-size:12.5px; color:var(--text-dim);
  background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-sm); padding:11px 14px; margin-top:-4px;
}
.pulse-dot{ width:8px; height:8px; border-radius:50%; background:#4caf6d; flex-shrink:0; position:relative; }
.pulse-dot::after{
  content:''; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid #4caf6d;
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring{ 0%{ transform:scale(.6); opacity:.8; } 100%{ transform:scale(1.6); opacity:0; } }
@media (prefers-reduced-motion: reduce){ .pulse-dot::after{ animation:none; } }
.form-success{ display:none; background: rgba(90,160,110,0.1); border:1px solid rgba(90,160,110,0.35); color:#3c7a4c; padding:16px 18px; border-radius: var(--radius-sm); font-size:14px; margin-bottom:20px; }
:root[data-theme="dark"] .form-success{ color:#a9e6b5; }
.form-success.show{ display:block; }

/* Accordion (FAQ) */
.accordion-item{ border-bottom:1px solid var(--border); }
.accordion-head{ display:flex; justify-content:space-between; align-items:center; width:100%; background:none; border:none; color:var(--text); padding: 24px 0; text-align:left; font-family: var(--font-display); font-size:16px; font-weight:600; gap:20px; transition: color .3s var(--ease); }
.accordion-head:hover{ color: var(--gold-deep); }
:root[data-theme="dark"] .accordion-head:hover{ color: var(--gold-bright); }
.accordion-head i{ color: var(--gold-deep); transition: transform .35s var(--ease); flex-shrink:0; }
.accordion-head:hover i{ transform: scale(1.2); }
:root[data-theme="dark"] .accordion-head i{ color: var(--gold-bright); }
.accordion-item.open .accordion-head i{ transform: rotate(45deg); }
.accordion-body{ max-height:0; overflow:hidden; transition: max-height .45s var(--ease); }
.accordion-item.open .accordion-body{ max-height: 400px; }
.accordion-body p{ padding-bottom: 22px; font-size:14px; }

/* Download center */
.downloads-list{ display:flex; flex-direction:column; max-width:640px; }
.download-item{ display:flex; align-items:center; gap:18px; padding: 22px 0; background:none; border:none; border-bottom:1px solid var(--border); transition: padding-left .35s var(--ease); }
.download-item:hover{ padding-left:8px; }
.download-item:hover .dl-icon{ transform: scale(1.1) rotate(-6deg); }
.download-item .dl-icon{ transition: transform .35s var(--ease); }
@media (max-width:640px){
  .download-item{ flex-wrap:wrap; padding:18px 0; }
  .download-item .dl-meta{ flex-basis:100%; order:1; }
  .download-item a.btn{ order:2; margin-left:64px; }
}
.download-item .dl-icon{ width:48px; height:48px; border-radius:12px; background: rgba(184,137,47,0.1); color:var(--gold-deep); display:flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0; }
:root[data-theme="dark"] .download-item .dl-icon{ color: var(--gold-bright); }
.download-item .dl-meta{ flex:1; min-width:0; }
.download-item h4{ font-family:var(--font-display); font-size:15px; margin-bottom:4px; }
.download-item span{ font-size:12px; color:var(--text-faint); }

/* Search widget */
#search-overlay{ position:fixed; inset:0; background: var(--bg); z-index:1500; display:none; padding: 100px 24px; }
#search-overlay.open{ display:block; }
.search-box{ max-width:700px; margin:0 auto; }
.search-box .eyebrow{ color: var(--gold-deep); justify-content:center; }
:root[data-theme="dark"] .search-box .eyebrow{ color: var(--gold-bright); }
.search-box input{ width:100%; background:transparent; border:none; border-bottom:1px solid var(--border-strong); font-family:var(--font-display); font-size: clamp(1.3rem,3.6vw,2rem); color:var(--text); padding: 14px 4px; }
.search-box input:focus{ outline:none; border-color: var(--gold); }
#search-results{ margin-top: 26px; max-height: 50vh; overflow-y:auto; }
#search-results a{ display:flex; justify-content:space-between; padding: 15px 4px; border-bottom:1px solid var(--border); color:var(--text-dim); font-size:15px; }
#search-results a:hover{ color: var(--gold-deep); }
:root[data-theme="dark"] #search-results a:hover{ color: var(--gold-bright); }
#search-results a span{ font-size:11px; text-transform:uppercase; letter-spacing:.1em; color: var(--text-faint); }
.search-close{ position:absolute; top:30px; right:30px; font-size:24px; color:var(--text); }
.search-hint{ color:var(--text-faint); font-size:13px; margin-top:16px; }

/* Job listings */
.job-item{ display:flex; justify-content:space-between; align-items:center; gap:20px; padding: 26px 0; background:none; border:none; border-bottom:1px solid var(--border); flex-wrap:wrap; }
.job-item h3{ font-size:1.05rem; margin-bottom:8px; }
.job-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.job-tags span{ font-size:11px; padding:5px 12px; border-radius:999px; border:1px solid var(--border-strong); color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; }

/* Blog */
.blog-card img{ border-radius: var(--radius); aspect-ratio:16/10; object-fit:cover; margin-bottom:20px; filter: grayscale(10%) brightness(.94); transition: filter .5s; }
.blog-card:hover img{ filter:none; }
.blog-meta{ display:flex; gap:14px; font-size:11.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; }
.blog-meta span{ color: var(--gold-deep); }
:root[data-theme="dark"] .blog-meta span{ color: var(--gold-bright); }
.blog-card h3{ font-size:1.15rem; margin-bottom:6px; }
.blog-card .blog-hook{ display:block; font-size:13px; color:var(--text-dim); margin-bottom:12px; }
.blog-card .blog-more{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-size:12.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--gold-deep); }
.blog-card .blog-more i{ font-size:11px; transition: transform .3s var(--ease); }
.blog-card:hover .blog-more i{ transform: translateX(5px); }
:root[data-theme="dark"] .blog-card .blog-more{ color:var(--gold-bright); }
article.post{ max-width: 760px; margin:0 auto; }
article.post h2{ margin-top:1.4em; font-size:1.5rem; }
article.post p{ color:var(--text-dim); font-size:15.5px; }
article.post ul{ margin:0 0 1.4em; padding-left:22px; list-style:disc; color:var(--text-dim); }
article.post li{ margin-bottom:8px; }

/* Reveal animation: GSAP sets the opacity:0 starting point via fromTo() at runtime.
   No base CSS opacity here — if the GSAP CDN ever fails to load, content must stay visible. */

/* Video / media */
.video-frame{ position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); background:#000; max-height: 380px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.video-frame video{ width:100%; height:100%; object-fit:cover; max-height: 380px; }

/* Premium gold gradient border glow on hover/focus */
.video-frame::after{
  content:''; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:2px;
  background: var(--grad-gold); opacity:0; transition: opacity .45s var(--ease); pointer-events:none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.video-frame:hover, .video-frame:focus-within{ box-shadow: 0 20px 48px rgba(184,137,47,0.28); transform: translateY(-3px); }
.video-frame:hover::after, .video-frame:focus-within::after{ opacity:1; }
@media (prefers-reduced-motion: reduce){ .video-frame{ transition:none; } .video-frame:hover{ transform:none; } }

/* Portrait variant — for phone-shot work videos (taller than wide) */
.video-frame.video-frame--portrait{ aspect-ratio: 3/4; max-height: 560px; }
.video-frame.video-frame--portrait video{ max-height: 560px; }

/* Full-bleed variant — breaks out of the container to span the full viewport width */
.video-frame.video-frame--full{ width:100%; max-height: 560px; border-radius: var(--radius-lg); }
.video-frame.video-frame--full video{ max-height: 560px; }
@media (max-width:640px){
  .video-frame.video-frame--full{ max-height: 320px; }
  .video-frame.video-frame--full video{ max-height: 320px; }
}

/* Marquee (capability / industry ticker) */
.marquee{
  position:relative; overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{ display:flex; gap:0; width:max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track .m-item{ display:flex; align-items:center; gap:14px; padding: 0 34px; }
.marquee-track .m-item i{ color: var(--gold-deep); font-size:13px; }
:root[data-theme="dark"] .marquee-track .m-item i{ color: var(--gold-bright); }
.marquee-track span{ font-family:var(--font-display); font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--text-dim); white-space:nowrap; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* Auto-scrolling image strip (About — continuous drift, mirrors the text marquee) */
.img-marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.img-marquee-track{ display:flex; gap:20px; width:max-content; animation: imgMarquee 110s linear infinite; will-change: transform; }
.img-marquee-track .im-item{
  display:block; position:relative; flex-shrink:0; width:280px; height:190px; border-radius: var(--radius);
  overflow:hidden; border:1px solid var(--border); cursor: zoom-in; transition: box-shadow .35s var(--ease);
}
.img-marquee-track .im-item:hover{ box-shadow: var(--shadow-strong); }
.img-marquee-track .im-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease), filter .6s var(--ease); filter: grayscale(6%) brightness(.94); }
.img-marquee-track .im-item:hover img{ transform: scale(1.08); filter:none; }
@keyframes imgMarquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .img-marquee-track{ animation:none; } }
@media (max-width:640px){ .img-marquee-track .im-item{ width:200px; height:140px; } }
.img-marquee-track.reverse{ animation-direction: reverse; }
.img-marquee + .img-marquee{ margin-top:20px; }

/* Split-word heading reveal (JS splits text into spans, GSAP staggers them in) */
.split-word{ display:inline-block; overflow:hidden; vertical-align:top; }
.split-word > span{ display:inline-block; will-change: transform; }

/* Magnetic buttons + tilt cards (transform applied via JS/GSAP quickTo) */
.magnetic{ will-change: transform; }
.tilt{ will-change: transform; transform-style: preserve-3d; }

/* WhatsApp float + back to top */
.float-stack{ position:fixed; right: 22px; bottom: 22px; z-index: 800; display:flex; flex-direction:column; gap:12px; align-items:center; }

/* Sticky mobile "Request a Quote" bar — product pages only (see mobileQuoteBar()
   in generate.mjs), and mobile-only: the floating buttons already cover this
   job on desktop. */
.mobile-quote-bar{ display:none; }
@media (max-width:780px){
  .has-mobile-quote-bar .mobile-quote-bar{
    display:flex; gap:10px; position:fixed; left:0; right:0; bottom:0; z-index:900;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface);
    border-top:1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.1);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .has-mobile-quote-bar .mobile-quote-bar.show{ transform: translateY(0); }
  .has-mobile-quote-bar .mobile-quote-bar .btn{ flex:1; }
  .has-mobile-quote-bar .mobile-quote-bar .btn-outline{ flex:0 0 48px; width:48px; padding:0; display:flex; align-items:center; justify-content:center; font-size:18px; }
  /* keep the floating WhatsApp/back-to-top buttons clear of the new bottom bar */
  .has-mobile-quote-bar .float-stack{ bottom: 88px; }
}
@media (prefers-reduced-motion: reduce){ .mobile-quote-bar{ transition:none; } }
.float-btn{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease); }
.float-btn:hover{ transform: translateY(-4px) scale(1.05); }
.float-whatsapp{ background:#25D366; color:#0a0b0d; opacity:0; visibility:hidden; transition: all .3s var(--ease); }
.float-whatsapp.show{ opacity:1; visibility:visible; }
.float-top{ position:relative; background: var(--surface); border:1px solid var(--border-strong); color:var(--text); font-size:15px; opacity:0; visibility:hidden; transition: all .3s var(--ease); }
.float-top.show{ opacity:1; visibility:visible; }
.float-top i{ position:relative; z-index:1; }
/* Circular scroll-progress ring traced around the back-to-top button's border */
.float-top-ring{ position:absolute; inset:-1px; width:calc(100% + 2px); height:calc(100% + 2px); transform:rotate(-90deg); pointer-events:none; }
.float-top-ring .ring-track{ fill:none; stroke:var(--border-strong); stroke-width:2; }
.float-top-ring .ring-progress{
  fill:none; stroke: var(--gold-deep); stroke-width:2; stroke-linecap:round;
  stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset .1s linear;
}
:root[data-theme="dark"] .float-top-ring .ring-progress{ stroke: var(--gold-bright); }
@media (prefers-reduced-motion: reduce){ .float-top-ring .ring-progress{ transition:none; } }

/* CTA band */
.cta-band{ position:relative; padding: 64px 0; text-align:center; overflow:hidden; background: var(--bg-alt); color: var(--text); }
.cta-band::before{ content:''; position:absolute; inset:0; background: radial-gradient(circle at 50% 30%, rgba(184,137,47,0.1), transparent 60%); }
.cta-band .container{ position:relative; z-index:2; }
.cta-band .eyebrow{ color: var(--gold-deep); }
:root[data-theme="dark"] .cta-band .eyebrow{ color: var(--gold-bright); }
.cta-band h2{ font-size: clamp(1.7rem,3.4vw,2.5rem); max-width:18ch; margin:0 auto 22px; color: var(--text); }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top: 16px; }

/* Footer */
footer.site-footer{ background: var(--bg); border-top:1px solid var(--border); padding: 60px 0 24px; color: var(--text-dim); }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 40px; }
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; gap:34px; } .footer-brand{ grid-column:1/-1; } }
.footer-brand .brand{ margin-bottom:18px; }
.footer-brand p{ font-size:13.5px; max-width:34ch; color: var(--text-faint); }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
footer h4{ font-family:var(--font-display); font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--text); margin-bottom:20px; font-weight:600; }
footer .footer-col a{ display:block; font-size:13.5px; color:var(--text-dim); padding: 7px 0; transition: color .3s, padding-left .3s; }
footer .footer-col a:hover{ color:var(--gold-deep); padding-left:4px; }
:root[data-theme="dark"] footer .footer-col a:hover{ color: var(--gold-bright); }
.footer-contact li{ display:flex; gap:12px; font-size:13.5px; color:var(--text-dim); padding:7px 0; align-items:center; }
.footer-contact li:first-child{ align-items:flex-start; }
.footer-contact i{ color: var(--gold-deep); width:16px; flex-shrink:0; text-align:center; }
.footer-contact li:first-child i{ margin-top:4px; }
.footer-contact a[href^="tel:"]{ font-size:16px; font-weight:700; color:var(--text); letter-spacing:.02em; }
:root[data-theme="dark"] .footer-contact a[href^="tel:"]{ color:var(--text); }
@media (max-width:640px){ .footer-contact a[href^="tel:"]{ font-size:19px; } }
.footer-contact li:first-child a{ transition: color .3s; }
.footer-contact li:first-child a:hover{ color: var(--gold-deep); }
:root[data-theme="dark"] .footer-contact li:first-child a:hover{ color: var(--gold-bright); }
:root[data-theme="dark"] .footer-contact i{ color: var(--gold-bright); }
.footer-locations{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; padding: 30px 0; border-top:1px solid var(--border); }
@media (max-width: 900px){ .footer-locations{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-locations{ grid-template-columns: 1fr; padding:24px 0; gap:22px; } }
.footer-location-item{ display:flex; gap:12px; align-items:flex-start; }
.footer-location-item i{ color: var(--gold-deep); width:16px; flex-shrink:0; text-align:center; margin-top:4px; }
:root[data-theme="dark"] .footer-location-item i{ color: var(--gold-bright); }
.footer-location-item b{ display:block; font-size:13.5px; color:var(--text); margin-bottom:6px; }
.footer-location-item p{ font-size:13px; color:var(--text-dim); margin:0; line-height:1.6; }
.footer-location-item a{ color:var(--text-dim); transition: color .3s; }
.footer-location-item a:hover{ color:var(--gold-deep); }
:root[data-theme="dark"] .footer-location-item a:hover{ color: var(--gold-bright); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 22px; border-top:1px solid var(--border); font-size:12.5px; color:var(--text-faint); flex-wrap:wrap; gap:14px; }
.footer-bottom a:hover{ color:var(--gold-deep); }
:root[data-theme="dark"] .footer-bottom a:hover{ color: var(--gold-bright); }
.footer-legal{ display:flex; gap:18px; }

/* Utilities */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.text-center{text-align:center;}
.flex{ display:flex; } .items-center{align-items:center;} .justify-between{justify-content:space-between;} .gap-10{gap:10px;} .gap-20{gap:20px;}
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
@media (max-width: 900px){ .two-col{ grid-template-columns:1fr; gap:36px; } }
.media-frame{ position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); aspect-ratio: 4/3; max-height: 420px; }
.media-frame img{ width:100%; height:100%; object-fit:cover; filter: grayscale(6%) contrast(1.03) saturate(0.94); }
[data-lightbox]{ cursor: zoom-in; }

/* Full-bleed map (edge-to-edge, breaks out of .container on purpose) */
.map-frame{ position:relative; width:100%; aspect-ratio: 21/6; overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.map-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.map-directions-btn{
  position:absolute; right:20px; bottom:20px; z-index:2; display:inline-flex; align-items:center; gap:10px;
  padding:13px 24px; border-radius:999px; font-family: var(--font-display); font-weight:600; font-size:13px;
  letter-spacing:.03em; text-transform:uppercase; background: var(--grad-gold); color:#17130a; box-shadow: var(--shadow-gold);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.map-directions-btn:hover{ transform: translateY(-3px); box-shadow: 0 16px 40px rgba(184,137,47,0.3); }
@media (max-width:640px){ .map-frame{ aspect-ratio: 4/5; } .map-directions-btn{ right:12px; bottom:12px; padding:11px 18px; font-size:12px; } }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 20px 0; }
.tag-row span{ font-size:12px; padding:7px 15px; border-radius:999px; border:1px solid var(--border-strong); color:var(--text-dim); }
.check-list li{ display:flex; gap:12px; padding:9px 0; font-size:14px; color:var(--text-dim); align-items:flex-start; }
.check-list i{ color: var(--gold-deep); margin-top:3px; transition: transform .3s var(--ease); }
.check-list li:hover i{ transform: scale(1.25); }
:root[data-theme="dark"] .check-list i{ color: var(--gold-bright); }
@media (prefers-reduced-motion: reduce){ .check-list i{ transition:none; } .check-list li:hover i{ transform:none; } }

@media (max-width: 640px){
  .section{ padding: 60px 0; }
  .hero-stats{ gap: 28px; }
  .container{ padding: 0 18px; }
}
