/* ============================================================================
   FLOWGRID CAREERS — 5-Act Swiss-Editorial Interactive Narrative
   Exact Flowgrid Palette:
   - Surfaces: #000000 Jet Black, #080808 Deep Carbon, #FFFFFF Pure White,
               #0033FF Electric Cobalt Blue
   - Accents:  #7C3AED Electric Purple (primary 9999px pills),
               #84CC16 Lime Green (strictly tiny accent dots/hover cues)
   - Ink:      #000000 on white, #FFFFFF on black/blue, #6B7280 / #9CA3AF micro-labels
   ============================================================================ */

@font-face {
  font-family: Aeonik;
  src: url(/assets/fonts/Aeonik-Regular.woff2) format("woff2"), url(/assets/fonts/Aeonik-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Aeonik;
  src: url(/assets/fonts/Aeonik-Medium.woff2) format("woff2"), url(/assets/fonts/Aeonik-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: IBMPlexMono;
  src: url(/assets/fonts/IBMPlexMono-Regular.woff2) format("woff2"), url(/assets/fonts/IBMPlexMono-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --fg-black: #000000;
  --fg-carbon: #080808;
  --fg-white: #FFFFFF;
  --fg-blue: #0033FF;
  --fg-purple: #7C3AED;
  --fg-purple-hover: #6D28D9;
  --fg-lime: #84CC16;
  --fg-muted-light: #6B7280;
  --fg-muted-dark: #9CA3AF;
  --fg-hairline-dark: rgba(255, 255, 255, 0.14);
  --fg-hairline-light: rgba(0, 0, 0, 0.12);
}

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

html {
  font: 16px Aeonik, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background-color: var(--fg-black);
  color: var(--fg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-stopped {
  overflow: clip;
}

body {
  margin: 0;
  background-color: var(--fg-black);
  color: var(--fg-white);
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

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

button {
  font: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fg-purple);
  outline-offset: 3px;
}

/* ============================================================================
   GLOBAL FLOWGRID FLOATING HEADER (Preserved Exact Signature Navigation)
   ============================================================================ */

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  color: #000000;
  padding: clamp(18px, 2.4vw, 32px) 4vw;
  font-size: clamp(13px, 1vw, 15px);
  pointer-events: none;
  transition: color 0.25s ease;
}

#header.--on-dark-section #header-logo {
  color: #FFFFFF;
}

#header.--menu-opened #header-logo {
  color: #000000;
}

#header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-background {
  position: fixed;
  inset: 0;
  background: linear-gradient(270deg, rgba(11, 11, 18, 0.36) 0%, rgba(11, 11, 18, 0.1) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}

#header-background.--opened {
  opacity: 1;
  pointer-events: auto;
}

#header-logo {
  display: inline-flex;
  align-items: center;
  color: #000000;
  pointer-events: auto;
  z-index: 2;
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

#header-logo.fg-has-liquid-logo {
  position: relative;
  width: clamp(158px, 11.6vw, 196px);
  aspect-ratio: 760 / 160;
  height: auto;
  flex-shrink: 0;
}

#header-logo.fg-has-liquid-logo .fg-liquid-logo-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#header-logo.fg-has-liquid-logo .fg-liquid-logo-legacy-svg {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

#header-logo.fg-has-liquid-logo .fg-liquid-logo-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#header-logo svg {
  width: clamp(102px, 8.2vw, 136px);
  height: auto;
  display: block;
}

#header-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  pointer-events: auto;
  z-index: 2;
}

#header-right-talk-btn,
#header-right-menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 9999px;
  border: none;
  padding: 0 18px;
  font-family: Aeonik, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

#header-right-talk-btn {
  background: var(--fg-purple);
  color: #FFFFFF;
}

#header-right-talk-btn:hover {
  background: var(--fg-purple-hover);
  transform: translateY(-1px);
}

#header-right-talk-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#header-right-talk-btn-arrow {
  position: absolute;
  left: -4px;
  display: inline-flex;
  width: 14px;
  height: 14px;
  transform: translateX(-22px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.1, 1), opacity 0.2s;
}

#header-right-talk-btn-text {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.1, 1);
}

#header-right-talk-btn-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6px;
  height: 6px;
  transition: transform 0.2s;
}

.header-right-talk-btn-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

@media (hover: hover) {
  #header-right-talk-btn:hover #header-right-talk-btn-dots {
    transform: scale(0);
  }
  #header-right-talk-btn:hover #header-right-talk-btn-text {
    transform: translateX(10px);
  }
  #header-right-talk-btn:hover #header-right-talk-btn-arrow {
    transform: translateX(0);
    opacity: 1;
  }
}

#header-right-menu-btn {
  background: #e4e6ef;
  color: #1c1d21;
}

#header-right-menu-btn:hover,
#header-right-menu-btn.--opened {
  background: #FFFFFF;
  color: #1c1d21;
}

#header-right-menu-btn-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  overflow: hidden;
}

#header-right-menu-btn-text {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.1, 1);
}

#header-right-menu-btn-text-close {
  position: absolute;
  left: 0;
  transform: translateY(115%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.1, 1);
}

#header-right-menu-btn.--opened #header-right-menu-btn-text {
  transform: translateY(-115%);
}

#header-right-menu-btn.--opened #header-right-menu-btn-text-close {
  transform: translateY(0);
}

#header-right-menu-btn-dots {
  position: relative;
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.1, 1);
}

#header-right-menu-btn:hover #header-right-menu-btn-dots,
#header-right-menu-btn.--opened #header-right-menu-btn-dots {
  transform: rotate(90deg);
}

.header-right-menu-btn-dot {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.header-right-menu-btn-dot:first-child {
  left: 1px;
}

.header-right-menu-btn-dot:last-child {
  right: 1px;
}

#header-menu {
  position: fixed;
  top: clamp(72px, 6.5vw, 92px);
  right: 4vw;
  width: min(320px, calc(100vw - 8vw));
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  pointer-events: none;
  z-index: 2;
}

#header-menu.--opened {
  pointer-events: auto;
}

#header-menu-links {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) rotate(2deg);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

#header-menu.--opened #header-menu-links {
  opacity: 1;
  transform: translateY(0) rotate(0);
  pointer-events: auto;
}

.header-menu-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.9rem 1.35rem;
  color: #1c1d21;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 9999px;
}

.header-menu-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-purple);
  transform: translateY(-50%) scale(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.1, 1);
  z-index: 2;
}

.header-menu-link.--active::before {
  transform: translateY(-50%) scale(1);
}

.header-menu-link-background {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--fg-purple);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s, transform 0.32s cubic-bezier(0.4, 0, 0.1, 1);
}

.header-menu-link:hover .header-menu-link-background {
  opacity: 0.1;
  transform: scale(1);
}

.header-menu-link-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu-link-text,
.header-menu-link-text-clone {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.1, 1);
}

.header-menu-link-text-clone {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(105%);
}

.header-menu-link:hover .header-menu-link-text {
  transform: translateY(-105%);
}

.header-menu-link:hover .header-menu-link-text-clone {
  transform: translateY(0);
}

.header-menu-link-svg {
  width: 20px;
  height: 20px;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.1, 1);
}

.header-menu-link:hover .header-menu-link-svg {
  transform: scale(1);
}

.header-menu-link.--active:hover::before {
  transform: translateY(-50%) scale(0);
}

/* ============================================================================
   SHARED EDITORIAL PRIMITIVES (Crosshairs, Micro-labels, Pills, Containers)
   ============================================================================ */

.cr-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.75rem);
}

.cr-crosshairs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: IBMPlexMono, monospace;
  font-size: 13px;
  padding-bottom: 1.15rem;
  user-select: none;
}

.cr-crosshairs--dark {
  color: var(--fg-muted-dark);
  border-bottom: 1px solid var(--fg-hairline-dark);
}

.cr-crosshairs--light {
  color: var(--fg-muted-light);
  border-bottom: 1px solid var(--fg-hairline-light);
}

.cr-crosshairs--blue {
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.cr-micro {
  font-family: IBMPlexMono, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.cr-micro--dark {
  color: var(--fg-muted-dark);
}

.cr-micro--light {
  color: var(--fg-muted-light);
}

.cr-micro--blue {
  color: rgba(255, 255, 255, 0.8);
}

.cr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0 1.55rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: IBMPlexMono, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.cr-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.cr-pill--primary {
  background-color: var(--fg-purple);
  color: #FFFFFF;
}

.cr-pill--primary:hover {
  background-color: var(--fg-purple-hover);
  transform: translateY(-1px);
}

.cr-pill--primary .cr-pill-dot {
  background-color: var(--fg-lime);
}

.cr-pill--ghost-dark {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
}

.cr-pill--ghost-dark:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.cr-pill--ghost-light {
  background-color: transparent;
  color: #000000;
  border-color: rgba(0, 0, 0, 0.24);
}

.cr-pill--ghost-light:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.cr-pill--white {
  background-color: #FFFFFF;
  color: #000000;
}

.cr-pill--white:hover {
  background-color: var(--fg-lime);
  color: #000000;
  transform: translateY(-1px);
}

/* ============================================================================
   ACT 1 — THE HOOK (Jet Black + Three.js Architectural WebGL)
   ============================================================================ */

.cr-act-hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--fg-black);
  color: var(--fg-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(6.5rem, 10vw, 8.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  overflow: hidden;
}

.cr-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.cr-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - clamp(8.75rem, 14vw, 11.75rem));
  gap: clamp(2.5rem, 5vw, 4rem);
}

.cr-hero-main {
  max-width: 1020px;
  margin-top: auto;
  margin-bottom: auto;
}

.cr-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.cr-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--fg-lime);
  flex-shrink: 0;
}

.cr-hero-title {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(2.75rem, 6.8vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--fg-white);
  margin: 0;
  text-wrap: balance;
}

.cr-split-line {
  overflow: hidden;
  padding-bottom: 0.08em;
}

.cr-hero-sub {
  margin-top: clamp(1.5rem, 2.8vw, 2.25rem);
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.3vw, 1.24rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.cr-hero-actions {
  margin-top: clamp(2rem, 3.2vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.cr-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--fg-hairline-dark);
}

.cr-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg-white);
}

.cr-scroll-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--fg-purple);
  animation: crPulse 2.2s ease-in-out infinite;
}

@keyframes crPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.5;
  }
}

/* ============================================================================
   ACT 2 — THE STORY ("WHY WE EXIST" — Pure White Pinned ScrollTrigger)
   ============================================================================ */

.cr-act-story {
  position: relative;
  min-height: 100svh;
  background-color: var(--fg-white);
  color: var(--fg-black);
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.cr-story-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4.5vw, 4rem);
}

.cr-story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cr-story-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem);
  border-top: 1px solid var(--fg-hairline-light);
  border-bottom: 1px solid var(--fg-hairline-light);
  padding: clamp(2.5rem, 5.5vw, 4.5rem) 0;
}

.cr-story-statement {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  opacity: 0.24;
  transform: translateY(8px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.cr-story-statement.is-active {
  opacity: 1;
  transform: translateY(0);
}

.cr-story-statement.is-past {
  opacity: 0.38;
  transform: translateY(0);
}

.cr-story-num {
  font-family: IBMPlexMono, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-muted-light);
  font-variant-numeric: tabular-nums;
}

.cr-story-statement.is-active .cr-story-num {
  color: var(--fg-purple);
}

.cr-story-text {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 4.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg-black);
  text-wrap: balance;
}

.cr-story-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cr-story-progress-track {
  position: relative;
  flex: 1 1 220px;
  max-width: 420px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.cr-story-progress-bar {
  position: absolute;
  inset: 0;
  background-color: var(--fg-purple);
  transform-origin: left center;
  transform: scaleX(0.33);
  transition: transform 0.25s ease;
}

.cr-story-steps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cr-story-step {
  appearance: none;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: var(--fg-muted-light);
  font-family: IBMPlexMono, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cr-story-step:hover {
  border-color: var(--fg-black);
  color: var(--fg-black);
}

.cr-story-step.is-active {
  background-color: var(--fg-black);
  border-color: var(--fg-black);
  color: var(--fg-white);
}

/* ============================================================================
   ACT 3 — HOW WE WORK (Jet Black Staggered Culture Chapters + Editorial Photos)
   ============================================================================ */

.cr-act-culture {
  position: relative;
  background-color: var(--fg-black);
  color: var(--fg-white);
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.cr-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 1.5rem 3.5rem;
  align-items: end;
  margin-top: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: clamp(3rem, 5vw, 4.75rem);
}

.cr-h2 {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-top: 0.85rem;
  text-wrap: balance;
}

.cr-lead-dark {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.74);
  max-width: 44ch;
}

.cr-lead-light {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
  color: #374151;
  max-width: 46ch;
}

.cr-culture-ledger {
  border-top: 1px solid var(--fg-hairline-dark);
}

.cr-culture-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
  padding: clamp(2rem, 3.6vw, 3.25rem) 0;
  border-bottom: 1px solid var(--fg-hairline-dark);
}

.cr-culture-num {
  font-family: IBMPlexMono, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg-lime);
  padding-top: 0.35rem;
}

.cr-culture-title {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-white);
}

.cr-culture-desc {
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.76);
}

.cr-culture-gallery {
  margin-top: clamp(3rem, 5vw, 4.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.cr-photo-figure {
  margin: 0;
}

.cr-photo-frame {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--fg-hairline-dark);
  background-color: var(--fg-carbon);
}

.cr-photo-frame--wide {
  aspect-ratio: 16 / 10;
}

.cr-photo-frame--tall {
  aspect-ratio: 4 / 3;
}

.cr-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.82);
}

.cr-photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--fg-hairline-dark);
}

/* ============================================================================
   ACT 4 — OPEN ROLES (Pure White Expandable Hairline Rows)
           + ELECTRIC COBALT BLUE (#0033FF) PATHWAY CALLOUT BAND
   ============================================================================ */

.cr-act-roles {
  position: relative;
  background-color: var(--fg-white);
  color: var(--fg-black);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0 clamp(4.5rem, 7vw, 6.5rem);
}

.cr-roles-list {
  border-top: 1px solid var(--fg-hairline-light);
}

.cr-role-row {
  border-bottom: 1px solid var(--fg-hairline-light);
  transition: border-color 0.25s ease;
}

.cr-role-row.is-open {
  border-bottom-color: rgba(124, 58, 237, 0.35);
}

.cr-role-trigger {
  appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  padding: clamp(1.75rem, 3vw, 2.65rem) 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.35fr) minmax(0, 0.8fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.cr-role-index {
  font-family: IBMPlexMono, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-muted-light);
}

.cr-role-row.is-open .cr-role-index {
  color: var(--fg-purple);
}

.cr-role-name {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--fg-black);
  transition: color 0.2s ease, transform 0.25s ease;
}

.cr-role-trigger:hover .cr-role-name {
  color: var(--fg-blue);
  transform: translateX(4px);
}

.cr-role-meta {
  font-family: IBMPlexMono, monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted-light);
}

.cr-role-toggle-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: IBMPlexMono, monospace;
  font-size: 16px;
  color: var(--fg-black);
  transition: transform 0.28s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.cr-role-trigger:hover .cr-role-toggle-icon {
  border-color: var(--fg-purple);
  color: var(--fg-purple);
}

.cr-role-row.is-open .cr-role-toggle-icon {
  background-color: var(--fg-purple);
  border-color: var(--fg-purple);
  color: var(--fg-white);
  transform: rotate(45deg);
}

.cr-role-drawer {
  padding: 0 0 clamp(2rem, 3.5vw, 3rem) 72px;
}

.cr-role-drawer[hidden] {
  display: none;
}

.cr-role-drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 2rem 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--fg-hairline-light);
}

.cr-role-summary {
  font-size: 1.04rem;
  line-height: 1.62;
  color: #1F2937;
}

.cr-role-points {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.cr-role-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #374151;
}

.cr-role-points li::before {
  content: "+";
  font-family: IBMPlexMono, monospace;
  color: var(--fg-purple);
  flex-shrink: 0;
}

.cr-role-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.cr-role-stack {
  font-family: IBMPlexMono, monospace;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #111827;
  margin-top: 0.5rem;
}

.cr-role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Electric Cobalt Blue (#0033FF) Full-Bleed Pathway Band */
.cr-act-blue-band {
  position: relative;
  background-color: var(--fg-blue);
  color: var(--fg-white);
  padding: clamp(4.25rem, 7vw, 6.25rem) 0;
}

.cr-blue-grid {
  margin-top: clamp(2rem, 3.2vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 2rem 3.5rem;
  align-items: end;
}

.cr-blue-title {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--fg-white);
  margin-top: 0.75rem;
  text-wrap: balance;
}

.cr-blue-copy {
  margin-top: 1.15rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.86);
}

.cr-blue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================================
   ACT 5 — FINALE CTA (Jet Black Full-Bleed + Clean Footer)
   ============================================================================ */

.cr-act-finale {
  position: relative;
  background-color: var(--fg-black);
  color: var(--fg-white);
  padding: clamp(6rem, 10vw, 9.5rem) 0 clamp(3rem, 5vw, 4.25rem);
}

.cr-finale-content {
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
  max-width: 980px;
}

.cr-finale-title {
  font-family: Aeonik, sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.032em;
  color: var(--fg-white);
  margin-top: 1rem;
  text-wrap: balance;
}

.cr-finale-sub {
  margin-top: 1.45rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.72);
}

.cr-finale-actions {
  margin-top: clamp(2.25rem, 3.8vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cr-footer {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--fg-hairline-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cr-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.cr-footer-links a {
  font-family: IBMPlexMono, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted-dark);
  transition: color 0.2s ease;
}

.cr-footer-links a:hover {
  color: var(--fg-white);
}

/* ============================================================================
   DESKTOP CUSTOM DOT-AND-RING CURSOR (Fine Pointer Only)
   ============================================================================ */

.cr-cursor-dot,
.cr-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.cr-cursor-dot {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  border-radius: 50%;
  background-color: var(--fg-lime);
}

.cr-cursor-ring {
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.72);
}

.cr-cursor-dot.is-visible,
.cr-cursor-ring.is-visible {
  opacity: 1;
}

.cr-cursor-ring.is-hovering {
  width: 46px;
  height: 46px;
  margin-left: -23px;
  margin-top: -23px;
  border-color: var(--fg-lime);
}

@media (hover: none), (pointer: coarse) {
  .cr-cursor-dot,
  .cr-cursor-ring {
    display: none;
  }
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile — Zero Horizontal Overflow)
   ============================================================================ */

@media (max-width: 960px) {
  .cr-section-head,
  .cr-culture-row,
  .cr-culture-gallery,
  .cr-role-drawer-grid,
  .cr-blue-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .cr-role-trigger {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .cr-role-meta {
    grid-column: 2 / 3;
  }

  .cr-role-drawer {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  #header-right-talk-btn {
    padding: 0 14px;
    font-size: 0.76rem;
    height: 38px;
  }

  #header-right-menu-btn {
    padding: 0 14px;
    font-size: 0.76rem;
    height: 38px;
  }

  .cr-story-statement {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .cr-hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cr-role-trigger {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 1rem;
  }

  .cr-role-index {
    grid-column: 1 / 2;
  }

  .cr-role-name {
    grid-column: 1 / 2;
  }

  .cr-role-meta {
    grid-column: 1 / 2;
  }

  .cr-role-toggle-icon {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-scroll-indicator {
    animation: none;
  }

  .cr-story-statement {
    opacity: 1;
    transform: none;
  }
}
