/* SP-B042: header +25%; original CTA size; crisp full logo. */
body.c1 .nav{max-width:1325px;min-height:105.9625px;padding:6.98125px 25px;gap:22px}
body.c1 .nav .brand{display:flex;align-items:center;flex-shrink:0;line-height:0}
body.c1 .nav .brand-full{display:block;width:auto;height:92px;max-width:none;border-radius:0;margin:0}
body.c1 .nav a.link{font-size:1.1875rem}
body.c1 .c1-brain-hero{height:calc(100svh - 105.9625px)!important}
@media(max-width:1100px){body.c1 .nav-toggle{display:block}body.c1 .nav{gap:0 17.5px;position:relative;justify-content:space-between;flex-wrap:nowrap}body.c1 .nav a.link,body.c1 .nav .cta-mini{display:none}body.c1 .nav.open{flex-wrap:wrap}body.c1 .nav.open a.link{display:block;width:100%;padding:13px 2px;border-top:1px solid var(--c1-line);font-size:1.1875rem}body.c1 .nav.open .cta-mini{display:block;margin:14px 0 6px;padding:8px 18px;width:auto;font-size:.9rem}}

body.c1 .nav .cta-mini{margin-left:0}
body.c1 .nav-contact-actions{display:flex;gap:10px;align-items:center;margin-left:auto}
body.c1 .nav-contact-circle{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:#175e9e;color:#fff;border:1px solid #3e8bc9;text-decoration:none}
body.c1 .nav-contact-circle svg{width:21px;height:21px}
body.c1 .nav-contact-circle:focus-visible{outline:2px solid #ff8a3d;outline-offset:3px}
@media(hover:hover) and (pointer:fine){body.c1 .nav-contact-circle:hover{background:#2176bb}}
@media(max-width:1100px){body.c1 .nav-contact-actions{margin-left:auto}body.c1 .nav-toggle{margin-left:0}body.c1 .nav.open .cta-mini{order:2}}
@media(max-width:420px){body.c1 .nav{padding-left:16px;padding-right:16px;column-gap:10px}body.c1 .nav-contact-actions{gap:8px}}

/* Center the navigation and actions together in the space beside the logo. */
body.c1 .nav{display:grid;grid-template-columns:auto minmax(0,1fr)}
body.c1 .nav-content{display:flex;align-items:center;justify-content:center;gap:22px;min-width:0}
body.c1 .nav-contact-actions{margin-left:0}
body.c1 .nav-contact-circle[data-contact-action="call"]{background:#167344;border-color:#3b9c66}
@media(hover:hover) and (pointer:fine){body.c1 .nav-contact-circle[data-contact-action="call"]:hover{background:#1c8952}}
@media(max-width:1100px){body.c1 .nav{display:flex}body.c1 .nav-content{display:contents}body.c1 .nav-contact-actions{margin-left:auto}}
@media(max-width:380px){body.c1 .nav{padding-left:12px;padding-right:12px;column-gap:6px}body.c1 .nav .brand-full{max-width:calc(100vw - 174px);height:auto;max-height:92px}}

/* SP-B042: center the complete desktop row; 35% larger logo beside About. */
body.c1 .nav{display:flex;justify-content:center;min-height:138.1625px;gap:22px}
body.c1 .nav .brand-full{height:124.2px}
body.c1 .nav-content{flex:0 1 auto;justify-content:center}
body.c1 .c1-brain-hero{height:calc(100svh - 138.1625px)!important}
@media(max-width:1250px){body.c1 .nav{justify-content:space-between;min-height:120px}body.c1 .nav-content{display:contents}body.c1 .nav a.link,body.c1 .nav .cta-mini{display:none}body.c1 .nav-toggle{display:block}body.c1 .nav .brand-full{height:auto;max-height:106px;max-width:calc(100vw - 190px)}body.c1 .c1-brain-hero{height:calc(100svh - 120px)!important}}
@media(max-width:380px){body.c1 .nav{min-height:100px}body.c1 .nav .brand-full{max-width:calc(100vw - 174px)}body.c1 .c1-brain-hero{height:calc(100svh - 100px)!important}}

/* SP-B086: phone header fit on every page (was only in sp-polish.css, so 8 pages pushed the menu button off-screen). */
@media(max-width:700px){body.c1 .nav .brand-full{max-width:calc(100vw - 204px)}body.c1 .nav{column-gap:6px}}

/* SP-B104 (Eric, 2026-10-27): the menu now matches the 4 homepage boxes (8 links). Keep the logo and the
   whole menu on one row on desktop: a little less space between links and a slightly smaller link size. */
@media(min-width:1251px){
  body.c1 .nav{flex-wrap:nowrap;max-width:1480px}
  body.c1 .nav-content{flex-wrap:nowrap;gap:14px}
  body.c1 .nav a.link,body.c1 .nav .cta-mini{white-space:nowrap}
  body.c1 .nav a.link{font-size:1rem}
}
@media(min-width:1251px) and (max-width:1499px){body.c1 .nav .brand-full{height:100px}}
@media(min-width:1600px){body.c1 .nav a.link{font-size:1.0625rem}body.c1 .nav-content{gap:18px}}

/* SP-B105 (Eric, 2026-10-27), site-wide (this file loads on every page): no big black voids. Every section gets a tight 44 to 56px top and bottom
   (the 3D brain hero keeps its own size). */
body.c1 main > :is(section,aside):not(.c1-brain-hero){padding-top:clamp(44px,4vw,56px)!important;padding-bottom:clamp(44px,4vw,56px)!important}
body.c1 main > :is(section,aside):not(.c1-brain-hero) > .wrap > :first-child,body.c1 main > section > .sp-story-container > :first-child{margin-top:0!important}
body.c1 main > :is(section,aside):not(.c1-brain-hero) > .wrap > :last-child{margin-bottom:0!important}
body.c1 .sp-client-proof .sp-client-grid{margin-top:28px}

/* SP-B107 (Eric, 2026-10-27): business address in every footer. */
body .f-col address.f-address{font-style:normal;color:#d7dceb;font-weight:600;line-height:1.55;margin-bottom:12px}

/* === SP-B107 HARD-HAT (Eric, 2026-10-27): standing-rules containers, centering and card grids on every page.
   Beats the older SP-B088 1320px block. The homepage brain hero keeps its approved layout. === */
*,*::before,*::after{box-sizing:border-box}
html body.c1 main > :is(section,aside):not(.c1-brain-hero):not(.c1-hero-cinematic) > :is(.wrap,.sp-story-container),
html body.c1 footer > .wrap{width:100%!important;max-width:1200px!important;margin-inline:auto!important;padding-inline:clamp(1.25rem,5vw,3.5rem)!important}
html body.c1 main > section:not(.c1-hero-cinematic):not(.c1-brain-hero) > .wrap > :is(h1,h2,.kicker,.lede){text-align:center;margin-inline:auto}
html body.c1 main > section:not(.c1-hero-cinematic) > .wrap > .btn-row{justify-content:center!important}
html body.c1 main .grid:is(.cols-2,.cols-3){display:flex!important;flex-wrap:wrap;justify-content:center}
html body.c1 main .grid:is(.cols-2,.cols-3) > :not(.hero-card){flex:1 1 300px;max-width:380px}
html body.c1 main .grid:is(.cols-2,.cols-3) > .hero-card{flex:1 1 100%;max-width:none}
html body.c1 main > section:not(.c1-hero-cinematic):not(.hero) > .wrap > a.btn{display:flex;width:fit-content;margin-inline:auto}
html body.c1 main .metric-strip{justify-content:center}
html body.c1 main .sp-workflow-detail{justify-content:center}
