/* NSK Petroleum — shared layout & homepage */
/* Brand blue/red + cinematic logistics palette (golden-hour warmth, dusk blues) aligned with hero video & forecourt photography */

@keyframes cv-hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.2%, 0.6%, 0);
  }
}

@keyframes nsk-header-in {
  from {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

:root {
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-display: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --cv-blue: #0050aa;
  --cv-blue-dark: #003d82;
  --cv-navy: #001f4d;
  --cv-red: #e21836;
  /* Golden-hour / dusk harmony (tanker footage & terminal photography) */
  --cinema-amber: #d4a574;
  --cinema-amber-soft: rgba(212, 165, 116, 0.22);
  --cinema-dusk: #0e1522;
  --cinema-dusk-mid: #131f32;
  --cinema-haze: rgba(255, 200, 150, 0.12);
  --bg: #fafbfc;
  --bg-elevated: #f0f3f8;
  --section-alt: #e9eef5;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --text: #1a2332;
  --text-muted: #556178;
  --heading: #0a1f3d;
  --accent: var(--cv-blue);
  --accent-red: var(--cv-red);
  --accent-glow: rgba(0, 80, 170, 0.35);
  --accent-glow-warm: rgba(212, 165, 116, 0.28);
  --accent-soft: rgba(0, 80, 170, 0.08);
  --border: #d2dbe8;
  --shadow: 0 20px 48px rgba(8, 24, 52, 0.11);
  --shadow-soft: 0 8px 28px rgba(8, 24, 52, 0.07);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --header-h: 4.25rem;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-duration: 1.05s;
  --reveal-y: 48px;
  --reveal-scale: 0.985;

  /* Glassmorphism + soft neumorphic depth */
  --morph-blur: 20px;
  --morph-glass-hero: rgba(0, 31, 77, 0.16);
  --morph-glass-hero-border: rgba(255, 255, 255, 0.22);
  --morph-glass-chip: rgba(255, 255, 255, 0.16);
  --morph-inset-shine: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --shadow-neu-soft:
    8px 8px 22px rgba(148, 158, 182, 0.34),
    -7px -7px 20px rgba(255, 255, 255, 0.92),
    var(--morph-inset-shine);
  --shadow-neu-soft-hover:
    10px 10px 26px rgba(148, 158, 182, 0.38),
    -8px -8px 22px rgba(255, 255, 255, 0.98),
    var(--morph-inset-shine);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.nsk-motion-ready .site-header .header-inner {
    animation: none !important;
  }

  .btn:hover,
  .btn:active,
  .gallery-tile:hover .gallery-tile__img-wrap img,
  .operations-split__cell:hover img,
  .partner-marquee__row li:hover,
  .nsk-chat-launcher:hover,
  .why-card:hover,
  .job-category-card:hover,
  .employment-why-card:hover,
  .fleet-showcase:hover {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #f8f9fb 0%, var(--bg) 22%, #ffffff 55%, #f7f8fa 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out-expo);
}

a:hover {
  color: var(--cv-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(var(--morph-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--morph-blur)) saturate(1.35);
  border-bottom: 1px solid rgba(220, 227, 237, 0.85);
  box-shadow: var(--morph-inset-shine);
  transition: box-shadow 0.35s var(--ease-out-expo), background 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 10px 40px rgba(0, 31, 77, 0.09),
    var(--morph-inset-shine);
}

@media (prefers-reduced-motion: no-preference) {
  html.nsk-motion-ready .site-header .header-inner {
    animation: nsk-header-in 0.78s var(--ease-out-expo) both;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  color: var(--heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: color 0.25s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

@media (prefers-reduced-motion: no-preference) {
  .logo:hover {
    transform: translateY(-1px);
  }
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.logo small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--heading);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.nav-list a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cv-blue), var(--cv-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--heading);
  text-decoration: none;
}

.nav-cta {
  background: linear-gradient(165deg, var(--cv-blue) 0%, var(--cv-blue-dark) 100%);
  color: #ffffff !important;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 4px 16px rgba(0, 80, 170, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: linear-gradient(165deg, var(--cv-blue-dark) 0%, #002a5c 100%);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(0, 80, 170, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-list li:last-child {
    border-bottom: 0;
    padding-top: 0.5rem;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0;
  }

  .nav-cta {
    text-align: center;
  }
}

/* —— Hero (inner pages) —— */

.page-hero {
  padding: 3.25rem 0 2.75rem;
  background: linear-gradient(180deg, #e8edf5 0%, var(--bg) 55%, #faf9f7 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* —— Home hero (immersive) —— */

.home-hero {
  position: relative;
  min-height: min(88vh, 720px);
  padding: clamp(4.5rem, 12vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-hero__bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-fallback);
  background-size: cover;
  background-position: center 35%;
  display: none;
}

.home-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  pointer-events: none;
  filter: brightness(1.08) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__video {
    display: none !important;
  }

  .home-hero__bg-fallback {
    display: block;
  }
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 75% 65% at 88% 38%, rgba(255, 186, 120, 0.08) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 100% 85%, rgba(255, 200, 150, 0.05) 0%, transparent 52%),
    linear-gradient(105deg, rgba(0, 31, 77, 0.4) 0%, rgba(0, 61, 130, 0.26) 40%, rgba(0, 80, 170, 0.08) 68%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(0, 26, 61, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 100% 90% at 0% 100%, rgba(226, 24, 54, 0.05), transparent 55%);
}

.home-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.home-hero__copy {
  max-width: 38rem;
}

@supports (backdrop-filter: blur(12px)) {
  .home-hero__copy {
    padding: clamp(1.15rem, 2.8vw, 1.85rem) clamp(1.15rem, 2.5vw, 1.65rem);
    border-radius: var(--radius-lg);
    background: var(--morph-glass-hero);
    backdrop-filter: blur(var(--morph-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--morph-blur)) saturate(1.2);
    border: 1px solid var(--morph-glass-hero-border);
    box-shadow:
      0 12px 48px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 960px) {
  .home-hero__video {
    object-position: center center;
    opacity: 1;
  }

  .home-hero__bg-fallback {
    background-position: center center;
    opacity: 1;
  }

  .home-hero__veil {
    background:
      radial-gradient(ellipse 85% 55% at 50% 0%, rgba(255, 195, 140, 0.05) 0%, transparent 55%),
      linear-gradient(180deg, rgba(0, 31, 77, 0.18) 0%, rgba(0, 31, 77, 0.4) 52%, rgba(0, 26, 61, 0.48) 100%);
  }
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 16ch;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #f4f8ff;
  text-shadow:
    0 1px 28px rgba(0, 0, 0, 0.32),
    0 2px 14px rgba(0, 0, 0, 0.38),
    0 0 48px rgba(212, 165, 116, 0.1);
}

.home-hero .lede {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 42ch;
  margin: 0 0 1.75rem;
  line-height: 1.65;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.home-hero .section-eyebrow {
  color: #b8dcff;
  text-shadow: 0 0 28px rgba(212, 165, 116, 0.35);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.section-eyebrow--center {
  text-align: center;
}

.section-eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero-actions--center {
  justify-content: center;
}

.home-hero .btn-primary {
  background: linear-gradient(165deg, #f02845 0%, var(--cv-red) 45%, #b51228 100%);
  color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 6px 22px rgba(226, 24, 54, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-hero .btn-primary:hover {
  filter: brightness(1.06);
  box-shadow:
    0 10px 32px rgba(226, 24, 54, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.home-hero .btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: var(--morph-glass-chip);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.home-hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

@supports (backdrop-filter: blur(8px)) {
  .home-hero .btn-ghost {
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
  }
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .btn:active {
    transform: translateY(0);
  }
}

.btn-primary {
  background: linear-gradient(165deg, var(--cv-blue) 0%, var(--cv-blue-dark) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 16px rgba(0, 80, 170, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(165deg, var(--cv-blue-dark) 0%, #002a5c 100%);
  box-shadow:
    0 8px 24px rgba(0, 80, 170, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost--on-accent {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost--on-accent:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* —— Sections —— */

.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section--tight-top {
  padding-top: 2rem;
}

.section--partners {
  background: linear-gradient(180deg, #e6eaf2 0%, var(--bg) 42%, #ebe6e1 100%);
}

#locations,
#gallery,
#why {
  background: linear-gradient(168deg, #e8ecf4 0%, var(--section-alt) 38%, #f0ebe6 100%);
}

#videos {
  background: linear-gradient(172deg, var(--cinema-dusk) 0%, var(--cinema-dusk-mid) 45%, #101a2c 100%);
  border-bottom-color: rgba(0, 80, 170, 0.25);
}

#videos .section-eyebrow--center {
  color: rgba(140, 200, 255, 0.95);
}

#videos .section-header h2 {
  color: #f1f5fb;
}

#partners {
  background: var(--bg);
}

.section--careers {
  padding-bottom: 4rem;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-header--wide {
  max-width: 46rem;
}

.section-header__secondary {
  margin-top: 1rem !important;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  opacity: 0.95;
}

/* —— Stats band —— */

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.stat-pill:hover {
  border-color: rgba(0, 80, 170, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-pill span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.home-hero .stat-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-hero .stat-pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

@supports (backdrop-filter: blur(8px)) {
  .home-hero .stat-pill {
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }
}

.home-hero .stat-pill strong {
  color: #ffffff;
}

.home-hero .stat-pill span {
  color: rgba(255, 255, 255, 0.82);
}

/* —— Fleet / video —— */

.video-showcase {
  max-width: min(960px, 100%);
  margin: 0 auto;
}

.video-showcase--dual {
  max-width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.video-showcase--dual > .fleet-showcase {
  max-width: none;
  margin: 0;
}

.fleet-showcase {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 165, 116, 0.18);
  background: #05070c;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 48px -12px var(--accent-glow-warm),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .fleet-showcase {
    transition: box-shadow 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  }

  .fleet-showcase:hover {
    transform: translateY(-5px);
    box-shadow:
      0 28px 64px rgba(0, 8, 20, 0.45),
      0 0 80px -18px var(--accent-glow),
      0 0 56px -20px var(--accent-glow-warm),
      0 0 0 1px rgba(255, 255, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

.fleet-showcase--accent {
  box-shadow:
    var(--shadow),
    0 0 72px -16px var(--accent-glow),
    0 0 48px -14px var(--accent-glow-warm),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 120, 200, 0.35);
}

.fleet-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #06090f 0%, #0f1724 100%);
}

.fleet-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsk-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  width: max-content;
  height: max-content;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(165deg, var(--cv-blue) 0%, var(--cv-blue-dark) 100%);
  border: 1px solid rgba(255, 200, 160, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(0, 80, 170, 0.45),
    0 0 24px rgba(212, 165, 116, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nsk-video-fallback:hover {
  background: var(--cv-blue-dark);
  transform: scale(1.02);
}

.nsk-video-fallback[hidden] {
  display: none !important;
}

/* —— Operations split —— */

.operations-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.operations-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.operations-split--raised {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  gap: 2px;
  background: var(--border);
}

.operations-split__cell {
  position: relative;
  overflow: hidden;
}

.operations-split__cell img {
  transition: transform 0.5s ease;
}

.operations-split__cell:hover img {
  transform: scale(1.03);
}

/* —— Gallery —— */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-grid figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 960px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .gallery-tile--span-2 {
    grid-column: span 1 !important;
  }
}

.gallery-tile {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-tile:hover {
  border-color: rgba(0, 80, 170, 0.35);
  box-shadow: 0 16px 44px rgba(0, 31, 77, 0.12);
}

.gallery-tile--span-2 {
  grid-column: span 2;
}

.gallery-tile__img-wrap {
  overflow: hidden;
  flex: 1;
  min-height: 200px;
  max-height: 320px;
}

.gallery-tile--span-2 .gallery-tile__img-wrap {
  max-height: 360px;
}

.gallery-tile__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-tile:hover .gallery-tile__img-wrap img {
  transform: scale(1.04);
}

.gallery-tile figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* —— Retail slideshow (Stations & forecourts) —— */

.retail-slideshow {
  margin-top: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.retail-slideshow__viewport {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 227, 237, 0.95);
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-neu-soft);
  aspect-ratio: 16 / 9;
  max-height: min(68vh, 560px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.retail-slideshow__viewport::-webkit-scrollbar {
  display: none;
}

.retail-slideshow__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100%;
}

.retail-slideshow__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .retail-slideshow__viewport {
    scroll-behavior: auto;
  }
}

/* —— Partners —— */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Infinite marquee (Chevron-style moving brand strip) */
@keyframes partner-marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.partner-marquee-wrap {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: 0.25rem 0.5rem;
}

.partner-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: partner-marquee-x 48s linear infinite;
  will-change: transform;
}

.partner-marquee:hover .partner-marquee__track {
  animation-play-state: paused;
}

.partner-marquee__row {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.partner-marquee__row li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  min-width: 132px;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 31, 77, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.partner-marquee__row li:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0, 31, 77, 0.12);
}

.partner-marquee__row img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track {
    animation: none;
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
    justify-content: center;
  }

  .partner-marquee__row[aria-hidden="true"] {
    display: none;
  }

  .partner-marquee__row {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  .partner-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* —— Why cards —— */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.why-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(220, 227, 237, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-neu-soft);
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

@media (prefers-reduced-motion: no-preference) {
  .why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 80, 170, 0.28);
    box-shadow:
      var(--shadow-neu-soft-hover),
      0 16px 40px rgba(0, 31, 77, 0.09);
  }
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cv-blue) 0%, var(--cinema-amber) 48%, var(--cv-red) 100%);
  opacity: 1;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  border: 1px solid rgba(0, 80, 170, 0.18);
  box-shadow:
    3px 3px 8px rgba(163, 177, 198, 0.35),
    -2px -2px 8px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.why-card h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--heading);
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Locations —— */

.section--locations .section-header {
  margin-bottom: 2rem;
}

.locations-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.85rem 0 0;
}

.locations-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--heading);
  background: linear-gradient(165deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid rgba(220, 227, 237, 0.95);
  border-radius: 999px;
  box-shadow:
    5px 5px 14px rgba(163, 177, 198, 0.32),
    -4px -4px 12px rgba(255, 255, 255, 0.9),
    var(--morph-inset-shine);
}

.locations-highlights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow:
    2px 2px 6px rgba(163, 177, 198, 0.4),
    -2px -2px 6px rgba(255, 255, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section--gallery-retail .section-header {
  margin-bottom: 2.25rem;
}

.section--gallery-retail .section-eyebrow--center {
  color: #1e5a9e;
  letter-spacing: 0.14em;
}

.section--gallery-retail .retail-slideshow {
  position: relative;
}

.section--gallery-retail .retail-slideshow::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -0.5rem -4vw 0;
  z-index: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, var(--cinema-amber-soft) 0%, transparent 58%),
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(0, 80, 170, 0.08) 0%, transparent 65%);
}

.section--gallery-retail .retail-slideshow > * {
  position: relative;
  z-index: 1;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.location-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(220, 227, 237, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-neu-soft);
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

@media (prefers-reduced-motion: no-preference) {
  .location-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 80, 170, 0.28);
    box-shadow:
      var(--shadow-neu-soft-hover),
      0 16px 40px rgba(0, 31, 77, 0.08);
  }
}

.location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cv-blue) 0%, var(--cinema-amber) 48%, var(--cv-red) 100%);
}

.location-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  border: 1px solid rgba(0, 80, 170, 0.18);
  box-shadow:
    3px 3px 8px rgba(163, 177, 198, 0.35),
    -2px -2px 8px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.location-card__title {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--heading);
}

.location-card__area {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.location-card__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.location-card--cta .location-card__btn {
  margin-top: 1.15rem;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* —— Careers CTA —— */

.careers-band {
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.careers-band--rich {
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cv-navy) 0%, var(--cv-blue-dark) 38%, var(--cv-blue) 100%);
  box-shadow: var(--shadow), 0 0 64px -8px rgba(0, 80, 170, 0.45);
}

.careers-band__inner {
  padding: clamp(2.25rem, 5vw, 3.25rem) 1.75rem;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 100% at 100% 0%, rgba(226, 24, 54, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.careers-band--rich h3 {
  color: #ffffff;
}

.careers-band--rich p {
  color: rgba(255, 255, 255, 0.88);
}

.careers-band--rich .btn-primary {
  background: #ffffff;
  color: var(--cv-blue);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.careers-band--rich .btn-primary:hover {
  background: rgba(255, 255, 255, 0.94);
  filter: none;
}

.careers-band h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.careers-band p {
  margin: 0 auto 1.25rem;
  max-width: 48ch;
  color: var(--text-muted);
}

/* —— Prose / About —— */

.prose h2 {
  font-family: var(--font-display);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--text-muted);
}

.about-main {
  padding-bottom: 4rem;
}

.about-intro {
  margin-top: 2.5rem;
  max-width: 68ch;
}

.about-stats {
  margin: 2.5rem 0 0;
}

.about-leadership {
  margin-top: 2.75rem;
}

.about-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  color: var(--heading);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.leadership-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 0;
  box-shadow: var(--shadow-soft);
}

.leadership-card--featured {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-color: rgba(0, 80, 170, 0.2);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 55%, var(--surface) 100%);
}

.leadership-card--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cv-blue) 0%, var(--cv-blue-dark) 100%);
}

.leadership-card__tagline {
  margin: 0;
  padding: 1.35rem 1.75rem 1rem;
  padding-left: calc(1.75rem + 4px);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 80, 170, 0.04);
}

.leadership-card__grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 260px);
  gap: 1.75rem;
  align-items: start;
  padding: 1.75rem;
  padding-left: calc(1.75rem + 4px);
}

@media (max-width: 720px) {
  .leadership-card__grid {
    grid-template-columns: 1fr;
  }
}

.leadership-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  color: var(--heading);
  letter-spacing: -0.02em;
}

.leadership-card__role {
  color: var(--accent);
  font-weight: 600;
  margin: 0.35rem 0 1rem;
  font-size: 1rem;
}

.leadership-card__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1rem;
}

.leadership-card__contact {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.leadership-card__contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.leadership-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leadership-contact-list__link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  word-break: break-word;
}

.leadership-contact-list__link:hover {
  color: var(--cv-blue-dark);
  text-decoration: underline;
}

.contact-mini {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-values {
  margin-top: 2.75rem;
}

.about-values__intro {
  margin: -0.35rem 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  border-color: rgba(0, 80, 170, 0.28);
  box-shadow: var(--shadow-soft);
}

.value-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--heading);
}

.value-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-gallery {
  margin-top: 3rem;
}

.about-gallery__split {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* —— Contact —— */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

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

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease-out-expo), transform 0.2s var(--ease-out-expo);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .form-group input:focus,
  .form-group textarea:focus {
    transform: translateY(-1px);
  }
}

.hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-side h3 {
  font-family: var(--font-display);
  margin-top: 0;
}

.contact-side a {
  display: block;
  margin-bottom: 0.35rem;
}

/* —— Footer —— */

.site-footer {
  margin-top: auto;
  padding: 3rem 0 0;
  background: linear-gradient(180deg, #001a3d 0%, #000d22 100%);
  border-top: 1px solid rgba(0, 80, 170, 0.35);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

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

.site-footer .logo {
  color: #ffffff;
}

.site-footer .logo:hover {
  color: #9fd4ff;
}

.site-footer .logo small {
  color: rgba(255, 255, 255, 0.65);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Scroll reveal & staged cascades —— */

[data-reveal] {
  --reveal-delay: 0ms;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal]:not([data-reveal="cascade"]) {
    opacity: 0;
    transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
    transition:
      opacity var(--reveal-duration) var(--ease-out-expo) var(--reveal-delay),
      transform var(--reveal-duration) var(--ease-out-expo) var(--reveal-delay);
    will-change: opacity, transform;
  }

  [data-reveal-direction="left"]:not([data-reveal="cascade"]) {
    transform: translate3d(calc(-1 * var(--reveal-y)), 0, 0) scale(var(--reveal-scale));
  }

  [data-reveal-direction="right"]:not([data-reveal="cascade"]) {
    transform: translate3d(var(--reveal-y), 0, 0) scale(var(--reveal-scale));
  }

  [data-reveal]:not([data-reveal="cascade"]).is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
  }

  [data-reveal="cascade"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  [data-reveal="cascade"] > * {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.88s var(--ease-out-expo), transform 0.88s var(--ease-out-expo);
  }

  [data-reveal="cascade"].is-visible > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  [data-reveal="cascade"].is-visible > *:nth-child(1) {
    transition-delay: 0.05s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(2) {
    transition-delay: 0.12s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(3) {
    transition-delay: 0.19s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(4) {
    transition-delay: 0.26s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(5) {
    transition-delay: 0.33s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(6) {
    transition-delay: 0.4s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(7) {
    transition-delay: 0.47s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(8) {
    transition-delay: 0.54s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(9) {
    transition-delay: 0.61s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(10) {
    transition-delay: 0.68s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(11) {
    transition-delay: 0.75s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(12) {
    transition-delay: 0.82s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(13) {
    transition-delay: 0.89s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(14) {
    transition-delay: 0.96s;
  }
  [data-reveal="cascade"].is-visible > *:nth-child(15) {
    transition-delay: 1.03s;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="cascade"],
  [data-reveal="cascade"] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  .nav-list a::after {
    transition: none;
  }
}

/* —— Chat widget —— */

.nsk-chat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  font-family: var(--font-sans);
}

.nsk-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(0, 96, 190, 0.92) 0%, rgba(0, 61, 130, 0.96) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow:
    0 10px 32px rgba(0, 80, 170, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

@supports (backdrop-filter: blur(8px)) {
  .nsk-chat-launcher {
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
  }
}

.nsk-chat-launcher:hover {
  background: linear-gradient(145deg, rgba(0, 80, 170, 0.96) 0%, rgba(0, 42, 92, 0.98) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(0, 80, 170, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nsk-chat-launcher-svg {
  flex-shrink: 0;
}

.nsk-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(100vw - 2rem, 360px);
  max-height: min(70vh, 480px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow),
    var(--morph-inset-shine);
  overflow: hidden;
  animation: cv-panel-in 0.45s var(--ease-out-expo) both;
}

@supports (backdrop-filter: blur(12px)) {
  .nsk-chat-panel {
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
  }
}

@keyframes cv-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nsk-chat-panel {
    animation: none;
  }
}

.nsk-chat-panel[hidden] {
  display: none !important;
}

.nsk-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(220, 227, 237, 0.75);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.nsk-chat-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
}

.nsk-chat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.nsk-chat-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.nsk-chat-close:hover {
  color: var(--text);
}

.nsk-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nsk-chat-row {
  display: flex;
}

.nsk-chat-row--user {
  justify-content: flex-end;
}

.nsk-chat-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.nsk-chat-bubble--bot {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.nsk-chat-bubble--user {
  background: rgba(0, 80, 170, 0.08);
  border: 1px solid rgba(0, 80, 170, 0.22);
  color: var(--text);
}

.nsk-chat-block p {
  margin: 0 0 0.4rem;
}

.nsk-chat-block p:last-child {
  margin-bottom: 0;
}

.nsk-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.nsk-chat-action {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  background: var(--cv-blue);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.nsk-chat-action:hover {
  background: var(--cv-blue-dark);
}

.nsk-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.85rem 0.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.nsk-chat-chip {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
}

.nsk-chat-chip:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.nsk-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.nsk-chat-form input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.nsk-chat-send {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  border: none;
  background: var(--cv-blue);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nsk-chat-send:hover {
  background: var(--cv-blue-dark);
}

.nsk-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Employment page —— */

.employment-page {
  padding-bottom: 4rem;
}

.employment-section {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}

.employment-section:last-of-type {
  border-bottom: none;
}

.employment-section--alt {
  background: var(--section-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
  margin-top: 0.5rem;
  border-bottom: none;
}

.employment-account-card h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--heading);
  margin: 0 0 0.75rem;
}

.employment-intro {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.job-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.job-category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.job-category-card:hover {
  border-color: rgba(0, 80, 170, 0.28);
  box-shadow: 0 12px 32px rgba(0, 31, 77, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .job-category-card:hover {
    transform: translateY(-4px);
  }
}

.job-category-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--heading);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
}

.job-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.job-checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.job-checklist li:last-child {
  margin-bottom: 0;
}

.job-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--cv-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.employment-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.employment-why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

@media (prefers-reduced-motion: no-preference) {
  .employment-why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 80, 170, 0.22);
    box-shadow: var(--shadow-soft);
  }
}

.employment-why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--heading);
  margin: 0 0 0.5rem;
}

.employment-why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.employment-questions-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--heading);
  text-align: center;
  margin: 0 0 0.65rem;
}

.employment-questions-lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.hr-contact-card {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  position: relative;
  padding-right: 3rem;
}

.hr-contact-card:hover {
  border-color: rgba(0, 80, 170, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.hr-contact-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hr-contact-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.hr-contact-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.35rem;
}

.hr-contact-card__hint {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hr-contact-card__arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.employment-form-error {
  color: var(--cv-red);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

/* HR modal */
.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 31, 77, 0.55);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  width: min(100%, 440px);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.5rem 1.25rem;
}

.modal-dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.modal-dialog__header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--heading);
}

.modal-dialog__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.2rem;
  margin-top: -0.2rem;
}

.modal-dialog__close:hover {
  color: var(--heading);
}

.modal-dialog__lede {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.modal-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .hr-contact-card:hover {
    transform: none;
  }
}
