/**
 * Mefiat — lnwkspages block "hero" (replaces themes/lnwks/assets/css/lnwkspages/hero.css).
 * Sober campaign hero after rapha.cc: a large image under the solid white header, white text at the bottom left on a
 * light shade, square buttons. Tokens (--rg-*, --mf-*) are defined in custom.css.
 */
.lnwks-hero{
  /* Always white text on the image, whatever the page scheme */
  --rg-text:#fff;--rg-text-rgb:255,255,255;--rg-brand-2:var(--sx-red);
  position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;
  min-height:min(88svh,60rem);padding-block:6rem clamp(2.5rem,6svh,4.5rem);background:#000;color:#fff
}
@media (max-width:767.98px){.lnwks-hero{min-height:78svh;padding-bottom:2.5rem}}
.lnwks-hero__media{position:absolute;inset:0;z-index:-1}
/* Even black overlay at 30% over the whole image, under the white text */
.lnwks-hero__media::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.3)}
.lnwks-hero__image{width:100%;height:100%;object-fit:cover;object-position:center}
/* Parallax (assets/js/custom.js, html.rg-parallax; never with reduced motion): the image is 8vh taller than the hero
   and slides down as the page scrolls up, so it moves slower than the text; the overlay (::after) stays put */
.rg-parallax .lnwks-hero__image{height:calc(100% + 8vh);will-change:transform}

.lnwks-hero__inner{display:grid;gap:1rem}
.lnwks-hero--center .lnwks-hero__inner{justify-items:center;text-align:center}
.lnwks-hero__eyebrow{margin:0;font-family:var(--rg-caps);font-size:.8125rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.4}
/* ".lnwks-hero" in the selector beats ".page-content h1" (custom.css) */
.lnwks-hero .lnwks-hero__title{margin:0;font-family:var(--rg-font);font-weight:900;font-size:clamp(1.9rem,3.7vw,3.25rem);line-height:.98;letter-spacing:-.035em;text-transform:uppercase;max-width:22ch;color:#fff}
.lnwks-hero__title em{font-style:normal;color:inherit}
.lnwks-hero__text{margin:0;max-width:36rem;font-size:clamp(1rem,1.3vw,1.125rem);line-height:1.5}
.lnwks-hero__ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem}
.lnwks-hero--center .lnwks-hero__ctas{justify-content:center}
/* On the image the primary button is Sixten red (white on hover), the second one outlined in white */
.lnwks-hero .btn-primary{
  --bs-btn-color:#fff;--bs-btn-bg:var(--sx-red);--bs-btn-border-color:var(--sx-red);
  --bs-btn-hover-color:#000;--bs-btn-hover-bg:#fff;--bs-btn-hover-border-color:#fff;
  --bs-btn-active-color:#000;--bs-btn-active-bg:#fff;--bs-btn-active-border-color:#fff
}
.lnwks-hero .btn-outline-light{
  --bs-btn-color:#fff;--bs-btn-border-color:#fff;
  --bs-btn-hover-color:#000;--bs-btn-hover-bg:#fff;--bs-btn-hover-border-color:#fff;
  --bs-btn-active-color:#000;--bs-btn-active-bg:#fff;--bs-btn-active-border-color:#fff
}
/* Text link under the buttons: underlined, like the rapha.cc "Shop now" links */
.lnwks-hero__link{justify-self:start;margin-top:.25rem;font-family:var(--rg-caps);font-size:.875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#fff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.lnwks-hero__link:hover{color:#fff;text-decoration-color:var(--sx-red)}
.lnwks-hero--center .lnwks-hero__link{justify-self:center}

/* Home: the first hero fills the screen under the header bar, the whole height beside the left header column from
   1200px (--rg-header-h = 0 there, custom.css) */
.lnwks-hero--fullpage{min-height:calc(100svh - var(--rg-header-h))}
/* ... with a dark gradient at the bottom, under the text, over the 25% overlay (the page below is white) */
.lnwks-hero--fullpage .lnwks-hero__media::after{background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.6) 100%),rgba(0,0,0,.25)}
.lnwks-hero--fullpage .lnwks-hero__image{object-position:center bottom}
/* Scroll cue on the right edge, level with the bottom of the text: vertical label, then a line with a light running
   down it. Click: down to the next block (assets/js/custom.js). Not on mobile, where the buttons take the width */
.lnwks-hero__scroll{position:absolute;right:clamp(1rem,2.5vw,2.5rem);bottom:clamp(2.5rem,6svh,4.5rem);display:flex;flex-direction:column;align-items:center;gap:1rem;padding:.5rem;border:0;background:none;color:#fff;cursor:pointer}
.lnwks-hero__scroll-label{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--rg-caps);font-size:.75rem;font-weight:600;letter-spacing:.2em;line-height:1;text-transform:uppercase;transition:color .2s}
.lnwks-hero__scroll:hover .lnwks-hero__scroll-label{color:var(--sx-red)}
.lnwks-hero__scroll:focus{outline:none}
.lnwks-hero__scroll:focus-visible{outline:1px solid rgba(255,255,255,.6);outline-offset:4px}
.lnwks-hero__scroll-line{position:relative;width:1px;height:4.5rem;overflow:hidden;background:rgba(255,255,255,.3)}
.lnwks-hero__scroll-line::after{content:"";position:absolute;inset:0;background:#fff;transform:translateY(-100%);animation:lnwks-hero-scroll 2.2s cubic-bezier(.65,0,.35,1) infinite}
@keyframes lnwks-hero-scroll{0%{transform:translateY(-100%)}50%{transform:translateY(0)}100%{transform:translateY(100%)}}
@media (max-width:767.98px){.lnwks-hero__scroll{display:none}}
@media (prefers-reduced-motion:reduce){.lnwks-hero__scroll-line::after{animation:none;transform:none}}

