/* logo-consulting (26 Nov 2026, VSA via Thea): preview only.
   1) Lockup colours: A V S black, CONSULTING silver, motto black (light grounds).
      Dark footer keeps ivory A V S + motto (black would vanish) with light silver CONSULTING.
   2) Site-wide size-up for VSA's very large screen: one root token (--lc-root) scales every rem-based size
      (body, labels, nav, buttons, footer, inner pages, About panel, loader) with a vw middle term, so it keeps
      growing past 2560 px; mobile stays near 16-17 px. Weights go one to two real steps heavier via tokens.
      Layout, photos (incl. the founder photo), colours and motion unchanged. */

:root{
  --lc-black:#000;
  --lc-silver:#6f7379;          /* solid fallback: 3.3:1 on #d4d7db header grey, 4.8:1 on white */
  --lc-silver-metal:linear-gradient(180deg,#80848a 0%,#6f7379 45%,#5e6268 70%,#74787e 100%);
  --lc-silver-light:#bfc3c8;    /* on charcoal footer: 9.6:1 */
}

/* ---------- 1. Lockup colours ---------- */
.site-header .brand-lockup .brand-avs,
.site-header .brand-logo.brand-lockup .brand-slogan,
.brand-lockup:not(.is-ivory) .brand-avs,
.brand-lockup:not(.is-ivory) .brand-slogan,
.site-intro .site-intro-avs,
.site-intro .site-intro-motto{
  color:var(--lc-black) !important;
}
.site-header .brand-lockup .brand-sub,
.brand-lockup:not(.is-ivory) .brand-sub,
.site-intro .site-intro-sub{
  color:var(--lc-silver) !important;
}
.site-header .brand-lockup .brand-sub,
.brand-lockup:not(.is-ivory) .brand-sub{
  opacity:1 !important;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .site-header .brand-lockup .brand-sub,
  .brand-lockup:not(.is-ivory) .brand-sub,
  .site-intro .site-intro-sub{
    background-image:var(--lc-silver-metal);
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;
  }
}
.brand-lockup.is-ivory .brand-sub{color:var(--lc-silver-light) !important;opacity:1 !important}
/* intro: end states fully opaque so the colours read true */
@keyframes site-intro-sub{from{opacity:0;transform:translate3d(0,4px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes site-intro-motto{from{opacity:0;transform:translate3d(0,4px,0)}to{opacity:1;transform:translate3d(0,0,0)}}

/* ---------- 2. Site-wide tokens ---------- */
:root{
  --lc-root:clamp(17px, .45vw + 12.5px, 32px);   /* was 16px everywhere. 393: 17 | 1280: 18.3 | 1920: 21.1 | 2560: 24 | 3440: 28 */
  --lc-w-body:500;      /* was 300-400 (Manrope variable) */
  --lc-w-label:650;     /* was 500 (kickers, eyebrows, roles, nav, small caps labels) */
  --lc-w-btn:750;       /* was 500-600 */
  --lc-w-serif:560;     /* was 500 (EB Garamond variable headings) */
}
html{font-size:var(--lc-root)}
html body{font-weight:var(--lc-w-body)}
html body p,html body li,html body dd,html body dt,html body td,html body th,html body label,html body figcaption,
html body input,html body select,html body textarea,html body address,html body small,html body summary{font-weight:var(--lc-w-body) !important}
html body h1,html body h2,html body h4,html body .serif{font-weight:var(--lc-w-serif) !important}
/* headings that were already 600 go one step further */
html body h3,html body .svc-title,html body .svc-hero h1,html body .svc-section h2,html body .svc-how h2,html body .svc-about h2,
html body .svc-faq h2,html body .svc-related h2,html body .how-network h3{font-weight:650 !important}
html body .svc-link{font-weight:700}
html body .kicker,html body .role,html body .founder-meta,html body .eyebrow,html body [class*="kicker"],html body .svc-index,html body .crumbs,
html body .footer-services-title,html body .lang,html body .lang button,html body .nav-toggle,html body .header-enquire,
html body .site-header .nav a,html body .about-panel .role{font-weight:var(--lc-w-label) !important}
html body .btn,html body button[type="submit"]{font-weight:var(--lc-w-btn) !important}
/* footer lockup follows the root scale (was 13px fixed) */
.footer-brand .brand-lockup,.footer-logo.brand-lockup{--lk:.72rem}
.footer-logo.brand-lockup .brand-avs{font-weight:500 !important}
.footer-logo.brand-lockup .brand-slogan{font-weight:500 !important}

/* ---------- 3. Header lockup ---------- */
.site-header .brand-lockup{--lk:clamp(19px, .55vw + 13px, 36px)}          /* was 16px (1280: 20px, 1920: 23.6px, 2560: 27px) */
@media (max-width:799px){.site-header .brand-lockup{--lk:clamp(13px, 3.4vw, 15px)}} /* was 12px (iPhone 15: 13.4px) */
.site-header .brand-lockup .brand-avs{font-weight:500 !important}                    /* was 400 (Newsreader variable) */
.site-header .brand-logo.brand-lockup .brand-slogan{font-weight:500 !important}      /* was 400 (EB Garamond italic variable) */
.site-intro .site-intro-avs,.site-intro .site-intro-motto{font-weight:500 !important} /* loader matches header */
@media (min-width:800px){
  html body .site-header .nav a{font-size:.8rem !important}                /* was .72rem of 16px = 11.5px */
}

/* ---------- 4. Home hero (rem now follows --lc-root) ---------- */
html body .hero-bleed .hero-copy{max-width:min(40rem, calc(100% - (var(--pad) * 2))) !important}   /* was min(42rem@16px, ...) */
html body .hero-bleed .hero-copy h1#hero-title{
  font-size:3rem !important;              /* was 52.5px @1280, 59.2px @1920+; now 54.8 / 63.3 / 72px (VSA: headline holds up, grow only slightly) */
  max-width:15.5em !important;
}
html body .hero-bleed .hero-copy .hero-intro{font-size:1.06rem !important;max-width:34em !important}  /* was 16 / 17.6px */
html body .hero-bleed .hero-actions{gap:.8em .9em}
html body .hero-bleed .hero-actions .btn{font-size:.79rem !important;padding:1.2em 1.75em !important}  /* was 11.84px */
html body .hero .hero-track-switch{max-width:min(60rem, calc(100% - 2 * var(--pad)))}
html body .hero .hero-track-switch-kicker{font-size:.65rem !important}                                  /* was 9.9px */
html body .hero .hero-track-switch-btn{font-size:1rem !important;font-weight:620 !important;padding:.38em .82em !important;min-height:max(36px, 2.1em) !important} /* was 15.2px / 500 */
html body .hero .hero-sound-label{font-size:.68rem !important;font-weight:650 !important}                                          /* was 10.6px */
@media (min-width:800px){
  html body .hero .hero-track-switch{right:calc(var(--pad) + 2.75rem + 5.9 * .68rem) !important}
  html[lang^="de"] body .hero .hero-track-switch{right:calc(var(--pad) + 2.75rem + 4.3 * .68rem) !important} /* 'Ton' is shorter than 'Sound' */
  html body .hero .hero-sound{min-height:max(44px, 3.4em);font-size:.68rem}
  html body .hero .hero-sound-icon{width:1.5em !important;height:1.5em !important}
}

/* ---------- 5. Mobile ---------- */
@media (max-width:799px){
  html body .hero-bleed .hero-copy h1#hero-title{font-size:clamp(2.1rem, 9.4vw, 2.7rem) !important} /* was 33px @393 -> 36.9px */
  html body .hero-bleed .hero-copy .hero-intro{font-size:1.04rem !important;max-width:none !important} /* was 16px -> 17.7px */
  html body .hero-bleed .hero-actions .btn{font-size:.85rem !important;padding:1.05em 1.5em !important}  /* was 11.84px -> 14.5px */
  html body .nav-music-slot .hero-track-switch-btn{font-size:.9rem !important;font-weight:600 !important}
}

/* ---------- 6. Loader (#site-intro): standing rule, must ship on every page ---------- */
/* Reduced motion: shown static (no animation), text fully visible, then hidden by JS after load. */
@media (prefers-reduced-motion:reduce){
  .site-intro .site-intro-avs,.site-intro .site-intro-sub,.site-intro .site-intro-motto{opacity:1 !important;transform:none !important;animation:none !important}
}
/* CSS-only safety net if JS never runs: fade the loader away after 6 s and release scrolling. */
html.intro-pending .site-intro:not(.is-out){animation:lc-intro-failsafe .5s ease 6s forwards}
html.intro-pending{animation:lc-intro-unlock 0s linear 6.5s forwards}
@keyframes lc-intro-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
@keyframes lc-intro-unlock{to{overflow:auto}}

/* ---------- 7. Hero vertical fit (rem paddings grew with --lc-root) ---------- */
@media (min-width:800px){
  html body[data-page="home"] .hero-bleed .hero-copy,
  html[lang="de-CH"] body[data-page="home"] .hero-bleed .hero-copy{padding-bottom:clamp(8.5rem, 14vh + 3rem, 13rem) !important} /* was 12.25rem / 13.5rem DE of 16px */
}
@media (min-width:800px) and (max-height:800px){
  html body .hero-bleed .hero-copy h1#hero-title{font-size:max(2.5rem, min(3rem, calc(2.5rem + (100vh - 720px) * .15))) !important} /* short laptop screens */
  html body .hero-bleed .hero-copy .hero-intro{font-size:.98rem !important}
  html body[data-page="home"] .hero-bleed .hero-copy,
  html[lang="de-CH"] body[data-page="home"] .hero-bleed .hero-copy{padding-bottom:7.5rem !important}
}

/* ---------- 8. One unified opening (matches the hero-opening line: one lockup, curtain lifts, page rises) ---------- */
/* The lockup moves as ONE group: no per-line stagger. */
/* r5b: do not freeze opacity/animation while the aman first-load choreography runs. */
html:not(.intro-pending) .site-intro .site-intro-avs,
html:not(.intro-pending) .site-intro .site-intro-sub,
html:not(.intro-pending) .site-intro .site-intro-motto{opacity:1 !important;transform:none !important;animation:none !important;filter:none}
.site-intro{will-change:transform,opacity;transform:translate3d(0,0,0)}
@media (prefers-reduced-motion:no-preference){
  .site-intro-inner{opacity:0}
  .site-intro.is-run .site-intro-inner{animation:lc-lockup-in .7s cubic-bezier(.16,1,.3,1) both}
  /* A (default) curtain: lockup lifts away, the grey page slides up like the old hero-opening curtain */
  .site-intro.is-out{animation:lc-curtain-up .62s cubic-bezier(.65,0,.35,1) .05s both !important}
  .site-intro.is-out .site-intro-inner{animation:lc-lockup-out .45s cubic-bezier(.4,0,.2,1) both}
  /* B (?introstyle=dissolve): lockup expands softly and the loader dissolves in place */
  html[data-intro-style="dissolve"] .site-intro.is-out{animation:lc-dissolve .55s cubic-bezier(.4,0,.2,1) .08s both !important}
  html[data-intro-style="dissolve"] .site-intro.is-out .site-intro-inner{animation:lc-lockup-dissolve .8s cubic-bezier(.22,1,.36,1) both}

  /* Page entrance: kept in final layout (opacity/transform only), so nothing reflows. */
  html.intro-pending .site-header,html.intro-pending .hero-copy,html.intro-pending .hero-track-switch,
  html.intro-pending .hero-sound,html.intro-pending main > .page-hero,html.intro-pending .nav-music-slot{opacity:0;transform:translate3d(0,16px,0)}
  html.intro-enter .site-header,html.intro-enter .hero-copy,html.intro-enter .hero-track-switch,
  html.intro-enter .hero-sound,html.intro-enter main > .page-hero{animation:lc-page-in 1s cubic-bezier(.22,1,.36,1) .3s both}
  html[data-intro-style="dissolve"].intro-enter .site-header,html[data-intro-style="dissolve"].intro-enter .hero-copy,
  html[data-intro-style="dissolve"].intro-enter .hero-track-switch,html[data-intro-style="dissolve"].intro-enter .hero-sound,
  html[data-intro-style="dissolve"].intro-enter main > .page-hero{animation-delay:.2s}
}
@keyframes lc-lockup-in{from{opacity:0;transform:translate3d(0,12px,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes lc-lockup-out{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(0,-14px,0)}}
@keyframes lc-curtain-up{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-100%,0);visibility:hidden}}
@keyframes lc-dissolve{from{opacity:1}to{opacity:0;visibility:hidden}}
@keyframes lc-lockup-dissolve{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}
@keyframes lc-page-in{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
/* CSS-only failsafe for the page entrance too (JS never ran): float the page in after 6 s */
@media (prefers-reduced-motion:no-preference){
  html.intro-pending .site-header,html.intro-pending .hero-copy,html.intro-pending .hero-track-switch,
  html.intro-pending .hero-sound,html.intro-pending main > .page-hero{animation:lc-page-in .8s cubic-bezier(.22,1,.36,1) 6.1s both}
}

/* 9. Mobile hero reframe (round 3, 27 Nov 2026). Portrait phones: the lake frame sits fully below the
   header (whole portrait crop: peaks, boat and its reflection visible), fades through drifting fog
   into the page grey, and the copy sits on that fog in the site black. Same image/video files. */
@media (max-width:599px) and (orientation:portrait){
  body[data-page="home"] .hero-bleed{--hv-h:min(150vw, max(128vw, calc(100svh - var(--header) - 8.5rem)))}
  body[data-page="home"] .hero-block,
  body[data-page="home"] .hero.hero-bleed{min-height:0!important;height:auto!important}
  body[data-page="home"] .hero.hero-bleed{display:flex!important;flex-direction:column;justify-content:flex-start;align-items:stretch;
    padding:0 0 3.2rem!important;background:#d4d7db}
  body[data-page="home"] .hero-bleed .hero-visual{top:var(--header)!important;bottom:auto!important;height:var(--hv-h)!important;overflow:hidden}
  body[data-page="home"] .hero-bleed .hero-video,
  body[data-page="home"] .hero-bleed .hero-frame-still img{object-position:58% 32%!important}
  body[data-page="home"] .hero-bleed .hero-veil{top:var(--header)!important;bottom:auto!important;height:calc(var(--hv-h) + 1px)!important;
    background:linear-gradient(180deg,rgba(212,215,219,0) 0%,rgba(212,215,219,0) 72%,rgba(212,215,219,.45) 86%,rgba(212,215,219,.9) 95%,#d4d7db 100%)!important}
  body[data-page="home"] .hero-bleed::after{display:none!important}
  body[data-page="home"] .hero-bleed .hero-fog{top:calc(var(--header) + var(--hv-h) - 9rem);bottom:auto;height:12rem}
  html body[data-page="home"] .hero.hero-bleed .hero-copy{position:relative;margin:calc(var(--header) + var(--hv-h) - 4.2rem) var(--pad) 0!important;
    padding:0!important;max-width:none!important;width:auto!important;z-index:2}
  body[data-page="home"] .hero-bleed #hero-title,
  body[data-page="home"] .hero-bleed .hero-intro{color:#0b0b0c!important;text-shadow:none!important}
  body[data-page="home"] .hero-bleed .hero-intro{color:#1b1c1e!important}
  body[data-page="home"] .hero-bleed .btn-primary{background:#0b0b0c!important;color:#f5f4f2!important;border-color:#0b0b0c!important}
  body[data-page="home"] .hero-bleed .btn-secondary{background:transparent!important;color:#0b0b0c!important;border-color:rgba(11,11,12,.55)!important}
}

/* 10. Scan entrance (round 3, 27 Nov 2026; default, html[data-intro-style="scan"]). Matches the silver
   light sweep of warm-pose 6b082d13 (.ho-sweep: 105deg white .28 / silver .18 band, left to right,
   power2.inOut) but as a reveal: a thin pearl line crosses the lockup from left to right and the
   logo exists only behind it. One panel the colour of the loader (#d4d7db) carries the line and a
   faint scan-lined trail; it moves with transform only, clipped by the lockup box. Then the loader
   fades and the page floats in exactly as in round 2. Curtain stays as ?introstyle=curtain. */
.site-intro-inner{position:relative}
@media (prefers-reduced-motion:no-preference){
  html[data-intro-style="scan"] .site-intro-inner{opacity:1;overflow:hidden;padding:1.3em 1.4em;margin:-1.3em -1.4em;
    animation:none!important;contain:paint}
  html[data-intro-style="scan"] .site-intro-inner::after{content:"";position:absolute;top:0;bottom:0;left:-34%;width:134%;
    pointer-events:none;will-change:transform;transform:translate3d(-2%,0,0);
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 1em,#000 calc(100% - 1em),transparent 100%);
            mask-image:linear-gradient(180deg,transparent 0,#000 1em,#000 calc(100% - 1em),transparent 100%);
    background:
      linear-gradient(90deg,
        rgba(244,243,240,0) 0%,
        rgba(244,243,240,.1) 9%,
        rgba(244,243,240,.24) 18%,
        rgba(152,155,159,.16) 22%,
        rgba(139,128,100,.20) 24.6%,
        rgba(255,255,255,.96) 25.25%,
        rgba(255,255,255,.96) 25.6%,
        rgba(236,236,233,.9) 25.9%,
        #d4d7db 27.2%,
        #d4d7db 100%)}
  html[data-intro-style="scan"] .site-intro.is-run .site-intro-inner::after{animation:lc-scan .85s cubic-bezier(.62,0,.28,1) .08s both}
  html[data-intro-style="scan"] .site-intro.is-out{animation:lc-scan-out .75s cubic-bezier(.4,0,.2,1) both!important}
  html[data-intro-style="scan"] .site-intro.is-out .site-intro-inner{animation:none!important}
  html[data-intro-style="scan"].intro-enter .site-header,html[data-intro-style="scan"].intro-enter .hero-copy,
  html[data-intro-style="scan"].intro-enter .hero-track-switch,html[data-intro-style="scan"].intro-enter .hero-sound,
  html[data-intro-style="scan"].intro-enter main > .page-hero{animation-delay:.15s}
}
@keyframes lc-scan{from{transform:translate3d(-2%,0,0)}to{transform:translate3d(100%,0,0)}}
@keyframes lc-scan-out{from{opacity:1}to{opacity:0;visibility:hidden}}
/* reduced motion: the lockup is static and the loader simply fades */
@media (prefers-reduced-motion:reduce){
  .site-intro.is-out{animation:lc-scan-out .4s ease both!important}
  .site-intro-inner::after{display:none!important}
}

/* 11. Bug pass (round 3): replaces a blocked inline style attribute on 404 / thanks pages (CSP style-src self) */
.lc-mt-15{margin-top:1.5rem}
/* Bug pass (round 3): DE header at 400–479px overflowed by ~33px (longer motto + "Anfrage" + "Menü").
   Below 480px the DE header keeps language + menu; "Anfrage" stays in the menu and the hero CTA. */
@media (max-width:479px){html[lang|="de"] .site-header .header-enquire{display:none!important}}
/* axe (round 3): small grey labels on #d4d7db lifted to >= 4.5:1 (#55585d = 4.95:1). CONSULTING silver unchanged (VSA-approved). */
.crumbs,.crumbs a,.crumbs [aria-current="page"],.page-hero > .kicker,.svc-motto{color:#55585d!important}


/* ---------- 12. Round 4 motion (27 Nov 2026): faster scan, lockup FLIP handoff,
   calm first-page entrance, two iPhone first-screens. Preview only. ---------- */

/* Ground is a ::before so the lockup can fly to the header without inheriting a fade. */
.site-intro{background:transparent !important}
.site-intro::before{content:"";position:absolute;inset:0;background:#d4d7db;z-index:0;pointer-events:none}
.site-intro-inner,.site-intro-skip{position:relative;z-index:1}
.site-intro-lockup{display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1}
.site-intro-lockup.is-flying{margin:0 !important}

@media (prefers-reduced-motion:no-preference){
  /* Scan line: noticeably faster, same pearl concept, slightly snappier S-curve. */
  html[data-intro-style="scan"] .site-intro.is-run .site-intro-inner::after{animation:lc-scan .85s cubic-bezier(.62,0,.28,1) .08s both!important}

  /* During handoff: ground fades (scan/dissolve) or slides up (curtain). Lockup is on body. */
  html[data-intro-style="scan"] .site-intro.is-handoff::before,
  html[data-intro-style="dissolve"] .site-intro.is-handoff::before{animation:lc-scan-out .55s cubic-bezier(.4,0,.2,1) .08s both}
  html[data-intro-style="curtain"] .site-intro.is-handoff::before{animation:lc-curtain-up .62s cubic-bezier(.65,0,.35,1) .05s both}
  .site-intro.is-handoff .site-intro-skip{animation:lc-scan-out .3s ease both}
  .site-intro.is-handoff .site-intro-inner{animation:none!important}
  html[data-intro-style="scan"] .site-intro.is-handoff.is-out,
  html[data-intro-style="curtain"] .site-intro.is-handoff.is-out,
  html[data-intro-style="dissolve"] .site-intro.is-handoff.is-out{animation:none!important;opacity:1;visibility:visible;pointer-events:none;background:transparent!important}
  html[data-intro-style="scan"] .site-intro.is-handoff.is-out .site-intro-inner,
  html[data-intro-style="curtain"] .site-intro.is-handoff.is-out .site-intro-inner,
  html[data-intro-style="dissolve"] .site-intro.is-handoff.is-out .site-intro-inner{animation:none!important;opacity:0}

  /* Header stays in its final box so the handoff can be measured at 0px.
     Only the lockup is hidden until the flying mark lands. */
  html.intro-pending .site-header,
  html.intro-enter .site-header,
  html[data-intro-style="scan"].intro-enter .site-header,
  html[data-intro-style="dissolve"].intro-enter .site-header{opacity:1!important;transform:none!important;animation:none!important;filter:none!important}
  html.intro-pending .site-header .brand-lockup,
  html.intro-handoff:not(.intro-lockup-on) .site-header .brand-lockup{opacity:0!important;visibility:hidden}
  html.intro-lockup-on .site-header .brand-lockup{opacity:1!important;visibility:visible}

  /* Cancel the old one-block page float (it moved the header 16px and hid the whole copy). */
  html.intro-pending .hero-copy,
  html.intro-enter .hero-copy,
  html[data-intro-style="scan"].intro-enter .hero-copy,
  html[data-intro-style="dissolve"].intro-enter .hero-copy{opacity:1!important;transform:none!important;animation:none!important;filter:none!important}

  html.intro-pending .site-header .nav,
  html.intro-pending .site-header .header-tools,
  html.intro-pending .hero-track-switch,
  html.intro-pending .hero-sound,
  html.intro-pending main > .page-hero,
  html.intro-pending .nav-music-slot{opacity:0;transform:translate3d(0,8px,0);filter:none}

  /* Headline: masked line reveal + slight blur-to-sharp, expo-out, no bounce.
     References: Apple product typography, Rolex/Cartier restraint, GSAP expo.out clip reveals. */
  .lc-line{display:block;overflow:hidden}
  .lc-line-inner{display:block;will-change:transform,opacity,filter}
  html.intro-pending #hero-title{opacity:0}
  html.intro-pending #hero-title:has(.lc-line){opacity:1}
  html.intro-pending #hero-title .lc-line-inner{transform:translate3d(0,110%,0);filter:blur(8px);opacity:0}
  html.intro-pending .hero-intro,
  html.intro-pending .hero-actions{opacity:0;transform:translate3d(0,12px,0);filter:blur(6px)}

  html.intro-enter #hero-title{opacity:1}
  html.intro-enter #hero-title .lc-line-inner{animation:lc-line-in .82s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s + (var(--lc-i,0) * 70ms))}
  html.intro-enter .hero-intro{animation:lc-soft-in .7s cubic-bezier(.25,1,.5,1) .28s both}
  html.intro-enter .hero-actions{animation:lc-soft-in .6s cubic-bezier(.25,1,.5,1) .38s both}
  html.intro-enter .hero-sound,
  html.intro-enter .hero-track-switch{animation:lc-soft-in .55s cubic-bezier(.25,1,.5,1) .46s both}
  html.intro-enter .site-header .nav,
  html.intro-enter .site-header .header-tools,
  html.intro-enter main > .page-hero,
  html.intro-enter .nav-music-slot{animation:lc-nav-in .5s cubic-bezier(.25,1,.5,1) .18s both}

  /* CSS-only failsafe if JS never hands off */
  html.intro-pending .site-header .nav,
  html.intro-pending .site-header .header-tools,
  html.intro-pending .site-header .brand-lockup,
  html.intro-pending #hero-title,
  html.intro-pending #hero-title .lc-line-inner,
  html.intro-pending .hero-intro,
  html.intro-pending .hero-actions,
  html.intro-pending .hero-sound,
  html.intro-pending .hero-track-switch,
  html.intro-pending main > .page-hero{animation:lc-failsafe-show .45s ease 6.1s forwards}
}
@keyframes lc-line-in{from{opacity:0;transform:translate3d(0,110%,0);filter:blur(8px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes lc-soft-in{from{opacity:0;transform:translate3d(0,12px,0);filter:blur(6px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes lc-nav-in{from{opacity:0;transform:translate3d(0,6px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes lc-failsafe-show{to{opacity:1;transform:none;filter:none;visibility:visible}}

/* iPhone first screen, version B (default): headline + buttons inside the first 393×852,
   with a shorter but still generous lake crop (peaks, boat, reflection kept). */
@media (max-width:599px) and (orientation:portrait){
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed{--hv-h:min(108vw, max(96vw, calc(100svh - var(--header) - 13.5rem)))}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-video,
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-frame-still img{object-position:58% 28%!important}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero.hero-bleed .hero-copy{margin:calc(var(--header) + var(--hv-h) - 3.2rem) var(--pad) 0!important;padding:0 0 1.15rem!important}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-fog{top:calc(var(--header) + var(--hv-h) - 7.5rem);bottom:auto;height:10rem}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed #hero-title{font-size:clamp(1.85rem, 7.6vw, 2.35rem)!important}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-intro{font-size:.96rem!important;margin-top:.7rem}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-actions{margin-top:1.05rem}
}

@media (prefers-reduced-motion:reduce){
  .lc-line-inner{transform:none!important;filter:none!important;opacity:1!important;animation:none!important}
  html.intro-pending #hero-title,html.intro-pending .hero-intro,html.intro-pending .hero-actions,
  html.intro-pending .hero-sound,html.intro-pending .hero-track-switch,
  html.intro-pending .site-header .nav,html.intro-pending .site-header .header-tools,
  html.intro-pending .site-header .brand-lockup{opacity:1!important;transform:none!important;filter:none!important;visibility:visible!important;animation:none!important}
}

/* ---------- 13. Loader B still-hold + headline-on-water + hero drift (r4b) ---------- */

/* Loader B (?loader=b): the lockup fades in as one still group (no scan line),
   the grey veil dissolves, the mark FLIPs to the header, the headline fades into place. */
@media (prefers-reduced-motion:no-preference){
  html[data-intro-style="hold"] .site-intro-inner{opacity:0;overflow:visible;animation:none!important}
  html[data-intro-style="hold"] .site-intro.is-run .site-intro-inner{animation:lc-lockup-in .75s cubic-bezier(.16,1,.3,1) both!important}
  html[data-intro-style="hold"] .site-intro-inner::after{display:none!important}
  html[data-intro-style="hold"] .site-intro.is-handoff::before{animation:lc-scan-out .65s cubic-bezier(.4,0,.2,1) .06s both}
  html[data-intro-style="hold"] .site-intro.is-handoff.is-out{animation:none!important;opacity:1;visibility:visible;pointer-events:none}
  html[data-intro-style="hold"] .site-intro.is-handoff.is-out .site-intro-inner{animation:none!important;opacity:0}
  /* Entrance B: almost no travel, blur-to-sharp only — quieter than the masked rise. */
  html[data-loader="b"].intro-enter #hero-title .lc-line-inner{animation:lc-hold-in .8s cubic-bezier(.25,1,.5,1) both;animation-delay:calc(.05s + (var(--lc-i,0) * 80ms))}
  html[data-loader="b"].intro-pending #hero-title .lc-line-inner{transform:translate3d(0,8px,0);filter:blur(8px);opacity:0}
}
@keyframes lc-hold-in{from{opacity:0;transform:translate3d(0,8px,0);filter:blur(8px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}

/* Only the hero headline is warm cream-white, over the lake. Motto/tagline unchanged.
   Body paragraph and buttons stay dark, sitting below the title on the grey fog. */
html body[data-page="home"] .hero-bleed .hero-copy{
  display:flex!important;flex-direction:column;justify-content:flex-start;
  box-sizing:border-box;
}
html body[data-page="home"] .hero-bleed #hero-title{
  position:relative;z-index:2;overflow:visible;
  color:#f3efe6!important;
  text-shadow:0 1px 2px rgba(24,22,18,.4), 0 6px 24px rgba(20,18,14,.35);
}
/* No straight-edged H1 wash. A tight ::before was painting a hard horizontal
   band across the trees and mountain. Legibility is text-shadow only on desktop. */
html body[data-page="home"] .hero-bleed #hero-title::before{content:none!important;background:none!important}
html body[data-page="home"] .hero-bleed .hero-below{position:relative;z-index:2}
html body[data-page="home"] .hero-bleed .hero-below .hero-intro,
html body[data-page="home"] .hero-bleed .hero-intro{color:#1b1c1e!important;text-shadow:none!important}
@media (min-width:800px){
  /* Keep live stacking: title, lede and CTAs as one block. Do not pin the
     paragraph to the bottom — that was a layout drift from live. */
  html body[data-page="home"] .hero-bleed #hero-title{max-width:15.5em!important}
  html body[data-page="home"] .hero-bleed .hero-below{margin-top:0;max-width:none}
  html[lang="de-CH"] body[data-page="home"] .hero-bleed .hero-below{max-width:none}
}

/* Mobile: headline sits over the lake in the first screen, with the same scrim.
   Paragraph and buttons stay dark on the fog just below. */
@media (max-width:599px) and (orientation:portrait){
  html body[data-page="home"] .hero-bleed #hero-title{color:#f3efe6!important;text-shadow:0 1px 2px rgba(24,22,18,.32)}
  html body[data-page="home"] .hero-bleed .hero-intro{color:#1b1c1e!important;text-shadow:none!important}
  /* default / headline: taller lake so the title sits on the water */
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed{--hv-h:min(122vw, max(108vw, calc(100svh - var(--header) - 11.5rem)))}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero.hero-bleed .hero-copy{
    margin:calc(var(--header) + var(--hv-h) - 7.2rem) var(--pad) 0!important;
    padding:0 0 1.1rem!important;
  }
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-fog{top:calc(var(--header) + var(--hv-h) - 8.5rem);bottom:auto;height:11rem}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-actions{flex-wrap:nowrap;gap:.55em .55em;margin-top:.85rem}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-actions .btn{padding:.85em 1.1em!important;font-size:.7rem!important;white-space:nowrap}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-intro{font-size:.94rem!important;margin-top:.85rem}
}

/* Hero drift: oversized media so the boat can travel right without showing edges. */
body[data-page="home"] .hero-visual{overflow:hidden}
body[data-page="home"] .hero-drift{
  position:absolute;inset:-8% -16% -10% -8%;
  will-change:transform;transform:translate3d(0,0,0);
}
body[data-page="home"] .hero-drift .hero-video,
body[data-page="home"] .hero-drift .hero-frame,
body[data-page="home"] .hero-drift .hero-frame img,
body[data-page="home"] .hero-drift video,
body[data-page="home"] .hero-drift picture,
body[data-page="home"] .hero-drift img{
  width:100%;height:100%;object-fit:cover;
}
body[data-page="home"] .hero-fog > span{will-change:transform;animation:none!important}
/* CSS fog-drift runs on the inner node so the outer can take the scroll parallax. */
body[data-page="home"] .hero-fog > span .hf-drift{
  animation:ww-drift 120s linear infinite;animation-play-state:paused;
}
body[data-page="home"] .hero-bleed.is-live .hero-fog > span .hf-drift{animation-play-state:running}
body[data-page="home"] .hero-fog > span:nth-child(3){
  top:0;bottom:40%;opacity:.55;animation:none;
  background-image:
    radial-gradient(28% 40% at 18% 30%,rgba(var(--ww-pearl),0.55),rgba(var(--ww-pearl),0) 70%),
    radial-gradient(22% 36% at 70% 22%,rgba(var(--ww-mist),0.45),rgba(var(--ww-mist),0) 70%);
}
body[data-page="home"] .hero-fog > span:nth-child(4){
  top:10%;bottom:20%;opacity:.4;animation:none;
  background-image:
    radial-gradient(18% 32% at 42% 18%,rgba(var(--ww-pearl),0.4),rgba(var(--ww-pearl),0) 70%),
    radial-gradient(16% 28% at 88% 35%,rgba(var(--ww-mist),0.35),rgba(var(--ww-mist),0) 70%);
}
@media (prefers-reduced-motion:reduce){
  body[data-page="home"] .hero-drift,
  body[data-page="home"] .hero-fog > span{transform:none!important;will-change:auto}
  body[data-page="home"] .hero-fog > span .hf-drift{animation:none!important}
}

/* ---------- 14. r4c: lake default, local scrims, smaller music dock ---------- */

/* Desktop paragraph: a soft local light scrim behind the text block only.
   The photograph itself is not darkened. Buttons are unchanged. */
@media (min-width:800px){
  html body[data-page="home"] .hero-bleed .hero-below,
  html body[data-page="home"] .hero-bleed .hero-intro{
    position:relative;z-index:1;overflow:visible;
  }
  html body[data-page="home"] .hero-bleed .hero-intro{
    color:#1b1c1e!important;text-shadow:none!important;
  }
  /* Borderless local veil: large soft radial, ~56px feather, no rectangle, no edge. */
  html body[data-page="home"] .hero-bleed .hero-intro::before{
    content:"";position:absolute;z-index:-1;pointer-events:none;
    inset:-3.5rem -3.75rem -3.5rem -4rem;
    border:0;border-radius:0;box-shadow:none;
    background:radial-gradient(ellipse 74% 70% at 30% 44%,
      rgba(236,235,231,.88) 0%,
      rgba(232,232,228,.62) 32%,
      rgba(226,227,228,.28) 56%,
      rgba(220,222,224,0) 80%);
  }
}

/* iPhone default = lake: boat stays free; cream H1 sits on the lower water with a
   soft local scrim (no box). Paragraph stays dark on the fog just below. */
@media (max-width:599px) and (orientation:portrait){
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed{
    /* Fill the 393×852 first screen: lake down to the copy, CTAs near the bottom,
       no empty grey band. 560px visual ≈ 1.03× of the 1088-tall landscape at 2x. */
    --hv-h:min(152vw, calc(100svh - var(--header) - 12rem));
  }
  /* Landscape source, cover, left crop. No CSS zoom — the 1920×1088 file is
     used at ~1.0 of source px at 2x. Boat stays off the right edge. */
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-video,
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-frame-still img,
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-drift img,
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-drift video{
    object-fit:cover;
    object-position:0% 18%!important;
    transform:none;
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero.hero-bleed .hero-copy{
    margin:calc(var(--header) + var(--hv-h) - 8rem) var(--pad) 0!important;
    padding:0 0 1.5rem!important;
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-fog{
    top:calc(var(--header) + var(--hv-h) - 9.5rem);bottom:auto;height:12rem;
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero.hero-bleed .hero-copy,
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed #hero-title{
    overflow:visible;
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed #hero-title{
    color:#f3efe6!important;
    /* r4e11: styles-noir sets text-shadow:none !important on .hero-bleed h1, so a
       shadow must use !important. Tight, light halo — least visible change that
       clears DE AA 4.5 (probed 5.01 median). */
    text-shadow:0 1px 2px rgba(20,18,14,.50), 0 3px 12px rgba(20,18,14,.28)!important;
  }
  /* Soft radial only — no linear gradient, no mask, no box edge.
     !important so it wins over the global desktop content:none. */
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed #hero-title::before{
    content:""!important;position:absolute;z-index:-1;pointer-events:none;
    inset:-4.2rem -3.4rem -3.2rem -3.6rem;
    border:0!important;border-radius:0;box-shadow:none;
    background:radial-gradient(ellipse 75% 70% at 50% 50%,
      rgba(22,20,18,.72) 0%,
      rgba(22,20,18,.4) 40%,
      rgba(22,20,18,0) 74%)!important;
    -webkit-mask-image:none!important;
            mask-image:none!important;
  }
  /* Paragraph sits on the page grey below the lake — no extra scrim (avoids a box at the join). */
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-intro{
    position:relative;z-index:1;color:#1b1c1e!important;
    margin-top:.7rem;font-size:.84rem!important;line-height:1.4!important;
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-intro::before{content:none!important;background:none!important}
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-actions{
    flex-direction:row!important;flex-wrap:nowrap;align-items:stretch;gap:.4em;margin-top:.7rem
  }
  html[data-mobile-intro="lake"] body[data-page="home"] .hero-bleed .hero-actions .btn{
    flex:1 1 0;padding:.75em .55em!important;font-size:.62rem!important;white-space:nowrap;justify-content:center
  }

  /* Headline variant: tighten so the second button clears the 393×852 fold. */
  html[data-mobile-intro="headline"] body[data-page="home"] .hero.hero-bleed .hero-copy{
    margin:calc(var(--header) + var(--hv-h) - 7.2rem) var(--pad) 0!important;
    padding:0 0 .85rem!important;
  }
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-intro{margin-top:.7rem!important}
  html[data-mobile-intro="headline"] body[data-page="home"] .hero-bleed .hero-actions{margin-top:.7rem!important}
}

/* ---------- 15. r4d loaders: A = Aman quiet (default), B = IG swell ---------- */
/* The white AVS Consulting lockup screen is kept on both. No percent counter. */

.site-intro-bar{
  display:none;position:absolute;left:50%;bottom:22%;
  width:min(11.5rem,48vw);height:1px;
  transform:translateX(-50%);z-index:2;overflow:hidden;pointer-events:none;
}
html[data-intro-style="swell"] .site-intro-bar{display:block}
html[data-intro-style="swell"] .site-intro-bar > span{
  display:block;height:1px;width:100%;
  transform:scaleX(0);transform-origin:left center;
  background:linear-gradient(90deg,#b7b3a8,#efeae0,#c4bfb4);
}
@media (prefers-reduced-motion:reduce){
  .site-intro-bar{display:none!important}
}

@media (prefers-reduced-motion:no-preference){
  /* A — brief white lockup, no scan, lake already there as the ground dissolves,
     header chrome fades in 0.6s (Aman), headline is a single 1.2s fade. */
  html[data-intro-style="aman"] .site-intro-inner{opacity:1;overflow:visible}
  html[data-intro-style="aman"] .site-intro-inner::after{display:none!important}
  html[data-intro-style="aman"] .site-intro.is-handoff::before{animation:lc-scan-out .6s cubic-bezier(.4,0,.2,1) both}
  html[data-intro-style="aman"] .site-intro.is-handoff.is-out,
  html[data-intro-style="swell"] .site-intro.is-handoff.is-out{
    animation:none!important;opacity:1;visibility:visible;pointer-events:none;background:transparent!important
  }
  html[data-intro-style="aman"] .site-intro.is-handoff.is-out .site-intro-inner,
  html[data-intro-style="swell"] .site-intro.is-handoff.is-out .site-intro-inner{animation:none!important;opacity:0}

  html[data-loader="a"][data-intro-style="aman"].intro-pending #hero-title{opacity:0}
  html[data-loader="a"][data-intro-style="aman"].intro-pending #hero-title .lc-line-inner{
    transform:none;filter:none;opacity:1
  }
  html[data-loader="a"][data-intro-style="aman"].intro-enter #hero-title{
    animation:lc-aman-title 1.2s cubic-bezier(.25,1,.5,1) .08s both
  }
  html[data-loader="a"][data-intro-style="aman"].intro-enter #hero-title .lc-line-inner{
    animation:none!important;transform:none!important;filter:none!important;opacity:1!important
  }
  html[data-loader="a"][data-intro-style="aman"].intro-enter .site-header .nav,
  html[data-loader="a"][data-intro-style="aman"].intro-enter .site-header .header-tools,
  html[data-loader="a"][data-intro-style="aman"].intro-enter .nav-music-slot{
    animation:lc-aman-header .6s ease both
  }
  html[data-loader="a"][data-intro-style="aman"].intro-enter .hero-intro{
    animation:lc-soft-in .95s cubic-bezier(.25,1,.5,1) .32s both
  }
  html[data-loader="a"][data-intro-style="aman"].intro-enter .hero-actions,
  html[data-loader="a"][data-intro-style="aman"].intro-enter .hero-sound,
  html[data-loader="a"][data-intro-style="aman"].intro-enter .hero-track-switch{
    animation:lc-soft-in .9s cubic-bezier(.25,1,.5,1) .48s both
  }

  /* B — 1px cream/silver bar on the white screen, dissolve (0.2s), then line swell. */
  html[data-intro-style="swell"] .site-intro-inner{opacity:1;overflow:visible}
  html[data-intro-style="swell"] .site-intro-inner::after{display:none!important}
  html[data-intro-style="swell"] .site-intro.is-handoff::before,
  html[data-intro-style="swell"] .site-intro.is-handoff .site-intro-bar{animation:lc-scan-out .2s linear both}
  html[data-loader="b"][data-intro-style="swell"].intro-pending #hero-title .lc-line-inner{
    transform:translate3d(0,50px,0);filter:none;opacity:0
  }
  html[data-loader="b"][data-intro-style="swell"].intro-enter #hero-title .lc-line-inner{
    animation:
      lc-swell-y 2s cubic-bezier(.16,1,.3,1) both,
      lc-swell-o 1.8s cubic-bezier(.25,.46,.45,.94) both;
    animation-delay:calc(var(--lc-i, 0) * 165ms), calc(var(--lc-i, 0) * 165ms)
  }
}
@keyframes lc-aman-title{from{opacity:0}to{opacity:1}}
@keyframes lc-aman-header{from{opacity:0}to{opacity:1}}
@keyframes lc-swell-y{from{transform:translate3d(0,50px,0)}to{transform:translate3d(0,0,0)}}
@keyframes lc-swell-o{from{opacity:0}to{opacity:1}}


/* ---------- 16. r4e: baseline contrast + typography minors ---------- */
/* Service index numbers: 1.67:1 (#a3a7ac on #d4d7db) → charcoal that clears AA 4.5:1. */
html body .svc-index{color:#4a4e54!important}
/* Header/footer "CONSULTING": slightly darker silver for AA on the pale header grey. */
html body .site-header .brand-lockup .brand-sub,
html body .brand-lockup:not(.is-ivory) .brand-sub{
  color:#4a4e54!important;
  --lc-silver:#4a4e54;
  --lc-silver-metal:linear-gradient(180deg,#5c6066 0%,#4a4e54 45%,#3f4348 70%,#55585e 100%);
}
/* Desktop ghost CTA: keep dark type. No panel behind the buttons. */
@media (min-width:800px){
  html body[data-page="home"] .hero-bleed .hero-actions{
    position:relative;z-index:1;
  }
  html body[data-page="home"] .hero-bleed .hero-actions::before{content:none!important;background:none!important}
  html body[data-page="home"] .hero-bleed .btn-secondary{
    color:#0b0b0c!important;
    border-color:rgba(11,11,12,.72)!important;
    text-shadow:0 0 8px rgba(232,232,228,.55);
  }
}

/* ---------- 17. r4e3: typography stills pass (preview only) ---------- */
/* Desktop paragraph scrim: feathered radial, no rectangle; CTA panel removed.
   Lake default: zoomed left crop so the boat is out / stern-hint only.
   Lake H1 wash: feathered, no hard band. */
