/* ============================================================
   Managed Outcomes - brand tokens
   Palette pulled directly from the logo: deep navy + brass gold
   ============================================================ */
:root {
  --navy:        #0B2A4A;
  --navy-deep:   #071A2E;
  --navy-soft:   #16436F;
  --gold:        #B3832C;
  --gold-light:  #D9AE5F;
  --gold-pale:   #F1E2C3;

  --paper:       #FAFAF8;
  --panel:       #EEF1F4;
  --white:       #FFFFFF;

  --ink:         #101B26;
  --muted:       #58636E;
  --muted-light: #8993A0;
  --line:        #E2E5E4;
  --line-dark:   rgba(255,255,255,.14);

  --shadow:      0 26px 60px rgba(7,26,46,.16);
  --shadow-sm:   0 10px 26px rgba(7,26,46,.08);
  --radius:      18px;
  --radius-lg:   26px;
  --max:         1180px;

  --display: "Fraunces", ui-serif, Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================== Header ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  height: 92px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}
.nav-links { display: flex; align-items: center; gap: 52px; font-size: 17px; font-weight: 600; }
.nav-links a:not(.nav-cta) {
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold);
  transition: right .22s ease;
}
.nav-links a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  background: var(--navy); color: var(--white); padding: 14px 26px; border-radius: 999px;
  font-weight: 700; letter-spacing: -.01em;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--navy-soft); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ============================== Hero ============================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #F1F4F7 0%, var(--paper) 62%);
  isolation: isolate;
}
.hero-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -230px;
  width: 1040px;
  height: 920px;
  transform: translateY(-46%);
  background: url("logo-mark-navy.png") center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 16px; font-family: var(--body); }
h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 760px;
  margin-bottom: 26px;
}
h1 span { color: var(--gold); font-style: italic; }
.hero-lead { max-width: 640px; font-size: 19px; line-height: 1.65; color: var(--muted); margin-bottom: 26px; font-family: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 15px; transition: .2s ease; font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px rgba(11,42,74,.24); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-secondary { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.full { width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-proof div { display: flex; flex-direction: column; padding-right: 30px; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border: 0; padding-right: 0; }
.hero-proof strong { font-family: var(--display); font-size: 16px; color: var(--navy); font-weight: 600; }
.hero-proof span { color: var(--muted); font-size: 13px; }

.hero-card {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(211,169,95,.22), transparent 55%);
  pointer-events: none;
}
.card-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; position: relative; }
.hero-card h2 { font-size: 30px; line-height: 1.16; letter-spacing: -.01em; color: var(--white); position: relative; margin-bottom: 4px; }
.outcome-stack { margin-top: 26px; position: relative; }
.outcome-row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.outcome-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(217,174,95,.5); color: var(--gold-light); font-size: 12px; font-weight: 700; font-family: var(--display);
}
.outcome-row strong { display: block; margin-bottom: 4px; color: var(--white); font-weight: 650; }
.outcome-row p { color: #B9C4D2; font-size: 14px; margin: 0; }

.trust-strip { background: var(--navy-deep); color: #DCE4EC; padding: 18px 0; text-align: center; font-weight: 600; letter-spacing: .02em; font-size: 14px; }
.trust-strip span { color: var(--gold); padding: 0 18px; }

/* ============================== Sections ============================== */
.section { padding: 36px 0; }
.alt { background: var(--panel); }
.dark { background: var(--navy-deep); color: white; position: relative; overflow: hidden; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.section-heading h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px; max-width: 760px; }
.section-heading > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 18px; }
.centered { text-align: center; margin: 0 auto 50px; }
.centered h2, .centered > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.prose p { font-size: 18px; color: var(--muted); margin-bottom: 14px; }
.prose .lede {
  font-family: var(--display); font-size: 24px; line-height: 1.4; font-weight: 600;
  color: var(--navy); padding-left: 22px; border-left: 3px solid var(--gold);
  margin-bottom: 32px;
}

.credibility-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-top: 28px;
}
.credibility-box .card-kicker { display: block; margin-bottom: 12px; color: var(--gold); }
.credibility-box p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* Services */
.cards { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  min-height: 230px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(179,131,44,.4); box-shadow: var(--shadow-sm); }
.card .icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: var(--navy); color: var(--gold-light); margin-bottom: 26px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Advantage (dark) */
.dark .eyebrow { color: var(--gold-light); }
.dark .section-heading h2 { color: white; }
.advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.advantage-item { background: var(--navy-deep); padding: 26px; }
.advantage-item .adv-icon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(217,174,95,.45); color: var(--gold-light); margin-bottom: 26px;
}
.advantage-item .adv-icon svg { width: 16px; height: 16px; }
.advantage-item h3 { font-size: 21px; margin-bottom: 10px; color: white; }
.advantage-item p { color: #B9C4D2; margin: 0; max-width: 520px; font-size: 15px; }

/* Fit checklist */
.fit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 28px; }
.checklist div { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.checklist div:last-child { border-bottom: 0; }
.checklist .chk { width: 22px; height: 22px; margin-top: 2px; color: var(--gold); }

/* Industries */
.industry-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-cloud span {
  padding: 13px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--navy); transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.industry-cloud span:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--gold-pale); }
.industry-note { text-align: center; color: var(--muted-light); font-size: 14px; margin-top: 18px; }

/* Process timeline */
.timeline { margin-top: 32px; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline-item > span { font-family: var(--display); color: var(--gold); font-size: 20px; font-weight: 600; }
.timeline-item h3 { margin-bottom: 6px; font-size: 22px; letter-spacing: -.01em; }
.timeline-item p { margin: 0; color: var(--muted); max-width: 780px; font-size: 15px; }

/* CTA */
.cta-section { padding-top: 12px; padding-bottom: 48px; }
.cta-box {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg); padding: 60px;
  color: white;
}
.cta-mark {
  content: ""; position: absolute; z-index: -1; left: -160px; bottom: -160px; width: 620px; height: 560px;
  background: url("logo-mark-gold.png") center / contain no-repeat;
  opacity: .09; pointer-events: none;
}
.cta-box .eyebrow { color: var(--gold-light); }
.cta-box h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; color: white; }
.cta-box > div:first-child > p:last-child { font-size: 17px; color: #C4CDD8; max-width: 560px; }
.contact-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); position: relative; }
.contact-line { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.contact-line span { color: #A9B4C1; }
.contact-line strong { color: white; font-weight: 600; }
.contact-panel .btn { margin-top: 22px; }
.lead-form-title { color: white; font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 12px 14px; color: white; font-family: var(--body); font-size: 14px;
  resize: vertical;
}
.lead-form select { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23A9B4C1' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.lead-form select option { color: #1a1a1a; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #A9B4C1; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.lead-form .btn { margin-top: 4px; }
.lead-form-status { margin: 10px 0 0; font-size: 13px; min-height: 16px; }
.lead-form-status.success { color: var(--gold-light); }
.lead-form-status.error { color: #E7A6A6; }
.small-note { margin: 14px 0 0; color: #8A96A5; font-size: 12px; text-align: center; }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-logo { height: 116px; width: auto; }
.site-footer p { color: var(--muted); margin: 0; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 17px; font-weight: 600; color: var(--navy); }
.footer-links a:hover { color: var(--gold); }
.copyright { grid-column: 1/-1; padding-top: 30px; border-top: 1px solid var(--line); margin-top: 12px !important; font-size: 15px; color: var(--muted-light); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================== Responsive ============================== */
@media (max-width: 900px) {
  .nav-wrap { height: 108px; }
  .nav-links {
    display: none; position: absolute; top: 108px; left: 0; right: 0; background: var(--paper);
    padding: 22px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: block; }
  .hero { padding-top: 28px; }
  .hero-grid, .split, .fit-grid, .cta-box { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mark { width: 700px; height: 620px; right: -300px; opacity: .045; }
  .brand-logo { height: 72px; }
  .footer-brand .brand-logo { height: 96px; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .section { padding: 28px 0; }
  h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .hero-proof { gap: 18px; }
  .hero-proof div { padding-right: 18px; }
  .services-grid, .advantage-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 44px 1fr; }
  .cta-box { padding: 34px 24px; }
  .cta-mark { opacity: .06; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
  .nav-wrap { height: 86px; }
  .nav-links { top: 86px; }
  .brand-logo { height: 56px; }
  .footer-brand .brand-logo { height: 80px; }
  .hero-mark { display: none; }
}

/* Session type toggle */
.session-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.session-toggle label { cursor: pointer; }
.session-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.session-toggle span {
  display: block; padding: 12px 14px; border-radius: 12px; text-align: center;
  border: 1.5px solid rgba(255,255,255,.22); color: white; font-weight: 700; font-size: 14px;
  transition: background .18s ease, border-color .18s ease;
}
.session-toggle small { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: #A9B4C1; }
.session-toggle input:checked + span { background: rgba(217,174,95,.16); border-color: var(--gold-light); }
.session-toggle input:checked + span small { color: var(--gold-light); }
.session-toggle input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 480px) { .session-toggle { grid-template-columns: 1fr; } }

/* Hover tooltips */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-4px);
  width: max-content; max-width: 250px; padding: 12px 14px; border-radius: 12px;
  background: var(--navy-deep); color: #E6ECF2; border: 1px solid rgba(217,174,95,.45);
  font-family: var(--body); font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-align: left; text-transform: none;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; z-index: 50;
  transition: opacity .18s ease, transform .18s ease;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after, [data-tip]:focus-within::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.nav-cta[data-tip]::after { left: auto; right: 0; transform: translateY(-4px); }
.nav-cta[data-tip]:hover::after, .nav-cta[data-tip]:focus-visible::after { transform: translateY(0); }
.session-toggle label[data-tip]::after { left: 0; transform: translateY(-4px); }
.session-toggle label.tip-right[data-tip]::after { left: auto; right: 0; }
.session-toggle label[data-tip]:hover::after, .session-toggle label[data-tip]:focus-within::after { transform: translateY(0); }
@media (hover: none) { [data-tip]::after { display: none; } }
