/* ── Noto Sans (self-hosted variable font) ─────────────────────────────────── */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/noto-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Animated conic-gradient custom property for process rings */
@property --ring-fill {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-black: #05080f;
  --bg-marine-deep: #071723;
  --brand-blue: #1364ae;
  --brand-marine: #11344f;
  --brand-light: #15bae6;
  --brand-orange: #f0833c;
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --border-glass: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
  --header-height: 70px;
}

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

html {
  font-size: 17px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(165deg, #03060b 0%, #07131e 58%, #0b1a27 100%);
  color: var(--text-main);
  font-family: "Noto Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Animated ambient background */
body::before {
  content: "";
  position: fixed;
  inset: -22% -18%;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(38% 26% at 16% 22%, rgba(19, 100, 174, 0.2), transparent 70%),
    radial-gradient(30% 22% at 78% 68%, rgba(21, 186, 230, 0.14), transparent 72%);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 32%,
    rgba(21, 186, 230, 0.08) 50%,
    transparent 68%
  );
  transform: translate3d(-36%, 0, 0);
  animation: ambientSweep 22s ease-in-out infinite;
  opacity: 0.42;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92vw, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #fff;
  color: #111;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0.8rem;
}

/* ─── Page glow orbs ──────────────────────────────────────── */
.page-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.3;
  animation: glowDrift 20s ease-in-out infinite alternate;
}

.page-glow--left {
  left: -14vw;
  top: -18vw;
  background: rgba(19, 100, 174, 0.2);
}

.page-glow--right {
  right: -12vw;
  bottom: -16vw;
  background: rgba(21, 186, 230, 0.16);
  animation-delay: 2.8s;
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ─── Fixed left logo ─────────────────────────────────────── */
.brand-logo {
  position: fixed;
  left: 3rem;
  top: 2rem;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  animation: logoSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  text-decoration: none;
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo__icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo__text {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.brand-logo:hover .brand-logo__icon,
.brand-logo:focus-visible .brand-logo__icon {
  transform: scale(1.06);
}

/* On scroll: icon slides left, text fades out */
.brand-logo.text-hidden {
  left: 0.9rem;
  gap: 0;
}

.brand-logo.text-hidden .brand-logo__text {
  opacity: 0;
  transform: translateX(-14px);
}

/* ─── Fixed right header — always transparent ─────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

/* When nav overlay is open, header must sit above it so hamburger X is visible */
.site-header.nav-open {
  z-index: 130;
}

/* Keep hamburger (= close icon) visible regardless of scroll when nav is open */
.site-header.nav-open .hamburger {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 1.6rem 3rem;
}

/* ─── Navigation links ────────────────────────────────────── */
.main-nav {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: clamp(0.8rem, 2vw, 2.4rem);
  font-size: 1.02rem;
  color: var(--text-soft);
}

/* Staggered nav load animation */
.nav-list li {
  opacity: 0;
  animation: navItemIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.4s + var(--nav-i) * 0.07s);
}

.nav-list a {
  position: relative;
  display: inline-flex;
  padding: 0.3rem 0.1rem;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a.is-active::after,
.nav-list .current-menu-item  a::after {
  transform: scaleX(1);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.is-active {
  color: #fff;
}

.nav-overlay__list a.is-active {
  color: #fff;
}

/* ─── Language switcher (Polylang) ───────────────────────── */
.lang-switcher {
  position: relative;
  flex: none;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 0.7rem;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switcher__toggle:hover,
.lang-switcher__toggle:focus-visible,
.lang-switcher.is-open .lang-switcher__toggle {
  color: #fff;
  border-color: rgba(21, 186, 230, 0.5);
  background: rgba(21, 186, 230, 0.1);
}

.lang-switcher__toggle:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}

.lang-switcher__icon {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.lang-switcher__chevron {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__list {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  z-index: 10;
  min-width: 168px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  background: rgba(7, 23, 35, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
}

.lang-switcher.is-open .lang-switcher__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-switcher__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switcher__link:hover,
.lang-switcher__link:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.lang-switcher__link.is-current {
  color: #fff;
}

.lang-switcher__code {
  min-width: 1.9em;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-light);
}

.lang-switcher__link.is-current .lang-switcher__code {
  color: var(--brand-orange);
}

/* ─── Hamburger — bare lines, no button ──────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.hamburger:focus-visible {
  outline: 2px solid rgba(21, 186, 230, 0.6);
  outline-offset: 6px;
  border-radius: 4px;
}

/* Three lines — different widths, thicker */
.hamburger-line {
  display: block;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
  transform-origin: right center;
}

.hamburger-line:nth-child(1) { width: 30px; }
.hamburger-line:nth-child(2) { width: 20px; }
.hamburger-line:nth-child(3) { width: 26px; }

.hamburger:hover .hamburger-line,
.hamburger:focus-visible .hamburger-line {
  width: 30px;
  background: #fff;
}

/* Scrolled state: nav slides right + fades, hamburger slides in */
.main-nav {
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .main-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
}

.site-header.is-scrolled .hamburger {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Active state: 3 lines → clean X */
.hamburger.is-active .hamburger-line:nth-child(1) {
  width: 28px;
  transform-origin: center;
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  width: 28px;
  transform-origin: center;
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ─── Full-screen nav overlay ─────────────────────────────── */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 125;

  background: rgba(5, 10, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.nav-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

/* Inner Container */
.nav-overlay__inner {
  width: min(90%, 1200px);

  display: flex;
  justify-content: flex-start;
}

/* Navigation */
.nav-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 0.5rem;
}

.nav-overlay__list li {
  overflow: hidden;
}

/* Links */
.nav-overlay__list a {
  position: relative;
  display: inline-block;

  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 650;
  line-height: 1.05;

  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  text-align: left;

  padding: 0.08em 0;

  transform: translateY(30px);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    color 0.25s ease;

  transition-delay: calc(var(--oi) * 0.06s);
}

.nav-overlay.is-open .nav-overlay__list a {
  transform: translateY(0);
  opacity: 1;
}

/* Modern underline */
.nav-overlay__list a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -3px;

  width: 100%;
  height: 1px;

  background: rgba(255, 255, 255, 0.9);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.3s ease;
}

.nav-overlay__list a:hover,
.nav-overlay__list a:focus-visible {
  color: #fff;
}

.nav-overlay__list a:hover::after,
.nav-overlay__list a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Soft ambient glow */
.nav-overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(35, 110, 255, 0.08),
      transparent 55%
    );

  pointer-events: none;
}


/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  height: 100svh;
  max-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 18vw, 240px);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 15, 0) 0%,
    rgba(5, 8, 15, 0.62) 58%,
    #07131e 100%
  );
}

.hero-video,
.hero-overlay,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
}

.hero-overlay {
  background: linear-gradient(140deg, rgba(5, 8, 15, 0.75), rgba(7, 23, 35, 0.88) 46%, rgba(5, 8, 15, 0.9));
  z-index: -3;
}

.hero-noise {
  background: linear-gradient(180deg, rgba(8, 22, 35, 0.15) 0%, rgba(5, 8, 15, 0.32) 100%);
  z-index: -2;
}

.hero-content {
  max-width: 920px;
  padding-top: 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.8s forwards;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(21, 186, 230, 0.8), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.title-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42ch;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  overflow: hidden;
  justify-content: center;
}

.title-word {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  text-shadow: none;
}

.title-word--accent {
  color: var(--brand-light);
  text-shadow: none;
}

.title-word--light {
  color: rgba(255, 255, 255, 0.75);
}

.hero-copy {
  max-width: 64ch;
  margin: 1.5rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-align: center;
}

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

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.5rem;
  border-radius: 50px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1;
  transition: background 0.25s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn span {
  position: relative;
  top: -0.01em;
  z-index: 1;
}

.btn-icon {
  width: 1.05em;
  height: 1.05em;
  stroke-width: 2;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #f4faff;
  background: #1364ae;
  border-color: rgba(21, 186, 230, 0.2);
  box-shadow: 0 4px 24px rgba(19, 100, 174, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1575c5;
  border-color: rgba(21, 186, 230, 0.45);
  box-shadow: 0 6px 32px rgba(21, 186, 230, 0.3);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f2f9ff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-accent {
  background: var(--brand-orange);
  color: #1b0f06;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(240, 131, 60, 0.3);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  box-shadow: 0 6px 32px rgba(240, 131, 60, 0.45);
}

/* ─── Sections ────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: clip;
}

.metrics {
  position: relative;
  z-index: 4;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.metric-card {
  padding: 2rem 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: none;
  background: none;
  transition: transform 0.35s ease;
  animation-delay: calc(var(--mi, 0) * 0.1s);
}

/* Thin right divider between items */
.metric-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
  pointer-events: none;
}

.metric-card:hover {
  transform: translateY(-4px);
}

/* Icon container */
.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 186, 230, 0.08);
  border: 1px solid rgba(21, 186, 230, 0.18);
  color: var(--brand-light);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
}

.metric-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.metric-card:hover .metric-icon {
  background: rgba(21, 186, 230, 0.15);
  border-color: rgba(21, 186, 230, 0.4);
  box-shadow: 0 0 20px rgba(21, 186, 230, 0.2);
  transform: scale(1.08);
}

.metric-value {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.metric-label {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-intro h2,
.trust-copy h2,
.process-content h2,
.cta-panel h2 {
  text-wrap: balance;
}

/* ─── Competency cards — big left + 2 stacked right ──────── */
.competency-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  min-height: 520px;
}

.competency-card:first-child {
  grid-row: 1 / 3;
}

.competency-card {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  overflow: clip;
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #09131e;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.competency-card:first-child {
  min-height: 520px;
}

.competency-card:hover {
  border-color: rgba(21, 186, 230, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(21, 186, 230, 0.1) inset;
}

.card-video,
.card-shade {
  position: absolute;
  inset: 0;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.06);
  transform-origin: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}

.card-shade {
  background: linear-gradient(to top, rgba(5, 8, 15, 0.95), rgba(5, 8, 15, 0.1) 55%);
  transition: opacity 0.4s ease;
}

.competency-card:hover .card-shade {
  opacity: 0.82;
}

.card-content {
  position: absolute;
  inset: auto 1.1rem 1.1rem;
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.competency-card:hover .card-content {
  transform: translateY(0);
}

.card-content h3 {
  margin: 0;
  font-size: 1.22rem;
}

.card-content p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.competency-card:hover .card-content p {
  max-height: 100px;
  opacity: 1;
}

.competency-card:hover .card-video,
.competency-card:focus-within .card-video {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.04);
}

/* ─── Process section ─────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.process-media {
  position: sticky;
  top: 8.4rem;
  border-radius: 12px;
  overflow: clip;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  background-position: center;
  opacity: 0.22;
}

.process-media video,
.process-media-overlay {
  position: absolute;
  inset: 0;
}

.process-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  will-change: transform;
  pointer-events: none;
}

.process-media-overlay {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(17, 52, 79, 0.1) 0%, rgba(5, 8, 15, 0.52) 66%, rgba(5, 8, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.24), rgba(5, 8, 15, 0.08));
}

.process-content {
  padding: 1rem 0.2rem;
}

.process-content > p {
  color: var(--text-soft);
  margin: 1rem 0 0;
}

/* ─── Process pipeline ────────────────────────────────────── */
.process-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Animated vertical pipeline line */
.process-list::before {
  content: "";
  position: absolute;
  left: calc(3.4rem / 2);
  top: 1.1rem;
  bottom: 1.1rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--brand-light) 0%,
    rgba(21, 186, 230, 0.6) 50%,
    rgba(21, 186, 230, 0.15) 100%
  );
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  pointer-events: none;
}

/* Trigger line when first item becomes visible */
.process-list li.is-visible:first-child ~ * + *,
.process-list:has(li.is-visible)::before {
  clip-path: inset(0 0 0% 0);
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 0 0.5rem 2rem 0;
  position: relative;
  border: none;
  background: none;
  transition: transform 0.3s ease;
  transition-delay: calc(var(--step-i) * 0.12s);
}

.process-list li:last-child {
  padding-bottom: 0;
}

.process-list li:hover {
  transform: translateX(6px);
}

/* Node container: circle + animated ring */
.process-node {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background track ring (dim) */
.process-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(21, 186, 230, 0.18) 360deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 82%, #000 83%);
  mask: radial-gradient(farthest-side, transparent 82%, #000 83%);
  pointer-events: none;
}

/* Animated fill ring — fills on scroll reveal */
.process-node::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--brand-light) var(--ring-fill),
    transparent var(--ring-fill)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent 82%, #000 83%);
  mask: radial-gradient(farthest-side, transparent 82%, #000 83%);
  --ring-fill: 0deg;
  transition: --ring-fill 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--step-i, 0) * 0.18s + 0.25s);
  pointer-events: none;
}

/* Trigger fill when li becomes visible */
.process-list li.is-visible .process-node::after {
  --ring-fill: 360deg;
}

.process-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e5a99, #0b3d6b);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
}

.process-list li:hover .process-num {
  transform: scale(1.08);
}

.process-step-text {
  padding-top: 0.25rem;
}

.process-step-text strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
}

.process-step-text p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* Running light animation on the pipeline */
.process-list::after {
  content: "";
  position: absolute;
  left: calc(3.4rem / 2);
  top: 0;
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: pipelineFlow 3s ease-in-out infinite 1.8s;
  pointer-events: none;
  opacity: 0;
}

/* ─── Quality / Trust section ─────────────────────────────── */
.inline-link {
  color: #c5eeff;
  text-decoration: underline;
  text-decoration-color: rgba(21, 186, 230, 0.45);
  text-underline-offset: 0.2em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #fff;
  text-decoration-color: rgba(21, 186, 230, 0.85);
}

.company-stack {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 0.8rem;
}

.company-card {
  position: relative;
  overflow: clip;
  min-height: 290px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #09131e;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.company-card:hover {
  border-color: rgba(21, 186, 230, 0.2);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.company-media,
.company-overlay {
  position: absolute;
  inset: 0;
}

.company-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-card:hover .company-media video {
  transform: scale(1.06);
}

.company-overlay {
  background: linear-gradient(115deg, rgba(5, 8, 15, 0.9) 20%, rgba(5, 8, 15, 0.55) 64%, rgba(5, 8, 15, 0.35) 100%);
}

.company-body {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.1rem;
  max-width: 62ch;
}

.company-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.company-body h3 {
  margin: 0;
  font-size: clamp(1.16rem, 2vw, 1.56rem);
}

.company-body p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.company-card--pfueller {
  width: 70%;
  z-index: 3;
}

.company-card--hitega {
  width: 70%;
  margin-top: -2.8rem;
  margin-left: auto;
  z-index: 4;
}

.company-card--group {
  width: 78%;
  margin-top: -2.4rem;
  margin-left: 0;
  z-index: 2;
}

/* ─── Quality stack ───────────────────────────────────────── */
.quality-stack {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 0.8rem;
}

.quality-card {
  position: relative;
  overflow: visible;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1420;
  transition: border-color 0.4s ease;
}

.quality-card:hover {
  border-color: rgba(21, 186, 230, 0.2);
}

.quality-media,
.quality-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.quality-media {
  overflow: hidden;
}

.quality-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-card:hover .quality-media video {
  transform: scale(1.05);
}

.quality-overlay {
  background: linear-gradient(118deg, rgba(5, 8, 15, 0.9) 18%, rgba(5, 8, 15, 0.58) 65%, rgba(5, 8, 15, 0.36) 100%);
}

.quality-body {
  position: relative;
  z-index: 2;
  padding: 0.95rem 0.9rem;
  max-width: 62ch;
}

.quality-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.quality-body h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
}

.quality-body p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.quality-card--metrology {
  width: 86%;
  z-index: 3;
}

.quality-card--surface {
  width: 86%;
  margin-top: 2.55rem;
  margin-left: auto;
  z-index: 4;
}

.quality-card--cleanroom {
  width: 86%;
  margin-top: 2.55rem;
  margin-left: 0;
  z-index: 2;
}

/* Animated connectors */
.quality-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 34%;
  bottom: -2.4rem;
  width: 172px;
  height: 88px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 172 88'%3E%3Cpath d='M8 8 C 56 10 110 42 164 80' fill='none' stroke='%2315BAE6' stroke-width='2.3' stroke-linecap='round' stroke-dasharray='7 8'%3E%3Canimate attributeName='stroke-dashoffset' values='0;26;0' dur='2.2s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  z-index: 6;
  pointer-events: none;
  opacity: 0.9;
}

.quality-card:nth-child(2n):not(:last-child)::after {
  left: -2%;
  bottom: -2.25rem;
  width: 168px;
  height: 84px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 168 84'%3E%3Cpath d='M160 8 C 114 10 60 38 8 76' fill='none' stroke='%2315BAE6' stroke-width='2.3' stroke-linecap='round' stroke-dasharray='7 8'%3E%3Canimate attributeName='stroke-dashoffset' values='0;26;0' dur='2.2s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
}

/* ─── Career section ──────────────────────────────────────── */
.career-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
}

/* Horizontal slider */
.career-slider-wrap {
  overflow: hidden;
  margin-top: 0.5rem;
}

.career-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem max(calc((100vw - min(92vw, 1180px)) / 2), 4vw) 2rem;
}

.career-slider::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 15, 24, 0.5);
  color: rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  padding: 0.48rem 0.82rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: rgba(21, 186, 230, 0.58);
  color: #fff;
}

.filter-btn.is-active {
  border-color: rgba(21, 186, 230, 0.8);
  background: rgba(17, 52, 79, 0.75);
  color: #fff;
}

/* .career-masonry replaced by .career-slider */

.career-card {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.1rem;
  background: rgba(6, 16, 26, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.career-card:hover {
  border-color: rgba(21, 186, 230, 0.3);
  background: rgba(17, 52, 79, 0.2);
  transform: translateY(-2px);
}

/* "Mehr anzeigen" tile */
.career-card--more {
  flex: 0 0 min(220px, 70vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-decoration: none;
  color: #fff;
  border-color: rgba(21, 186, 230, 0.3);
  background: rgba(19, 100, 174, 0.08);
  text-align: center;
  min-height: 160px;
}

.career-card--more:hover {
  background: rgba(19, 100, 174, 0.18);
  border-color: rgba(21, 186, 230, 0.6);
  transform: translateY(-2px);
}

.career-card--more .more-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(21, 186, 230, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.career-card--more:hover .more-icon {
  background: rgba(21, 186, 230, 0.12);
  border-color: var(--brand-light);
}

.career-card--more span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.career-card h3 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.22;
}

.career-card a {
  color: #f3fbff;
}

.career-card time {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.career-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.career-pill {
  display: inline-flex;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
}

.career-pill--type {
  border-color: rgba(21, 186, 230, 0.55);
  color: #bceeff;
}

.career-card__cta {
  margin-top: 0.66rem;
  display: inline-flex;
  font-size: 0.85rem;
  color: #c8eefe;
}

.career-card__cta:hover,
.career-card__cta:focus-visible {
  color: #fff;
}

.career-card--placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* ─── CTA section ─────────────────────────────────────────── */
.section-cta {
  padding-top: 2rem;
}

.cta-panel {
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 52, 79, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(21, 186, 230, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-panel p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem 0 3rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1rem;
  font-size: 0.84rem;
}

/* ─── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero title word animation ───────────────────────────── */
.hero-ready .title-word {
  animation: titleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-ready .title-line:nth-child(1) .title-word:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-ready .title-line:nth-child(1) .title-word:nth-child(2) {
  animation-delay: 0.34s;
}

.hero-ready .title-line:nth-child(2) .title-word:nth-child(1) {
  animation-delay: 0.52s;
}

.hero-ready .title-line:nth-child(2) .title-word:nth-child(2) {
  animation-delay: 0.65s;
}

.hero-ready .title-line:nth-child(3) .title-word:nth-child(1) {
  animation-delay: 0.84s;
}

.hero-ready .title-line:nth-child(3) .title-word:nth-child(2) {
  animation-delay: 0.96s;
}

/* ─── Keyframes ───────────────────────────────────────────── */
@keyframes titleIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes logoSlideIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(-1.5%, -1.2%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 1.4%, 0) scale(1.03);
  }
}

@keyframes ambientSweep {
  0% {
    transform: translate3d(-42%, 0, 0);
  }
  50% {
    transform: translate3d(8%, 0, 0);
  }
  100% {
    transform: translate3d(-42%, 0, 0);
  }
}

@keyframes glowDrift {
  0% {
    transform: translate3d(-1.8%, -1.2%, 0) scale(1);
  }
  100% {
    transform: translate3d(2.4%, 1.8%, 0) scale(1.05);
  }
}

@keyframes pipelineFlow {
  0% { top: -40px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes lineDraw {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1060px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card:not(:last-child)::after {
    display: none;
  }

  .metric-card:not(:nth-child(2n))::after {
    display: block;
  }

  .competency-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: unset;
  }

  .competency-card:first-child {
    grid-row: auto;
    min-height: 360px;
  }

  .competency-card {
    min-height: 260px;
  }

  .process-grid,
  .trust-grid,
  .trust-cards {
    grid-template-columns: 1fr;
  }

  .process-media {
    position: relative;
    top: 0;
    min-height: 390px;
  }

  .company-card--pfueller,
  .company-card--hitega,
  .company-card--group {
    width: 100%;
    margin: 0;
  }

  .company-stack {
    display: grid;
    gap: 0.8rem;
  }

  .quality-card--metrology,
  .quality-card--surface,
  .quality-card--cleanroom {
    width: 100%;
    margin: 0;
  }

  .quality-stack {
    display: grid;
    gap: 0.8rem;
  }

  .quality-card {
    aspect-ratio: auto;
    min-height: 270px;
  }

  .quality-card:not(:last-child)::after,
  .quality-card:nth-child(2n):not(:last-child)::after {
    display: none;
  }

}


@media (max-width: 720px) {
  .brand-logo {
    left: 1rem;
    top: 0.7rem;
    gap: 0.5rem;
  }

  .brand-logo__icon {
    width: 34px;
    height: 34px;
  }

  /* Always hide text on mobile — only icon */
  .brand-logo__text {
    display: none;
  }

  .header-inner {
    padding: 0.5rem 1rem;
    min-height: 54px;
  }

  /* Always show hamburger on mobile */
  .main-nav {
    display: none;
  }

  .hamburger {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  /* Switcher stays reachable on mobile — the nav itself is hidden here */
  .lang-switcher__toggle {
    height: 32px;
    padding: 0 0.55rem;
  }

  .lang-switcher__name {
    font-size: 0.86rem;
  }

  .hero {
    height: 100svh;
    max-height: 100svh;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competency-grid {
    grid-template-columns: 1fr;
  }

  .hero-video {
    opacity: 0.42;
  }

  .footer-grid {
    flex-direction: column;
  }

}


/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .title-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .brand-logo {
    opacity: 1 !important;
  }

  .nav-list li {
    opacity: 1 !important;
  }

  .hero-scroll-indicator {
    opacity: 0.7 !important;
  }

  body::before,
  body::after,
  .page-glow {
    animation: none !important;
  }
}


.career-entry {
  background: transparent;
  color: var(--text-main);
}

.career-entry__head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.career-entry__head h2 {
  color: #fff;
  font-weight: 750;
}

.career-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.4rem);
}

.career-entry-card {
  position: relative;
  overflow: clip;
  border-radius: 12px;
  background: rgba(6, 16, 26, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.career-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 186, 230, 0.34);
  background: rgba(17, 52, 79, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.career-entry-card__image,
.career-entry-card__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  opacity: 0.86;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.career-entry-card:hover .career-entry-card__image,
.career-entry-card:hover .career-entry-card__video {
  transform: scale(1.06);
  opacity: 1;
}

.career-entry-card__body {
  position: relative;
  padding: 1.25rem;
}

.career-entry-card h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.22;
}

.career-entry-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.career-entry-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.career-entry-card__buttons .btn {
  background: #1364ae;
  color: #f4faff;
  border: 1px solid rgba(21, 186, 230, 0.24);
  box-shadow: 0 4px 24px rgba(19, 100, 174, 0.24);
  text-transform: none;
  letter-spacing: 0.01em;
}

.career-entry-card__buttons .btn:hover,
.career-entry-card__buttons .btn:focus-visible {
  background: #1575c5;
  border-color: rgba(21, 186, 230, 0.48);
  box-shadow: 0 6px 32px rgba(21, 186, 230, 0.28);
}

@media (max-width: 820px) {
  .career-entry__grid {
    grid-template-columns: 1fr;
  }
}

.home-cta__panel {
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--brand-marine), var(--brand-blue));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.home-cta__panel h2 {
  margin: 0;
}

.home-cta__panel p {
  max-width: 62ch;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 820px) {
  .career-entry__grid {
    grid-template-columns: 1fr;
  }

  .home-cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
