:root {
  --paper: #FBFAF6;
  --surface: #FFFFFF;
  --ink: #14212E;
  --muted: #5A6875;
  --navy: #1D5A8F;
  --navy-deep: #143A63;
  --gold: #0FA3BE;
  --gold-bright: #35D2E8;
  --teal-deep: #0A7A90;
  --line: #E6E9EC;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --maxw: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1621;
    --surface: #16222F;
    --ink: #EAF0F6;
    --muted: #9DB0C0;
    --navy: #244C7A;
    --navy-deep: #0B1A2B;
    --gold: #29B4CB;
    --gold-bright: #52D2E6;
    --teal-deep: #52D2E6;
    --line: #24384C;
  }
}
:root[data-theme="light"] {
  --paper: #FBFAF6; --surface: #FFFFFF; --ink: #14212E; --muted: #5A6875;
  --navy: #1D5A8F; --navy-deep: #143A63; --gold: #0FA3BE; --gold-bright: #35D2E8; --teal-deep: #0A7A90; --line: #E6E9EC;
}
:root[data-theme="dark"] {
  --paper: #0E1621; --surface: #16222F; --ink: #EAF0F6; --muted: #9DB0C0;
  --navy: #244C7A; --navy-deep: #0B1A2B; --gold: #29B4CB; --gold-bright: #52D2E6; --teal-deep: #52D2E6; --line: #24384C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; letter-spacing: .14em; font-size: 15px; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.logo .x { color: var(--gold-bright); font-weight: 800; }
.logo img { height: 40px; width: auto; display: block; }
.logo .mark { width: 26px; height: 26px; border-radius: 6px; background: var(--navy); position: relative; display: inline-block; }
.logo .mark::after { content: ""; position: absolute; inset: 7px 7px auto 7px; height: 3px; background: var(--gold-bright); border-radius: 2px; box-shadow: 0 5px 0 var(--gold-bright), 0 10px 0 color-mix(in srgb, var(--gold-bright) 55%, transparent); }
nav.links { display: flex; gap: 30px; font-size: 14.5px; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
nav.links a.active { color: var(--ink); font-weight: 600; }
.btn { font-family: var(--font-sans); font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 8px; background: var(--gold); color: #06182B; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s; display: inline-block; }
.btn:hover { background: var(--gold-bright); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; font-size: 17px; line-height: 1; color: var(--ink); cursor: pointer; }
@media (max-width: 760px){
  .bar { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .menu-btn { display: inline-flex; align-items: center; }
  nav.links { display: none; order: 4; width: 100%; }
  header.open nav.links { display: flex; flex-direction: column; gap: 0; padding: 10px 0 6px; font-size: 15.5px; }
  header.open nav.links a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 13.5px; }
}

/* Hero (home) — light */
.hero { background: linear-gradient(165deg, #FFFFFF 0%, #F1F8FB 52%, #E2F1F6 100%); color: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content:""; position:absolute; inset:0; z-index: 2; background: linear-gradient(115deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 45%, rgba(226,241,246,.45) 100%); }

/* Static hero background photo (houston.jpg in this folder; gradient shows if the file is absent). */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slides .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: url("houston.jpg"), linear-gradient(135deg, #DCEEF6, #B9DFEC);
}
.hero .wrap { position: relative; z-index: 3; padding: 104px 24px 108px; max-width: 900px; }
.hero .skyline { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(120px, 18vw, 200px); z-index: 0; pointer-events: none; }
.hero .skyline svg { width: 100%; height: 100%; display: block; }
.eyebrow { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--teal-deep); margin: 0 0 22px; letter-spacing: .01em; }
.eyebrow.tagline { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 26px; }
h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -.02em; font-weight: 800; margin: 0 0 22px; text-wrap: balance; max-width: 15ch; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 34px; }
.hero .btn { padding: 14px 26px; font-size: 15.5px; }
.trust { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; gap: 40px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.trust b { color: var(--ink); font-weight: 700; }

/* Subpage hero (owners / areas / resources / about / contact) — light */
.subhero { background: linear-gradient(165deg, #FFFFFF 0%, #F1F8FB 60%, #E6F3F7 100%); color: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.subhero::before { content:""; position:absolute; inset:0; background: radial-gradient(620px 320px at 85% -10%, rgba(53,210,232,.16), transparent 62%); }
.subhero .wrap { position: relative; padding: 68px 24px 62px; max-width: 860px; }
.subhero h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 20ch; margin: 0 0 18px; }
.subhero .lede { margin: 0; }

/* Section scaffolding */
section { padding: 88px 0; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--teal-deep); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.015em; font-weight: 800; margin: 0 0 16px; text-wrap: balance; }
.sub { color: var(--muted); font-size: 17px; max-width: 62ch; margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.card .n { font-family: var(--font-serif); font-size: 15px; color: var(--teal-deep); font-weight: 700; }
.card h3 { font-size: 18.5px; margin: 14px 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.8px; }
@media (max-width: 900px){ .pillars { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .pillars { grid-template-columns: 1fr; } }

/* Serve band */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.serve { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px){ .serve { grid-template-columns: 1fr; gap: 24px; } }

/* Why cards */
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 46px; }
.why .card.us { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); }
.why h3 { font-size: 16px; margin: 0 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.why .card.us h3 { color: var(--teal-deep); }
.why p { margin: 0; font-size: 15px; }
@media (max-width: 820px){ .why { grid-template-columns: 1fr; } }

/* Service tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; align-items: start; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; position: relative; }
.tier.featured { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), 0 16px 40px -22px rgba(20,43,71,.4); }
.tier .flag { position: absolute; top: -12px; left: 28px; background: var(--gold); color: #06182B; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.tier .tname { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
.tier .ttag { font-family: var(--font-serif); font-style: italic; color: var(--teal-deep); font-size: 15px; margin: 0 0 20px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 26px; }
.tier li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.tier li:first-child { border-top: 0; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-bright); }
.tier .btn { width: 100%; text-align: center; }
.tier.featured .btn { background: var(--gold); }
@media (max-width: 900px){ .tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

.pricing-note { margin-top: 34px; text-align: center; color: var(--muted); font-size: 15px; font-style: italic; }

/* About prose */
.prose { max-width: 68ch; }
.prose p { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.prose p.lead { color: var(--ink); font-size: 19px; }
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.feature-row .card h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 19px; margin: 0 0 10px; }
.feature-row .card p { font-size: 15px; }
@media (max-width: 720px){ .feature-row { grid-template-columns: 1fr; } }

/* Markets / Areas We Serve */
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; }
@media (max-width: 760px){ .markets { grid-template-columns: 1fr; } }
.market { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.market .cap { background: linear-gradient(150deg, #F2F9FC, #E4F2F7); padding: 22px 26px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, var(--line)); }
.market .cap h3 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.01em; }
.market .cap p { margin: 5px 0 0; color: var(--teal-deep); font-family: var(--font-serif); font-style: italic; font-size: 15px; }
.market .body { padding: 24px 26px 26px; }
.market .body p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.market ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.market li { font-size: 13.5px; color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); padding: 5px 12px; border-radius: 20px; }

/* FAQ */
.faq { margin-top: 42px; max-width: 76ch; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-deep); font-size: 22px; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; }
.faq h2 { margin-top: 0; }
.faq-group { margin-bottom: 46px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .btn { width: 100%; text-align: center; margin-top: 6px; }
.form .disclaimer { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.contact-side .kicker { margin-top: 0; }
.contact-side h2 { font-size: 28px; }
.contact-info { margin-top: 28px; }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info .row:first-child { border-top: 0; }
.contact-info .ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: color-mix(in srgb, var(--navy) 12%, transparent); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 800; }
.contact-info .lab { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.contact-info .val { font-size: 15.5px; color: var(--ink); font-weight: 600; margin: 0; }

/* How it works — numbered steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 46px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #06182B; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 16.5px; margin: 0 0 7px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 980px){ .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }

/* Commitments band */
.commits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; margin-top: 42px; }
.commit { display: flex; gap: 12px; align-items: flex-start; }
.commit .tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--teal-deep); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.commit h3 { font-size: 15.5px; margin: 0 0 3px; letter-spacing: -.01em; }
.commit p { margin: 0; color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px){ .commits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .commits { grid-template-columns: 1fr; } }

/* Footer legal line */
.footer-legal { padding: 12px 0 0; color: var(--muted); font-size: 12.5px; letter-spacing: .02em; }
.footer-legal a { text-decoration: underline; }

/* Footer service areas */
.footer-areas { padding: 14px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.footer-areas b { color: var(--ink); font-weight: 600; }

/* Photo figures */
.photo-fig { margin: 46px 0 0; }
.photo-fig img { width: 100%; height: clamp(240px, 38vw, 420px); object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; }
.photo-fig img.faces { object-position: 50% 18%; }
.photo-fig figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* CTA */
.cta { background: linear-gradient(150deg, #F4FAFC 0%, #E4F2F7 100%); color: var(--ink); text-align: center; border-radius: 18px; padding: 62px 28px; border: 1px solid color-mix(in srgb, var(--gold) 26%, var(--line)); }
.cta h2 { color: var(--ink); }
.cta p { color: var(--muted); margin: 0 auto 30px; max-width: 48ch; font-size: 17px; }

/* Footer */
footer { padding: 44px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .frow { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .co { color: var(--ink); font-weight: 700; letter-spacing: .04em; }
footer nav { display: flex; gap: 22px; }
footer nav a:hover { color: var(--ink); }

/* Rise animation */
.rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .rise { animation: none; opacity: 1; transform: none; } }


/* ---- Mobile tightening ---- */
@media (max-width: 600px){
  .hero .wrap { padding: 52px 20px 60px; }
  .subhero .wrap { padding: 44px 20px 42px; }
  section { padding: 54px 0; }
  .wrap { padding: 0 20px; }
  .eyebrow.tagline { font-size: 22px; margin-bottom: 18px; }
  .eyebrow { font-size: 16px; margin-bottom: 16px; }
  h1 { font-size: clamp(30px, 8.5vw, 38px); }
  h2 { font-size: clamp(23px, 6.5vw, 30px); }
  .lede { font-size: 16px; margin-bottom: 26px; }
  .sub { font-size: 15.5px; }
  .trust { gap: 14px 26px; margin-top: 28px; padding-top: 20px; font-size: 12.5px; }
  .cta { padding: 44px 20px; border-radius: 14px; }
  .photo-fig { margin-top: 34px; }
  .tier { padding: 26px 20px; }
  .form { padding: 24px 20px; }
}

/* ---- Dark-mode overrides for light hero/CTA panels ---- */
@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(165deg, #14212E 0%, #16303F 55%, #123845 100%); }
  .hero::before { background: linear-gradient(115deg, rgba(20,33,46,.90) 0%, rgba(20,33,46,.80) 45%, rgba(18,56,69,.68) 100%); }
  .subhero { background: linear-gradient(165deg, #14212E 0%, #16303F 60%, #123845 100%); }
  .cta { background: linear-gradient(150deg, #16303F, #123845); }
  .market .cap { background: linear-gradient(150deg, #16303F, #123845); }
}
:root[data-theme="dark"] .hero { background: linear-gradient(165deg, #14212E 0%, #16303F 55%, #123845 100%); }
:root[data-theme="dark"] .hero::before { background: linear-gradient(115deg, rgba(20,33,46,.90) 0%, rgba(20,33,46,.80) 45%, rgba(18,56,69,.68) 100%); }
:root[data-theme="dark"] .subhero { background: linear-gradient(165deg, #14212E 0%, #16303F 60%, #123845 100%); }
:root[data-theme="dark"] .cta { background: linear-gradient(150deg, #16303F, #123845); }
:root[data-theme="dark"] .market .cap { background: linear-gradient(150deg, #16303F, #123845); }


/* ================================================================
   KEYSTONE RESKIN (Concept 3) — dark frame, light body,
   cobalt blue + silver identity. Appended overrides.
   ================================================================ */
:root {
  --gold: #2563EB;          /* cobalt accent */
  --gold-bright: #3B82F6;   /* bright cobalt */
  --teal-deep: #1D4ED8;     /* dark cobalt for small text on light */
  --navy: #16233D;
  --navy-deep: #0B1322;
  --silver: #C9CFD8;
}
@media (prefers-color-scheme: dark) {
  :root { --gold: #3B82F6; --gold-bright: #60A5FA; --teal-deep: #60A5FA; }
}

/* Buttons: cobalt with white text */
.btn { background: var(--gold); color: #fff; }
.btn:hover { background: var(--gold-bright); }
.tier .flag { background: var(--gold); color: #fff; }
.step::before { background: var(--gold); color: #fff; }

/* ---- Dark header ---- */
header { background: rgba(11,19,34,.94); border-bottom: 1px solid #1C2A44; }
nav.links { color: #93A3B8; }
nav.links a:hover, nav.links a.active { color: #FFFFFF; }
.menu-btn { color: #E7EDF5; border-color: #2A3A57; }
header.open nav.links a { border-top: 1px solid #1C2A44; }
.btn.ghost { border-color: var(--line); }
header .btn.ghost { color: #E7EDF5; border-color: #2A3A57; }

/* Keystone logo lockup */
.logo { gap: 11px; }
.logo .ksmark { height: 34px; width: auto; display: block; }
.logo .lg { display: flex; flex-direction: column; line-height: 1.15; }
.logo .lg-top { font-weight: 800; letter-spacing: .2em; font-size: 15.5px; color: #FFFFFF; }
.logo .lg-top b { color: var(--gold-bright); font-weight: 800; }
.logo .lg-sub { font-size: 7.8px; letter-spacing: .33em; color: #8FA0B8; font-weight: 600; margin-top: 2px; }

/* ---- Dark hero (home) ---- */
.hero { background: linear-gradient(168deg, #0B1322 0%, #10203A 70%, #132644 100%); border-bottom: 0; color: #F2F6FB; }
.hero::before { background: linear-gradient(115deg, rgba(9,16,30,.92) 0%, rgba(9,16,30,.78) 45%, rgba(13,32,58,.55) 100%); }
.hero h1 { color: #F6F9FD; }
.hero .lede { color: #AFBDD1; }
.hero .eyebrow, .hero .eyebrow.tagline { color: var(--gold-bright); }
.hero .trust { color: #7E90A9; border-top: 1px solid rgba(255,255,255,.12); }
.hero .trust b { color: #EDF2F9; }

/* ---- Dark subpage heroes ---- */
.subhero { background: linear-gradient(168deg, #0B1322 0%, #10203A 75%, #132644 100%); border-bottom: 0; color: #F2F6FB; }
.subhero::before { background: radial-gradient(620px 320px at 85% -10%, rgba(59,130,246,.16), transparent 62%); }
.subhero h1 { color: #F6F9FD; }
.subhero .lede { color: #AFBDD1; }
.subhero .eyebrow { color: var(--gold-bright); }

/* ---- Dark CTA panels ---- */
.cta { background: linear-gradient(150deg, #0E1A30, #132644); border: 1px solid #1C2A44; color: #F2F6FB; }
.cta h2 { color: #FFFFFF; }
.cta p { color: #AFBDD1; }

/* ---- Dark footer ---- */
footer { background: #0B1322; border-top: 1px solid #1C2A44; color: #8FA0B8; }
footer .co { color: #FFFFFF; }
footer nav a:hover { color: #FFFFFF; }
.footer-areas { color: #7E90A9; }
.footer-areas b { color: #D7DFEA; }
.footer-legal { color: #7E90A9; }

/* Light-body accents that pick up the new blue */
.commit .tick { background: rgba(37,99,235,.12); color: var(--teal-deep); }
.market .cap { border-bottom: 1px solid rgba(37,99,235,.25); }
.tier.featured { border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 1px rgba(37,99,235,.35), 0 16px 40px -22px rgba(11,19,34,.4); }
.why .card.us { border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 1px rgba(37,99,235,.35); }
.why .card.us h3 { color: var(--teal-deep); }


/* Designer logo lockup replaces the hand-drawn SVG */
.logo .lockup { height: 102px; width: auto; display: block; }
.bar { height: 132px; padding-top: 8px; }
@media (max-width: 760px){
  .logo .lockup { height: 96px; }
  .bar { height: auto; padding-top: 10px; padding-bottom: 10px; }
  .nav-cta .btn { display: none; }
}
/* Mobile: quote CTA lives inside the hamburger menu instead of the bar */
.mquote { display: none; }
@media (max-width: 760px){
  header.open .mquote { display: block; color: var(--gold); font-weight: 800; }
}

/* ---- TEAM SECTION (About page) ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; max-width: 880px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.person .headshot { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; }
.person .headshot-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: linear-gradient(150deg, #0B1322 0%, #14264D 55%, #1D4ED8 130%); color: #EAF0F6; font-family: var(--font-sans); font-size: 64px; font-weight: 800; letter-spacing: .06em; }
.person .pbody { padding: 24px 26px 28px; }
.person .pbody h3 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.01em; }
.person .ptitle { margin: 4px 0 14px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.person .pbody p:not(.ptitle) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .person .headshot-ph, .person .headshot { aspect-ratio: 16 / 10; }
  .person .headshot-ph { font-size: 48px; }
}

/* ---- FILLED-IN HOMEPAGE SECTIONS ---- */
.band.alt { background: transparent; border: 0; }

.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 38px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.svc-body { padding: 22px 24px 26px; }
.svc-body h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; letter-spacing: -.01em; }
.svc-body p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.svc-body ul { margin: 0; padding: 0; list-style: none; }
.svc-body li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink); font-size: 14.5px; }
.svc-body li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 34px; }
.brow { display: flex; align-items: flex-start; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.brow .tick { color: var(--gold); font-weight: 800; flex: 0 0 auto; }

.home-faq { margin-top: 34px; max-width: 860px; }
.more-link { margin-top: 22px; font-weight: 700; }
.more-link a { color: var(--gold); }

.areas-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; max-width: 900px; }
.areas-cloud span { font-size: 14px; color: var(--ink); background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); padding: 7px 16px; border-radius: 20px; }

@media (max-width: 760px){
  .benefits { grid-template-columns: 1fr; gap: 0; }
}

.market .mphoto { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }

/* 24/7 callout strip */
.callout247 { background: linear-gradient(150deg, #0B1322 0%, #14264D 55%, #1D4ED8 160%); color: #EAF0F6; text-align: center; }
.callout247 .wrap { padding-top: 64px; padding-bottom: 64px; }
.c247-badge { display: inline-block; margin: 0 0 18px; padding: 7px 18px; border-radius: 20px; border: 1px solid rgba(59,130,246,.65); background: rgba(37,99,235,.18); color: #7EB3FF; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.callout247 h2 { color: #FFFFFF; margin: 0 auto; max-width: 780px; }
.callout247 p:not(.c247-badge) { color: #B9C7DA; max-width: 680px; margin: 18px auto 0; font-size: 16.5px; line-height: 1.65; }
.next-steps p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.next-steps b { color: var(--gold); }

/* ---- RICH FOOTER ---- */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding: 46px 0 30px; }
.fcol h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #EAF0F6; }
.fcol a { display: block; margin-bottom: 9px; font-size: 14.5px; }
.fcol p { font-size: 14.5px; line-height: 1.65; margin: 14px 0 0; }
.flogo { height: 64px; width: auto; display: block; }
.fcol .btn { display: inline-block; margin-bottom: 12px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
