/* =========================================================
   ENE Fluidtek — Aqua Pure style corporate template
   Navy #1B3664 · Accent #3D91CF · Mist #B3E5FC
   ========================================================= */
:root {
  --navy: #1b3664;
  --navy-deep: #122748;
  --navy-ink: #0b1a33;
  --blue: #3d91cf;
  --blue-bright: #2f86c8;
  --mist: #b3e5fc;
  --mist-soft: #eaf6fd;
  --foam: #f7fbfe;
  --surface: #dceaf5;
  --surface-deep: #c5dbeb;
  --surface-soft: #e8f3fa;
  --white: #ffffff;
  --text: #243047;
  --muted: #667894;
  --line: rgba(27, 54, 100, 0.1);
  --shadow: 0 16px 40px rgba(18, 39, 72, 0.1);
  --shadow-card: 0 12px 32px rgba(18, 39, 72, 0.1);
  --radius: 16px;
  --header-h: 100px;
  --font: "Poppins", sans-serif;
  --font-display: "Montserrat", "Poppins", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shared blink for list / feature dots site-wide */
@keyframes eneDotBlink {
  0%, 100% {
    opacity: 0.4;
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 32%, transparent);
  }
}

.svc-stretch-features li::before,
.svc-showcase-points li::before,
.svc-modal-body li::before,
.ene-list-item::before,
.dot-blink::before,
.dot-blink {
  color: var(--blue);
  animation: eneDotBlink 1.55s ease-in-out infinite;
}

.svc-showcase-points li::before {
  color: var(--folder-accent, var(--blue));
}

.svc-stretch-features li:nth-child(2)::before,
.svc-showcase-points li:nth-child(2)::before,
.svc-modal-body li:nth-child(2)::before,
.ene-list-item:nth-child(2)::before { animation-delay: 0.18s; }

.svc-stretch-features li:nth-child(3)::before,
.svc-showcase-points li:nth-child(3)::before,
.svc-modal-body li:nth-child(3)::before,
.ene-list-item:nth-child(3)::before { animation-delay: 0.36s; }

.svc-stretch-features li:nth-child(4)::before,
.svc-showcase-points li:nth-child(4)::before,
.svc-modal-body li:nth-child(4)::before,
.ene-list-item:nth-child(4)::before { animation-delay: 0.54s; }

.svc-stretch-features li:nth-child(5)::before,
.svc-showcase-points li:nth-child(5)::before,
.svc-modal-body li:nth-child(5)::before,
.ene-list-item:nth-child(5)::before { animation-delay: 0.72s; }

.svc-stretch-features li:nth-child(6)::before,
.svc-showcase-points li:nth-child(6)::before,
.svc-modal-body li:nth-child(6)::before,
.ene-list-item:nth-child(6)::before { animation-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .svc-stretch-features li::before,
  .svc-showcase-points li::before,
  .svc-modal-body li::before,
  .ene-list-item::before,
  .dot-blink::before,
  .dot-blink {
    animation: none;
    opacity: 1;
  }
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  overflow-x: clip; /* clip keeps position:sticky working (hidden creates a scroll container) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
  animation: pageEnter 0.55s var(--ease) both;
}

/* Home — cooler water palette (less stark white) */
body.page-home {
  background:
    radial-gradient(ellipse 90% 50% at 10% 20%, rgba(61, 145, 207, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 60%, rgba(27, 54, 100, 0.1), transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 40%, #d2e4f2 100%);
}

/* Custom water cursor (desktop only) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }

  /* Modals sit at 10050 — keep the cursor above every overlay */
  body.modal-open.has-custom-cursor,
  body.modal-open.has-custom-cursor * {
    cursor: none !important;
  }
}

.cursor-orb {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-orb {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    z-index: 11000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    will-change: transform;
  }

  .cursor-orb.is-visible {
    opacity: 1;
  }

  .cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3d91cf, #1b3664);
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.95),
      0 4px 12px rgba(27, 54, 100, 0.35);
    transition: transform 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), border-radius 0.25s;
  }

  .cursor-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(61, 145, 207, 0.55);
    background: rgba(61, 145, 207, 0.08);
    box-shadow: 0 0 0 4px rgba(179, 229, 252, 0.2);
    transition: transform 0.3s var(--ease), border-color 0.25s, background 0.25s, opacity 0.25s, border-radius 0.3s;
  }

  /* Interactive — smooth water-drop, tip up */
  .cursor-orb.is-hover .cursor-dot {
    width: 14px;
    height: 18px;
    margin: -11px 0 0 -7px;
    border-radius: 0;
    transform: none;
    background: linear-gradient(180deg, #6bb8e6 0%, #2f86c8 42%, #1b3664 100%);
    box-shadow: none;
    /* Classic teardrop: tip at top, rounded bulb at bottom */
    clip-path: path('M7 0C7 0 13.5 7.2 13.5 11.4A6.5 6.5 0 1 1 0.5 11.4C0.5 7.2 7 0 7 0Z');
    filter:
      drop-shadow(0 0 0.6px #fff)
      drop-shadow(0 0 1.2px #fff)
      drop-shadow(0 3px 8px rgba(27, 54, 100, 0.4));
  }

  .cursor-orb.is-hover .cursor-ring {
    transform: scale(1.35);
    border-color: rgba(27, 54, 100, 0.55);
    background: rgba(61, 145, 207, 0.12);
    box-shadow: 0 0 0 6px rgba(61, 145, 207, 0.12);
  }

  /* Click compress */
  .cursor-orb.is-down .cursor-dot {
    transform: scale(0.78);
  }

  .cursor-orb.is-down.is-hover .cursor-dot {
    transform: scale(0.82);
  }

  .cursor-orb.is-down .cursor-ring {
    transform: scale(0.82);
    opacity: 0.65;
  }

  .cursor-orb.is-down.is-hover .cursor-ring {
    transform: scale(1.05);
  }

  /* Click effects layer — below cursor orb, never blocks clicks */
  .cursor-fx-layer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10990;
    pointer-events: none;
    overflow: hidden;
  }

  /* Wet tap — water splash */
  .fx-splash {
    position: absolute;
    width: 0;
    height: 0;
  }

  .fx-ripple {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    border: 2px solid rgba(61, 145, 207, 0.75);
    background: rgba(179, 229, 252, 0.25);
    animation: fxRipple 0.7s var(--ease) forwards;
  }

  .fx-ripple.delay {
    animation-delay: 0.08s;
    border-color: rgba(27, 54, 100, 0.45);
  }

  .fx-drop {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 10px;
    margin: -5px 0 0 -4px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(180deg, #b3e5fc, #3d91cf);
    opacity: 0.95;
    animation: fxDrop 0.65s var(--ease) forwards;
    --dx: 0px;
    --dy: 0px;
  }

  /* Clickable item — crisp action pulse */
  .fx-pulse {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    background: rgba(61, 145, 207, 0.35);
    box-shadow: 0 0 0 0 rgba(61, 145, 207, 0.45);
    animation: fxPulse 0.55s var(--ease) forwards;
  }

  .fx-pulse::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(27, 54, 100, 0.55);
    animation: fxPulseRing 0.55s var(--ease) forwards;
  }

  @keyframes fxRipple {
    0% { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(4.2); opacity: 0; }
  }

  @keyframes fxDrop {
    0% {
      transform: translate(0, 0) scale(1) rotate(0deg);
      opacity: 0.95;
    }
    100% {
      transform: translate(var(--dx), var(--dy)) scale(0.25) rotate(25deg);
      opacity: 0;
    }
  }

  @keyframes fxPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
  }

  @keyframes fxPulseRing {
    0% { transform: scale(0.5); opacity: 0.85; }
    100% { transform: scale(2.8); opacity: 0; }
  }
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* App-shell route progress (SPA feel) */
.ene-route-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: transparent;
  transition: opacity 0.2s ease;
}

.ene-route-progress.is-on {
  opacity: 1;
}

.ene-route-progress span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--blue), #64d2ff, var(--mist));
  box-shadow: 0 0 12px rgba(61, 145, 207, 0.55);
  animation: eneRouteSlide 0.85s var(--ease) infinite;
}

@keyframes eneRouteSlide {
  0% { transform: translateX(-120%); width: 25%; }
  50% { width: 45%; }
  100% { transform: translateX(420%); width: 25%; }
}

html.ene-navigating {
  cursor: progress;
}

html.ene-navigating body {
  pointer-events: none;
}

html.ene-app .site-main {
  transform-origin: 50% 12%;
  transition:
    opacity 0.28s var(--ease),
    transform 0.32s var(--ease),
    filter 0.28s ease;
}

html.ene-app .site-main.is-leaving,
html.ene-app .site-main.is-entering {
  will-change: opacity, transform;
}

html.ene-app .site-main.is-leaving {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  filter: blur(2px);
}

html.ene-app .site-main.is-entering {
  animation: eneMainIn 0.42s var(--ease) both;
}

@keyframes eneMainIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* React-like press / hover response */
html.ene-app a,
html.ene-app button,
html.ene-app .btn,
html.ene-app .cr-btn-glow,
html.ene-app .cr-job-apply,
html.ene-app .svc-tab,
html.ene-app .album-cover {
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

html.ene-app a:active,
html.ene-app button:active,
html.ene-app .btn:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  html.ene-app .site-main {
    transition: none;
  }
  .ene-route-progress span {
    animation: none;
  }
}

@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.28s;
  }
}


body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 1300;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--mist));
  background-size: 200% 100%;
  animation: eneBarShimmer 4.5s linear infinite;
  pointer-events: none;
}

/* ---------- Section background FX (all pages, not hero) ---------- */
@keyframes eneBarShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes eneEyebrowPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(61, 145, 207, 0.45);
    background: var(--blue);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(61, 145, 207, 0);
    background: #64d2ff;
  }
}

@keyframes eneSecBlobA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8%, 6%, 0) scale(1.12); }
}

@keyframes eneSecBlobB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-7%, -5%, 0) scale(1.1); }
}

@keyframes eneSecWave {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes eneSecFloat {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-14px); opacity: 0.85; }
}

.ene-sec-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ene-sec-fx .ene-sec-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  will-change: transform;
}

.ene-sec-fx .ene-sec-blob--1 {
  width: min(48%, 340px);
  height: min(48%, 340px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(179, 229, 252, 0.7) 0%, rgba(61, 145, 207, 0.22) 48%, transparent 72%);
  animation: eneSecBlobA 16s ease-in-out infinite;
  animation-delay: var(--fx-delay, 0s);
}

.ene-sec-fx .ene-sec-blob--2 {
  width: min(42%, 300px);
  height: min(42%, 300px);
  right: -10%;
  bottom: -16%;
  background: radial-gradient(circle, rgba(61, 145, 207, 0.35) 0%, rgba(100, 210, 255, 0.18) 45%, transparent 72%);
  animation: eneSecBlobB 19s ease-in-out infinite;
}

.ene-sec-fx .ene-sec-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 72px;
  opacity: 0.28;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%233d91cf' fill-opacity='0.22' d='M0,40 C150,10 300,10 450,40 C600,70 750,70 900,40 C1050,10 1125,10 1200,40 L1200,80 L0,80 Z'/%3E%3C/svg%3E")
    repeat-x left bottom / 600px 72px;
  animation: eneSecWave 14s linear infinite;
}

.ene-sec-fx .ene-sec-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(61, 145, 207, 0.45) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(179, 229, 252, 0.7) 0 1px, transparent 1.5px);
  background-size: 72px 72px, 48px 48px;
  background-position: 0 0, 24px 18px;
  opacity: 0.22;
  animation: eneSecFloat 7s ease-in-out infinite;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.ene-sec-fx .ene-sec-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64d2ff;
  box-shadow: 0 0 10px rgba(61, 145, 207, 0.7), 0 0 18px rgba(179, 229, 252, 0.55);
  animation: eneSecFloat 4.8s ease-in-out infinite;
}

.ene-sec-fx .ene-sec-spark--1 { top: 18%; left: 14%; animation-delay: 0s; }
.ene-sec-fx .ene-sec-spark--2 { top: 42%; right: 16%; animation-delay: 1.2s; width: 5px; height: 5px; }
.ene-sec-fx .ene-sec-spark--3 { bottom: 24%; left: 28%; animation-delay: 2.1s; width: 4px; height: 4px; }

/* Dark bands — brighter mist FX */
.ene-sec-fx.is-dark .ene-sec-blob--1 {
  background: radial-gradient(circle, rgba(179, 229, 252, 0.35) 0%, rgba(61, 145, 207, 0.18) 48%, transparent 72%);
}

.ene-sec-fx.is-dark .ene-sec-blob--2 {
  background: radial-gradient(circle, rgba(100, 210, 255, 0.28) 0%, rgba(61, 145, 207, 0.12) 45%, transparent 72%);
}

.ene-sec-fx.is-dark .ene-sec-wave {
  opacity: 0.4;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%23b3e5fc' fill-opacity='0.28' d='M0,40 C150,10 300,10 450,40 C600,70 750,70 900,40 C1050,10 1125,10 1200,40 L1200,80 L0,80 Z'/%3E%3C/svg%3E")
    repeat-x left bottom / 600px 72px;
}

.ene-sec-fx.is-dark .ene-sec-dots {
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(179, 229, 252, 0.65) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(100, 210, 255, 0.55) 0 1px, transparent 1.5px);
}

.section,
.cta-band,
.ab-career {
  position: relative;
}

.section > .container,
.cta-band > .container,
.ab-career > .container {
  position: relative;
  z-index: 1;
}

/* Soft default fill so plain sections feel less empty */
.section:not([class*="cr-"]):not([class*="ab-"]):not([class*="px-"]):not([class*="svc-"]):not(.solutions-sec):not(.about-sec):not(.album-gallery) {
  background:
    radial-gradient(ellipse 55% 50% at 0% 0%, rgba(179, 229, 252, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(61, 145, 207, 0.1), transparent 50%),
    linear-gradient(180deg, #f4f9fd 0%, #ffffff 48%, #eef5fb 100%);
}

/* ---------- Water treatment loader (RO fill) ---------- */
body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #071526;
  transition: opacity 0.75s var(--ease), visibility 0.75s, transform 0.75s var(--ease);
  overflow: hidden;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.loader-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(61, 145, 207, 0.4), transparent 42%),
    radial-gradient(ellipse at 70% 75%, rgba(179, 229, 252, 0.18), transparent 40%),
    linear-gradient(165deg, #071526 0%, #12305a 55%, #1b4f7a 100%);
  animation: auroraDrift 8s ease-in-out infinite alternate;
}

.loader-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.loader-bubbles span {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(61,145,207,0.15));
  border: 1px solid rgba(255,255,255,0.2);
  animation: bubbleFloat 7s linear infinite;
}

.loader-bubbles span:nth-child(1) { left: 12%; width: 10px; height: 10px; animation-duration: 6.5s; }
.loader-bubbles span:nth-child(2) { left: 28%; width: 16px; height: 16px; animation-duration: 8s; animation-delay: 1.2s; }
.loader-bubbles span:nth-child(3) { left: 48%; width: 8px; height: 8px; animation-duration: 5.5s; animation-delay: 0.6s; }
.loader-bubbles span:nth-child(4) { left: 62%; width: 14px; height: 14px; animation-duration: 7.2s; animation-delay: 2s; }
.loader-bubbles span:nth-child(5) { left: 78%; width: 11px; height: 11px; animation-duration: 6s; animation-delay: 0.3s; }
.loader-bubbles span:nth-child(6) { left: 88%; width: 18px; height: 18px; animation-duration: 9s; animation-delay: 1.6s; }

.loader-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  width: min(420px, 92vw);
}

.loader-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(179, 229, 252, 0.9);
  margin-bottom: 1.35rem;
}

/* Reverse Osmosis vessel — water rises; logo reveals with the same fill */
.loader-ro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.35rem;
  width: 100%;
}

.loader-tank--ro {
  position: relative;
  width: min(168px, 42vw);
  height: min(300px, 58vh);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.96) 18%, rgba(236,246,252,0.98) 50%, rgba(255,255,255,0.96) 82%, rgba(210,228,240,0.9) 100%);
  border: 2px solid rgba(179, 229, 252, 0.55);
  box-shadow:
    0 0 0 6px rgba(61, 145, 207, 0.12),
    0 28px 60px rgba(0, 0, 0, 0.38),
    inset 8px 0 18px rgba(255, 255, 255, 0.35),
    inset -10px 0 22px rgba(27, 54, 100, 0.08);
}

.ro-cap {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 18px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, #d7e8f4, #8eb6d4 55%, #5f8fb3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.ro-cap--top {
  top: 0;
  border-radius: 999px 999px 6px 6px;
}

.ro-cap--bottom {
  bottom: 0;
  border-radius: 6px 6px 999px 999px;
}

.ro-band {
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(27,54,100,0.35), rgba(61,145,207,0.55), rgba(27,54,100,0.4));
  box-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

.ro-band--1 { top: 22%; }
.ro-band--2 { top: 48%; }
.ro-band--3 { top: 74%; }

.ro-badge {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 5;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(27, 54, 100, 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.ro-membranes {
  position: absolute;
  inset: 14% 22%;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0.28;
}

.ro-membranes i {
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #1b3664 20%, #1b3664 80%, transparent);
}

.ro-pipe {
  position: absolute;
  width: 34px;
  height: 12px;
  background: linear-gradient(180deg, #b7d0e4, #6f97b6 55%, #4d7696);
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ro-pipe--in {
  left: calc(50% - min(84px, 21vw) - 28px);
  top: 28%;
}

.ro-pipe--in::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -6px;
  width: 14px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, #c5dced, #6f97b6);
}

.ro-pipe--out {
  right: calc(50% - min(84px, 21vw) - 28px);
  bottom: 30%;
}

.ro-pipe--out::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -6px;
  width: 14px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, #c5dced, #6f97b6);
}

.ro-label {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.loader-water {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, #9ad6f2 0%, #3d91cf 45%, #1b3664 100%);
  transition: height 0.1s linear;
  z-index: 2;
}

.loader-surface {
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 32px;
  overflow: hidden;
}

.loader-wave {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 28px;
  top: 0;
}

.loader-wave-a {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath fill='%23b8e6f8' d='M0 14C20 4 40 4 60 14s40 10 60 0v14H0z'/%3E%3C/svg%3E") repeat-x;
  background-size: 60px 28px;
  animation: waveShift 0.8s linear infinite;
}

.loader-wave-b {
  top: 4px;
  opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M0 16C25 6 45 26 70 16s45-10 70 0v14H0z'/%3E%3C/svg%3E") repeat-x;
  background-size: 50px 24px;
  animation: waveShift 1.15s linear infinite reverse;
}

.loader-logo-stack {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 1.75rem 1.1rem;
}

.loader-logo {
  width: min(118px, 28vw);
  height: auto;
  display: block;
  grid-area: 1 / 1;
}

.loader-logo--ghost {
  opacity: 0.2;
  filter: grayscale(0.15);
}

.loader-logo--full {
  filter: drop-shadow(0 6px 14px rgba(27, 54, 100, 0.18));
  /* Revealed bottom → top in sync with water fill */
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.1s linear;
}

.loader-phrase {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
}

.loader-pct {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(179, 229, 252, 0.85);
  letter-spacing: 0.08em;
}

@keyframes auroraDrift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-2%, 2%); }
}

@keyframes bubbleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.7; }
  100% { transform: translateY(-105vh) scale(0.7); opacity: 0; }
}

@keyframes waveShift {
  from { background-position-x: 0; }
  to { background-position-x: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-aurora,
  .loader-bubbles span,
  .loader-wave-a,
  .loader-wave-b {
    animation: none !important;
  }
  .loader-water {
    transition: none !important;
    height: 100% !important;
  }
  .loader-logo--full {
    transition: none !important;
    clip-path: inset(0 0 0 0) !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 1000;
  overflow: visible; /* wave may hang below into hero */
}

.header-bar {
  position: relative;
  z-index: 2;
  background: var(--white);
  transition: background 0.4s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled .header-bar {
  background: linear-gradient(105deg, var(--navy-ink) 0%, var(--navy) 55%, #234f82 100%);
  box-shadow: 0 10px 28px rgba(11, 26, 51, 0.28);
}

/*
  Animated wavy header bottom:
  - Seamless sine loop (no stair-step at tile join)
  - White fill hangs over hero — no gap strip
*/
.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
  margin-top: -1px;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
  z-index: 1;
  background: transparent;
}

.hw-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: max-content;
  will-change: transform;
}

.hw-track svg {
  display: block;
  width: 100vw;
  min-width: 1200px;
  height: 100%;
  flex-shrink: 0;
}

.hw-track--a {
  animation: waveFlow 9s linear infinite;
}

.hw-track--a path {
  fill: #ffffff;
  transition: fill 0.4s var(--ease);
}

.hw-track--b {
  animation: waveFlow 13s linear infinite reverse;
  opacity: 0.35;
}

.hw-track--b path {
  fill: #ffffff;
  transition: fill 0.4s var(--ease);
}

.site-header.is-scrolled .hw-track--a path {
  fill: #234f82;
}

.site-header.is-scrolled .hw-track--b path {
  fill: #1b3664;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  height: 82px;
  width: auto;
  transition: transform 0.3s var(--ease), filter 0.4s var(--ease);
}

.brand:hover .brand-logo { transform: scale(1.03); }

.site-header.is-scrolled .brand-logo {
  filter: invert(1) brightness(1.15) contrast(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.55rem 0.7rem;
  position: relative;
  transition: color 0.35s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.2rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease), background 0.35s;
}

.main-nav a:hover,
.main-nav a.active { color: var(--blue); }

.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.site-header.is-scrolled .main-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.active {
  color: var(--mist);
}

.site-header.is-scrolled .main-nav a::after {
  background: var(--mist);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(27, 54, 100, 0.25);
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
}

.header-phone:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61, 145, 207, 0.35);
}

.site-header.is-scrolled .header-phone {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.site-header.is-scrolled .header-phone:hover {
  background: var(--blue);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(61, 145, 207, 0.35);
}

.phone-ico {
  display: inline-flex;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--white);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero / section wave dividers ---------- */
.water-splash {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.water-splash--hero {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  z-index: 4;
}

.water-splash--hero .splash-foam { fill: rgba(255,255,255,0.45); }
.water-splash--hero .splash-mid { fill: rgba(197, 219, 235, 0.85); }
.page-home .water-splash--hero .splash-deep { fill: #d4e8f6; }
.water-splash--hero .splash-deep { fill: var(--white); }

.splash-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 200%;
  will-change: transform;
}

.splash-track svg {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  display: block;
}

.splash-track--a { animation: waveFlow 9s linear infinite; }
.splash-track--b {
  animation: waveFlow 6s linear infinite;
  opacity: 0.9;
}

@keyframes waveFlow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Footer wave — hangs above footer content (never covers columns) */
.footer-wave {
  position: absolute;
  top: -88px;
  left: 0;
  right: 0;
  height: 90px;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
  z-index: 2;
}

.fw-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: 200%;
  will-change: transform;
}

.fw-track svg {
  display: block;
  width: 50%;
  height: 100%;
  flex: 0 0 50%;
  min-width: 0;
}

.fw-track--foam {
  animation: waveFlow 12s linear infinite;
}

.fw-track--foam path {
  fill: #7ec8e8;
  opacity: 0.55;
}

.fw-track--mid {
  animation: waveFlow 9s linear infinite reverse;
}

.fw-track--mid path {
  fill: #3d91cf;
  opacity: 0.7;
}

.fw-track--main {
  animation: waveFlow 7s linear infinite;
}

.fw-track--main path {
  fill: var(--navy-deep);
}

/* Header is in normal flow (not sticky) — no top offset needed */
.site-main {
  position: relative;
  z-index: 1;
  min-height: 50vh;
}

.page-home .hero,
.page-hero {
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-arrow {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(61, 145, 207, 0.35);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(27, 54, 100, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--navy);
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 38%, rgba(234,246,253,0.35) 62%, rgba(27,54,100,0.15) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.hero-accent {
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--mist));
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.6rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2.25rem;
}

.hero-feat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.hf-ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--mist-soft);
  border: 1px solid rgba(61,145,207,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.hf-ico svg { width: 18px; height: 18px; }

.hero-badge {
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
}

.badge-ring {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(18, 39, 72, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  animation: badgeFloat 5s ease-in-out infinite;
  border: 6px solid rgba(179, 229, 252, 0.65);
}

.badge-ring p {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--navy);
}

.badge-ico { width: 42px; height: 42px; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

[data-hero] {
  opacity: 0;
  transform: translateY(28px);
}

body.is-ready [data-hero] {
  animation: heroIn 0.9s var(--ease) forwards;
}

body.is-ready .hero-copy .hero-accent { animation-delay: 0.08s; }
body.is-ready .hero-copy .hero-title { animation-delay: 0.18s; }
body.is-ready .hero-copy .hero-sub { animation-delay: 0.3s; }
body.is-ready .hero-copy > div:nth-of-type(1) { animation-delay: 0.42s; }
body.is-ready .hero-features { animation-delay: 0.55s; }
body.is-ready .hero-badge { animation-delay: 0.4s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 5rem 0;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(61, 145, 207, 0.55);
  animation: eneEyebrowPulse 1.8s ease-in-out infinite;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

/* Solutions */
.solutions-sec {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(61, 145, 207, 0.18), transparent 55%),
    linear-gradient(165deg, #d4e8f6 0%, #e3f1f9 55%, #cfe3f3 100%);
  overflow: hidden;
}

.solutions-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%231b3664' stroke-opacity='0.04' d='M0 40c20-12 40-12 60 0s40 12 60 0'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.9;
}

.solutions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.solutions-intro p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 40ch;
}

.solution-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.sol-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.78) 0%, rgba(232,243,250,0.92) 100%);
  border: 1px solid rgba(27, 54, 100, 0.1);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 14px 36px rgba(18, 39, 72, 0.1);
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}

.sol-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(18, 39, 72, 0.16);
  border-color: rgba(61, 145, 207, 0.35);
}

.sol-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(61, 145, 207, 0.16);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.sol-ico svg { width: 22px; height: 22px; }

.sol-img {
  height: 110px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.9rem;
  transition: transform 0.5s var(--ease);
}

.sol-card:hover .sol-img { transform: scale(1.04); }

.sol-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Stats bar — static wavy top & bottom */
.stats-bar {
  position: relative;
  background: linear-gradient(105deg, var(--navy) 0%, #285f9a 50%, var(--blue) 100%);
  padding: 4.25rem 0;
  color: var(--white);
  overflow: visible;
}

.stats-wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.stats-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.stats-wave--top {
  top: -1px;
}

.stats-wave--top path {
  fill: #cfe3f3; /* matches solutions section above */
}

.stats-wave--bottom {
  bottom: -1px;
}

.stats-wave--bottom path {
  fill: #d8eaf6; /* matches about section below */
}

.stats-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-ico {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.95;
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-item > span:last-child {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About */
.about-sec {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(27, 54, 100, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(61, 145, 207, 0.16), transparent 55%),
    linear-gradient(165deg, #d8eaf6 0%, #e6f2fa 50%, #c9dff0 100%);
}

.about-bg-splash {
  position: absolute;
  left: -8%;
  top: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(61,145,207,0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-sec::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(27, 54, 100, 0.14) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.about-feat {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem;
  background: linear-gradient(155deg, rgba(255,255,255,0.72), rgba(207, 227, 243, 0.85));
  border-radius: 14px;
  border: 1px solid rgba(27, 54, 100, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.about-feat:hover {
  transform: translateY(-4px);
  background: linear-gradient(155deg, rgba(255,255,255,0.9), rgba(179, 229, 252, 0.45));
  border-color: rgba(61, 145, 207, 0.35);
  box-shadow: var(--shadow-card);
}

.af-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.af-ico.blue { background: rgba(61, 145, 207, 0.15); }
.af-ico.cyan { background: rgba(179, 229, 252, 0.55); color: var(--navy); }

.fc-ico {
  display: inline-flex;
  margin-top: 2px;
  color: var(--mist);
}

.about-feat p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Clients — auto slider, B/W → color on hover */
.clients-sec {
  position: relative;
  padding: 4.25rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(180deg, #e8f3fa 0%, #d5e8f5 100%);
  overflow: hidden;
}

.clients-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.clients-head h2 {
  margin-bottom: 0.55rem;
}

.clients-sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 auto;
  max-width: 42ch;
}

.clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.35rem 0 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  padding: 0.75rem 0;
  animation: clientsSlide 32s linear infinite;
}

.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clientsSlide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.client-logo::after {
  content: "";
  position: absolute;
  right: -1.6rem;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(27, 54, 100, 0.22), transparent);
}

.client-logo img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.client-logo:hover {
  transform: translateY(-3px);
}

.client-logo:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .client-logo {
    width: 120px;
    height: 64px;
  }

  .client-logo img { max-height: 48px; }

  .clients-track {
    gap: 2.25rem;
    animation-duration: 24s;
  }

  .client-logo::after { right: -1.1rem; }
}

/* ---------- Client testimonials ---------- */
.tm-sec {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 55% at 0% 20%, rgba(179, 229, 252, 0.45), transparent 55%),
    radial-gradient(ellipse 45% 50% at 100% 80%, rgba(61, 145, 207, 0.16), transparent 50%),
    linear-gradient(165deg, #e7f3fb 0%, #f7fbfe 42%, #eaf4fb 100%);
}

.tm-sec::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 180px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%233d91cf' fill-opacity='0.07' d='M0,40 C200,10 400,70 600,40 C800,10 1000,70 1200,40 L1200,120 L0,120 Z'/%3E%3C/svg%3E")
    center / cover no-repeat;
  pointer-events: none;
  opacity: 0.9;
}

.tm-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tm-head h2 {
  margin-bottom: 0.45rem;
  background: linear-gradient(120deg, var(--navy-ink), var(--navy) 50%, #2a6faa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-head .lead {
  margin: 0;
  max-width: 40ch;
}

.tm-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(110deg, #122748 0%, #1b3664 45%, #3d91cf 100%);
  background-size: 160% 100%;
  box-shadow: 0 14px 32px rgba(27, 54, 100, 0.28);
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.4s;
}

.tm-open-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 18px 40px rgba(27, 54, 100, 0.35);
}

.tm-slider {
  position: relative;
  z-index: 1;
  padding: 0.5rem 3rem 0;
}

.tm-slider-glow {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 18%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(61, 145, 207, 0.22), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.tm-viewport {
  overflow: hidden;
  padding: 1.1rem 0 1.35rem;
  margin: 0 -0.25rem;
}

.tm-track {
  display: flex;
  gap: 1.35rem;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  padding: 0 0.35rem;
}

.tm-card {
  position: relative;
  flex: 0 0 min(780px, 86%);
  min-width: min(780px, 86%);
  padding: 2rem 1.85rem 1.65rem;
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 253, 0.98) 100%);
  border: 1px solid rgba(179, 229, 252, 0.65);
  box-shadow:
    0 22px 50px rgba(18, 39, 72, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0.48;
  transform: scale(0.94) translateY(8px);
  filter: saturate(0.85);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    filter 0.55s ease,
    box-shadow 0.55s ease;
}

.tm-card.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: none;
  box-shadow:
    0 28px 60px rgba(18, 39, 72, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 0 40px rgba(61, 145, 207, 0.12);
}

.tm-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #64d2ff, #3d91cf 45%, #1b3664);
  opacity: 0.85;
}

.tm-card-shine {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(179, 229, 252, 0.45), transparent 68%);
  pointer-events: none;
}

.tm-quote-mark {
  position: absolute;
  top: 0.35rem;
  right: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 10vw, 7.5rem);
  line-height: 0.8;
  color: rgba(61, 145, 207, 0.14);
  pointer-events: none;
  user-select: none;
}

.tm-card--empty {
  text-align: center;
  color: var(--muted);
  padding: 3.5rem 1.5rem;
  opacity: 1;
  transform: none;
  filter: none;
}

.tm-person-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.tm-photo-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1b3664, #3d91cf);
  box-shadow: 0 10px 24px rgba(27, 54, 100, 0.22);
  display: grid;
  place-items: center;
  border: 3px solid #fff;
}

.tm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-photo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1;
}

.tm-person-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.tm-person-meta strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 0.15rem;
}

.tm-person-meta span {
  font-size: 0.86rem;
  color: var(--muted);
}

.tm-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #eaf4fb);
  border: 1px solid rgba(27, 54, 100, 0.08);
  box-shadow: 0 8px 18px rgba(18, 39, 72, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.tm-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.tm-logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}

.tm-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  margin-left: auto;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.14), rgba(255, 220, 150, 0.2));
  border: 1px solid rgba(245, 166, 35, 0.28);
  color: rgba(27, 54, 100, 0.18);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.tm-stars .is-on {
  color: #f0a020;
  text-shadow: 0 0 10px rgba(240, 160, 32, 0.35);
}

.tm-quote {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.7;
  min-height: 4.8rem;
  margin-bottom: 1.25rem;
  max-width: 52ch;
}

.tm-quote p {
  margin: 0 0 0.55rem;
}

.tm-quote p:last-child {
  margin-bottom: 0;
}

.tm-company-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 54, 100, 0.08);
}

.tm-company-meta strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.tm-company-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.tm-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(179, 229, 252, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 39, 72, 0.14);
  backdrop-filter: blur(8px);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.tm-nav:hover {
  background: linear-gradient(135deg, #1b3664, #3d91cf);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 16px 34px rgba(27, 54, 100, 0.28);
}

.tm-nav--prev { left: 0; }
.tm-nav--next { right: 0; }

.tm-footer-bar {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  margin-top: 0.35rem;
}

.tm-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.tm-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(27, 54, 100, 0.2);
  cursor: pointer;
  transition: width 0.3s, background 0.3s, border-radius 0.3s;
}

.tm-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b3664, #3d91cf);
}

.tm-progress {
  width: min(220px, 50%);
  height: 3px;
  border-radius: 999px;
  background: rgba(27, 54, 100, 0.1);
  overflow: hidden;
}

.tm-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d91cf, #64d2ff);
  transition: width 0.35s linear;
}

.tm-progress.is-running span {
  width: 100%;
  transition: width 5.5s linear;
}

/* Modal — portal to body; sit above loader/cursor stacking */
.tm-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s, visibility 0.28s;
}

.tm-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tm-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(6, 16, 32, 0.68);
  backdrop-filter: blur(7px);
  pointer-events: auto;
}

.tm-modal-panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  height: min(90vh, 760px);
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(179, 229, 252, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.tm-modal.is-open .tm-modal-panel {
  transform: none;
}

.tm-modal-head {
  position: relative;
  flex: 0 0 auto;
  padding: 1.25rem 3.25rem 1rem 1.35rem;
  background: linear-gradient(180deg, #f4f9fd 0%, #fff 100%);
  border-bottom: 1px solid rgba(27, 54, 100, 0.08);
}

.tm-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(61, 145, 207, 0.12);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tm-modal-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(61, 145, 207, 0.55);
}

.tm-modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.tm-modal-lead {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.tm-modal-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 54, 100, 0.08);
  color: var(--navy);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.tm-modal-close:hover {
  background: rgba(27, 54, 100, 0.14);
  transform: scale(1.04);
}

/* flex-basis: 0 is required so this pane gets a real height and can scroll */
.tm-modal-form {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 54, 100, 0.35) rgba(27, 54, 100, 0.06);
}

.tm-modal-form::-webkit-scrollbar {
  width: 10px;
}

.tm-modal-form::-webkit-scrollbar-track {
  background: rgba(27, 54, 100, 0.06);
}

.tm-modal-form::-webkit-scrollbar-thumb {
  background: rgba(27, 54, 100, 0.35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.tm-modal-scroll {
  padding: 1.15rem 1.35rem 0;
}

.tm-modal-scroll .form-group {
  margin-bottom: 0.95rem;
}

.tm-modal-scroll .form-row {
  gap: 0.85rem;
}

.tm-modal-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0.35rem -1.35rem 0;
  padding: 0.95rem 1.35rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
}

.tm-company-field {
  position: relative;
}

.tm-company-shell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.55rem 0.2rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 54, 100, 0.14);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tm-company-shell:focus-within {
  border-color: rgba(61, 145, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.14);
}

.tm-company-shell input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0.15rem !important;
  margin: 0;
  min-width: 0;
  flex: 1;
}

.tm-company-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f3f7fb;
  border: 1px solid rgba(27, 54, 100, 0.1);
}

.tm-company-mark[hidden] {
  display: none !important;
}

.tm-company-logo-preview {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tm-company-logo-preview[hidden],
.tm-company-logo-fallback[hidden] {
  display: none !important;
}

.tm-company-logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, #1b3664, #3d91cf);
}

.tm-optional {
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.tm-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.tm-upload-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tm-photo-preview {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1b3664, #3d91cf);
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(27, 54, 100, 0.18);
}

.tm-photo-preview.has-img {
  color: transparent;
}

.tm-logo-upload {
  margin-top: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(61, 145, 207, 0.08);
  border: 1px dashed rgba(61, 145, 207, 0.4);
}

.tm-logo-upload[hidden] {
  display: none !important;
}

.tm-logo-upload label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.tm-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 8;
  background: #fff;
  border: 1px solid rgba(27, 54, 100, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(18, 39, 72, 0.14);
  max-height: 200px;
  overflow: auto;
  padding: 0.35rem;
}

.tm-suggest[hidden] {
  display: none !important;
}

.tm-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--navy);
}

.tm-suggest-item:hover {
  background: rgba(61, 145, 207, 0.1);
}

.tm-suggest-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(27, 54, 100, 0.08);
  padding: 2px;
}

.tm-suggest-item span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.tm-suggest-item strong {
  font-size: 0.88rem;
}

.tm-suggest-item small {
  font-size: 0.72rem;
  color: var(--muted);
}

.tm-suggest-dot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1b3664, #3d91cf);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
}

.tm-rate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tm-rate-btn {
  border: 1px solid rgba(27, 54, 100, 0.14);
  background: #fff;
  color: #f5a623;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.tm-rate-btn.is-active {
  background: rgba(245, 166, 35, 0.15);
  border-color: rgba(245, 166, 35, 0.55);
  transform: translateY(-1px);
}

.tm-editor-wrap {
  border: 1px solid rgba(27, 54, 100, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tm-editor-wrap:focus-within {
  border-color: rgba(61, 145, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.14);
}

.tm-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.55rem;
  background: #f4f8fc;
  border-bottom: 1px solid rgba(27, 54, 100, 0.08);
}

.tm-editor-toolbar button {
  border: 1px solid rgba(27, 54, 100, 0.12);
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 0.32rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1.2;
}

.tm-editor-toolbar button:hover {
  border-color: rgba(61, 145, 207, 0.45);
  background: rgba(61, 145, 207, 0.08);
}

.tm-font-size-label {
  margin: 0 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.tm-editor-toolbar #tmFontSize {
  width: 58px;
  padding: 0.32rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(27, 54, 100, 0.12);
  background: #fff;
  font: inherit;
  font-size: 0.8rem;
}

.tm-editor {
  min-height: 110px;
  max-height: 180px;
  overflow: auto;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  line-height: 1.55;
  outline: none;
}

.tm-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.tm-editor:focus {
  border-color: transparent;
  box-shadow: none;
}

.tm-submit {
  width: 100%;
  margin: 0;
}

@media (max-width: 700px) {
  .tm-slider {
    padding: 0.25rem 2.35rem 0;
  }

  .tm-card {
    flex-basis: min(920px, 92%);
    min-width: min(920px, 92%);
    padding: 1.55rem 1.25rem 1.35rem;
    border-radius: 20px;
  }

  .tm-quote-mark {
    font-size: 4.5rem;
    right: 0.85rem;
  }

  .tm-nav {
    width: 40px;
    height: 40px;
  }

  .tm-head {
    align-items: stretch;
  }

  .tm-open-btn {
    width: 100%;
    justify-content: center;
  }

  .tm-brand-copy strong {
    max-width: 140px;
  }

  .tm-stars {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .tm-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .tm-modal-panel {
    width: 100%;
    max-height: min(94vh, 100%);
    height: min(94vh, 100%);
    border-radius: 18px 18px 14px 14px;
  }

  .tm-modal-head {
    padding: 1.1rem 3rem 0.85rem 1.1rem;
  }

  .tm-modal-scroll {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .tm-modal-foot {
    margin-left: -1.1rem;
    margin-right: -1.1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .tm-modal-scroll .form-row {
    grid-template-columns: 1fr;
  }
}

/*
  CTA ↔ footer join (no gap):
  - CTA fades to transparent at bottom
  - Footer pulled up so waves sit in that fade
  - CTA stacking above footer so button stays clear; waves show through the fade
*/
.cta-band {
  position: relative;
  z-index: 3;
  background: linear-gradient(
    180deg,
    #245a8f 0%,
    #2a6faa 38%,
    #3d91cf 58%,
    rgba(61, 145, 207, 0.4) 78%,
    rgba(18, 39, 72, 0) 100%
  );
  padding: 4.25rem 0 8.75rem;
  margin-bottom: -5.75rem;
  color: var(--white);
  overflow: visible;
}

.cta-wave,
.cta-wave--top {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 56px;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.cta-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cta-wave--top path,
.cta-wave path {
  fill: var(--white);
}

.page-home .cta-wave--top path,
.page-home .cta-wave path {
  fill: #d5e8f5;
}

.cta-band .container,
.cta-band .cta-inner {
  position: relative;
  z-index: 4;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.cta-copy {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 42ch;
  margin: 0 auto;
}

.cta-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.75rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-copy > p:not(.cta-kicker) {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 1.65rem;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
}

.cta-band .btn-light,
.cta-band .cta-btn {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  margin-top: 0;
  box-shadow: 0 12px 30px rgba(18, 39, 72, 0.28);
}

.cta-band .btn-light:hover {
  background: var(--mist);
  color: var(--navy-ink);
}

@media (max-width: 700px) {
  .cta-band {
    padding: 3.5rem 0 7.5rem;
    margin-bottom: -5rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .cta-copy {
    max-width: none;
  }

  .cta-wave--top,
  .cta-wave { height: 44px; }
}

/* ---------- Home hero media (image / video) ---------- */
.hero-media-wrap {
  position: absolute;
  inset: -6% 0;
  overflow: hidden;
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Inner page hero (image only) ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  padding: 5.5rem 0 5.5rem;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 26, 51, 0.88) 0%, rgba(27, 54, 100, 0.72) 48%, rgba(61, 145, 207, 0.45) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.page-hero p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  font-size: 1.05rem;
}

.page-banner-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 3;
}

.page-banner-wave svg { width: 100%; height: 56px; display: block; }
.page-banner-wave path { fill: var(--white); }

body.is-ready .page-hero .eyebrow,
body.is-ready .page-hero h1,
body.is-ready .page-hero p {
  animation: heroIn 0.85s var(--ease) both;
}
body.is-ready .page-hero .eyebrow { animation-delay: 0.1s; }
body.is-ready .page-hero h1 { animation-delay: 0.2s; }
body.is-ready .page-hero p { animation-delay: 0.32s; }

/* Legacy page-banner fallback */
.page-banner {
  position: relative;
  padding: 4.25rem 0 5.5rem;
  background: linear-gradient(120deg, var(--navy-ink), var(--navy) 55%, #2a6faa);
  color: var(--white);
  overflow: hidden;
}

/* ---------- Services page: process stack + catalog + modals ---------- */
body.modal-open { overflow: hidden; }

/* Forms need a real system cursor; custom orb was hidden under the modal */
@media (hover: hover) and (pointer: fine) {
  body.modal-open.has-custom-cursor .cursor-orb {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body.modal-open.has-custom-cursor .tm-modal,
  body.modal-open.has-custom-cursor .quote-modal,
  body.modal-open.has-custom-cursor .cr-modal,
  body.modal-open.has-custom-cursor .expert-modal {
    cursor: auto !important;
  }

  body.modal-open.has-custom-cursor .tm-modal *,
  body.modal-open.has-custom-cursor .quote-modal *,
  body.modal-open.has-custom-cursor .cr-modal *,
  body.modal-open.has-custom-cursor .expert-modal * {
    cursor: inherit !important;
  }

  body.modal-open.has-custom-cursor .tm-modal input,
  body.modal-open.has-custom-cursor .tm-modal textarea,
  body.modal-open.has-custom-cursor .tm-modal [contenteditable],
  body.modal-open.has-custom-cursor .quote-modal input,
  body.modal-open.has-custom-cursor .quote-modal textarea,
  body.modal-open.has-custom-cursor .cr-modal input,
  body.modal-open.has-custom-cursor .cr-modal textarea {
    cursor: text !important;
  }

  body.modal-open.has-custom-cursor .tm-modal button,
  body.modal-open.has-custom-cursor .tm-modal label,
  body.modal-open.has-custom-cursor .tm-modal a,
  body.modal-open.has-custom-cursor .tm-modal .tm-rate-btn,
  body.modal-open.has-custom-cursor .tm-modal .tm-suggest-item,
  body.modal-open.has-custom-cursor .quote-modal button,
  body.modal-open.has-custom-cursor .cr-modal button {
    cursor: pointer !important;
  }
}


.svc-process {
  position: relative;
  background: var(--foam);
  padding: 3.5rem 0 0;
  overflow: visible;
  transform: none;
}

.svc-process-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.svc-process-head p:last-child {
  color: var(--muted);
  margin: 0 auto;
  max-width: 46ch;
}

.svc-stack {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem) 2.5rem;
  /* Avoid isolation/overflow traps that break sticky on iOS */
  overflow: visible;
}

/* Pin layer spans full stack height; sticky bg stays fixed in the viewport */
.svc-stack-bg-pin {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.svc-stack-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(11, 26, 51, 0.78) 0%, rgba(27, 54, 100, 0.62) 45%, rgba(61, 145, 207, 0.45) 100%),
    url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
}

/* Mobile JS fallback: pin background while the stack is active */
.svc-stack-bg.is-fixed {
  position: fixed !important;
  top: 0 !important;
  z-index: 0;
  height: 100vh !important;
  height: 100svh !important;
  border-radius: 18px;
  pointer-events: none;
}

.svc-stack-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 0;
  padding-top: 10vh;
  padding-bottom: 2rem;
}

.svc-stretch-card {
  position: sticky;
  top: 10vh;
  z-index: calc(10 + var(--z));
  margin: 0 0 clamp(2.75rem, 9vh, 5rem);
  align-self: center;
  width: min(100%, 820px);
}

.svc-stretch-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 -8px 28px rgba(11, 26, 51, 0.12),
    0 18px 40px rgba(18, 39, 72, 0.16);
  backdrop-filter: blur(6px);
}

.svc-stretch-media {
  position: relative;
  min-height: 0;
  height: 100%;
  background: var(--navy);
}

.svc-stretch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-stretch-num {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.svc-stretch-copy {
  padding: clamp(1rem, 2.4vw, 1.65rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}

.svc-stretch-tag {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.svc-stretch-copy h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.svc-stretch-copy > p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.svc-stretch-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.85rem;
}

.svc-stretch-features li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
}

.svc-stretch-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.svc-stack-end {
  height: 45vh;
  height: 45svh;
  pointer-events: none;
  width: 100%;
}

/* Catalog — folder tabs with themed color panels */
.svc-catalog {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 0% 20%, rgba(61, 145, 207, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 45% at 100% 80%, rgba(27, 54, 100, 0.16), transparent 50%),
    linear-gradient(165deg, #cfe6f5 0%, #e8f4fb 42%, #d4e8f4 100%);
}

.svc-catalog::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 55%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(61, 145, 207, 0.18), transparent 42%);
  pointer-events: none;
}

.svc-catalog-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.svc-catalog-head p:last-child {
  color: var(--muted);
}

.svc-folder {
  --folder-ink: #1b3664;
  --folder-accent: #3d91cf;
  --folder-soft: #b9daf0;
  --folder-wash: #e7f4fc;
  --folder-deep: #143055;
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  transition: --folder-accent 0.35s;
}

.svc-folder[data-theme="WTP"] {
  --folder-ink: #1b3664;
  --folder-accent: #3d91cf;
  --folder-soft: #9fd0ef;
  --folder-wash: #d9effb;
  --folder-deep: #0f2a4d;
}

.svc-folder[data-theme="STP"] {
  --folder-ink: #0f4a52;
  --folder-accent: #2aa5a0;
  --folder-soft: #9ad8d3;
  --folder-wash: #d7f2ef;
  --folder-deep: #0a343a;
}

.svc-folder[data-theme="ETP"] {
  --folder-ink: #243b63;
  --folder-accent: #4f7ec8;
  --folder-soft: #b4c8ea;
  --folder-wash: #e2eaf8;
  --folder-deep: #152748;
}

.svc-tablist {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.svc-tab {
  position: relative;
  flex: 1 1 0;
  max-width: none;
  height: 52px;
  margin: 0 0 -1px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  transform: none;
}

.svc-tab-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  height: 100%;
  min-height: 52px;
  padding: 0 1rem;
  color: var(--folder-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(210, 228, 240, 0.95) 100%);
  border: 1px solid rgba(27, 54, 100, 0.14);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, filter 0.3s;
}

.svc-tab:hover .svc-tab-face {
  filter: brightness(1.04);
  transform: none;
}

.svc-tab.is-active {
  z-index: 3;
}

.svc-tab.is-active .svc-tab-face {
  color: #fff;
  background:
    linear-gradient(145deg, var(--folder-deep) 0%, var(--folder-ink) 48%, var(--folder-accent) 100%);
  border-color: color-mix(in srgb, var(--folder-accent) 35%, transparent);
  box-shadow:
    0 -4px 14px rgba(18, 39, 72, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.svc-tab-code {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(11, 26, 51, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.34rem 0.55rem;
  line-height: 1;
  flex-shrink: 0;
}

.svc-tab:not(.is-active) .svc-tab-code {
  background: linear-gradient(135deg, var(--folder-ink), var(--folder-accent));
  border-color: transparent;
}

.svc-tab.is-active .svc-tab-code {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.svc-tab-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.svc-folder-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, color-mix(in srgb, var(--folder-accent) 35%, transparent), transparent 55%),
    radial-gradient(ellipse 55% 60% at 0% 100%, color-mix(in srgb, var(--folder-ink) 28%, transparent), transparent 50%),
    linear-gradient(145deg, var(--folder-wash) 0%, #fff 42%, color-mix(in srgb, var(--folder-soft) 55%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--folder-accent) 35%, transparent);
  border-radius: 0 18px 18px 18px;
  padding: clamp(1.2rem, 2.6vw, 1.75rem);
  box-shadow:
    0 22px 50px rgba(18, 39, 72, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.svc-folder-body::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--folder-accent) 40%, transparent), transparent 70%);
  pointer-events: none;
}

.svc-folder-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  background-size: 220% 100%;
  animation: folderSheen 7s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}

@keyframes folderSheen {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

.svc-folder-intro {
  position: relative;
  z-index: 1;
  color: var(--folder-ink);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 1.05rem;
  max-width: 64ch;
}

.svc-tabpanel {
  position: relative;
  z-index: 1;
  display: none;
  gap: 1.05rem;
}

.svc-tabpanel.is-active {
  display: grid;
  animation: folderPanelIn 0.4s var(--ease);
}

.svc-tabpanel[hidden] {
  display: none !important;
}

@keyframes folderPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.svc-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-height: 340px;
  box-shadow:
    0 16px 36px rgba(18, 39, 72, 0.12),
    0 0 0 1px color-mix(in srgb, var(--folder-accent) 18%, transparent);
}

.svc-showcase-visual {
  position: relative;
  min-height: 280px;
  height: 100%;
  background: var(--folder-deep);
  overflow: hidden;
}

.svc-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: opacity 0.35s, transform 0.55s var(--ease);
}

.svc-showcase.is-switching .svc-showcase-img {
  opacity: 0.25;
  transform: scale(1.08);
}

.svc-showcase-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 28%, rgba(7, 21, 38, 0.55) 70%, rgba(7, 21, 38, 0.88) 100%);
  pointer-events: none;
}

.svc-showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.4rem;
  color: #fff;
  z-index: 2;
}

.svc-showcase-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--folder-accent) 75%, #000);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  margin-bottom: 0.55rem;
}

.svc-showcase-caption h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 0.25rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.svc-showcase-caption p:last-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  margin: 0;
}

.svc-showcase-copy {
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--folder-wash) 55%, #fff) 100%);
}

.svc-showcase-text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.svc-showcase-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.9rem;
}

.svc-showcase-points li {
  position: relative;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--folder-ink);
  background: color-mix(in srgb, var(--folder-wash) 70%, #fff);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--folder-accent) 18%, transparent);
}

.svc-showcase-points li::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: currentColor;
}

.svc-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.svc-showcase-actions .btn-primary {
  background: linear-gradient(135deg, var(--folder-ink), var(--folder-accent));
  border-color: transparent;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--folder-accent) 35%, transparent);
}

.svc-showcase-actions .btn-outline {
  border-color: color-mix(in srgb, var(--folder-accent) 55%, transparent);
  color: var(--folder-ink);
}

.svc-showcase-actions .btn-outline:hover {
  background: color-mix(in srgb, var(--folder-wash) 80%, #fff);
}

.svc-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.svc-thumb {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.7rem;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 0.45rem 0.65rem 0.45rem 0.45rem;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
}

.svc-thumb:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--folder-accent) 45%, transparent);
  box-shadow: 0 12px 24px rgba(18, 39, 72, 0.1);
  background: #fff;
}

.svc-thumb.is-active {
  border-color: var(--folder-accent);
  background: #fff;
  box-shadow:
    0 14px 28px color-mix(in srgb, var(--folder-accent) 22%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--folder-accent) 25%, transparent);
}

.svc-thumb-media {
  width: 68px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--folder-deep);
  box-shadow: 0 6px 14px rgba(18, 39, 72, 0.16);
}

.svc-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-thumb-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.svc-thumb-text strong {
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--folder-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svc-thumb-text small {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Service modal */
.svc-modal,
.expert-modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.svc-modal.is-open,
.expert-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.svc-modal-backdrop,
.expert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.55);
  backdrop-filter: blur(4px);
}

.svc-modal-panel,
.expert-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.svc-modal.is-open .svc-modal-panel,
.expert-modal.is-open .expert-modal-panel {
  transform: translateY(0) scale(1);
}

.svc-modal-close,
.expert-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 26, 51, 0.75);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.svc-modal-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.svc-modal-media {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.svc-modal-body {
  padding: 1.35rem 1.35rem 0.5rem;
}

.svc-modal-group {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.svc-modal-body h3 {
  margin-bottom: 0.25rem;
}

.svc-modal-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.svc-modal-body > p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.svc-modal-body ul {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.svc-modal-body li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.svc-modal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.svc-modal-actions {
  padding: 0 1.35rem 1.25rem;
}

/* Expert form modal with water */
.expert-modal-panel {
  width: min(560px, 100%);
  overflow: hidden;
}

.expert-water {
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #2a6faa, #3d91cf 55%, transparent);
}

.ew-wave {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 40px;
  bottom: 18px;
  opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.35' d='M0 14C20 4 40 4 60 14s40 10 60 0v14H0z'/%3E%3C/svg%3E") repeat-x;
  background-size: 70px 28px;
  animation: waveShift 1.1s linear infinite;
}

.ew-wave-b {
  bottom: 8px;
  opacity: 0.35;
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.ew-bubble {
  position: absolute;
  bottom: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: expertBubble 3.2s ease-in infinite;
}

.ew-bubble:nth-child(3) { left: 18%; animation-delay: 0.2s; }
.ew-bubble:nth-child(4) { left: 48%; width: 14px; height: 14px; animation-delay: 0.9s; }
.ew-bubble:nth-child(5) { left: 72%; animation-delay: 1.5s; }

@keyframes expertBubble {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: translateY(-90px); opacity: 0; }
}

.expert-modal-body {
  position: relative;
  z-index: 1;
  padding: 4.25rem 1.35rem 1.4rem;
}

.expert-modal-body h3 {
  margin-bottom: 0.35rem;
}

.expert-lead {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.expert-modal-body .form-group label { color: var(--navy); }
.expert-modal-body .form-group input,
.expert-modal-body .form-group select,
.expert-modal-body .form-group textarea {
  background: #f4f9fd;
}

@media (max-width: 900px) {
  .svc-stack {
    padding-bottom: 1.25rem;
  }

  .svc-stack-bg {
    height: 100vh;
    height: 100svh;
    border-radius: 18px;
  }

  .svc-stack-track {
    padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
  }

  .svc-stretch-card {
    position: sticky;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    z-index: calc(10 + var(--z));
    /* Extra runway so each card parks before the next covers it */
    margin: 0 0 clamp(28vh, 42svh, 48vh);
    width: 100%;
    align-self: stretch;
  }

  .svc-stretch-inner {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    max-height: min(72svh, 560px);
  }

  .svc-stretch-media {
    height: clamp(132px, 24svh, 180px);
    flex-shrink: 0;
  }

  .svc-stretch-copy {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.9rem 1rem 1.05rem;
    justify-content: flex-start;
  }

  .svc-stretch-copy > p {
    font-size: 0.86rem;
    margin-bottom: 0.65rem;
  }

  .svc-stretch-features {
    gap: 0.3rem 0.75rem;
  }

  .svc-stack-end {
    height: 18vh;
    height: 18svh;
  }

  .svc-tablist {
    gap: 0.3rem;
    padding: 0;
  }

  .svc-tab {
    max-width: none;
    height: 56px;
  }

  .svc-tab-face {
    flex-direction: column;
    gap: 0.2rem;
    min-height: 56px;
    padding: 0.35rem 0.5rem;
    border-radius: 14px 14px 0 0;
  }

  .svc-tab-name {
    font-size: 0.7rem;
  }

  .svc-folder-body {
    border-radius: 0 14px 14px 14px;
    padding: 1rem;
  }

  .svc-showcase {
    grid-template-columns: 1fr;
  }

  .svc-showcase-visual {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .svc-showcase-points {
    grid-template-columns: 1fr;
  }

  .svc-modal-content {
    grid-template-columns: 1fr;
  }

  .svc-modal-media { min-height: 170px; }
}

@media (max-width: 600px) {
  .svc-process { padding-top: 2.5rem; }
  .svc-process-head { margin-bottom: 1.35rem; }
  .svc-process-head p:last-child {
    font-size: 0.92rem;
  }

  .svc-stretch-features { grid-template-columns: 1fr; }
  .svc-stretch-copy { padding: 0.85rem 0.9rem 1rem; }
  .svc-stretch-inner {
    max-height: min(74svh, 520px);
    border-radius: 16px;
  }
  .svc-stretch-media { height: clamp(120px, 22svh, 160px); }
  .svc-stretch-num { font-size: 1.85rem; left: 0.7rem; bottom: 0.5rem; }
  .svc-stretch-card {
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    margin-bottom: clamp(26vh, 40svh, 46vh);
  }
  .svc-stack-end {
    height: 14vh;
    height: 14svh;
  }

  .svc-tab-name { display: none; }
  .svc-thumbs { grid-template-columns: 1fr; }
}

/* Reduced motion only — keep sticky stack on short/landscape phones */
@media (prefers-reduced-motion: reduce) {
  .svc-stretch-card {
    position: relative;
    top: auto;
    margin-bottom: 1rem;
  }

  .svc-stack-track {
    padding-top: 0.5rem;
  }

  .svc-stack-bg-pin {
    position: relative;
    inset: auto;
    height: 120px;
    margin-bottom: 1rem;
  }

  .svc-stack-bg {
    position: relative;
    height: 120px;
  }

  .svc-stretch-inner { max-height: none; }
  .svc-stack-end { height: 0.5rem; }
}
/* Products — WTP/STP/ETP × Electrical/Mechanical/Consumable */
.px-stage {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 45% at 0% 0%, rgba(61, 145, 207, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(27, 54, 100, 0.12), transparent 50%),
    linear-gradient(180deg, #d6eaf6 0%, #eef5fb 18%, #f4f9fd 100%);
  padding-bottom: 4rem;
}

.px-stage::before,
.px-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.55;
  animation: pxOrb 14s ease-in-out infinite alternate;
}

.px-stage::before {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: 8%;
  right: -8%;
  background: rgba(61, 145, 207, 0.35);
}

.px-stage::after {
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  bottom: 12%;
  left: -6%;
  background: rgba(27, 54, 100, 0.18);
  animation-delay: -4s;
}

@keyframes pxOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

.px-stage > * { position: relative; z-index: 1; }

.px-intro {
  padding: 3rem 0 1.5rem;
}

.px-intro h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.px-intro p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.px-intro strong { color: var(--navy); }

.px-plants {
  padding: 0.5rem 0 1.25rem;
}

.px-plants-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.px-plant {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  text-align: left;
  border: 1px solid rgba(27, 54, 100, 0.12);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.15rem;
  cursor: pointer;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 243, 250, 0.88));
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, color 0.35s;
}

.px-plant::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 26, 51, 0.72), rgba(61, 145, 207, 0.45)),
    var(--plant-img) center/cover no-repeat;
  opacity: 0.42;
  transition: opacity 0.4s;
}

.px-plant > * { position: relative; z-index: 1; }

.px-plant:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 39, 72, 0.12);
}

.px-plant.is-active {
  border-color: transparent;
  color: #fff;
  box-shadow: 0 22px 44px rgba(18, 39, 72, 0.22);
  transform: translateY(-4px);
}

.px-plant.is-active::before { opacity: 1; }

.px-plant-code {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #2a6faa);
  color: #fff;
}

.px-plant.is-active .px-plant-code {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.px-plant-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.px-plant-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.px-plant.is-active .px-plant-copy strong { color: #fff; }

.px-plant-copy small {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.px-plant.is-active .px-plant-copy small { color: rgba(255, 255, 255, 0.78); }

.px-segments-wrap {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 0.35rem 0 1rem;
  background: linear-gradient(180deg, rgba(238, 245, 251, 0.94), rgba(238, 245, 251, 0.78));
  backdrop-filter: blur(10px);
}

.px-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 54, 100, 0.1);
}

.px-seg {
  border: 0;
  cursor: pointer;
  text-align: left;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: transparent;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.px-seg:hover { background: rgba(61, 145, 207, 0.1); }

.px-seg.is-active {
  background: #fff;
  box-shadow: 0 12px 28px rgba(27, 54, 100, 0.1);
  transform: translateY(-1px);
}

.px-seg.is-active .px-seg-label {
  background: linear-gradient(90deg, var(--navy), #3d91cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.px-seg-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.px-seg-blurb {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.px-boards { padding-top: 0.5rem; }

/* Layered scene: plant base + segment overlay */
.px-boards-scene {
  position: relative;
  isolation: isolate;
  margin-top: 0.35rem;
  padding: 1.75rem 0 2.5rem;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  min-height: 420px;
}

.px-scene-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), filter 0.55s ease;
  will-change: opacity, transform;
}

.px-scene-bg--plant {
  opacity: 0;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.03);
}

.px-boards-scene.is-plant-on .px-scene-bg--plant {
  opacity: 0.62;
}

.px-scene-bg--seg {
  opacity: 0;
  mix-blend-mode: soft-light;
  filter: saturate(0.85);
  transform: scale(1.06);
}

.px-boards-scene.is-seg-on .px-scene-bg--plant {
  opacity: 0.48;
  filter: saturate(0.82) contrast(0.98);
}

.px-boards-scene.is-seg-on .px-scene-bg--seg {
  opacity: 0.28;
  transform: scale(1.03);
}

.px-scene-bg--seg.is-swap {
  opacity: 0 !important;
}

.px-scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 249, 253, 0.32) 0%, rgba(244, 249, 253, 0.18) 40%, rgba(238, 245, 251, 0.36) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.15), transparent 65%);
}

.px-boards-scene .px-boards {
  position: relative;
  z-index: 2;
  padding-top: 0.25rem;
}

.px-board {
  display: none;
  animation: pxBoardIn 0.4s var(--ease);
}

.px-board.is-active { display: block; }
.px-board[hidden] { display: none !important; }

@keyframes pxBoardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.px-board-head {
  margin-bottom: 1.25rem;
  max-width: 52ch;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(18, 39, 72, 0.06);
}

.px-board-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.px-board-head h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.px-board-head p { color: var(--muted); margin: 0; }

.px-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.px-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 54, 100, 0.1);
  box-shadow: 0 10px 28px rgba(18, 39, 72, 0.06);
  opacity: 0;
  transform: translateY(16px);
  animation: pxCardIn 0.5s var(--ease) forwards;
  animation-delay: calc(min(var(--i, 0), 12) * 0.04s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.px-card:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 145, 207, 0.35);
  box-shadow: 0 22px 44px rgba(18, 39, 72, 0.14);
}

@keyframes pxCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.px-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}

.px-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.px-card:hover .px-card-media::after { transform: translateX(120%); }

.px-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.px-card:hover .px-card-media img { transform: scale(1.08); }

.px-card-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 26, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.px-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}

.px-card-body h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.px-card-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}

.px-card-cta {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #123055, #3d91cf);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.px-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(61, 145, 207, 0.35);
  filter: brightness(1.05);
}

.px-card-cta span:last-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.25s;
}

.px-card-cta:hover span:last-child { transform: translateX(3px); }

/* Quote modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 32, 0.68);
  backdrop-filter: blur(8px);
}

.quote-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(27, 54, 100, 0.08);
  transform: translateY(22px) scale(0.96);
  transition: transform 0.38s var(--ease);
}

.quote-modal.is-open .quote-modal-panel {
  transform: translateY(0) scale(1);
}

.quote-modal-head {
  position: relative;
  flex: 0 0 auto;
  padding: 1.35rem 1.4rem 1.15rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(7, 18, 36, 0.72) 0%, rgba(11, 30, 58, 0.55) 45%, rgba(20, 55, 95, 0.48) 100%),
    url("../images/water-splash.png") center 35%/cover no-repeat;
}

.quote-modal-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 70% at 85% 15%, rgba(61, 145, 207, 0.28), transparent 55%),
    linear-gradient(180deg, transparent 35%, rgba(7, 18, 36, 0.4) 100%);
  pointer-events: none;
}

.quote-modal-head h3 {
  margin: 0.2rem 0 0.45rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quote-modal-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(179, 229, 252, 0.95);
}

.quote-modal-head .quote-lead {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 38ch;
}

.quote-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.quote-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.quote-selected {
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b1a33;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

.quote-selected:not([hidden]) {
  display: inline-flex;
}

.quote-selected::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d91cf;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.25);
}

.quote-modal-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.2rem 1.35rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 54, 100, 0.28) transparent;
}

.quote-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.quote-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(27, 54, 100, 0.28);
  border-radius: 999px;
}

.quote-modal-scroll .form-group {
  margin-bottom: 0.85rem;
}

.quote-modal-scroll .form-row {
  gap: 0.75rem;
}

.quote-modal-scroll .form-group label {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.quote-modal-scroll .form-group input,
.quote-modal-scroll .form-group textarea {
  background: #f3f8fc;
  border: 1px solid rgba(27, 54, 100, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.quote-modal-scroll .form-group input:focus,
.quote-modal-scroll .form-group textarea:focus {
  background: #fff;
  border-color: rgba(61, 145, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.18);
  outline: none;
}

.quote-modal-scroll .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.quote-modal-foot {
  position: sticky;
  bottom: 0;
  margin: 0.35rem -1.35rem 0;
  padding: 0.95rem 1.35rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #123055, #3d91cf);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 14px 28px rgba(61, 145, 207, 0.32);
  transition: transform 0.22s, filter 0.22s, box-shadow 0.22s;
}

.quote-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 34px rgba(61, 145, 207, 0.4);
}

.quote-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

@media (max-width: 560px) {
  .quote-modal {
    padding: 0.65rem;
    align-items: flex-end;
  }

  .quote-modal-panel {
    width: 100%;
    max-height: min(92vh, 760px);
    border-radius: 18px 18px 14px 14px;
  }

  .quote-modal-head {
    padding: 1.15rem 1.1rem 1rem;
  }

  .quote-modal-scroll {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .quote-modal-foot {
    margin-left: -1.1rem;
    margin-right: -1.1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .quote-modal-scroll .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .px-plants-row { grid-template-columns: 1fr; }
  .px-plant-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .px-segments { grid-template-columns: 1fr; }
  .px-seg-blurb { display: none; }
  .px-grid { grid-template-columns: 1fr; }
  .px-segments-wrap { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .px-stage::before,
  .px-stage::after,
  .px-board,
  .px-card,
  .px-card-media img,
  .px-card-media::after { animation: none !important; transition: none !important; }
  .px-card { opacity: 1; transform: none; }
}

/* About page extras */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(27,54,100,.5), rgba(61,145,207,.35)),
    url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow);
}

.split-badge {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-tile {
  padding: 1.5rem;
  background: var(--foam);
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.feature-tile p { color: var(--muted); }
.feature-icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 0.85rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--foam);
  border-radius: 14px;
  border-top: 3px solid var(--blue);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.stat span { font-size: 0.88rem; color: var(--muted); }

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.region-list span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--mist-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

/* ===== About page — history / MVG / founders / team / join ===== */
.ab-history {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(61, 145, 207, 0.12), transparent 55%),
    linear-gradient(180deg, #eef5fb 0%, #f7fbfd 100%);
}

.ab-history-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.ab-history-copy .lead { margin-bottom: 1rem; }

.ab-history-copy p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.ab-history-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ab-history-points li {
  position: relative;
  padding-left: 1.35rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.ab-history-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.2);
  animation: eneDotBlink 1.55s ease-in-out infinite;
}

.ab-history-media {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(18, 39, 72, 0.16);
}

.ab-history-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ab-history-media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(11, 26, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.ab-mvg {
  background: #fff;
}

.ab-mvg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ab-mvg-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.45rem;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(238, 245, 251, 0.9));
  border: 1px solid rgba(27, 54, 100, 0.1);
  box-shadow: 0 12px 30px rgba(18, 39, 72, 0.06);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.ab-mvg-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--blue));
}

.ab-mvg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 39, 72, 0.12);
}

.ab-mvg-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

.ab-mvg-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.ab-mvg-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ab-founders {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(61, 145, 207, 0.14), transparent 50%),
    linear-gradient(180deg, #e8f2f9 0%, #f4f9fd 100%);
}

.fd-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  perspective: 1400px;
}

.fd-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 520px;
}

.fd-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1a33;
  box-shadow: 0 16px 36px rgba(18, 39, 72, 0.12);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, filter 0.45s, opacity 0.45s;
}

.fd-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(18, 39, 72, 0.18);
}

.fd-tile-media {
  display: block;
  flex: 1;
  min-height: 420px;
  overflow: hidden;
}

.fd-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}

.fd-tile:hover .fd-tile-media img {
  transform: scale(1.05);
}

.fd-tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 3rem 1.4rem 1.4rem;
  display: grid;
  gap: 0.35rem;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 36, 0) 0%,
    rgba(7, 18, 36, 0.55) 24%,
    rgba(7, 18, 36, 0.88) 58%,
    rgba(4, 12, 26, 0.98) 100%
  );
}

.fd-tile-meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
  position: relative;
  z-index: 1;
}

.fd-tile-meta small {
  font-size: clamp(0.9rem, 1.45vw, 1.02rem);
  font-weight: 600;
  color: #b3e5fc;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Center “View” — fades in from middle on hover */
.fd-tile-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  pointer-events: none;
  background: rgba(7, 18, 36, 0.42);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-tile-hint span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(27, 54, 100, 0.92), rgba(61, 145, 207, 0.9));
  box-shadow: 0 12px 28px rgba(7, 18, 36, 0.35);
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-tile:hover .fd-tile-hint,
.fd-tile:focus-visible .fd-tile-hint {
  opacity: 1;
}

.fd-tile:hover .fd-tile-hint span,
.fd-tile:focus-visible .fd-tile-hint span {
  opacity: 1;
  transform: scale(1);
}

.fd-stage.is-open .fd-tile .fd-tile-hint {
  opacity: 0 !important;
}

.fd-stage.is-open .fd-tile.is-behind {
  filter: brightness(0.55) saturate(0.85);
  transform: scale(0.98);
}

.fd-stage.is-open .fd-tile.is-active {
  opacity: 0.28;
  pointer-events: none;
}

/* Soft dim veil over the stage when message is open */
.fd-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: rgba(6, 14, 28, 0.38);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-stage.is-open::after {
  opacity: 1;
}

.fd-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 6;
  width: 78%;
  display: flex;
  pointer-events: none;
  opacity: 0;
}

.fd-stage.is-from-left .fd-overlay {
  left: 0;
  right: auto;
}

.fd-stage.is-from-right .fd-overlay {
  right: 0;
  left: auto;
}

.fd-overlay.is-in {
  pointer-events: auto;
  opacity: 1;
}

.fd-stage.is-from-left .fd-overlay.is-in {
  animation: fdSlideInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fd-stage.is-from-right .fd-overlay.is-in {
  animation: fdSlideInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fd-stage.is-from-left .fd-overlay.is-out {
  animation: fdSlideOutLeft 0.48s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fd-stage.is-from-right .fd-overlay.is-out {
  animation: fdSlideOutRight 0.48s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fdSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10%) scale(0.96) rotateY(8deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
  }
}

@keyframes fdSlideInRight {
  from {
    opacity: 0;
    transform: translateX(10%) scale(0.96) rotateY(-8deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
  }
}

@keyframes fdSlideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-8%) scale(0.97) rotateY(6deg);
  }
}

@keyframes fdSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(8%) scale(0.97) rotateY(-6deg);
  }
}

.fd-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 18, 36, 0.32);
  -webkit-appearance: none;
  appearance: none;
}

.fd-panel *,
.fd-panel *::before,
.fd-panel *::after {
  box-sizing: border-box;
}

.fd-banner,
.fd-figure,
.fd-foot {
  border: none;
  outline: none;
}

.fd-back {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.fd-panel:hover .fd-back,
.fd-panel:focus-within .fd-back {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (hover: none) {
  .fd-back {
    opacity: 0.85;
    pointer-events: auto;
    transform: translateX(0);
  }

  .fd-panel.is-mirror .fd-back {
    transform: translateX(0) scaleX(-1);
  }
}

.fd-back:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fd-back svg {
  display: block;
}

/* Right-side open: arrow on the right, pointing right */
.fd-panel.is-mirror .fd-back {
  left: auto;
  right: 0.7rem;
  transform: translateX(6px) scaleX(-1);
}

.fd-panel.is-mirror:hover .fd-back,
.fd-panel.is-mirror:focus-within .fd-back {
  transform: translateX(0) scaleX(-1);
}

.fd-banner {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 0;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 20% 20%, rgba(179, 229, 252, 0.18), transparent 50%),
    linear-gradient(115deg, #1a6f8f 0%, #1b3664 55%, #123055 100%);
}

.fd-panel.is-mirror .fd-banner {
  grid-template-columns: 0.95fr 1.05fr;
}

.fd-panel.is-mirror .fd-quote-block { order: 2; }
.fd-panel.is-mirror .fd-figure { order: 1; }

.fd-panel.is-mirror .fd-foot {
  flex-direction: row-reverse;
}

.fd-panel.is-mirror .fd-foot-id { text-align: left; }

.fd-quote-block {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.4rem 1.6rem 2rem 2rem;
  z-index: 1;
}

.fd-quote {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  max-width: 36ch;
}

.fd-marks {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.7;
  color: rgba(179, 229, 252, 0.28);
  pointer-events: none;
  user-select: none;
}

.fd-marks--open { top: 1.1rem; left: 0.85rem; }
.fd-marks--close { right: 1rem; bottom: 0.6rem; }

.fd-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
}

.fd-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fd-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.35rem;
  background: #fff;
  border: none;
}

.fd-foot-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.fd-foot-id {
  text-align: right;
  display: grid;
  gap: 0.1rem;
}

.fd-foot-id span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fd-foot-id strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
}

@media (max-width: 900px) {
  /* Closed state: two portraits side by side */
  .fd-stage {
    min-height: 340px;
    border-radius: 18px;
  }

  .fd-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    min-height: 340px;
  }

  .fd-tile {
    border-radius: 14px;
  }

  .fd-tile-media {
    min-height: 280px;
  }

  .fd-tile-meta {
    padding: 2.25rem 0.85rem 0.95rem;
  }

  .fd-tile-meta strong {
    font-size: clamp(0.95rem, 3.6vw, 1.2rem);
  }

  .fd-tile-meta small {
    font-size: 0.78rem;
  }

  .fd-tile-hint span {
    min-width: 4.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }

  /* Open state: taller card so portrait + quote both fit */
  .fd-stage.is-open {
    min-height: min(86vh, 680px);
  }

  .fd-stage.is-open .fd-tiles {
    min-height: min(86vh, 680px);
  }

  .fd-overlay {
    width: 94%;
  }

  .fd-panel {
    border-radius: 18px;
  }

  /* Mobile card: photo on top, quote under, foot at bottom */
  .fd-banner,
  .fd-panel.is-mirror .fd-banner {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none !important;
    min-height: 0;
    flex: 1 1 auto;
  }

  .fd-figure,
  .fd-panel.is-mirror .fd-figure {
    order: -1 !important;
    flex: 1 1 48%;
    min-height: 220px;
    max-height: none;
    width: 100%;
  }

  .fd-figure img {
    object-position: center 18%;
  }

  .fd-quote-block,
  .fd-panel.is-mirror .fd-quote-block {
    order: 0 !important;
    flex: 0 1 auto;
    align-items: flex-start;
    padding: 1.15rem 1.1rem 1.25rem;
    max-height: 42%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fd-quote {
    font-size: clamp(0.88rem, 3.5vw, 1.02rem);
    line-height: 1.55;
    max-width: none;
  }

  .fd-marks {
    font-size: 3.5rem;
  }

  .fd-marks--open { top: 0.55rem; left: 0.55rem; }
  .fd-marks--close { right: 0.65rem; bottom: 0.35rem; }

  /* Back control: always top-left, clear of the face */
  .fd-back,
  .fd-panel.is-mirror .fd-back {
    top: 0.75rem;
    left: 0.75rem;
    right: auto;
    bottom: auto;
    margin-top: 0;
    width: 42px;
    height: 42px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(11, 26, 51, 0.55);
  }

  .fd-panel.is-mirror .fd-back {
    transform: none;
  }

  .fd-panel.is-mirror .fd-back svg {
    transform: scaleX(-1);
  }

  .fd-foot,
  .fd-panel.is-mirror .fd-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .fd-foot-brand img {
    height: 28px;
  }

  .fd-foot-id,
  .fd-panel.is-mirror .fd-foot-id {
    text-align: right;
  }

  .fd-foot-id strong {
    font-size: 0.92rem;
  }

  /* Simpler slide on narrow screens */
  .fd-stage.is-from-left .fd-overlay.is-in {
    animation: fdSlideInLeftMobile 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .fd-stage.is-from-right .fd-overlay.is-in {
    animation: fdSlideInRightMobile 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .fd-stage.is-from-left .fd-overlay.is-out {
    animation: fdSlideOutLeftMobile 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .fd-stage.is-from-right .fd-overlay.is-out {
    animation: fdSlideOutRightMobile 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  }
}

@keyframes fdSlideInLeftMobile {
  from { opacity: 0; transform: translateX(-12%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fdSlideInRightMobile {
  from { opacity: 0; transform: translateX(12%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fdSlideOutLeftMobile {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-10%); }
}

@keyframes fdSlideOutRightMobile {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(10%); }
}

/* Touch: always show a light “View” cue (no hover) */
@media (hover: none), (pointer: coarse) {
  .fd-tile-hint {
    opacity: 0.55;
    background: rgba(7, 18, 36, 0.22);
  }

  .fd-tile-hint span {
    opacity: 1;
    transform: scale(0.92);
  }

  .fd-tile:active .fd-tile-hint,
  .fd-tile.is-pressed .fd-tile-hint {
    opacity: 1;
  }

  .fd-tile:active .fd-tile-hint span,
  .fd-tile.is-pressed .fd-tile-hint span {
    transform: scale(1);
  }

  .fd-stage.is-open .fd-tile .fd-tile-hint {
    opacity: 0 !important;
  }
}

@media (max-width: 480px) {
  .fd-stage:not(.is-open),
  .fd-stage:not(.is-open) .fd-tiles {
    min-height: 300px;
  }

  .fd-stage:not(.is-open) .fd-tile-media {
    min-height: 250px;
  }

  .fd-stage.is-open {
    min-height: min(90vh, 720px);
  }

  .fd-stage.is-open .fd-tiles {
    min-height: min(90vh, 720px);
  }

  .fd-overlay {
    width: 96%;
  }

  .fd-figure,
  .fd-panel.is-mirror .fd-figure {
    min-height: 240px;
    flex-basis: 46%;
  }

  .fd-quote-block {
    padding: 1rem 0.95rem 1.1rem;
    max-height: 38%;
  }

  .fd-back,
  .fd-panel.is-mirror .fd-back {
    top: 0.65rem;
    left: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-overlay.is-in,
  .fd-overlay.is-out {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .fd-stage::after {
    transition: none !important;
  }
}

.ab-team {
  background: #fff;
}


.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ab-team-card {
  text-align: center;
}

.ab-team-card[data-reveal] {
  /* reveal handles entrance — avoid double opacity animation */
  animation: none;
}

.ab-team-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(18, 39, 72, 0.1);
}

.ab-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.ab-team-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.4rem 1rem 1.15rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(11, 26, 51, 0.35) 28%,
    rgba(27, 54, 100, 0.88) 68%,
    rgba(61, 145, 207, 0.95) 100%
  );
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease),
    opacity 0.35s ease;
  pointer-events: none;
}

.ab-team-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.ab-team-meta p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(179, 229, 252, 0.95);
}

.ab-team-card:hover .ab-team-photo img,
.ab-team-card:focus-within .ab-team-photo img,
.ab-team-card.is-lit .ab-team-photo img,
.ab-team-card.is-active .ab-team-photo img {
  transform: scale(1.07);
}

.ab-team-card:hover .ab-team-meta,
.ab-team-card:focus-within .ab-team-meta,
.ab-team-card.is-lit .ab-team-meta,
.ab-team-card.is-active .ab-team-meta {
  transform: translateY(0);
  opacity: 1;
}

/* Touch: same reveal as desktop hover — via scroll/tap classes from about.js */
@media (hover: none), (pointer: coarse) {
  .ab-team-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

.ab-mvg-card:active {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(18, 39, 72, 0.1);
}

/* About page responsive grids */
@media (max-width: 1024px) {
  .ab-history-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ab-mvg-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .ab-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ab-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .ab-team-meta h3 {
    font-size: 0.95rem;
  }

  .ab-team-meta p {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .ab-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
}

/* About — Career section (joins footer waves like CTA) */
.ab-career {
  position: relative;
  z-index: 3;
  overflow: visible;
  padding: 4.75rem 0 8.75rem;
  margin-bottom: -5.75rem;
  color: #fff;
  background: linear-gradient(
    180deg,
    #0f2444 0%,
    #1b3664 32%,
    #245a8f 52%,
    #3d91cf 68%,
    rgba(61, 145, 207, 0.4) 82%,
    rgba(18, 39, 72, 0) 100%
  );
}

.ab-career-wave--top {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 56px;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}

.ab-career-wave--top svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ab-career-wave--top path {
  fill: #fff; /* matches Our Team section above */
}

.ab-career::before {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% 35%, rgba(179, 229, 252, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 65%, rgba(61, 145, 207, 0.2), transparent 50%);
  pointer-events: none;
}

.ab-career-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.ab-career-copy {
  max-width: 34rem;
}

.ab-career-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(179, 229, 252, 0.95);
}

.ab-career-copy h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.ab-career-copy > p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 40ch;
}

.ab-career-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.2rem 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
}

.ab-career-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.ab-career-cta-arrow {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 54, 100, 0.1);
  color: var(--navy);
  transition: transform 0.28s var(--ease);
}

.ab-career-cta:hover .ab-career-cta-arrow {
  transform: translateX(3px);
}

.ab-career-visual {
  position: relative;
  min-height: 220px;
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.ab-career-pulse {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0.25rem auto 0;
}

.ab-career-pulse span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(179, 229, 252, 0.55);
  animation: abCareerPulse 2.4s ease-out infinite;
}

.ab-career-pulse span:nth-child(2) { animation-delay: 0.55s; }
.ab-career-pulse span:nth-child(3) { animation-delay: 1.1s; }

.ab-career-pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #b3e5fc;
  box-shadow: 0 0 0 6px rgba(179, 229, 252, 0.2);
}

.ab-career-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  height: 64px;
}

.ab-career-bars i {
  display: block;
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b3e5fc, #3d91cf);
  transform-origin: bottom center;
  animation: abCareerBar 1.6s ease-in-out infinite alternate;
}

.ab-career-bars i:nth-child(1) { height: 28%; animation-delay: 0s; }
.ab-career-bars i:nth-child(2) { height: 55%; animation-delay: 0.15s; }
.ab-career-bars i:nth-child(3) { height: 78%; animation-delay: 0.3s; }
.ab-career-bars i:nth-child(4) { height: 46%; animation-delay: 0.45s; }
.ab-career-bars i:nth-child(5) { height: 64%; animation-delay: 0.6s; }

.ab-career-visual-label {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes abCareerPulse {
  0% { transform: scale(0.45); opacity: 0.85; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes abCareerBar {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

@media (max-width: 860px) {
  .ab-career {
    padding: 4rem 0 7.5rem;
    margin-bottom: -5rem;
  }

  .ab-career-wave--top {
    height: 44px;
  }

  .ab-career-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ab-career-visual {
    min-height: 180px;
    max-width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-career-pulse span,
  .ab-career-bars i { animation: none !important; }
}

html.ene-lite .ab-career-pulse span,
html.ene-lite .ab-career-bars i { animation: none !important; }

/* ===== Career page ===== */
.page-career {
  --cr-glow: rgba(61, 145, 207, 0.45);
  --cr-line: rgba(179, 229, 252, 0.35);
}

.page-career .page-hero .hero-overlay {
  background:
    linear-gradient(115deg, rgba(11, 26, 51, 0.82) 0%, rgba(27, 54, 100, 0.55) 48%, rgba(61, 145, 207, 0.35) 100%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(179, 229, 252, 0.25), transparent 55%);
}

.cr-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  background: linear-gradient(135deg, rgba(27, 54, 100, 0.92), rgba(42, 111, 170, 0.85));
  border: 1px solid rgba(179, 229, 252, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(61, 145, 207, 0.25);
}

.cr-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dffb3;
  box-shadow: 0 0 10px #7dffb3;
  animation: crPulse 1.6s ease-in-out infinite;
}

@keyframes crPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.cr-btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(110deg, #1b3664 0%, #2a6faa 48%, #3d91cf 100%);
  background-size: 160% 100%;
  box-shadow:
    0 12px 28px rgba(27, 54, 100, 0.28),
    0 0 0 1px rgba(179, 229, 252, 0.25) inset;
  transition: background-position 0.45s var(--ease), transform 0.3s, box-shadow 0.3s;
}

.cr-btn-glow:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(27, 54, 100, 0.35),
    0 0 28px rgba(61, 145, 207, 0.35);
  color: #fff;
}

.cr-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-radius: 12px;
  border: 1px solid rgba(27, 54, 100, 0.2);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.cr-btn-ghost:hover {
  border-color: rgba(61, 145, 207, 0.55);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  color: var(--navy);
}

.cr-btn-full {
  width: 100%;
  margin-top: 0.35rem;
}

/* Intro */
.cr-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 10% 0%, rgba(61, 145, 207, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 80%, rgba(179, 229, 252, 0.22), transparent 50%),
    linear-gradient(180deg, #e8f2fa 0%, #f7fbfd 100%);
}

.cr-intro-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cr-beam {
  position: absolute;
  top: -20%;
  left: 18%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(61, 145, 207, 0.55), transparent);
  transform: rotate(18deg);
  animation: crBeamDrift 7s ease-in-out infinite;
  opacity: 0.7;
}

.cr-beam--b {
  left: 62%;
  width: 1px;
  animation-delay: -2.5s;
  animation-duration: 9s;
  opacity: 0.45;
}

.cr-grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 54, 100, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 54, 100, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

@keyframes crBeamDrift {
  0%, 100% { transform: rotate(18deg) translateX(0); opacity: 0.45; }
  50% { transform: rotate(18deg) translateX(28px); opacity: 0.85; }
}

.cr-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.cr-intro-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--navy-ink) 0%, var(--navy) 45%, #2a6faa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.cr-intro-stats {
  display: grid;
  gap: 0.85rem;
}

.cr-stat-card {
  position: relative;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(179, 229, 252, 0.55);
  box-shadow:
    0 14px 32px rgba(18, 39, 72, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.cr-stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--mist), var(--blue));
}

.cr-stat-card:hover {
  transform: translateX(4px);
  box-shadow: 0 18px 40px rgba(18, 39, 72, 0.12), 0 0 24px rgba(61, 145, 207, 0.15);
}

.cr-stat-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.cr-stat-card span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Benefits */
.cr-benefits {
  background: #fff;
  position: relative;
}

.cr-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cr-benefit {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 20px;
  background: linear-gradient(165deg, #f7fbfe 0%, #eaf4fb 100%);
  border: 1px solid rgba(27, 54, 100, 0.08);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.cr-benefit-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle at 50% 0%, rgba(61, 145, 207, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.cr-benefit:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 145, 207, 0.35);
  box-shadow: 0 22px 44px rgba(18, 39, 72, 0.12);
}

.cr-benefit:hover .cr-benefit-glow {
  opacity: 1;
}

.cr-benefit-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: transparent;
  background: linear-gradient(120deg, var(--blue), #7ec8f0);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.cr-benefit h3 {
  position: relative;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.cr-benefit p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Features */
.cr-features {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(61, 145, 207, 0.12), transparent 55%),
    linear-gradient(180deg, #eef5fb 0%, #f4f9fd 100%);
}

.cr-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cr-feature {
  position: relative;
  padding: 1.4rem 1.25rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 54, 100, 0.08);
  box-shadow: 0 10px 28px rgba(18, 39, 72, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.cr-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(179, 229, 252, 0.8), transparent 40%, rgba(61, 145, 207, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.cr-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 39, 72, 0.1);
}

.cr-feature:hover::after {
  opacity: 1;
}

.cr-feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(61, 145, 207, 0.75);
  margin-bottom: 0.65rem;
}

.cr-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.cr-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Zones */
.cr-zones {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0b1a33 0%, #122748 40%, #1b3664 100%);
  color: #fff;
}

.cr-zones .section-head .eyebrow {
  color: var(--mist);
}

.cr-zones .section-head h2,
.cr-zones .lead {
  color: #fff;
}

.cr-zones .lead {
  opacity: 0.78;
}

.cr-zones-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 55% at 15% 20%, rgba(61, 145, 207, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 50% at 90% 80%, rgba(179, 229, 252, 0.12), transparent 50%);
  opacity: 0.9;
}

.cr-zones-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(179, 229, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 229, 252, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 90%);
  opacity: 0.5;
}

.cr-zones .container {
  position: relative;
  z-index: 1;
}

.cr-zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cr-zone {
  position: relative;
  padding: 1.45rem 1.25rem;
  border-radius: 18px;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(179, 229, 252, 0.18);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s;
}

.cr-zone:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 229, 252, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.cr-zone-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  top: -40%;
  background: linear-gradient(180deg, transparent, rgba(179, 229, 252, 0.12), transparent);
  animation: crScan 4.5s ease-in-out infinite;
  animation-delay: calc(var(--zi, 0) * 0.4s);
  pointer-events: none;
}

@keyframes crScan {
  0% { top: -40%; opacity: 0; }
  20% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.cr-zone-focus {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.cr-zone h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.18rem;
}

.cr-zone p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Jobs */
.cr-jobs {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(61, 145, 207, 0.1), transparent 50%),
    linear-gradient(180deg, #eef5fb 0%, #f7fbfd 100%);
}

.cr-jobs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cr-search-wrap {
  flex: 1 1 280px;
  max-width: 440px;
}

.cr-search-shell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 54, 100, 0.12);
  box-shadow:
    0 12px 28px rgba(18, 39, 72, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cr-search-shell:focus-within {
  border-color: rgba(61, 145, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.16), 0 14px 32px rgba(18, 39, 72, 0.08);
}

.cr-search-ico {
  font-size: 1.05rem;
  color: var(--blue);
  opacity: 0.85;
  line-height: 1;
}

.cr-search {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.85rem 0;
  font: inherit;
  color: var(--navy);
  outline: none;
  box-shadow: none;
}

.cr-search-meta {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cr-job-list {
  display: grid;
  gap: 0.9rem;
}

.cr-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 54, 100, 0.1);
  box-shadow: 0 12px 30px rgba(18, 39, 72, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.cr-job:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 145, 207, 0.35);
  box-shadow: 0 20px 44px rgba(18, 39, 72, 0.12), 0 0 28px rgba(61, 145, 207, 0.1);
}

.cr-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.cr-job-tags span {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(179, 229, 252, 0.55), rgba(61, 145, 207, 0.15));
  border: 1px solid rgba(61, 145, 207, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.cr-job-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.cr-job-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cr-job-apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(110deg, #1b3664, #3d91cf);
  background-size: 150% 100%;
  box-shadow: 0 10px 24px rgba(27, 54, 100, 0.22);
  transition: background-position 0.4s, transform 0.3s, box-shadow 0.3s;
}

.cr-job-apply:hover {
  background-position: 100% 0;
  transform: translateX(2px);
  box-shadow: 0 14px 30px rgba(27, 54, 100, 0.3), 0 0 22px rgba(61, 145, 207, 0.3);
}

.cr-empty {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--muted);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px dashed rgba(27, 54, 100, 0.2);
  background: rgba(255, 255, 255, 0.55);
}

/* CV drop */
.cr-cv {
  position: relative;
  background:
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(61, 145, 207, 0.12), transparent 55%),
    #fff;
}

.cr-cv-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.25rem;
  align-items: start;
}

.cr-cv-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.cr-cv-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cr-cv-points li {
  position: relative;
  padding: 0.75rem 0.9rem 0.75rem 2rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f9fd, #eef5fb);
  border: 1px solid rgba(27, 54, 100, 0.07);
}

.cr-cv-points li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(61, 145, 207, 0.18);
  animation: eneDotBlink 1.55s ease-in-out infinite;
}

.cr-cv-panel {
  position: relative;
  padding: 1.65rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(244, 249, 253, 0.95), rgba(238, 245, 251, 0.98));
  border: 1px solid rgba(27, 54, 100, 0.1);
  box-shadow: 0 20px 48px rgba(18, 39, 72, 0.08);
  overflow: hidden;
}

.cr-cv-panel-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(61, 145, 207, 0.2), transparent 70%);
  pointer-events: none;
}

.cr-cv-panel form {
  position: relative;
  z-index: 1;
}

.cr-file-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.cr-cv-panel .form-group input[type="file"],
.cr-modal .form-group input[type="file"] {
  padding: 0.55rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-career .cr-cv-panel .form-group input,
.page-career .cr-cv-panel .form-group select,
.page-career .cr-cv-panel .form-group textarea,
.page-career .cr-modal .form-group input,
.page-career .cr-modal .form-group select,
.page-career .cr-modal .form-group textarea {
  border-radius: 12px;
  border-color: rgba(27, 54, 100, 0.12);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-career .cr-cv-panel .form-group input:focus,
.page-career .cr-cv-panel .form-group select:focus,
.page-career .cr-cv-panel .form-group textarea:focus,
.page-career .cr-modal .form-group input:focus,
.page-career .cr-modal .form-group select:focus,
.page-career .cr-modal .form-group textarea:focus {
  border-color: rgba(61, 145, 207, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.14);
}

/* Apply modal */
.cr-modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.cr-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cr-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(61, 145, 207, 0.2), transparent 60%),
    rgba(6, 16, 32, 0.72);
  backdrop-filter: blur(8px);
}

.cr-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  border-radius: 22px;
  border: 1px solid rgba(179, 229, 252, 0.45);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(61, 145, 207, 0.15);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.4s var(--ease);
}

.cr-modal.is-open .cr-modal-panel {
  transform: none;
}

.cr-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 54, 100, 0.08);
  color: var(--navy);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s, transform 0.25s;
}

.cr-modal-close:hover {
  background: rgba(61, 145, 207, 0.18);
  transform: rotate(90deg);
}

.cr-modal-body {
  padding: 1.55rem 1.45rem 1.45rem;
}

.cr-modal-body h3 {
  margin: 0.2rem 0 0.35rem;
}

.cr-modal-meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1000px) {
  .cr-benefit-grid,
  .cr-zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cr-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cr-intro-grid,
  .cr-cv-grid {
    grid-template-columns: 1fr;
  }

  .cr-job {
    flex-direction: column;
    align-items: flex-start;
  }

  .cr-job-apply {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cr-benefit-grid,
  .cr-feature-grid,
  .cr-zone-grid {
    grid-template-columns: 1fr;
  }

  .cr-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cr-btn-glow,
  .cr-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-beam,
  .cr-zone-scan,
  .cr-chip::before,
  .cr-cv-points li::before {
    animation: none !important;
  }
}

html.ene-lite .cr-beam,
html.ene-lite .cr-zone-scan,
html.ene-lite .cr-chip::before {
  animation: none !important;
}

html.ene-lite .cr-grid-fade,
html.ene-lite .cr-zones-bg::after {
  opacity: 0.25;
}

/* ===== Gallery albums + ENE player ===== */
.album-gallery {
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(61, 145, 207, 0.1), transparent 50%),
    linear-gradient(180deg, #eef5fb 0%, #f7fbfd 100%);
}

.album-intro {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.album-intro-accent {
  color: var(--blue);
}

.album-shelf-wrap {
  position: relative;
  margin-bottom: 1.75rem;
}

.album-shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 22%);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.album-cover {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  display: grid;
  gap: 0.7rem;
  transition: transform 0.3s var(--ease);
}

.album-cover:hover {
  transform: translateY(-4px);
}

.album-cover-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(18, 39, 72, 0.12);
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.album-cover.is-active .album-cover-frame {
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(61, 145, 207, 0.28);
}

.album-cover-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s var(--ease);
}

.album-cover:hover .album-cover-img {
  transform: scale(1.06);
}

.album-cover-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 18, 36, 0.72) 100%);
  pointer-events: none;
}

.album-cover-index {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(11, 26, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}

.album-cover-badge {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(61, 145, 207, 0.88);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.album-cover-meta {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.15rem;
}

.album-cover-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.album-cover.is-active .album-cover-title {
  color: var(--blue);
}

.album-cover-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.album-shelf-rail {
  height: 3px;
  border-radius: 999px;
  background: rgba(27, 54, 100, 0.1);
  overflow: hidden;
}

.album-shelf-rail span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}

.album-stage {
  position: relative;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(27, 54, 100, 0.08);
}

.album-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

.album-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.album-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.album-desc {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  font-size: 0.98rem;
}

.album-header-stat {
  text-align: right;
  flex-shrink: 0;
}

.album-header-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.album-header-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.album-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.15rem;
}

.media-box {
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(min(var(--box-i, 0), 8) * 0.04s);
}

.media-box.is-in {
  opacity: 1;
  transform: none;
}

.media-box-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 11;
  box-shadow: 0 14px 32px rgba(18, 39, 72, 0.1);
}

.media-box-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 26, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.media-box-image {
  width: 100%;
  height: 100%;
}

.media-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.media-box:hover .media-box-image img {
  transform: scale(1.04);
}

.media-box-caption {
  margin: 0.65rem 0.1rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ENE video player */
.ene-player {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0b1a33;
}

.ene-player-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.ene-player-bigplay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, rgba(27, 54, 100, 0.92), rgba(61, 145, 207, 0.95));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  transition: transform 0.25s, filter 0.25s, opacity 0.25s;
}

.ene-player-bigplay:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.ene-player.is-playing .ene-player-bigplay {
  opacity: 0;
  pointer-events: none;
}

.ene-player-icon {
  display: grid;
  place-items: center;
}

.ene-player-dock {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: rgba(8, 20, 40, 0.88);
  border: 1px solid rgba(179, 229, 252, 0.14);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.ene-player:hover .ene-player-dock,
.ene-player.is-playing .ene-player-dock,
.ene-player.is-focused .ene-player-dock {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ene-player-toggle,
.ene-player-mute {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(61, 145, 207, 0.22);
  color: var(--mist);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ene-player-toggle:hover,
.ene-player-mute:hover {
  background: var(--blue);
  color: #fff;
}

.ene-player-toggle .icon-pause,
.ene-player.is-playing .ene-player-toggle .icon-play {
  display: none;
}

.ene-player.is-playing .ene-player-toggle .icon-pause {
  display: block;
}

.ene-player-mute .icon-mute,
.ene-player.is-muted .ene-player-mute .icon-vol {
  display: none;
}

.ene-player.is-muted .ene-player-mute .icon-mute {
  display: block;
}

.ene-player-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.ene-player-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d91cf, #b3e5fc);
}

.ene-player-time {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .media-box {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info {
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--navy), #2a6faa);
  color: var(--white);
}

.contact-info h2 { color: var(--white); }
.contact-info > p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }

.contact-detail { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contact-detail dd { font-size: 1.02rem; font-weight: 500; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.98rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--foam);
  color: var(--text);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(61,145,207,0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.alert-success { background: #e8f8ef; color: #146c43; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecea; color: #b02a37; border: 1px solid #f5c2c7; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 6rem; /* gallery / pages without CTA */
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  z-index: 2;
  overflow: visible;
}

/* Pages with CTA / Career band: no gap — waves animate inside the fade */
body:has(.cta-band) .site-footer,
body:has(.ab-career) .site-footer {
  margin-top: 0;
}

body:has(.cta-band) .footer-wave,
body:has(.ab-career) .footer-wave {
  top: -105px;
  height: 110px;
}

.footer-main {
  position: relative;
  z-index: 3;
  padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(1.25rem, 3vw, 2rem);
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  max-width: 100%;
}

.footer-logo {
  display: block;
  height: clamp(40px, 5vw, 48px);
  width: auto;
  max-width: min(160px, 70vw);
  object-fit: contain;
}

.footer-about p {
  font-size: clamp(0.85rem, 1.6vw, 0.9rem);
  color: rgba(255,255,255,0.65);
  max-width: 32ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-col ul { display: grid; gap: 0.45rem; }

.footer-col a {
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  color: rgba(255,255,255,0.7);
  transition: color 0.25s, padding-left 0.25s;
  word-break: break-word;
}

.footer-col a.footer-logo-link {
  color: inherit;
}

.footer-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fc-ico {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--mist);
}

.follow-label {
  margin-top: 1.1rem;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  padding: 0 !important;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, color 0.25s;
}

.social-btn svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.footer-bar {
  position: relative;
  z-index: 3;
  background: transparent;
  border-top: 1px solid rgba(179,229,252,0.12);
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  font-size: clamp(0.75rem, 1.4vw, 0.82rem);
  color: rgba(255,255,255,0.55);
}

.footer-bar-inner > p {
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  flex: 0 0 auto;
}

.footer-legal a:hover { color: var(--mist); }

/* Pointer devices only — avoid sticky hover on touch */
@media (hover: hover) and (pointer: fine) {
  .footer-logo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }

  .footer-col a:hover {
    color: var(--mist);
    padding-left: 4px;
  }

  .footer-col a.footer-logo-link:hover {
    color: inherit;
    padding: 0.55rem 0.85rem;
  }

  .footer-col a.social-btn:hover {
    padding-left: 0;
    color: var(--white) !important;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
  }
}

@media (hover: none), (pointer: coarse) {
  .social-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .footer-col a {
    padding: 0.1rem 0;
  }
}

/* Laptop / large tablet — keep 4 cols, tighten */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
    gap: 1.5rem 1.25rem;
  }
}

/* iPad / tablet landscape & portrait — 2×2 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.15rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-about p {
    max-width: 48ch;
  }

  .footer-main {
    padding: 0.85rem 0 1rem;
  }

  .footer-wave {
    top: -64px;
    height: 68px;
  }

  body:has(.cta-band) .footer-wave,
  body:has(.ab-career) .footer-wave {
    top: -78px;
    height: 82px;
  }
}

/* Phones — compact height */
@media (max-width: 700px) {
  .site-footer {
    margin-top: 2.75rem;
  }

  .footer-main {
    padding: 0.55rem 0 0.65rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
  }

  .footer-about,
  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-logo-link {
    margin-bottom: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  }

  .footer-logo {
    height: 44px;
    max-width: 150px;
  }

  .footer-about p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: none;
    margin: 0;
  }

  .footer-col h4 {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
  }

  .footer-col ul {
    gap: 0.22rem;
  }

  .footer-col a {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .footer-contact li {
    font-size: 0.8rem;
    gap: 0.4rem;
    line-height: 1.35;
  }

  .follow-label {
    margin-top: 0.65rem;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
  }

  .social-row {
    gap: 0.4rem;
  }

  .social-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .social-btn svg {
    width: 14px;
    height: 14px;
  }

  .footer-bar {
    padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    font-size: 0.72rem;
  }

  .footer-bar-inner > p {
    flex: 0 0 auto;
    width: 100%;
  }

  .footer-legal {
    flex: 0 0 auto;
    gap: 0.45rem 0.85rem;
  }

  .footer-wave {
    top: -48px;
    height: 52px;
  }

  body:has(.cta-band) .footer-wave,
  body:has(.ab-career) .footer-wave {
    top: -58px;
    height: 62px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .site-footer {
    margin-top: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.65rem;
  }

  /* Keep Quick Links + Services side by side; about + contact full width */
  .footer-about,
  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-logo {
    height: 42px;
    max-width: 145px;
  }

  .footer-logo-link {
    padding: 0.4rem 0.65rem;
  }

  .footer-about p {
    font-size: 0.76rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .footer-col h4 {
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
  }

  .footer-col a,
  .footer-contact li {
    font-size: 0.76rem;
  }

  .footer-main {
    padding: 0.4rem 0 0.5rem;
  }

  .footer-wave {
    top: -40px;
    height: 44px;
  }

  body:has(.cta-band) .footer-wave,
  body:has(.ab-career) .footer-wave {
    top: -50px;
    height: 54px;
  }
}

/* Very small / foldable narrow */
@media (max-width: 360px) {
  .social-row { gap: 0.3rem; }
  .social-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .footer-legal { gap: 0.35rem 0.7rem; }
  .footer-grid { gap: 0.65rem 0.5rem; }
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(61,145,207,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover { background: var(--navy); }

/* When chatbot is present, lift back-to-top above the chat toggle */
body:has(#eneChat) .back-top {
  bottom: 7rem;
}

/* ---------- Floating chatbot ---------- */
.ene-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
  font-family: var(--font);
}

.ene-chat-toggle {
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(27, 54, 100, 0.38);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.ene-chat-toggle:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 44px rgba(61, 145, 207, 0.42);
}

.ene-chat-toggle svg,
.ene-agent-icon {
  width: 44px;
  height: 44px;
  display: block;
}

.ene-chat.is-open .ene-chat-toggle {
  background: var(--navy-ink);
}

.ene-chat.is-open .ene-agent-icon {
  transform: scale(0.95);
}

.ene-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(360px, calc(100vw - 2rem));
  height: min(520px, calc(100vh - 7rem));
  background: #f4f9fd;
  border: 1px solid rgba(27, 54, 100, 0.12);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(11, 26, 51, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.ene-chat.is-open .ene-chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ene-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(120deg, var(--navy), #2a6faa);
  color: var(--white);
}

.ene-chat-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.ene-chat-head span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.ene-chat-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.ene-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.9rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ene-msg { display: flex; max-width: 92%; }
.ene-msg--bot { align-self: flex-start; }
.ene-msg--user { align-self: flex-end; }

.ene-bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 6px 16px rgba(18, 39, 72, 0.06);
}

.ene-msg--bot .ene-bubble {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(27, 54, 100, 0.08);
  border-bottom-left-radius: 5px;
}

.ene-msg--user .ene-bubble {
  background: linear-gradient(135deg, var(--blue), #2a6faa);
  color: var(--white);
  border-bottom-right-radius: 5px;
}

.ene-text { margin: 0; }

.ene-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ene-list-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.7rem 0.5rem 1.45rem;
  border: 1px solid transparent;
  background: rgba(61, 145, 207, 0.08);
  border-radius: 8px;
  font: inherit;
  font-size: 0.84rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    background 0.2s ease,
    border-color 0.2s ease;
}

.ene-list-item.is-shown {
  opacity: 1;
  transform: translateX(0);
}

.ene-list-item:hover,
.ene-list-item:focus-visible {
  background: rgba(61, 145, 207, 0.16);
  border-color: rgba(61, 145, 207, 0.35);
  outline: none;
}

.ene-list-item:active {
  transform: translateX(0) scale(0.99);
}

.ene-list-item::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  pointer-events: none;
}

.ene-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue) !important;
}

.ene-cta-link:hover { color: var(--navy) !important; }

.ene-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 42px;
  padding: 0.55rem 0.75rem !important;
}

.ene-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.45;
  animation: eneChatDot 1.1s infinite ease-in-out;
}

.ene-typing span:nth-child(2) { animation-delay: 0.15s; }
.ene-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes eneChatDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.ene-chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.85rem;
  border-top: 1px solid rgba(27, 54, 100, 0.08);
  background: rgba(255,255,255,0.85);
}

.ene-chat-input {
  flex: 1;
  border: 1px solid rgba(27, 54, 100, 0.14);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.ene-chat-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 145, 207, 0.18);
}

.ene-chat-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
}

.ene-chat-send:hover {
  background: var(--blue);
  transform: scale(1.04);
}

.ene-chat-send svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .ene-chat {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .ene-chat-panel {
    width: calc(100vw - 1.7rem);
    height: min(70vh, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ene-typing span { animation: none; }
  .ene-list-item { opacity: 1; transform: none; }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

[data-delay="0"] { --delay: 0; }
[data-delay="1"] { --delay: 1; }
[data-delay="2"] { --delay: 2; }
[data-delay="3"] { --delay: 3; }

@media (max-width: 700px) {
  [data-reveal] {
    transform: translateY(22px);
  }

  [data-reveal="left"] { transform: translateX(-18px); }
  [data-reveal="right"] { transform: translateX(18px); }

  [data-reveal].is-visible,
  [data-reveal="left"].is-visible,
  [data-reveal="right"].is-visible {
    transform: none;
  }
}

/* ---------- Responsive (all devices) ---------- */
@media (max-width: 1200px) {
  .header-inner { padding-left: 1.1rem; padding-right: 1.1rem; }
  .main-nav a { padding: 0.5rem 0.45rem; font-size: 0.78rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 88px; }
  .brand-logo { height: 68px; }
  .header-phone { display: none; }
  .nav-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: linear-gradient(165deg, var(--navy-ink), var(--navy) 60%, #2a6faa);
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
    padding: env(safe-area-inset-top, 0) 1.25rem env(safe-area-inset-bottom, 0);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    color: var(--white);
    font-size: clamp(1.05rem, 4vw, 1.25rem);
    padding: 0.75rem 1rem;
  }

  .main-nav a::after { display: none; }
  .site-header.is-scrolled .main-nav a,
  .site-header.is-scrolled .main-nav a:hover,
  .site-header.is-scrolled .main-nav a.active {
    color: var(--white);
  }
  .nav-toggle.is-open span,
  .site-header.is-scrolled .nav-toggle.is-open span { background: var(--white); }

  .solutions-grid,
  .about-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { justify-content: flex-start; padding-right: 0; margin-top: 0.5rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .product-grid,
  .px-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .album-media-grid { gap: 1.15rem 1rem; }
  .album-shelf { grid-auto-columns: minmax(150px, 38vw); }
  .album-stage { padding-top: 1.15rem; }

  .section { padding: 4rem 0; }
  .page-hero {
    min-height: 340px;
    padding: 4rem 0 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-grid { padding: 1.5rem 0 5rem; }
  .hero-features {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
  .hero-badge { display: none; }
  .solution-cards { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .section { padding: 3.25rem 0; }
  .page-hero {
    min-height: 280px;
    padding: 3.25rem 0 2.75rem;
  }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: 0.95rem; }

  .cta-band {
    padding: 3.25rem 0 7rem;
    margin-bottom: -4.5rem;
  }

  .ene-chat-toggle {
    width: 64px;
    height: 64px;
  }
  .ene-agent-icon {
    width: 36px;
    height: 36px;
  }
  body:has(#eneChat) .back-top { bottom: 6.25rem; }
}

@media (max-width: 600px) {
  .solution-cards,
  .about-features,
  .product-grid,
  .px-grid,
  .feature-grid,
  .form-row { grid-template-columns: 1fr; }

  .album-media-grid { grid-template-columns: 1fr; }
  .album-shelf { grid-auto-columns: minmax(140px, 68vw); }
  .album-intro { margin-bottom: 1.35rem; }
  .album-header-stat { display: none; }
  .media-box-frame { aspect-ratio: 16 / 11; }
  .ene-player-dock { opacity: 1; transform: none; pointer-events: auto; }
  .album-cover-frame { aspect-ratio: 3 / 4; }

  .brand-logo { height: 56px; }
  .header-inner { padding: 0.45rem 0.85rem; }
  .badge-ring { width: 140px; height: 140px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .stat-item strong { font-size: 1.7rem; }
  .stat-item > span:last-child { font-size: 0.8rem; }
  .cta-inner { align-items: center; }

  .clients-head { margin-bottom: 1.25rem; }
  .clients-sub { font-size: 0.92rem; }

  .loader-tank--ro {
    width: min(140px, 38vw);
    height: min(250px, 48vh);
  }
  .ro-pipe { display: none; }
  .loader-logo { width: min(96px, 26vw); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .stat-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 0.75rem;
    padding: 0.35rem 0;
  }
  .hero-sub { font-size: 0.95rem; }
  .hero-feat span { font-size: 0.82rem; }

  .cta-band {
    padding: 2.75rem 0 6.5rem;
    margin-bottom: -4rem;
  }
  .cta-band h2 { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .cta-copy > p:not(.cta-kicker) { font-size: 0.95rem; }

  .ene-chat {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .ene-chat-toggle {
    width: 58px;
    height: 58px;
  }
  .ene-agent-icon {
    width: 32px;
    height: 32px;
  }
  .ene-chat-panel {
    width: calc(100vw - 1.5rem);
    height: min(72vh, 520px);
    right: 0;
  }
  body:has(#eneChat) .back-top {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    right: max(0.75rem, env(safe-area-inset-right));
  }

  .album-title { font-size: 1.45rem; }
  .album-desc { font-size: 0.95rem; }
  .media-box-caption { font-size: 0.85rem; }
}

/* Landscape phones / short viewports */
@media (max-height: 500px) and (orientation: landscape) {
  .loader-tank--ro {
    width: min(110px, 22vw);
    height: min(160px, 58vh);
  }
  .loader-phrase { font-size: 1rem; margin-bottom: 0.35rem; }
  .ro-pipe { display: none; }
  .page-loader .loader-stage { padding: 0.75rem; }
  .hero { min-height: auto; }
  .page-hero { min-height: 220px; padding: 2.5rem 0 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-track,
  .fw-track,
  .hw-track,
  .clients-track,
  .badge-ring { animation: none !important; }
  [data-hero],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  body { animation: none; }
  .ene-sec-fx,
  .scroll-progress,
  .eyebrow::before {
    animation: none !important;
  }
  .ene-sec-fx { display: none; }
}

/* Pause decorative infinite animations when offscreen */
.anim-offscreen .splash-track,
.anim-offscreen .fw-track,
.anim-offscreen .hw-track,
.anim-offscreen .clients-track,
.anim-offscreen .badge-ring,
.anim-offscreen .loader-aurora,
.anim-offscreen .ew-wave,
.anim-offscreen.svc-folder-body::after,
.anim-offscreen .cta-wave,
.anim-offscreen.ene-sec-fx .ene-sec-blob,
.anim-offscreen.ene-sec-fx .ene-sec-wave,
.anim-offscreen.ene-sec-fx .ene-sec-dots,
.anim-offscreen.ene-sec-fx .ene-sec-spark {
  animation-play-state: paused !important;
}

/* Lite mode — slow network / save-data */
html.ene-lite .page-loader,
html.ene-lite .cursor-orb,
html.ene-lite .cursor-fx-layer,
html.ene-lite .ene-sec-fx {
  display: none !important;
}

html.ene-lite body {
  animation: none;
}

html.ene-lite .splash-track,
html.ene-lite .fw-track,
html.ene-lite .hw-track,
html.ene-lite .clients-track,
html.ene-lite .badge-ring,
html.ene-lite .svc-folder-body::after,
html.ene-lite .ew-wave,
html.ene-lite .scroll-progress,
html.ene-lite .eyebrow::before {
  animation: none !important;
}

html.ene-lite .svc-stretch-inner,
html.ene-lite .svc-modal-backdrop,
html.ene-lite .expert-modal-backdrop,
html.ene-lite .svc-thumb {
  backdrop-filter: none !important;
}

html.ene-lite .px-stage::before,
html.ene-lite .px-stage::after,
html.ene-lite .px-card-media::after {
  animation: none !important;
}

html.ene-lite [data-parallax] {
  transform: none !important;
}

