/* ============================================================
   CAO Partners — site styles
   Australia's only specialist AI recruitment firm
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  /* surfaces */
  --bg:           #04050f;
  --bg-alt:       #070812;
  --card:         #0c0d1a;
  --hover:        #16182e;
  --light-bg:     #f7f8fc;
  --light-text:   #0f1020;

  /* blue */
  --blue:         #1269ff;
  --blue-hover:   #0d50cc;
  --blue-dim:     rgba(18,105,255,0.12);
  --blue-border:  rgba(18,105,255,0.30);
  --blue-glow:    rgba(18,105,255,0.45);

  /* text on dark */
  --t1:           #ffffff;
  --t2:           rgba(255,255,255,0.82);
  --t3:           rgba(255,255,255,0.52);
  --t4:           rgba(255,255,255,0.28);
  --border:       rgba(255,255,255,0.08);
  --border-h:     rgba(255,255,255,0.18);

  /* type */
  --font: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 140px);
  --radius: 8px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t2);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--blue); color: #fff; }

/* ----------- utilities ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18,105,255,0.18);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  transition: all 200ms cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--blue-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--t1);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--t1);
}
.btn-ghost.btn-dark {
  color: var(--light-text);
  border-color: rgba(15,16,32,0.4);
}
.btn-ghost.btn-dark:hover {
  background: rgba(15,16,32,0.04);
  border-color: var(--light-text);
}
.btn .arrow {
  transition: transform 200ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(4,5,15,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 300ms ease, border-color 300ms ease, padding 300ms ease;
}
.nav.scrolled {
  background: rgba(4,5,15,0.92);
  border-bottom-color: var(--border);
  padding: 12px 0;
}
.nav .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav .logo svg,
.nav .logo .logo-svg {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-brand .logo svg,
.footer-brand .logo .logo-svg-footer {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--t3);
  transition: color 200ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--t1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* Both CTA buttons visible in mobile sticky nav */
@media (max-width: 600px) {
  .nav-cta .btn-ghost {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 12px;
  }
  .nav-cta .btn-primary {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, var(--bg) 90%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 64px);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 55%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 55%, transparent 90%);
  animation: gridPulse 8s ease-in-out infinite;
  z-index: -2;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%; transform: translateX(-50%);
  width: 120%;
  height: 800px;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, var(--blue-glow) 0%, rgba(18,105,255,0.1) 35%, transparent 65%);
  filter: blur(40px);
  animation: breathe 7s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
}
.hero-fluid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: auto;
  display: block;
}
.hero-fluid.ready { opacity: 1; }
.hero .container.inner { position: relative; z-index: 10; }
.hero-glow { z-index: 2; pointer-events: none; }
.hero-noise { z-index: 3; pointer-events: none; }
.hero-network-OLD {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, #000 35%, rgba(0,0,0,0.4) 65%, transparent 92%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, #000 35%, rgba(0,0,0,0.4) 65%, transparent 92%);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-network.ready { opacity: 0.85; }

.hero-noise {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* H1 word reveal */
.hero-h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #f8fafc;
  margin: 32px 0 32px;
  text-wrap: balance;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-h1 .line {
  display: block;
  overflow: visible;
  padding-bottom: 0.06em;
}
.hero-h1 .line.lead {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-h1 .line.sub {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--t3);
}
.hero-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  filter: blur(10px);
  animation: wordAppear 900ms ease-out forwards;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
  margin: 0 0.05em;
}
.hero-h1 .word:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 24px rgba(110, 164, 255, 0.55);
  cursor: default;
}
.hero-h1 .word.grad:hover,
.hero-h1 .word.accent:hover {
  text-shadow: 0 0 28px rgba(18, 105, 255, 0.55);
}
.hero-h1 .word.grad {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-h1 .word.accent {
  background: linear-gradient(180deg, #6ea4ff 0%, #1269ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 300;
  padding-right: 0.15em;
  padding-left: 0.05em;
}
.hero-eyebrow-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
  opacity: 0.85;
  margin-bottom: 18px;
}
.hero-eyebrow-mono::before,
.hero-eyebrow-mono::after {
  content: "";
  display: block;
  width: clamp(28px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203,213,225,0.5), transparent);
  opacity: 0.6;
}
.hero-eyebrow-rule {
  width: clamp(48px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203,213,225,0.5), transparent);
  opacity: 0.3;
  margin: 0 auto 8px;
}
@keyframes wordAppear {
  0%   { opacity: 0;   transform: translateY(30px) scale(0.8);  filter: blur(10px); }
  50%  { opacity: 0.8; transform: translateY(10px) scale(0.95); filter: blur(2px); }
  100% { opacity: 1;   transform: translateY(0) scale(1);       filter: blur(0); }
}
/* stagger */
.hero-h1 .line:nth-child(1) .word:nth-child(1) { animation-delay: 240ms; }
.hero-h1 .line:nth-child(1) .word:nth-child(2) { animation-delay: 300ms; }
.hero-h1 .line:nth-child(1) .word:nth-child(3) { animation-delay: 360ms; }
.hero-h1 .line:nth-child(1) .word:nth-child(4) { animation-delay: 400ms; }
.hero-h1 .line:nth-child(1) .word:nth-child(5) { animation-delay: 440ms; }
.hero-h1 .line:nth-child(2) .word:nth-child(1) { animation-delay: 540ms; }
.hero-h1 .line:nth-child(2) .word:nth-child(2) { animation-delay: 580ms; }
.hero-h1 .line:nth-child(2) .word:nth-child(3) { animation-delay: 620ms; }
.hero-h1 .line:nth-child(2) .word:nth-child(4) { animation-delay: 660ms; }
.hero-h1 .line:nth-child(2) .word:nth-child(5) { animation-delay: 720ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(1) { animation-delay: 820ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(2) { animation-delay: 850ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(3) { animation-delay: 880ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(4) { animation-delay: 910ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(5) { animation-delay: 940ms; }
.hero-h1 .line:nth-child(3) .word:nth-child(6) { animation-delay: 970ms; }

/* Inline marquee row beneath CTAs */
.hero-marquee {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex; justify-content: flex-start;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.hero-marquee .hm-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: heroMarquee 38s linear infinite;
  will-change: transform;
}
.hero-marquee .hm-track > span { margin-right: 64px; }
.hero-marquee:hover .hm-track { animation-play-state: paused; }
@keyframes heroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee .hm-track { animation: none; }
}
.hero-marquee span {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 13px;
  color: var(--t4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-marquee b {
  font-size: 18px;
  font-weight: 400;
  color: var(--t1);
  letter-spacing: 0.01em;
  font-family: var(--font);
  font-feature-settings: "tnum";
}
.hero-marquee i { font-style: normal; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 600ms 1400ms forwards;
}
.hero-scroll .hs-track {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--t4), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .hs-track::before {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 1px; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--blue));
  animation: scrollDot 2.4s ease-in-out infinite;
}
.hero-scroll .hs-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--t4);
  text-transform: uppercase;
}
@keyframes fadeUp { to { opacity: 1; } }
@keyframes scrollDot {
  0%   { top: -50%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (max-width: 700px) { .hero-scroll { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-network { display: none; }
  .hero-h1 .word { animation: none; transform: none; opacity: 1; }
  .hero-scroll, .hero-scroll .hs-track::before { animation: none; opacity: 1; }
}

.hero .inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin: 28px 0 24px;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--t3);
  max-width: 640px;
  margin: 0 auto 44px;
  text-wrap: pretty;
}
.hero .cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ============================================================
   PROOF BAR
   ============================================================ */
.proof {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 36px 0;
}
.proof .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}
.proof .stat {
  background: var(--bg-alt);
  padding: 12px 20px;
  text-align: center;
}
.proof { padding: 64px 0; }
.proof .stat { padding: 24px 16px; }
.proof .num {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 200;
  color: var(--t1);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-feature-settings: "tnum";
}
.proof .lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .proof .row { grid-template-columns: repeat(2, 1fr); }
  .proof .stat:nth-child(5) { grid-column: span 2; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex; gap: 64px;
  width: max-content;
  animation: tickerSlide 40s linear infinite;
}
.ticker-track span {
  font-size: 18px;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.ticker-track span::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--t4);
  border-radius: 50%;
}
.ticker-track span:last-child::after { display: none; }
@keyframes tickerSlide {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section { padding: var(--section-y) 0; }
.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section-eyebrow {
  font-size: var(--eyebrow);
  font-weight: 500;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  display: block;
}
.section-light .section-eyebrow { color: var(--blue); }
.section-h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 20ch;
}
.section-light .section-h2 { color: var(--light-text); }
.section-lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--t3);
  max-width: 56ch;
  text-wrap: pretty;
}
.section-light .section-lead { color: rgba(15,16,32,0.65); }

/* ============================================================
   THE ROLE (split: copy + 2x2 grid)
   ============================================================ */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.role-copy p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--t2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.role-copy p.kicker {
  color: var(--t1);
  font-weight: 400;
}
.role-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 18px;
}
.role-stat {
  background: var(--bg);
  padding: 22px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 12px;
}
.role-stat .v {
  font-size: 44px;
  font-weight: 200;
  color: var(--t1);
  line-height: 1;
  letter-spacing: -0.025em;
}
.role-stat .v sup {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  vertical-align: super;
  margin-left: 2px;
}
.role-stat .d {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--t3);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .role-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   WHAT THEY DO (4 numbered cards)
   ============================================================ */
.do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
.do-card {
  background: var(--bg);
  padding: 40px 36px 44px;
  position: relative;
  overflow: hidden;
  transition: background 200ms ease;
}
.do-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
}
.do-card:hover { background: var(--bg-alt); }
.do-card:hover::before { transform: scaleX(1); }
.do-card .n {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.do-card h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--t1);
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.do-card p {
  font-size: 15px;
  color: var(--t3);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .do-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TIERS (light section)
   ============================================================ */
.tiers-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.tiers-head .section-lead { color: rgba(15,16,32,0.6); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Tier cards — cluely-inspired large rounded cards
   middle card solid blue, others pale, generous padding */
.tier {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
  box-shadow: 0 1px 0 rgba(15,16,32,0.04), 0 18px 44px -28px rgba(15,16,32,0.18);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(15,16,32,0.04), 0 30px 70px -28px rgba(15,16,32,0.28);
}

/* Featured middle card — solid bright blue */
.tier-featured {
  background: linear-gradient(165deg, #2070ff 0%, #0d50d8 100%);
  color: #fff;
  box-shadow: 0 30px 80px -28px rgba(18,105,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.tier-featured:hover {
  box-shadow: 0 40px 100px -28px rgba(18,105,255,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
}
.tier-featured::before {
  content: "Most placed";
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tier .t-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15,16,32,0.45);
}
.tier-featured .t-label { color: rgba(255,255,255,0.75); }

.tier h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--light-text);
}
.tier-featured h3 { color: #fff; }
.tier h3 small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 0;
  color: rgba(15,16,32,0.50);
}
.tier-featured h3 small { color: rgba(255,255,255,0.78); }

.tier p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15,16,32,0.65);
  margin: 0;
  font-weight: 400;
  text-wrap: pretty;
}
.tier-featured p { color: rgba(255,255,255,0.88); font-weight: 300; }

.tier .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tier .tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: rgba(18,105,255,0.08);
  color: var(--blue);
  border-radius: 999px;
}
.tier-featured .tags span {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.tier .salary {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(15,16,32,0.08);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--light-text);
}
.tier-featured .salary {
  border-top-color: rgba(255,255,255,0.18);
  color: #fff;
}
.tier .salary span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15,16,32,0.45);
  margin-bottom: 6px;
  margin-right: 0;
}
.tier-featured .salary span { color: rgba(255,255,255,0.65); }

@media (max-width: 960px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tiers-head { grid-template-columns: 1fr; align-items: start; }
}

.hero-dash {
  margin: 56px auto 0;
  max-width: 980px;
  position: relative;
  perspective: 1400px;
}
.hero-dash .hd-glow {
  position: absolute;
  inset: -10% -8% -30% -8%;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(18,105,255,0.4), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}
.hd-panel {
  background: linear-gradient(180deg, rgba(12,13,26,0.95), rgba(7,8,18,0.95));
  border: 1px solid var(--border-h);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transform: rotateX(4deg) scale(0.96);
  transform-origin: 50% 100%;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.7), 0 0 0 1px rgba(18,105,255,0.18);
  text-align: left;
  font-size: 12px;
}
.hd-side { background: rgba(255,255,255,0.02); border-right: 1px solid var(--border); padding: 16px 14px; }
.hd-side-title { font-size: 9px; letter-spacing: 0.2em; color: var(--t4); margin-bottom: 14px; }
.hd-agent { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 6px; margin-bottom: 2px; }
.hd-agent.active { background: rgba(18,105,255,0.12); }
.hd-av { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex: 0 0 24px; }
.hd-an { font-size: 12px; font-weight: 500; color: var(--t1); }
.hd-as { font-size: 10px; color: var(--t3); letter-spacing: 0.04em; }
.hd-main { padding: 16px 18px 18px; }
.hd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hd-h-title { font-size: 12px; font-weight: 500; color: var(--t2); }
.hd-h-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.06em; color: #4fd1a8; padding: 4px 9px; background: rgba(16,163,127,0.12); border-radius: 999px; }
.hd-pulse { width: 6px; height: 6px; background: #4fd1a8; border-radius: 50%; box-shadow: 0 0 0 0 rgba(79,209,168,0.6); animation: hdpulse 1.6s infinite; }
@keyframes hdpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(79,209,168,0.6); } 70% { box-shadow: 0 0 0 6px transparent; } }
.hd-rows { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.hd-row { display: grid; grid-template-columns: 14px 1fr 110px 36px; gap: 10px; align-items: center; font-size: 11.5px; }
.hd-status { width: 8px; height: 8px; border-radius: 50%; }
.hd-status.ok { background: #4fd1a8; box-shadow: 0 0 8px rgba(79,209,168,0.6); }
.hd-status.run { background: #1269ff; box-shadow: 0 0 8px var(--blue-glow); animation: hdpulse 1.6s infinite; }
.hd-status.wait { background: var(--t4); }
.hd-task { color: var(--t2); }
.hd-bar { background: rgba(255,255,255,0.06); height: 4px; border-radius: 2px; overflow: hidden; }
.hd-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1269ff, #6ea4ff); border-radius: 2px; }
.hd-pct { text-align: right; color: var(--t3); font-feature-settings: "tnum"; font-size: 11px; }
.hd-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 14px; }
.hd-m-v { font-size: 22px; font-weight: 400; color: var(--t1); letter-spacing: -0.015em; }
.hd-m-v small { font-size: 12px; color: var(--t3); font-weight: 500; }
.hd-m-l { font-size: 10px; letter-spacing: 0.08em; color: var(--t4); text-transform: uppercase; margin-top: 4px; }
@media (max-width: 700px) { .hd-panel { grid-template-columns: 1fr; } .hd-side { display: none; } }

.tools { padding: 40px 0 56px; background: var(--bg); border-bottom: 1px solid var(--border); }
.tools-label { text-align: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t4); margin-bottom: 24px; font-weight: 500; }
.tools-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.tool-badge { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--border); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: all 200ms; }
.tool-badge:hover { background: rgba(255,255,255,0.08); border-color: var(--border-h); transform: translateY(-2px); }
.tool-badge svg { width: 26px; height: 26px; }

.role-grid { grid-template-columns: 1fr 1.05fr; }
.role-visual .rv-panel { background: linear-gradient(180deg, var(--card), var(--bg-alt)); border: 1px solid var(--border-h); border-radius: 14px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(18,105,255,0.1); }
.rv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.rv-title { font-size: 13px; font-weight: 600; color: var(--t1); letter-spacing: 0.02em; }
.rv-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--blue); padding: 4px 10px; background: var(--blue-dim); border-radius: 999px; letter-spacing: 0.04em; }
.rv-pill .hd-pulse { background: var(--blue); box-shadow: 0 0 0 0 var(--blue-glow); }
.rv-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.rv-cell { display: grid; grid-template-columns: 80px 1fr 50px; gap: 14px; align-items: center; font-size: 13px; }
.rv-c-l { color: var(--t3); }
.rv-c-bar { background: rgba(255,255,255,0.06); height: 6px; border-radius: 3px; overflow: hidden; }
.rv-c-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6ea4ff); border-radius: 3px; }
.rv-c-v { text-align: right; color: var(--t1); font-feature-settings: "tnum"; }
.rv-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.rv-foot .rv-stat b { display: block; font-size: 24px; font-weight: 300; color: var(--t1); letter-spacing: -0.02em; }
.rv-foot .rv-stat b sup { font-size: 12px; color: var(--blue); font-weight: 600; margin-left: 1px; }
.rv-foot .rv-stat i { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.1em; color: var(--t4); text-transform: uppercase; margin-top: 4px; }

.vet-grid { grid-template-columns: 1.1fr 1fr; }
.vet-steps-right { order: -1; }
@media (max-width: 920px) { .vet-steps-right { order: 0; } }

.do-card { padding: 0; }
.do-card .do-illus { padding: 20px 24px 0; }
.do-card .do-illus svg { width: 100%; height: 80px; }
.do-card .n, .do-card h3, .do-card p { padding-inline: 36px; }
.do-card .n { padding-top: 8px; }
.do-card p { padding-bottom: 44px; }
.do-card.v-blue   { background: linear-gradient(160deg, #102d6a 0%, #061236 100%); }
.do-card.v-teal   { background: linear-gradient(160deg, #0a3a3a 0%, #07191c 100%); }
.do-card.v-purple { background: linear-gradient(160deg, #2a1657 0%, #100926 100%); }
.do-card.v-slate  { background: linear-gradient(160deg, #2a2f3e 0%, #0e1018 100%); }
.do-card:hover { background-image: none; background: var(--bg-alt); }
.do-card.v-blue:hover   { background: linear-gradient(160deg, #143a85 0%, #0a1a4a 100%); }
.do-card.v-teal:hover   { background: linear-gradient(160deg, #0d4848 0%, #0a2024 100%); }
.do-card.v-purple:hover { background: linear-gradient(160deg, #341c6e 0%, #160d33 100%); }
.do-card.v-slate:hover  { background: linear-gradient(160deg, #353b4e 0%, #14171f 100%); }

.post-art { background: var(--card); position: relative; overflow: hidden; }
.post-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(110,164,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(110,164,255,0.08) 1px, transparent 1px); background-size: 28px 28px; opacity: 0.7; }
.post-art::after { content: ""; position: absolute; inset: 0; }
.post-art-1 { background: linear-gradient(135deg, #0a1840 0%, #1269ff 100%); }
.post-art-1::after { background: radial-gradient(circle at 70% 40%, rgba(255,255,255,0.18), transparent 50%); }
.post-art-2 { background: linear-gradient(135deg, #061236 0%, #2a1657 100%); }
.post-art-2::after { background: radial-gradient(circle at 30% 60%, rgba(110,164,255,0.25), transparent 55%); }

/* ============================================================
   FOUNDERS
   ============================================================ */
.founders-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; }
.founder {
  background: var(--bg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-portrait {
  width: 220px; height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  position: relative;
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.6);
}
.founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 400ms ease, transform 400ms ease;
}
.founder:hover .founder-portrait img { filter: saturate(1) contrast(1); transform: scale(1.02); }
.founder-portrait.monogram {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16182e 0%, #0c0d1a 100%);
  font-size: 88px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.02em;
}
.founder-portrait.monogram::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--blue-dim), transparent 60%);
}
.founder-body { padding-top: 4px; }
.founder-name {
  font-size: 28px;
  font-weight: 300;
  color: var(--t1);
  letter-spacing: -0.015em;
  margin: 0;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.founder-name .role {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.founder-bio {
  font-size: 16px;
  color: var(--t2);
  line-height: 1.65;
  margin: 20px 0;
  text-wrap: pretty;
}
.founder-bio + .founder-bio { margin-top: 0; }
.founder-quote {
  border-left: 2px solid var(--blue);
  padding: 8px 0 8px 22px;
  font-size: 17px;
  font-weight: 400;
  color: var(--t1);
  font-style: normal;
  line-height: 1.5;
  margin: 24px 0 0;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 24px; padding: 40px 28px; }
  .founder-portrait { width: 180px; height: 220px; }
}

/* ============================================================
   PROCESS (3 steps)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 240ms, transform 240ms;
}
.step:hover { border-color: var(--border-h); transform: translateY(-2px); }
.step .n {
  font-size: 56px;
  font-weight: 200;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  display: block;
  font-feature-settings: "tnum";
}
.step h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--t1);
  line-height: 1.3;
  margin: 0 0 14px;
  text-wrap: balance;
}
.step p {
  font-size: 14.5px;
  color: var(--t3);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VETTING (split)
   ============================================================ */
.vet-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.vet-steps {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.vet-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.vet-step .n {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.12em;
  padding-top: 2px;
}
.vet-step h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--t1);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.vet-step p {
  font-size: 14.5px;
  color: var(--t3);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.vet-cta { margin-top: 32px; }
@media (max-width: 920px) { .vet-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CANDIDATES (3 cards on dark)
   ============================================================ */
.cand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cand-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 240ms, background 240ms;
  position: relative;
  overflow: hidden;
}
.cand-card:hover { border-color: var(--border-h); background: var(--hover); }
.cand-card .n {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.cand-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--t1);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.cand-card p {
  font-size: 15px;
  color: var(--t3);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 880px) { .cand-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INSIGHTS (blog preview)
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 280ms, border-color 240ms;
}
.post:hover { transform: translateY(-2px); border-color: var(--border-h); }
.post-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--hover);
  position: relative;
}
.post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
  filter: saturate(0.9);
}
.post:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 28px 30px 32px; }
.post-meta {
  font-size: 12px;
  color: var(--t4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.post h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--t1);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post p {
  font-size: 15px;
  color: var(--t3);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 820px) { .insights-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(18,105,255,0.20) 0%, transparent 60%);
  z-index: -1;
}
.cta-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 92%;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  /* Radial mask centered on the title/body block: hides canvas drawing
     in an ellipse around the text so it stays legible, while leaving the
     side spaces (where the cranes stand) fully visible up to the top. */
  -webkit-mask-image: radial-gradient(ellipse 28% 28% at 50% 32%,
    rgba(0,0,0,0) 38%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,1) 100%);
  mask-image: radial-gradient(ellipse 28% 28% at 50% 32%,
    rgba(0,0,0,0) 38%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,1) 100%);
}
.cta-final::after { display: none; }
.cta-final .container {
  position: relative;
  z-index: 1;
}
.cta-final h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 200;
  color: var(--t1);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta-final p {
  font-size: 19px;
  font-weight: 300;
  color: var(--t3);
  max-width: 540px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.cta-final .cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.footer-brand .logo svg { height: 24px; }
.footer-tag {
  font-size: 14px;
  color: var(--t3);
  margin: 18px 0 24px;
  line-height: 1.55;
  max-width: 36ch;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--t3);
  transition: all 200ms;
}
.footer-social a:hover { color: var(--t1); border-color: var(--border-h); background: var(--card); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--t4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--t2);
  transition: color 200ms;
}
.footer-col a:hover { color: var(--t1); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--t4);
  letter-spacing: 0.02em;
}
.footer-bottom a:hover { color: var(--t2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } .footer-bottom { flex-direction: column; gap: 12px; } }

/* ============================================================
   FADE-UP ENTRY
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
.reveal.d5 { transition-delay: 400ms; }

/* ============================================================
   LIQUID GLASS BUTTONS — Apple Tahoe style
   Empty ::before lens prevents text ghosting from backdrop-filter
   ============================================================ */
.btn {
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border: none !important;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  background: rgba(255,255,255,0.05);
  transition: background 320ms cubic-bezier(.65,0,.35,1), box-shadow 320ms cubic-bezier(.65,0,.35,1);
}
.btn > * { position: relative; z-index: 1; }

/* Primary — blue-tinted liquid glass */
.btn-primary {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: none !important;
}
.btn-primary::before {
  background: rgba(18,105,255,0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.20),
    inset 1.8px 3px 0 -2px rgba(255,255,255,0.85),
    inset -2px -2px 0 -2px rgba(255,255,255,0.70),
    inset -3px -8px 1px -6px rgba(255,255,255,0.45),
    inset -0.3px -1px 4px 0 rgba(0,0,0,0.12),
    inset -1.5px 2.5px 0 -2px rgba(0,0,0,0.20),
    inset 0 3px 4px -2px rgba(0,0,0,0.20),
    inset 2px -6.5px 1px -4px rgba(0,0,0,0.10),
    0 1px 4px 0 rgba(0,0,0,0.18),
    0 8px 24px -2px rgba(18,105,255,0.32);
}
.btn-primary:hover::before {
  background: rgba(18,105,255,0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.24),
    inset 1.8px 3px 0 -2px rgba(255,255,255,0.95),
    inset -2px -2px 0 -2px rgba(255,255,255,0.80),
    inset -3px -8px 1px -6px rgba(255,255,255,0.55),
    inset -0.3px -1px 4px 0 rgba(0,0,0,0.12),
    inset -1.5px 2.5px 0 -2px rgba(0,0,0,0.20),
    inset 0 3px 4px -2px rgba(0,0,0,0.20),
    inset 2px -6.5px 1px -4px rgba(0,0,0,0.10),
    0 1px 4px 0 rgba(0,0,0,0.18),
    0 14px 36px -4px rgba(18,105,255,0.45);
}
.btn-primary:hover { transform: scale(1.025); }
.btn-primary:active { transform: scale(0.97); transition-duration: 80ms; }

/* Ghost — clear liquid glass */
.btn-ghost {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-ghost::before {
  background: rgba(255,255,255,0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 1.8px 3px 0 -2px rgba(255,255,255,0.85),
    inset -2px -2px 0 -2px rgba(255,255,255,0.65),
    inset -3px -8px 1px -6px rgba(255,255,255,0.40),
    inset -0.3px -1px 4px 0 rgba(0,0,0,0.12),
    inset -1.5px 2.5px 0 -2px rgba(0,0,0,0.20),
    inset 0 3px 4px -2px rgba(0,0,0,0.20),
    inset 2px -6.5px 1px -4px rgba(0,0,0,0.10),
    0 1px 4px 0 rgba(0,0,0,0.10),
    0 6px 16px -2px rgba(0,0,0,0.22);
}
.btn-ghost:hover::before {
  background: rgba(255,255,255,0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    inset 1.8px 3px 0 -2px rgba(255,255,255,0.95),
    inset -2px -2px 0 -2px rgba(255,255,255,0.75),
    inset -3px -8px 1px -6px rgba(255,255,255,0.50),
    inset -0.3px -1px 4px 0 rgba(0,0,0,0.12),
    inset -1.5px 2.5px 0 -2px rgba(0,0,0,0.20),
    inset 0 3px 4px -2px rgba(0,0,0,0.20),
    inset 2px -6.5px 1px -4px rgba(0,0,0,0.10),
    0 1px 4px 0 rgba(0,0,0,0.10),
    0 10px 24px -4px rgba(0,0,0,0.30);
}
.btn-ghost:hover { transform: scale(1.025); }
.btn-ghost:active { transform: scale(0.97); transition-duration: 80ms; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2,3,9,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  animation: fade 240ms ease;
}
.modal-overlay.open { display: flex; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 40px 32px;
  position: relative;
  animation: rise 320ms cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal h3 {
  font-size: 26px;
  font-weight: 300;
  color: var(--t1);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.modal .modal-sub {
  font-size: 14px;
  color: var(--t3);
  margin: 0 0 28px;
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--t3);
  transition: all 200ms;
}
.modal-close:hover { background: var(--hover); color: var(--t1); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 0.04em;
}
.field input, .field select, .field textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--t1);
  font-family: inherit;
  transition: border-color 180ms, background 180ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg);
}
.field textarea { resize: vertical; min-height: 96px; }
.modal .btn-primary { width: 100%; margin-top: 24px; padding: 16px; }
.honey { position: absolute; left: -9999px; }
@media (max-width: 540px) {
  .modal { padding: 32px 24px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}

/* ============================================================
   MOBILE NAV — max-width: 900px only, desktop untouched
   ============================================================ */
.nav-hamburger {
  display: none;
}

@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--t1);
    border-radius: 2px;
    transition: transform 300ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
    transform-origin: center;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(4,5,15,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }
  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
  }
  .mobile-nav-link {
    font-size: 28px;
    font-weight: 200;
    color: var(--t2);
    letter-spacing: -0.02em;
    padding: 12px 24px;
    transition: color 200ms ease;
    text-decoration: none;
  }
  .mobile-nav-link:hover { color: var(--t1); }
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
  }
  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }

  /* Hero padding reduced on mobile */
  .hero { padding: 100px 0 60px; }

  /* Proof bar 2-col on small screens */
  .proof .row { grid-template-columns: repeat(2, 1fr); }
  .proof .stat:last-child { grid-column: span 2; }
}

/* ============================================================
   MOBILE LAYOUT FIXES — max-width: 600px
   Desktop completely untouched. No content removed.
   ============================================================ */
@media (max-width: 600px) {

  /* --- HERO --- */
  .hero {
    padding: 90px 0 48px;
    min-height: auto;
  }
  /* Force the inner container to be full width and centred */
  .hero .container.inner {
    padding-inline: 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  /* Eyebrow text */
  .hero-eyebrow-mono {
    font-size: 10px;
    letter-spacing: 0.12em;
    gap: 8px;
    justify-content: center;
  }
  /* H1 — words must wrap and centre */
  .hero-h1 {
    margin: 20px 0 20px;
    max-width: 100%;
    text-align: center;
  }
  .hero-h1 .line {
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
  .hero-h1 .line.lead {
    font-size: clamp(28px, 9vw, 40px);
    margin-bottom: 14px;
  }
  .hero-h1 .line.sub {
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.5;
  }
  /* Sub paragraph */
  .hero .sub {
    font-size: 15px;
    margin: 0 auto 28px;
    text-align: center;
  }
  /* CTAs — side by side but smaller, centred */
  .hero .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .hero .cta-row .btn {
    flex: 0 1 auto;
    padding: 12px 18px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Hero dashboard — scale down to fit, don't hide */
  .hero-dash {
    margin: 36px auto 0;
    max-width: 100%;
    overflow: hidden;
    perspective: none;
  }
  .hd-panel {
    transform: none;
    grid-template-columns: 1fr;
    font-size: 11px;
  }
  .hd-side { display: none; }
  .hd-main { padding: 14px 16px 16px; }
  .hd-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Hero marquee */
  .hero-marquee { margin-top: 32px; }

  /* --- ROLE SECTION --- */
  .role-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  /* Role visual panel — scale down, show it */
  .role-visual {
    display: block;
    overflow: hidden;
  }
  .rv-panel { padding: 18px; }
  .rv-foot {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .role-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* --- SECTION TYPOGRAPHY --- */
  .section-h2 {
    font-size: clamp(26px, 7vw, 38px);
    max-width: 100%;
  }
  .section-lead { font-size: 16px; }

  /* --- TIERS HEAD --- */
  .tiers-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  /* --- FOUNDERS --- */
  .founder {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 20px;
  }
  .founder-portrait { width: 140px; height: 180px; }
  .founder-name { font-size: 22px; }
  .founder-bio { font-size: 15px; }
  .founder-quote { font-size: 15px; }

  /* --- DO CARDS --- */
  .do-grid { grid-template-columns: 1fr; }

  /* --- VETTING --- */
  .vet-grid { grid-template-columns: 1fr; }

  /* --- CANDIDATES --- */
  .cand-grid { grid-template-columns: 1fr; }

  /* --- INSIGHTS --- */
  .insights-grid { grid-template-columns: 1fr; }

  /* --- PROCESS --- */
  .process-grid { grid-template-columns: 1fr; }
  .step { padding: 28px 24px; }
  .step .n { font-size: 40px; }

  /* --- FOOTER --- */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* --- GENERAL PADDING --- */
  .section { padding: 60px 0; }
  .container { padding-inline: 20px; }
}
