/* ========== Tokens ========== */
:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --navy-soft: #17335C;
  --gold: #C9A227;
  --gold-light: #E4C468;
  --white: #FFFFFF;
  --bg-alt: #0F2C51;
  --text-body: #C7D2E3;
  --text-muted: #8DA0BE;
  --border: rgba(255,255,255,0.14);
  --font-display: 'Space Grotesk', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --radius: 8px;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: 48px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }

p { font-size: 16px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-navy:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }

/* ========== Header ========== */
header.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 28px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.15s ease;
}
nav.main-nav a:hover { color: var(--white); }

.nav-audience-link {
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !important;
  border-bottom: 1px dotted rgba(255,255,255,0.35);
  padding-bottom: 1px;
}
.nav-audience-link:hover { color: var(--gold-light) !important; border-color: var(--gold-light); }

/* ========== Mobile nav toggle ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  background: var(--navy-deep);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero-star-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 760px; }
.hero-content .eyebrow { display: block; margin-bottom: 18px; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content p.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== Client strip ========== */
.client-strip {
  background: var(--bg-alt);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.client-strip .strip-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  text-align: center;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px;
}
.client-logo-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.client-logo-chip:hover { opacity: 1; color: var(--white); }

.permission-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  font-style: italic;
}

/* ========== Section shell ========== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header .eyebrow { display: block; margin-bottom: 14px; }
.section-header p { color: var(--text-muted); margin-top: 14px; font-size: 17px; }

/* ========== Pillar cards ========== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--navy-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}
.pillar-star {
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
}
.pillar-card h3 { margin-bottom: 12px; }
.pillar-card p { font-size: 15px; color: var(--text-muted); }

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

/* ========== Deep dive rows ========== */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.deep-row:last-child { border-bottom: none; }
.deep-row.reverse .deep-copy { order: 2; }
.deep-row.reverse .deep-visual { order: 1; }
.deep-copy .eyebrow { display: block; margin-bottom: 10px; }
.deep-copy h3 { font-size: 26px; margin-bottom: 14px; }
.deep-copy p.problem { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.deep-copy p.problem strong { color: var(--white); }

.star-list { list-style: none; }
.star-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
}
.star-list li svg { flex-shrink: 0; margin-top: 4px; }
.star-list li strong { color: var(--white); }

.deep-visual {
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.deep-visual .visual-star {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}
.deep-visual .visual-number {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ========== Perspective section ========== */
.perspective {
  background: var(--navy-deep);
  padding: 72px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.perspective .wrap { max-width: 860px; }
.perspective .eyebrow { color: var(--gold-light); display: block; margin-bottom: 16px; }
.perspective h2 { color: var(--white); margin-bottom: 24px; font-size: 28px; }
.perspective p { color: rgba(255,255,255,0.82); font-size: 17px; margin-bottom: 16px; }
.perspective p:last-child { margin-bottom: 0; }
.perspective strong { color: var(--white); }

/* ========== Case studies ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--navy-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 26px;
}
.case-client {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.case-card h3 { font-size: 17px; margin-bottom: 10px; }
.case-card p { font-size: 14.5px; color: var(--text-muted); }
.case-permission-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
}

/* ========== Placeholder blocks ========== */
.placeholder-block {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  background: var(--bg-alt);
}
.placeholder-block .eyebrow { color: var(--text-muted); }
.placeholder-block h3 { margin: 12px 0 8px; }
.placeholder-block p { color: var(--text-muted); font-size: 15px; max-width: 480px; margin: 0 auto; }

/* ========== Team ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--navy-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.team-card h3 { margin-bottom: 4px; }
.team-role {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.team-card p { font-size: 14.5px; color: var(--text-muted); }

.team-cta { margin-top: 36px; text-align: center; }

/* ========== Roles list (careers page) ========== */
.roles-list { display: flex; flex-direction: column; gap: 12px; }
.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color 0.15s ease;
}
.role-row:hover { border-color: var(--gold); }
.role-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); }
.role-meta { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.role-cta { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--gold); white-space: nowrap; }

/* ========== Why cards (careers page) ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 8px 0;
}
.why-card svg { margin-bottom: 16px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--text-muted); }

/* ========== Final CTA ========== */
.final-cta {
  background: var(--navy-deep);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 32px; font-size: 17px; }
.final-cta .hero-ctas { justify-content: center; }

/* ========== Footer ========== */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo img { height: 24px; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.dba-note { font-size: 12.5px; color: rgba(255,255,255,0.4); max-width: 640px; }
.todo-flag {
  color: var(--gold-light);
  font-style: italic;
}

/* ========== Dev TODO banner (remove before real launch) ========== */
.dev-todo {
  background: #FDF3D8;
  border-bottom: 1px solid #E8D48A;
  color: #6B5A0E;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  font-family: var(--font-body);
}
.dev-todo strong { font-weight: 700; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-row, .deep-row.reverse { grid-template-columns: 1fr; }
  .deep-row.reverse .deep-copy, .deep-row.reverse .deep-visual { order: initial; }
  .team-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .role-row { flex-direction: column; align-items: flex-start; gap: 10px; }

  .nav-toggle { display: flex; }

  nav.main-nav {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    z-index: 99;
  }
  nav.main-nav.is-open { max-height: 400px; }
  nav.main-nav a {
    width: 100%;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-audience-link { border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .hero { padding: 56px 0 64px; }
  .hero-star-bg { width: 220px; height: 220px; top: -30px; right: -40px; }
  .hero-content p.lede { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .section { padding: 56px 0; }
  .client-logos { gap: 24px 28px; }
  .client-logo-chip { font-size: 15px; }
  .pillar-card, .team-card, .case-card { padding: 24px 20px; }
  .roles-grid { grid-template-columns: 1fr; }
  .final-cta .hero-ctas { flex-direction: column; }
  .final-cta .btn { width: 100%; }
}
