/* Grey Matters homepage v1.0 — locked Batch B1 implementation authority. */
.homepage-v1{background:var(--gm-ivory)}
.home-v1-hero{padding:3rem 0 2.75rem;background:var(--gm-ivory);border-bottom:1px solid var(--gm-line)}
.home-v1-hero-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.18fr);gap:2.25rem;align-items:center}
.home-v1-hero-copy h1{font-size:clamp(3.2rem,6vw,5.35rem);line-height:.96;margin:.35rem 0 1rem}
.home-v1-hero-copy h2{font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.12;margin:0 0 1.15rem;max-width:16ch}
.home-v1-hero-copy>p:not(.gm-eyebrow):not(.home-v1-tagline){font-size:1.12rem;line-height:1.62;max-width:36rem}
.home-v1-tagline{font-family:var(--gm-serif);font-size:1.05rem;font-style:italic;margin-top:1.35rem}
.home-v1-hero-image{margin:0;border-radius:1.4rem;overflow:hidden;border:1px solid var(--gm-line);box-shadow:0 1.4rem 3.5rem rgba(52,38,30,.14);background:var(--gm-card)}
.home-v1-hero-image img{display:block;width:100%;height:auto}
.home-v1-section{padding:4rem 0}
.home-v1-section h2,.home-v1-principle h2{font-size:clamp(2.1rem,3.8vw,3rem);line-height:1.08;margin:.25rem 0 .75rem}
.home-v1-section-intro{max-width:47rem;font-size:1.08rem;line-height:1.62;color:var(--gm-body);margin-bottom:1.75rem}
.home-v1-modes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.9rem}
.home-v1-mode{grid-column:span 2;display:block;background:var(--gm-paper);border:1px solid var(--gm-line);border-radius:1rem;padding:1.25rem;text-decoration:none;color:inherit;min-height:10.25rem;transition:transform .15s ease,box-shadow .15s ease}
.home-v1-mode:hover,.home-v1-mode:focus-visible{transform:translateY(-2px);box-shadow:0 .65rem 1.8rem rgba(52,38,30,.08)}
.home-v1-mode span,.home-v1-depth-card span{font-family:var(--gm-sans);font-size:.72rem;letter-spacing:.14em;color:var(--gm-gold);font-weight:700}
.home-v1-mode h3{font-size:1.45rem;margin:.3rem 0 .55rem}
.home-v1-mode p{font-size:.9rem;line-height:1.5;color:var(--gm-body);margin:0}
.home-v1-mode:nth-child(5){grid-column:2/span 2}
.home-v1-mode:nth-child(6){grid-column:4/span 2}
.home-v1-mode:nth-child(7){grid-column:6/span 2}
.home-v1-depth-section{background:#eee6dc;border-block:1px solid #d8cbbb}
.home-v1-depth{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.home-v1-depth-card{display:block;padding:1.5rem;border-right:1px solid #d8cbbb;text-decoration:none;color:inherit}
.home-v1-depth-card:last-child{border-right:0}
.home-v1-depth-card h3{font-size:1.45rem;margin:.35rem 0 .55rem}
.home-v1-depth-card p{font-size:.9rem;line-height:1.5;color:var(--gm-body);margin:0}
.home-v1-flagship{padding:4rem 0}
.home-v1-flag-box{position:relative;overflow:hidden;background:#171b35;color:#f8f3eb;border-radius:1.5rem;padding:2.5rem 2.75rem;display:grid;grid-template-columns:1.3fr .7fr;gap:2rem;align-items:center}
.home-v1-flag-box:after{content:"";position:absolute;right:-4rem;top:-5rem;width:20rem;height:20rem;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 3.25rem rgba(255,255,255,.03),0 0 0 6.5rem rgba(255,255,255,.025)}
.home-v1-flag-box .gm-eyebrow{color:#ceb88d}
.home-v1-flag-box h2{color:#fff;font-size:clamp(2rem,3.5vw,2.8rem);margin:.25rem 0 .75rem;max-width:18ch}
.home-v1-flag-box p{color:#ddd8d2;max-width:44rem}
.home-v1-flag-box a{color:#fff;font-weight:700}
.home-v1-flag-mark{font-size:5rem;text-align:center;color:#ceb88d;position:relative;z-index:1}
.home-v1-principle{padding:1rem 0 5rem}
.home-v1-principle-grid{border-block:1px solid var(--gm-gold);padding:2rem 0;display:grid;grid-template-columns:.8fr 1.8fr;gap:2rem}
.home-v1-principle-grid>p{font-family:var(--gm-serif);font-size:1.32rem;line-height:1.48;margin:0}
@media(max-width:64rem){
 .home-v1-hero-grid{grid-template-columns:1fr;gap:1.5rem}
 .home-v1-hero-copy h2{max-width:21ch}
 .home-v1-modes{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-v1-mode{grid-column:auto}
 .home-v1-mode:nth-child(5),.home-v1-mode:nth-child(6),.home-v1-mode:nth-child(7){grid-column:auto}
 .home-v1-depth{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-v1-depth-card{border-bottom:1px solid #d8cbbb}
 .home-v1-depth-card:nth-child(2){border-right:0}
 .home-v1-flag-box{grid-template-columns:1fr}
 .home-v1-flag-mark{display:none}
}
@media(max-width:40rem){
 .home-v1-hero{padding:1.75rem 0 2rem}
 .home-v1-hero-copy h1{font-size:3rem}
 .home-v1-hero-copy h2{font-size:1.75rem}
 .home-v1-section{padding:3rem 0}
 .home-v1-modes,.home-v1-depth{grid-template-columns:1fr}
 .home-v1-mode{min-height:auto}
 .home-v1-depth-card{border-right:0}
 .home-v1-flag-box{padding:2rem 1.5rem}
 .home-v1-principle-grid{grid-template-columns:1fr}
 .home-v1-principle-grid>p{font-size:1.12rem}
}
/* Small science-reader signpost within the existing flagship banner.
   The established heading, art and CTA retain their approved treatment. */
.home-v1-flag-box .home-v1-science-cue{
  font-size:.94rem;line-height:1.5;color:#e7dcc9;
  max-width:40rem;margin:.75rem 0 .65rem;
}
.home-v1-flag-box .home-v1-science-cue strong{color:#ead09b;font-weight:700}

/* Run 10.5 contrast correction for small route numerals. */
.home-v1-mode>span,.home-v1-depth-card>span{color:#80591d}
