/* MultiPro — cinematic layer (2026-09-15, the premium pass). Loaded last, on every public page.
 * Decisions D1-D6: brainstorms/2026-09-15-multipro-premium.md. The same site, improved in place:
 * dark full-bleed image moments with golden-hour and twilight light, bigger and quieter type,
 * slow motion; the light sections stay for reading. Words are untouched.
 *
 * Gates: every hidden state is keyed on html.cine (set by cinema.js, never under reduced motion or
 * data saver) or on html.js, and every animation sits inside prefers-reduced-motion:no-preference.
 * JS-off renders a complete page; the translucent nav needs html.js because site.js makes it solid.
 */

:root{
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-cine:cubic-bezier(.22,.8,.2,1);
  --night:#07120A;
  --on-dark:#F4F2EA;
  --on-dark-soft:rgba(240,243,235,.84);
}

/* ---------- 1. type: bigger, quieter, more air ---------- */
h1,h2{font-weight:380;letter-spacing:-.022em}
h2{font-size:clamp(2.05rem,3.9vw,3.2rem);line-height:1.06}
.sec-head{margin-bottom:60px}
.sec-head p{font-size:1.08rem;max-width:58ch}
.sec-head.center p{margin-left:auto;margin-right:auto}
section.block{padding-top:clamp(88px,10vw,136px);padding-bottom:clamp(88px,10vw,136px)}
@media(max-width:600px){section.block{padding-top:68px;padding-bottom:68px}}
/* the eyebrow: a hairline in the brand blue instead of a dot, wider tracking */
.eyebrow{gap:14px;font-size:.7rem;letter-spacing:.24em}
.eyebrow::before{width:28px;height:1px;border-radius:0;background:var(--blue)}
@media(max-width:600px){.hero .eyebrow::before{margin-top:.62em;margin-top:calc((1lh - 1px) / 2)}}

/* ---------- 2. nav: translucent over the dark heroes, frosted once the page moves ---------- */
.nav{transition:background-color .5s var(--ease-cine),box-shadow .35s,border-color .35s}
.nav.solid{background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(16px);backdrop-filter:saturate(1.4) blur(16px)}
/* phones: opaque, no blur (at .97 the photographs scrolling under the header showed through it, phone pass 2026-09-15) */
@media(max-width:860px){.nav.solid{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
.brand{position:relative}
.brand .brand-night{position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:0;pointer-events:none}
.brand img{transition:height .3s ease,opacity .45s var(--ease-cine)}
html.js body.dark-top:not(.menu-open) .nav:not(.solid){background:transparent;border-color:transparent;box-shadow:none}
html.js body.dark-top:not(.menu-open) .nav:not(.solid)::before{content:"";position:absolute;inset:0 0 -48px;z-index:-1;pointer-events:none;background:linear-gradient(rgba(4,12,6,.52),rgba(4,12,6,0))}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .brand-day{opacity:0}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .brand-night{opacity:1}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .nav-links a:not(.nav-cta){color:var(--on-dark);opacity:.88}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .nav-links a:not(.nav-cta):hover,
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .nav-links a.on{color:#fff;opacity:1}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .nav-links a:not(.nav-cta)::after{background:#8FE08F}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .lang-toggle{border-color:rgba(255,255,255,.34)}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .lang-toggle button:not(.on){color:rgba(255,255,255,.78)}
html.js body.dark-top:not(.menu-open) .nav:not(.solid) .burger span{background:#fff}

/* ---------- 3. Home hero: darker, the title emerges from a mask ---------- */
.hero{min-height:100vh;min-height:100svh}
.hero-bg::after{background:
  linear-gradient(to right,rgba(5,14,8,.8) 0%,rgba(5,14,8,.5) 40%,rgba(5,14,8,.14) 72%,rgba(5,14,8,.06) 100%),
  linear-gradient(to top,rgba(5,12,7,.84) 0%,rgba(5,12,7,.28) 38%,transparent 62%),
  linear-gradient(to bottom,rgba(5,12,7,.42) 0%,transparent 24%)}
.hero-inner{padding-bottom:clamp(64px,10vh,112px)}
.hero h1{font-size:clamp(2.9rem,6.4vw,5.5rem);line-height:1;font-weight:350;letter-spacing:-.03em;max-width:12ch;margin:22px 0 24px}
.hero p.lead{color:var(--on-dark-soft);font-size:clamp(1.04rem,1.45vw,1.22rem)}
/* the three facts read as a quiet line of text, not as three more buttons */
.hero-chips{gap:8px 26px}
.hero-chips .chip{background:none;border:0;border-radius:0;padding:0;font-weight:500;font-size:.86rem;letter-spacing:.02em;color:rgba(240,243,235,.8)}
.hero-chips .chip::before{width:5px;height:5px}
@media(max-width:600px){
  /* the whole first screen, so no white strip under the film; the facts end above the chat launcher */
  .hero{min-height:100vh;min-height:100svh}
  .hero-inner{padding-bottom:104px}
  .hero-chips{display:flex;flex-wrap:wrap;gap:6px 20px}
  .hero-chips .chip{width:auto;padding:0}
}

/* ---------- 4. subpage heroes: a full-bleed picture, the title set on its dark side ---------- */
.page-hero.cine-hero{display:flex;align-items:flex-end;min-height:min(80vh,840px);padding:150px 0 clamp(56px,9vh,104px);background:var(--night);color:var(--on-dark)}
.page-hero.cine-hero.short{min-height:min(64vh,660px)}
.cine-hero .ph-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.cine-hero .ph-media picture,.cine-hero .ph-media img{display:block;width:100%;height:100%}
.cine-hero .ph-media img{object-fit:cover;object-position:62% 55%}
.cine-hero .ph-media::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(5,14,8,.82) 0%,rgba(5,14,8,.52) 38%,rgba(5,14,8,.14) 70%,rgba(5,14,8,.04) 100%),
  linear-gradient(0deg,rgba(5,12,7,.72) 0%,transparent 52%),
  linear-gradient(180deg,rgba(5,12,7,.46) 0%,transparent 26%)}
.page-hero.cine-hero .container{position:relative;z-index:2;width:100%}
.page-hero.cine-hero::after{z-index:1;color:#fff;opacity:.06}
.cine-hero .eyebrow{color:#DDEBD8}
.cine-hero .eyebrow::before{background:#5FC2F0}
.cine-hero h1{color:#fff;font-size:clamp(2.6rem,5.3vw,4.5rem);line-height:1.02;font-weight:360;letter-spacing:-.028em;max-width:15ch;margin:20px 0 20px}
.cine-hero h1 em{color:#8FE08F}
.page-hero.cine-hero p{color:var(--on-dark-soft);max-width:60ch}
@media(max-width:600px){
  .page-hero.cine-hero{min-height:600px;padding:128px 0 58px}
  .page-hero.cine-hero.short{min-height:500px}
  .page-hero.cine-hero p{font-size:1rem;line-height:1.62}
  .cine-hero .ph-media img{object-position:50% 50%}
  .cine-hero .ph-media::after{background:linear-gradient(0deg,rgba(5,12,7,.9) 0%,rgba(5,12,7,.62) 46%,rgba(5,12,7,.3) 76%,rgba(5,12,7,.5) 100%)}
}
/* "illustration" on every generated picture; their own work is only ever shown in their photos */
.ph-tag{position:absolute;right:18px;bottom:14px;z-index:3;font-size:.62rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6);pointer-events:none;text-shadow:0 1px 6px rgba(0,0,0,.4)}
@media(max-width:600px){.ph-tag{right:14px;bottom:12px;font-size:.62rem}}

/* ---------- 5. the seasons band: one full-bleed picture, the text on its dark side ---------- */
.seasons.cine-band{display:flex;align-items:center;min-height:min(88vh,880px);margin:clamp(72px,9vw,128px) 0 0;padding:clamp(96px,12vw,160px) 0;border-radius:0;background:var(--night)}
.cine-band .band-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.cine-band .band-media picture,.cine-band .band-media img{display:block;width:100%;height:100%}
.cine-band .band-media img{object-fit:cover;object-position:42% 50%}
.cine-band .band-media::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(5,14,8,.88) 0%,rgba(5,14,8,.64) 36%,rgba(5,14,8,.22) 68%,rgba(5,14,8,.1) 100%),
  linear-gradient(0deg,rgba(5,12,7,.5) 0%,transparent 42%)}
.seasons.cine-band>.container{position:relative;z-index:2;width:100%}
.seasons.cine-band .seasons-txt{padding:0;max-width:600px}
.seasons.cine-band h2{font-size:clamp(2.3rem,4.6vw,3.8rem);line-height:1.02}
.seasons.cine-band p{color:var(--on-dark-soft)}
@media(max-width:600px){
  /* no top margin: the section before already ends on its own padding, and the two made 140 px of empty white */
  .seasons.cine-band{min-height:0;padding:92px 0 84px;border-radius:0;margin-top:0}
  .seasons.cine-band .seasons-txt{padding:0}
  .cine-band .band-media img{object-position:50% 50%}
  .cine-band .band-media::after{background:linear-gradient(0deg,rgba(5,14,8,.92) 0%,rgba(5,14,8,.74) 52%,rgba(5,14,8,.52) 100%)}
}

/* ---------- 6. the CTA band: the same card, now a twilight picture behind the words ---------- */
.cta-band.cine-cta{padding:clamp(96px,11vw,150px) clamp(24px,5vw,64px);background:var(--night)}
.cta-band.cine-cta::before{display:none}
.cta-band>.band-media{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit}
.cine-cta .band-media img{display:block;width:100%;height:100%;object-fit:cover}
.cine-cta .band-media::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 95% at 50% 50%,rgba(5,14,8,.76) 0%,rgba(5,14,8,.6) 52%,rgba(5,14,8,.44) 100%)}
.cine-cta h2{font-size:clamp(2.1rem,4.1vw,3.3rem);line-height:1.04;max-width:21ch;margin-left:auto;margin-right:auto}
.cine-cta p{color:var(--on-dark-soft)}
@media(max-width:600px){.cta-band.cine-cta{padding:72px 22px}}
/* drift headroom (cinema.js moves these by at most 7 % of the band's height) */
html.cine-px .cine-band .band-media img,html.cine-px .cine-cta .band-media img{scale:1.16}

/* ---------- 7. Home service cards: picture first, no box ---------- */
.svc{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.svc:hover{transform:none;box-shadow:none}
html.mo .svc::after{display:none}
.svc-img{border-radius:20px;aspect-ratio:4/4.2;box-shadow:0 18px 44px -24px rgba(15,46,22,.45)}
.svc-grid>.svc:nth-child(4) .svc-img,.svc-grid>.svc:nth-child(5) .svc-img{aspect-ratio:16/10}
.svc-img::after{background:linear-gradient(to top,rgba(5,14,8,.34),transparent 50%);opacity:1;transition:opacity .9s var(--ease-cine)}
.svc-img img{transition:transform 1.4s var(--ease-cine)}
.svc-body{padding:24px 2px 0}
.svc h3{font-size:1.42rem;font-weight:420;letter-spacing:-.01em}
/* crops that keep the work and lose the sky and the truck: their own phone photos, framed, nothing altered */
.svc-grid>.svc:nth-child(1) .svc-img img{object-position:50% 78%}
.svc-grid>.svc:nth-child(3) .svc-img img{object-position:88% 70%}
.svc-grid>.svc:nth-child(5) .svc-img img{object-position:50% 72%}
@media(hover:hover){
  .svc:hover .svc-img::after{opacity:1;background:linear-gradient(to top,rgba(5,14,8,.62),rgba(5,14,8,.12) 70%)}
  .svc:hover .svc-img img{transform:scale(1.06)}
  .svc-row .img img{transition:transform 1.4s var(--ease-cine)}
  .svc-row:hover .img img{transform:scale(1.04)}
  .gal-grid img{transition:transform 1.2s var(--ease-cine)}
  .gal-grid figure:hover img{transform:scale(1.05)}
}
@media(max-width:600px){.svc-img,.svc-grid>.svc:nth-child(4) .svc-img,.svc-grid>.svc:nth-child(5) .svc-img{aspect-ratio:4/3.3}}

/* ---------- 8. reveals: one slow language ----------
   The blur-in retires; blocks rise, titles rise word by word behind their masks, pictures open
   from a clip and settle from a slight scale. */
@keyframes cineUp{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
@keyframes cineFade{from{opacity:0}to{opacity:1}}
@keyframes cineWord{from{transform:translateY(112%)}to{transform:none}}
@keyframes cineMask{from{opacity:0;clip-path:inset(100% -8% -20% -8%);transform:translateY(40px)}25%{opacity:1}to{opacity:1;clip-path:inset(-20% -8% -20% -8%);transform:none}}
@keyframes cineClip{from{clip-path:inset(20% 0 0 0)}to{clip-path:inset(0)}}
@keyframes cineSettle{from{transform:scale(1.14)}to{transform:scale(1)}}
h2.split .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em .12em .14em 0;margin:-.1em -.12em -.14em 0}
h2.split .wi{display:inline-block}
html.cine .rv:not(.in) h2.split .wi,html.cine h2.split.rv:not(.in) .wi{transform:translateY(112%)}
@media(prefers-reduced-motion:no-preference){
  html.js .rv.in{animation-name:cineUp;animation-duration:1.15s;animation-timing-function:var(--ease-out)}
  html.cine .sec-head.rv.in,html.cine .cta-band.rv.in,html.cine .seasons-txt.rv.in,html.cine .tx-band.rv.in,html.cine h2.split.rv.in{animation-name:cineFade;animation-duration:.9s}
  html.cine .rv.in h2.split .wi,html.cine h2.split.rv.in .wi{animation:cineWord 1.1s var(--ease-out) both;animation-delay:calc(var(--ln, 0) * 110ms + 100ms)}
  html.js .hero h1,html.js .page-hero.cine-hero h1{animation:cineMask 1.5s var(--ease-out) .16s both}
  html.js .hero p.lead,html.js .page-hero.cine-hero p{animation-delay:.62s}
  html.js .hero-actions{animation-delay:.8s}
  html.js .hero-chips{animation-delay:.98s}
  html.js .cine-hero .ph-media img{animation:cineSettle 2.8s var(--ease-out) both}
  html.cine .svc.rv.in .svc-img,html.cine .svc-row.rv.in .img{animation:cineClip 1.5s var(--ease-out) both;animation-delay:calc(var(--i, 0) * 95ms)}
  html.cine .svc.rv.in .svc-img img,html.cine .svc-row.rv.in .img img{animation:cineSettle 1.9s var(--ease-out) backwards;animation-delay:calc(var(--i, 0) * 95ms)}
}

/* ---------- 9. smooth scroll (Lenis): nothing smooths underneath it ----------
   Keyed on html.lenis, not .lenis-smooth: Lenis sets lenis-smooth only while it animates, so at rest site.css's
   scroll-behavior:smooth came back and every programmatic scroll was smoothed twice (probe, 2026-09-15). */
html.lenis,html.lenis body{height:auto}
html.lenis{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:clip}

/* ---------- 10. phones (2026-09-15, before the deploy) ----------
   The phone gets the same pass. The menu becomes a night room with the header dark over it (the night logo is on every
   page with a menu), the CTA pictures take their portrait crop, small tap targets grow without moving the layout,
   and the footer leaves room for the chat launcher. */
.cine-cta .band-media picture{display:block;width:100%;height:100%}
@media(max-width:860px){
  .mobile-menu{overflow-y:auto;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-backdrop-filter:none;backdrop-filter:none;
    background:radial-gradient(110% 60% at 92% 0%,rgba(40,112,52,.34),transparent 62%),radial-gradient(90% 50% at 0% 100%,rgba(26,92,140,.15),transparent 60%),var(--night);
    transition:opacity .45s var(--ease-cine),visibility 0s linear .45s}
  .mobile-menu.open{visibility:visible;transition:opacity .45s var(--ease-cine),visibility 0s}
  .mobile-menu nav{counter-reset:mm;gap:0;padding:116px 28px calc(44px + env(safe-area-inset-bottom,0px))}
  .mobile-menu nav>a:not(.nav-cta){counter-increment:mm;display:flex;align-items:baseline;gap:18px;padding:16px 0;font-size:clamp(1.9rem,8.4vw,2.45rem);font-weight:360;line-height:1.08;letter-spacing:-.02em;color:var(--on-dark);border-bottom:1px solid rgba(240,243,235,.1)}
  .mobile-menu nav>a:not(.nav-cta)::before{content:counter(mm,decimal-leading-zero);flex:none;width:24px;font-family:var(--body);font-size:.66rem;font-weight:600;letter-spacing:.14em;color:rgba(240,243,235,.4)}
  .mobile-menu nav>a.on,.mobile-menu nav>a.on::before{color:#8FE08F}
  .mobile-menu .nav-cta{display:flex;align-items:center;justify-content:center;min-height:56px;margin-top:36px;font-family:var(--body);font-weight:600;font-size:1rem;letter-spacing:.01em}
  .mobile-menu .lang-toggle{margin-top:22px;border-color:rgba(240,243,235,.26)}
  .mobile-menu .lang-toggle button{min-width:54px;min-height:42px;font-size:.82rem}
  .mobile-menu .lang-toggle button:not(.on){color:rgba(240,243,235,.76)}
  body.menu-open .nav,body.menu-open .nav.solid{background:transparent;border-color:transparent;box-shadow:none}
  body.menu-open .nav .brand-day{opacity:0}
  body.menu-open .nav .brand-night{opacity:1}
  body.menu-open .nav .burger span{background:#fff}
}
@media(max-width:860px) and (prefers-reduced-motion:no-preference){
  .mobile-menu nav>*{opacity:0;transform:translateY(18px);transition:opacity .45s var(--ease-out),transform .8s var(--ease-out)}
  .mobile-menu.open nav>*{opacity:1;transform:none}
  .mobile-menu.open nav>:nth-child(1){transition-delay:.08s}
  .mobile-menu.open nav>:nth-child(2){transition-delay:.13s}
  .mobile-menu.open nav>:nth-child(3){transition-delay:.18s}
  .mobile-menu.open nav>:nth-child(4){transition-delay:.23s}
  .mobile-menu.open nav>:nth-child(5){transition-delay:.28s}
  .mobile-menu.open nav>:nth-child(6){transition-delay:.36s}
  .mobile-menu.open nav>:nth-child(7){transition-delay:.42s}
}
@media(max-width:600px){
  /* hit areas: a pseudo-element grows the target, so nothing on the page moves */
  .ccard a,.av-on{position:relative}
  .ccard a::after{content:"";position:absolute;left:0;right:0;top:-8px;bottom:-8px}
  .av-on::after{content:"";position:absolute;left:-10px;right:-10px;top:-12px;bottom:-12px}
  footer{padding-bottom:104px}
}
