/* Counselling-room hero: real HTML text and original logo, isolated from page content. */
#hero.hero{position:relative!important;display:block!important;height:auto!important;min-height:44.98vw!important;aspect-ratio:auto!important;padding:0!important;overflow:hidden!important;background:#ead9c1!important}
#hero .vb-mobile-hero-picture{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important}
#hero .hero-photo{position:absolute!important;inset:auto 0 0!important;display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center bottom!important}
#hero::after{display:none!important}
#hero .hero-logo{position:absolute!important;display:block!important;left:5.8%!important;top:1vw!important;width:24%!important;max-width:450px!important;height:auto!important;z-index:6!important;filter:none!important}
#hero .hero-copy,html[lang] #hero .hero-copy{position:relative!important;left:5.8%!important;top:auto!important;bottom:auto!important;transform:none!important;width:39%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12.5vw 0 4vw!important;z-index:5!important;color:#122d1d!important;text-align:left!important}
#hero .hero-copy #hero-title{display:block!important;position:static!important;visibility:visible!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;width:auto!important;height:auto!important;max-width:none!important;font:400 clamp(28px,3.65vw,70px)/1.04 Georgia,'Times New Roman',serif!important;letter-spacing:-.025em!important;color:#122d1d!important;text-shadow:none!important;margin:0 0 1.4vw!important}
#hero .hero-copy .hero-text-desktop{display:block!important;position:static!important;visibility:visible!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;opacity:1!important;font:400 clamp(14px,1.25vw,24px)/1.35 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;color:#30322d!important;text-shadow:none!important;margin:0!important}
#hero #hero-text-mobile,#hero .vb-book-lettering{display:none!important}
#hero .language-menu{top:18px!important;right:20px!important;left:auto!important;z-index:20!important}
@media (orientation:portrait) and (max-width:1000px){
 #hero.hero{min-height:150vw!important}
 #hero .hero-copy,html[lang] #hero .hero-copy{left:auto!important;width:auto!important;margin:0 8.5%!important;padding:13vw 0 77vw!important}
 #hero .hero-copy #hero-title{font-size:clamp(30px,7.8vw,62px)!important;line-height:1.06!important;margin-bottom:5vw!important}
 #hero .hero-copy .hero-text-desktop{font-size:clamp(16px,3.8vw,28px)!important;line-height:1.4!important}
 #hero .hero-logo{display:none!important}
 #hero .language-menu{top:12px!important;right:14px!important}
}
@media (orientation:portrait) and (min-width:701px) and (max-width:1000px){
 #hero .hero-logo{display:block!important;left:8.5%!important;top:3vw!important;width:28%!important}
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-top:20vw!important}
}
@media (orientation:landscape) and (max-width:1000px){
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-top:14vw!important;padding-bottom:5vw!important}
 #hero .hero-copy #hero-title{font-size:clamp(24px,3.5vw,35px)!important}
 #hero .hero-copy .hero-text-desktop{font-size:clamp(13px,1.5vw,15px)!important;line-height:1.3!important}
 #hero .hero-logo{top:2vw!important;width:24%!important}
}

/* Remove exposed top strip; tighten only the two longer desktop descriptions. */
.vbl{padding-top:0!important}
#hero .hero-photo{inset:0!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
@media (min-width:1001px){
 /* Same title baseline in every language; lift copy without changing typography. */
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-top:11vw!important}
 html[lang="de"] #hero .hero-copy #hero-title,
 html[lang="fr"] #hero .hero-copy #hero-title{margin-bottom:.5vw!important}
}

/* Mobile: keep portrait copy on the light wall and landscape copy above the skirting. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-copy,html[lang] #hero .hero-copy{width:73%!important;margin:0 0 0 8.5%!important;padding-top:13vw!important;padding-bottom:77vw!important}
 #hero .hero-copy #hero-title{font-size:clamp(28px,7.2vw,50px)!important;margin-bottom:4vw!important}
 #hero .hero-copy .hero-text-desktop{font-size:clamp(15px,3.65vw,24px)!important;line-height:1.35!important;overflow-wrap:break-word!important}
}
@media (orientation:landscape) and (max-width:1000px){
 #hero .hero-logo{top:1.5vw!important;width:20%!important}
 #hero .hero-copy,html[lang] #hero .hero-copy{width:43%!important;padding-top:10.5vw!important;padding-bottom:4vw!important}
 html[lang] #hero .hero-copy #hero-title{font:400 clamp(22px,3vw,30px)/1.04 Georgia,'Times New Roman',serif!important;margin:0 0 clamp(10px,1.5vw,15px)!important}
 html[lang] #hero .hero-copy .hero-text-desktop{font:400 clamp(12px,1.5vw,15px)/1.25 Arial,Helvetica,sans-serif!important;margin:0!important;overflow-wrap:break-word!important}
}

/* Hide the logo on phone/tablet landscape, retaining desktop branding. */
@media (orientation:landscape) and (max-width:1000px), (orientation:landscape) and (hover:none) and (pointer:coarse){
 #hero .hero-logo{display:none!important}
}

/* Position mobile copy within the clear wall area. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-copy,html[lang] #hero .hero-copy{margin-left:5.25%!important;padding-top:11vw!important}
 #hero .language-menu{right:2px!important}
}
@media (orientation:landscape) and (max-width:1000px){
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-top:3vw!important}
}

/* Anchor every portrait language selector just beyond the light strip. */
@media (orientation:portrait) and (max-width:1000px){
 html[lang] #hero .language-menu{left:84.5%!important;right:2px!important;width:auto!important;margin:0!important;transform:none!important}
 html[lang] #hero .language-current{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:4px!important;gap:3px!important;justify-content:center!important}
 html[lang] #hero .language-current svg{flex:0 1 27px!important;min-width:0!important;max-width:27px!important}
 html[lang] #hero .language-chevron{flex:0 0 auto!important}
}

/* Narrow portrait: preserve chair clearance and photographic continuity.
   Blend the extra bottom space smoothly from 90vw at 360px to 77vw at 450px,
   avoiding the 359/360 height jump without reducing clearance at 320px. */
/* Keep the paragraph unboxed, matching the desktop text treatment. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-copy .hero-text-desktop{background:transparent!important;box-shadow:none!important;border-radius:0!important}
}
@media (orientation:portrait) and (max-width:359px){
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-bottom:90vw!important}
}
@media (orientation:portrait) and (min-width:360px) and (max-width:450px){
 #hero .hero-copy,html[lang] #hero .hero-copy{padding-bottom:calc(25vw + 234px)!important}
}


/* 28 Oct: align portrait wall tonality; unify selectors in six languages. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-photo{filter:none!important}
}
@media (orientation:portrait) and (max-width:1000px){
 html[lang] #hero .language-menu{left:auto!important;right:clamp(9px,2.5vw,16px)!important;width:clamp(58px,13vw,70px)!important;margin:0!important;transform:none!important}
 html[lang] #hero .language-current{height:44px!important;min-height:44px!important;padding:4px!important}
 html[lang] #hero .language-current svg{width:27px!important;height:20px!important;flex:0 0 27px!important}
}
/* Landscape phone: shift both lines left and protect clearance before the chair. */
@media (orientation:landscape) and (max-width:1000px){
 #hero .hero-copy,html[lang] #hero .hero-copy{left:3%!important;width:41%!important}
 html[lang] #hero .hero-copy #hero-title{font-size:clamp(23px,3.25vw,33px)!important}
 html[lang] #hero .hero-copy .hero-text-desktop{font-size:clamp(13px,1.65vw,16px)!important;line-height:1.28!important}
}

/* Smartphone portrait: lighten only the beige wall, not the photograph as a whole. */
@media (orientation:portrait) and (max-width:700px){
 #hero .vb-mobile-hero-picture::after{
  content:""!important;display:block!important;position:absolute!important;
  left:0!important;top:0!important;width:81%!important;height:60%!important;
  background:linear-gradient(to bottom,rgba(255,244,225,.24) 0%,rgba(255,244,225,.22) 72%,rgba(255,244,225,0) 100%)!important;
  pointer-events:none!important;z-index:1!important;
 }
}

/* Phone landscape: match the portrait wall's pale-beige treatment.
   Restrict overlay to the clear wall, not chairs or the right light strip. */
@media (orientation:landscape) and (max-width:1000px) and (pointer:coarse){
 #hero .vb-mobile-hero-picture::after{
  content:""!important;display:block!important;position:absolute!important;
  left:0!important;top:0!important;width:81%!important;height:72%!important;
  background:linear-gradient(to bottom,rgba(255,244,225,.24) 0%,rgba(255,244,225,.22) 72%,rgba(255,244,225,0) 100%)!important;
  pointer-events:none!important;z-index:1!important;
 }
}
/* Portrait: centre the compact flag selector in the strip between the
   right edge of the light seam (~85%) and the hero's right edge (100%). */
@media (orientation:portrait) and (max-width:700px){
 html[lang] #hero .language-menu{
  left:auto!important;right:7.5%!important;transform:translateX(50%)!important;
  width:clamp(38px,12vw,48px)!important;margin:0!important;
 }
 html[lang] #hero .language-current{
  width:100%!important;height:34px!important;min-height:34px!important;
  padding:3px 2px!important;gap:1px!important;justify-content:center!important;
 }
 html[lang] #hero .language-current svg{
  width:clamp(20px,6vw,25px)!important;height:17px!important;
  flex:0 1 auto!important;min-width:0!important;max-width:25px!important;
 }
 html[lang] #hero .language-chevron{flex:0 0 9px!important;width:9px!important}
}

/* Audit 96e5b54 follow-up: photographic wall must not acquire a hard overlay edge.
   Keep the color treatment on the upper wall, fading before furnishings. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-photo{object-position:right center!important}
 #hero .vb-mobile-hero-picture::after{
  width:100%!important;height:40%!important;
  background:linear-gradient(to bottom,rgba(255,244,225,.24),rgba(255,244,225,.18) 48%,rgba(255,244,225,0) 100%)!important;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 68%,transparent 86%)!important;
  mask-image:linear-gradient(to right,#000 0%,#000 68%,transparent 86%)!important;
 }
 html[lang] #hero .language-menu{
  left:auto!important;right:10%!important;transform:translateX(50%)!important;
  width:clamp(38px,12vw,48px)!important;
 }
}
@media (orientation:landscape) and (max-width:1000px) and (pointer:coarse){
 #hero .vb-mobile-hero-picture::after{
  width:100%!important;height:42%!important;
  background:linear-gradient(to bottom,rgba(255,244,225,.24),rgba(255,244,225,.18) 48%,rgba(255,244,225,0) 100%)!important;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 37%,transparent 53%)!important;
  mask-image:linear-gradient(to right,#000 0%,#000 37%,transparent 53%)!important;
 }
}
/* Tablet portrait uses the approved desktop photograph, with a landscape-like
   aspect and a text area entirely on the clear left wall. */
@media (orientation:portrait) and (min-width:701px) and (max-width:1000px){
 #hero.hero{min-height:58vw!important}
 #hero .hero-photo{object-position:center center!important}
 #hero .hero-logo{display:block!important;left:5.8%!important;top:1vw!important;width:23%!important}
 #hero .hero-copy,html[lang] #hero .hero-copy{
  left:5.8%!important;width:40%!important;margin:0!important;
  padding:12vw 0 4vw!important;
 }
 #hero .hero-copy #hero-title{font-size:clamp(25px,3.1vw,34px)!important;line-height:1.05!important;margin-bottom:1.5vw!important}
 #hero .hero-copy .hero-text-desktop{font-size:clamp(14px,1.75vw,18px)!important;line-height:1.32!important}
}
/* Tablet landscape must retain logo; phone landscape keeps it hidden. */
@media (orientation:landscape) and (min-width:1001px) and (min-height:600px){
 #hero .hero-logo{display:block!important}
}
/* Contrast improvements for ordinary paragraph text on the existing wall. */
#hero .hero-copy .hero-text-desktop{color:#20231d!important}
@media (orientation:portrait) and (max-width:359px){
 html[lang="de"] #hero .hero-copy{
  padding-top:clamp(8vw,calc(35vw - 86.4px),11vw)!important;
 }
}
@media (orientation:landscape) and (max-width:700px){
 html[lang="de"] #hero .hero-copy{padding-top:1vw!important}
 html[lang="de"] #hero .hero-copy #hero-title{font-size:21px!important;margin-bottom:6px!important}
 html[lang="de"] #hero .hero-copy .hero-text-desktop{font-size:12px!important;line-height:1.18!important}
}

/* Audit follow-up: interpolate portrait flag position to the measured
   right-aligned photo seam, preserving all flag dimensions and clearances.
   Per-language adjustment accounts for the different text-driven hero heights. */
@media (orientation:portrait) and (max-width:700px){
 html[lang="it"] #hero .language-menu,
 html[lang="fr"] #hero .language-menu{right:calc(10% + 26.1px - 6.9vw)!important}
 html[lang="en"] #hero .language-menu{right:calc(10% + 23.8px - 6.4vw)!important}
 html[lang="uk"] #hero .language-menu,
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw)!important}
 html[lang="de"] #hero .language-menu{right:calc(10% + 34.4px - 8.75vw)!important}
}

/* Final portrait flag calibration: above 451px the hero is min-height-driven,
   so correct the measured drift of the photo's right-hand light seam.
   Only selector position changes; all dimensions and other layouts stay intact. */
@media (orientation:portrait) and (min-width:452px) and (max-width:700px){
 html[lang="it"] #hero .language-menu,
 html[lang="fr"] #hero .language-menu{
  right:calc(10% + 26.1px - 6.9vw + 5.79vw - 26.1129px)!important;
 }
 html[lang="en"] #hero .language-menu{
  right:calc(10% + 23.8px - 6.4vw + 5.30vw - 23.903px)!important;
 }
 html[lang="uk"] #hero .language-menu,
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw + 6.69vw - 30.1719px)!important;
 }
 html[lang="de"] #hero .language-menu{
  right:calc(10% + 34.4px - 8.75vw + 7.64vw - 34.4564px)!important;
 }
}

/* Final sub-452px calibration: smooth ~1px rightward correction near 390px
   for EN/UK/DE/ES, tapering to zero at 320px and 451px.
   IT/FR and the validated 452-700px rules are unchanged. */
@media (orientation:portrait) and (min-width:320px) and (max-width:390px){
 html[lang="en"] #hero .language-menu{right:calc(10% + 23.8px - 6.4vw - clamp(0px,1.43vw - 4.576px,1px))!important}
 html[lang="uk"] #hero .language-menu,
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px))!important}
 html[lang="de"] #hero .language-menu{right:calc(10% + 34.4px - 8.75vw - clamp(0px,1.43vw - 4.576px,1px))!important}
}
@media (orientation:portrait) and (min-width:391px) and (max-width:451px){
 html[lang="en"] #hero .language-menu{right:calc(10% + 23.8px - 6.4vw - clamp(0px,7.3964px - 1.64vw,1px))!important}
 html[lang="uk"] #hero .language-menu,
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px))!important}
 html[lang="de"] #hero .language-menu{right:calc(10% + 34.4px - 8.75vw - clamp(0px,7.3964px - 1.64vw,1px))!important}
}

/* ES portrait: subpixel centering correction around 359–360px only.
   Smooth triangular 0→0.35→0px adjustment, no abrupt breakpoint jump. */
@media (orientation:portrait) and (min-width:345px) and (max-width:359px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - (2.5vw - 8.625px))!important;
 }
}
@media (orientation:portrait) and (min-width:360px) and (max-width:374px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - (8.75px - 2.333333vw))!important;
 }
}

/* Portrait phones only: center the HTML copy inside the photograph's clear
   left-wall zone. The seam is near 81% of the hero width with the approved
   right-aligned mobile image; keep a fluid 16–24px inset on BOTH sides of
   that zone so no line approaches the illuminated strip.
   Preserve all typography, vertical offsets and the language selector. */
@media (orientation:portrait) and (max-width:700px){
 #hero .hero-copy,html[lang] #hero .hero-copy{
  box-sizing:border-box!important;
  left:auto!important;
  margin-left:clamp(16px,5vw,24px)!important;
  margin-right:0!important;
  width:calc(81% - 2 * clamp(16px,5vw,24px))!important;
  max-width:none!important;
 }
}

/* German portrait: the longer compound words need a slightly larger
   clearance from the illuminated seam. Narrow only the DE copy area by
   a fluid 2vw; retain the same left inset, font sizes and vertical rhythm.
   All other languages and orientations keep their approved geometry. */
@media (orientation:portrait) and (max-width:700px){
 html[lang="de"] #hero .hero-copy{
  width:calc(79% - 2 * clamp(16px,5vw,24px))!important;
 }
}

/* Uniform portrait-phone title baseline across all six languages.
   Raise the copy by 10px relative to the standard 11vw rule, preserving
   fluid scaling, font metrics, horizontal safety zones and chair clearance.
   Overrides the old DE-only narrow-phone padding so every language starts
   at exactly the same height without a 359/360px discontinuity. */
@media (orientation:portrait) and (max-width:700px){
 html[lang] #hero .hero-copy{
  padding-top:max(0px,calc(11vw - 10px))!important;
 }
}

/* Portrait narrow phones: center the copy against the actual visible wall,
   not the fixed 81% photo estimate. Preserve the >=16px left inset;
   taper the extra right-side clearance continuously to zero by 390px.
   This is stage 1: flag calibration must follow the final text wrapping. */
@media (orientation:portrait) and (max-width:700px){
 html[lang] #hero .hero-copy{
  width:calc(81% - 2 * clamp(16px,5vw,24px) - clamp(0px,calc((390px - 100vw) * .23),16px))!important;
 }
 html[lang="de"] #hero .hero-copy{
  width:calc(79% - 2 * clamp(16px,5vw,24px) - clamp(0px,calc((390px - 100vw) * .18),12px))!important;
 }
}

/* Audit eb20d5c: remaining wall-centering corrections. FR gets a
   narrow-only width reduction while retaining the 16px left inset;
   DE shifts right without changing wrapping from 390px to 700px. */
@media (orientation:portrait) and (max-width:700px){
 html[lang="fr"] #hero .hero-copy{
  width:calc(81% - 2 * clamp(16px,5vw,24px) - clamp(0px,calc((390px - 100vw) * .23),16px) - clamp(0px,calc((344px - 100vw) * .375),9px))!important;
 }
 html[lang="de"] #hero .hero-copy{
  margin-left:calc(clamp(16px,5vw,24px) + clamp(0px,calc((100vw - 390px) * .02871),8.9px))!important;
 }
}
/* Photo-relative flag calibration: short, smoothly tapered corrections
   only around the residual outliers. Recheck after FR text reflow. */
@media (orientation:portrait) and (min-width:320px) and (max-width:344px){
 html[lang="en"] #hero .language-menu{right:calc(10% + 23.8px - 6.4vw + clamp(0px,calc((344px - 100vw) * .1495),3.588px))!important}
 html[lang="fr"] #hero .language-menu{right:calc(10% + 26.1px - 6.9vw + clamp(0px,calc((344px - 100vw) * .22),5.28px))!important}
}
@media (orientation:portrait) and (min-width:345px) and (max-width:375px){
 html[lang="de"] #hero .language-menu{
  right:calc(10% + 34.4px - 8.75vw - clamp(0px,1.43vw - 4.576px,1px) + clamp(0px,calc((100vw - 345px) * .1667),2.5px) - clamp(0px,calc((100vw - 360px) * .1667),2.5px))!important;
 }
}
@media (orientation:portrait) and (min-width:375px) and (max-width:414px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px))!important;
 }
}

/* Post-PR26 fine calibration: localized triangular corrections only.
   Negative right adjustment moves the selector toward the light seam.
   Zero correction at window endpoints; no other language/layout affected. */
@media (orientation:portrait) and (min-width:368px) and (max-width:374px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - (8.75px - 2.333333vw) - clamp(0px,calc((100vw - 368px) * .07143),.5px))!important;
 }
}
@media (orientation:portrait) and (min-width:375px) and (max-width:382px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,calc((382px - 100vw) * .07143),.5px))!important;
 }
}
@media (orientation:portrait) and (min-width:408px) and (max-width:420px){
 html[lang="uk"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 408px) * .05),calc((420px - 100vw) * .05)),.3px))!important;
 }
}
@media (orientation:portrait) and (min-width:410px) and (max-width:414px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,calc((100vw - 410px) * .06),.3px))!important;
 }
}
@media (orientation:portrait) and (min-width:415px) and (max-width:420px){
 html[lang="es"] #hero .language-menu{
  right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,calc((420px - 100vw) * .06),.3px))!important;
 }
}

/* Audit 2026-10-29: second-stage subpixel taper at eight residual outliers.
   Existing calibrated peaks are preserved; all adjustments decay to zero. */
@media (orientation:portrait) and (min-width:401px) and (max-width:407px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 401px) * .04667),calc((413px - 100vw) * .04667)),.28px))!important}
}
@media (orientation:portrait) and (min-width:408px) and (max-width:413px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 408px) * .05),calc((420px - 100vw) * .05)),.3px) - clamp(0px,min(calc((100vw - 401px) * .04667),calc((413px - 100vw) * .04667)),.28px))!important}
}
@media (orientation:portrait) and (min-width:417px) and (max-width:420px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 408px) * .05),calc((420px - 100vw) * .05)),.3px) - clamp(0px,min(calc((100vw - 417px) * .0325),calc((425px - 100vw) * .0325)),.13px))!important}
}
@media (orientation:portrait) and (min-width:421px) and (max-width:425px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 417px) * .0325),calc((425px - 100vw) * .0325)),.13px))!important}
}
@media (orientation:portrait) and (min-width:378px) and (max-width:382px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,calc((382px - 100vw) * .07143),.5px) - clamp(0px,min(calc((100vw - 378px) * .05),calc((388px - 100vw) * .05)),.25px))!important}
}
@media (orientation:portrait) and (min-width:383px) and (max-width:388px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,min(calc((100vw - 378px) * .05),calc((388px - 100vw) * .05)),.25px))!important}
}
@media (orientation:portrait) and (min-width:417px) and (max-width:420px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,calc((420px - 100vw) * .06),.3px) - clamp(0px,min(calc((100vw - 417px) * .0325),calc((425px - 100vw) * .0325)),.13px))!important}
}
@media (orientation:portrait) and (min-width:421px) and (max-width:425px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 417px) * .0325),calc((425px - 100vw) * .0325)),.13px))!important}
}

/* Final narrow-only taper: UK 398-405 and ES 378 residual audit cases.
   Keep existing first/second-stage offsets; preserve zero at outer edges. */
@media (orientation:portrait) and (min-width:394px) and (max-width:400px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 394px) * .053333),calc((409px - 100vw) * .04)),.32px))!important}
}
@media (orientation:portrait) and (min-width:401px) and (max-width:407px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 401px) * .04667),calc((413px - 100vw) * .04667)),.28px) - clamp(0px,min(calc((100vw - 394px) * .053333),calc((409px - 100vw) * .04)),.32px))!important}
}
@media (orientation:portrait) and (min-width:408px) and (max-width:409px){
 html[lang="uk"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,7.3964px - 1.64vw,1px) - clamp(0px,min(calc((100vw - 408px) * .05),calc((420px - 100vw) * .05)),.3px) - clamp(0px,min(calc((100vw - 401px) * .04667),calc((413px - 100vw) * .04667)),.28px) - clamp(0px,min(calc((100vw - 394px) * .053333),calc((409px - 100vw) * .04)),.32px))!important}
}
@media (orientation:portrait) and (min-width:376px) and (max-width:377px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,calc((382px - 100vw) * .07143),.5px) - clamp(0px,min(calc((100vw - 376px) * .04),calc((380px - 100vw) * .04)),.08px))!important}
}
@media (orientation:portrait) and (min-width:378px) and (max-width:380px){
 html[lang="es"] #hero .language-menu{right:calc(10% + 30.8px - 7.8vw - clamp(0px,1.43vw - 4.576px,1px) - clamp(0px,calc((100vw - 375px) * .025),.975px) - clamp(0px,calc((382px - 100vw) * .07143),.5px) - clamp(0px,min(calc((100vw - 378px) * .05),calc((388px - 100vw) * .05)),.25px) - clamp(0px,min(calc((100vw - 376px) * .04),calc((380px - 100vw) * .04)),.08px))!important}
}

/* 2026-10-29 exhaustive 786-width audit: narrowly tapered corrections.
   Positive right decreases x; negative right increases x. Only portrait
   selectors in UK/FR/DE are affected; no copy or photo changes. */
@media (orientation:portrait) and (min-width:345px) and (max-width:353px){
 html[lang="uk"] #hero .language-menu{
  transform:translateX(calc(50% + clamp(0px,min(calc((100vw - 345px) * .10),calc((353px - 100vw) * .09)),.27px)))!important;
 }
}
@media (orientation:portrait) and (min-width:326px) and (max-width:331px){
 html[lang="fr"] #hero .language-menu{
  transform:translateX(calc(50% - clamp(0px,min(calc((100vw - 326px) * .14),calc((331px - 100vw) * .14)),.42px)))!important;
 }
}
@media (orientation:portrait) and (min-width:333px) and (max-width:337px){
 html[lang="fr"] #hero .language-menu{
  transform:translateX(calc(50% + clamp(0px,min(calc((100vw - 333px) * .12),calc((337px - 100vw) * .12)),.24px)))!important;
 }
}
@media (orientation:portrait) and (min-width:369px) and (max-width:376px){
 html[lang="de"] #hero .language-menu{
  transform:translateX(calc(50% - clamp(0px,min(calc((100vw - 369px) * .18),calc((376px - 100vw) * .18)),.72px)))!important;
 }
}
