:root {
  --brand-navy: #071a3d;
  --brand-navy-2: #0b2857;
  --brand-gold: #8c7340;
  --brand-gold-light: #d8c38f;
  --brand-cream: #f6f3ec;
  --brand-white: #fff;
  --brand-text: #15213a;
  --brand-muted: #58657a;
  --brand-line: #dce2ea;
}

body { background: var(--brand-white); color: var(--brand-text); font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.site-header { height: 74px; min-height: 74px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); background: rgba(7, 26, 61, .97); border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.brand, .brand-main, .brand-sub { color: #fff; }
.brand { gap: 3px; }
.brand-main { font: 800 19px/1.05 "Public Sans", sans-serif; letter-spacing: .05em; }
.brand-sub { color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .04em; }
.nav-links a { color: rgba(255,255,255,.8); font-weight: 650; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { padding: 10px 16px; background: #fff; color: var(--brand-navy) !important; border: 1px solid #fff; }
.nav-toggle span { background: #fff; }
.mobile-panel { top: 74px; background: var(--brand-navy); border: 0; }
.mobile-panel a { color: #fff; }

.opening-brief { position: relative; min-height: 500px; max-width: none; padding: 68px max(24px, calc((100vw - 1200px) / 2)); display: block; color: #fff; background-image: linear-gradient(90deg, rgba(7,26,61,.96) 0%, rgba(7,26,61,.84) 52%, rgba(7,26,61,.48) 100%), url('/images/kecc-nyc-real.jpg'); background-size: cover; background-position: center 54%; border: 0; }
.opening-brief::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(transparent, rgba(4,17,42,.38)); pointer-events: none; }
.opening-copy { position: relative; z-index: 1; max-width: 720px; }
.opening-copy h1 { max-width: 700px; margin: 0; color: #fff; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.1; font-weight: 720; letter-spacing: -.025em; text-wrap: balance; }
.opening-copy > p { max-width: 690px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }
.opening-actions { margin-top: 34px; }
.opening-actions .btn.primary { padding: 14px 22px; background: #fff; border-color: #fff; color: var(--brand-navy); font-weight: 800; }
.opening-actions .btn.secondary { color: #fff; font-weight: 750; }

.service-index { max-width: 1200px; padding: 82px 24px 90px; }
.section-intro { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: end; margin-bottom: 30px; }
.eyebrow { margin: 0; color: #745c2b; font-size: 12px; letter-spacing: .14em; }
.section-intro h2 { max-width: 760px; color: var(--brand-navy); font-size: clamp(32px, 3.5vw, 48px); font-weight: 750; letter-spacing: -.025em; }
.service-row { grid-template-columns: 250px 1fr 175px 28px; gap: 28px; padding: 25px 0; border-color: var(--brand-line); }
.service-row h3 { color: var(--brand-navy); font-weight: 800; }
.service-row p { color: var(--brand-muted); }
.service-row .fee { color: var(--brand-navy); font-weight: 800; }
.service-row:hover { padding-left: 14px; padding-right: 14px; background: #f5f7fa; color: inherit; }
.service-row .arrow { color: #ad812c; }

.fee-document { padding: 84px max(24px, calc((100vw - 1200px) / 2)); background: #f4f6f9; }
.fee-document h2 { color: var(--brand-navy); font-size: clamp(32px, 3vw, 46px); font-weight: 760; }
.fee-document > p { color: var(--brand-muted); }
.fee-document table { margin-top: 28px; background: #fff; box-shadow: 0 14px 38px rgba(7,26,61,.08); }
.fee-document thead { background: var(--brand-navy); color: #fff; }
.fee-document th, .fee-document td { padding: 18px 20px; }
.fee-document tbody tr:hover { background: #f7f9fc; }
.fee-note { max-width: 72ch; text-wrap: pretty; }
.fee-summary { margin-top: 28px; border-top: 1px solid var(--brand-line); }
.fee-summary a { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--brand-line); color: var(--brand-navy); text-decoration: none; }
.fee-summary a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.fee-summary strong { white-space: nowrap; }
.fee-link { margin-top: 24px; }
.fee-link a { color: var(--brand-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.limits-note { max-width: 1200px; padding: 84px 24px; gap: 72px; }
.limits-note h2 { color: var(--brand-navy); font-size: clamp(32px, 3vw, 46px); font-weight: 760; }
.limits-note > div > p { max-width: 68ch; text-wrap: pretty; }
.current-note { padding: 28px; background: #f3f5f7; border-left: 3px solid var(--brand-gold); }
.start-steps { padding: 76px max(24px, calc((100vw - 1200px) / 2)); background: var(--brand-navy); }
.start-steps h2, .start-steps h3 { color: #fff; }
.start-steps .step-no { color: var(--brand-gold-light); }

.page-hero, .page-hero.compact { padding: 72px max(24px, calc((100vw - 1100px) / 2)); background: linear-gradient(120deg, var(--brand-navy), var(--brand-navy-2)) !important; color: #fff; border: 0; }
.page-hero h1, .page-hero h2 { color: #fff; font-weight: 760; }
.page-hero p, .page-hero .lead, .page-hero .muted { color: rgba(255,255,255,.76) !important; }
.service-card, .scope-card, .price-card, .notice, .assessment-form, .panel, .card { background: #fff; border-color: var(--brand-line); box-shadow: 0 10px 30px rgba(7,26,61,.07); }
.btn.primary, button.primary { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.site-footer { background: #061630; color: rgba(255,255,255,.68); border: 0; }
.footer-brand, .site-footer h3 { color: #fff; }
.site-footer p, .site-footer .muted, .site-footer a, .footer-bottom { color: rgba(255,255,255,.66) !important; }
.site-footer a:hover { color: var(--brand-gold-light) !important; }
.photo-credit { margin-top: 18px; color: rgba(255,255,255,.62); font-size: 11px; }
.photo-credit a { color: rgba(255,255,255,.58) !important; text-decoration: underline; }
#kecc-grok-launch { background: var(--brand-navy) !important; border: 1px solid rgba(255,255,255,.75) !important; color: #fff !important; font-weight: 800; }

@media (min-width: 901px) {
  #kecc-grok-launch { right: 24px !important; bottom: 24px !important; }
}

@media (max-width: 900px) {
  .opening-brief { min-height: 470px; padding: 58px 24px; background-position: 62% center; }
  .opening-copy h1 { font-size: clamp(36px, 8vw, 46px); }
  .section-intro { grid-template-columns: 1fr; gap: 10px; }
  .service-row { grid-template-columns: 1fr auto; gap: 8px 18px; }
  .service-row p { grid-column: 1 / -1; }
  .service-row .arrow { display: none; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; min-height: 68px; }
  .mobile-panel { top: 68px; }
  .opening-brief { min-height: 0; padding: 48px 20px 44px; background-image: linear-gradient(90deg, rgba(5,21,51,.97), rgba(5,21,51,.76)), url('/images/kecc-nyc-real.jpg'); }
  .opening-copy h1 { font-size: 34px; line-height: 1.12; }
  .opening-copy > p { font-size: 16px; }
  .opening-actions { display: grid; gap: 18px; justify-items: start; }
  .service-index, .limits-note { padding-top: 62px; padding-bottom: 62px; }
  .service-row { padding: 20px 0; }
  .fee-document { padding-top: 62px; padding-bottom: 62px; }
  .fee-summary a { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
  #kecc-grok-launch { right: 12px !important; bottom: 12px !important; width: 48px !important; height: 48px !important; padding: 0 !important; border-radius: 50% !important; overflow: hidden; font-size: 0 !important; background: var(--brand-navy) !important; border: 1px solid rgba(255,255,255,.7) !important; color: #fff !important; }
  #kecc-grok-launch::after { content: "Ask"; font-size: 12px; font-weight: 800; }
}
