/* Shared first-screen carousel. Logo artwork is displayed without CSS recoloring. */
.site-header .brand img { filter:none !important; opacity:1 !important; mix-blend-mode:normal !important; }
.home-page.hero-in-view .floating-tools { visibility:hidden; pointer-events:none; }
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hero-carousel { position:relative; isolation:isolate; height:clamp(460px,calc(100svh - var(--header-height) - var(--theme-switcher-height,0px)),700px); min-height:460px; overflow:hidden; background:#111214; color:#FFF; }
.carousel-slide { position:absolute; inset:0; display:flex; align-items:center; background:#111214; }
.carousel-slide[hidden] { display:none; }
.carousel-image { position:absolute; inset:0 0 0 auto; width:68%; height:100%; object-fit:contain; object-position:center; background:#08090A; }
.carousel-slide::after { position:absolute; z-index:0; content:""; inset:0; background:linear-gradient(90deg,#111214 0%,rgb(17 18 20 / 98%) 24%,rgb(17 18 20 / 80%) 43%,rgb(17 18 20 / 12%) 74%,transparent 100%); }
.carousel-copy { position:relative; z-index:1; width:calc(100% - 80px); max-width:var(--max); margin-inline:auto; padding:36px 0 110px; }
.carousel-copy > .eyebrow { color:#DDD; margin:0 0 18px; font-size:14px; letter-spacing:1.8px; }
.carousel-title { color:#FFF; margin:0 0 24px; max-width:16em; font-size:clamp(36px,3.8vw,54px); line-height:1.4; font-weight:700; letter-spacing:-.6px; }
.carousel-description { max-width:29em; margin:0; color:#E0E2E6; font-size:18px; line-height:1.9; }
.carousel-copy .more { margin-top:30px; min-height:46px; min-width:154px; padding:9px 25px; font-size:16px; line-height:1.6; }
.carousel-copy .more::after { content:none; }
.carousel-controls { position:absolute; z-index:2; inset:auto 0 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding-right:68px; }
.carousel-tabs { display:flex; align-items:center; gap:12px; }
.carousel-tab { min-height:44px; padding:8px 18px; border:1px solid #686B70; border-radius:4px; background:rgb(17 18 20 / 80%); color:#FFF; font-size:16px; line-height:1.5; }
.carousel-tab[aria-pressed="true"] { color:#FFF; background:var(--accent); border-color:var(--accent); }
.carousel-tab:hover { background:#FFF; border-color:#FFF; color:#171717; }
.carousel-toggle { min-height:44px; padding:8px 16px; border:1px solid #686B70; border-radius:4px; background:rgb(17 18 20 / 80%); color:#FFF; font-size:14px; line-height:1.5; white-space:nowrap; }
.carousel-toggle:hover { color:#171717; background:#FFF; }
.carousel-tab:focus-visible,.carousel-toggle:focus-visible { outline:2px solid #FFF; outline-offset:4px; }
@media(max-width:1100px) {
  .carousel-image { width:78%; }
  .carousel-title { font-size:40px; }
  .carousel-description { max-width:26em; font-size:17px; }
}
@media(max-width:760px) {
  .hero-carousel { height:clamp(540px,calc(100svh - var(--header-height) - var(--theme-switcher-height,0px)),720px); min-height:540px; }
  .carousel-image { width:100%; opacity:.65; object-fit:cover; object-position:65% center; }
  .carousel-slide::after { background:linear-gradient(90deg,rgb(17 18 20 / 94%),rgb(17 18 20 / 65%) 55%,rgb(17 18 20 / 28%)); }
  .carousel-copy { width:calc(100% - 40px); padding:20px 0 130px; }
  .carousel-title { font-size:36px; line-height:1.45; letter-spacing:-.6px; margin-bottom:18px; }
  .carousel-copy > .eyebrow { font-size:13px; margin-bottom:16px; letter-spacing:1px; }
  .carousel-description { max-width:27em; font-size:16px; }
  .carousel-copy .more { margin-top:24px; }
  .carousel-controls { bottom:20px; flex-wrap:wrap; gap:12px; padding-right:0; }
  .carousel-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; width:100%; }
  .carousel-tab { min-width:0; padding:8px 4px; font-size:14px; }
  .carousel-toggle { min-height:34px; padding:5px 12px; }
}
@media(max-width:420px) { .carousel-copy { width:calc(100% - 32px); } }
@media(max-width:360px) { .carousel-title { font-size:31px; } .carousel-description { font-size:16px; line-height:1.8; } }
@media(prefers-reduced-motion:reduce) { .hero-carousel * { scroll-behavior:auto; } }
