/* Readable mobile hero and consistent desktop friend-link cards. */
.home-composed .hero-slide-stack{opacity:1!important;transform:none!important;animation:none!important}
@media(min-width:761px){
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) .friend-image-grid{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0;border:0}
  .home-composed.home-one-screen .home-footer .friend-image-grid{overflow:visible}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) a.friend-image{position:relative;display:flex;align-items:center;flex:0 0 auto;gap:12px;min-width:150px;min-height:56px;padding:8px 14px 8px 8px;border:1px solid #394550;border-radius:9px;background:linear-gradient(125deg,#1a2630,#121c25);color:#eaf0f4;transition:background .2s,border-color .2s,transform .2s}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) a.friend-image:hover{background:#22303b;border-color:#a68f7d;transform:translateY(-2px)}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) a.friend-image:focus-visible{outline:2px solid #e5b997;outline-offset:3px}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) .friend-image strong{color:#eaf0f4;font-size:13px;font-weight:500;line-height:1.5}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) .friend-image::after{content:"↗";margin-left:auto;padding-left:10px;font-size:17px;color:#a6b7c3}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) .friend-logo{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:6px;border:1px solid #fff8;border-radius:7px;background:#f2f3ef;box-shadow:0 1px 3px #0002}
  :is(.home-composed.home-one-screen .home-footer,.cms-inner .cms-footer,.fc-friendly-links) .friend-logo img{display:block;flex:0 1 auto;width:100%;height:100%;object-fit:contain;filter:none}
  .home-composed.home-one-screen .home-footer .friend-links{padding-block:14px;gap:24px}
  .home-composed.home-one-screen .home-footer .friend-links-head p{display:none}
  .cms-inner .cms-footer-links{align-items:center;gap:24px}
  .cms-footer-links>a{flex:0 0 auto;font-size:13px;color:#c4d3dc}
  .fc-friendly-links .friend-image-grid{padding-block:25px}
}
@media(max-width:760px){
  .home-footer .friend-links,.cms-inner .cms-footer-links,.fc-friendly-links,.links-page .links-directory,.links-page .links-apply{display:none!important}
  .home-composed.home-one-screen{height:auto;min-height:100dvh;grid-template-rows:auto 1fr auto}
  .home-composed.home-one-screen .home-hero{height:auto;min-height:calc(100svh - var(--home-header-height,60px) - 65px);padding:30px var(--hero-gutter) 20px;gap:24px;grid-template-rows:minmax(0,1fr) auto}
  .home-composed .home-hero-inner{height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(160px,1fr);gap:24px;align-items:stretch}
  .home-composed .hero-copy{container-type:normal;justify-content:flex-start}
  .home-composed .hero-service-label{font-size:13px;line-height:1.6;gap:12px;margin-bottom:20px}
  .home-composed .hero-copy h1.hero-statement{font-size:clamp(38px,11.5vw,54px);line-height:1.18;letter-spacing:-.045em;margin:0 0 24px}
  .home-composed .hero-statement>span:first-child{font-size:.9em;line-height:1.2;margin-bottom:.12em}
  .home-composed .hero-lead{display:block;font-size:16px;line-height:1.85;max-width:38em;padding-left:14px;margin:0;-webkit-line-clamp:unset;overflow:visible;color:#bdc9d0}
  .home-composed .hero-keywords{display:flex;margin-top:18px;gap:10px 18px;color:#a3b6c1}
  .home-composed .hero-keywords li{font-size:13px;line-height:1.65;gap:7px}
  .home-composed .hero-actions{display:flex;margin-top:24px}
  .home-composed .hero-actions .action-primary{width:168px;min-height:48px;padding-inline:20px;font-size:15px}
  .home-composed .hero-visual{height:clamp(160px,22svh,240px);min-height:160px;max-height:none;margin:0}
  .home-composed .hero-toolbar{padding-top:16px}
  .home-composed .hero-controls{gap:12px}
  .home-composed .hero-switcher{gap:8px}
  .home-composed .hero-switcher button{height:52px;justify-content:center}
  .home-composed .hero-switcher button strong{display:block;max-width:5em;font-size:13px;line-height:1.5;text-wrap:pretty}
  .home-composed .motion-toggle{width:34px;height:34px}
  .home-composed .home-footer .page-foot-bottom{border-top:0;padding-top:12px;min-height:48px}
}
@media(max-width:760px) and (max-height:480px) and (orientation:landscape){
  .home-composed .home-hero-inner{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);grid-template-rows:auto;gap:24px;align-items:center}
  .home-composed .hero-copy h1.hero-statement{font-size:38px}
  .home-composed .hero-visual{height:220px}
}
@media(prefers-reduced-motion:reduce){.friend-image{transition:none!important}}
