/* Evidence-led Home: preserve portrait, shared themes and natural overflow. */
.home-evidence .hero{padding-top:18px;padding-bottom:20px;gap:36px;grid-template-columns:1.3fr 1fr}
.home-evidence .hero h1{font-size:clamp(34px,3.1vw,47px);max-width:21ch}
.home-evidence .hero h2{font-size:22px;margin-top:18px}
.home-evidence .hero .lead{max-width:55ch;font-size:14px}
.home-evidence .portrait-stage{height:clamp(290px,43svh,410px)}
.home-proof-links{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:16px;font-size:12px}
.home-proof-links a{display:inline-flex;align-items:center;gap:7px;min-height:44px;text-decoration:none;border-bottom:1px solid var(--line)}
.home-proof-links a:hover{color:var(--accent)}
.home-proof-links svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.home-evidence .actions{margin-top:18px}
.home-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;padding-top:18px;padding-bottom:18px;border-top:1px solid var(--line)}
.home-path{display:grid;grid-template-columns:100px 1fr;gap:12px;align-items:center;text-decoration:none;padding:9px 0;min-width:0}
.home-path img{width:100%;height:104px;object-fit:contain;transition:transform .2s}
.home-path:hover img{transform:translateY(-4px)}
.home-path strong,.home-path span,.home-path small{display:block}
.home-path strong{font-size:15px;line-height:1.35;margin-bottom:7px;font-weight:600}
.home-path span{font-size:12px;color:var(--accent)}
.home-path small{font-size:10px;color:var(--muted);margin-top:8px}
.home-path b{font-size:15px;margin-left:5px}
.home-trust{width:100%;border-top:1px solid var(--subtle);padding-top:12px;padding-bottom:12px;display:flex;gap:24px;justify-content:space-between;align-items:center}
.home-trust>a{display:flex;gap:12px;align-items:center;font-size:11px;text-decoration:none;min-height:44px}
.home-trust img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.home-trust strong{display:block;font-size:12px}
.home-trust small{font-size:10px;color:var(--muted)}
@media(min-width:761px) and (max-width:1100px){.home-evidence .hero h1{font-size:34px}.home-evidence .hero h2{font-size:19px}.home-path{grid-template-columns:75px 1fr;gap:8px}.home-path strong{font-size:13px}.home-paths{gap:16px}.home-proof-links{gap:14px}}
@media(min-width:1101px) and (max-height:800px){.home-evidence .hero h1{font-size:38px}.home-evidence .portrait-stage{height:300px}.home-evidence .hero h2{font-size:20px;margin-top:12px}.home-evidence .hero .actions{margin-top:12px}.home-proof-links{margin-top:8px}.home-paths{padding-top:10px;padding-bottom:10px}.home-path img{height:90px}}
@media(max-width:760px){.home-evidence .hero{grid-template-columns:1fr;gap:22px;padding-top:26px}.home-evidence .hero h1{font-size:34px}.home-evidence .hero h2{font-size:20px}.home-evidence .portrait-stage{height:310px}.home-evidence .actions{align-items:flex-start;gap:12px;flex-wrap:wrap}.home-proof-links{gap:16px}.home-paths{grid-template-columns:1fr;gap:0;padding-top:6px;padding-bottom:6px}.home-path{grid-template-columns:110px 1fr;padding:20px 0}.home-path+.home-path{border-top:1px solid var(--subtle)}.home-path strong{font-size:16px}.home-path small{font-size:11px}.home-trust{align-items:flex-start;flex-direction:column;gap:10px;padding-top:18px;padding-bottom:18px}}
@media(prefers-reduced-motion:reduce){.home-path img{transition:none}.home-path:hover img{transform:none}}
html.reduced .home-path img{transition:none}html.reduced .home-path:hover img{transform:none}

/* Laptop-height composition: reserve room for evidence and the footer.
   Keep content in normal flow so zoom and shorter windows can still scroll. */
@media(min-width:1000px) and (max-height:820px){
  .multipage.home-evidence{--site-header:68px}
  .home-evidence .hero{padding-top:12px;padding-bottom:12px;gap:32px}
  .home-evidence .portrait-stage{height:clamp(248px,39svh,300px)}
  .home-evidence .hero .lead{margin-top:12px}
  .home-evidence .hero .actions{margin-top:12px}
  .home-evidence .home-proof-links{margin-top:8px}
  .home-evidence .home-paths{padding-top:8px;padding-bottom:8px;gap:24px}
  .home-evidence .home-path{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:8px 0}
  .home-evidence .home-path img{height:72px}
  .home-evidence .home-path strong{margin-bottom:4px}
  .home-evidence .home-path small{margin-top:4px}
  .home-evidence .home-trust{padding-top:6px;padding-bottom:6px}
  .multipage.home-evidence>footer.wrap{padding-top:8px;padding-bottom:8px;min-height:60px}
}

/* Large monitors need a wider composition, not an endlessly stretched hero. */
@media(min-width:1600px){
  .home-evidence main{justify-content:center}
  .home-evidence .hero{flex:0 0 auto;gap:clamp(48px,4vw,112px);grid-template-columns:1.15fr 1fr;padding-top:clamp(28px,5svh,80px);padding-bottom:clamp(28px,5svh,80px)}
  .home-evidence .home-paths,.home-evidence .home-trust{margin-top:0;margin-bottom:0}
}
@media(min-width:1600px) and (max-height:999px){
  .home-evidence .hero{padding-top:20px;padding-bottom:20px}
}
@media(min-width:1600px) and (max-height:820px){
  .home-evidence .hero{padding-top:12px;padding-bottom:12px}
}
@media(min-width:1600px) and (min-height:1000px){
  .home-evidence .hero h1{font-size:clamp(47px,3vw,76px);max-width:21ch}
  .home-evidence .hero h2{font-size:clamp(24px,1.6vw,36px);margin-top:clamp(18px,1.2vw,30px)}
  .home-evidence .hero .lead{font-size:clamp(16px,1.05vw,22px);margin-top:22px;max-width:52ch}
  .home-evidence .portrait-stage{height:min(50svh,clamp(400px,24vw,640px))}
  .home-evidence .portrait-layered figcaption{font-size:clamp(12px,.7vw,15px)}
  .home-evidence .home-proof-links{font-size:clamp(14px,.8vw,18px);gap:26px;margin-top:22px}
  .home-evidence .actions{margin-top:24px;gap:32px}
  .home-evidence .actions .button,.home-evidence .actions .text-link{font-size:clamp(16px,.9vw,20px)}
  .home-evidence .actions .button{min-height:56px;padding:16px 28px}
  .home-evidence .home-paths{gap:clamp(24px,2vw,48px);padding-top:20px;padding-bottom:20px}
  .home-evidence .home-path{grid-template-columns:clamp(120px,7vw,180px) minmax(0,1fr);gap:20px}
  .home-evidence .home-path img{height:clamp(112px,7vw,168px)}
  .home-evidence .home-path strong{font-size:clamp(18px,1.05vw,24px)}
  .home-evidence .home-path span{font-size:clamp(14px,.85vw,18px)}
  .home-evidence .home-path small{font-size:clamp(12px,.7vw,16px)}
  .home-evidence .home-trust{padding-top:18px;padding-bottom:18px}
  .home-evidence .home-trust>a{font-size:clamp(13px,.7vw,16px);gap:16px}
  .home-evidence .home-trust strong{font-size:clamp(14px,.8vw,18px)}
  .home-evidence .home-trust img{width:48px;height:48px}
  .home-evidence .home-trust small{font-size:clamp(11px,.65vw,14px)}
}

/* Owner supplied dark-theme photograph; identical framing and existing silhouette. */
.home-evidence .portrait-stage .portrait-theme-dark{display:none}
@media(min-width:1101px){
 :root:not([data-theme=light]) .home-evidence .portrait-stage .portrait-theme-default{display:none}
 :root:not([data-theme=light]) .home-evidence .portrait-stage .portrait-theme-dark{display:block}
}

/* Use the available height as well as width on desktop, including ultrawide monitors. */
@media(min-width:1280px) and (min-height:720px){
 .multipage.home-evidence{height:100svh;min-height:100svh}
 .home-evidence main{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;justify-content:normal;min-height:0;flex:1}
 .home-evidence .hero{min-height:0;height:100%;padding-block:clamp(12px,2svh,28px)}
 .home-evidence .hero h1{font-size:clamp(34px,min(3.1vw,5svh),64px)}
 .home-evidence .hero h2{font-size:clamp(20px,min(1.6vw,2.8svh),34px);margin-top:clamp(12px,1.8svh,24px)}
 .home-evidence .hero .lead{font-size:clamp(14px,min(1.05vw,1.7svh),20px);margin-top:clamp(12px,1.8svh,22px)}
 .home-evidence .portrait-stage{height:min(42svh,calc(100svh - 400px))}
 .home-evidence .home-proof-links{margin-top:clamp(8px,1.5svh,20px)}
 .home-evidence .hero .actions{margin-top:clamp(12px,1.8svh,24px)}
}
