/* MasonBlue homepage visual system — Wave 1
   Wave 2 added layout rules for the simplified homepage only.
   Loaded only from the working homepage.
   Shared styles.css is not modified. Inner pages do not load this file. */

html:has(body[data-page="home"]){scroll-behavior:smooth}

body[data-page="home"]{
  --mbw1-bg:#031019;
  --mbw1-bg-2:#071b2b;
  --mbw1-text:#f4fbfb;
  --mbw1-muted:#c5dde2;
  --mbw1-faint:#9ec4cb;
  --mbw1-line:rgba(25,240,255,0.18);
  --mbw1-cyan:#19f0ff;
  --mbw1-ink:#03202b;
  --mbw1-serif:"Source Serif 4","Iowan Old Style",Palatino,"Palatino Linotype",Georgia,serif;
  --mbw1-sans:Outfit,"Segoe UI",ui-sans-serif,system-ui,-apple-system,sans-serif;
  --mbw1-measure:1180px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(25,240,255,0.08), transparent 60%),
    linear-gradient(180deg, #031019 0%, #041722 48%, #031019 100%);
  color:var(--mbw1-text);
  font-family:var(--mbw1-sans);
  font-weight:430;
  line-height:1.6;
}

body[data-page="home"] .wrap,
body[data-page="home"] .container{
  max-width:var(--mbw1-measure);
  padding-left:28px;
  padding-right:28px;
}

/* Header */
body[data-page="home"] .topbar{
  position:sticky;
  top:0;
  left:auto;
  right:auto;
  z-index:50;
  background:rgba(3,16,25,0.94);
  border-bottom:1px solid rgba(25,240,255,0.14);
  backdrop-filter:blur(16px);
}
body[data-page="home"] .site-header{padding:10px 0}
body[data-page="home"] .brand-logo-image{
  height:100px;
  max-width:400px;
  filter:none;
}
body[data-page="home"] .brand-wordmark:hover .brand-logo-image{
  transform:none;
  filter:none;
}
body[data-page="home"] .nav-link{
  font-weight:560;
  font-size:14px;
  letter-spacing:0.01em;
  border-radius:8px;
}
body[data-page="home"] .impact-btn{
  min-width:0;
  margin-left:8px;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid rgba(25,240,255,0.45);
  background:#031019;
  box-shadow:none;
  font-weight:600;
  font-size:14px;
}
body[data-page="home"] .impact-btn:hover{background:rgba(25,240,255,0.08);filter:none}

body[data-page="home"] .home-section-nav{
  position:sticky;
  top:120px;
  z-index:40;
  background:rgba(3,16,25,0.96);
  border-top:0;
  border-bottom:1px solid rgba(25,240,255,0.12);
  backdrop-filter:blur(12px);
}
body[data-page="home"] .home-section-nav-inner{
  gap:4px;
  padding-top:8px;
  padding-bottom:8px;
}
body[data-page="home"] .home-section-nav a{
  color:var(--mbw1-faint);
  font-size:12.5px;
  font-weight:560;
  letter-spacing:0.04em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:6px;
  min-height:40px;
  display:inline-flex;
  align-items:center;
}
body[data-page="home"] .home-section-nav a:hover,
body[data-page="home"] .home-section-nav a:focus-visible{
  color:var(--mbw1-text);
  background:rgba(25,240,255,0.08);
}

/* Hero — stock photograph in shared .hero is covered here only */
body[data-page="home"] .hero{
  min-height:0;
  padding:36px 0 28px;
  overflow:hidden;
  background-color:#031019;
  background-image:
    linear-gradient(180deg, rgba(3,16,25,0.15) 0%, rgba(3,16,25,0.92) 78%, #031019 100%),
    linear-gradient(rgba(25,240,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,240,255,0.055) 1px, transparent 1px);
  background-size:auto, 64px 64px, 64px 64px;
  background-position:center top;
}
body[data-page="home"] .hero::before{display:none}
body[data-page="home"] .heroGrid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,0.85fr);
  gap:48px;
  align-items:center;
  padding:12px 0 8px;
}
body[data-page="home"] .hero .kicker{
  display:block;
  max-width:42rem;
  margin:0 0 18px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--mbw1-cyan);
  font-family:var(--mbw1-sans);
  font-size:12.5px;
  font-weight:620;
  letter-spacing:0.08em;
  text-transform:none;
  line-height:1.55;
}
body[data-page="home"] h1{
  margin:0 0 18px;
  max-width:16ch;
  background:none;
  background-clip:border-box;
  -webkit-background-clip:border-box;
  -webkit-text-fill-color:var(--mbw1-text);
  color:var(--mbw1-text);
  text-shadow:none;
  font-family:var(--mbw1-serif);
  font-weight:560;
  font-size:clamp(2.5rem, 4.5vw, 3.65rem);
  line-height:1.08;
  letter-spacing:-0.03em;
}
body[data-page="home"] .lead{
  max-width:62ch;
  margin:0 0 26px;
  color:var(--mbw1-muted);
  font-size:1.05rem;
  font-weight:430;
  line-height:1.65;
}
body[data-page="home"] .lead strong{
  color:var(--mbw1-text);
  font-weight:620;
}
body[data-page="home"] .heroCtas{gap:12px;margin:0 0 22px}
body[data-page="home"] .btn,
body[data-page="home"] .btn.small{
  border-radius:8px;
  font-weight:620;
  letter-spacing:0.01em;
  min-height:44px;
  padding:11px 16px;
  box-shadow:none;
}
body[data-page="home"] .btn.primary{
  background:#19f0ff;
  color:#03202b;
  border-color:#19f0ff;
}
body[data-page="home"] .btn.primary:hover{
  filter:none;
  background:#7af6ff;
  border-color:#7af6ff;
}
body[data-page="home"] .btn:not(.primary){
  background:transparent;
  border-color:rgba(244,251,251,0.22);
  color:var(--mbw1-text);
}
body[data-page="home"] .btn:not(.primary):hover{
  background:rgba(25,240,255,0.08);
  border-color:rgba(25,240,255,0.45);
}
body[data-page="home"] .trust{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 18px;
  margin-top:0;
  max-width:40rem;
}
body[data-page="home"] .trustItem{
  border:0;
  border-radius:0;
  background:transparent;
  padding:0 0 0 14px;
  color:var(--mbw1-muted);
  font-size:13px;
  font-weight:520;
  line-height:1.4;
  position:relative;
}
body[data-page="home"] .trustItem::before{
  content:"";
  position:absolute;
  left:0;
  top:0.45em;
  width:6px;
  height:6px;
  border:1px solid var(--mbw1-cyan);
  border-radius:1px;
}
body[data-page="home"] .note{
  margin-top:16px;
  max-width:46rem;
  color:var(--mbw1-faint);
  font-size:13.5px;
  line-height:1.5;
}
body[data-page="home"] .note a,
body[data-page="home"] .sectionHead p a{
  color:var(--mbw1-cyan);
  font-weight:620;
}

body[data-page="home"] .heroCard{
  min-height:0;
  gap:18px;
  padding:22px 22px 18px;
  border-radius:16px;
  border:1px solid rgba(25,240,255,0.22);
  background:
    linear-gradient(180deg, rgba(8,28,42,0.92), rgba(3,16,25,0.94));
  box-shadow:0 24px 50px rgba(0,0,0,0.28);
}
body[data-page="home"] .mbw1-figure{margin:0}
body[data-page="home"] .mbw1-svg{display:block;width:100%;height:auto}
body[data-page="home"] .heroCard h3,
body[data-page="home"] .mbw1-aside-label{
  margin:0;
  color:var(--mbw1-faint);
  font-family:var(--mbw1-sans);
  font-size:11px;
  font-weight:650;
  letter-spacing:0.16em;
  text-transform:uppercase;
}
body[data-page="home"] .metricRow{gap:14px}
body[data-page="home"] .metric{
  padding:0 0 0 12px;
  border:0;
  border-left:1px solid rgba(25,240,255,0.35);
  border-radius:0;
  background:transparent;
}
body[data-page="home"] .metric .big{
  color:var(--mbw1-text);
  font-family:var(--mbw1-serif);
  font-size:1.15rem;
  font-weight:560;
  letter-spacing:-0.02em;
}
body[data-page="home"] .metric .label{
  color:var(--mbw1-muted);
  font-size:13px;
  font-weight:450;
  line-height:1.45;
}
body[data-page="home"] .mbw1-path{
  list-style:none;
  margin:0;
  padding:14px 0 0;
  border-top:1px solid rgba(25,240,255,0.16);
  display:grid;
  gap:0;
}
body[data-page="home"] .mbw1-path li{
  position:relative;
  padding:0 0 14px 22px;
  color:var(--mbw1-text);
  font-size:14px;
  font-weight:560;
}
body[data-page="home"] .mbw1-path li:last-child{padding-bottom:0}
body[data-page="home"] .mbw1-path li::before{
  content:"";
  position:absolute;
  left:4px;
  top:0.45em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#031019;
  border:1.5px solid var(--mbw1-cyan);
}
body[data-page="home"] .mbw1-path li:not(:last-child)::after{
  content:"";
  position:absolute;
  left:7px;
  top:1.05em;
  bottom:-2px;
  width:1px;
  background:rgba(25,240,255,0.35);
}

/* Sections */
body[data-page="home"] section[id]{scroll-margin-top:132px}
body[data-page="home"] .section{
  padding:76px 0;
}
body[data-page="home"] #capabilities{padding-top:48px}
body[data-page="home"] .section.alt{
  background:rgba(7,27,43,0.45);
  border-top:0;
  border-bottom:0;
}
body[data-page="home"] .sectionHead{
  align-items:flex-end;
  gap:24px;
  margin-bottom:28px;
}
body[data-page="home"] .sectionHead h2,
body[data-page="home"] .resource h4{
  font-family:var(--mbw1-serif);
  font-weight:560;
  letter-spacing:-0.025em;
  color:var(--mbw1-text);
}
body[data-page="home"] .sectionHead h2{
  font-size:clamp(1.85rem, 2.6vw, 2.35rem);
  line-height:1.15;
  max-width:22ch;
}
body[data-page="home"] .sectionHead p{
  max-width:46ch;
  color:var(--mbw1-muted);
  font-size:1rem;
  line-height:1.6;
}
body[data-page="home"] .grid2,
body[data-page="home"] .grid3,
body[data-page="home"] .resources{
  gap:18px;
}
body[data-page="home"] .grid3{
  grid-template-columns:repeat(3, minmax(0,1fr));
}
body[data-page="home"] .card,
body[data-page="home"] .resource{
  border-radius:14px;
  border:1px solid rgba(25,240,255,0.14);
  background:rgba(6,22,34,0.72);
  box-shadow:none;
  backdrop-filter:none;
  padding:22px 22px 20px;
}
body[data-page="home"] .card h3{
  font-family:var(--mbw1-serif);
  font-size:1.28rem;
  font-weight:560;
  letter-spacing:-0.02em;
  line-height:1.25;
  margin-bottom:10px;
}
body[data-page="home"] .card p,
body[data-page="home"] .resource p,
body[data-page="home"] .card li{
  color:var(--mbw1-muted);
  font-size:0.98rem;
  font-weight:430;
  line-height:1.6;
}
body[data-page="home"] .card ul{margin-top:14px}
body[data-page="home"] .card li::marker{color:var(--mbw1-cyan)}
body[data-page="home"] .card:hover,
body[data-page="home"] .resource:hover{
  border-color:rgba(25,240,255,0.4);
}

/* Delivery bands — replace the shared cream gradient on the homepage only */
body[data-page="home"] .band{
  margin-top:22px;
  padding:26px 26px;
  border-radius:16px;
  border:1px solid rgba(25,240,255,0.16);
  background:
    linear-gradient(180deg, rgba(8,30,46,0.92), rgba(3,16,25,0.96));
  color:var(--mbw1-text);
  box-shadow:none;
  align-items:center;
}
body[data-page="home"] .band h3{
  color:var(--mbw1-text);
  font-family:var(--mbw1-serif);
  font-weight:560;
  font-size:1.35rem;
  letter-spacing:-0.02em;
}
body[data-page="home"] .band p{color:var(--mbw1-muted);font-size:1rem}
body[data-page="home"] .band .pill{
  border:1px solid rgba(25,240,255,0.22);
  background:transparent;
  color:var(--mbw1-text);
  box-shadow:none;
  font-weight:520;
}
body[data-page="home"] .band .btn{
  background:transparent;
  color:var(--mbw1-text);
  border-color:rgba(244,251,251,0.22);
}
body[data-page="home"] .band .btn.primary{
  background:#19f0ff;
  color:#03202b;
  border-color:#19f0ff;
}
body[data-page="home"] .pill{
  font-weight:540;
  letter-spacing:0.01em;
}
body[data-page="home"] .mbw1-action{margin:14px 0 0}
body[data-page="home"] .quote strong{display:block;margin-bottom:8px;letter-spacing:0.08em;text-transform:uppercase;font-size:11px;font-weight:680;color:var(--mbw1-faint)}
body[data-page="home"] .softRow{
  margin-top:18px;
  padding:22px 24px;
  border-radius:14px;
  background:transparent;
  border-color:rgba(25,240,255,0.14);
}
body[data-page="home"] .kicker{font-weight:620}

/* Connected engagement pills */
body[data-page="home"] .mbw1-rail{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
body[data-page="home"] .mbw1-rail .pill{
  display:flex;
  align-items:center;
  min-height:52px;
  padding:10px 12px;
  border-radius:10px;
  line-height:1.35;
  background:rgba(25,240,255,0.04);
}

/* 30–60 progression — copy is the existing resource guide, not new claims */
body[data-page="home"] .resources{align-items:start}
body[data-page="home"] .mbw1-timeline{
  list-style:none;
  margin:8px 0 0;
  padding:0;
  display:grid;
  gap:0;
}
body[data-page="home"] .mbw1-timeline li{
  position:relative;
  padding:0 0 16px 18px;
}
body[data-page="home"] .mbw1-timeline li:last-child{padding-bottom:4px}
body[data-page="home"] .mbw1-timeline li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.45em;
  width:7px;
  height:7px;
  border-radius:1px;
  background:var(--mbw1-cyan);
}
body[data-page="home"] .mbw1-timeline li:not(:last-child)::after{
  content:"";
  position:absolute;
  left:3px;
  top:1.15em;
  bottom:0;
  width:1px;
  background:rgba(25,240,255,0.35);
}
body[data-page="home"] .mbw1-when{
  display:block;
  margin-bottom:2px;
  color:var(--mbw1-cyan);
  font-size:11px;
  font-weight:680;
  letter-spacing:0.12em;
  text-transform:uppercase;
}
body[data-page="home"] .mbw1-follow{
  margin:4px 0 8px;
  padding-top:8px;
  border-top:1px solid rgba(25,240,255,0.14);
}
body[data-page="home"] .resource a{
  color:var(--mbw1-cyan);
  font-weight:620;
  font-size:14px;
}
body[data-page="home"] .tag{
  color:var(--mbw1-cyan);
  border-color:rgba(25,240,255,0.28);
  font-weight:640;
  letter-spacing:0.12em;
}

/* Technology marks */
body[data-page="home"] .mbw1-mark{
  display:block;
  width:42px;
  height:28px;
  margin-bottom:14px;
}
body[data-page="home"] #technology .card{
  background:
    linear-gradient(180deg, rgba(8,32,48,0.55), rgba(3,16,25,0.2));
}

/* Toggles */
body[data-page="home"] .home-toggle{
  width:100%;
  margin-top:8px;
  min-height:48px;
  padding:13px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  cursor:pointer;
  border-radius:10px;
  border:1px solid rgba(25,240,255,0.2);
  background:rgba(255,255,255,0.03);
  color:var(--mbw1-text);
  font-family:inherit;
  font-weight:600;
  text-align:left;
}
body[data-page="home"] .home-toggle:hover{background:rgba(25,240,255,0.06)}
body[data-page="home"] .home-toggle-panel[hidden]{display:none !important}
body[data-page="home"] .home-toggle-panel{margin-top:16px}

/* FAQ */
body[data-page="home"] .accItem{
  border-radius:12px;
  background:rgba(6,22,34,0.72);
}
body[data-page="home"] .accBtn{
  min-height:52px;
  font-weight:580;
  font-size:1rem;
}
body[data-page="home"] .accPanel{
  color:var(--mbw1-muted);
  line-height:1.6;
}

/* Footer */
body[data-page="home"] .footer-prep{
  padding-top:28px;
  border-top:1px solid rgba(25,240,255,0.12);
}
body[data-page="home"] .footer-prep h4,
body[data-page="home"] .logo{
  font-family:var(--mbw1-serif);
  font-weight:560;
}
body[data-page="home"] .footer-prep a,
body[data-page="home"] .footer-prep p,
body[data-page="home"] .site-footer{
  color:var(--mbw1-muted);
}
body[data-page="home"] .footer-prep a:hover{color:var(--mbw1-text)}

/* Wave 2 — same visual system, simplified homepage structure */
body[data-page="home"] .mbw1-eyebrow{
  margin:0 0 8px;
  color:var(--mbw1-cyan);
  font-size:11px;
  font-weight:680;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
body[data-page="home"] .mbw1-more{margin:10px 0 0}
body[data-page="home"] .mbw1-textlink{
  color:var(--mbw1-cyan);
  font-weight:620;
  font-size:14px;
  line-height:1.45;
}
body[data-page="home"] .mbw1-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
  margin-top:18px;
}
body[data-page="home"] .mbw1-proof{
  margin:14px 0 0;
  display:grid;
  gap:12px;
}
body[data-page="home"] .mbw1-proof div{display:grid;gap:2px}
body[data-page="home"] .mbw1-proof dt{
  color:var(--mbw1-faint);
  font-size:11px;
  font-weight:680;
  letter-spacing:0.12em;
  text-transform:uppercase;
}
body[data-page="home"] .mbw1-proof dd{
  margin:0;
  color:var(--mbw1-muted);
  font-size:0.98rem;
  line-height:1.55;
}
body[data-page="home"] .mbw1-timeline-wide{
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
  margin-top:0;
}
body[data-page="home"] .mbw1-timeline-wide li{
  margin:0;
  padding:16px 16px 8px;
  border-top:2px solid var(--mbw1-cyan);
  background:rgba(6,22,34,0.72);
  border-radius:0 0 14px 14px;
  border-right:1px solid rgba(25,240,255,0.14);
  border-bottom:1px solid rgba(25,240,255,0.14);
  border-left:1px solid rgba(25,240,255,0.14);
}
body[data-page="home"] .mbw1-timeline-wide li::before,
body[data-page="home"] .mbw1-timeline-wide li::after{display:none}
body[data-page="home"] #engagement .mbw1-follow{
  max-width:62ch;
  margin-top:18px;
}
body[data-page="home"] #snapshot .card p:first-of-type{max-width:68ch}
body[data-page="home"] #start{padding-top:28px}

/* Focus */
body[data-page="home"] a:focus-visible,
body[data-page="home"] button:focus-visible{
  outline:2px solid var(--mbw1-cyan);
  outline-offset:3px;
}

@media (max-width: 1240px){
  body[data-page="home"] .home-section-nav{top:120px}
}
@media (max-width: 1100px){
  body[data-page="home"] #outcomes .grid3{grid-template-columns:1fr}
}
@media (max-width: 1024px){
  body[data-page="home"] .heroGrid{
    grid-template-columns:minmax(0,1.15fr) minmax(240px,0.85fr);
    gap:28px;
  }
  body[data-page="home"] .resources,
  body[data-page="home"] .band,
  body[data-page="home"] .mbw1-rail{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .grid2{grid-template-columns:1fr 1fr}
  body[data-page="home"] .trust{grid-template-columns:1fr 1fr}
  body[data-page="home"] h1{max-width:14ch}
}
@media (max-width: 860px){
  body[data-page="home"] .heroGrid{grid-template-columns:1fr}
}
@media (max-width: 768px){
  body[data-page="home"] .wrap,
  body[data-page="home"] .container{padding-left:18px;padding-right:18px}
  body[data-page="home"] .section{padding:56px 0}
  body[data-page="home"] .grid2,
  body[data-page="home"] .grid3,
  body[data-page="home"] .metricRow,
  body[data-page="home"] .mbw1-timeline-wide{grid-template-columns:1fr}
  body[data-page="home"] .mbw1-timeline-wide li{
    padding:0 0 16px 18px;
    border:0;
    border-radius:0;
    background:transparent;
  }
  body[data-page="home"] .mbw1-timeline-wide li::before{display:block}
  body[data-page="home"] .mbw1-timeline-wide li:not(:last-child)::after{display:block}
  body[data-page="home"] .sectionHead h2{max-width:none}
  body[data-page="home"] .hero{padding-top:28px}
}
@media (max-width: 390px){
  body[data-page="home"] .heroCtas,
  body[data-page="home"] .band .bandCtas,
  body[data-page="home"] .softActions{flex-direction:column;align-items:stretch}
  body[data-page="home"] .btn,
  body[data-page="home"] .impact-btn{width:100%}
  body[data-page="home"] .trust{grid-template-columns:1fr}
  body[data-page="home"] h1{font-size:2.15rem}
}

@media (prefers-reduced-motion: reduce){
  html:has(body[data-page="home"]){scroll-behavior:auto}
  body[data-page="home"] *,
  body[data-page="home"] *::before,
  body[data-page="home"] *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
  body[data-page="home"] .card:hover,
  body[data-page="home"] .resource:hover{transform:none}
}
