/* ==========================================================================
   ANIL MINCON PRIVATE LIMITED — Premium Corporate Site
   Design System: Navy / Gold / Royal Blue — Luxury Mining Aesthetic
   ========================================================================== */

:root {
  --navy: #0E2A4D;
  --navy-deep: #081729;
  --gold: #C7A76C;
  --gold-light: #E4CA98;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --dark-bg: #050608;
  --dark-bg-2: #0A0D12;
  --accent-glow: #4A89FF;
  --text-muted: rgba(245, 247, 250, 0.62);
  --text-muted-dark: rgba(14, 42, 77, 0.62);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-light-strong: rgba(255, 255, 255, 0.14);

  --font-heading: 'Space Grotesk', 'General Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  --container-max: 1360px;
  --gutter: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  background: var(--dark-bg);
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 900px), (hover: none) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-pad { padding: clamp(80px, 12vw, 160px) 0; }
.section-pad-sm { padding: clamp(50px, 8vw, 100px) 0; }

/* Noise texture overlay */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   CUSTOM CURSOR — "Survey Reticle"
   Minimal precision-instrument mark rather than a generic dot+ring: a
   pinpoint gold node plus four independent corner brackets (echoing a
   surveyor's viewfinder / a mining engineer's alignment marks) that idle
   in a loose square, then snap tight and solid gold on interactive
   targets — a deliberate, technical read that suits AMPL's navy/gold
   industrial-precision brand rather than a soft consumer-app cursor.
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px rgba(199,167,108,0.7);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: background 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.cursor-reticle {
  position: fixed;
  top: 0; left: 0;
  width: 48px; height: 48px;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-luxury);
}
.cursor-reticle svg { width: 100%; height: 100%; overflow: visible; }
.reticle-corner {
  fill: none;
  stroke: rgba(199, 167, 108, 0.65);
  stroke-width: 1.4;
  stroke-linecap: square;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s var(--ease-luxury), stroke 0.4s var(--ease-luxury), stroke-width 0.4s var(--ease-luxury);
}
/* idle: brackets breathe very slightly outward/inward as a set, driven by JS scale on the wrapper */
.cursor-reticle.hovering { opacity: 1; }
.cursor-reticle.hovering .reticle-corner {
  stroke: var(--gold);
  stroke-width: 1.8;
}
.cursor-reticle.hovering .tl { transform: translate(-4px, -4px); }
.cursor-reticle.hovering .tr { transform: translate(4px, -4px); }
.cursor-reticle.hovering .br { transform: translate(4px, 4px); }
.cursor-reticle.hovering .bl { transform: translate(-4px, 4px); }
.cursor-reticle.clicking .reticle-corner { stroke: var(--white); }
@media (max-width: 900px), (hover: none) {
  .cursor-dot, .cursor-reticle { display: none; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 1000;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--accent-glow), var(--gold));
  transform-origin: left;
}

/* ==========================================================================
   LOADING SCREEN — cinematic reveal
   Vanilla port of the cinematic-landing-hero.tsx reference's loading-relevant
   mechanics: a blurred/scaled-in headline (gsap.set .. blur(20px) scale(0.85)
   -> blur(0) scale(1)), a subtle radial-masked background grid, and a film-
   grain overlay (feTurbulence SVG) — the reference's iPhone-mockup/App-Store
   content has no AMPL equivalent and is intentionally not ported here.
   The headline text uses the reference's "silver matte" gradient text-clip
   treatment (linear-gradient text -> drop-shadow) re-themed to a
   gold-to-white AMPL gradient for the italic "Mining" word.
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
}
.loader-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.loader-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-size: 56px 56px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
#loader .loader-logo {
  position: relative;
  z-index: 2;
  width: 108px;
  opacity: 0;
}
.loader-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.25;
  padding: 0 20px;
}
.loader-line {
  display: block;
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  filter: blur(20px);
  text-shadow: 0 10px 30px rgba(255,255,255,0.12);
}
.loader-line em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 6px 18px rgba(199,167,108,0.25));
}
/* ---------------------------------------------------------------------
   Loader liquid bars — vanilla port of the "liquid-loader"
   (LiquidLoading) React reference: 7 bars whose heights are driven by a
   combined sine-wave (primary + bounce + ripple), each with a rising
   droplet above and a pulsing base droplet below. Re-themed from the
   reference's purple/pink/cyan/green/yellow/orange/red rainbow to a
   single-family AMPL gold -> accent-glow gradient sequence so it reads as
   premium brand motion rather than a generic rainbow loader. Animated via
   requestAnimationFrame in main.js (initLoaderLiquid()); CSS here only
   provides the static shape/glow/blur treatment per bar.
--------------------------------------------------------------------- */
.loader-liquid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  height: 130px;
  opacity: 0;
}
.liquid-col { position: relative; display: flex; flex-direction: column; align-items: center; }
.liquid-drop-top {
  width: 10px; height: 10px; border-radius: 50%;
  margin-bottom: 8px;
  filter: blur(0.5px);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.liquid-bar {
  width: 15px;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transform-origin: bottom;
  filter: blur(0.3px);
}
.liquid-bar::before {
  /* surface sheen */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  border-radius: 100px 100px 0 0;
}
.liquid-drop-base {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px;
  filter: blur(0.2px);
}
.loader-pct {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  opacity: 0;
}
.loader-tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(199,167,108,0.7);
  opacity: 0;
}
@media (max-width: 560px) {
  .loader-headline { font-size: 22px; }
  #loader .loader-logo { width: 84px; }
}
.loader-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  transform: translateY(0);
}

/* ==========================================================================
   NAVBAR — fully transparent (no scroll-triggered background/blur/border)
   ========================================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  background: transparent;
  transition: padding 0.4s var(--ease-luxury);
}
#navbar.scrolled {
  padding: 14px 0;
}
/* Contrast theme for when the transparent navbar overlaps a light-background
   section (#fleet, #industries, #leadership) — toggled via ScrollTrigger in
   main.js. Background remains fully transparent; only text/icon colors flip. */
#navbar.nav-on-light .nav-logo-text { color: var(--navy-deep); }
#navbar.nav-on-light .nav-tabs { border-color: rgba(14,42,77,0.14); background: rgba(14,42,77,0.03); }
#navbar.nav-on-light .nav-tab { color: rgba(14,42,77,0.65); }
#navbar.nav-on-light .nav-tab:hover,
#navbar.nav-on-light .nav-tab.pinned { color: var(--navy-deep); background: rgba(14,42,77,0.07); }
#navbar.nav-on-light .nav-tab.active { color: var(--navy); background: rgba(199,167,108,0.16); }
#navbar.nav-on-light .nav-tab-sep { background: rgba(14,42,77,0.16); }
#navbar.nav-on-light .nav-cta { color: var(--navy-deep); border-color: var(--navy-deep); }
#navbar.nav-on-light .nav-cta:hover { background: var(--navy-deep); color: var(--white); }
#navbar.nav-on-light .btn-orb { border-color: var(--navy-deep); }
#navbar.nav-on-light .btn-orb-icon svg { stroke: var(--navy-deep); }
#navbar.nav-on-light .btn-orb-icon { color: var(--navy-deep); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 42px; width: auto; transition: height 0.4s var(--ease-luxury); }
#navbar.scrolled .nav-logo img { height: 34px; }
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.nav-logo-text span { display: block; font-size: 9px; letter-spacing: 0.25em; color: var(--gold); font-weight: 500; margin-top: 2px; }

/* ==========================================================================
   NAV-TABS — vanilla "ExpandableTabs" equivalent
   Icon-only pill row that expands to reveal its label on hover, and
   "pins" expanded (via .pinned, toggled in main.js) on click/active —
   translating the React component's AnimatePresence label-slide-in +
   width/gap/padding spring animation into a single grid-template-columns
   + opacity CSS transition per tab.
   ========================================================================== */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
}
.nav-tab {
  display: grid;
  grid-template-columns: 18px 0fr;
  align-items: center;
  gap: 0;
  padding: 9px 11px;
  border-radius: 100px;
  color: rgba(255,255,255,0.68);
  transition: grid-template-columns 0.45s var(--ease-luxury),
              padding 0.45s var(--ease-luxury),
              color 0.3s, background 0.3s;
  overflow: hidden;
  white-space: nowrap;
}
.nav-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-tab-icon svg { width: 16px; height: 16px; display: block; }
.nav-tab-label {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.3s var(--ease-luxury) 0.05s;
}
.nav-tab:hover,
.nav-tab.active,
.nav-tab.pinned {
  grid-template-columns: 18px 1fr;
  padding: 9px 16px;
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-tab.active {
  color: var(--gold-light);
  background: rgba(199,167,108,0.12);
}
.nav-tab:hover .nav-tab-label,
.nav-tab.active .nav-tab-label,
.nav-tab.pinned .nav-tab-label {
  opacity: 1;
  margin-left: 8px;
}
.nav-tab-sep {
  width: 1px;
  height: 22px;
  background: var(--border-light-strong);
  margin: 0 3px;
  flex: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: background 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury);
  overflow: hidden;
  position: relative;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep); }

.nav-inner .btn-orb { height: 46px; width: 46px; flex: none; }
.nav-inner .btn-orb:hover { width: 180px; }
.nav-inner .btn-orb .btn-orb-icon { width: 44px; height: 44px; }
.nav-inner .btn-orb .btn-orb-icon svg { width: 15px; height: 15px; }
.nav-inner .btn-orb:hover .btn-orb-label { padding-right: 20px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border-light-strong);
  border-radius: 50%;
}
.nav-burger span { width: 16px; height: 1px; background: var(--white); display: block; transition: all 0.3s; }

@media (max-width: 1080px) {
  .nav-tabs { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 1300px) and (min-width: 1081px) {
  .nav-tab-sep { display: none; }
  .nav-tab { padding: 9px 9px; }
}

/* Mobile menu overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-luxury);
}
#mobile-menu.open { transform: translateY(0); }
#mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
#mobile-menu a {
  font-family: var(--font-heading);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}
#mobile-menu .mm-close {
  position: absolute;
  top: 24px; right: var(--gutter);
  width: 44px; height: 44px;
  border: 1px solid var(--border-light-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  border: none;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
}
/* shimmer sweep on hover, echoing the .btn-orb glow language */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease-luxury);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -10px rgba(199,167,108,0.6); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-dark {
  background: linear-gradient(135deg, #16375e, var(--navy));
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -10px rgba(14,42,77,0.65); }
.btn svg { position: relative; z-index: 2; width: 16px; height: 16px; transition: transform 0.35s var(--ease-luxury); }
.btn span { position: relative; z-index: 2; }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* ==========================================================================
   LIQUID METAL BUTTON SURFACE
   Vanilla translation of the requested LiquidMetalButton reference's
   real-time WebGL "liquid metal" shader: a dark brushed-metal base with a
   rotating conic-gradient specular sheen (animated via the --lm-angle
   custom property, since @property lets us transition/animate it exactly
   like an animated gradient angle) standing in for the shader's moving
   highlight. Speeds up on hover (.lm-fast), flares white on click
   (.lm-flare), and spawns an expanding click ripple (.lm-ripple) — the
   same interaction language as the reference (setSpeed(1) on hover,
   setSpeed(2.4) burst on click) without pulling in an ESM-only shader
   dependency into this plain-script-tag site.
   ========================================================================== */
@property --lm-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.btn-liquid {
  --lm-angle: 0deg;
  position: relative;
}
.btn-liquid::before {
  background-image:
    conic-gradient(from var(--lm-angle) at 50% 50%,
      rgba(255,255,255,0) 0deg,
      rgba(255,255,255,0.55) 18deg,
      rgba(255,255,255,0) 55deg,
      rgba(199,167,108,0.35) 140deg,
      rgba(255,255,255,0) 200deg,
      rgba(255,255,255,0.4) 260deg,
      rgba(255,255,255,0) 300deg,
      rgba(255,255,255,0) 360deg),
    linear-gradient(135deg, var(--orb-from, var(--gold-light)), var(--orb-to, var(--gold)));
  background-blend-mode: screen;
  animation: lmRotate 7s linear infinite;
}
.btn-liquid.lm-fast::before { animation-duration: 2.2s; }
a.btn-orb.btn-liquid::before, button.btn-orb.btn-liquid::before {
  /* keep the orb's own opacity/hover choreography; only replace its gradient content */
  background-image:
    conic-gradient(from var(--lm-angle) at 50% 50%,
      rgba(255,255,255,0) 0deg,
      rgba(255,255,255,0.55) 18deg,
      rgba(255,255,255,0) 55deg,
      rgba(255,255,255,0.3) 140deg,
      rgba(255,255,255,0) 200deg,
      rgba(255,255,255,0.4) 260deg,
      rgba(255,255,255,0) 300deg,
      rgba(255,255,255,0) 360deg),
    linear-gradient(135deg, var(--orb-from), var(--orb-to));
}
@keyframes lmRotate {
  to { --lm-angle: 360deg; }
}
.lm-flare::before { filter: brightness(1.6); }
.lm-ripple {
  position: absolute;
  width: 14px; height: 14px;
  margin-left: -7px; margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 3;
  animation: lmRipple 0.6s ease-out forwards;
}
@keyframes lmRipple {
  0% { transform: scale(0); opacity: 0.65; }
  100% { transform: scale(9); opacity: 0; }
}

/* ==========================================================================
   BTN-PILL — shadcn Button-style rounded pill (default + ghost variants),
   vanilla equivalent of the hero-section-5 reference's
   <Button size="lg" className="rounded-full pl-5 pr-3"> (chevron slides in
   on hover) and <Button variant="ghost" className="rounded-full">.
   ========================================================================== */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 54px;
  padding: 0 22px 0 26px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury),
              transform 0.35s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury),
              padding 0.35s var(--ease-luxury);
}
.btn-pill .chev {
  width: 17px; height: 17px;
  flex: none;
  transition: transform 0.4s var(--ease-luxury);
}
.btn-pill-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  padding-right: 16px;
}
.btn-pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(199,167,108,0.55);
  padding-right: 22px;
}
.btn-pill-primary:hover .chev { transform: translateX(3px); }
.btn-pill-ghost {
  background: transparent;
  color: rgba(255,255,255,0.82);
  padding: 0 24px;
}
.btn-pill-ghost:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.btn-pill:active { transform: translateY(0) scale(0.98); }

/* ==========================================================================
   BUTTON ORB — circular icon that morphs into a gradient pill on hover,
   revealing a label alongside a persistent icon.
   (vanilla re-implementation of the requested "gradient-menu" interaction,
   re-themed to the AMPL navy / gold / accent-glow palette)
   ========================================================================== */
a.btn-orb, button.btn-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 58px;
  width: 58px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: width 0.6s var(--ease-luxury), background 0.5s var(--ease-luxury),
              border-color 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury), transform 0.4s var(--ease-luxury);
}
a.btn-orb::before,
button.btn-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orb-from), var(--orb-to));
  opacity: 0;
  transition: opacity 0.5s var(--ease-luxury);
}
a.btn-orb::after,
button.btn-orb::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%; top: 14px;
  height: 100%;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orb-from), var(--orb-to));
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-luxury);
}
a.btn-orb:hover, button.btn-orb:hover {
  width: 232px;
  border-color: transparent;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,0.55);
  transform: translateY(-2px);
}
a.btn-orb:hover::before, button.btn-orb:hover::before { opacity: 1; }
a.btn-orb:hover::after, button.btn-orb:hover::after { opacity: 0.6; }
a.btn-orb:active, button.btn-orb:active { transform: translateY(0) scale(0.98); }

/* icon stays fixed at the left, in its own perfectly circular slot */
.btn-orb-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  color: var(--orb-icon, var(--gold));
  transition: color 0.4s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}
.btn-orb-icon svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease-luxury); }
a.btn-orb:hover .btn-orb-icon, button.btn-orb:hover .btn-orb-icon { color: #fff; }
a.btn-orb:hover .btn-orb-icon svg, button.btn-orb:hover .btn-orb-icon svg { transform: rotate(360deg) scale(1.05); }

/* label slides/fades in beside the icon, revealed as the pill widens */
.btn-orb-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  padding-right: 0;
  transform: translateX(-6px);
  transition: max-width 0.6s var(--ease-luxury), opacity 0.4s var(--ease-luxury) 0.08s,
              transform 0.5s var(--ease-luxury) 0.08s, padding-right 0.6s var(--ease-luxury);
}
a.btn-orb:hover .btn-orb-label, button.btn-orb:hover .btn-orb-label {
  max-width: 200px;
  opacity: 1;
  transform: translateX(0);
  padding-right: 24px;
}

/* colour variants */
.btn-orb-gold  { --orb-from: var(--gold-light); --orb-to: var(--gold); --orb-icon: var(--gold); }
.btn-orb-navy  { --orb-from: #2456a3; --orb-to: var(--navy); --orb-icon: #9fc0f0; }
.btn-orb-glow  { --orb-from: var(--accent-glow); --orb-to: #2a5fd6; --orb-icon: var(--accent-glow); }
.btn-orb-dark  { --orb-from: #33415c; --orb-to: var(--navy-deep); --orb-icon: rgba(255,255,255,0.75); }

/* on light backgrounds, base circle needs a darker resting state */
.on-light .btn-orb, .on-light.btn-orb {
  background: rgba(14,42,77,0.06);
  border-color: rgba(14,42,77,0.16);
}
.on-light .btn-orb-icon { color: var(--navy); }

@media (max-width: 640px) {
  a.btn-orb, button.btn-orb { height: 52px; width: 52px; }
  .btn-orb-icon { width: 50px; height: 50px; }
  a.btn-orb:hover, button.btn-orb:hover { width: 200px; }
  .btn-orb-label { font-size: 12px; }
  a.btn-orb:hover .btn-orb-label, button.btn-orb:hover .btn-orb-label { padding-right: 20px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
}
/* hero-frame — rounded, bordered media panel inset from the viewport edge,
   translating the hero-section-5 reference's
   "aspect-[2/3] absolute inset-1 overflow-hidden rounded-3xl border" video
   frame into a vanilla equivalent, now filled with an animated
   gradient-bars motif (vanilla port of the "gradient-bars-background"
   React component) instead of the quarry photo. */
.hero-frame {
  position: absolute;
  inset: 10px;
  z-index: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark-bg);
}
/* gradient-bars-background vanilla equivalent — a row of full-height bars,
   each a linear-gradient(to top, gradientFrom, transparent) sized by a
   symmetric "distance from center" height curve and continuously pulsing
   via the reference's pulseBar keyframes (scaleY(1) <-> scaleY(0.7)),
   staggered by animation-delay per bar. Populated by initHeroGradientBars()
   in main.js (bar count/colors mirror the reference's numBars/gradientFrom
   props), re-themed to AMPL gold instead of the reference's orange. */
.hero-gradient-bars {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  overflow: hidden;
}
.hero-gradient-bars .gbar {
  flex: 1 0 0;
  height: 100%;
  transform-origin: bottom;
  animation: pulseBar 2s ease-in-out infinite alternate;
}
@keyframes pulseBar {
  0%   { transform: scaleY(var(--initial-scale)); }
  100% { transform: scaleY(calc(var(--initial-scale) * 0.7)); }
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.35) 0%, transparent 30%, transparent 70%, rgba(5,6,8,0.75) 100%),
    linear-gradient(90deg, rgba(5,6,8,0.94) 0%, rgba(5,6,8,0.6) 38%, rgba(5,6,8,0.15) 68%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-frame { inset: 6px; border-radius: 22px; }
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 90px;
}
.hero-eyebrow-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--border-light-strong);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(42px, 7.4vw, 108px);
  font-weight: 600;
  max-width: 18ch;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-title .accent { color: var(--gold); font-style: italic; font-weight: 500; }

.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
}
.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-cta-row {
  display: flex;
  gap: 18px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  max-width: 920px;
}
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stat .num .suffix { color: var(--gold); font-size: 0.6em; }
.hero-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 6px;
}

.hero-side-badge {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero-side-badge::after { content:''; width: 40px; height: 1px; background: rgba(255,255,255,0.35); }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scroll-indicator .mouse {
  width: 24px; height: 38px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 7px; }
}

@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hero-side-badge { display: none; }
}

/* ==========================================================================
   MARQUEE (clients strip) — vanilla port of the "AnimatedCarousel" /
   logo-carousel.tsx reference: a TextRoll letter-flip title sits above an
   Embla-carousel-style auto-scrolling row of boxed logo "chips"
   (w-48 h-24 rounded-md hover:bg-accent, object-contain brightness-0/invert
   image treatment in the reference). Ported here as: title split into
   per-letter <span>s and GSAP-flipped in on scroll (initHeroTextRoll in
   main.js), plus a continuous auto-scroll track of boxed chip containers
   that slows to a near-halt on hover (kept from the prior "InfiniteSlider"
   pass) with a grayscale->gold-tinted-color reveal on hover standing in for
   the reference's brightness-0/dark:invert filter — AMPL has no partner
   logo image assets, so each chip renders the partner wordmark
   typographically instead of an <img>, avoiding third-party trademark risk.
   ========================================================================== */
.marquee-wrap {
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0 34px;
  overflow: hidden;
  background: var(--navy-deep);
}
.marquee-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 28px;
  padding: 0 20px;
}
.marquee-title .roll-char {
  display: inline-block;
  opacity: 0;
  transform: rotateX(90deg) translateY(6px);
  transform-origin: 50% 100%;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 34s linear infinite;
  animation-play-state: running;
}
.marquee-wrap:hover .marquee-track {
  animation-duration: 140s; /* slows dramatically on hover, like durationOnHover on InfiniteSlider */
}
.marquee-chip {
  flex: 0 0 auto;
  width: 192px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  transition: background 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}
.marquee-chip span {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.32);
  filter: grayscale(1);
  transition: color 0.35s var(--ease-luxury), filter 0.35s var(--ease-luxury);
}
.marquee-chip:hover {
  background: rgba(199,167,108,0.07);
  border-color: rgba(199,167,108,0.28);
}
.marquee-chip:hover span {
  color: var(--gold-light);
  filter: grayscale(0);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* progressive-blur edge masks (left/right) */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(3px);
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy-deep) 15%, transparent);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0));
  mask-image: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0));
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-deep) 15%, transparent);
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0));
  mask-image: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0));
}
@media (max-width: 640px) {
  .marquee-chip { width: 148px; height: 80px; }
  .marquee-chip span { font-size: 12.5px; }
}

/* ==========================================================================
   SCROLL SHOWCASE — vanilla "ContainerScroll" equivalent.
   Aceternity's version drives rotateX (20deg -> 0deg), scale (1.05 -> 1)
   and a translateY(-100) parallax on the header via Framer Motion's
   useScroll/useTransform reading scrollYProgress of a tall wrapper.
   Here the exact same numeric curve is driven by GSAP ScrollTrigger with
   scrub:true (no easing/lerp — 1:1 with scroll position, matching
   useTransform's linear mapping) inside main.js; this CSS only sets up
   the 3D stage (perspective, transform-style, initial transform state)
   so JS only ever writes `transform`.
   ========================================================================== */
#scroll-showcase { overflow: hidden; }
.scroll-showcase-header {
  max-width: 720px;
  margin: 0 auto 10px;
  text-align: center;
  will-change: transform;
}
.scroll-showcase-stage {
  perspective: 1400px;
  padding: 60px 0 40px;
}
.scroll-showcase-card {
  max-width: 1080px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(20deg) scale(1.05);
  will-change: transform;
}
.scroll-showcase-card-inner {
  position: relative;
  height: clamp(320px, 46vw, 620px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-light-strong);
  background: var(--navy-deep);
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a;
}
.scroll-showcase-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scroll-showcase-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px clamp(20px, 4vw, 44px);
  background: linear-gradient(180deg, transparent, rgba(5,6,8,0.88) 70%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scroll-showcase-caption span:first-child {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: var(--white);
}
.scroll-showcase-caption span:last-child {
  font-size: 12.5px;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}
@media (max-width: 700px) {
  .scroll-showcase-stage { padding: 30px 0 10px; }
  .scroll-showcase-card-inner { border-radius: 18px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
#about {
  background: var(--white);
  color: var(--navy-deep);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-media-badge {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--navy);
  color: var(--white);
  padding: 26px 30px;
  min-width: 200px;
}
.about-media-badge .n { font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: var(--gold); }
.about-media-badge .l { font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); margin-top: 4px; }
.about-media-frame {
  position: absolute;
  top: 20px; right: -20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-heading {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy-deep);
  margin: 20px 0 26px;
}
.about-text { color: rgba(14,42,77,0.68); font-size: 16px; margin-bottom: 18px; max-width: 60ch; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(14,42,77,0.12);
}
.about-pillar .pi { font-family: var(--font-heading); font-size: 12px; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 8px; display:block;}
.about-pillar h4 { font-size: 17px; color: var(--navy-deep); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; gap: 20px; }
}

/* Mission / Vision cards on white bg */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 90px;
}
.mv-card {
  background: var(--navy-deep);
  color: var(--white);
  padding: 46px 40px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(199,167,108,0.18), transparent 70%);
}
.mv-card .eyebrow { color: var(--gold); }
.mv-card h3 { font-size: 26px; margin: 16px 0 14px; }
.mv-card p { color: rgba(255,255,255,0.65); font-size: 15px; }
.mv-card.light { background: var(--gray-light); color: var(--navy-deep); }
.mv-card.light p { color: rgba(14,42,77,0.65); }
.mv-card.light .eyebrow { color: #A6803F; }

@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }

/* Core values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(14,42,77,0.1);
  margin-top: 40px;
  border: 1px solid rgba(14,42,77,0.1);
}
.value-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.4s var(--ease-luxury);
}
.value-card:hover { background: var(--gray-light); }
.value-card .vnum { font-family: var(--font-heading); font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; }
.value-card h4 { font-size: 18px; margin: 14px 0 10px; color: var(--navy-deep); }
.value-card p { font-size: 14px; color: rgba(14,42,77,0.6); }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   HERITAGE TIMELINE (.htl-*) — vanilla port of Aceternity's "Timeline"
   component. Each .htl-row is its own sticky-context: the year label
   (.htl-year-sticky) pins near the top of the viewport while its
   .htl-content column scrolls past beside it (mirrors the reference's
   `sticky ... top-40 self-start`). A vertical gradient line runs behind all
   rows; #htlLineFill grows from 0% to 100% height as the whole .htl-wrap
   scrolls through view (driven by GSAP ScrollTrigger scrub in main.js, in
   place of the reference's Framer Motion useScroll/useTransform).
   ========================================================================== */
#heritage { background: var(--dark-bg); position: relative; }

.htl-wrap {
  position: relative;
  max-width: 1180px;
  margin: 70px auto 0;
  padding: 0 40px;
}

.htl-line {
  position: absolute;
  left: 40px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border-light-strong) 8%, var(--border-light-strong) 92%, transparent 100%);
}
.htl-line-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--accent-glow) 60%, transparent);
  border-radius: 2px;
}

.htl-row {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding-top: 90px;
  position: relative;
}
.htl-row:first-child { padding-top: 0; }

.htl-year-sticky {
  position: sticky;
  top: 140px;
  flex: 0 0 220px;
  max-width: 220px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  padding-left: 76px;
  z-index: 2;
}
.htl-year-sticky::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid var(--border-light-strong);
  transform: translateX(-50%);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.htl-row.htl-in-view .htl-year-sticky::before {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(199,167,108,0.55);
}

.htl-year {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-muted);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.htl-row.htl-in-view .htl-year { color: var(--gold); text-shadow: 0 0 24px rgba(199,167,108,0.3); }
.htl-year-mobile { display: none; }
.htl-year-vision {
  background: linear-gradient(120deg, var(--gold), var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.htl-row-vision.htl-in-view .htl-year::before { border-color: var(--accent-glow); }

.htl-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 6px;
}
.htl-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(199,167,108,0.35);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.htl-tag-vision { color: var(--accent-glow); border-color: rgba(74,137,255,0.4); }
.htl-content h4 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--white);
}
.htl-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 18px;
}
.htl-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.htl-facts li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(245,247,250,0.72);
}
.htl-facts li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.htl-row-vision .htl-facts li::before { background: var(--accent-glow); }

.htl-row-vision .htl-content h4 {
  background: linear-gradient(120deg, var(--white), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
  .htl-wrap { padding: 0 20px; }
  .htl-line { left: 20px; }
  .htl-row { gap: 0; padding-top: 44px; flex-direction: column; }
  .htl-year-sticky {
    position: static;
    padding-left: 56px;
    max-width: none;
    margin-bottom: 14px;
  }
  .htl-year-sticky::before { left: 20px; }
  .htl-year { display: none; }
  .htl-year-mobile {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
  }
  .htl-row.htl-in-view .htl-year-mobile { color: var(--gold); }
  .htl-content { padding-left: 56px; }
}

/* ==========================================================================
   GLASS CARD BASE
   ========================================================================== */
.glass-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  position: relative;
}

/* ==========================================================================
   BUSINESS VERTICALS
   ========================================================================== */
#verticals { background: var(--dark-bg); }
.verticals-list { margin-top: 60px; display: flex; flex-direction: column; }
.vertical-row {
  display: grid;
  grid-template-columns: 90px 1fr 240px 30px;
  align-items: center;
  gap: 24px;
  padding: 30px 20px;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.5s var(--ease-luxury), padding 0.5s var(--ease-luxury);
  position: relative;
  overflow: hidden;
}
.verticals-list .vertical-row:last-child { border-bottom: 1px solid var(--border-light); }
.vertical-row .vi { font-family: var(--font-heading); font-size: 13px; color: var(--gold); font-weight: 700; }
.vertical-row h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; transition: transform 0.4s var(--ease-luxury), color .4s; }
.vertical-row .vdesc {
  font-size: 14px; color: var(--text-muted);
  max-width: 46ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-luxury), opacity 0.4s;
}
.vertical-row.open .vdesc { max-height: 100px; opacity: 1; }
.vertical-row .varrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-light-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-luxury), background 0.4s, border-color .4s;
}
.vertical-row.open .varrow, .vertical-row:hover .varrow { transform: rotate(45deg); border-color: var(--gold); }
.vertical-row:hover { background: rgba(255,255,255,0.025); padding-left: 32px; }
.vertical-row:hover h3 { color: var(--gold); }
.vertical-thumb {
  width: 240px; height: 76px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s var(--ease-luxury);
  background-size: cover;
  background-position: center;
}
.vertical-row:hover .vertical-thumb { opacity: 1; transform: scale(1); }

@media (max-width: 800px) {
  .vertical-row { grid-template-columns: 40px 1fr 24px; padding: 22px 4px; }
  .vertical-thumb { display: none; }
}

/* ==========================================================================
   WHY CHOOSE US — counters
   ========================================================================== */
#why-us {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
#why-us::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(74,137,255,0.12), transparent 65%);
  pointer-events: none;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  margin-top: 60px;
  border: 1px solid var(--border-light);
}
.counter-card {
  background: var(--navy-deep);
  padding: 44px 30px;
  text-align: left;
}
.counter-card .cnum {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  color: var(--white);
  display: flex; align-items: baseline; gap: 4px;
}
.counter-card .cnum .suf { color: var(--gold); font-size: 0.55em; }
.counter-card .clabel { font-size: 13px; color: var(--text-muted); margin-top: 10px; letter-spacing: 0.02em; }
@media (max-width: 900px) { .counters-grid { grid-template-columns: repeat(2, 1fr); } }

.whyus-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.whyus-icon-card {
  padding: 32px 26px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: border-color 0.4s, transform 0.4s var(--ease-luxury);
}
.whyus-icon-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.whyus-icon-card .wi-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(199,167,108,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.whyus-icon-card h4 { font-size: 17px; margin-bottom: 8px; }
.whyus-icon-card p { font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 900px) { .whyus-icons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .whyus-icons { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
#services { background: var(--dark-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.service-card {
  position: relative;
  padding: 38px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}
.service-card:hover { border-color: rgba(199,167,108,0.5); transform: translateY(-8px); }
.service-card .sc-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.16;
  transition: opacity 0.5s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  transform: scale(1.08);
}
.service-card:hover .sc-bg { opacity: 0.32; transform: scale(1.16); }
.service-card .sc-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5,6,8,0.9) 100%);
}
.service-card .sc-num {
  position: relative; z-index: 2;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: auto;
}
.service-card h3 { position: relative; z-index: 2; font-size: 23px; margin-bottom: 10px; }
.service-card p { position: relative; z-index: 2; font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FLEET / MACHINERY
   ========================================================================== */
#fleet { background: var(--white); color: var(--navy-deep); }
.fleet-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0 20px;
}
.fleet-stat {
  padding: 28px;
  background: var(--gray-light);
  border-radius: 8px;
}
.fleet-stat .fnum { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--navy); }
.fleet-stat .flabel { font-size: 13px; color: rgba(14,42,77,0.6); margin-top: 6px; }

.fleet-table-wrap { margin-top: 40px; overflow-x: auto; }
.fleet-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.fleet-table thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14,42,77,0.5);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(14,42,77,0.15);
}
.fleet-table tbody td {
  padding: 18px 16px;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(14,42,77,0.08);
  vertical-align: middle;
}
.fleet-table tbody tr { transition: background 0.3s; }
.fleet-table tbody tr:hover { background: var(--gray-light); }
.fleet-table .fqty { font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
.fleet-table .fmodel { color: rgba(14,42,77,0.6); font-size: 13px; }
.fleet-table .ftag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(199,167,108,0.15);
  color: #96733a;
  font-weight: 600;
}

/* Machinery tilt cards */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.machinery-card {
  perspective: 1000px;
}
.machinery-card-inner {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 10px;
  padding: 26px 22px;
  height: 100%;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.machinery-card-inner::after {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(199,167,108,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.machinery-card:hover .machinery-card-inner::after { opacity: 1; }
.machinery-card .mc-icon { color: var(--gold); margin-bottom: 16px; width: 30px; height: 30px; }
.machinery-card h4 { font-size: 16px; margin-bottom: 6px; }
.machinery-card p { font-size: 12.5px; color: rgba(255,255,255,0.55); }
@media (max-width: 980px) { .machinery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   CASE STUDY
   ========================================================================== */
#case-study { background: var(--navy-deep); position: relative; overflow: hidden; }
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.case-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 5/4; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,23,41,0.1), rgba(8,23,41,0.75)); }
.case-media-caption { position: absolute; bottom: 24px; left: 24px; right: 24px; }
.case-media-caption .cm-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.case-media-caption .cm-sub { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }

.case-stats-mini { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 30px 0; }
.case-stats-mini .cs-num { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--gold); }
.case-stats-mini .cs-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 700px){ .case-study-grid{ grid-template-columns: 1fr; } .case-stats-mini{ grid-template-columns: repeat(2,1fr);} }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
#projects { background: var(--dark-bg); }
.project-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 10px; }
.pf-btn {
  padding: 9px 20px;
  border: 1px solid var(--border-light-strong);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition: all 0.35s var(--ease-luxury);
}
.pf-btn.active, .pf-btn:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.projects-masonry {
  columns: 2 280px;
  column-gap: 22px;
  margin-top: 40px;
}
.project-card {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
}
.project-card img { width: 100%; display: block; transition: transform 0.8s var(--ease-luxury); }
.project-card:hover img { transform: scale(1.08); }
.project-card .pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,8,0) 30%, rgba(5,6,8,0.94) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.project-card .pc-year { font-family: var(--font-heading); font-size: 12px; color: var(--gold); font-weight: 700; }
.project-card h4 { font-size: 19px; margin: 8px 0 4px; }
.project-card .pc-meta { font-size: 12px; color: var(--text-muted); }
.project-card .pc-value {
  position: absolute; top: 18px; right: 18px;
  background: rgba(5,6,8,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-light-strong);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

/* Project modal */
#project-modal {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(5,6,8,0.88);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-luxury);
  padding: 30px;
}
#project-modal.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--navy-deep);
  max-width: 780px; width: 100%;
  border-radius: 14px;
  overflow: hidden;
  max-height: 86vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s var(--ease-luxury);
  border: 1px solid var(--border-light-strong);
}
#project-modal.open .modal-box { transform: translateY(0) scale(1); }
.modal-box img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.modal-body { padding: 34px; }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(5,6,8,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  border: 1px solid var(--border-light-strong);
}
.modal-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.modal-tags span { font-size: 11px; padding: 5px 12px; border-radius: 100px; background: rgba(199,167,108,0.15); color: var(--gold); font-weight: 600; }
.modal-body h3 { font-size: 26px; margin-bottom: 10px; }
.modal-body .modal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.modal-body p { font-size: 14.5px; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.modal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.modal-grid .mg-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 4px; }
.modal-grid .mg-val { font-size: 14px; }

@media (max-width: 700px) { .projects-masonry { columns: 1 260px; } }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
#industries { background: var(--gray-light); color: var(--navy-deep); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.industry-card {
  background: var(--white);
  padding: 30px 22px;
  border-radius: 10px;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
  border: 1px solid rgba(14,42,77,0.08);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(14,42,77,0.25); }
.industry-card .ic-icon { width: 38px; height: 38px; color: var(--gold); margin-bottom: 16px; }
.industry-card h4 { font-size: 15.5px; color: var(--navy-deep); }
.industry-card p { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin-top: 8px; }
@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   WORK PROCESS (sticky timeline)
   ========================================================================== */
#process { background: var(--dark-bg); }
.process-sticky-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; margin-top: 60px; }
.process-sticky-left { position: sticky; top: 120px; align-self: start; height: fit-content; }
.process-step-num {
  font-family: var(--font-heading);
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  -webkit-text-stroke: 1px rgba(199,167,108,0.18);
  transition: color 0.5s var(--ease-luxury), text-shadow 0.5s var(--ease-luxury), -webkit-text-stroke-color 0.5s var(--ease-luxury);
}
/* Highlighted state — toggled in main.js whenever the active step changes,
   so the number visibly lights up gold in sync with the .process-step.active
   text on the right, instead of silently swapping its text content. */
.process-step-num.is-active {
  color: var(--gold);
  -webkit-text-stroke-color: rgba(199,167,108,0.5);
  text-shadow: 0 0 60px rgba(199,167,108,0.45), 0 0 120px rgba(199,167,108,0.2);
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  padding: 50px 0;
  border-top: 1px solid var(--border-light);
  opacity: 0.35;
  transition: opacity 0.5s;
}
.process-step:last-child { border-bottom: 1px solid var(--border-light); }
.process-step.active { opacity: 1; }
.process-step .ps-tag { font-family: var(--font-heading); font-size: 12px; color: var(--gold); letter-spacing: 0.15em; }
.process-step h3 { font-size: clamp(24px, 3vw, 36px); margin: 12px 0 14px; }
.process-step p { font-size: 15px; color: var(--text-muted); max-width: 52ch; }
@media (max-width: 860px) {
  .process-sticky-wrap { grid-template-columns: 1fr; }
  .process-sticky-left { position: static; }
}

/* ==========================================================================
   PRESENCE MAP — "Live Operations Network"
   Substantially richer treatment than a static outline + dot list:
   a giant ghost-numeral watermark + faint moving grid backdrop, a
   radiating HQ glow, animated gold connector lines from HQ to every
   operating state with a traveling signal pulse (native SVG
   <animateMotion>, zero extra JS cost), a subtle sonar "radar" sweep
   behind the map, and a redesigned list with index numerals, an
   accent bar that grows on hover, and count-up year badges.
   ========================================================================== */
#presence { background: var(--navy-deep); overflow: hidden; position: relative; }
.presence-watermark {
  position: absolute;
  top: -0.12em; right: -0.02em;
  font-family: var(--font-heading);
  font-size: clamp(180px, 22vw, 340px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199,167,108,0.1);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.presence-grid-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199,167,108,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,167,108,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 0%, transparent 75%);
}
.presence-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px;
}
.presence-live-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(199,167,108,0.3);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(199,167,108,0.06);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6CE28A;
  box-shadow: 0 0 0 0 rgba(108,226,138,0.6);
  animation: liveDotPulse 1.8s ease-out infinite;
}
@keyframes liveDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(108,226,138,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(108,226,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(108,226,138,0); }
}

.presence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.presence-map-wrap { position: relative; }
.presence-map-wrap svg { position: relative; z-index: 2; width: 100%; height: auto; }
.india-outline { transition: stroke 0.6s var(--ease-luxury); }

/* soft sonar sweep radiating from behind the map, on a slow independent loop */
.presence-radar {
  position: absolute;
  top: 50%; left: 50%;
  width: 70%; height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,167,108,0.16) 0%, rgba(199,167,108,0) 68%);
  animation: radarBreathe 4.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes radarBreathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hq-glow { animation: hqGlowPulse 3s ease-in-out infinite; transform-origin: center; }
@keyframes hqGlowPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* connector network: dashed gold lines drawn on scroll-in via stroke-dashoffset,
   then left gently animating (dash-marching) to read as "live" data links */
.connector-line {
  fill: none;
  stroke: rgba(199,167,108,0.4);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-luxury), stroke 0.5s;
  animation: connectorMarch 1.4s linear infinite;
  animation-play-state: paused;
}
.presence-map-wrap.in-view .connector-line { stroke-dashoffset: 0; animation-play-state: running; }
.connector-line.is-active { stroke: var(--gold); stroke-width: 1.4; }
@keyframes connectorMarch { to { stroke-dashoffset: -8; } }
.connector-pulse {
  fill: var(--gold-light);
  filter: drop-shadow(0 0 4px rgba(199,167,108,0.9));
  opacity: 0.9;
}

.state-dot {
  fill: var(--gold);
  cursor: pointer;
  transition: r 0.3s, fill 0.3s;
}
.state-dot-hq { fill: var(--gold-light); }
.state-dot-pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.6;
  animation: pulse-ring 2.4s ease-out infinite;
  transform-origin: center;
}
.state-dot-pulse-delay { animation-delay: 1.2s; }
@keyframes pulse-ring {
  0% { r: 6; opacity: 0.6; }
  100% { r: 22; opacity: 0; }
}
.state-label { fill: rgba(255,255,255,0.55); font-size: 11px; font-family: var(--font-body); transition: fill 0.3s; }
.state-label-hq { fill: rgba(255,255,255,0.85); font-weight: 600; }
.state-label.is-active { fill: var(--gold-light); }

.presence-list { display: flex; flex-direction: column; gap: 2px; }
.presence-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  transition: padding 0.35s var(--ease-luxury), background 0.35s var(--ease-luxury);
}
.presence-item:hover, .presence-item.is-active { padding-left: 18px; background: rgba(199,167,108,0.045); }
.pi-idx {
  font-family: var(--font-heading);
  font-size: 11px;
  color: rgba(199,167,108,0.5);
  letter-spacing: 0.05em;
  flex: none;
  width: 20px;
}
.pi-bar {
  width: 2px; height: 30px; flex: none;
  background: rgba(199,167,108,0.25);
  transition: background 0.35s, height 0.35s, box-shadow 0.35s;
}
.presence-item:hover .pi-bar, .presence-item.is-active .pi-bar {
  background: var(--gold);
  height: 40px;
  box-shadow: 0 0 12px rgba(199,167,108,0.6);
}
.pi-body { flex: 1; }
.presence-item h4 { font-size: 18px; transition: color 0.3s; }
.presence-item:hover h4, .presence-item.is-active h4 { color: var(--gold-light); }
.presence-item .pi-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.presence-item .pi-count { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--gold); flex: none; }
.presence-item .pi-count-text { font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 860px) { .presence-grid { grid-template-columns: 1fr; } .presence-watermark { font-size: 140px; } }

/* ==========================================================================
   QUOTES / LEADERSHIP
   ========================================================================== */
#leadership { background: var(--white); color: var(--navy-deep); }
.leader-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.leader-quote-mark { font-family: var(--font-heading); font-size: 100px; color: var(--gold); line-height: 0.5; opacity: 0.5; }
.leader-quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.4;
  margin: 10px 0 30px;
}
.leader-name { font-weight: 700; font-size: 17px; }
.leader-title { font-size: 13px; color: rgba(14,42,77,0.55); margin-top: 4px; }
.leader-card {
  background: var(--gray-light);
  padding: 40px;
  border-radius: 10px;
}
.leader-card-item { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(14,42,77,0.1); font-size: 14px; }
.leader-card-item span:first-child { color: rgba(14,42,77,0.55); }
.leader-card-item span:last-child { font-weight: 600; }
@media (max-width: 860px) { .leader-grid { grid-template-columns: 1fr; } }

/* Second leader row */
.leaders-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 70px; }
.leader-mini-card { background: var(--gray-light); border-radius: 10px; padding: 34px; }
.leader-mini-card .lm-role { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.leader-mini-card h4 { font-size: 22px; margin: 10px 0 4px; }
.leader-mini-card .lm-cred { font-size: 12.5px; color: rgba(14,42,77,0.55); margin-bottom: 16px; }
.leader-mini-card p { font-size: 14px; color: rgba(14,42,77,0.68); }
@media (max-width: 700px){ .leaders-two{ grid-template-columns: 1fr; } }

/* ==========================================================================
   HSE / CSR
   ========================================================================== */
#hse { background: var(--navy-deep); position: relative; }
.hse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.hse-card {
  padding: 34px 28px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
}
.hse-card .hse-icon { color: var(--gold); width: 34px; height: 34px; margin-bottom: 18px; }
.hse-card h4 { font-size: 18px; margin-bottom: 10px; }
.hse-card p { font-size: 14px; color: var(--text-muted); }
.hse-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 50px; }
.hse-badge { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border: 1px solid var(--border-light-strong); border-radius: 100px; }
.hse-badge .hb-num { font-family: var(--font-heading); font-weight: 700; color: var(--gold); font-size: 18px; }
.hse-badge .hb-label { font-size: 12px; color: var(--text-muted); }
@media (max-width: 900px) { .hse-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ — accordion, added to give procurement/EPC visitors quick answers
   before they reach the Project Desk CTA / contact form.
   ========================================================================== */
#faq { background: var(--navy-deep); }
.faq-list { max-width: 860px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.faq-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); transition: transform 0.35s var(--ease-luxury); }
.faq-item[data-open="true"] .faq-chev { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-luxury);
}
.faq-item[data-open="true"] .faq-a { max-height: 260px; }
.faq-a p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); padding: 0 4px 26px; max-width: 74ch; }
@media (max-width: 640px) { .faq-q { font-size: 14.5px; padding: 18px 2px; } }

/* ==========================================================================
   CONTACT CTA — "Project Desk" radial-gradient hero
   Vanilla equivalent of the tailwind-css-background-snippet reference: a
   single full-bleed radial-gradient — the reference's
   "radial-gradient(125% 125% at 50% 10%, #000 40%, #63e 100%)" (black centre
   fading to purple at the edges) — re-themed to AMPL's palette as a
   near-black centre (--dark-bg) blooming out to deep navy (--navy) at the
   edges, replacing the previous Three.js wireframe-icosahedron shader
   background entirely (no canvas / WebGL needed for this section anymore).
   ========================================================================== */
#contact-cta {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(125% 125% at 50% 10%, var(--dark-bg) 40%, var(--navy) 100%);
  overflow: hidden;
  text-align: center;
  padding: clamp(90px, 14vw, 180px) 0;
}
.cta-inner { position: relative; z-index: 2; }

/* ==========================================================================
   CTA GRID BACKDROP — static, non-animated decorative layer replacing the
   earlier "background paths" animation (removed per feedback: the
   animated procedural-SVG layer kept causing rendering/crop problems on
   this section and added flicker risk with no real benefit). A simple
   faint fixed grid + soft vignette reads as a clean "survey plan" texture
   behind the enquiry CTA without any per-frame animation cost.
   ========================================================================== */
.cta-grid-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(199,167,108,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,167,108,0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
}
@media (max-width: 640px) { .cta-grid-backdrop { background-size: 40px 40px; opacity: 0.35; } }
.cta-log-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(199,167,108,0.75);
}
.cta-log-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 600;
  max-width: 18ch;
  margin: 18px auto 24px;
  color: var(--white);
}
.cta-log-subtitle .accent { color: var(--gold); font-style: italic; }
.cta-title { font-size: clamp(36px, 6vw, 76px); max-width: 16ch; margin: 20px auto 30px; }
.cta-title .accent { color: var(--gold); font-style: italic; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.68); max-width: 60ch; margin: 0 auto 44px; }
.cta-btn-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* Trust-row stat strip beneath the CTA buttons — added content per
   feedback ("add more content in every section that required"). */
.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cta-trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 120px; }
.ctt-num {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.ctt-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.cta-trust-sep { width: 1px; height: 34px; background: rgba(255,255,255,0.14); }
@media (max-width: 640px) {
  .cta-trust-row { gap: 20px 24px; margin-top: 40px; padding-top: 28px; }
  .cta-trust-sep { display: none; }
}

/* Contact form section */
#contact {
  background: var(--white);
  color: var(--navy-deep);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(14,42,77,0.1); }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-deep); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: rgba(14,42,77,0.6); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(14,42,77,0.5); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 15px 18px;
  border: 1px solid rgba(14,42,77,0.18);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--gray-light);
  color: var(--navy-deep);
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row{ grid-template-columns: 1fr;} }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--dark-bg-2); border-top: 1px solid var(--border-light); }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 50px; padding: 80px 0 60px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { height: 40px; }
.footer-about p { font-size: 14px; color: var(--text-muted); max-width: 34ch; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-light-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.footer-col h5 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.3s, padding-left 0.3s; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-newsletter input {
  width: 100%; padding: 13px 16px; border-radius: 8px;
  border: 1px solid var(--border-light-strong); background: rgba(255,255,255,0.04); color: var(--white);
  margin-bottom: 10px; font-size: 13.5px;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.back-to-top {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-light-strong);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   TESTIMONIALS — infinite marquee
   Vanilla equivalent of the testimonials-with-marquee.tsx + testimonial-card.tsx
   references: a centered title/description header, then an infinite
   horizontal marquee — the testimonials array repeated 4x, animated via a
   CSS "testiMarquee" keyframe (translateX(0) -> translateX(-100% - gap))
   driven by --gap/--duration custom properties, pausing on hover (vanilla
   equivalent of the reference's group-hover:[animation-play-state:paused]),
   with left/right edge-fade gradient masks. Cards use the reference's
   bg-gradient-to-b from-muted/50 to-muted/10 treatment translated to AMPL's
   navy/gold palette, with an initials-avatar (.testi-avatar) in place of the
   reference's Unsplash Avatar photos, since AMPL testimonials are role-based
   and not attributed to named individuals.
   ========================================================================== */
#testimonials { background: var(--dark-bg); overflow: hidden; }
.testi-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.testi-desc { margin-top: 18px; font-size: 16px; color: var(--text-muted); }

.testi-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.testi-marquee-group {
  display: flex;
  overflow: hidden;
  padding: 8px 0;
  --gap: 22px;
  --duration: 42s;
  gap: var(--gap);
}
.testi-marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: var(--gap);
  animation: testiMarquee var(--duration) linear infinite;
}
.testi-marquee-group:hover .testi-marquee-track { animation-play-state: paused; }

@keyframes testiMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - var(--gap))); }
}

.testi-fade {
  position: absolute;
  inset-block: 0;
  width: min(18%, 220px);
  z-index: 2;
  pointer-events: none;
}
.testi-fade-left  { left: 0;  background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 100%); }
.testi-fade-right { right: 0; background: linear-gradient(270deg, var(--dark-bg) 0%, transparent 100%); }

.testi-card {
  flex: 0 0 auto;
  width: 340px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 1px solid var(--border-light-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border-radius: var(--radius-card, 18px);
  transition: border-color 0.4s, transform 0.4s, background 0.4s;
}
.testi-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 100%);
}
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  flex: none;
}
.testi-person-name { font-size: 14.5px; font-weight: 600; color: #fff; }
.testi-person-role { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.testi-quote-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-top: 18px;
}

@media (max-width: 860px) {
  .testi-card { width: 280px; }
  .testi-fade { width: 12%; }
}

/* ==========================================================================
   REVEAL / UTILITY ANIMATION CLASSES (driven by GSAP but base states here)
   ========================================================================== */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-fade { opacity: 0; }
.reveal-scale { opacity: 0; transform: scale(0.92); }
.split-line { overflow: hidden; }

::selection { background: var(--gold); color: var(--navy-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Responsive base */
@media (max-width: 1180px) {
  .about-grid, .case-study-grid, .contact-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .services-grid, .machinery-grid { gap: 16px; }
  .hero-stats { max-width: 100%; }
}
