/* ============================================================
   NXT LEVEL — Shared Design System
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: 'Poppins', system-ui, sans-serif; }
button:hover { filter: brightness(1.06); }
button:active { transform: scale(0.97); }
img, iframe, video { max-width: 100%; }
img { display: block; }

:root {
  --red: #F84058;
  --red-dark: #B61E36;
  --red-soft: #FFE3E7;
  --red-light: #FF6B7E;
  --ink: #111;
  --ink-soft: #2B2B2B;
  --ink-night: #0B0B0C;
  --ink-mid: #1A1A1A;
  --gray-700: #404040;
  --gray-500: #8A8A8A;
  --gray-300: #D8D8D8;
  --gray-200: #EEE;
  --gray-100: #F4F4F4;
  --gray-50:  #FAFAFA;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; border: 0; border-radius: 999px;
  transition: all 200ms cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
}
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-md  { padding: 14px 28px; font-size: 15px; }
.btn-lg  { padding: 18px 34px; font-size: 17px; }
.btn-primary { background:#F84058; color:#fff; box-shadow:0 8px 22px rgba(248,64,88,.32); }
.btn-ghost   { background:transparent; color:#F84058; border:2px solid #F84058; }
.btn-ghost-white { background:rgba(255,255,255,.04); color:#fff; border:2px solid rgba(255,255,255,.4); }
.btn-dark  { background:#2B2B2B; color:#fff; }
.btn-light { background:#fff; color:#111; }

/* ─── EYEBROW ─── */
.eyebrow {
  font-family:'Teko',sans-serif; font-weight:500; font-size:14px;
  letter-spacing:.18em; text-transform:uppercase; color:#F84058;
  display: inline-block;
}

/* ─── DOT GRID ─── */
.dot-grid {
  display:grid; grid-template-columns:repeat(6,5px); gap:8px;
}
.dot-grid span {
  width:5px; height:5px; border-radius:50%; background:#2B2B2B;
  display:block;
}

/* ─── HEADER ─── */
header {
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  background:rgba(255,255,255,.82); border-bottom:1px solid #EEE;
}
.header-inner {
  max-width:1280px; margin:0 auto; padding:16px 32px;
  display:flex; align-items:center; gap:28px;
}
.logo {
  font-family:'Teko',sans-serif; font-weight:700; font-size:24px;
  letter-spacing:.06em; text-transform:uppercase; color:#111;
  flex-shrink:0;
  display: inline-flex; align-items: center;
}
.logo span { color:#F84058; }
.logo img, .logo svg.logo-mark {
  height: 34px; width: auto; display: block;
}
@media (max-width: 600px) {
  .logo img, .logo svg.logo-mark { height: 28px; }
}
nav { display:flex; gap:24px; margin-left:18px; }
nav a {
  font-size:14px; font-weight:500; color:#404040;
  transition: color .15s;
}
nav a.active { color:#111; }
nav a:hover { color:#F84058; }
.header-actions { margin-left:auto; display:flex; gap:12px; align-items:center; }
.signin-link { font-size:14px; font-weight:500; color:#111; }

.nav-toggle { display:none; background:none; border:none; padding:8px; }
.nav-toggle span {
  display:block; width:22px; height:2px; background:#111;
  margin:4px 0; transition:.3s;
}

/* ─── SECTION SHARED ─── */
.section-heading {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size:clamp(48px,5.4vw,76px); line-height:1;
  text-transform:uppercase; color:#111; margin:0; padding-bottom:4px;
}
.section-heading.smaller {
  font-size: clamp(36px, 4.4vw, 56px);
}
.section-header { text-align:center; margin-bottom:56px; }
.section-subhead {
  font-size:18px; color:#404040; max-width:640px;
  margin:20px auto 0; line-height:1.55;
}

/* ─── HERO (DARK) ─── */
.hero {
  position:relative; background:#0B0B0C; color:#fff; overflow:hidden;
  min-height: 620px; display:flex; align-items:stretch;
}
/* Real hero background image — knight + city skyline */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(11,11,12,0.97) 0%,
    rgba(11,11,12,0.88) 30%,
    rgba(11,11,12,0.55) 55%,
    rgba(11,11,12,0.10) 78%,
    rgba(11,11,12,0.00) 100%);
}
/* Kept CSS-only fallback for inner pages that don't have the photo */
.hero-gradient-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(900px 600px at 88% 30%, rgba(248,64,88,.28), transparent 60%),
    radial-gradient(700px 500px at 12% 80%, rgba(248,64,88,.10), transparent 65%),
    linear-gradient(135deg, #0B0B0C 0%, #1A1A1A 60%, #0B0B0C 100%);
}
.hero-grid-bg {
  position:absolute; inset:0; opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, rgba(0,0,0,.9), transparent 70%);
          mask-image: radial-gradient(ellipse at 60% 40%, rgba(0,0,0,.9), transparent 70%);
}
.hero-overlay-bottom {
  position:absolute; left:0; right:0; bottom:0; height:140px;
  background:linear-gradient(0deg, rgba(11,11,12,.7), rgba(11,11,12,0));
}
.hero-dot-grid { position:absolute; top:32px; left:32px; z-index:1; }
.hero-dot-grid .dot-grid span { background:#fff; opacity:.35; }
.hero-inner {
  position:relative; z-index:2;
  max-width:1280px; width:100%; margin:0 auto;
  padding:120px 32px 90px;
}
.hero-content { max-width: 760px; }
.hero-eyebrow { margin-bottom:22px; color:#FF6B7E; }
.hero-headline {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size:clamp(56px,6.6vw,96px); line-height:.98;
  letter-spacing:.005em; text-transform:uppercase; color:#fff;
  margin:0; padding-bottom:16px;
  text-shadow:0 2px 30px rgba(0,0,0,.5);
}
.hero-headline .accent { color:#F84058; }
.hero-body {
  font-size:19px; line-height:1.55; color:rgba(255,255,255,.85);
  max-width:620px; margin:48px 0 0;
}
.hero-ctas { display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.hero-proof {
  margin-top:64px; display:flex; gap:28px; flex-wrap:wrap;
  font-size:12px; font-weight:500; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(255,255,255,.55);
}
.hero-proof .sep { color:rgba(255,255,255,.25); }

/* ─── HERO (LIGHT — for inner pages) ─── */
.hero-light {
  position:relative; background:#FAFAFA; color:#111; overflow:hidden;
  padding: 96px 32px 72px;
  border-bottom: 1px solid #EEE;
}
.hero-light .hero-inner-light {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.hero-light .hero-headline {
  color: #111; text-shadow:none;
  font-size:clamp(48px,5.6vw,80px);
}
.hero-light .hero-body {
  color: #404040; margin: 24px 0 0;
}
.hero-light .hero-dot-grid .dot-grid span {
  background: #2B2B2B; opacity:.4;
}
.hero-light .hero-dg-tr {
  position:absolute; top:32px; right:32px;
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding:36px 0; border-top:1px solid #EEE; border-bottom:1px solid #EEE;
  background: #fff;
}
.marquee-section.dark { background:#1A1A1A; border:none; }
.marquee-label {
  text-align:center; margin-bottom:20px; padding:0 32px;
  font-size:12px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:#606060;
}
.marquee-section.dark .marquee-label { color:#D8D8D8; }
.marquee-wrapper {
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(255,255,255,1) 8%,rgba(255,255,255,1) 92%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,rgba(255,255,255,1) 8%,rgba(255,255,255,1) 92%,transparent 100%);
}
.dark .marquee-wrapper {
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(26,26,26,1) 8%,rgba(26,26,26,1) 92%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,rgba(26,26,26,1) 8%,rgba(26,26,26,1) 92%,transparent 100%);
}
.marquee-track {
  display:flex; gap:56px; align-items:center;
  width:max-content; animation:marquee-fwd 38s linear infinite;
}
.marquee-track.reverse { animation:marquee-rev 38s linear infinite; }
.marquee-item {
  font-family:'Teko',sans-serif; font-weight:600; font-size:30px;
  letter-spacing:.04em; text-transform:uppercase;
  color:#2B2B2B; opacity:.85; white-space:nowrap;
}
.dark .marquee-item { color:#fff; }
@keyframes marquee-fwd { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes marquee-rev  { from{transform:translateX(-50%)} to{transform:translateX(0)} }

/* ─── EXPERTISE ─── */
.expertise {
  background:#fff; padding:120px 32px; position:relative; overflow:hidden;
}
.expertise-dg1 { position:absolute; top:48px; right:48px; }
.expertise-dg2 { position:absolute; bottom:48px; left:48px; }
.expertise-inner {
  max-width:1080px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1.2fr; gap:64px;
  align-items:center; position:relative;
}
.expertise-body {
  font-size:21px; line-height:1.55; color:#111; margin:0; font-weight:500;
}
.expertise-body .red { color:#F84058; font-weight:600; }
.expertise-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  margin-top:36px; padding-top:28px; border-top:1px solid #EEE;
}
.expertise-col-label {
  font-family:'Teko',sans-serif; font-weight:700; font-size:13px;
  letter-spacing:.16em; text-transform:uppercase; color:#F84058;
}
.expertise-col-text { font-size:14px; line-height:1.5; color:#111; margin-top:6px; }
.expertise-col-text.muted { color:#404040; }

/* ─── PILLARS ─── */
.pillars { background:#fff; padding:120px 32px; }
.pillars-inner { max-width:1200px; margin:0 auto; }
.pillars-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.pillar-card {
  border-radius:22px; padding:32px 32px 28px;
  display:flex; flex-direction:column;
}
.pillar-card.featured {
  background:#F84058; color:#fff;
  box-shadow:0 18px 40px rgba(248,64,88,.22);
}
.pillar-card.plain {
  background:#fff; color:#111;
  border:1px solid #EEE;
  box-shadow:0 4px 14px rgba(17,17,17,.05);
}
.pillar-header { display:flex; align-items:center; justify-content:space-between; }
.pillar-kind {
  font-family:'Teko',sans-serif; font-weight:500; font-size:13px;
  letter-spacing:.18em; text-transform:uppercase;
}
.featured .pillar-kind { color:#fff; }
.plain .pillar-kind { color:#F84058; }
.pillar-level {
  font-family:'Teko',sans-serif; font-weight:700; font-size:48px;
  line-height:1.02; text-transform:uppercase; margin:10px 0 6px;
}
.pillar-header .pillar-level { margin: 0; }
.pillar-desc { font-size:15.5px; line-height:1.55; margin:0; }
.featured .pillar-desc { color:rgba(255,255,255,.92); }
.plain .pillar-desc { color:#404040; }
.pillar-divider { margin-top:22px; padding-top:18px; }
.featured .pillar-divider { border-top:1px solid rgba(255,255,255,.18); }
.plain .pillar-divider { border-top:1px solid #EEE; }
.pillar-section-label {
  font-family:'Teko',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.18em; text-transform:uppercase; margin-bottom:10px;
}
.featured .pillar-section-label { color:#fff; }
.plain .pillar-section-label { color:#F84058; }
.pillar-chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip {
  font-weight:600; font-size:13px; padding:6px 12px;
  border-radius:999px;
}
.featured .chip { background:rgba(255,255,255,.16); color:#fff; }
.plain .chip { background:#FFE3E7; color:#B61E36; }
.pillar-bottom {
  margin-top:18px; padding-top:16px;
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
}
.featured .pillar-bottom { border-top:1px solid rgba(255,255,255,.18); }
.plain .pillar-bottom { border-top:1px solid #EEE; }
.structure-val { font-size:14.5px; font-weight:500; margin-top:4px; }

/* ─── PROCESS ─── */
.process {
  background:linear-gradient(180deg,#FAFAFA,#F4F4F4);
  padding:120px 32px;
}
.process-inner { max-width:1280px; margin:0 auto; }
.process-list { display:flex; flex-direction:column; gap:14px; margin-top:64px; }
.process-card {
  background:#fff; border-radius:22px; border:1px solid #EEE;
  box-shadow:0 4px 14px rgba(17,17,17,.04);
  display:grid; grid-template-columns:110px 1fr 1px 1fr;
  align-items:stretch;
}
.process-num {
  background:#F84058; color:#fff;
  border-top-left-radius:22px; border-bottom-left-radius:22px;
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:4px; padding:24px 12px;
}
.process-step-label {
  font-family:'Teko',sans-serif; font-weight:500; font-size:12px;
  letter-spacing:.18em; opacity:.85;
}
.process-step-num {
  font-family:'Teko',sans-serif; font-weight:700; font-size:56px;
  line-height:1; letter-spacing:.02em;
}
.process-what {
  padding:24px 28px; display:flex; flex-direction:column; justify-content:center;
}
.process-title {
  font-family:'Teko',sans-serif; font-weight:700; font-size:36px;
  line-height:1.05; text-transform:uppercase; color:#111;
  margin:0; padding-bottom:2px;
}
.process-copy { font-size:14.5px; line-height:1.55; color:#404040; margin:8px 0 0; }
.process-divider { background:#EEE; margin:24px 0; }
.process-value { padding:24px 28px; display:flex; flex-direction:column; justify-content:center; }
.process-value-label {
  font-family:'Teko',sans-serif; font-weight:600; font-size:13px;
  letter-spacing:.16em; text-transform:uppercase; color:#F84058;
  display:flex; align-items:center; gap:8px;
}
.process-value-text { font-size:16px; line-height:1.45; color:#111; margin:8px 0 0; font-weight:500; }

/* ─── STATS ─── */
.stats { background:#2B2B2B; color:#fff; padding:56px 32px; }
.stats-inner {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
}
.stat { text-align:center; }
.stat-num {
  font-family:'Teko',sans-serif; font-weight:700; font-size:72px;
  line-height:1; color:#F84058;
}
.stat-label {
  font-size:13px; font-weight:500; letter-spacing:.06em;
  text-transform:uppercase; color:#D8D8D8; margin-top:6px;
}

/* ─── CANDIDATES ─── */
.candidates { background:#fff; padding:96px 32px; }
.candidates-inner { max-width:1100px; margin:0 auto; }
.candidates-list { display:flex; flex-direction:column; gap:12px; margin-top:40px; }
.candidate-card {
  background:#fff; border:1px solid #EEE; border-radius:16px;
  padding:20px 24px; display:flex; align-items:center; gap:18px;
  box-shadow:0 2px 6px rgba(17,17,17,.04);
  transition:transform .2s, box-shadow .2s;
}
.candidate-card:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(17,17,17,.08); }
.candidate-avatar {
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg,#FFB3BD,#F84058);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:'Teko',sans-serif; font-weight:700; font-size:22px;
  flex-shrink:0;
}
.candidate-info { flex:1; min-width: 0; }
.candidate-name { font-weight:600; font-size:16px; color:#111; }
.candidate-name .muted { color:#8A8A8A; font-weight:400; }
.candidate-bg { font-size:13px; color:#606060; margin-top:2px; }
.candidate-tags { display:flex; gap:6px; flex-wrap:wrap; }
.tag {
  font-weight:600; font-size:11px; padding:4px 10px;
  border-radius:999px; letter-spacing:.04em; text-transform:uppercase;
  background:#FFE3E7; color:#B61E36;
}
.status-badge {
  font-weight:600; font-size:11px; padding:5px 12px;
  border-radius:999px; letter-spacing:.06em; text-transform:uppercase;
  white-space:nowrap;
}
.status-placed     { background:#2B2B2B; color:#fff; }
.status-shortlisted{ background:#E6F6EE; color:#0E7A4E; }
.status-sourced    { background:#E5EFFB; color:#1B5BB8; }

/* ─── CTA FOOTER ─── */
.cta-footer {
  position:relative; background:#F84058; color:#fff;
  padding:96px 32px; overflow:hidden;
}
.cta-dg { position:absolute; }
.cta-dg1 { top:32px; left:32px; }
.cta-dg2 { bottom:32px; right:32px; }
.cta-dg .dot-grid span { background:#fff; opacity:.5; }
.cta-inner { max-width:900px; margin:0 auto; text-align:center; position:relative; }
.cta-headline {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size:clamp(48px,7vw,92px); line-height:.95;
  text-transform:uppercase; color:#fff; margin:0;
}
.cta-body {
  font-size:18px; line-height:1.55; color:rgba(255,255,255,.92);
  max-width:560px; margin:20px auto 0;
}
.cta-btns { display:flex; gap:12px; justify-content:center; margin-top:28px; flex-wrap:wrap; }

/* ─── LEAD CAPTURE FORM (CTA footer) ─── */
.lead-form {
  max-width: 560px; margin: 32px auto 0;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.lead-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.lead-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  background: rgba(255,255,255,.96);
  border: 0; border-radius: 10px;
  color: #111; font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  transition: box-shadow .15s, transform .15s;
}
.lead-input::placeholder { color: #8A8A8A; }
.lead-input:focus {
  outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 2px 8px rgba(0,0,0,.10);
}
.lead-textarea { resize: vertical; min-height: 90px; font-family: 'Poppins', sans-serif; }
.lead-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23404040' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.lead-submit {
  margin-top: 6px;
  align-self: center;
  min-width: 220px;
}
.lead-submit:disabled { opacity: .7; cursor: wait; }
.lead-form-note {
  font-size: 12.5px; color: rgba(255,255,255,.78);
  text-align: center; margin: 6px 0 0;
}
.cta-fallback-note {
  margin: 18px 0 0;
  font-size: 13px; color: rgba(255,255,255,.85);
  text-align: center;
}
.cta-fallback-note a {
  color: #fff; text-decoration: underline; font-weight: 500;
}
.cta-fallback-note a:hover { color: #fff; opacity: .85; }
.lead-success {
  max-width: 560px; margin: 32px auto 0;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30);
  border-radius: 14px; padding: 28px 24px;
  text-align: center; color: #fff;
}
.lead-success h3 {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: 30px; margin: 0 0 8px; line-height: 1;
  text-transform: uppercase;
}
.lead-success p { font-size: 15px; color: rgba(255,255,255,.92); margin: 0; line-height: 1.55; }

@media (max-width: 600px) {
  .lead-form-row { grid-template-columns: 1fr; }
  .lead-submit { min-width: 100%; }
}

/* ─── FOOTER ─── */
footer { background:#1A1A1A; color:#D8D8D8; padding:64px 32px 36px; }
.footer-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:48px;
}
.footer-logo {
  font-family:'Teko',sans-serif; font-weight:700; font-size:26px;
  letter-spacing:.06em; text-transform:uppercase; color:#fff;
  display: inline-flex; align-items: center;
}
.footer-logo span { color:#F84058; }
.footer-logo img, .footer-logo svg.logo-mark {
  height: 36px; width: auto; display: block;
  /* Invert color on dark footer — the logo is red, footer is dark, so it shows correctly already */
}
.footer-tagline {
  font-size:14px; line-height:1.6; color:#BCBCBC;
  margin:16px 0 0; max-width:320px;
}
.footer-col-title {
  font-family:'Teko',sans-serif; font-weight:600; font-size:16px;
  letter-spacing:.14em; text-transform:uppercase; color:#fff; margin-bottom:14px;
}
.footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-links a { font-size:14px; color:#BCBCBC; }
.footer-links a:hover { color:#fff; transition:color .15s; }
.footer-bottom {
  max-width:1280px; margin:40px auto 0; padding-top:24px;
  border-top:1px solid #2B2B2B;
  display:flex; justify-content:space-between;
  font-size:12px; color:#8A8A8A;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity:0; transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   AEO PAGE STYLES — for Engineering / Product / Executive
   ============================================================ */
.aeo-body { background: #fff; }
.aeo-section { padding: 96px 32px; }
.aeo-section.gray { background: #FAFAFA; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; }
.aeo-inner { max-width: 1080px; margin: 0 auto; }
.aeo-narrow { max-width: 820px; margin: 0 auto; }

.aeo-h2 {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: clamp(36px, 4vw, 52px); line-height: 1.05;
  text-transform: uppercase; color: #111;
  margin: 0 0 16px;
}
.aeo-h3 {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15;
  text-transform: uppercase; color: #111;
  margin: 0 0 12px;
}
.aeo-h4 {
  font-family:'Poppins',sans-serif; font-weight: 600;
  font-size: 18px; color: #111; margin: 24px 0 8px;
}
.aeo-p {
  font-size: 17px; line-height: 1.65; color: #2B2B2B;
  margin: 0 0 16px;
}
.aeo-p strong { color: #111; font-weight: 600; }
.aeo-p .red { color: #F84058; font-weight: 600; }
.aeo-lede {
  font-size: 21px; line-height: 1.55; color: #111;
  font-weight: 500; margin: 0 0 28px;
}

/* TL;DR / Quick Answer box */
.tldr {
  background: #fff;
  border: 1px solid #EEE;
  border-left: 4px solid #F84058;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 0 0 40px;
  box-shadow: 0 4px 14px rgba(17,17,17,.04);
}
.tldr-label {
  font-family:'Teko',sans-serif; font-weight:600; font-size:13px;
  letter-spacing:.18em; text-transform:uppercase; color:#F84058;
  margin-bottom: 12px;
}
.tldr-list { margin: 0; padding-left: 20px; }
.tldr-list li { font-size: 16px; line-height: 1.55; color: #111; margin-bottom: 8px; }
.tldr-list li:last-child { margin-bottom: 0; }
.tldr-list li strong { color: #F84058; font-weight: 600; }

/* In-page TOC */
.toc {
  background: #FAFAFA;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
}
.toc-title {
  font-family:'Teko',sans-serif; font-weight:600; font-size:13px;
  letter-spacing:.18em; text-transform:uppercase; color:#606060;
  margin-bottom: 12px;
}
.toc ul { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.toc a {
  font-size: 14.5px; font-weight: 500; color: #111;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.toc a:hover { color: #F84058; }
.toc a::before { content: "→"; color: #F84058; font-weight: 700; }

/* Role / Q&A blocks */
.qa-block { margin-bottom: 56px; scroll-margin-top: 90px; }
.qa-block:last-child { margin-bottom: 0; }

/* Comparison Table */
.cmp-table-wrap {
  margin: 24px 0 8px;
  border-radius: 16px;
  border: 1px solid #EEE;
  overflow-x: auto;
  box-shadow: 0 2px 6px rgba(17,17,17,.04);
  background: #fff;
}
.cmp-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.cmp-table th, .cmp-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid #EEE;
}
.cmp-table thead th {
  background: #2B2B2B; color: #fff;
  font-family:'Teko',sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 0;
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr:nth-child(even) { background: #FAFAFA; }
.cmp-table td.role-cell { font-weight: 600; color: #111; }
.cmp-table .num { font-variant-numeric: tabular-nums; font-weight: 500; color: #111; }
.cmp-caption {
  font-size: 12.5px; color: #606060;
  margin: 8px 0 0; line-height: 1.5;
}

/* Pull quote */
.pullquote {
  border-left: 4px solid #F84058;
  padding: 8px 0 8px 24px;
  font-size: 22px; line-height: 1.4; font-weight: 500;
  color: #111; margin: 32px 0;
  font-family: 'Poppins', sans-serif;
}

/* Two-column callout */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 24px 0;
}
.two-col .col {
  background: #fff; border: 1px solid #EEE; border-radius: 16px;
  padding: 24px 26px;
}
.two-col .col .col-label {
  font-family:'Teko',sans-serif; font-weight:600; font-size:13px;
  letter-spacing:.18em; text-transform:uppercase;
  color:#F84058; margin-bottom: 10px;
}
.two-col .col h4 {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: 22px; line-height:1.1; text-transform:uppercase;
  color: #111; margin: 0 0 10px;
}
.two-col .col p { font-size: 14.5px; line-height: 1.55; color: #404040; margin: 0; }
.two-col .col.dark { background: #2B2B2B; border-color: #2B2B2B; }
.two-col .col.dark .col-label { color: #FF6B7E; }
.two-col .col.dark h4 { color: #fff; }
.two-col .col.dark p { color: rgba(255,255,255,.78); }

/* FAQ */
.faq-list { margin-top: 16px; }
.faq-item {
  border-bottom: 1px solid #EEE;
  padding: 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  background: transparent; border: 0; cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; gap: 16px;
  font-size: 17px; font-weight: 600; color: #111;
  font-family: 'Poppins', sans-serif;
}
.faq-q .plus {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 28px; line-height: 1; color: #F84058;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: #404040; }
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* Role list cards */
.role-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 24px;
}
.role-card {
  background: #fff; border: 1px solid #EEE; border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
.role-card:hover { border-color: #F84058; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(17,17,17,.06); }
.role-card .role-title {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 22px; line-height: 1.05; text-transform: uppercase;
  color: #111; margin: 0 0 6px;
}
.role-card .role-meta {
  font-size: 13px; color: #8A8A8A; margin-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.role-card .role-meta span { white-space: nowrap; }
.role-card .role-meta span + span::before {
  content: "·"; margin-right: 6px; color: #D8D8D8;
}
.role-card .role-desc { font-size: 14px; color: #404040; line-height: 1.55; margin: 0; }

/* ============================================================
   MARKET DATA / CALCULATOR PAGE
   ============================================================ */
.calc-section { padding: 96px 32px; background: #fff; }
.calc-inner { max-width: 1180px; margin: 0 auto; }
.calc-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px;
  align-items: stretch;
}
.calc-form-card {
  background: #fff; border: 1px solid #EEE; border-radius: 22px;
  padding: 32px;
  box-shadow: 0 4px 14px rgba(17,17,17,.05);
}
.calc-out-card {
  background: #0B0B0C; color: #fff;
  border-radius: 22px; padding: 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.calc-out-card .corner-dg { position: absolute; top: 24px; right: 24px; }
.calc-out-card .corner-dg .dot-grid span { background: #fff; opacity:.35; }

.calc-form-title {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 28px; line-height: 1; text-transform: uppercase;
  color: #111; margin: 0 0 6px;
}
.calc-form-sub { font-size: 14px; color: #606060; margin: 0 0 24px; line-height: 1.5; }

.calc-row { margin-bottom: 18px; }
.calc-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-label {
  display: block;
  font-family:'Teko',sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #8A8A8A; margin-bottom: 6px;
}
.calc-input, .calc-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px; color: #111;
  background: #fff;
  border: 1px solid #DDD; border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.calc-input:focus, .calc-select:focus {
  outline: none; border-color: #F84058;
  box-shadow: 0 0 0 3px rgba(248,64,88,.12);
}
.calc-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23404040' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.calc-help { font-size: 12px; color: #606060; margin: 6px 0 0; }

.calc-out-eyebrow {
  font-family:'Teko',sans-serif; font-weight: 500;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #FF6B7E; margin-bottom: 10px;
}
.calc-out-headline {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; text-transform: uppercase;
  color: #fff; margin: 0 0 16px;
}
.calc-out-headline .num { color: #F84058; }
.calc-out-sub { font-size: 14px; color: rgba(255,255,255,.7); margin: 0 0 24px; }

.calc-out-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.10);
}
.calc-out-row:last-child { border-bottom: 0; }
.calc-out-row .lbl {
  font-size: 13px; color: rgba(255,255,255,.72);
  letter-spacing: .06em; text-transform: uppercase;
}
.calc-out-row .val {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 26px; color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-out-row .val.accent { color: #F84058; }
.calc-out-row .val.sub { font-size: 16px; color: rgba(255,255,255,.7); font-weight: 500; }

.calc-out-divider {
  margin: 18px 0; height: 1px; background: rgba(255,255,255,.14);
}

.calc-scenarios {
  margin-top: 22px;
}
.calc-scenarios-title {
  font-family:'Teko',sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #FF6B7E; margin-bottom: 12px;
}
.calc-scenario {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; padding: 8px 0;
  color: rgba(255,255,255,.85);
}
.calc-scenario .sc-label {
  display: inline-flex; gap: 8px; align-items: center;
}
.calc-scenario .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #F84058;
}
.calc-scenario .sc-val {
  font-variant-numeric: tabular-nums; font-weight: 600; color: #fff;
}

.calc-note {
  margin-top: 22px;
  font-size: 12.5px; line-height: 1.55;
  color: rgba(255,255,255,.55);
}

/* Stage education panel (market-data) */
.stage-edu {
  background: #FAFAFA; border: 1px solid #EEE; border-radius: 22px;
  padding: 28px 32px; margin: 24px 0 0;
}
.stage-edu-top {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: start; padding-bottom: 18px; border-bottom: 1px solid #EEE; margin-bottom: 18px;
}
.stage-edu-eyebrow {
  font-family:'Teko',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.18em; text-transform:uppercase; color:#F84058; margin-bottom: 8px;
}
.stage-edu-name {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: 36px; line-height: 1; text-transform: uppercase; color: #111; margin: 0;
}
.stage-edu-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: 12px 32px;
  align-items: end;
}
.stage-edu-meta .m-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8A8A8A;
}
.stage-edu-meta .m-val {
  font-family:'Teko',sans-serif; font-weight: 700; font-size: 24px; color: #111;
  margin-top: 2px; line-height: 1;
}
.stage-edu-body {
  font-size: 15.5px; line-height: 1.6; color: #404040; margin: 0;
}

/* Exit projector */
.exit-projector {
  background: linear-gradient(180deg, #fff, #FAFAFA);
  border: 1px solid #EEE; border-radius: 22px;
  padding: 40px 36px 32px;
  margin: 24px 0 0;
  position: relative; overflow: hidden;
}
.exit-projector::before {
  content: '';
  position: absolute; top: -60px; right: -60px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(248,64,88,.12), transparent 70%);
  pointer-events: none;
}
.ep-header { position: relative; margin-bottom: 28px; }
.ep-header .eyebrow { margin-bottom: 12px; }
.ep-headline {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: clamp(30px, 3.5vw, 44px); line-height: 1.05;
  text-transform: uppercase; color: #111; margin: 0 0 12px;
}
.ep-headline .accent { color: #F84058; }
.ep-sub { font-size: 15.5px; color: #404040; max-width: 640px; margin: 0; line-height: 1.55; }

.ep-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 24px 0 24px;
}
.ep-card {
  background: #fff; border: 1px solid #EEE; border-radius: 14px;
  padding: 20px 22px; cursor: pointer;
  transition: border-color .15s, transform .2s, box-shadow .2s, background .15s;
  text-align: left;
}
.ep-card:hover {
  border-color: #F84058; transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(248,64,88,.12);
}
.ep-card.active {
  border-color: #F84058; background: #FFE3E7;
  box-shadow: 0 8px 22px rgba(248,64,88,.18);
}
.ep-card-tier {
  font-family:'Teko',sans-serif; font-weight:600; font-size: 11px;
  letter-spacing:.14em; text-transform:uppercase; color: #8A8A8A; margin-bottom: 6px;
}
.ep-card-exit {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 30px; color: #111; line-height: 1; margin-bottom: 14px;
}
.ep-card-payout-label {
  font-size: 11px; color: #8A8A8A; letter-spacing: .10em; text-transform: uppercase;
}
.ep-card-payout-val {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 26px; color: #F84058; margin-top: 4px; line-height: 1;
}

.ep-custom {
  background: #0B0B0C; color: #fff;
  border: 1px solid #0B0B0C; border-radius: 14px;
  padding: 28px 30px; position: relative;
}
.ep-custom-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.ep-custom-label {
  font-family:'Teko',sans-serif; font-weight:600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: #FF6B7E;
}
.ep-custom-value {
  font-family:'Teko',sans-serif; font-weight: 700; font-size: 32px;
  color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
}
.ep-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; outline: none;
  margin: 12px 0 22px;
}
.ep-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #F84058; cursor: pointer;
  box-shadow: 0 4px 12px rgba(248,64,88,.40);
}
.ep-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #F84058; cursor: pointer; border: 0;
  box-shadow: 0 4px 12px rgba(248,64,88,.40);
}
.ep-slider-tickrow {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.45);
  letter-spacing: .08em; text-transform: uppercase; margin-top: -16px; margin-bottom: 14px;
}
.ep-co-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px; color: rgba(255,255,255,.72);
  letter-spacing: .04em; text-transform: uppercase;
}
.ep-co-row:last-child { border-bottom: 0; }
.ep-co-row .v {
  font-family:'Teko',sans-serif; font-weight: 700;
  font-size: 22px; color: #fff; font-variant-numeric: tabular-nums;
  letter-spacing: 0; text-transform: none;
}
.ep-co-row.total {
  padding-top: 16px; margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 14px; color: #FF6B7E;
}
.ep-co-row.total .v { color: #F84058; font-size: 34px; }
.ep-note {
  font-size: 12.5px; color: #404040; line-height: 1.55;
  margin: 22px 0 0;
}
.ep-note a { color: #F84058; font-weight: 600; }
.ep-note strong { color: #111; font-weight: 600; }

@media (max-width: 900px) {
  .stage-edu-top { grid-template-columns: 1fr; gap: 16px; }
  .stage-edu-meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ep-cards { grid-template-columns: 1fr 1fr; }
  .exit-projector { padding: 32px 24px 24px; }
}
@media (max-width: 600px) {
  .ep-cards { grid-template-columns: 1fr; }
  .stage-edu-meta { grid-template-columns: 1fr; }
}

/* Ranges / Reference tables on market-data */
.ref-tables { padding: 96px 32px; background: #FAFAFA; border-top: 1px solid #EEE; }
.ref-tables-inner { max-width: 1180px; margin: 0 auto; }

.tabs {
  display: flex; gap: 4px; padding: 4px;
  background: #fff; border: 1px solid #EEE; border-radius: 999px;
  width: max-content; max-width: 100%; overflow-x: auto;
  margin: 0 auto 28px;
}
.tab {
  border: 0; background: transparent;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #404040;
  white-space: nowrap;
}
.tab.active { background: #F84058; color: #fff; }

.insight-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 32px;
}
.insight-card {
  background: #fff; border: 1px solid #EEE; border-radius: 16px;
  padding: 24px 26px;
}
.insight-num {
  font-family:'Teko',sans-serif; font-weight:700; font-size: 44px;
  color: #F84058; line-height: 1;
}
.insight-h {
  font-family:'Teko',sans-serif; font-weight:600;
  font-size: 18px; text-transform: uppercase; color: #111;
  margin: 14px 0 6px; letter-spacing: .04em;
}
.insight-p { font-size: 14px; color: #404040; line-height: 1.55; margin: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { padding:80px 24px 60px; }
  .hero-headline { font-size:clamp(48px,10vw,72px); }
  .expertise-inner { grid-template-columns:1fr; gap:40px; }
  .expertise-grid { grid-template-columns:1fr 1fr; }
  .pillars-grid { grid-template-columns:1fr; }
  .process-card { grid-template-columns:80px 1fr; }
  .process-divider { display:none; }
  .process-value { grid-column:2; padding-top:0; padding-left:28px; }
  .stats-inner { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .nav-toggle { display:block; }
  nav { display:none; }
  nav.open { display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:rgba(255,255,255,.98); padding:16px 32px; border-bottom:1px solid #EEE; z-index:100; }
  header { position:relative; }
  .header-inner { flex-wrap:wrap; }
  .header-actions { order:3; width:100%; display:none; }
  .header-actions.open { display:flex; padding-bottom:16px; }
  .two-col { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .toc ul { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns:repeat(2,1fr); gap:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .cta-btns { flex-direction:column; align-items:center; }
  .hero-ctas { flex-direction:column; align-items:flex-start; }
  .header-inner { padding:12px 20px; }
  .expertise-grid { grid-template-columns:1fr; }
  .process-card { grid-template-columns:70px 1fr; }
  .calc-row.two { grid-template-columns: 1fr; }
  .aeo-section { padding: 64px 24px; }
  .tldr { padding: 22px 24px; }
}

/* ───── BOOK-A-CALL MODAL ───── */
.nl-modal-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,10,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: nl-fade 0.18s ease-out;
}
.nl-modal-backdrop[hidden] { display: none; }
@keyframes nl-fade { from { opacity: 0; } to { opacity: 1; } }
.nl-modal {
  background: #fff; color: #111;
  width: 100%; max-width: 480px;
  border-radius: 14px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.5);
  max-height: 92vh; overflow-y: auto;
}
.nl-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; font-size: 28px;
  line-height: 1; cursor: pointer; color: #888;
  padding: 4px 10px; border-radius: 6px;
}
.nl-modal-close:hover { color: #111; background: #f3f3f3; }
.nl-modal-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.nl-modal-sub { margin: 0 0 22px; font-size: 14px; color: #555; }
.nl-modal-form { display: flex; flex-direction: column; gap: 14px; }
.nl-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #333; }
.nl-field span { font-weight: 600; letter-spacing: 0.01em; }
.nl-field input, .nl-field select {
  font: inherit; padding: 11px 12px;
  border: 1px solid #d8d8d8; border-radius: 8px;
  background: #fff; color: #111;
}
.nl-field input:focus, .nl-field select:focus { outline: 2px solid #111; outline-offset: 1px; border-color: #111; }
.nl-modal-submit {
  margin-top: 6px; padding: 13px 18px;
  background: #111; color: #fff; border: 0; border-radius: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background 0.15s;
}
.nl-modal-submit:hover { background: #000; }
.nl-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.nl-modal-error { margin: 8px 0 0; font-size: 13px; color: #c0392b; }

/* ───── MARKET DATA TABLE READABILITY FIX ───── */
.cmp-table th,
.cmp-table td,
.aeo-inner table th,
.aeo-inner table td {
  color: #111 !important;
}
.cmp-table thead th {
  background: #f5f5f5 !important;
  color: #111 !important;
  font-weight: 700;
}
.cmp-table .num,
.cmp-table td.num {
  color: #111 !important;
}
.cmp-table tbody tr:nth-child(even) td { background: #fafafa; }

/* ───── CAREERS PAGE ───── */
.careers-section { padding: 96px 32px; background: #fff; }
.careers-section.alt { background: #FAFAFA; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; }
.careers-section-inner { max-width: 1180px; margin: 0 auto; }
.careers-section .section-header { text-align: left; margin-bottom: 40px; }
.careers-section .section-subhead { margin: 16px 0 0; max-width: 640px; }

.divisions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.division-card {
  position: relative;
  background: #fff; border: 1px solid #EEE; border-radius: 16px;
  padding: 36px 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.division-card:hover { border-color: #F84058; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(248,64,88,.10); }
.division-card h3 {
  font-family:'Teko',sans-serif; font-weight:700;
  text-transform: uppercase; letter-spacing: .02em;
  margin: 0 0 14px; font-size: 36px; line-height: 1;
}
.division-card p { color: #404040; line-height: 1.6; margin: 0 0 12px; font-size: 15px; }
.division-card p strong { color: #111; }
.division-tag {
  display: inline-block;
  font-family:'Teko',sans-serif; font-weight:500;
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: #F84058; background: #FFE3E7;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.division-meta {
  margin-top: 22px !important; padding-top: 18px; border-top: 1px solid #EEE;
  font-size: 12px !important; letter-spacing: .06em; text-transform: uppercase;
  color: #8A8A8A !important; font-weight: 500;
}

.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.who-card {
  padding: 26px 26px 26px 28px;
  border-left: 3px solid #F84058;
  background: #fff; border-radius: 0 12px 12px 0;
  box-shadow: 0 1px 0 #EEE, 0 1px 0 #EEE inset;
}
.who-card strong {
  display: block;
  font-family:'Teko',sans-serif; font-weight:600;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: 24px; line-height: 1.1; color: #111; margin-bottom: 8px;
}
.who-card span { color: #404040; font-size: 14.5px; line-height: 1.55; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.value-card {
  position: relative;
  background: #0B0B0C; color: #fff; border-radius: 16px;
  padding: 30px 28px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 3px; background: #F84058;
  border-radius: 0 0 3px 0;
}
.value-card h3 {
  font-family:'Teko',sans-serif; font-weight:600;
  font-size: 24px; line-height: 1.1;
  margin: 8px 0 14px; text-transform: uppercase; letter-spacing: .04em;
  color: #fff;
}
.value-card p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.78); margin: 0; }

.careers-cta {
  position: relative; overflow: hidden;
  padding: 100px 32px; text-align: center;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(248,64,88,.35), transparent 65%),
    linear-gradient(180deg, #0B0B0C 0%, #1A1A1A 100%);
  color: #fff;
  border-top: 1px solid #1A1A1A;
}
.careers-cta .eyebrow { color:#FF6B7E; margin-bottom: 18px; }
.careers-cta h2 {
  font-family:'Teko',sans-serif; font-weight:700;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1;
  text-transform: uppercase; margin: 0 0 18px; color: #fff;
}
.careers-cta h2 .accent { color: #F84058; }
.careers-cta p { color: rgba(255,255,255,.78); margin: 0 auto 32px; max-width: 560px; font-size: 17px; line-height: 1.55; }

/* Hero candidate link */
.hero-candidate-link { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500; }
.hero-candidate-link a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.hero-candidate-link a:hover { color: var(--accent, #ffb547); }

@media (max-width: 600px) {
  .hero-candidate-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 22px 0 0;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    max-width: 100%;
  }
  .hero-candidate-link a {
    text-decoration: none;
    color: var(--accent, #ffb547);
    font-weight: 600;
  }
}

/* ───── SOCIAL FOOTER ───── */
.nl-social {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 28px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}
.nl-social-label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 600;
}
.nl-social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.nl-social-icon:hover {
  background: var(--accent, #ffb547);
  border-color: var(--accent, #ffb547);
  color: #0a0a0a;
  transform: translateY(-2px);
}
.nl-social-icon svg { width: 16px; height: 16px; }

/* ───── VIDEOS PAGE ───── */
.videos-hero-actions { margin-top: 28px; }
.videos-hero-actions .btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  background: #F84058; color: #fff;
  border: 0; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(248,64,88,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.videos-hero-actions .btn-primary::before {
  content: ""; display: inline-block;
  width: 18px; height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.4 31.4 0 0 0 0 12a31.4 31.4 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.4 31.4 0 0 0 24 12a31.4 31.4 0 0 0-.5-5.8ZM9.6 15.6V8.4l6.3 3.6-6.3 3.6Z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.4 31.4 0 0 0 0 12a31.4 31.4 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.4 31.4 0 0 0 24 12a31.4 31.4 0 0 0-.5-5.8ZM9.6 15.6V8.4l6.3 3.6-6.3 3.6Z'/></svg>") center/contain no-repeat;
}
.videos-hero-actions .btn-primary:hover {
  background: #ff2e48;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(248,64,88,.55);
}
.videos-featured {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px;
  align-items: center;
}
.videos-featured-player {
  position: relative; aspect-ratio: 16/9; width: 100%;
  background: #000; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.videos-featured-player iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.videos-featured-eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent, #ffb547); font-weight: 700; margin: 0 0 10px;
}
.videos-featured-title { font-size: 28px; line-height: 1.15; margin: 0 0 10px; color: #111; font-weight: 700; }
.videos-featured-date { color: #6b6b6b; font-size: 14px; margin: 0; }

.videos-grid-section { padding-top: 24px; }
.videos-grid-title { font-size: 22px; font-weight: 700; margin: 0 0 20px; color: #111; }
.videos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.video-card {
  display: flex; flex-direction: column;
  border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid #ececec;
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: #d8d8d8;
}
.video-card-thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  opacity: 0.85; transition: opacity .2s, transform .2s;
}
.video-card:hover .video-card-play { opacity: 1; transform: scale(1.12); }
.video-card-body { padding: 14px 16px 18px; }
.video-card-title {
  font-size: 15px; line-height: 1.35; font-weight: 600; color: #111;
  margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card-date { font-size: 12px; color: #777; margin: 0; }
.videos-loading, .videos-empty {
  padding: 48px 20px; text-align: center; color: #666;
  background: #f7f7f7; border-radius: 12px;
}
.videos-empty a { color: var(--accent, #ffb547); font-weight: 600; }

@media (max-width: 900px) {
  .videos-featured { grid-template-columns: 1fr; gap: 22px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .videos-featured-title { font-size: 22px; }
}
@media (max-width: 600px) {
  .videos-grid { grid-template-columns: 1fr; }
  .nl-social { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   MOBILE OPTIMIZATION PASS
   - Beats inline grid styles, fixes horizontal overflow,
     scales typography & spacing for small screens.
   ============================================================ */

/* Tablet & mobile: collapse 3/2-col grids that were forced via inline styles */
@media (max-width: 900px) {
  .pillars-grid,
  .pillars-grid[style] {
    grid-template-columns: 1fr !important;
  }
  /* Inline grids on home page (market-data teaser) */
  .aeo-inner[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Tables that exceed viewport — let their wrapper scroll horizontally */
  .cmp-table { min-width: 560px; }
}

/* Phone (≤600px) — typography, spacing, tap targets */
@media (max-width: 600px) {
  /* Hero (dark) */
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 20px 56px; }
  .hero-dot-grid { display: none; }
  .hero-headline { font-size: clamp(44px, 11vw, 64px); padding-bottom: 8px; }
  .hero-body { font-size: 16px; margin-top: 28px; line-height: 1.55; }
  .hero-ctas { gap: 12px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-proof { margin-top: 40px; gap: 14px; font-size: 11px; }

  /* Hero (light, inner pages) */
  .hero-light { padding: 64px 20px 48px; }
  .hero-light .hero-headline { font-size: clamp(36px, 9vw, 52px); }
  .hero-light .hero-dg-tr { display: none; }

  /* Buttons — keep readable but not overflowing */
  .btn-lg { padding: 16px 22px; font-size: 15px; }
  .btn-md { padding: 13px 20px; font-size: 14px; }

  /* Section headings */
  .section-heading { font-size: clamp(36px, 9vw, 52px); }
  .section-heading.smaller { font-size: clamp(30px, 7.5vw, 42px); }
  .section-header { margin-bottom: 36px; }
  .section-subhead { font-size: 16px; margin-top: 16px; }

  /* Section padding — every section becomes 20px side, 64px vertical */
  .pillars,
  .process,
  .stats,
  .candidates,
  .marquee-section,
  .aeo-section,
  .ref-tables { padding-left: 20px; padding-right: 20px; }
  .pillars { padding-top: 64px; padding-bottom: 64px; }
  .process { padding-top: 64px; padding-bottom: 64px; }
  .candidates { padding-top: 64px; padding-bottom: 64px; }
  .cta-footer { padding: 64px 20px; }
  /* Hide decorative dot grids that crowd the CTA copy on small screens */
  .cta-dg, .hero-dg-tr { display: none; }
  .cta-fallback-note { font-size: 12.5px; line-height: 1.55; padding: 0 6px; }
  .cta-fallback-note .sep, .cta-fallback-note br { display: block; }
  .aeo-section { padding: 56px 20px; }
  .ref-tables { padding: 56px 20px; }

  /* Pillars / cards */
  .pillar-card { padding: 24px 22px; }
  .insight-card { padding: 22px 20px; }
  .insight-num { font-size: 32px; }

  /* Stats */
  .stats-inner { gap: 20px; }
  .stat-num { font-size: 38px; }

  /* Process cards */
  .process-card { padding: 22px 18px; }

  /* Footer */
  footer { padding: 48px 20px 28px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Social block already collapses, keep tap targets */
  .nl-social { padding: 24px 0 16px; }
  .nl-social-icon { width: 40px; height: 40px; }

  /* Hero candidate-link pill — keep inside viewport, allow wrap */
  .hero-candidate-link {
    max-width: calc(100vw - 40px);
    white-space: normal;
    line-height: 1.4;
  }

  /* Videos page */
  .videos-hero-actions { width: 100%; }
  .videos-hero-actions .btn-primary {
    display: flex; width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
  .videos-featured-title { font-size: 20px; }

  /* Careers section padding */
  .careers-hero { padding: 64px 20px 40px; }
  .careers-section { padding: 48px 20px; }
  .careers-cta { padding: 56px 20px; }

  /* Header padding tighten already exists; ensure no overflow */
  .header-inner { padding: 12px 16px; gap: 16px; }
}
