/* The Sanctuary Project v2.5: accelerated roadmap and mobile typography refinement.
   Local founder review. Layered on top of v2.4; no original styles deleted. */
.journey24-road-grid h3{line-height:1.04;overflow-wrap:normal;word-break:normal;hyphens:none}
.journey24-road-grid h3 em{color:#dec28e;font-weight:400;font-style:italic}
.journey24-phase-grid .journey24-phase-top{gap:12px}
.journey24-phase-top span{max-width:135px;line-height:1.5}
.journey24-road-intro strong{color:#f5e6c9}
@media(max-width:700px){
/* Older three-across cards were forced into tiny columns by legacy CSS. */
.v2-main .v2-service-grid{grid-template-columns:1fr!important;gap:13px}
.v2-main .v2-service-card,.v2-main .v2-service-card:last-child{grid-column:auto!important;min-height:330px;padding:29px 26px}
.v2-main .v2-service-card h3{font-size:clamp(2.6rem,9.4vw,3.7rem);line-height:.98;overflow-wrap:normal;word-break:normal;hyphens:none}
.v2-main .v2-service-card p{max-width:410px}
.journey24-road-grid{grid-template-columns:1fr!important;margin-top:36px}
.journey24-road-grid article,.journey24-road-grid article+article,.journey24-road-grid article:nth-child(3){padding:24px 0 28px!important;border-left:0!important;border-bottom:1px solid rgba(222,194,142,.22)}
.journey24-road-grid article:before,.journey24-road-grid article+article:before,.journey24-road-grid article:nth-child(3):before{left:0!important}
.journey24-road-grid article:last-child{border-bottom:0}
.journey24-road-grid h3{font-size:clamp(2.25rem,8.8vw,3rem)!important;letter-spacing:-.035em!important}
.journey24-road-grid p{max-width:580px;font-size:.93rem;line-height:1.74}
.journey24-year{justify-content:space-between;max-width:450px}
.journey24-year strong{font-size:clamp(3rem,12vw,4rem)}
.journey24-road-tail{gap:20px}
.journey24-phase-top span{font-size:.65rem}
}
@media(max-width:400px){
/* Entire words, especially heritage headings, stay intact. */
.page-hero h1{font-size:clamp(2.25rem,10.5vw,2.65rem)!important;line-height:1!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;letter-spacing:-.045em}
.v2-main .v2-hero h1{font-size:clamp(2.55rem,11.7vw,3.2rem)!important;line-height:.9;overflow-wrap:normal!important;word-break:normal!important}
.v2-main h2{font-size:clamp(2.35rem,10.7vw,3.35rem);overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.v2-main h2 em,.v2-main h1 em,.page-hero em{overflow-wrap:normal!important;word-break:normal!important}
.journey24-streams h2,.journey24-bridge h2,.journey24-road h2,.journey24-lens h2,.journey24-build-hero h2,.journey24-parallel h2,.journey24-journal-intro h2,.journey24-learn-intro h2,.journey24-land-bridge h2,.journey24-mission-bridge h2{font-size:clamp(2.7rem,11.4vw,3.5rem)!important;line-height:1.02;overflow-wrap:normal!important;word-break:normal!important}
.journey24-streams h2 em{font-size:.96em}
.journey24-phase-grid h3{font-size:clamp(2rem,8.7vw,2.7rem)}
}
@media(max-width:350px){
.v2-main .v2-hero h1{font-size:2.45rem!important}
.v2-main .v2-service-card h3{font-size:2.55rem!important}
.v2-main h2{font-size:2.42rem!important}
.page-hero h1{font-size:2.1rem!important}
.journey24-road-grid h3{font-size:2.3rem!important}
}
@media(prefers-reduced-motion:reduce){.journey24-road-grid h3{transition:none}}

/* Second mobile pass: long legacy editorial headings and Founding Partners card. */
@media(max-width:400px){
.v2-main .v2-innerhero h1{font-size:clamp(2.55rem,11vw,3.25rem)!important;line-height:1!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.fp-main .fp-intro h2,.fp-main .fp-title-row h2,.fp-main .fp-recognition h2,.fp-main .fp-cta h2{font-size:clamp(2.25rem,9.25vw,2.95rem)!important;line-height:1.03;overflow-wrap:normal!important;word-break:normal!important}
.fp-main .fp-partner-copy h3{font-size:clamp(2.6rem,9.7vw,3.2rem)!important;overflow-wrap:normal!important;word-break:normal!important}
.fp-main .fp-partner-copy{padding:29px 19px 34px}
.fp-main .fp-partner-kicker{flex-wrap:wrap;gap:6px}
.fp-main .fp-title-row h2{max-width:100%}
.fp-main .fp-cta-inner{max-width:100%}
}
@media(max-width:350px){
.page-hero h1{font-size:1.81rem!important;line-height:1.05!important}
.v2-main .v2-service-card h3{font-size:2.07rem!important}
.v2-main .v2-innerhero h1{font-size:2.45rem!important}
.v2-main .v2-land-image-text{font-size:2.25rem!important;left:18px}
.fp-main .fp-partner-copy h3{font-size:2.7rem!important}
.fp-main .fp-hero h1{font-size:2.95rem!important}
}

/* Legacy page heroes use a more specific important selector. Override that exact selector. */
@media(max-width:400px){
.page-hero.has-image h1{font-size:clamp(2.25rem,10.2vw,2.65rem)!important;line-height:1.03!important;overflow-wrap:normal!important;word-break:normal!important}
}
@media(max-width:350px){
.page-hero.has-image h1{font-size:1.79rem!important;line-height:1.07!important}
.v2-main .v2-service-card h3{font-size:1.8rem!important}
}
