/* Nine19 shared launch components: header, hero rhythm, buttons, and form loading. */
html{scrollbar-gutter:stable;overflow-y:scroll}
body{padding-top:80px!important}

header{
  position:fixed!important;
  inset:0 0 auto!important;
  width:100%!important;
  height:80px!important;
  z-index:5000!important;
  background:#fff!important;
  border-bottom:1px solid #e1e6ec!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

header .nav.container{
  width:min(1220px,calc(100% - 48px));
  margin-inline:auto;
}

.hero-impact-visual,
.industries-hero-media,
.experience-journey-visual{
  aspect-ratio:4/3!important;
  overflow:hidden!important;
  border-radius:12px!important;
}
.hero-impact-visual picture,
.hero-impact-visual img,
.industries-hero-media picture,
.industries-hero-media img,
.experience-journey-visual picture,
.experience-journey-visual img{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.hero-impact-visual img,
.industries-hero-media img,
.experience-journey-visual img{
  object-fit:cover!important;
}

header .brand,
header .brand-text{
  white-space:nowrap;
}
header .brand{color:#071d36!important;font-size:14px!important;font-weight:900!important;letter-spacing:.1em!important;line-height:1!important}
header .brand .mark{
  border-radius:12px!important;
  background:#071d36 url('nine19-d-mark-white.png') center/29px auto no-repeat!important;
  box-shadow:none!important;
}
header .brand .mark::before,header .brand .mark::after{display:none!important}
header .brand-lockup{
  display:block;
  width:174px;
  height:auto;
  max-height:43px;
}
footer .footer-brand-lockup{
  display:block;
  width:174px;
  height:auto;
  max-height:43px;
}
header .nav>nav{color:#34465c!important;font-size:12px!important;font-weight:750!important}
header .nav>nav>a:not(.btn){padding:29px 0 23px!important;border-bottom:3px solid transparent!important}
header .nav>nav>a[aria-current="page"]{color:#071d36!important;border-bottom-color:#1b6cff!important}
header .nav-phone{color:#071d36!important;font-weight:800!important;white-space:nowrap!important}
.form-phone{margin-top:12px!important;font-size:14px!important}.form-phone a{color:#071d36!important;font-weight:850!important;text-decoration:underline;text-underline-offset:3px}
.about-bottom-action{display:flex;justify-content:center;margin-top:34px}
.benchmark .benchmark-note{display:block;margin-top:8px;color:#66788a;font-size:11px;line-height:1.4;font-weight:500}
@media(max-width:600px){footer .footer-contact-info{display:grid!important;grid-template-columns:max-content max-content!important;justify-content:start!important;align-items:center!important;gap:12px 18px!important}footer .footer-social{margin:0!important}}

header .mobile-header-quote::after{content:none!important}
header .nav .btn-primary,
header .mobile-header-quote{
  background:#1b6cff!important;
  color:#fff!important;
  border-color:#1b6cff!important;
  box-shadow:0 10px 24px rgba(27,108,255,.18)!important;
}
header .nav .btn-primary:hover,
header .mobile-header-quote:hover{background:#155ee0!important;border-color:#155ee0!important}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid #1b6cff!important;
  outline-offset:3px!important;
}

@media(min-width:1181px){
  header .nav.container{height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}
  header .nav>nav{display:flex;align-items:center;gap:22px}
  header .brand{gap:12px}
  header .brand .mark{width:42px;height:42px;flex:0 0 42px;background-size:29px auto}
  header .brand-text{font-size:inherit;letter-spacing:.1em}
  header .nav .btn-primary{min-width:144px;min-height:44px;padding-inline:18px}
}

.hero-shell>.container{
  width:min(1220px,calc(100% - 48px));
  margin-inline:auto;
}

/* Keep the restored homepage sections and Second Opinion hero on the full site canvas. */
.evidence,.thinking,.interstitial-main{
  width:100%!important;
  max-width:none!important;
}
.evidence>.container,.thinking>.container,.interstitial-main>.container{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}
.interstitial-main .interstitial-card{
  width:100%!important;
  max-width:none!important;
}

.hero-eyebrow{margin-bottom:18px}
.hero-title{line-height:1.04;letter-spacing:-.045em}
.hero-shell h1,.industries-hero h1,.interstitial-card>h1{font-size:clamp(42px,4.6vw,58px)!important}

.form-loading-state{
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px 0;
  opacity:1;
  transition:opacity .18s ease;
}
.form-loading-state.is-leaving{opacity:0}

.form-load-shell{position:relative}
.form-load-shell:not(.is-ready) .hubspot-form-target{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  visibility:hidden;
  pointer-events:none;
}
.form-loading-state[hidden]{display:none!important}
.form-loading-title{display:flex;align-items:center;gap:10px;margin:0 0 14px!important;color:#071d36;font-size:17px;font-weight:800}
.form-loading-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#1b6cff;animation:form-loading-pulse 1.6s ease-in-out infinite}
.form-loading-detail,.form-loading-fallback{margin:0;color:#536579;font-size:15px;line-height:1.55}
.form-loading-fallback{margin-top:16px}
.form-loading-fallback a{color:#1b6cff;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.form-loading-progress{display:grid;gap:8px;margin:4px 0 0;padding:0;list-style:none}
.form-loading-progress li{display:flex;align-items:center;gap:9px;color:#617287;font-size:14px;line-height:1.4}
.form-loading-progress li::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  border:1.5px solid #8da0b4;
  background:#fff;
}
.form-loading-progress li.is-active{color:#071d36;font-weight:750}
.form-loading-progress li.is-active::before{border-color:#1b6cff;background:#1b6cff;box-shadow:0 0 0 5px rgba(27,108,255,.10)}
.form-loading-progress li.is-complete::before{content:"✓";display:grid;place-items:center;border-color:#287b5a;background:#287b5a;color:#fff;font-size:7px;font-weight:900}
.form-load-shell.is-ready .hubspot-form-target{animation:shared-form-reveal .18s ease-out}
@keyframes shared-form-reveal{from{opacity:0}to{opacity:1}}
@keyframes form-loading-pulse{0%,100%{opacity:.35}50%{opacity:1}}

@media(max-width:1180px){
  body{padding-top:72px!important}
  header{height:72px!important}
  header .nav.container{
    width:calc(100% - 30px)!important;
    min-height:70px;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
  }
  header .nav>nav{display:none!important}
  header .brand{min-width:0;gap:8px}
  header .brand-lockup{width:142px;max-height:38px}
  header .brand .mark{width:38px;height:38px;flex:0 0 38px;background-size:26px auto}
  header .brand-text,
  header .brand>.brand-text{
    display:inline-block!important;
    overflow:visible!important;
    text-overflow:clip!important;
    color:#071d36;
    font-size:10px;
    line-height:1;
    letter-spacing:.075em;
  }
  header .mobile-header-quote{
    display:inline-flex!important;
    width:auto;
    min-width:101px;
    min-height:40px;
    margin:0!important;
    padding:0 10px!important;
    border-radius:999px;
    font-size:10px!important;
    line-height:1;
    white-space:nowrap;
  }
  header .hamburger{display:flex!important;margin:0!important;padding:7px!important}
  header .hamburger{min-width:42px;min-height:42px;align-items:center;justify-content:center}
  .hero-shell>.container{width:calc(100% - 30px)}
}

@media(max-width:420px){
  header .brand-lockup{width:128px;max-height:36px}
}

@media(max-width:360px){
  header .nav.container{gap:6px}
  header .brand-lockup{width:116px;max-height:34px}
  header .brand .mark{width:36px;height:36px;flex-basis:36px;background-size:24px auto}
  header .brand-text,header .brand>.brand-text{font-size:9px;letter-spacing:.055em}
  header .mobile-header-quote{min-width:96px;padding-inline:8px!important;font-size:9.5px!important}
  header .hamburger{padding:5px!important}
}

@media(prefers-reduced-motion:reduce){
  .form-load-shell.is-ready .hubspot-form-target{animation:none}
  .form-loading-dot{animation:none}
}

/* Final visual-system lock: restrained geometry, motion, and focus behavior. */
body{line-height:1.6}

.btn,
header .nav .btn-primary,
header .mobile-header-quote{
  min-height:48px;
  border-radius:8px!important;
  letter-spacing:.01em;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.btn:hover,
header .nav .btn-primary:hover,
header .mobile-header-quote:hover{transform:translateY(-1px)}
.btn:active,
header .nav .btn-primary:active,
header .mobile-header-quote:active{transform:translateY(0)}

header .nav>nav>a:not(.btn),
header .nav-phone,
.mobile-nav a,
.text-link,
.hero-quote-link,
.footer-contact-info a,
.footer-legal-links a{
  transition:color .18s ease,border-color .18s ease,background-color .18s ease,opacity .18s ease!important;
}
header .nav>nav>a:not(.btn):hover,
header .nav-phone:hover{color:#1b6cff!important}
.mobile-nav a:hover{color:#1b6cff}
.footer-contact-info a:hover,
.footer-legal-links a:hover{color:#fff}
.footer-contact-info .footer-social{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);border-radius:50%;color:rgba(255,255,255,.68)}
.footer-contact-info .footer-social svg{display:block;width:12px;height:12px;fill:currentColor}
.footer-contact-info .footer-social:hover{border-color:rgba(255,255,255,.4);color:#fff}
.partner-footer .footer-social{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;margin-left:8px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:inherit;vertical-align:middle}
.partner-footer .footer-social svg{display:block;width:14px;height:14px;fill:currentColor}
.text-link:hover,
.hero-quote-link:hover{text-decoration-thickness:2px;text-underline-offset:5px}

/* Consolidated pre-launch sprint: stable mobile header and accessible hit areas. */
.footer-contact-info .footer-social{
  position:relative;
  background:#fff;
  border-color:#fff;
  color:#071d36;
}
.footer-contact-info .footer-social:hover{background:#fff;border-color:#fff;color:#071d36}
.footer-contact-info .footer-social+.footer-social{margin-left:12px!important}

@media(max-width:600px){
  .evidence>.container,.thinking>.container,.interstitial-main>.container{width:calc(100% - 32px)!important}
  footer .footer-contact-info .footer-social{grid-row:2;width:24px!important;height:24px!important}
  footer .footer-contact-info .footer-social:nth-child(3){grid-column:1;margin-left:0!important}
  footer .footer-contact-info .footer-social:nth-child(4){grid-column:1;margin-left:48px!important}
}
.footer-contact-info .footer-social::before{
  content:"";
  position:absolute;
  inset:-7px;
}
.text-link::before,
.hero-quote-link::before{
  content:"";
  position:absolute;
  inset:-12px -7px;
}
.text-link,.hero-quote-link{position:relative}

@media(max-width:1180px){
  body.mobile-open header .nav.container{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    width:calc(100% - 30px)!important;
  }
  body.mobile-open header .brand{display:flex!important;min-width:0!important;visibility:visible!important}
  body.mobile-open header .mobile-header-quote{position:static!important;max-width:none!important;overflow:visible!important}
  body.mobile-open header .hamburger{position:static!important;flex:0 0 44px!important;min-width:44px!important;min-height:44px!important}
  body.mobile-open .mobile-nav{max-height:calc(100vh - 72px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:360px){
  body.mobile-open header .nav.container{grid-template-columns:minmax(0,1fr) 96px 44px!important}
}

.industry-tile,
.category-card,
.gallery-card,
.story-frame,
.question-inner,
.goal-answer,
.closing-panel{
  border-color:#dce3e9!important;
}
.industry-tab,.story-step,.metric,.insight,.channel,.hotspot{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease,transform .18s ease!important;
}
.story-frame,.walk-away-grid,.question-inner{
  box-shadow:0 10px 30px rgba(7,29,54,.045)!important;
}
.hotspot-popover{box-shadow:0 12px 30px rgba(7,29,54,.12)!important}

/* RC3 visual refresh: one shared electric-blue accent token. */
:root{--blue:#1b6cff!important;--sapphire:#1b6cff!important}
.eyebrow,.section-label,.partner-kicker{color:#1b6cff!important}
.text-link,.hero-quote-link,.card-cta,.gallery-card .future-cta,.goal-example-link{color:#1b6cff!important}
/* Homepage hero: one medium-blue primary action, then quieter navy support links. */
body:has(.problems) .hero .hero-actions .btn-primary{background:#2563eb!important}
body:has(.problems) .hero .hero-actions .hero-quote-link{color:var(--navy)!important;font-weight:700!important}
body:has(.form-hero) header .nav .btn-primary,
body:has(.form-hero) header .mobile-header-quote{box-shadow:0 6px 18px rgba(27,108,255,.12)!important}

/* Shared footer redesign overrides legacy inline page styles. */
footer .footer-inner{display:block!important}footer .footer-main{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(150px,.65fr) minmax(230px,.9fr);gap:48px;align-items:start}footer .footer-brand{display:flex!important;align-items:center;gap:12px;margin:0!important}footer .footer-king{width:28px;height:28px;flex:0 0 auto;color:rgba(255,255,255,.82)}footer .footer-brand-lockup{width:174px;height:auto}footer .footer-tagline{margin-top:18px!important;color:#fff!important;font-size:18px!important;font-weight:750}footer .footer-region,footer .footer-services{margin-top:7px;color:rgba(255,255,255,.64)!important;font-size:13px!important;line-height:1.55}footer .footer-services{color:rgba(255,255,255,.82)!important;font-weight:650}footer .footer-links-title{margin:0 0 14px;color:rgba(255,255,255,.48);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}footer .footer-links{display:grid;gap:10px}footer .footer-links a{color:rgba(255,255,255,.86)!important;font-size:14px;font-weight:700}footer .footer-cta h2{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:28px;line-height:1.1}footer .footer-cta p{margin:10px 0 18px;color:rgba(255,255,255,.68);font-size:14px;line-height:1.55}footer .footer-cta .btn{background:#1b6cff;color:#fff}footer .footer-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:42px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08)}footer .footer-bottom .footer-contact-info{margin:0!important;justify-content:flex-start!important}footer .footer-bottom .footer-copy{flex:0 1 auto;margin:0!important;padding:0!important;border:0!important;text-align:right;width:auto!important}footer .footer-bottom .footer-social{display:inline-flex;align-items:center;justify-content:center;width:26px!important;height:26px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:50%;background:transparent!important;color:rgba(255,255,255,.68)!important}footer .footer-bottom .footer-social svg{width:13px;height:13px;fill:currentColor}
@media(max-width:760px){footer .footer-main{grid-template-columns:1fr!important;gap:32px}footer .footer-cta h2{font-size:26px}footer .footer-bottom{align-items:flex-start;margin-top:34px}footer .footer-bottom .footer-copy{text-align:left}footer .footer-legal-links{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){
  .btn,.industry-tab,.story-step,.metric,.insight,.channel,.hotspot,
  header .nav>nav>a:not(.btn),header .nav-phone,.mobile-nav a,.text-link,.hero-quote-link,
  .footer-contact-info a,.footer-legal-links a{transition:none!important;transform:none!important}
}
