/* ============================================================
   Redline Careers — v2
   Always dark. Display type: slight-chance (Typekit).
   Body type: Inter (Google Fonts).
   ============================================================ */

:root{
  --bg: #070708;
  --bg-2: #0d0d0f;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --border: #26262b;
  --border-strong: #38383f;
  --text: #f4f2ee;
  --text-muted: #9d9a95;
  --text-dim: #6b6965;
  --red: #e2342c;
  --red-glow: #ff4a3d;
  --red-soft: rgba(226,52,44,0.12);
  --tan: #c9a875;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "slight-chance", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 72px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible{
  outline: 2px solid var(--red-glow);
  outline-offset: 3px;
  border-radius: 6px;
}

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{ padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* ---------- Type ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-glow);
  margin: 0 0 18px;
}
/* "Live" label: a small pulsing dot in place of a dash. */
.eyebrow--live::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: liveDot 2s ease-out infinite;
}
@keyframes liveDot{
  0%{ box-shadow: 0 0 0 0 rgba(255,74,61,0.7); }
  70%{ box-shadow: 0 0 0 8px rgba(255,74,61,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,74,61,0); }
}

/* Red line under a heading (e.g. "What reps actually make"). */
.subhead{
  margin: -8px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: var(--red-glow);
}

.h-display{
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.5px;
  margin: 0;
}

.h2{
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 18px;
  text-wrap: balance;
}

.lead{
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

.accent{ color: var(--red-glow); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; transition: transform .18s ease; }
.btn:hover svg{ transform: translateX(3px); }

.btn-primary{
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(226,52,44,0.75), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover{
  background: var(--red-glow);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(255,74,61,0.85), inset 0 1px 0 rgba(255,255,255,0.22);
}

.btn-ghost{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{
  border-color: var(--red-glow);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm{ padding: 10px 20px; font-size: 0.82rem; }
.btn-block{ width: 100%; }

/* ---------- Header ---------- */
.header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled{
  background: rgba(7,7,8,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img{ height: 30px; width: auto; }

.nav{ display: flex; align-items: center; gap: 36px; }
.nav-links{ display: flex; gap: 30px; }
.nav-links a{
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(244,242,238,0.75);
  transition: color .15s ease;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover{ color: #fff; }
.nav-links a:hover::after{ transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/recruit-hero-banner.jpg") 15% 40% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
  translate: 0 var(--parallax, 0px);
  will-change: transform, translate;
}
@keyframes heroZoom{ to{ transform: scale(1); } }
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,7,8,0.92) 0%, rgba(7,7,8,0.7) 40%, rgba(7,7,8,0.25) 75%, rgba(7,7,8,0.4) 100%),
    linear-gradient(180deg, rgba(7,7,8,0.55) 0%, transparent 25%, transparent 55%, var(--bg) 100%);
}
.hero-content{
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 40px;
}
.hero-title{
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.hero-title .line{ display: block; }
.hero-title .accent{
  display: block;
  text-shadow: 0 0 40px rgba(255,74,61,0.35);
}
.hero-sub{
  margin: 26px 0 36px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(244,242,238,0.82);
  max-width: 62ch;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 56px;
}
.hero-stat{
  padding: 24px 24px 4px 0;
}
.hero-stat + .hero-stat{
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value{
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}
.hero-stat-label{
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Partners marquee ---------- */
.partners{
  padding: 38px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-2);
}
.partners-label{
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 22px;
}
.marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track{
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-reverse{ animation-direction: reverse; }
@keyframes marquee{ to{ transform: translateX(-50%); } }

.partner-logo{
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity .2s ease;
}
.partner-logo:hover{ opacity: 1; }

/* ---------- Why ---------- */
.why-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.why-intro .lead{ margin-bottom: 30px; }

.pillars{
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.pillar{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 20px;
  min-height: 92px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.pillar::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.pillar:hover::before{ transform: scaleX(1); }
.pillar-num{
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--red-glow);
  font-variant-numeric: tabular-nums;
}
.pillar-text{
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  transition: transform .3s ease;
}
.pillar:hover .pillar-text{ transform: translateX(8px); }

/* ---------- Punch ---------- */
.punch{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
/* Slow, low-contrast drift of the red glow; scoped to this section only. */
.punch::before,
.punch::after{
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  will-change: transform, opacity;
}
.punch::before{
  inset: -10% -20%;
  background: radial-gradient(ellipse 45% 60% at 50% 100%, rgba(226,52,44,0.18), transparent 70%);
  animation: punchGlow 16s ease-in-out infinite alternate;
}
.punch::after{
  inset: -10% -20%;
  background: radial-gradient(ellipse 28% 40% at 50% 95%, rgba(255,74,61,0.10), transparent 70%);
  animation: punchGlowAlt 11s ease-in-out infinite alternate;
}
@keyframes punchGlow{
  0%{ transform: translateX(-6%) scale(1); opacity: .75; }
  100%{ transform: translateX(6%) scale(1.08); opacity: 1; }
}
/* Corner glows: a slow drift and breathe, never a full sweep. */
@keyframes glowDrift{
  0%{ transform: translate(-4%, 3%) scale(1); opacity: .7; }
  100%{ transform: translate(4%, -3%) scale(1.12); opacity: 1; }
}
@keyframes glowDriftAlt{
  0%{ transform: translate(3%, -2%) scale(1.08); opacity: 1; }
  100%{ transform: translate(-4%, 3%) scale(1); opacity: .65; }
}
@keyframes punchGlowAlt{
  0%{ transform: translateX(10%) translateY(4%); opacity: .5; }
  100%{ transform: translateX(-10%) translateY(0); opacity: 1; }
}
.punch p{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.punch .muted{ color: #4a4846; }
.punch .muted + .muted{ margin-top: 4px; }
.punch .big{
  margin-top: 28px;
  color: var(--text);
}
.punch .big em{
  font-style: normal;
  color: var(--red-glow);
  text-shadow: 0 0 40px rgba(255,74,61,0.4);
}

/* ---------- Pay ---------- */
.pay{ background: var(--bg-2); border-block: 1px solid var(--border); }
.pay-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.pay-head .lead{ max-width: 40ch; }
.pay-tag{
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ladder{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  height: 420px;
}
.rung{
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rung-bar{
  position: relative;
  height: var(--h);
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius) var(--radius) 6px 6px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: bottom;
  transition: border-color .2s ease;
  overflow: hidden;
}
.rung-bar::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--red);
  opacity: 0.5;
}
.rung:hover .rung-bar{ border-color: rgba(226,52,44,0.6); }
.rung--top .rung-bar{
  background: linear-gradient(180deg, var(--red) 0%, #a81f19 100%);
  border-color: var(--red-glow);
  box-shadow: 0 30px 60px -30px rgba(255,74,61,0.7);
}
.rung--top .rung-bar::before{ background: #fff; opacity: 0.6; }
.rung-value{
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rung-label{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rung--top .rung-label{ color: rgba(255,255,255,0.85); }

.reveal-bars .rung-bar{ transform: scaleY(0.2); opacity: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .5s ease, border-color .2s ease; }
.reveal-bars .rung:nth-child(2) .rung-bar{ transition-delay: .1s; }
.reveal-bars .rung:nth-child(3) .rung-bar{ transition-delay: .2s; }
.reveal-bars .rung:nth-child(4) .rung-bar{ transition-delay: .3s; }
.reveal-bars.is-visible .rung-bar{ transform: scaleY(1); opacity: 1; }

.pay-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.disclaimer{ font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* ---------- Story ---------- */
.story-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.profile{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 32px;
}
.profile img{
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  box-shadow: 0 0 0 4px rgba(226,52,44,0.15);
}
.profile-name{ font-family: var(--display); font-size: 1.3rem; font-weight: 700; display: block; line-height: 1.2; }
.profile-meta{ font-size: 0.9rem; color: var(--text-muted); }

.story-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-stat{
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.story-stat strong{
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--red-glow);
}
.story-stat span{ font-size: 0.85rem; color: var(--text-muted); }

.chart-card{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.chart-card::before{
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 85% 12%, rgba(226,52,44,0.16), transparent 70%);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
.chart-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.chart-head b{ color: var(--text); font-weight: 600; }
.chart-card svg{ width: 100%; height: auto; overflow: visible; }
.chart-grid line{ stroke: var(--border); stroke-dasharray: 3 5; }
.chart-axis text{ fill: var(--text-dim); font-family: var(--body); font-size: 12px; }
.chart-pt circle.dot{
  fill: var(--bg);
  stroke: var(--red-glow);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: r .15s ease, transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s ease;
}
.chart-pt .val{
  fill: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  transition: opacity .35s ease, transform .35s ease;
}
.chart-pt:hover circle.dot{ r: 7; }
/* site.js adds .js-chart, then draws the line and turns on each point
   (.is-on) as the line reaches it. Without JS everything just shows. */
.js-chart .chart-area{ opacity: 0; transition: opacity .9s ease; }
.js-chart.is-drawn .chart-area{ opacity: 1; }
.js-chart .chart-pt circle.dot{ opacity: 0; transform: scale(0); }
.js-chart .chart-pt.is-on circle.dot{ opacity: 1; transform: scale(1); }
.js-chart .chart-pt .val{ opacity: 0; transform: translateY(6px); }
.js-chart .chart-pt.is-on .val{ opacity: 1; transform: none; }
.js-chart .pulse-ring{ visibility: hidden; }
.js-chart.is-drawn .pulse-ring{ visibility: visible; }
.chart-pt--last circle.dot{ fill: var(--red-glow); stroke: #fff; }
.chart-pt--last .val{ fill: var(--red-glow); font-size: 20px; }

/* Live pulse on the final data point and the final step. */
.pulse-ring{
  fill: none;
  stroke: var(--red-glow);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ringPulse 2.2s ease-out infinite;
}
@keyframes ringPulse{
  0%{ transform: scale(1); opacity: .9; }
  100%{ transform: scale(3.4); opacity: 0; }
}
.js-steps .step--final:not(.is-lit) .step-num::after{ display: none; }
.step--final .step-num::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--red-glow);
  animation: stepPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes stepPulse{
  0%{ transform: scale(1); opacity: .8; }
  100%{ transform: scale(1.7); opacity: 0; }
}

/* ---------- Skills band ---------- */
.skills{
  padding: 34px 0;
  background: var(--red);
  transform: rotate(-1.5deg);
  margin: 20px -2vw;
  box-shadow: 0 20px 50px -20px rgba(226,52,44,0.6);
}
.skills .marquee{ -webkit-mask-image: none; mask-image: none; }
.skills .marquee-track{ gap: 48px; animation-duration: 30s; }
.skills span{
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.skills span::after{
  content: "";
  width: 12px; height: 12px;
  background: #0b0b0c;
  transform: rotate(45deg);
}

/* ---------- Steps ---------- */
.steps-head{ text-align: center; margin: 0 auto 64px; max-width: 720px; }
.steps-head .lead{ margin: 0 auto; }
.steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}
.steps::before,
.steps::after{
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-strong);
}
/* Red fill that follows scroll; site.js sets --fill on .steps. */
.steps::after{
  background: var(--red-glow);
  box-shadow: 0 0 12px rgba(255,74,61,0.6);
  transform: scaleX(var(--fill, 1));
  transform-origin: left;
}
.step{
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.step-num{
  position: relative;
  z-index: 1; /* sit above the track and its red fill */
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  transition: border-color .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease, transform .2s ease;
}
/* Before the line reaches a step it sits dimmed; .is-lit turns it on.
   .js-steps is only set by site.js, so without JS every step shows lit. */
.js-steps .step:not(.is-lit) .step-num{ color: var(--text-dim); }
.js-steps .step:not(.is-lit) h3{ color: var(--text-muted); }
.step h3{ transition: color .35s ease; }
.step.is-lit .step-num,
.steps:not(.js-steps) .step-num{ border-color: var(--red-glow); }
.step--final.is-lit .step-num,
.steps:not(.js-steps) .step--final .step-num{
  background: var(--red);
  border-color: var(--red-glow);
  box-shadow: 0 0 30px rgba(255,74,61,0.5);
}
.step:hover .step-num{ border-color: var(--red-glow); transform: translateY(-3px); }
.step h3{
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.step p{ margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Apply ---------- */
.apply{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.apply::before,
.apply::after{
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
}
.apply::before{
  background: radial-gradient(ellipse 45% 55% at 12% 88%, rgba(226,52,44,0.24), transparent 70%);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.apply::after{
  background: radial-gradient(ellipse 35% 45% at 88% 12%, rgba(201,168,117,0.08), transparent 70%);
  animation: glowDriftAlt 19s ease-in-out infinite alternate;
}
.apply-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.checks{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 440px;
  border-bottom: 1px solid var(--border);
}
.checks li{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  font-size: 0.98rem;
  color: rgba(244,242,238,0.88);
}
.checks svg{ width: 16px; height: 16px; flex: none; color: var(--red-glow); }

/* ---------- Form ---------- */
.form-card{
  padding: clamp(26px, 4vw, 40px);
  background: rgba(20,20,23,0.85);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
}
.form-card h3{
  font-family: var(--display);
  font-size: 1.9rem;
  margin: 0 0 6px;
}
.form-card .form-sub{ margin: 0 0 24px; color: var(--text-muted); font-size: 0.93rem; }
.apply-form{ display: grid; gap: 14px; }
.field{ display: grid; gap: 6px; }
.field label{ font-size: 0.82rem; font-weight: 600; color: rgba(244,242,238,0.8); }
.field input{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder{ color: var(--text-dim); }
.field input:focus{
  outline: none;
  border-color: var(--red-glow);
  box-shadow: 0 0 0 4px rgba(255,74,61,0.15);
}
.consent{ font-size: 0.75rem; line-height: 1.5; color: var(--text-dim); margin: 2px 0 6px; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error{ margin: 0; font-size: 0.85rem; color: var(--red-glow); text-align: center; }
.form-success h3{ margin: 0 0 6px; }
.apply-form button[disabled]{ opacity: .7; cursor: progress; }

.form-success{
  text-align: center;
  padding: 24px 0 8px;
}
.form-success h3{ margin-bottom: 8px; }
.form-success p{ margin: 0; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer{
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img{ height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p{ margin: 0; color: var(--text-muted); font-size: 0.9rem; max-width: 34ch; }
.footer-cols{ display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-col h4{
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.footer-col a{
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: rgba(244,242,238,0.8);
  transition: color .15s ease;
}
.footer-col a:hover{ color: var(--red-glow); }
.footer-copy{ margin: 28px 0 0; font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Apply page ---------- */
.apply-page{
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.apply-aside{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px clamp(24px, 5vw, 64px);
}
.apply-aside::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/recruit-hero-banner.jpg") 55% 40% / cover no-repeat;
}
.apply-aside::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,7,8,0.55), rgba(7,7,8,0.88) 70%, rgba(7,7,8,0.97));
}
.apply-aside .h-display{ font-size: clamp(2.4rem, 4.6vw, 4rem); text-transform: uppercase; max-width: 12ch; }
.apply-aside .lead{ margin-top: 18px; color: rgba(244,242,238,0.8); }
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(244,242,238,0.8);
  transition: color .15s ease;
}
.back-link:hover{ color: var(--red-glow); }
.back-link svg{ width: 16px; height: 16px; }
.apply-main{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  background: var(--bg-2);
}
.apply-main::before{
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 88% 88%, rgba(226,52,44,0.16), transparent 70%);
  animation: glowDriftAlt 15s ease-in-out infinite alternate;
}
.apply-main .form-card{ width: 100%; max-width: 440px; }
.apply-main .footer-copy{ text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-d1{ transition-delay: .1s; }
.reveal-d2{ transition-delay: .2s; }
.reveal-d3{ transition-delay: .3s; }

.hero .fade-up{ animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hero .fade-up:nth-child(2){ animation-delay: .1s; }
.hero .fade-up:nth-child(3){ animation-delay: .2s; }
.hero .fade-up:nth-child(4){ animation-delay: .3s; }
.hero .fade-up:nth-child(5){ animation-delay: .45s; }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(24px); } to{ opacity: 1; transform: none; } }

/* ---------- Energy streak (spawned by energy-streak.js) ---------- */
.energy-streak{
  position: fixed;
  left: -45vw;
  width: 45vw;
  height: 2px;
  pointer-events: none;
  z-index: 40;
  background: linear-gradient(90deg, transparent, var(--red-glow) 45%, #fff 50%, var(--red-glow) 55%, transparent);
  box-shadow: 0 0 10px 3px var(--red-glow), 0 0 34px 9px rgba(255,74,61,0.6);
  opacity: 0;
  animation-name: streakMove;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  mix-blend-mode: screen;
}
@keyframes streakMove{
  0%{ transform: rotate(var(--streak-angle, 0deg)) translateX(0); opacity: 0; }
  6%{ opacity: 1; }
  88%{ opacity: 1; }
  100%{ transform: rotate(var(--streak-angle, 0deg)) translateX(210vw); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .why-grid, .story-grid, .apply-grid{ grid-template-columns: 1fr; }
  .ladder{ height: 360px; }
  .steps{ grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before, .steps::after{ top: 28px; bottom: 56px; left: 28px; right: auto; width: 2px; height: auto; }
  .steps::after{ transform: scaleY(var(--fill, 1)); transform-origin: top; }
  .step{ display: grid; grid-template-columns: 58px 1fr; gap: 20px; text-align: left; padding: 0 0 28px; align-items: center; }
  .step-num{ margin: 0; }
  .apply-page{ grid-template-columns: 1fr; }
  .apply-aside{ min-height: 340px; gap: 60px; }
}

@media (max-width: 720px){
  .nav-links{ display: none; }
  .hero-content{ padding-top: calc(var(--header-h) + 60px); }
  .hero-media{ background-position: 45% 40%; }
  .pillar{ grid-template-columns: 32px 1fr; column-gap: 14px; min-height: 76px; padding: 18px 0; }
  .hero::after{ background: linear-gradient(180deg, rgba(7,7,8,0.6) 0%, rgba(7,7,8,0.72) 45%, rgba(7,7,8,0.9) 80%, var(--bg) 100%); }
  .hero-stats{ grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(3){ grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .hero-stat + .hero-stat{ padding-left: 16px; }
  .hero-stat:nth-child(3){ padding-left: 0; }
  .ladder{
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }
  .rung{ height: auto; }
  .rung-bar{
    height: auto;
    min-height: 0;
    width: calc(52% + var(--h) * 0.48);
    flex-direction: row;
    align-items: center;
    padding: 18px 20px;
    border-radius: 6px var(--radius) var(--radius) 6px;
    transform-origin: left;
  }
  .rung-bar::before{ inset: 0 auto 0 0; width: 3px; height: auto; }
  .reveal-bars .rung-bar{ transform: scaleX(0.3); }
  .reveal-bars.is-visible .rung-bar{ transform: scaleX(1); }
  .story-stats{ grid-template-columns: 1fr 1fr; }
  .hero-actions .btn{ flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html{ scroll-behavior: auto; }
  .reveal, .reveal-bars .rung-bar{ opacity: 1; transform: none; }
  .hero-media{ translate: none; }
  .marquee-track{ animation: none; }
  .energy-streak{ display: none; }
}
