/* OFFICIAL - TM360 homepage hero and focused visual pass */
:root{--ink:#0c0a08;--paper:#f4efe6;--muted:#b7aea3;--copper:#c4844a;--copper-hover:#d39a62}

/* Hero */
body .hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:85vh;padding:112px max(5vw,24px) 72px;overflow:hidden;background:var(--ink);color:var(--paper)}
body .hero__media{position:absolute;inset:0;z-index:-3;background-image:url('hero-venue.jpg');background-size:cover;background-position:center center;background-repeat:no-repeat}
body .hero__shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(12,10,8,.78) 0%,rgba(12,10,8,.55) 42%,rgba(12,10,8,.18) 100%)}
body .hero__inner{width:min(100%,1240px);margin:0 auto;color:var(--paper)}
body .hero__inner>*{max-width:640px}
body .hero .eyebrow{margin:0 0 18px;color:var(--copper-hover);font-size:.76rem;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
body .hero h1{margin:0;color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important;font-size:clamp(3.4rem,7.2vw,7rem);font-weight:950;line-height:.88;letter-spacing:-.06em;text-transform:none;text-shadow:none}
body .hero .lede{margin:28px 0 30px;color:#eee7dc;font-size:clamp(1.05rem,1.6vw,1.28rem);line-height:1.6}
body .hero .btn{padding:14px 20px;border-radius:6px;background:var(--copper);color:var(--ink);transition:background-color 200ms ease}
body .hero .btn:hover{background:var(--copper-hover)}

/* Feature strip */
body .proof-strip{padding:0;background:var(--ink);border-top:1px solid rgba(244,239,230,.16);border-bottom:1px solid rgba(244,239,230,.16)}
body .proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,1240px);margin:0 auto}
body .proof-grid p{display:flex;align-items:center;min-height:78px;margin:0;padding:18px 22px;border-right:1px solid rgba(244,239,230,.14)}
body .proof-grid p:first-child{border-left:1px solid rgba(244,239,230,.14)}
body .proof-grid strong{color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important;font-size:.9rem;line-height:1.35}

/* Focused card-grid pass */
body .risk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body .risk-card{display:flex;flex-direction:column;min-height:100%;border-radius:6px;box-shadow:none}
body .risk-card h3{color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important}
body .service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body .service-grid>a{display:flex;flex-direction:column;min-height:100%;border-radius:6px;box-shadow:none}
body .service-grid h3{color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important}

/* Keep one five-stage system visually primary */
body .lifecycle-section .stage-list{opacity:1}
body .principles-section .workflow,
body .project-section .project-pillars,
body .journey-section .journey-track{opacity:.45;font-size:.92em}

/* Grant Ready remains a distinct full-width strip */
body .grant-section{width:100%;background:#17120e!important;color:var(--paper);border-block:1px solid rgba(196,132,74,.28)}
body .grant-section h2{color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important}
body .grant-section .btn{border-radius:6px;background:var(--copper);color:var(--ink);transition:background-color 200ms ease}
body .grant-section .btn:hover{background:var(--copper-hover)}
body .grant-section .text-link{color:var(--paper)}

/* Tighter corners only in the focused homepage components */
body .proof-strip,body .risk-card,body .service-grid>a,body .grant-flow{border-radius:0}
body .risk-card,body .service-grid>a,body .grant-flow{border-radius:6px}

@media(max-width:900px){
 body .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .proof-grid p:nth-child(odd){border-left:1px solid rgba(244,239,230,.14)}
 body .proof-grid p{border-bottom:1px solid rgba(244,239,230,.14)}
 body .risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body .hero{min-height:78vh;padding:92px 18px 56px;align-items:center}
 body .hero__media{background-position:center center}
 body .hero__shade{background:linear-gradient(90deg,rgba(12,10,8,.9) 0%,rgba(12,10,8,.7) 58%,rgba(12,10,8,.34) 100%)}
 body .hero__inner{margin:0}
 body .hero h1{max-width:92%;font-size:clamp(2.75rem,13vw,4.2rem);line-height:.92}
 body .hero .lede{max-width:92%;font-size:1rem;line-height:1.55}
 body .proof-grid,body .risk-grid,body .service-grid{grid-template-columns:1fr}
 body .proof-grid p,body .proof-grid p:first-child,body .proof-grid p:nth-child(odd){border-left:0;border-right:0;border-bottom:1px solid rgba(244,239,230,.14)}
}
