/* ============================================================
   Seven Chem & Tech - redesign
   Theme: dark marine-industrial (locked dark by brand intent)
   Type: Archivo (variable, expanded display) + JetBrains Mono
   Shape system: all-sharp (radius 0 everywhere)
   Z scale: menu 200 / nav 210 (nav above menu: burger is the close button)
   ============================================================ */

:root {
  --bg: #04121e;
  --bg-2: #081c2c;
  --ink: #eaf3f7;
  --muted: #84a7b8;
  --dim: #33505f;
  --accent: #2fc6cf;
  --accent-ink: #04161c;
  --line: rgba(234, 243, 247, 0.1);
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--primary:hover::after { left: 115%; }

.btn--ghost {
  border: 1px solid rgba(237, 241, 244, 0.3);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(237, 241, 244, 0.06); }

.btn--nav { padding: 0.65rem 1.3rem; font-size: 0.875rem; }

/* ------------------------------------------------------------
   Preloader: counts 0 -> 100 on every load / refresh / navigation.
   BULLETPROOF DISMISSAL. The old version was removed because mobile
   Safari suspends timers/animation frames (Low Power Mode, app
   switching), so a screenshot showed it frozen at "11%" on a black
   page. This version can never trap a visitor: js/preloader inline
   script finishes it on load, a hard timeout, first interaction,
   tab-visible and bfcache-restore - AND the CSS keyframe below fades
   it out on its own even if no script runs at all.
   ------------------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  background: var(--bg);
  /* Ultimate failsafe: if every script is dead/suspended, the overlay
     still fades and stops blocking the page after ~3.4s. */
  animation: preloader-failsafe 0.6s ease 3.4s forwards;
}
.preloader__inner {
  width: 100%;
  padding: var(--pad-x);
  padding-bottom: clamp(2rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.preloader__brand {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.preloader__count {
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.preloader__count::after {
  content: "%";
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: super;
}
.preloader__bar {
  height: 2px;
  width: 100%;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}
/* JS-driven dismissal: overrides the failsafe animation and fades out. */
.preloader.is-done {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
@keyframes preloader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { animation-delay: 0.8s; }
  .preloader.is-done { transition: none; }
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Above the mobile menu overlay (200): the burger doubles as the
     close button, so it must stay clickable while the menu is open. */
  z-index: 210;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0 var(--pad-x);
  /* No backdrop-filter here: blurring the page behind a fixed bar forces
     a repaint on every scroll frame and is the main scroll-jank source. */
  background: linear-gradient(to bottom, rgba(4, 18, 30, 0.92), rgba(4, 18, 30, 0));
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease;
}
.nav.is-solid {
  height: 60px;
  background: rgba(4, 18, 30, 0.92);
}
.nav__logo { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__logo-main {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.nav__links { display: flex; gap: 1.5rem; }
.nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu__link.is-active { color: var(--accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu__links { display: flex; flex-direction: column; gap: 0.25rem; }
.menu__link {
  overflow: hidden;
  /* Long labels ("Who We Are") must stay on one line: the roll-over
     effect clips anything past the first line, so wrapping = cut text. */
  font-size: clamp(2rem, 8.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu__link span { display: inline-block; }
.menu__link:hover { color: var(--accent); }
.menu__foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__sea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg) 4%, rgba(4, 18, 30, 0.25) 45%, rgba(4, 18, 30, 0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad-x) clamp(3rem, 8vh, 6rem);
  max-width: 1400px;
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  padding-bottom: 0.05em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line-inner { display: inline-block; }
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1rem, 1.4vw, 1.175rem);
  color: var(--muted);
  margin-bottom: 2.25rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------------------------
   Hero v2: full-bleed rotating film strip + nautical rain +
   scramble headline (21st.dev "modern animated hero" adaptation)
   ------------------------------------------------------------ */
.hero2 {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Clear the 72px fixed nav on short viewports (13" laptops, phones):
     without this the centered content slides under the bar. */
  padding: calc(72px + 1.5rem) 0 3.5rem;
}
.hero2__bg { position: absolute; inset: 0; }
.hero2__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease;
  filter: contrast(1.05) brightness(0.88) saturate(1.08);
}
.hero2__video.is-active { opacity: 1; }
/* Autoplay fallback: iOS blocks background video in Low Power Mode and
   paints a native play glyph over the paused frame. When play() is
   refused, js/hero.js adds .hero2--novideo - the videos (and the glyph)
   disappear and this still frame carries the hero instead. */
.hero2__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) brightness(0.88) saturate(1.08);
  display: none;
}
.hero2--novideo .hero2__video { visibility: hidden; }
.hero2--novideo .hero2__poster { display: block; }

/* On phones, slide 0 ("Driven by expertise") swaps to a purpose-shot PORTRAIT
   clip + poster (see the inline swap in index.html); those frame themselves, so
   the slide-0 video keeps the default centre crop. Only the shared still
   fallback (.hero2__poster - the landscape MORPHOU shot shown if autoplay is
   refused) needs the left bias, so its bow still reads when cover-cropped on a
   narrow viewport. */
@media (max-width: 767px) {
  .hero2__poster { object-position: 10% center; }
}

/* Suppress iOS's central "tap to play" glyph that Safari paints over a
   muted-autoplay <video> it declined to start. These background clips are
   decorative and never meant to be tapped. */
.hero2__video::-webkit-media-controls-start-playback-button,
.hero2__video::-webkit-media-controls-play-button,
.hero2__video::-webkit-media-controls,
.fleethero__media video::-webkit-media-controls-start-playback-button,
.fleethero__media video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}
.hero2__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  mix-blend-mode: screen;
}
.hero2__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(4, 18, 30, 0.1) 30%, rgba(4, 18, 30, 0.52) 100%),
    linear-gradient(to bottom, rgba(4, 18, 30, 0.72), rgba(4, 18, 30, 0.18) 32%, rgba(4, 18, 30, 0.18) 62%, var(--bg) 100%);
}
.hero2__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  /* Wide enough for the keyword headline to sit on two lines instead of
     stacking into four; the sub keeps its own narrower 74ch measure below. */
  max-width: 1400px;
  padding: 0 var(--pad-x);
  margin-top: -1.5rem;
  text-align: center;
}
.hero2__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero2__title {
  /* Sized so the longest keyword phrase sits on two balanced lines rather
     than stacking; still a large display headline. */
  font-size: clamp(1.9rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  /* Two-line reservation: the rotating phrases wrap to one or two lines
     depending on length, and without a fixed box every slide change
     shoved the sub, CTAs and port checker up and down. Flex centering
     keeps a one-line phrase in the middle of the reserved box. */
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero2__title .dud { color: var(--dim); }
.hero2__sub {
  max-width: 74ch;
  font-size: clamp(0.85rem, 1vw, 0.975rem);
  line-height: 1.65;
  color: var(--muted);
}
.hero2__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.hero2__strip {
  position: absolute;
  left: var(--pad-x);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(360px, calc(100% - 2 * var(--pad-x)));
}
.hero2__meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.hero2__label { display: inline-block; transition: opacity 0.25s ease, transform 0.25s ease; }
.hero2__label.is-swapping { opacity: 0; transform: translateY(6px); }
.hero2__meta-sep { color: var(--dim); }
.hero2__meta-index { color: var(--muted); letter-spacing: 0.1em; }
.hero2__stories { display: flex; gap: 0.45rem; }
.hero2__cue {
  position: absolute;
  right: var(--pad-x);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero2__cue span {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero2__cue span { animation: hero-cue 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
  @keyframes hero-cue {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }
}
@media (max-width: 640px) {
  .hero2__title { min-height: 2.2em; }
  .hero2__cue { display: none; }
  .hero2__strip { bottom: 1.4rem; }
}
@media (max-width: 767px) {
  /* The -1.5rem optical nudge fights the nav clearance on phones */
  .hero2__content { margin-top: 0; gap: 1.1rem; }
  .hero2__sub { font-size: 0.875rem; line-height: 1.6; }
  /* Copy fills most of the phone screen, so the footage needs a much
     deeper mid-tone than on desktop for the paragraph to stay legible */
  .hero2__shade {
    background: linear-gradient(to bottom,
      rgba(4, 18, 30, 0.82),
      rgba(4, 18, 30, 0.58) 35%,
      rgba(4, 18, 30, 0.62) 70%,
      var(--bg) 100%);
  }
}

/* ------------------------------------------------------------
   Port checker (hero): autocomplete over the named port network
   ------------------------------------------------------------ */
.portcheck {
  position: relative;
  width: min(480px, 100%);
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}
.portcheck__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.portcheck__box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  background: rgba(4, 18, 30, 0.82);
  border: 1px solid rgba(234, 243, 247, 0.18);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.portcheck__box:focus-within {
  border-color: var(--accent);
  background: rgba(4, 18, 30, 0.75);
}
.portcheck__icon { color: var(--muted); flex-shrink: 0; }
.portcheck__input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9875rem;
}
.portcheck__input::placeholder { color: var(--dim); }
.portcheck__list {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(8, 28, 44, 0.96);
  border: 1px solid rgba(234, 243, 247, 0.14);
  max-height: 264px;
  overflow: auto;
}
.portcheck__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(234, 243, 247, 0.06);
}
.portcheck__item:last-child { border-bottom: 0; }
.portcheck__item:hover,
.portcheck__item.is-focused { background: rgba(47, 198, 207, 0.1); }
.portcheck__port { font-weight: 600; font-size: 0.9375rem; }
.portcheck__where {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}
.portcheck__result {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.portcheck__result.is-visible { opacity: 1; transform: none; }
.portcheck__yes { color: var(--ink); font-weight: 600; }
.portcheck__go { color: var(--accent); font-weight: 600; white-space: nowrap; }
.portcheck__go:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.faq__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.faq__title {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  font-stretch: 112%;
  transition: color 0.3s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2em;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__body {
  padding: 0 0 1.5rem;
  color: var(--muted);
  max-width: 62ch;
  font-size: 0.975rem;
}

/* ------------------------------------------------------------
   Fleet hero: satellite footage expands on scroll while fleet
   imagery drifts past (21st.dev modern-hero adaptation)
   ------------------------------------------------------------ */
.fleethero { position: relative; background: var(--bg); }
/* Desktop with JS: SmoothScrollHero behaviour. The section is 1500px taller
   than the viewport (the reference's SECTION_HEIGHT); the pin is CSS-sticky
   and holds the screen for that distance while js/main.js scrubs the media
   window open from small to full-bleed and fades the headline and fleet
   frames in. No JS (or reduced motion below) = static full-bleed fallback. */
@media (min-width: 768px) {
  .js .fleethero { height: calc(1500px + 100vh); }
  .js .fleethero__pin { position: sticky; top: 0; height: 100vh; min-height: 0; }
  /* Resting state = the small centred window the scrub starts from, so the
     footage is never full-bleed for a frame before the script wires up. */
  .js .fleethero__media { clip-path: inset(25% 30% 25% 30%); transform: scale(1.08); }
}
.fleethero__pin {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fleethero__media {
  position: absolute;
  inset: 0;
  transform-origin: center;
  will-change: clip-path, transform;
}
.fleethero__media video,
.fleethero__media .vid-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.82) saturate(1.06);
}
/* Still frame shown only when the video's autoplay is refused (iOS Low
   Power Mode), so no native play button ever shows over the footage. */
.fleethero__media .vid-fallback { position: absolute; inset: 0; display: none; }
.fleethero__media.is-novideo video { visibility: hidden; }
.fleethero__media.is-novideo .vid-fallback { display: block; }
.fleethero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 18, 30, 0.45), rgba(4, 18, 30, 0.15) 40%, rgba(4, 18, 30, 0.55));
}
/* Parallax images in the SmoothScrollHero idiom: large, borderless
   frames at varied widths that travel and fade at their own speeds. */
.fleethero__float {
  position: absolute;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.82) saturate(1.05);
  z-index: 2;
  will-change: transform, opacity;
}
/* Pushed firmly into the four corners and sized down so they never cross
   the central headline lane or clip past the top edge - the collisions the
   old, larger floats caused. Their parallax (js/main.js) is symmetric, so at
   rest they sit exactly here. */
.fleethero__float--1 { width: clamp(150px, 19vw, 300px); aspect-ratio: 16 / 10; top: 7%;    left: 2.5%; }
.fleethero__float--2 { width: clamp(130px, 15vw, 230px); aspect-ratio: 4 / 5;  bottom: 11%; left: 4.5%; }
.fleethero__float--3 { width: clamp(150px, 17vw, 280px); aspect-ratio: 3 / 2;  top: 8%;     right: 3%; }
.fleethero__float--4 { width: clamp(160px, 19vw, 300px); aspect-ratio: 16 / 9; bottom: 9%;  right: 3.5%; }
/* Bottom fade dissolves the expanded footage into the dark section below
   (the SmoothScrollHero "to-zinc-950" gradient). */
.fleethero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 18, 30, 0) 0%, rgba(4, 18, 30, 0.55) 55%, var(--bg) 100%);
}
.fleethero__copy {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 0 var(--pad-x);
}
/* Soft scrim behind the headline: the parallax frames drift right past
   the copy, and white type over a bright hull was unreadable. */
.fleethero__copy::before {
  content: "";
  position: absolute;
  inset: -30% -18%;
  z-index: -1;
  background: radial-gradient(ellipse 55% 58% at 50% 50%, rgba(4, 18, 30, 0.6), transparent 72%);
  pointer-events: none;
}
.fleethero__title {
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(2, 8, 13, 0.55);
}
.fleethero__sub {
  max-width: 44ch;
  color: var(--ink);
  opacity: 0.85;
  font-size: clamp(0.975rem, 1.3vw, 1.125rem);
  text-shadow: 0 2px 18px rgba(2, 8, 13, 0.6);
}
@media (max-width: 767px) {
  /* Phones: a plain full-bleed video hero of the ship with the headline -
     no pin, no scroll-grow, no fleet frames. */
  .fleethero__pin { min-height: 100dvh; }
  .fleethero__media { clip-path: inset(0 0 0 0); transform: none; }
  .fleethero__float { display: none; }
}
/* Reduced motion (any width): no scrub - static full-bleed video + headline. */
@media (prefers-reduced-motion: reduce) {
  .js .fleethero { height: auto; }
  .js .fleethero__pin { position: relative; min-height: 100dvh; }
  .js .fleethero__media { clip-path: inset(0 0 0 0); transform: none; }
  .fleethero__float { display: none; }
}

/* Fleet panels: expanding accordion under the satellite hero.
   The hovered/focused panel grows, its image saturates and the copy
   slides in; collapsed panels show index + name only. */
.fpanels {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.fpanels__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
  display: flex;
  gap: 0.6rem;
  height: clamp(460px, 72vh, 680px);
}
.fpanel {
  position: relative;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: flex-grow 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: block;
}
.fpanel:hover,
.fpanel:focus-visible { flex-grow: 2.6; border-color: rgba(47, 198, 207, 0.45); }
.fpanel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.72) saturate(0.55);
  transform: scale(1.06);
  transition: filter 0.6s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fpanel:hover > img,
.fpanel:focus-visible > img {
  filter: contrast(1.05) brightness(0.9) saturate(1.08);
  transform: scale(1);
}
.fpanel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 30, 0.88), rgba(4, 18, 30, 0.15) 55%, rgba(4, 18, 30, 0.35));
}
.fpanel__idx {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.fpanel__body {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.fpanel__name {
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}
.fpanel__desc,
.fpanel__cta {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.12s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
.fpanel__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34ch;
}
.fpanel__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.fpanel__cta i { font-style: normal; }
.fpanel:hover .fpanel__desc,
.fpanel:hover .fpanel__cta,
.fpanel:focus-visible .fpanel__desc,
.fpanel:focus-visible .fpanel__cta { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .fpanels__inner { flex-direction: column; height: auto; }
  .fpanel { min-height: 210px; }
  .fpanel:hover, .fpanel:focus-visible { flex-grow: 1; }
  .fpanel > img { filter: contrast(1.05) brightness(0.85) saturate(1); transform: none; }
  .fpanel__desc, .fpanel__cta { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Before / after comparison slider
   ------------------------------------------------------------ */
.compare {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.compare__head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.compare__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.compare__sub { color: var(--muted); max-width: 52ch; }
.compare__box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__img--before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(47, 198, 207, 0.45);
  pointer-events: none;
  z-index: 2;
}
.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 18, 30, 0.85);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}
.compare__tag {
  position: absolute;
  top: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: rgba(4, 18, 30, 0.88);
  border: 1px solid rgba(234, 243, 247, 0.16);
  color: var(--ink);
  pointer-events: none;
}
.compare__tag--b { left: 1rem; }
.compare__tag--a { right: 1rem; color: var(--accent); border-color: rgba(47, 198, 207, 0.4); }
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.compare__box:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------------------------------
   Watch: YouTube facade with custom chrome
   ------------------------------------------------------------ */
.watch {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(5rem, 10vw, 9rem);
}
.watch__head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.watch__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.watch__sub { color: var(--muted); max-width: 56ch; }
.watch__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #02080d;
}
.watch__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.watch__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.8) saturate(1.05);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.watch__poster:hover img { transform: scale(1.03); }
.watch__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(2, 8, 13, 0.05), rgba(2, 8, 13, 0.4)),
    linear-gradient(to top, rgba(4, 18, 30, 0.8), transparent 40%);
}
.watch__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 198, 207, 0.14);
  border: 1px solid rgba(47, 198, 207, 0.55);
  color: var(--accent);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.watch__btn svg { margin-left: 4px; }
.watch__poster:hover .watch__btn {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .watch__btn::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(47, 198, 207, 0.5);
    animation: watch-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }
  @keyframes watch-pulse {
    0% { transform: scale(1); opacity: 0.9; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
  }
}
.watch__meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.watch__badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.35rem 0.7rem;
}
.watch__caption {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(2, 8, 13, 0.7);
}
.watch__embed, .watch__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------------------------------------
   Nav link roll-over + numbered overlay menu items
   ------------------------------------------------------------ */
.roll {
  display: inline-flex;
  flex-direction: column;
  height: 1.3em;
  line-height: 1.3;
  overflow: hidden;
}
.roll > span {
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover .roll > span { transform: translateY(-100%); }
.menu__link .roll { height: 1.15em; line-height: 1.15; }
.menu__link:hover .roll > span,
.menu__link:focus-visible .roll > span { transform: translateY(-100%); }
.menu__link .roll > span:nth-child(2) { color: var(--accent); font-style: italic; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
}
.menu__num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.3s ease;
}
.menu__link:hover .menu__num { color: var(--accent); }

/* ------------------------------------------------------------
   Sticky mobile action bar + WhatsApp float
   ------------------------------------------------------------ */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  border-top: 1px solid var(--line);
  background: rgba(4, 18, 30, 0.92);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar a svg { color: var(--accent); flex-shrink: 0; }
.mobile-bar__quote { background: var(--accent); color: var(--accent-ink) !important; }
.mobile-bar__quote svg { color: var(--accent-ink) !important; }
@media (max-width: 767px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 52px; }
}

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 89;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 28, 44, 0.96);
  border: 1px solid rgba(47, 198, 207, 0.4);
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.wa-float:hover { transform: translateY(-3px); background: rgba(47, 198, 207, 0.16); }
@media (max-width: 767px) {
  .wa-float { bottom: calc(52px + env(safe-area-inset-bottom) + 1rem); }
}

/* ------------------------------------------------------------
   Ports marquee band: two counter-scrolling rows of port names.
   Pure CSS animation; pauses on hover; edges fade via mask.
   ------------------------------------------------------------ */
.ports-band {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.ports-band__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.ports-band__row + .ports-band__row { margin-top: 0.9rem; }
.ports-band__track {
  display: inline-flex;
  align-items: baseline;
  gap: 2.2rem;
  padding-right: 2.2rem;
  white-space: nowrap;
  will-change: transform;
  animation: ports-scroll 46s linear infinite;
}
.ports-band__row--reverse .ports-band__track {
  animation-name: ports-scroll-rev;
  animation-duration: 54s;
}
.ports-band__row:hover .ports-band__track { animation-play-state: paused; }
.ports-band__track span {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.3s ease;
  cursor: default;
}
.ports-band__track span:hover { color: var(--accent); }
.ports-band__track i {
  font-style: normal;
  font-size: 0.7em;
  color: rgba(47, 198, 207, 0.4);
}
.ports-band__note {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ports-band__note a { color: var(--accent); }
.ports-band__note a:hover { text-decoration: underline; }
@keyframes ports-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ports-scroll-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ------------------------------------------------------------
   Why Seven: bento grid with cursor spotlight
   ------------------------------------------------------------ */
.why {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.why__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.why__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 18ch;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .why-card--wide { grid-column: span 2; }
}
.why-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover { transform: translateY(-4px); }
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(47, 198, 207, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.why-card:hover { border-color: rgba(47, 198, 207, 0.35); }
.why-card:hover::before { opacity: 1; }
.why-card__num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.why-card__name {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  font-stretch: 116%;
  letter-spacing: -0.01em;
  margin-top: 0.4rem;
}
.why-card__desc { color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }
.why-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.why-card__tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
}

/* ------------------------------------------------------------
   About band (lead copy relocated from the old hero)
   ------------------------------------------------------------ */
.about {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__lead {
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  font-weight: 500;
  font-stretch: 106%;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--muted);
  max-width: 62ch;
}

/* ------------------------------------------------------------
   Scroll-Expand hero (homepage intro; replaces the static hero)
   Media grows and title words fly apart as scroll progress -> 1.
   Sizes/opacity/transform are driven inline by js/scroll-expand.js.
   ------------------------------------------------------------ */
.se { position: relative; overflow-x: hidden; }
.se__stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.se__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: opacity;
}
.se__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) brightness(0.84) saturate(1.05);
}
.se__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 18, 30, 0.35), rgba(4, 18, 30, 0.7));
}
.se__media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 85vh;
  z-index: 1;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}
.se__media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #02080d;
}
.se__media-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) brightness(0.98) saturate(1.05);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.se__media-el.is-active { opacity: 1; }

/* Story-style clip switcher (bottom of the media frame).
   The button is an 18px hit area; ::before draws the dim track and the
   inner span is the accent fill that js/scroll-expand.js animates with
   the se-story-fill keyframes. */
.se__stories {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}
.se__story {
  position: relative;
  flex: 1;
  height: 18px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.se__story::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(234, 243, 247, 0.28);
  transition: height 0.25s ease, margin-top 0.25s ease, background-color 0.25s ease;
}
.se__story span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  transition: height 0.25s ease, margin-top 0.25s ease;
}
.se__story.is-done span { transform: scaleX(1); }
.se__story:hover::before,
.se__story:hover span { height: 4px; margin-top: -2px; }
.se__story:hover::before { background: rgba(234, 243, 247, 0.45); }
@keyframes se-story-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.se__media-tint {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.35;
  will-change: opacity;
}
.se__media-meta {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
.se__date {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.se__label {
  display: inline-block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.se__label.is-swapping { opacity: 0; transform: translateY(6px); }
.se__meta-sep { color: var(--dim); }
.se__meta-index { color: var(--muted); letter-spacing: 0.12em; }
.se__cue {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
}
.se__title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.1em;
  pointer-events: none;
  width: 100%;
  margin: 0;
}
.se__word {
  font-size: clamp(1.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  font-stretch: 122%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  will-change: transform;
}
.se__word--rest { color: var(--accent); font-style: italic; line-height: 1.12; padding-bottom: 0.05em; }
.se__content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
  text-align: center;
  opacity: 0;
  will-change: opacity;
}
.se__content-lead {
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
  font-stretch: 104%;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto 2.25rem;
}
.se__content-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Static presentation of the hero: mobile and reduced motion.
   No wheel hijack, no absolute overlap - a simple stacked layout that
   scrolls normally. scroll-expand.js adds .se--static and clears all
   inline sizing so these rules take over. */
.se--static .se__stage {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  min-height: auto;
  padding: calc(72px + 2.5rem) var(--pad-x) 0;
}
.se--static .se__bg::after {
  background: linear-gradient(to bottom, rgba(4, 18, 30, 0.55), rgba(4, 18, 30, 0.92));
}
.se--static .se__title {
  order: 1;
  align-items: flex-start;
  text-align: left;
  gap: 0.15em;
}
.se--static .se__word {
  transform: none !important;
  white-space: normal;
  font-size: clamp(1.75rem, 8.4vw, 3.2rem);
}
.se--static .se__media {
  order: 2;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100% !important;
  height: auto !important;
  max-width: none;
  max-height: none;
  aspect-ratio: 16 / 10;
  margin-bottom: 3.25rem;
}
.se--static .se__media-tint { opacity: 0.12 !important; }
.se--static .se__media-meta { align-items: flex-start; }
.se--static .se__content {
  opacity: 1 !important;
  pointer-events: auto !important;
  text-align: left;
  padding-top: 0;
}
.se--static .se__content-lead { margin-left: 0; }
.se--static .se__content-ctas { justify-content: flex-start; }

/* ------------------------------------------------------------
   Stats band
   ------------------------------------------------------------ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stats__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.stat__label { font-size: 0.875rem; color: var(--muted); }

/* ------------------------------------------------------------
   Products index
   ------------------------------------------------------------ */
.products {
  position: relative;
  padding: clamp(6rem, 12vw, 11rem) 0 clamp(5rem, 10vw, 9rem);
}
.products__head {
  padding: 0 var(--pad-x);
  max-width: 1400px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.products__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
}
.products__list { list-style: none; }
.product { border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.6rem var(--pad-x);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product__row:hover { background: var(--bg-2); }
.product__name {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.product__row:hover .product__name { transform: translateX(0.75rem); color: var(--accent); }
.product__desc { font-size: 0.9375rem; color: var(--muted); }
.product__arrow {
  font-size: 1.4rem;
  color: var(--dim);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.product__row:hover .product__arrow { transform: translate(4px, -4px); color: var(--accent); }

.product-float {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 320px;
  height: 220px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: var(--bg-2);
  will-change: transform;
  contain: layout paint;
}
.product-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) brightness(0.94) saturate(1.05);
}
.product-float::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(47, 198, 207, 0.12), rgba(4, 18, 30, 0.35));
}

/* ------------------------------------------------------------
   Manifesto
   ------------------------------------------------------------ */
.manifesto {
  padding: clamp(6rem, 14vw, 13rem) var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto__text {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.manifesto__text .word { color: var(--dim); }

/* ------------------------------------------------------------
   Fleets - horizontal pan (desktop) / vertical stack (mobile)
   ------------------------------------------------------------ */
.fleets { position: relative; overflow: hidden; }
.fleets__track {
  display: flex;
  flex-direction: column;
}
.fleet {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.fleet--intro { gap: 2rem; }
.fleet__heading {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.fleet__intro-copy {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.fleet__media {
  width: 100%;
  height: clamp(280px, 50vw, 420px);
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.fleet__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9) saturate(1.06);
}
.fleet__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 30, 0.12), rgba(4, 18, 30, 0.4));
}
.fleet__name {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: -0.01em;
}
.fleet__desc { color: var(--muted); max-width: 38ch; }

@media (min-width: 768px) {
  .fleets__track {
    flex-direction: row;
    width: max-content;
    height: 100dvh;
    align-items: stretch;
  }
  .fleet {
    width: clamp(420px, 38vw, 560px);
    height: 100dvh;
    flex-shrink: 0;
    border-right: 1px solid var(--line);
    padding: clamp(5rem, 9vh, 7rem) clamp(2rem, 3vw, 3.5rem);
  }
  .fleet--intro { width: clamp(480px, 44vw, 640px); justify-content: center; }
  .fleet__media { height: 52vh; }
}

/* ------------------------------------------------------------
   Compliance
   ------------------------------------------------------------ */
.compliance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) var(--pad-x);
}
@media (min-width: 900px) {
  .compliance { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 7rem); }
  .compliance__sticky { position: sticky; top: 120px; align-self: start; }
}
.compliance__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 12ch;
}
.compliance__copy { color: var(--muted); max-width: 42ch; font-size: 1.0625rem; }
.compliance__certs { display: flex; flex-direction: column; gap: 1.25rem; }
.cert {
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: border-color 0.4s ease;
}
.cert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cert:hover { border-color: rgba(237, 241, 244, 0.28); }
.cert:hover::before { transform: scaleY(1); }
.cert__code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.cert__name { font-size: 1.375rem; font-weight: 700; font-stretch: 115%; }
.cert__desc { color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }

/* ------------------------------------------------------------
   Contact / CTA
   ------------------------------------------------------------ */
.contact {
  padding: clamp(7rem, 14vw, 13rem) var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 55% at 50% 110%, rgba(47, 198, 207, 0.14), transparent),
    var(--bg);
}
.contact__lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.contact__cta {
  display: inline-flex;
  align-items: baseline;
  gap: 1.5rem;
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.contact__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__cta-arrow {
  color: var(--accent);
  font-size: 0.55em;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact__cta:hover .contact__cta-arrow { transform: translate(8px, -8px); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__logo { font-weight: 800; font-stretch: 125%; font-size: 1.2rem; letter-spacing: 0.03em; }
.footer__tagline { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.12em; }
.footer__blurb { margin-top: 0.9rem; max-width: 34ch; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer__col a { color: var(--muted); transition: color 0.3s ease; width: fit-content; }
.footer__col a:hover { color: var(--ink); }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.35rem;
}
.footer__base {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

/* ------------------------------------------------------------
   Global Presence: interactive globe framed by live stats
   ------------------------------------------------------------ */
.presence {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(9, 30, 46, 0.9), transparent),
    var(--bg);
}
.presence__glow {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 198, 207, 0.14), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.presence__head {
  position: relative;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.presence__badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(234, 243, 247, 0.04);
}
.presence__title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.presence__title em { font-style: normal; color: var(--accent); }
.presence__sub { color: var(--muted); max-width: 60ch; font-size: 1.0625rem; line-height: 1.6; }

.presence__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 980px) {
  .presence__body { grid-template-columns: 1fr 1.15fr 1fr; }
}
.presence__col { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vw, 1.5rem); }
.presence__globe { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; order: -1; }
@media (min-width: 980px) { .presence__globe { order: 0; } }

.pstat {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8, 24, 38, 0.6);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pstat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(47, 198, 207, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pstat:hover { border-color: rgba(47, 198, 207, 0.4); transform: translateY(-4px); }
.pstat:hover::before { opacity: 1; }
.pstat__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(47, 198, 207, 0.1);
  border: 1px solid rgba(47, 198, 207, 0.22);
}
.pstat__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.pstat__label { font-size: 0.9375rem; color: var(--muted); }

.globe__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.globe__chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.globe__chip:hover { color: var(--ink); border-color: rgba(234, 243, 247, 0.28); }
.globe__chip.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.globe__stage {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
}
.globe__canvas { width: 100%; height: 100%; display: block; }
.globe__count { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.04em; text-align: center; }
.globe__count span { color: var(--accent); }

/* LocationMap card (expand-on-click, 3D tilt) */
.locmap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}
.locmap__inner {
  position: relative;
  width: 240px;
  height: 140px;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s ease-out;
}
.locmap.is-expanded .locmap__inner { width: min(360px, 100%); height: 280px; }
.locmap:focus-visible .locmap__inner { box-shadow: 0 0 0 2px var(--accent); }

.locmap__map {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.05s;
  background: #0a2230;
}
.locmap.is-expanded .locmap__map { opacity: 1; }
.locmap__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.locmap__roads line { stroke: rgba(234, 243, 247, 0.22); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.locmap__roads .locmap__road--sm { stroke: rgba(234, 243, 247, 0.1); stroke-width: 0.8; }
.locmap__bldg {
  position: absolute;
  background: rgba(132, 167, 184, 0.26);
  border: 1px solid rgba(132, 167, 184, 0.18);
}
.locmap__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  filter: drop-shadow(0 0 10px rgba(47, 198, 207, 0.55));
}
.locmap__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 1.15rem;
}
.locmap__top { display: flex; align-items: flex-start; justify-content: space-between; }
.locmap__icon { color: var(--accent); transition: filter 0.3s ease; }
.locmap:hover .locmap__icon { filter: drop-shadow(0 0 8px rgba(47, 198, 207, 0.6)); }
.locmap__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem;
  background: rgba(234, 243, 247, 0.05);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.locmap__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.locmap__loc { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.3s ease; }
.locmap:hover .locmap__loc { transform: translateX(4px); }
.locmap__coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.locmap.is-expanded .locmap__coords { max-height: 1.5rem; opacity: 1; margin-top: 0.25rem; }
.locmap__underline {
  display: block;
  height: 1px;
  margin-top: 0.5rem;
  background: linear-gradient(to right, rgba(47, 198, 207, 0.6), rgba(47, 198, 207, 0.25), transparent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}
.locmap:hover .locmap__underline,
.locmap.is-expanded .locmap__underline { transform: scaleX(1); }
.locmap__hint {
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  font-size: 0.6875rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.locmap:hover .locmap__hint { opacity: 1; }
.locmap.is-expanded .locmap__hint { opacity: 0; }
.footer__brand .locmap { margin-top: 1.5rem; }
.locmap--info { margin-top: 0.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .locmap__dot { animation: se-dot-pulse 2s ease-in-out infinite; }
  @keyframes se-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 198, 207, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(47, 198, 207, 0); }
  }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 860px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  /* Name + arrow share the first row; the description spans below.
     Without explicit placement the arrow auto-flowed onto its own
     third row and left a stray glyph under every product. */
  .product__row { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; }
  .product__name { grid-column: 1; grid-row: 1; }
  .product__arrow { grid-column: 2; grid-row: 1; }
  .product__desc { grid-column: 1 / -1; grid-row: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  /* Keep "Request a quote" + arrow inside the viewport on phones */
  .contact__cta { font-size: clamp(1.3rem, 6.6vw, 2rem); gap: 0.8rem; }
}

/* ------------------------------------------------------------
   Site-wide media & card micro-interactions (interior pages too)
   ------------------------------------------------------------ */
.detail__media { overflow: hidden; }
.detail__media img { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.detail__media:hover img { transform: scale(1.05); }
.page-hero__media { overflow: hidden; }
.step {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.step:hover { transform: translateY(-4px); }
.info__block { transition: transform 0.3s ease; }
.info__block:hover { transform: translateX(4px); }

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .product-float { display: none; }
}

/* powered by stathisparas: discreet signature, bottom right of the footer */
a.sp-sig.sp-sig{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:.5em;margin:0 0 0 auto!important;padding:0!important;color:inherit;opacity:.55;text-decoration:none!important;font-size:11px!important;letter-spacing:.04em;line-height:1!important;font-weight:400;white-space:nowrap;background:none!important;border:0!important;transition:opacity .25s ease}
a.sp-sig.sp-sig:hover,a.sp-sig.sp-sig:focus-visible{opacity:1}
.sp-sig .sp-sig__by,.sp-sig .sp-sig__url{text-transform:none;white-space:nowrap}
.sp-sig svg{height:20px!important;width:auto!important;max-width:none!important;display:block;flex:none;transform-origin:left center;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
a.sp-sig:hover svg{transform:rotate(-3deg) scale(1.06)}
@media (prefers-reduced-motion:reduce){.sp-sig svg{transition:none}a.sp-sig:hover svg{transform:none}}
.footer__base .sp-sig.sp-sig{flex-basis:100%;justify-content:flex-end}
@media (max-width:600px){a.sp-sig.sp-sig{justify-content:flex-start!important;margin-left:0!important;flex-basis:100%}}
