/* Paras home hero — full-bleed cinematic image.
   Crossfading project photos fill the hero; headline + CTA overlaid bottom-left
   with a gradient scrim for legibility. Uses the global font variables
   (--pi-head / --pi-body). Crossfade slider controller unchanged. */

.paras-hero{position:relative;width:100vw;margin-left:calc(50% - 50vw);
  height:clamp(560px,82vh,780px);overflow:hidden;background:#171411;color:#fff;isolation:isolate;}
.paras-hero *,.paras-hero *::before,.paras-hero *::after{box-sizing:border-box;}

/* crossfade slides, absolute-stacked to fill the hero */
.paras-hero__track{position:absolute;inset:0;}
.paras-hero__slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .9s ease;will-change:opacity;}
.paras-hero__slide.is-active{opacity:1;pointer-events:auto;}

/* full-bleed background image + slow Ken Burns zoom on the active slide */
.paras-hero__bg{position:absolute;inset:0;background:#222 center center/cover no-repeat;
  transform:scale(1.05);transition:transform 9s ease;}
.paras-hero__slide.is-active .paras-hero__bg{transform:scale(1.13);}

/* scrim: darkest at the bottom-left where the text sits */
.paras-hero__slide::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(15,11,8,.86) 0%,rgba(15,11,8,.58) 42%,rgba(15,11,8,.2) 72%,transparent 100%),
             linear-gradient(0deg,rgba(15,11,8,.74) 0%,rgba(15,11,8,.24) 42%,transparent 62%);}

/* content overlay — centred container, anchored bottom-left */
.paras-hero__inner{position:relative;z-index:2;height:100%;width:min(1280px,90vw);margin:0 auto;
  display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:clamp(52px,7vw,94px);}
.paras-hero__content{max-width:660px;}

.paras-hero .paras-hero__eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 20px;
  font-family:var(--pi-body);font-size:12.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#e7b27e !important;}
.paras-hero__eyebrow-line{width:40px;height:1px;background:#e3a463;display:inline-block;flex:none;}
/* Hero headline uses a LIGHT-weight sans (airy "light" feel) instead of the serif —
   hero only; the rest of the site keeps the Fraunces serif headings. */
.paras-hero .paras-hero__title{margin:0;font-family:var(--pi-body);font-weight:300;
  font-size:clamp(38px,5.6vw,72px);line-height:1.08;letter-spacing:-.015em;color:#fff !important;}
.paras-hero .paras-hero__title em{font-style:normal;font-weight:500;color:#e7b27e !important;}
.paras-hero .paras-hero__subtitle{margin:20px 0 0;max-width:46ch;font-family:var(--pi-body);font-weight:400;
  font-size:clamp(15px,1.1vw,17px);line-height:1.7;color:rgba(255,255,255,.88) !important;}

/* CTA — light pill + text call link */
.paras-hero__cta{margin-top:clamp(26px,3vw,38px);display:flex;flex-wrap:wrap;gap:20px;align-items:center;}
.paras-hero__btn{display:inline-flex;align-items:center;gap:13px;padding:12px 13px 12px 26px;background:#fff;
  border-radius:100px;color:#171411 !important;text-decoration:none;font-family:var(--pi-body);font-weight:600;font-size:15px;line-height:1;
  transition:background .25s ease,color .25s ease;}
.paras-hero__btn-tx{color:#171411 !important;}
.paras-hero__btn svg{width:32px;height:32px;padding:8px;border-radius:50%;background:#b0654a;color:#fff;flex:none;transition:transform .25s ease;}
.paras-hero__btn:hover{background:#e3a463;}
.paras-hero__btn:hover svg{transform:translateX(3px);}
.paras-hero__call{display:inline-flex;align-items:center;font-family:var(--pi-body);font-size:14px;font-weight:600;
  color:#fff !important;text-decoration:none;border:1.5px solid rgba(255,255,255,.6);border-radius:100px;
  padding:12px 24px;background:rgba(18,13,9,.38);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  transition:background .25s ease,border-color .25s ease;}
.paras-hero__call:hover{background:rgba(18,13,9,.55);border-color:#fff;}
/* the theme forces content links dark with high specificity — beat it with the hero ID */
#paras-hero-home-1 .paras-hero__call,#paras-hero-home-1 .paras-hero__call:hover{color:#fff !important;}
/* legibility: subtle shadow so all overlaid text reads clearly over bright imagery */
.paras-hero .paras-hero__eyebrow,.paras-hero .paras-hero__title,.paras-hero .paras-hero__subtitle,
.paras-hero .paras-hero__stats,.paras-hero .paras-hero__call{text-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 24px rgba(0,0,0,.5);}
.paras-hero .paras-hero__call{color:#fff !important;}

/* stats row */
.paras-hero__stats{display:flex;flex-wrap:wrap;gap:28px;margin:clamp(28px,3.2vw,42px) 0 0;padding:0;list-style:none;
  font-family:var(--pi-body);font-size:13.5px;color:rgba(255,255,255,.8);}
.paras-hero__stats li{position:relative;}
.paras-hero__stats li+li::before{content:"";position:absolute;left:-14px;top:50%;width:1px;height:14px;background:rgba(255,255,255,.32);transform:translateY(-50%);}
.paras-hero__stats b{color:#fff;font-weight:600;font-size:15px;}

/* slider arrows, bottom-right */
.paras-hero__arrow{position:absolute;z-index:5;bottom:clamp(28px,4vw,48px);width:48px;height:48px;
  border:1px solid rgba(255,255,255,.35);border-radius:50%;cursor:pointer;background:rgba(255,255,255,.06);
  transition:border-color .2s ease,background .2s ease;}
.paras-hero__arrow:hover,.paras-hero__arrow:focus-visible{border-color:#e3a463;background:rgba(227,164,99,.18);outline:none;}
.paras-hero__arrow--prev{right:calc(5vw + 60px);}.paras-hero__arrow--next{right:5vw;}
.paras-hero__arrow::before{content:"";position:absolute;top:50%;left:50%;width:10px;height:10px;border-top:2px solid #fff;border-left:2px solid #fff;}
.paras-hero__arrow--prev::before{transform:translate(-30%,-50%) rotate(-45deg);}
.paras-hero__arrow--next::before{transform:translate(-70%,-50%) rotate(135deg);}

@media (prefers-reduced-motion:reduce){.paras-hero__bg,.paras-hero__slide.is-active .paras-hero__bg{transition:none;transform:none;}}

@media (max-width:820px){
  .paras-hero{height:clamp(580px,80vh,640px);}
  .paras-hero__arrow{display:none;}
  /* The header stays position:fixed on phones (theme rule), so it overlaps the
     hero's top. Bottom-anchoring then leaves a big empty band of image between
     the header and the headline. Instead, center the content in the visible area
     below the fixed header (padding-top:90px clears the ~90px header) — the tall
     content block (~460px) then sits centred with no dead space up top. */
  .paras-hero__inner{justify-content:center;padding-top:90px;padding-bottom:26px;}
}
@media (max-width:520px){
  .paras-hero__title{font-size:clamp(30px,8.6vw,42px);}
  .paras-hero__stats{gap:18px;}
}
