/* ═══════════════════════════════════════════════════════════════════════
   Tailer Payment Solutions — Professional Bright
   (White + Deep Navy + Trust Blue + Warm Amber)
   Bebas Neue · Cabinet Grotesk · Instrument Serif
   ═══════════════════════════════════════════════════════════════════════ */

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

:root {
  /* Surfaces */
  --bg:           #ffffff;
  --bg-2:         #f4f7fb;
  --bg-3:         #eaeff7;
  --bg-soft:      #fafbfd;

  /* Brand accent — vibrant trust blue (kept variable names for compatibility) */
  --gold:         #1e5bdb;
  --gold-light:   #4f86ff;
  --gold-deep:    #1543a8;
  --gold-soft:    rgba(30, 91, 219, 0.08);

  /* Foreground — deep navy (kept variable names for compatibility) */
  --cream:        #0a2540;
  --cream-dim:    rgba(10, 37, 64, 0.70);
  --cream-faint:  rgba(10, 37, 64, 0.45);

  --dim:          #5b6b82;
  --teal:         #0fb98a;
  --red:          #ef4444;
  --accent:       #f59e0b;
  --accent-warm:  #ff6b35;

  --line:         rgba(10, 37, 64, 0.10);
  --line-strong:  rgba(10, 37, 64, 0.20);
  --line-bright:  rgba(30, 91, 219, 0.40);

  /* Type */
  --f-display:    'Bebas Neue', 'Inter', system-ui, sans-serif;
  --f-body:       'Cabinet Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --f-serif:      'Instrument Serif', Georgia, serif;

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);
  --t:            0.4s var(--ease);
  --t-fast:       0.2s var(--ease-soft);

  /* Container */
  --pad:          4%;
  --max:          1500px;
}

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold); }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--gold); color: var(--bg); }

/* ─── CUSTOM CURSOR ───────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea, select, [role="button"] { cursor: none; }
}
#cursor, #cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform, width, height, opacity;
}
#cursor {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s ease;
}
#cursor-follower {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(30, 91, 219, 0.45);
  z-index: 9998;
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s ease, border-color .3s ease;
}
.cursor-grow #cursor {
  width: 56px; height: 56px;
  background: rgba(30, 91, 219, 0.18);
}
.cursor-grow #cursor-follower {
  width: 0; height: 0;
  opacity: 0;
}
@media (hover: none), (pointer: coarse) {
  body, a, button, input, textarea, select, [role="button"] { cursor: auto !important; }
  #cursor, #cursor-follower { display: none !important; }
}

/* ─── PAGE LOADER ─────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
.loader-logo {
  font-family: var(--f-display);
  font-size: 2.6rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.loader-logo span { color: var(--gold); }
.loader-bar-track {
  width: 220px; height: 1px;
  background: rgba(30, 91, 219, 0.15);
  position: relative;
  overflow: hidden;
}
.loader-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  transition: width .08s linear;
}
.loader-pct {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--dim);
}
.loader-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ─── NAV ─────────────────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--pad);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
nav.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px -16px rgba(10, 37, 64, 0.25);
}

/* Home page: transparent-on-hero navbar readability */
body.home nav.site-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
body.home nav.site-nav:not(.scrolled) .logo-mark,
body.home nav.site-nav:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.92);
  opacity: 0.92;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
body.home nav.site-nav:not(.scrolled) .nav-links a:hover,
body.home nav.site-nav:not(.scrolled) .nav-links a[aria-current="page"] {
  opacity: 1;
  color: #ffffff;
}
body.home nav.site-nav:not(.scrolled) .logo-mark:hover { color: #ffffff; }

body.home nav.site-nav.scrolled .logo-mark,
body.home nav.site-nav.scrolled .nav-links a {
  color: var(--cream);
  text-shadow: none;
  opacity: 0.72;
}
body.home nav.site-nav.scrolled .nav-links a:hover,
body.home nav.site-nav.scrolled .nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
}
.logo-mark {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo-mark em { color: var(--gold); font-style: normal; }
.logo-mark:hover { color: var(--cream); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.72;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-login {
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.nav-login:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-soft);
}

body.home nav.site-nav:not(.scrolled) .nav-login {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.42);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
body.home nav.site-nav:not(.scrolled) .nav-login:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
}

body.home nav.site-nav.scrolled .nav-login {
  color: var(--cream);
  border-color: var(--line-strong);
  text-shadow: none;
}
body.home nav.site-nav.scrolled .nav-login:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.nav-cta {
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: var(--gold-deep);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 91, 219, 0.35);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.site-nav.is-open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem var(--pad);
    gap: 1.5rem;
  }
  nav.site-nav.is-open .nav-links a { font-size: 1.5rem; opacity: 1; }
  nav.site-nav.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 2rem;
    left: var(--pad);
    right: var(--pad);
    gap: 0.65rem;
  }
  nav.site-nav.is-open .nav-actions .nav-cta,
  nav.site-nav.is-open .nav-actions .nav-login {
    display: inline-flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

/* ─── HERO BACKGROUND VIDEO + CANVAS ──────────────────────────────────── */
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor higher in frame — counter / terminal reads higher, less “sunk” to bottom */
  object-position: 50% 22%;
  z-index: 0;
  pointer-events: none;
  /* slight overscan hides edge artefacts when the source is upscaled */
  transform: translateY(-2.5%) scale(1.04);
  transform-origin: center center;
  /* Cool fintech footage: keep blues rich, add clarity, tiny warmth so UI pops */
  filter: saturate(1.08) contrast(1.09) brightness(0.97) blur(0.35px);
  background: #030712;
}
@media (max-width: 720px) {
  #hero-video {
    /* Portrait-safe crop — NOT large % translateY (that hides the clip) */
    object-position: 50% 16%;
    transform: translateY(-3%) scale(1.05);
    transform-origin: center center;
    /* No blur + lighter grade — stays sharper on small screens */
    filter: saturate(1.05) contrast(1.06) brightness(0.99);
  }
}

/* Home hero video — bright + subtle (sits behind the light gradient) */
body.home #hero-video {
  display: block;
  z-index: 0;
  opacity: 1;
  filter: saturate(1.05) contrast(1.12) brightness(0.9) blur(0.25px);
  transform: scale(1.04);
}
@media (max-width: 720px) {
  body.home #hero-video {
    opacity: 0.26;
    filter: saturate(1.05) contrast(1.1) brightness(0.92) blur(0.18px);
    transform: scale(1.06);
  }
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.85;
  display: none;
}
.canvas-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    /* Top paint: kill harsh counter / phone bloom along bottom edge */
    linear-gradient(to top, rgba(10, 0, 28, 0.96) 0%, rgba(12, 4, 36, 0.78) 12%, rgba(18, 8, 42, 0.42) 26%, transparent 52%),
    radial-gradient(ellipse 130% 70% at 50% 100%, rgba(25, 8, 52, 0.65) 0%, rgba(25, 8, 52, 0.22) 42%, transparent 68%),
    /* Readable copy column — leaves neon retail action visible on the right */
    linear-gradient(92deg, rgba(3, 10, 24, 0.86) 0%, rgba(5, 18, 38, 0.58) 24%, rgba(8, 22, 48, 0.22) 48%, rgba(3, 12, 28, 0.03) 100%),
    radial-gradient(ellipse 72% 52% at 88% 36%, rgba(34, 211, 238, 0.11), transparent 56%),
    radial-gradient(ellipse 42% 34% at 68% 78%, rgba(236, 72, 153, 0.09), transparent 62%),
    radial-gradient(ellipse 95% 88% at 50% 48%, transparent 40%, rgba(1, 4, 12, 0.5) 100%),
    /* Handoff into page (softer than raw white over magenta footage) */
    linear-gradient(to bottom, rgba(3, 10, 24, 0.1) 0%, rgba(3, 10, 24, 0) 44%, rgba(12, 6, 28, 0.55) 68%, rgba(248, 250, 252, 0.28) 86%, var(--bg) 100%);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 1080px) {
  .canvas-fade {
    background:
      linear-gradient(to top, rgba(10, 0, 28, 0.94) 0%, rgba(12, 4, 36, 0.7) 14%, rgba(18, 8, 42, 0.35) 30%, transparent 52%),
      radial-gradient(ellipse 120% 65% at 50% 100%, rgba(25, 8, 52, 0.55) 0%, transparent 58%),
      linear-gradient(180deg, rgba(3, 10, 24, 0.52) 0%, rgba(5, 18, 38, 0.38) 32%, rgba(8, 22, 48, 0.18) 55%, rgba(12, 6, 28, 0.45) 78%, rgba(248, 250, 252, 0.35) 90%, var(--bg) 100%),
      radial-gradient(ellipse 85% 48% at 50% 16%, rgba(34, 211, 238, 0.09), transparent 54%),
      radial-gradient(ellipse 55% 40% at 72% 92%, rgba(236, 72, 153, 0.07), transparent 58%);
  }
}
@media (max-width: 720px) {
  .canvas-fade {
    background:
      linear-gradient(to top, rgba(10, 0, 28, 0.97) 0%, rgba(12, 4, 36, 0.82) 18%, rgba(18, 8, 42, 0.45) 36%, transparent 58%),
      linear-gradient(180deg, rgba(3, 10, 24, 0.72) 0%, rgba(5, 18, 38, 0.5) 28%, rgba(8, 22, 48, 0.22) 52%, rgba(12, 6, 28, 0.62) 82%, rgba(248, 250, 252, 0.32) 92%, var(--bg) 100%),
      radial-gradient(ellipse 140% 90% at 50% 40%, transparent 35%, rgba(1, 4, 12, 0.55) 100%);
  }
}

/* Slow conic wash — echoes camera orbit around the card (very subtle) */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.16;
}
.hero-ambient::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  width: 160vmax;
  height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(34, 211, 238, 0.09) 55deg,
    transparent 110deg,
    rgba(236, 72, 153, 0.08) 165deg,
    transparent 220deg,
    rgba(79, 134, 255, 0.07) 290deg,
    transparent 360deg
  );
  animation: hero-orbit-glow 56s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-ambient { opacity: 0.12; }
  .hero-ambient::before { animation: none; }
}
@keyframes hero-orbit-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── HERO ────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 7.25rem var(--pad) 4.75rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #060713;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Focus the video (center/right) while keeping copy readable on the left */
  background:
    linear-gradient(90deg, rgba(6, 7, 19, 0.82) 0%, rgba(6, 7, 19, 0.52) 34%, rgba(6, 7, 19, 0.18) 58%, rgba(6, 7, 19, 0.06) 100%),
    radial-gradient(900px 640px at 18% 40%, rgba(34, 211, 238, 0.08), transparent 60%),
    radial-gradient(900px 640px at 24% 70%, rgba(236, 72, 153, 0.08), transparent 62%);
}
@media (max-width: 1080px) {
  #hero { padding-bottom: 4.5rem; }
}

/* Home hero (image + copy layout) */
.hero-inner {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}
.hero-copy {
  max-width: 34rem;
  position: relative;
  z-index: 3;
  transform: translateX(-20.25%);
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateX(12%);
}
.hero-illustration {
  width: min(460px, 100%);
  height: auto;
  filter:
    drop-shadow(0 22px 52px rgba(79, 70, 229, 0.25))
    drop-shadow(0 8px 24px rgba(236, 72, 153, 0.18));
  transform: translateY(-6px);
  animation: hero-float 7.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(-8px) rotate(-0.35deg); }
  50%      { transform: translateY(10px) rotate(0.35deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-illustration { animation: none; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.hero-title {
  margin: 1.1rem 0 0;
  font-family: var(--f-body);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  color: rgba(255, 255, 255, 0.94);
}
.hero-title-accent {
  background: linear-gradient(105deg, #6366f1 0%, #8b5cf6 40%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede {
  margin-top: 1rem;
  font-family: var(--f-body);
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 30rem;
}

.hero-actions--light { opacity: 1; margin-top: 1.25rem; }
body.home #hero .btn.btn-lg {
  padding: 0.78rem 1.35rem;
  font-size: 0.72rem;
}
body.home #hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.home #hero .btn-outline:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.hero-stats {
  margin-top: 1.45rem;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.hero-stat-val {
  font-family: var(--f-body);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}
.hero-stat-label {
  margin-top: 0.2rem;
  font-family: var(--f-body);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero enter animation — wait 1s, then slide in */
.hero-copy,
.hero-visual {
  opacity: 0;
  will-change: transform, opacity;
}
.hero-copy {
  animation: hero-enter-left 900ms cubic-bezier(.2,.9,.2,1) 1s forwards;
}
.hero-visual {
  animation: hero-enter-right 900ms cubic-bezier(.2,.9,.2,1) 1s forwards;
}
@keyframes hero-enter-left {
  from { opacity: 0; transform: translateX(-34px); }
  to   { opacity: 1; transform: translateX(-20.25%); }
}
@keyframes hero-enter-right {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(12%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }
  /* On mobile/tablet: keep everything centered (desktop offsets + animations push too far) */
  .hero-copy,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-visual { justify-content: center; }
  .hero-illustration { width: min(440px, 100%); transform: none; }
}
@media (max-width: 540px) {
  #hero { padding: calc(6.15rem + env(safe-area-inset-top, 0px)) var(--pad) calc(3.35rem + env(safe-area-inset-bottom, 0px)); }
  .hero-title { font-size: clamp(1.65rem, 7vw, 2.15rem); }
  .hero-lede { font-size: 0.92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  body.home #hero .btn.btn-lg { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.15rem 1.35rem; }
}

.hero-text {
  line-height: 1.06;
  position: relative;
  z-index: 3;
  max-width: min(38rem, 100%);
}

.hero-headline {
  position: relative;
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  position: relative;
  z-index: 1;
}
.hero-eyebrow--pill {
  padding: 0.45rem 0.85rem 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 37, 64, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(30, 91, 219, 0.45);
  animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  45%  { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  55%  { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.35); }
  100% { box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
}

.hero-kicker {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin: 0 0 0.85rem;
  padding-left: 0.15rem;
  position: relative;
  z-index: 1;
}

.hero-line { overflow: hidden; display: block; position: relative; z-index: 1; }
.hero-line + .hero-line { margin-top: -0.02em; }

.hero-word {
  display: inline-block;
  transform: translateY(110%);
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.42);
}

/* Impact line — display caps */
.hero-word--mega {
  font-family: var(--f-display);
  font-size: clamp(2.65rem, 8.2vw, 6.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(185deg, #ffffff 0%, rgba(224, 242, 254, 0.95) 42%, rgba(186, 230, 253, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(34, 211, 238, 0.1));
}
@supports not (background-clip: text) {
  .hero-word--mega {
    background: none;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    filter: none;
  }
}

/* Single serif beat — editorial contrast */
.hero-word--serif-moment {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.65rem, 4.1vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.94);
  margin-top: 0.04em;
  padding-bottom: 0.18em;
  position: relative;
}
.hero-word--serif-moment::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.85), rgba(236, 72, 153, 0.7), rgba(79, 134, 255, 0.55));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.25);
}

/* Closing — grotesk + gradient geography */
.hero-word--closing {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.15vw, 1.52rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-top: 0.28em;
  color: rgba(255, 255, 255, 0.88);
}
.hero-india {
  font-weight: 800;
  background: linear-gradient(105deg, #ffffff 0%, var(--gold-light) 45%, var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
  .hero-india {
    color: var(--gold-light);
    -webkit-text-fill-color: var(--gold-light);
    background: none;
  }
}

.hero-sub {
  margin-top: 1.65rem;
  max-width: 26rem;
  font-family: var(--f-body);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78);
  opacity: 0;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-sub strong { color: rgba(255,255,255,0.96); font-weight: 600; }

@media (max-width: 540px) {
  .hero-sub { border-left: none; padding-left: 0; }
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-meta {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  opacity: 0;
}
.hero-meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #ec4899);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
  display: inline-block;
  margin: 0 0.6rem 0 0;
  vertical-align: middle;
}

/* Hero CTAs — glass outline on dark blue footage */
#hero .btn-outline {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#hero .btn-outline:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
#hero .btn-gold {
  box-shadow:
    0 8px 22px -6px rgba(30, 91, 219, 0.5),
    0 0 32px -12px rgba(34, 211, 238, 0.25);
}
#hero .btn.btn-lg {
  padding: 0.82rem 2.05rem;
  font-size: 0.74rem;
}

/* Hero — phones & narrow touch (layout + legibility; video rules above) */
@media (max-width: 720px) {
  #hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      calc(5.25rem + env(safe-area-inset-top, 0px))
      var(--pad)
      calc(3.25rem + env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-eyebrow--pill {
    flex-wrap: wrap;
    max-width: 100%;
    letter-spacing: 0.14em;
    font-size: 0.58rem;
    padding: 0.42rem 0.72rem 0.42rem 0.62rem;
  }
  .hero-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
  }
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.62;
    margin-top: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 1.25rem;
    gap: 0.65rem;
  }
  #hero .btn.btn-lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 0.88rem 1.2rem;
  }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.6rem;
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }
  .hero-meta .dot {
    margin-right: 0.45rem;
  }
  .scroll-hint {
    display: none;
  }
  .hero-ambient {
    opacity: 0.07;
  }
  .hero-ambient::before {
    animation: none;
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.6rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  z-index: 20;
  font-family: var(--f-display);
  color: rgba(255, 255, 255, 0.72);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(rgba(34, 211, 238, 0.85), rgba(236, 72, 153, 0.35), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn .ico { width: 14px; height: 14px; transition: transform var(--t); }
.btn:hover .ico { transform: translateX(3px); }

.btn-gold {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(30, 91, 219, 0.45);
}
.btn-gold:hover {
  background: var(--gold-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(30, 91, 219, 0.55);
}
.btn-outline {
  background: #ffffff;
  color: var(--gold);
  border-color: rgba(30, 91, 219, 0.40);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(30, 91, 219, 0.05);
  color: var(--gold-deep);
  transform: translateY(-1px);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--dim);
  padding: 0.2rem 0;
  transition: color .2s, border-color .2s;
}
.btn-link:hover { color: var(--gold); border-color: var(--gold); }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 0.82rem; }

/* ─── MARQUEE ─────────────────────────────────────────────────────────── */
.marquee-section {
  position: relative;
  z-index: 10;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
  align-items: center;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: rgba(10, 37, 64, 0.40);
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
}
.marquee-item::after {
  content: '◆';
  font-size: 0.5rem;
  color: var(--gold);
  opacity: 0.6;
}
.marquee-item.lit { color: var(--cream); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── EYEBROW / SECTION ───────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.eyebrow.no-line::before { display: none; }

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.012em;
  line-height: 0.92;
  color: var(--cream);
}
.section-title em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold);
}
.section-title .gold { color: var(--gold); }

.section-lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.3;
  color: var(--cream-dim);
  max-width: 640px;
}
.section-lead em { color: var(--gold); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─── INTRO ────────────────────────────────────────────────────────────── */
.intro {
  position: relative;
  z-index: 10;
  padding: 9rem var(--pad);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 3rem; padding: 6rem var(--pad); } }
.intro-number {
  font-family: var(--f-display);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 0.85;
  color: rgba(30, 91, 219, 0.06);
  position: absolute;
  left: 2%; top: 1.5rem;
  pointer-events: none;
  letter-spacing: -0.02em;
  z-index: 1;
}
.intro-left  { position: relative; z-index: 2; }
.intro-left h2 {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  margin: 1rem 0 1.5rem;
  color: var(--cream);
}
.intro-left h2 em {
  font-style: normal;
  font-family: var(--f-display);
  font-size: 1.15em;
  letter-spacing: -0.01em;
  color: var(--gold);
  display: block;
}
.intro-right p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(10, 37, 64, 0.62);
  margin-bottom: 1.4rem;
}
.intro-right p strong { color: var(--cream); font-weight: 600; }

/* ─── CORE CARDS GRID (8 cards w/ gold hairlines) ─────────────────────── */
.core-section {
  position: relative;
  z-index: 10;
  padding: 6rem var(--pad) 9rem;
}
.core-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards-grid { grid-template-columns: 1fr; } }

.s-card {
  background: var(--bg);
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s;
}
.s-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 91, 219, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.s-card:hover { background: var(--bg-2); }
.s-card:hover::before { opacity: 1; }

.s-card-num {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  font-family: var(--f-display);
  font-size: 3.4rem;
  color: rgba(10, 37, 64, 0.06);
  line-height: 1;
  transition: color .3s;
}
.s-card:hover .s-card-num { color: rgba(30, 91, 219, 0.20); }

.s-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(30, 91, 219, 0.22);
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: transform .35s var(--ease), background .3s, border-color .3s;
}
.s-card-icon svg { width: 22px; height: 22px; }
.s-card:hover .s-card-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.s-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cream);
  transition: color .3s;
}
.s-card:hover h3 { color: var(--gold); }
.s-card p {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dim);
  margin-top: 0.5rem;
}

.s-card-arrow {
  position: absolute;
  bottom: 1.4rem; right: 1.5rem;
  width: 32px; height: 32px;
  border: 1px solid rgba(30, 91, 219, 0.30);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dim);
  transform: scale(0);
  transition: transform .3s, border-color .3s, color .3s, background .3s;
}
.s-card-arrow svg { width: 12px; height: 12px; }
.s-card:hover .s-card-arrow {
  transform: scale(1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── HORIZONTAL SCROLL PANELS ────────────────────────────────────────── */
.h-scroll-section {
  position: relative;
  z-index: 10;
  background: var(--bg);
}
.h-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.h-scroll-track {
  display: flex;
  gap: 2rem;
  padding: 0 var(--pad);
  will-change: transform;
}
/* Full-bleed photo fills the card; copy sits on a readable gradient scrim */
.h-panel {
  flex-shrink: 0;
  width: 70vw;
  height: 75vh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px -25px rgba(10, 37, 64, 0.35);
}
@media (max-width: 720px) {
  .h-panel {
    width: 84vw;
    height: auto;
    min-height: 72vh;
  }
}

.h-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.h-panel-fullimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.001);
}

.h-panel-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(6, 18, 38, 0.94) 0%,
    rgba(6, 18, 38, 0.78) 34%,
    rgba(6, 18, 38, 0.42) 56%,
    rgba(6, 18, 38, 0.12) 100%
  );
}

@media (max-width: 900px) {
  .h-panel-scrim {
    background: linear-gradient(
      to top,
      rgba(6, 18, 38, 0.96) 0%,
      rgba(6, 18, 38, 0.82) 38%,
      rgba(6, 18, 38, 0.4) 68%,
      rgba(6, 18, 38, 0.18) 100%
    );
  }
}

.h-panel-body {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 75vh;
  padding: 3rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(54%, 540px);
}
@media (max-width: 900px) {
  .h-panel-body {
    max-width: none;
    min-height: 72vh;
    justify-content: flex-end;
    padding: 2.25rem 1.6rem 2.5rem;
  }
}

.h-panel-tag {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.h-panel-body h2 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  letter-spacing: -0.012em;
  line-height: 0.95;
  margin-bottom: 1.4rem;
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.h-panel-body h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1em;
  display: block;
}

.h-panel-body p {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}

.h-panel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.h-feat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.h-panel-number {
  position: absolute;
  right: 1rem;
  bottom: -0.5rem;
  font-family: var(--f-display);
  font-size: clamp(7rem, 14vw, 13rem);
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  letter-spacing: -0.02em;
  z-index: 1;
}

/* ─── METRICS ─────────────────────────────────────────────────────────── */
.metrics-section {
  position: relative;
  z-index: 10;
  padding: 6rem var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(30, 91, 219, 0.05), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 158, 11, 0.05), transparent 60%),
    var(--bg-2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 720px) { .metrics-section { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; } }
.metric { text-align: center; }
.metric-val {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.metric-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.5rem;
}

/* ─── ALL SERVICES (5-col grid w/ hairlines) ──────────────────────────── */
.all-services {
  position: relative;
  z-index: 10;
  padding: 7rem var(--pad);
}
.all-services-head {
  margin-bottom: 3.5rem;
  max-width: 760px;
}
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(30, 91, 219, 0.10);
}
@media (max-width: 1100px) { .all-services-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px)  { .all-services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .all-services-grid { grid-template-columns: repeat(2, 1fr); } }

.as-item {
  padding: 2rem 1.7rem 1.6rem;
  border-right: 1px solid rgba(30, 91, 219, 0.10);
  border-bottom: 1px solid rgba(30, 91, 219, 0.10);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  transition: background .35s var(--ease);
  cursor: pointer;
}
.as-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.07), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.as-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.as-item:hover { background: rgba(30, 91, 219, 0.04); }
.as-item:hover::before { opacity: 1; }
.as-item:hover::after { transform: scaleX(1); }

.as-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  background: var(--gold-soft);
  border-radius: 6px;
  position: relative;
  transition: transform .4s var(--ease), color .35s, background .35s, border-color .35s, box-shadow .35s;
}
.as-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(240, 201, 106, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.as-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.as-item:hover .as-icon {
  transform: translateY(-4px) scale(1.04) rotate(-3deg);
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold-light);
  box-shadow: 0 14px 30px -8px rgba(30, 91, 219, 0.5);
}
.as-item:hover .as-icon::before { opacity: 1; }

.as-num {
  position: absolute;
  top: 1.4rem; right: 1.7rem;
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: rgba(30, 91, 219, 0.4);
  transition: color .3s;
}
.as-item:hover .as-num { color: var(--gold); }

.as-name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--cream);
  transition: color .3s;
}
.as-item:hover .as-name { color: var(--gold); }

.as-desc {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(10, 37, 64, 0.5);
  margin-top: auto;
  transition: color .3s;
}
.as-item:hover .as-desc { color: rgba(10, 37, 64, 0.75); }

.as-arrow {
  position: absolute;
  bottom: 1.4rem; right: 1.7rem;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .35s, transform .35s, color .3s, border-color .3s, background .3s;
}
.as-arrow svg { width: 11px; height: 11px; }
.as-item:hover .as-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
  border-color: var(--gold);
}

/* tighter on smaller breakpoints */
@media (max-width: 1100px) {
  .as-item { min-height: 220px; padding: 1.7rem 1.4rem 1.4rem; }
  .as-icon { width: 50px; height: 50px; }
  .as-icon svg { width: 22px; height: 22px; }
  .as-name { font-size: 1rem; }
}
@media (max-width: 600px) {
  .as-item { min-height: 200px; gap: 0.8rem; }
  .as-num { top: 1rem; right: 1.2rem; font-size: 0.7rem; }
  .as-arrow { display: none; }
}

/* ─── PROCESS / LIFECYCLE ─────────────────────────────────────────────── */
.process-section {
  position: relative;
  z-index: 10;
  padding: 8rem var(--pad);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(30, 91, 219, 0.1);
  margin-top: 4rem;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.process-item {
  padding: 2.2rem 1.6rem;
  border-right: 1px solid rgba(30, 91, 219, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 280px;
}
.process-item:last-child { border-right: none; }
@media (max-width: 980px) { .process-item { border-bottom: 1px solid rgba(30, 91, 219, 0.1); } }
.process-step {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.process-item h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}
.process-item p {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(10, 37, 64, 0.5);
}
.process-big {
  position: absolute;
  bottom: -0.8rem; right: 1rem;
  font-family: var(--f-display);
  font-size: 4.5rem;
  color: rgba(30, 91, 219, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* ─── PILLARS / FEATURE TRIPLET ───────────────────────────────────────── */
.pillars {
  position: relative;
  z-index: 10;
  padding: 8rem var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 3rem; padding: 6rem var(--pad); } }
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: background .3s;
}
.pillar-item .pillar-num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.pillar-item h3 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color .3s;
}
.pillar-item p {
  grid-column: 2;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(10, 37, 64, 0.55);
  margin-top: 0.4rem;
  max-width: 580px;
}
.pillar-item .pillar-arrow {
  color: var(--dim);
  transition: color .3s, transform .3s;
}
.pillar-item .pillar-arrow svg { width: 20px; height: 20px; }
.pillar-item:hover h3 { color: var(--gold); }
.pillar-item:hover .pillar-arrow {
  color: var(--gold);
  transform: translateX(4px) rotate(-15deg);
}

/* ─── INDUSTRIES STRIP ────────────────────────────────────────────────── */
.industries {
  position: relative;
  z-index: 10;
  padding: 6rem var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
.industries-grid .ind {
  background: var(--bg);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  transition: background .3s;
}
.industries-grid .ind:hover { background: var(--bg-2); }
.industries-grid .ind svg {
  width: 28px; height: 28px;
  color: var(--gold);
  transition: transform .3s;
}
.industries-grid .ind:hover svg { transform: translateY(-3px); }
.industries-grid .ind span {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}

/* ─── PAGE HERO (sub-pages) ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  z-index: 10;
  padding: 12rem var(--pad) 6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 91, 219, 0.13), transparent 70%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
  z-index: -1;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: -0.012em;
  line-height: 0.95;
  color: var(--cream);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.page-hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.92em;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 580px;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.5rem;
}
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--gold); }
.crumb .sep { color: var(--gold); }

/* ─── SERVICES PAGE — CATEGORY BLOCK ──────────────────────────────────── */
.cat {
  position: relative;
  z-index: 10;
  padding: 5rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.cat:last-child { border-bottom: none; }
.cat-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .cat-head { grid-template-columns: 1fr; gap: 2rem; } }
.cat-num {
  font-family: var(--f-display);
  font-size: clamp(5rem, 9vw, 8rem);
  letter-spacing: -0.02em;
  line-height: 0.85;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cat-name {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.005em;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1rem;
}
.cat-desc {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 540px;
}

/* ─── SERVICES PAGE: alternating strips + local imagery ───────────────── */
body.services .page-hero { padding-bottom: 7rem; }
body.services .cat { padding: 7rem var(--pad); }
body.services .cat-head { margin-bottom: 3.5rem; }
body.services .cat-desc { max-width: 64ch; }

body.services .svc-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: min(var(--max), 100%);
  margin: 0 auto;
}

/* Full-bleed service cards — same language as homepage horizontal panels */
body.services .h-panel--services {
  width: 100%;
  flex-shrink: 1;
  height: auto;
  min-height: clamp(320px, 48vh, 560px);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
body.services .h-panel--services:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -28px rgba(10, 37, 64, 0.45);
}

body.services .h-panel--services .h-panel-body {
  min-height: clamp(320px, 48vh, 560px);
  max-width: min(56%, 560px);
  padding-bottom: 4.25rem;
  position: relative;
}

body.services .h-panel--services .h-panel-body h3.svc-card-headline {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.85rem);
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin-bottom: 1.15rem;
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

body.services .svc-card-arrow {
  position: absolute;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  pointer-events: none;
}
body.services .svc-card-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  body.services .h-panel--services .h-panel-body {
    max-width: none;
    min-height: min(64vh, 580px);
    justify-content: flex-end;
    padding-top: 3rem;
  }
}

/* ─── CONTACT ─────────────────────────────────────────────────────────── */
.contact-section {
  position: relative;
  z-index: 10;
  padding: 8rem var(--pad);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.ci-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; }
.ci-text .lbl {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.ci-text .val {
  display: block;
  font-size: 1.05rem;
  color: var(--cream);
  margin-top: 0.3rem;
  line-height: 1.5;
}
.ci-text .val:hover { color: var(--gold); }

.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 18px 40px -22px rgba(10, 37, 64, 0.18);
}
.contact-form h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.contact-form .helper {
  font-size: 0.84rem;
  color: var(--cream-dim);
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--f-body);
  color: var(--cream);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(10, 37, 64, 0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(30, 91, 219, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--bg); color: var(--cream); }
.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-success svg { width: 16px; height: 16px; }

/* ─── COMPLIANCE / STATEMENT ──────────────────────────────────────────── */
.statement {
  border-left: 2px solid var(--gold);
  background: var(--bg-2);
  padding: 2rem 2.5rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 800px;
}
.statement strong {
  color: var(--cream);
  font-weight: 600;
  font-style: normal;
  font-family: var(--f-body);
}
.statement + .statement { margin-top: 1.5rem; }

/* ─── CONTACT CTA / GIANT TYPE ────────────────────────────────────────── */
.contact-cta {
  position: relative;
  z-index: 10;
  padding: 9rem var(--pad);
  text-align: center;
  overflow: hidden;
}
.contact-cta::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 50%, rgba(30, 91, 219, 0.18), transparent 55%),
    radial-gradient(circle at 65% 50%, rgba(245, 158, 11, 0.15), transparent 55%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-cta > * { position: relative; z-index: 1; }
.cta-giant {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 13vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.022em;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold) 45%, var(--accent) 70%, var(--cream) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shimmer 6s linear infinite;
}
.cta-giant em {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.85em;
}
@keyframes shimmer {
  from { background-position: 200%; }
  to   { background-position: -200%; }
}
.cta-sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream-dim);
  margin: 2rem auto;
  max-width: 540px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
footer.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--line);
  padding: 5rem var(--pad) 2rem;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand h3 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--cream-dim);
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--dim);
}
.footer-bottom .f-meta {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom .f-meta a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-bottom .f-meta a:hover { color: var(--gold); }

/* ─── REVEAL HELPERS ──────────────────────────────────────────────────── */
.gs-up { opacity: 0; transform: translateY(40px); }
.gs-fade { opacity: 0; }
.gs-clip-line { overflow: hidden; }
.gs-clip-line > * { display: inline-block; transform: translateY(110%); }

/* ─── REDUCED MOTION ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #cursor, #cursor-follower { display: none !important; }
  body, a, button { cursor: auto !important; }
  #hero-canvas { display: none; }
  #hero-video { transform: scale(1.04); }
  .hero-word { transform: none !important; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-meta { opacity: 1 !important; }
  .gs-up, .gs-fade { opacity: 1 !important; transform: none !important; }
}

/* ─── SCROLLBAR ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: rgba(30, 91, 219, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
