/* ─────────────────────────────────────────────────────────
   BELLCAPTAIN DESIGN SYSTEM
   Evening Light · Corporate Minimalism · Warm Gold
   ───────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800&display=swap");

:root {
  color-scheme: light;

  /* ── Surfaces ── */
  --surface: #fff8f5;
  --surface-0: #ffffff;
  --surface-1: #fbf2ed;
  --surface-2: #f5ece7;
  --surface-3: #efe6e2;
  --surface-4: #e9e1dc;

  /* ── Text ── */
  --text: #2d2926;
  --text-muted: #6b6661;
  --text-soft: #807662;

  /* ── Brand Gold ── */
  --gold: #b78f01;
  --gold-deep: #755b00;
  --gold-ink: #ffffff;
  --gold-glow: rgba(183, 143, 1, 0.12);
  --gold-glow-strong: rgba(117, 91, 0, 0.18);

  /* ── Borders ── */
  --outline: rgba(128, 118, 98, 0.26);
  --outline-gold: rgba(183, 143, 1, 0.28);
  --outline-hover: rgba(117, 91, 0, 0.42);

  /* ── Feedback ── */
  --danger: #ba1a1a;
  --success: #15803d;

  /* ── Layout ── */
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 64px);
  --section-pad: clamp(80px, 12vw, 160px);

  /* ── Shape ── */
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ── Motion ── */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 380ms;

  /* ── Font ── */
  font-family:
    "Roboto",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* ─── RESET ─── */

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

/* Ensure [hidden] always wins over display: grid/flex etc. */
[hidden] {
  display: none !important;
}

html {
  background: var(--surface);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(238, 193, 64, 0.35);
  color: var(--text);
}

/* ─── LAYOUT ─── */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
}

/* ─── HEADER / NAV ─── */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition:
    background var(--duration) var(--ease),
    border-bottom-color var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom-color: var(--outline);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 156px;
  height: auto;
  transition: opacity var(--duration) var(--ease);
}

.brand:hover img {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.button) {
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.nav-links a:not(.button):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a:not(.button)[aria-current="page"] {
  color: var(--gold);
  background: var(--gold-glow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background var(--duration) var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform var(--duration) var(--ease);
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(0) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-2px) rotate(-45deg);
}

/* ─── BUTTONS ─── */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 4px 24px rgba(238, 193, 64, 0.15);
}

.button-primary:hover {
  background: #f5cc55;
  box-shadow: 0 8px 32px rgba(238, 193, 64, 0.25);
}

.button:disabled,
.button:disabled:hover {
  transform: none;
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.button.application-submit-loading,
.button.button-submit-loading,
.button.application-submit-loading:disabled,
.button.button-submit-loading:disabled,
.button.application-submit-loading:disabled:hover,
.button.button-submit-loading:disabled:hover {
  cursor: progress;
  opacity: 1;
}

.button-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: button-spinner-spin 760ms linear infinite;
}

.button-success,
.button-success:disabled,
.button-success:disabled:hover {
  border-color: rgba(134, 239, 172, 0.42);
  background: linear-gradient(135deg, #15803d, #22c55e);
  color: #f0fdf4;
  cursor: default;
  opacity: 1;
  box-shadow:
    0 10px 28px rgba(34, 197, 94, 0.22),
    0 0 0 1px rgba(134, 239, 172, 0.16);
}

.application-submit-success {
  animation: application-success-pop 520ms var(--ease-out);
}

.success-check {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(240, 253, 244, 0.86);
  border-radius: 999px;
  transform: scale(0.72);
  animation: success-check-circle 420ms var(--ease-out) 80ms forwards;
}

.success-check::after {
  position: absolute;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  transform-origin: center;
  animation: success-check-mark 320ms var(--ease-out) 260ms forwards;
}

.button-secondary {
  border-color: var(--outline-hover);
  background: rgba(238, 193, 64, 0.06);
  color: var(--gold);
}

.button-secondary:hover {
  background: rgba(238, 193, 64, 0.12);
  border-color: var(--gold);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ─── TYPOGRAPHY ─── */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ─── GLASS EFFECT ─── */

.glass {
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

/* ─── HERO — SCROLL ANIMATION CONTAINER ─── */

.scroll-hero {
  position: relative;
  height: 400vh;
}

.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 30%,
      rgba(183, 143, 1, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 100% 100% at 50% 100%,
      rgba(13, 13, 13, 1) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--surface) 0%, #111 100%);
  transition: transform 0.1s linear;
}

.scroll-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition:
    transform 0.1s linear,
    opacity 0.3s var(--ease);
}

#scroll-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 75vh;
  width: auto;
  aspect-ratio: 1174 / 2030;
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  z-index: 1;
  will-change: opacity;
}

#scroll-canvas.loaded {
  opacity: 1;
  /* Full opacity for optimized details in centered view */
}

@media (min-width: 1024px) {
  #scroll-canvas {
    height: 86vh;
  }
}

@media (max-width: 768px) {
  #scroll-canvas {
    width: min(450px, 90%);
    height: auto;
    max-height: 65vh;
  }
}

.scroll-canvas-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 75vh;
  width: auto;
  aspect-ratio: 1174 / 2030;
  z-index: 4;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

@media (min-width: 1024px) {
  .scroll-canvas-overlay {
    height: 86vh;
  }
}

@media (max-width: 768px) {
  .scroll-canvas-overlay {
    width: min(450px, 90%);
    height: auto;
    max-height: 65vh;
  }
}

.orbiting-logo {
  position: absolute;
  width: 16%;
  /* relative to canvas width */
  aspect-ratio: 1;
  --logo-mark-opacity: 1;
  --logo-backdrop-opacity: 0.6;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: normal;
  isolation: isolate;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 8px rgba(238, 193, 64, 0.58))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.72));
  transition: opacity 0.1s linear;
  will-change: transform, opacity, top, left;
}

.orbiting-logo::before {
  position: absolute;
  inset: -13%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(
      circle,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.28) 44%,
      transparent 70%
    ),
    radial-gradient(
      circle,
      rgba(238, 193, 64, 0.32) 0%,
      rgba(238, 193, 64, 0.14) 50%,
      transparent 72%
    );
  content: "";
  opacity: var(--logo-backdrop-opacity);
}

.orbiting-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: var(--logo-mark-opacity);
  filter: contrast(1.18) saturate(1.12) brightness(1.04);
}

.scroll-hero-splash-glow {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, 50%) scale(0);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(238, 193, 64, 0.45) 0%,
    rgba(238, 193, 64, 0.15) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition:
    transform 0.1s var(--ease),
    opacity 0.1s var(--ease);
}

.scroll-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 40%,
      transparent 0%,
      var(--surface) 100%
    ),
    linear-gradient(180deg, transparent 0%, var(--surface) 95%);
  pointer-events: none;
}

.scroll-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--gutter);
}

.scroll-hero-content h1 {
  margin-inline: auto;
}

.scroll-hero-content .lead {
  margin-inline: auto;
}

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

/* Floating stat cards in hero */
.scroll-hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.float-card {
  position: absolute;
  width: 280px;
  padding: 24px;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
  pointer-events: none;
}

.float-card.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.float-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Staggered positioning on desktop */
@media (min-width: 1200px) {
  .float-card[data-float-card="0"] {
    left: 10%;
    top: 25%;
  }

  .float-card[data-float-card="1"] {
    right: 10%;
    top: 45%;
  }

  .float-card[data-float-card="2"] {
    left: 10%;
    bottom: 20%;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .float-card[data-float-card="0"] {
    left: 4%;
    top: 20%;
  }

  .float-card[data-float-card="1"] {
    right: 4%;
    top: 45%;
  }

  .float-card[data-float-card="2"] {
    left: 4%;
    bottom: 15%;
  }
}

/* Mobile positioning (stacked at the bottom) */
@media (max-width: 768px) {
  .float-card {
    width: calc(100% - 32px);
    left: 16px !important;
    right: 16px !important;
    bottom: 6vh !important;
    top: auto !important;
    margin-inline: auto;
  }
}

/* ─── HERO SIMPLE (Career page) ─── */

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: clamp(120px, 16vh, 180px) 0 clamp(100px, 12.2vh, 150px);
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.15;
  hyphens: auto;
  word-break: break-word;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 20%,
      rgba(183, 143, 1, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, var(--surface) 0%, rgba(20, 20, 20, 0.9) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 30vh;
  background: linear-gradient(180deg, transparent, var(--surface));
  content: "";
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.career-hero-inner {
  grid-template-columns: minmax(0, 760px);
}

.hero-panel {
  padding: 28px;
}

.hero-panel .eyebrow {
  margin-bottom: 12px;
}

.hero-panel h3 {
  margin-bottom: 12px;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── SECTIONS ─── */

.section {
  padding-block: var(--section-pad);
  position: relative;
}

#leistungen {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.section-heading {
  display: grid;
  max-width: 720px;
  gap: 12px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

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

/* Band — alternating section background */
.band {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(13, 13, 13, 0.8) 100%
  );
  border-block: 1px solid var(--outline);
}

/* ─── GRID LAYOUTS ─── */

.grid-3,
.grid-4,
.split {
  display: grid;
  gap: 24px;
}

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

/* Keep the post-hero sections together during the hero-to-content transition. */
.post-hero-content {
  will-change: transform;
}

/* Compositor hints for scroll-animated leistungen cards */
#leistungen {
  contain: layout style;
}

#leistungen .grid-3 .card {
  will-change: transform, opacity;
}

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

.split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  align-items: center;
}

/* ─── CARDS ─── */

.card,
.package-card,
.job-card,
.legal-card {
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.card:hover,
.package-card:hover {
  border-color: var(--outline-gold);
  background: rgba(26, 26, 26, 0.72);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--outline-gold);
}

.card,
.package-card,
.job-card {
  padding: clamp(20px, 3vw, 32px);
}

.card p,
.package-card p,
.job-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Icon marks */
.icon-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-md);
  background: var(--gold-glow);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

/* SVG icon wrapper */
.icon-wrap {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-md);
  background: var(--gold-glow);
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  stroke-width: 1.5;
}

/* ─── TIMELINE (Ablauf) ─── */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 24px;
  max-width: 900px;
  margin-inline: auto;
}

/* Central vertical track */
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 0;
}

.timeline-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border-radius: 2px;
  transition: height 80ms linear;
  box-shadow: 0 0 12px rgba(238, 193, 64, 0.3);
}

/* Each timeline row */
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  gap: 0;
  padding-block: 20px;
  z-index: 1;

  /* Animate in */
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}

.timeline-item.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Odd items: content LEFT, empty RIGHT */
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 20px;
}

.timeline-item:nth-child(odd) .timeline-node {
  grid-column: 2;
  grid-row: 1;
}

/* Even items: content RIGHT, empty LEFT */
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-left: 20px;
}

.timeline-item:nth-child(even) .timeline-node {
  grid-column: 2;
  grid-row: 1;
}

/* The node circle */
.timeline-node {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(26, 26, 26, 0.9),
    rgba(13, 13, 13, 0.95)
  );
  border: 2px solid var(--outline);
  justify-self: center;
  position: relative;
  z-index: 2;
  transition:
    border-color 500ms var(--ease),
    box-shadow 500ms var(--ease),
    transform 400ms var(--ease),
    background 500ms var(--ease);
}

.timeline-node svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  stroke-width: 1.5;
  transition: color 500ms var(--ease);
}

/* Activated state (when scroll reaches this node) */
.timeline-item.tl-visible .timeline-node {
  border-color: var(--gold);
  background: linear-gradient(
    145deg,
    rgba(40, 32, 10, 0.95),
    rgba(20, 16, 5, 0.95)
  );
  box-shadow:
    0 0 24px rgba(238, 193, 64, 0.2),
    0 0 48px rgba(238, 193, 64, 0.08);
  transform: scale(1.05);
}

.timeline-item.tl-visible .timeline-node svg {
  color: var(--gold);
}

/* Content card */
.timeline-content {
  padding: 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.timeline-content:hover {
  border-color: var(--outline-gold);
  background: rgba(26, 26, 26, 0.65);
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--outline-gold);
}

.timeline-number {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
  opacity: 0.7;
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  transition: color var(--duration) var(--ease);
}

.timeline-content:hover h3 {
  color: var(--gold);
}

.timeline-content .muted {
  font-size: 14px;
  line-height: 1.55;
}

/* Career hiring process */
.hiring-process {
  max-width: 980px;
  padding-block: 12px 4px;
}

.hiring-process .timeline-item {
  padding-block: 22px;
}

.hiring-process .timeline-content {
  position: relative;
  overflow: hidden;
  min-height: 168px;
}

.hiring-process .timeline-content::after {
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(183, 143, 1, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 143, 1, 0.1), transparent 68%);
  content: "";
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out);
}

.hiring-process .timeline-item.tl-visible .timeline-content::after {
  opacity: 1;
  transform: scale(1);
}

.hiring-process .timeline-node {
  width: 64px;
  height: 64px;
}

.hiring-process .timeline-node svg {
  width: 28px;
  height: 28px;
}

.hiring-process .timeline-item.tl-visible .timeline-node {
  transform: scale(1.08);
}

.hiring-process .timeline-number {
  color: var(--gold-deep);
}

/* Career 3-step process */
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: steps;
}

.step-card {
  counter-increment: steps;
  position: relative;
  padding: 32px 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 26, 0.5);
  text-align: center;
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.step-card:hover {
  border-color: var(--outline-gold);
  transform: translateY(-4px);
}

.step-card::before {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  content: counter(steps);
  font-weight: 800;
  font-size: 18px;
}

/* ─── PACKAGE CARDS ─── */

.package-card {
  position: relative;
  overflow: hidden;
}

.package-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-deep),
    transparent
  );
  opacity: 0;
  transition: opacity 560ms var(--ease);
}

.package-card:hover::after {
  opacity: 1;
}

/* ─── JOBS ─── */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.job-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.job-card-header {
  display: grid;
  gap: 10px;
}

.job-card-kicker-row {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-card .eyebrow,
.job-card h3 {
  margin-bottom: 0;
}

.job-card h3 {
  line-height: 1.22;
  text-wrap: balance;
}

.job-card:hover {
  border-color: var(--outline-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.job-meta span,
.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.job-actions .button {
  min-width: 112px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.job-card .button-secondary {
  border-color: rgba(183, 143, 1, 0.28);
  background: rgba(183, 143, 1, 0.1);
  color: var(--gold-deep);
}

.job-detail-panel {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 18, 0.88);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.35);
}

.job-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.job-share-wrap {
  position: relative;
  flex-shrink: 0;
}

.job-share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--outline-gold);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.job-share-icon-btn:hover {
  background: var(--gold-glow);
  color: var(--gold);
  border-color: var(--gold);
}

.job-share-wrap .share-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
}

.job-detail-header h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.job-detail-meta,
.job-detail-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-detail-meta {
  margin-bottom: 28px;
}

.job-detail-meta span,
.job-detail-benefits span {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.job-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.job-detail-content section {
  min-width: 0;
}

.job-detail-content h4 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 15px;
}

.job-detail-richtext {
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.job-detail-richtext p {
  margin-bottom: 0;
}

.job-detail-richtext p + p,
.job-detail-richtext ol,
.job-detail-richtext ul {
  margin-top: 10px;
}

.job-detail-richtext ol,
.job-detail-richtext ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.job-detail-richtext li + li {
  margin-top: 5px;
}

.job-detail-richtext strong {
  color: var(--text);
}

.job-detail-richtext a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.job-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--outline);
}

/* ─── STATS ROW ─── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding-block: 48px;
}

.stat-item strong {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ─── FORMS ─── */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.privacy-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--gold);
}

.privacy-consent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-help {
  margin: -2px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(13, 13, 13, 0.6);
  color: var(--text);
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-soft);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(238, 193, 64, 0.1);
  background: rgba(13, 13, 13, 0.8);
}

.contact-time-field {
  margin: 0;
  border: 0;
  padding: 0;
}

.contact-time-field legend {
  margin: 0 0 8px;
  padding: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.checkbox-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-choice {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.checkbox-choice:hover,
.checkbox-choice:focus-within {
  border-color: var(--outline-gold);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(66, 50, 33, 0.06);
}

.checkbox-choice:has(input:checked) {
  border-color: rgba(183, 143, 1, 0.58);
  background: rgba(183, 143, 1, 0.14);
  box-shadow:
    0 0 0 1px rgba(183, 143, 1, 0.16),
    0 12px 26px rgba(117, 91, 0, 0.1);
}

.checkbox-choice input {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 2px solid rgba(107, 102, 97, 0.66);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.checkbox-choice input::before {
  width: 10px;
  height: 10px;
  background: #ffffff;
  clip-path: polygon(14% 48%, 0 62%, 38% 100%, 100% 14%, 85% 0, 36% 67%);
  content: "";
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 120ms var(--ease),
    transform 120ms var(--ease);
}

.checkbox-choice input:checked {
  border-color: var(--gold);
  background: var(--gold);
}

.checkbox-choice input:checked::before {
  opacity: 1;
  transform: scale(1);
}

.checkbox-choice input:focus,
.checkbox-choice input:focus-visible {
  box-shadow: 0 0 0 4px rgba(183, 143, 1, 0.16);
  outline: none;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.form-status.error {
  color: var(--danger);
}

.application-fallback {
  display: grid;
  gap: 12px;
  color: var(--text-muted);
}

.application-fallback p {
  margin: 0;
  color: var(--danger);
}

.application-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.application-email-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.application-email-body-label {
  margin-top: 4px;
}

.application-email-body {
  min-height: 260px;
  font-size: 13px;
  line-height: 1.55;
  cursor: copy;
}

.referral-notice {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(238, 193, 64, 0.18);
  border-radius: var(--radius);
  background: rgba(238, 193, 64, 0.06);
  padding: 14px;
}

.referral-notice p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
}

/* ─── FUNNEL (Application) ─── */

.funnel {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
}

.not-found-section {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding-top: 120px;
  padding-bottom: 64px;
}

.not-found-section h1 {
  max-width: 780px;
  margin-inline: auto;
}

.not-found-section .section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin-inline: auto;
}

.funnel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.progress-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar {
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 300ms var(--ease);
}

.choice-grid {
  display: grid;
  gap: 10px;
}

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

.choice {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.choice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(238, 193, 64, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
}

.choice:hover::after {
  opacity: 1;
}

.choice:hover {
  border-color: var(--outline-hover);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.choice[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(238, 193, 64, 0.15);
  background: var(--gold-glow);
  font-weight: 600;
}

.funnel-step-container {
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
  opacity: 1;
  transform: translateY(0);
  width: 100%;
}

.funnel-step-container.funnel-transitioning {
  opacity: 0;
  transform: translateY(10px);
}

.funnel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--outline);
}

.funnel-success {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-md);
  background: rgba(183, 143, 1, 0.08);
  padding: clamp(20px, 3vw, 28px);
}

.funnel-success p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.funnel-success p:first-child {
  color: var(--text);
  font-weight: 700;
}

.range-field {
  display: grid;
  gap: 12px;
}

.range-field input[type="range"] {
  width: 100%;
  height: 48px;
  border-color: var(--outline);
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  accent-color: var(--gold);
}

.range-field input[type="range"]:hover {
  background: rgba(255, 255, 255, 0.55);
}

.range-field input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) var(--range-progress, 0%),
    rgba(128, 118, 98, 0.16) var(--range-progress, 0%),
    rgba(128, 118, 98, 0.16) 100%
  );
}

.range-field input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  margin-top: -10px;
}

.range-field input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(128, 118, 98, 0.16);
}

.range-field input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.range-field input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: none;
}

.range-field output {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 8px 12px;
  font-weight: 700;
}

/* ─── CONTACT SECTION ─── */

.contact-section {
  position: relative;
}

/* ─── FAQ ─── */

.faq-section .section-heading {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.faq-list {
  display: grid;
  max-width: 960px;
  margin-inline: auto;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 48px rgba(45, 41, 38, 0.06);
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.faq-item[open] {
  border-color: var(--outline-gold);
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 18px 54px rgba(45, 41, 38, 0.08),
    0 0 0 1px rgba(183, 143, 1, 0.1);
}

.faq-item summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(18px, 3vw, 28px);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.faq-item summary::selection,
.faq-item summary *::selection {
  background: transparent;
  color: inherit;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius);
  background: var(--gold-glow);
  color: var(--gold-deep);
  content: "+";
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.faq-item[open] summary::after {
  background: var(--gold);
  color: var(--gold-ink);
  content: "-";
  transform: rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(183, 143, 1, 0.34);
  outline-offset: -3px;
}

.faq-question {
  min-width: 0;
}

.faq-answer {
  padding: 0 clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px);
}

.faq-answer p {
  max-width: 840px;
  margin: 0;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */

.site-footer {
  border-top: 1px solid var(--outline);
  background: var(--surface-0);
  padding-block: 48px 32px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner .brand img {
  width: 132px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a {
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
  text-align: center;
}

.footer-bottom .muted {
  font-size: 13px;
}

/* ─── LEGAL ─── */

.legal-page {
  padding-block: 120px 96px;
}

.legal-card {
  padding: clamp(24px, 4vw, 48px);
}

.legal-card h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: clamp(20px, 3.5vw, 24px);
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--outline);
  padding-bottom: 8px;
  color: var(--gold);
}

.legal-card h3 {
  font-size: clamp(16px, 2.5vw, 18px);
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-card h4 {
  font-size: clamp(14px, 2vw, 15px);
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* ─── ABOUT PAGE ─── */

.about-page {
  overflow: hidden;
}

.about-hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  align-items: center;
  overflow: hidden;
  padding: clamp(128px, 16vh, 190px) 0 clamp(76px, 10vh, 130px);
  background:
    radial-gradient(ellipse 72% 56% at 78% 24%, rgba(183, 143, 1, 0.12), transparent 62%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.82) 0%, rgba(251, 242, 237, 0.7) 48%, rgba(239, 230, 226, 0.82) 100%),
    var(--surface);
}

.about-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 28vh;
  background: linear-gradient(180deg, transparent, var(--surface));
  content: "";
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.about-hero-copy {
  max-width: 850px;
}

.about-hero-copy h1 {
  max-width: 850px;
  letter-spacing: 0;
}

.about-hero-text {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.72;
}

.about-stats-section {
  padding-top: clamp(56px, 8vw, 100px);
}

.about-drive-copy {
  max-width: 900px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
}

.about-drive-copy h2 {
  margin-inline: auto;
}

.about-drive-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto 16px;
  color: var(--text-muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.72;
}

.about-drive-copy p:last-child {
  margin-bottom: 0;
}

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

.about-stat-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(128, 118, 98, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 236, 231, 0.82)),
    var(--surface-0);
  box-shadow: 0 22px 54px rgba(66, 50, 33, 0.08);
  transition:
    border-color 520ms var(--ease),
    transform 620ms var(--ease-out),
    box-shadow 620ms var(--ease-out);
}

.about-stat-card::after {
  position: absolute;
  inset: auto -20% -42%;
  height: 62%;
  background: linear-gradient(90deg, transparent, rgba(183, 143, 1, 0.14), transparent);
  content: "";
  transform: rotate(-8deg);
  transition: transform 700ms var(--ease-out);
}

.about-stat-card:hover {
  border-color: rgba(183, 143, 1, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(66, 50, 33, 0.12);
}

.about-stat-card:hover::after {
  transform: translateY(-18px) rotate(-8deg);
}

.about-stat-ring {
  position: relative;
  display: block;
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 34px;
  border-radius: 999px;
  background: conic-gradient(from 0deg, var(--gold), rgba(183, 143, 1, 0.08), var(--gold-deep), var(--gold));
  animation: about-ring-spin 5.8s linear infinite;
}

.about-stat-ring::after {
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: var(--surface-0);
  content: "";
}

.about-stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.95;
}

.about-stat-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
}

.about-principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.about-principle {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 118, 98, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 44px rgba(66, 50, 33, 0.07);
}

.about-principle::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  content: "";
}

.about-principle::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(183, 143, 1, 0.09) 44%, transparent 68%);
  content: "";
  opacity: 0;
  transform: translateX(-42%);
  transition:
    opacity 500ms var(--ease),
    transform 900ms var(--ease-out);
  pointer-events: none;
}

.about-principle:hover::after {
  opacity: 1;
  transform: translateX(42%);
}

.about-principle-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  border: 1px solid rgba(183, 143, 1, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(183, 143, 1, 0.09);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.about-principle h3 {
  max-width: 620px;
  margin-bottom: 18px;
}

.about-principle p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.72;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-value-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(128, 118, 98, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  background: rgba(245, 236, 231, 0.84);
  box-shadow: 0 18px 44px rgba(66, 50, 33, 0.07);
  transition:
    border-color 520ms var(--ease),
    background 560ms var(--ease),
    transform 620ms var(--ease-out),
    box-shadow 620ms var(--ease-out);
}

.about-value-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(183, 143, 1, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.74), transparent 42%);
  content: "";
  opacity: 0;
  transition: opacity 520ms var(--ease);
  pointer-events: none;
}

.about-value-card:hover {
  border-color: rgba(183, 143, 1, 0.26);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(66, 50, 33, 0.12);
}

.about-value-card:hover::before {
  opacity: 1;
}

.about-value-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(117, 91, 0, 0.58);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-value-card h3,
.about-value-card p {
  position: relative;
  z-index: 1;
}

.about-value-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.64;
}

.about-cta-band {
  padding-block: clamp(64px, 9vw, 112px);
  background:
    linear-gradient(100deg, rgba(45, 41, 38, 0.96), rgba(66, 50, 33, 0.9)),
    var(--text);
  color: #ffffff;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.about-cta-inner h2 {
  color: #ffffff;
}

.about-cta-inner p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

/* ─── ANIMATIONS ─── */

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 100ms;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 200ms;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 300ms;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(5) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(6) {
  transition-delay: 500ms;
  opacity: 1;
  transform: translateY(0);
}

@keyframes about-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  z-index: 200;
  left: 16px;
  top: 16px;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--gold-ink);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Ambient glow decorations */
.glow-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.glow-orb--gold {
  background: rgba(183, 143, 1, 0.15);
}

/* ─── RESPONSIVE — TABLET ─── */

@media (max-width: 1200px) {
  .hero-inner,
  .split,
  .about-hero-inner,
  .about-principles {
    grid-template-columns: 1fr;
  }

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

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

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .scroll-hero-cards {
    flex-wrap: wrap;
    gap: 12px;
  }

  .float-card {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }
}

/* ─── RESPONSIVE — MOBILE ─── */

@media (max-width: 760px) {
  :root {
    --section-pad: clamp(56px, 10vw, 80px);
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 64px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px;
    z-index: 100;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .button {
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 148px;
    padding-bottom: 48px;
    margin-top: 0;
  }

  .scroll-hero {
    height: 300vh;
  }

  .hero-inner,
  .split,
  .about-hero-inner,
  .about-principles,
  .grid-3,
  .grid-4,
  .jobs-grid,
  .job-detail-content,
  .form-grid,
  .choice-grid.cards,
  .steps-3 {
    grid-template-columns: 1fr;
  }

  .job-actions,
  .job-detail-header,
  .job-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Timeline mobile: left-aligned single column */
  .timeline-item {
    grid-template-columns: 48px 16px 1fr;
    gap: 0;
  }

  .timeline-track {
    left: 24px;
    transform: none;
  }

  .timeline-node {
    width: 48px;
    height: 48px;
  }

  .hiring-process {
    padding-block: 0;
  }

  .hiring-process .timeline-item {
    grid-template-columns: 52px 14px 1fr;
    padding-block: 16px;
  }

  .hiring-process .timeline-track {
    left: 26px;
  }

  .hiring-process .timeline-node {
    width: 52px;
    height: 52px;
  }

  .hiring-process .timeline-node svg {
    width: 24px;
    height: 24px;
  }

  .hiring-process .timeline-content {
    min-height: auto;
    padding: 20px;
  }

  .checkbox-choice-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-choice {
    min-height: 64px;
    padding: 16px 18px;
    font-size: 18px;
  }

  .checkbox-choice:has(input:checked) {
    border-color: var(--gold);
    background: rgba(183, 143, 1, 0.18);
    box-shadow:
      0 0 0 2px rgba(183, 143, 1, 0.18),
      0 14px 30px rgba(117, 91, 0, 0.12);
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding: 20px 24px;
  }

  .timeline-item:nth-child(odd) .timeline-node,
  .timeline-item:nth-child(even) .timeline-node {
    grid-column: 1;
    grid-row: 1;
  }

  /* Warum Bellcaptain grid: override inline styles on mobile */
  .split .grid-3[style] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .split .grid-3[style] .card {
    padding: 20px 14px !important;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .about-hero {
    min-height: auto;
    padding-top: 112px;
  }

  .about-stats-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-card,
  .about-value-card {
    min-height: auto;
  }

  .about-principle {
    padding-left: clamp(24px, 7vw, 36px);
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-cta-inner .button {
    width: 100%;
  }

  .scroll-hero-cards {
    flex-direction: column;
    bottom: 4vh;
    gap: 10px;
    width: calc(100% - 32px);
  }

  .float-card {
    min-width: 100%;
    padding: 18px;
  }

  .float-card strong {
    font-size: 24px;
  }

  h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .funnel-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .funnel-top .tag {
    order: -1;
  }
}

/* ─── SMALL MOBILE ─── */

@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ─── REDUCED MOTION ─── */

@keyframes application-success-pop {
  0% {
    transform: translateY(0) scale(0.97);
  }

  55% {
    transform: translateY(-1px) scale(1.03);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes button-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes success-check-circle {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes success-check-mark {
  0% {
    opacity: 0;
    transform: translateY(-1px) rotate(-45deg) scale(0.6);
  }

  100% {
    opacity: 1;
    transform: translateY(-1px) rotate(-45deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }

  .float-card {
    opacity: 1;
    transform: none;
  }

  .about-stat-ring {
    animation: none !important;
  }

  .scroll-hero {
    height: auto;
  }

  .scroll-hero-sticky {
    position: relative;
  }
}

/* ─── JOBS FILTER BAR ─── */

.jobs-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: 16px 20px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.jobs-search-wrap,
.jobs-city-wrap {
  position: relative;
  flex: 1 1 200px;
}

.jobs-search-icon,
.jobs-city-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-soft);
  pointer-events: none;
  stroke-width: 2;
  z-index: 1;
}

.jobs-search-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(13, 13, 13, 0.6);
  color: var(--text);
  outline: none;
  padding: 12px 16px 12px 40px;
  font-size: 15px;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.jobs-search-input::placeholder {
  color: var(--text-soft);
}

.jobs-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(238, 193, 64, 0.1);
  background: rgba(13, 13, 13, 0.8);
}

/* Suppress native search cancel button styling */
.jobs-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.jobs-city-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(13, 13, 13, 0.6);
  color: var(--text);
  outline: none;
  padding: 12px 16px 12px 40px;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237A7368'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background-color var(--duration) var(--ease);
}

.jobs-city-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(238, 193, 64, 0.1);
}

.jobs-city-select option {
  background: var(--surface-2);
  color: var(--text);
}

.jobs-filter-count {
  flex-shrink: 0;
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 0;
  white-space: nowrap;
}

.jobs-empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  border: 1px dashed var(--outline);
  border-radius: var(--radius-lg);
}

/* ─── NEWS ─── */

.news-hero {
  padding: calc(72px + clamp(72px, 10vw, 120px)) 0 clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--outline);
  background:
    linear-gradient(180deg, rgba(238, 193, 64, 0.08), rgba(13, 13, 13, 0)),
    var(--surface);
}

.news-hero h1,
.news-article-header h1 {
  max-width: 920px;
  color: var(--text);
}

.news-hero .lead,
.news-article-header .lead {
  max-width: 760px;
  color: var(--text-muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 20, 0.82);
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.news-card:hover {
  border-color: var(--outline-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--gold-glow-strong);
}

.news-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.news-card-media img,
.news-article-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(238, 193, 64, 0.12),
    rgba(255, 255, 255, 0.03)
  );
}

.news-card-placeholder img {
  width: 72px;
  height: 72px;
  opacity: 0.7;
}

.news-card-content {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.news-card-content h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text);
}

.news-card-content p {
  margin: 0;
  color: var(--text-muted);
}

.news-card-meta,
.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.news-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--outline-gold);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.news-empty {
  grid-column: 1 / -1;
  padding: clamp(32px, 6vw, 64px);
  border: 1px dashed var(--outline);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 20, 0.55);
  text-align: center;
}

.news-empty h2,
.news-empty p {
  color: var(--text);
}

.news-article {
  padding-top: calc(72px + clamp(48px, 8vw, 96px));
}

.news-article-header {
  display: grid;
  gap: 18px;
}

.news-article-header .job-detail-back {
  margin: 0 0 12px;
}

.news-article-hero {
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  margin-top: clamp(28px, 5vw, 56px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.news-article-body {
  padding-block: clamp(40px, 7vw, 80px);
  color: var(--text);
  overflow-x: hidden;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.news-article-body p,
.news-article-body li,
.news-article-body blockquote {
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.news-article-body p {
  margin: 0 0 1rem;
}

.news-article-body strong {
  color: var(--text);
  font-weight: 800;
}

.news-article-body .news-blank-line {
  height: 0.75rem;
  margin: 0;
}

.news-article-body ol,
.news-article-body ul {
  margin: 0 0 1.2rem;
  padding-left: 1.4rem;
}

.news-article-body li {
  margin-bottom: 0.35rem;
}

.news-article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-article-body blockquote {
  margin: 28px 0;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  color: var(--text-muted);
}

.news-article-body img {
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0 1.25rem;
  border-radius: var(--radius);
}

.news-share {
  max-width: 880px;
  padding-bottom: clamp(56px, 8vw, 100px);
}

/* Floating share button for news article pages */
.float-share-wrap {
  position: fixed;
  z-index: 90;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.float-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 8px 32px rgba(238, 193, 64, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.4);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
  animation: float-cta-in 0.5s var(--ease-out) 0.8s both;
}

.float-share-btn:hover {
  background: #f5cc55;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(238, 193, 64, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.float-share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
}

.share-panel {
  z-index: 50;
  min-width: 220px;
  border: 1px solid var(--outline-gold);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--outline-gold);
}

.share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.share-option:hover {
  background: var(--gold-glow);
  color: var(--gold);
}

.share-option svg {
  flex-shrink: 0;
}

/* Filter bar responsive */
@media (max-width: 600px) {
  .jobs-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-search-wrap,
  .jobs-city-wrap {
    flex: 1 1 100%;
  }
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .news-card-content {
    padding: 18px;
  }
}

/* ─── FLOATING CTA ─── */

.float-cta {
  position: fixed;
  z-index: 90;
  bottom: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 8px 32px rgba(238, 193, 64, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
  animation: float-cta-in 0.5s var(--ease-out) 0.8s both;
}

@keyframes float-cta-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.float-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
}

.float-cta:hover {
  background: #f5cc55;
  box-shadow:
    0 12px 40px rgba(238, 193, 64, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.float-cta:active {
  transform: translateY(0) scale(0.98);
}

.float-cta--hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
}

@media (max-width: 480px) {
  .float-cta {
    bottom: 18px;
    right: 16px;
    padding: 12px 18px;
    font-size: 14px;
    gap: 8px;
  }

  .float-share-wrap {
    bottom: 18px;
    right: 16px;
  }

  .float-share-btn {
    padding: 12px 18px;
    font-size: 14px;
    gap: 8px;
  }
}

/* ─── JOB DETAIL PAGE ─── */

.job-detail-hero {
  padding: clamp(100px, 14vh, 160px) 0 clamp(64px, 8vw, 96px);
}

.job-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    color var(--duration) var(--ease),
    gap var(--duration) var(--ease);
}

.job-detail-back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform var(--duration) var(--ease);
}

.job-detail-back:hover {
  color: var(--gold);
  gap: 12px;
}

.job-detail-back:hover svg {
  transform: translateX(-4px);
}

.job-detail-panel--page {
  margin-top: 0;
}

.job-detail-h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  max-width: none;
}

.job-detail-salary {
  color: var(--gold) !important;
  border-color: var(--outline-gold) !important;
  background: var(--gold-glow) !important;
}

.job-detail-section-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   Evening Light visual layer
   ───────────────────────────────────────────────────────── */

html,
body {
  background: var(--surface);
  color: var(--text);
}

body {
  line-height: 1.5;
}

::selection {
  background: rgba(183, 143, 1, 0.2);
  color: var(--text);
}

.site-header {
  border-bottom-color: transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--outline);
  background: rgba(255, 248, 245, 0.88);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(66, 50, 33, 0.05);
}

.brand img {
  filter: none;
}

.nav-links a:not(.button) {
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button)[aria-current="page"] {
  color: var(--gold-deep);
  background: rgba(183, 143, 1, 0.1);
}

.nav-toggle {
  border-color: var(--outline);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(66, 50, 33, 0.08);
}

.nav-toggle:hover {
  background: #ffffff;
}

.button {
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: none;
}

.button-primary,
.float-cta {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 14px 32px rgba(117, 91, 0, 0.18);
}

.button-primary:hover,
.float-cta:hover {
  background: var(--gold-deep);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(117, 91, 0, 0.22);
}

.button-secondary,
.button-ghost {
  border-color: rgba(128, 118, 98, 0.36);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--gold);
  background: rgba(183, 143, 1, 0.1);
  color: var(--gold-deep);
}

h1 {
  max-width: 850px;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h3 {
  color: var(--text);
}

.lead {
  color: var(--text-muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
}

.eyebrow {
  color: var(--gold-deep);
  font-weight: 700;
}

.muted,
.section-heading p,
.hero-panel p,
.card p,
.package-card p,
.job-card p,
.footer-links,
.job-detail-content p,
.job-detail-richtext,
.form-status,
.application-fallback,
.privacy-consent,
.choice,
.share-option,
.job-detail-back {
  color: var(--text-muted);
}

.glass,
.card,
.package-card,
.job-card,
.legal-card,
.timeline-content,
.step-card,
.funnel,
.jobs-filters,
.job-detail-panel,
.news-card,
.share-panel {
  border: 1px solid rgba(128, 118, 98, 0.16);
  background: rgba(245, 236, 231, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(66, 50, 33, 0.07);
}

.card,
.package-card,
.job-card,
.legal-card,
.timeline-content,
.step-card,
.news-card {
  border-color: transparent;
}

.card,
.package-card,
.job-card,
.legal-card,
.timeline-content,
.step-card,
.news-card {
  transition:
    border-color 520ms var(--ease),
    background 560ms var(--ease),
    color 560ms var(--ease),
    transform 620ms var(--ease-out),
    box-shadow 620ms var(--ease-out);
}

.card:hover,
.package-card:hover,
.job-card:hover,
.timeline-content:hover,
.step-card:hover,
.news-card:hover {
  border-color: rgba(183, 143, 1, 0.24);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(66, 50, 33, 0.1);
}

.icon-wrap,
.icon-mark {
  border-color: rgba(183, 143, 1, 0.22);
  background: rgba(183, 143, 1, 0.1);
  color: var(--gold-deep);
}

.icon-wrap svg {
  color: var(--gold-deep);
}

.band {
  border-block: 1px solid rgba(128, 118, 98, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(251, 242, 237, 0.62)),
    var(--surface-1);
}

.scroll-hero-bg,
.hero::before,
.news-hero {
  background:
    radial-gradient(ellipse 70% 48% at 50% 30%, rgba(255, 255, 255, 0.86), transparent 68%),
    linear-gradient(180deg, #fff8f5 0%, #fbf2ed 62%, #f5ece7 100%);
}

.hero::after {
  background: linear-gradient(180deg, transparent, var(--surface));
}

.scroll-hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 248, 245, 0.04) 0%, rgba(255, 248, 245, 0.18) 74%, rgba(255, 248, 245, 0.72) 96%, var(--surface) 100%),
    radial-gradient(ellipse 70% 52% at 50% 40%, transparent 0%, rgba(255, 248, 245, 0.22) 82%, rgba(255, 248, 245, 0.52) 100%);
}

#scroll-canvas {
  border-radius: var(--radius-xl);
  box-shadow:
    0 28px 70px rgba(66, 50, 33, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.86);
}

.orbiting-logo {
  filter:
    drop-shadow(0 2px 6px rgba(255, 255, 255, 0.65))
    drop-shadow(0 14px 22px rgba(66, 50, 33, 0.22));
}

.orbiting-logo::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.34) 52%, transparent 72%),
    radial-gradient(circle, rgba(183, 143, 1, 0.2) 0%, rgba(183, 143, 1, 0.08) 50%, transparent 74%);
}

.float-card {
  border-color: rgba(183, 143, 1, 0.18);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(66, 50, 33, 0.12);
}

.float-card strong,
.stat-item strong,
.timeline-number,
.job-detail-content h4,
.legal-card h2,
.job-detail-section-title,
.jobs-filter-count {
  color: var(--gold-deep);
}

.timeline-track {
  background: rgba(128, 118, 98, 0.22);
}

.timeline-track-fill,
.progress-bar {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 18px rgba(183, 143, 1, 0.18);
}

.timeline-node {
  border-color: rgba(128, 118, 98, 0.22);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(66, 50, 33, 0.08);
}

.timeline-node svg {
  color: var(--text-soft);
}

.timeline-item.tl-visible .timeline-node {
  border-color: rgba(183, 143, 1, 0.42);
  background: #fffaf0;
  box-shadow: 0 16px 36px rgba(117, 91, 0, 0.13);
}

.timeline-item.tl-visible .timeline-node svg,
.timeline-content:hover h3 {
  color: var(--gold-deep);
}

.step-card::before {
  background: var(--gold);
  color: #ffffff;
}

.job-meta span,
.tag,
.job-detail-meta span,
.job-detail-benefits span,
.range-field output {
  border: 1px solid rgba(183, 143, 1, 0.14);
  background: rgba(183, 143, 1, 0.09);
  color: var(--gold-deep);
}

label {
  color: var(--text-muted);
}

input,
textarea,
select,
.jobs-search-input,
.jobs-city-select {
  border-color: rgba(128, 118, 98, 0.28);
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

input::placeholder,
textarea::placeholder,
.jobs-search-input::placeholder {
  color: var(--text-soft);
}

input:focus,
textarea:focus,
select:focus,
.jobs-search-input:focus,
.jobs-city-select:focus {
  border-color: var(--gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(183, 143, 1, 0.12);
}

.choice {
  border-color: rgba(128, 118, 98, 0.18);
  background: rgba(255, 255, 255, 0.5);
}

.choice::after {
  background: radial-gradient(circle, rgba(183, 143, 1, 0.1) 0%, transparent 70%);
}

.choice:hover,
.choice[aria-pressed="true"] {
  border-color: rgba(183, 143, 1, 0.36);
  background: rgba(183, 143, 1, 0.1);
  color: var(--text);
  box-shadow: none;
}

.progress-track {
  background: rgba(128, 118, 98, 0.16);
}

.funnel-heading {
  max-width: 100%;
}

.funnel-progress-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: -8px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.funnel-progress-row .progress-track {
  margin: 0;
}

.funnel-progress-row span {
  font-variant-numeric: tabular-nums;
}

.referral-notice {
  border-color: rgba(183, 143, 1, 0.18);
  background: rgba(183, 143, 1, 0.08);
}

.referral-notice p {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(128, 118, 98, 0.18);
  background: #fbf2ed;
}

.footer-links a:hover,
.application-email-link,
.privacy-consent a,
.job-share-icon-btn:hover,
.share-option:hover,
.job-detail-back:hover {
  color: var(--gold-deep);
}

.job-share-icon-btn {
  border-color: rgba(128, 118, 98, 0.24);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-muted);
}

.job-share-icon-btn:hover,
.share-option:hover {
  border-color: rgba(183, 143, 1, 0.28);
  background: rgba(183, 143, 1, 0.1);
}

.jobs-city-select option {
  background: #ffffff;
  color: var(--text);
}

.news-card-media,
.news-card-placeholder {
  background: var(--surface-3);
}

.news-card-placeholder {
  background: linear-gradient(135deg, rgba(183, 143, 1, 0.12), rgba(255, 255, 255, 0.64));
}

.news-article-content {
  color: var(--text);
}

.glow-orb {
  display: none;
}

.scroll-hero-splash-glow {
  background: radial-gradient(circle, rgba(183, 143, 1, 0.18) 0%, rgba(183, 143, 1, 0.08) 42%, transparent 70%);
}

@media (max-width: 760px) {
  .nav-links {
    border-color: rgba(128, 118, 98, 0.2);
    background: rgba(255, 248, 245, 0.96);
    box-shadow: 0 18px 44px rgba(66, 50, 33, 0.12);
  }

  h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.12;
  }

  .split .grid-3[style] .card {
    box-shadow: 0 14px 30px rgba(66, 50, 33, 0.07);
  }
}
