/* Homepage, the products under the three practices (18 November 2026, later). Five panels side by side, XShield first
   and wider, each on its picture under a navy filter, as the practices above. The panel under the pointer or the focus
   grows; the words stay where they are. A product with no picture is a navy panel. On a phone the panels stack. */
.hq-band { padding-bottom:0 !important; }
.hq-band .hq-em { background-image:var(--t-grad); background-repeat:no-repeat; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hq-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:16px 40px; }
.hq-all { font-size:15.5px; white-space:nowrap; }
.hq-panels { list-style:none; margin:clamp(30px,4.4vh,48px) 0 0; padding:0; display:flex; height:clamp(440px,64vh,620px); border-top:1px solid rgba(255,255,255,.14); }
.hq-panels > li { position:relative; flex:1 1 0%; min-width:0; transition:flex-grow .9s cubic-bezier(.2,.7,.2,1); }
.hq-panels > li + li { border-left:1px solid rgba(255,255,255,.18); }
.hq-panels > li.hq-base { flex-grow:1.7; }
.hq-panels > li:hover, .hq-panels > li:focus-within { flex-grow:2.1; }
.hq-panels > li.hq-base:hover, .hq-panels > li.hq-base:focus-within { flex-grow:2.4; }
.hq-panel { position:absolute; inset:0; display:block; overflow:hidden; text-decoration:none; color:#ffffff; }
.hq-photo { position:absolute; inset:0; background-color:#021825;
  background-image:radial-gradient(rgba(142,214,232,.07) 1px, transparent 1.3px); background-size:28px 28px; }
.hq-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
/* the navy filter: light at the top, where the picture shows, strong at the foot, under the words */
.hq-photo::after { content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(2,24,37,.42) 0%, rgba(2,24,37,.30) 30%, rgba(2,24,37,.78) 62%, rgba(2,24,37,.95) 100%); transition:opacity .9s cubic-bezier(.2,.7,.2,1); }
.hq-no-photo .hq-photo::after { background:linear-gradient(180deg, rgba(2,24,37,0) 30%, rgba(2,24,37,.6) 100%); }
.hq-panels > li:hover .hq-photo::after, .hq-panels > li:focus-within .hq-photo::after { opacity:.86; }
.hq-txt { position:absolute; left:0; right:0; bottom:0; padding:0 clamp(18px,1.8vw,28px) clamp(22px,3.4vh,34px); display:flex; flex-direction:column; }
.hq-verb { font-size:13.5px; font-weight:600; color:#8ED6E8; }
.hq-name { margin-top:6px; font-size:clamp(21px,1.75vw,26px); line-height:1.12; letter-spacing:-.02em; font-weight:700; color:#ffffff; }
.hq-base .hq-name { font-size:clamp(28px,2.6vw,38px); }
.hq-text { margin-top:10px; max-width:34ch; font-size:14.5px; line-height:1.5; color:rgba(255,255,255,.82); text-wrap:pretty; }
.hq-go { margin-top:14px; font-size:19px; color:#8ED6E8; }
a.hq-panel:hover .hq-name, a.hq-panel:focus-visible .hq-name { color:#8ED6E8; }
a.hq-panel:focus-visible { outline:2px solid #24B6D1; outline-offset:-4px; }
@media (max-width:1100px) { .hq-text { font-size:13.5px; } }
@media (max-width:899px) {
  .hq-head { grid-template-columns:1fr; }
  .hq-panels { display:block; height:auto; }
  .hq-panels > li { height:300px; }
  .hq-panels > li + li { border-left:0; border-top:1px solid rgba(255,255,255,.18); }
  .hq-panels > li.hq-base { height:360px; }
}
@media (prefers-reduced-motion:reduce) { .hq-panels > li, .hq-photo::after { transition:none; } }
