/* TT Front Hero — rotating front-page hero. Kept small on purpose: no slider library. */

.tt-hero{position:relative;width:100%;aspect-ratio:16/7;overflow:hidden;isolation:isolate;background:#0d1b1e}
@media (max-width:768px){.tt-hero{aspect-ratio:4/3}}

.tt-hero__slide{position:absolute;inset:0;display:block;opacity:0;transition:opacity .9s ease-in-out;text-decoration:none;pointer-events:none}
.tt-hero__slide.is-active{opacity:1;pointer-events:auto}

/* Pinned to the slide, not laid out in it: an optimizer's <picture> wrapper or lazyload
   markup puts a line box above an in-flow image, which shows as a dark bar on top. */
.tt-hero__slide picture{display:block;position:absolute;inset:0;margin:0;padding:0}
.tt-hero__slide img,.tt-hero .tt-hero__img{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;object-fit:cover;display:block;max-width:none}

.tt-hero__slide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.35) 35%,rgba(0,0,0,0) 65%)}

.tt-hero__text{position:absolute;left:0;bottom:0;z-index:2;padding:0 6% 4%;max-width:60%;color:#fff}
@media (max-width:768px){.tt-hero__text{max-width:100%;padding-bottom:8%}}

.tt-hero__h1{margin:0 0 .35em;padding:0;color:#fff;font-size:clamp(1.6rem,3.4vw,3rem);line-height:1.05;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.tt-hero__title{display:block;font-size:clamp(.95rem,1.5vw,1.2rem);line-height:1.3;opacity:.92}
.tt-hero__slide:hover .tt-hero__title{text-decoration:underline;text-underline-offset:3px}

/* Corner link to the video library. Sibling of the slides, never a child — an anchor
   inside an anchor is invalid and the two click targets fight each other. */
.tt-hero__video{position:absolute;right:0;bottom:0;z-index:3;margin:0 4% 4%;padding:.55em 1.1em;
border:1px solid rgba(255,255,255,.55);border-radius:2em;color:#fff;text-decoration:none;
font-size:.85rem;letter-spacing:.02em;backdrop-filter:blur(6px);background:rgba(0,0,0,.28);
transition:background .25s}
.tt-hero__video:hover{background:rgba(0,0,0,.5);color:#fff}
@media (max-width:768px){.tt-hero__video{display:none}}

/* The standing intro line and the three-link row, layered above the rotator. */
.tt-hero-wrap{position:relative}
.tt-hero-wrap .tt-hero__over{position:absolute;top:0;left:0;z-index:4;padding:3% 6% 0;max-width:70%;color:#fff;pointer-events:none}
.tt-hero-wrap .tt-hero__over p{margin:0 0 .5em;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.55)}
.tt-hero-wrap .tt-hero__over a{color:#fff;pointer-events:auto;text-decoration:underline;text-underline-offset:3px}
@media (max-width:768px){.tt-hero-wrap .tt-hero__over{max-width:100%;padding-top:5%;font-size:.9rem}}

@media (prefers-reduced-motion:reduce){
  .tt-hero__slide{transition:none}
}
