/* =====================================================================
   SWI Digital: motion layer (client handoff 2026-10-28), with
   assets/js/swi-motion.js. Header states, overlaps, entrances, button
   plates, the home map screens and the news stack.
   ===================================================================== */

/* ---------- Header (design 2026-11: "alt") ------------------------------
   Always fixed. At the top: the full row between the page rails over a
   28 % shade, a rule under it. Once the section after the first screen
   comes up (#products on the home page) it inks to a compact black bar
   inset 6rem; --header-ink (0 → 1, 400 ms) drives every size. */
@font-face {
  font-family: "SWI Suisse";
  src: url("../fonts/swi-suisse-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.js-logo {
  font-family: "SWI Suisse", var(--font-display), sans-serif !important;
}

html.swi-hdr3 .elementor-location-header {
  transform: none;
  transition: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.swi-hdr3 .js-site-header {
  --header-ink: 0;
  position: relative;
  box-sizing: border-box;
  border-bottom: 1px solid #4d4d4d;
}

html.swi-hdr3 .js-site-header::before,
html.swi-hdr3 .js-site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

html.swi-hdr3 .js-site-header::after {
  background: #000;
  opacity: var(--header-ink);
}

html.swi-hdr3 .js-site-header > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 1025px) {
  html.swi-hdr3 .elementor-location-header .js-site-header {
    --hu: min(1rem, 11.2px);
    margin: 0 calc(6rem * var(--header-ink));
    width: auto;
    max-width: none;
    min-height: 0;
    padding: calc(var(--hu) * 2.2346 * (1 - var(--header-ink)) + 16px * var(--header-ink)) calc(9.2rem * (1 - var(--header-ink)) + 16px * var(--header-ink));
    background-color: rgba(0, 0, 0, 0.28);
  }

  /* The page rails continue through the bar; they fade as it inks. */
  html.swi-hdr3 .js-site-header::before {
    left: calc(-6rem * var(--header-ink));
    right: calc(-6rem * var(--header-ink));
    background:
      linear-gradient(#4d4d4d, #4d4d4d) left 5.9rem top / 1px 100% no-repeat,
      linear-gradient(#4d4d4d, #4d4d4d) right 5.9rem top / 1px 100% no-repeat;
    opacity: calc(1 - var(--header-ink));
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .js-logo {
    width: calc(var(--hu) * 21.676 * (1 - var(--header-ink)) + 138.726px * var(--header-ink));
    flex: 0 0 auto;
    gap: calc(var(--hu) * 1.5613 * (1 - var(--header-ink)) + 9.992px * var(--header-ink));
    font-size: calc(var(--hu) * 3.4276 * (1 - var(--header-ink)) + 21.937px * var(--header-ink));
    line-height: calc(var(--hu) * 4 * (1 - var(--header-ink)) + 25.6px * var(--header-ink));
    letter-spacing: calc(var(--hu) * -0.10283 * (1 - var(--header-ink)) - 0.6581px * var(--header-ink));
    white-space: nowrap;
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .js-logo-mark {
    width: calc(var(--hu) * 3.9414 * (1 - var(--header-ink)) + 25.225px * var(--header-ink));
    height: calc(var(--hu) * 4 * (1 - var(--header-ink)) + 25.6px * var(--header-ink));
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .js-nav-panel {
    gap: 0;
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .elementor-nav-menu--main .elementor-nav-menu {
    gap: calc(var(--hu) * 3.2 * (1 - var(--header-ink)) + 24px * var(--header-ink));
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
    font-size: calc(var(--hu) * 1.5 * (1 - var(--header-ink)) + 15px * var(--header-ink));
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: normal;
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .btn-nav {
    width: auto;
    height: calc(var(--hu) * 4.4 * (1 - var(--header-ink)) + 32px * var(--header-ink));
    margin: 0 0 0 calc(var(--hu) * 2.4 * (1 - var(--header-ink)) + 8px * var(--header-ink));
    padding: calc(7px * var(--header-ink)) calc(var(--hu) * 2.2842 * (1 - var(--header-ink)) + 16px * var(--header-ink));
    font-size: calc(var(--hu) * 1.4 * (1 - var(--header-ink)) + 14px * var(--header-ink));
    line-height: 1.25;
    letter-spacing: calc(var(--hu) * 0.014 * (1 - var(--header-ink)) + 0.14px * var(--header-ink));
  }
}

html.swi-hdr3 .js-site-header .elementor-nav-menu--main .elementor-item::before,
html.swi-hdr3 .js-site-header .elementor-nav-menu--main .elementor-item::after {
  display: none;
}

/* Phones and tablets: a black bar 65 px (Figma mobile, 2026-11-24: logo
   130x24 with a 24 px mark, burger 24x24, 20 px side gutters); the menu
   fills the screen. */
@media (max-width: 1024px) {
  html.swi-hdr3 .elementor-location-header .js-site-header {
    --gutter: 20px;
    min-height: 65px;
    padding: max(8px, env(safe-area-inset-top, 0px)) var(--gutter) 8px;
    background: #000;
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .js-logo {
    gap: 10px;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -0.72px;
  }

  html.swi-hdr3 .elementor-location-header .js-site-header .js-logo-mark {
    width: 24px;
    height: 24px;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* 48 px tap target, the 24 px icon sits on the gutter line. */
    margin-right: -12px;
    padding: 12px;
    gap: 4.5px;
    touch-action: manipulation;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-toggle span {
    width: 24px;
    height: 3px;
    flex: none;
  }

  html.swi-hdr3.swi-nav-open .js-nav-toggle span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  html.swi-hdr3.swi-nav-open .js-nav-toggle span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  html.swi-hdr3.swi-nav-open .elementor-location-header .js-site-header {
    border-bottom-color: transparent;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel.is-open {
    inset: 73px 0 0;
    gap: 8px;
    padding: 28px clamp(20px, 5.6vw, 32px) max(24px, env(safe-area-inset-bottom, 0px));
    background: #000;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: none;
  }

  html.swi-hdr3.swi-nav-open .elementor-location-header::before {
    content: "";
    position: fixed;
    inset: 0;
    display: block;
    background: #000;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel .elementor-nav-menu--main .elementor-nav-menu {
    gap: 8px;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 0;
    font-size: clamp(26px, 7.7vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel .btn-nav {
    align-self: flex-start;
    flex: none;
    width: auto;
    height: auto;
    min-height: 56px;
    /* The menu list keeps an 8 px gap above the button. */
    margin: 16px 0 0;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: normal;
    color: #000;
    background: #fff;
  }
}

@media (max-width: 1024px) and (max-height: 600px) {
  html.swi-hdr3 .elementor-location-header .js-nav-panel.is-open {
    padding-top: 12px;
    gap: 0;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
    min-height: 44px;
    padding-block: 6px;
    font-size: 24px;
  }

  html.swi-hdr3 .elementor-location-header .js-nav-panel .btn-nav {
    margin-top: 12px;
  }
}

/* Skip link. */
.swi-skip {
  position: fixed;
  z-index: 10000;
  top: 16px;
  left: 24px;
  padding: 14px 20px;
  background: #fff;
  color: #000;
  font: 500 16px/1.2 var(--font-display), sans-serif;
  transform: translateY(-150%);
}

.swi-skip:focus {
  transform: none;
}

html.swi-motion :is(a, button, [role="button"]):focus-visible {
  outline: 2px solid #eb4600;
  outline-offset: 5px;
}

html.swi-motion section[id] {
  scroll-margin-top: var(--swi-header-h, 90px);
}

@media (max-width: 1024px) {
  html.swi-motion section[id] {
    scroll-margin-top: 88px;
  }
}

/* ---------- Home: hero intro (scene + headline, then the rest) -------- */
@media (prefers-reduced-motion: no-preference) {
  html.swi-intro-pending #top .js-scene-copy,
  html.swi-intro-pending .js-site-header,
  html.swi-intro-pending .js-scene-zone .swi-scene__sticky {
    visibility: hidden;
  }

  html.swi-intro-playing .js-scene-zone .swi-scene__sticky {
    animation: swi-soft-in 0.8s ease-out both;
  }

  html.swi-intro-playing .js-site-header > *,
  html.swi-intro-playing #top .js-scene-copy > p,
  html.swi-intro-playing #top .js-scene-copy > .btn,
  html.swi-intro-playing #top .stat > *,
  html.swi-intro-playing #top .swi-hero-thumb,
  html.swi-intro-playing #top .js-scene-copy > img {
    animation: swi-open 0.6s 0.08s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  /* Rails grow up from the bottom, stat rules from the right. */
  html.swi-intro-playing #top > .frame-inner-light {
    border-color: transparent;
  }

  html.swi-intro-playing #top > .frame-inner-light::before,
  html.swi-intro-playing #top > .frame-inner-light::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.1rem;
    background: var(--rule-light);
    transform-origin: bottom;
    animation: swi-rail-y 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    pointer-events: none;
  }

  html.swi-intro-playing #top > .frame-inner-light::before {
    left: -0.1rem;
  }

  html.swi-intro-playing #top > .frame-inner-light::after {
    right: -0.1rem;
  }

  html.swi-intro-playing #top .stat {
    position: relative;
    border-top-color: transparent;
  }

  html.swi-intro-playing #top .stat::before {
    content: "";
    position: absolute;
    top: -0.1rem;
    left: 0;
    right: 0;
    height: 0.1rem;
    background: #fff;
    transform-origin: right;
    animation: swi-rail-x 0.8s 0.15s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}

@keyframes swi-open {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes swi-rail-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes swi-rail-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes swi-soft-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Section overlap ------------------------------------------- */
.swi-overlap {
  position: relative;
}

.swi-overlap-next {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* ---------- Headings: line covers -------------------------------------- */
.swi-lines {
  position: relative;
}

.swi-lines-wait {
  visibility: hidden;
}

.swi-lines-covering {
  opacity: 1 !important;
}

.swi-line-cover {
  position: absolute;
  display: block;
  visibility: visible;
  z-index: 3;
  pointer-events: none;
  clip-path: inset(0 0 0 100%);
}

.swi-line-plate {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  background: #eb4600;
  pointer-events: none;
}

.swi-word {
  display: inline-block;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .swi-lines-wait {
    visibility: visible;
  }

  .swi-line-cover {
    display: none;
  }
}

/* ---------- Buttons (design 2026-11) -----------------------------------
   The label slides out to the left and its copy in from the right, an ink
   field (canvas) runs behind it, the fill swaps and an orange rule draws
   along the top edge. swi-motion.js builds .swi-swap / .swi-ink. */
html.swi-motion .btn,
html.swi-motion .swi-news__nav button {
  --btn-time: 0.9s;
  --btn-ease: cubic-bezier(0.16, 1, 0.35, 1);
  position: relative;
  isolation: isolate;
  overflow: clip;
  overflow-clip-margin: 1px;
  transition: background-color var(--btn-time) var(--btn-ease), color var(--btn-time) var(--btn-ease), border-color var(--btn-time) var(--btn-ease) !important;
}

html.swi-motion .btn::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 1px;
  background: #eb4600;
  transform: scaleX(0);
  transform-origin: right center;
  pointer-events: none;
  transition: transform var(--btn-time) var(--btn-ease);
}

/* Hover fills: light buttons go black, dark buttons go white. */
html.swi-motion :is(.btn-light, .btn-nav):is(:hover, :focus-visible) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

html.swi-motion .btn-dark:is(:hover, :focus-visible) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

html.swi-motion .btn-plain:is(:hover, :focus-visible) {
  background-color: transparent !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

html.swi-motion .btn-ghost-light:is(:hover, :focus-visible),
html.swi-motion .btn-outline-light:is(:hover, :focus-visible) {
  background-color: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.swi-swap {
  position: relative;
  z-index: 1;
  display: grid;
}

.swi-swap__line {
  grid-area: 1 / 1;
  text-align: inherit;
}

.btn .swi-swap__line {
  text-align: center;
}

.swi-sw-mask {
  display: inline-block;
  overflow: clip;
  vertical-align: middle;
  white-space: nowrap;
}

.swi-sw {
  display: block;
  transform: translate(0);
  transition: transform var(--btn-time, 0.9s) var(--btn-ease, cubic-bezier(0.16, 1, 0.35, 1));
  transition-delay: calc(var(--i) * 20ms);
}

.swi-swap__line + .swi-swap__line .swi-sw {
  transform: translateX(160%);
}

.swi-btn-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
}

.swi-ink {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--btn-time, 0.9s) var(--btn-ease, cubic-bezier(0.16, 1, 0.35, 1));
}

@media (hover: hover) and (pointer: fine) {
  html.swi-motion .btn:is(:hover, :focus-visible)::before {
    transform: scaleX(1);
  }

  :is(.btn, .text-link):is(:hover, :focus-visible, .is-arrow-hot) .swi-swap__line:first-child .swi-sw {
    transform: translateX(-160%);
  }

  :is(.btn, .text-link):is(:hover, :focus-visible, .is-arrow-hot) .swi-swap__line + .swi-swap__line .swi-sw {
    transform: translate(0);
  }

  .btn:is(:hover, :focus-visible) .swi-ink {
    opacity: 1;
  }
}

/* Text links: the words swap sideways, the arrow dissolves in orange. */
html.swi-motion .text-link {
  --btn-time: 0.9s;
  --btn-ease: cubic-bezier(0.16, 1, 0.35, 1);
}

html.swi-motion .text-link:is(:hover, :focus-visible) {
  color: var(--ink, rgba(0, 0, 0, 0.64));
}

html.swi-motion .text-link-light:is(:hover, :focus-visible) {
  color: var(--white, #fff);
}

.text-link .swi-swap {
  overflow: clip;
}

.swi-arrow-wipe {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
  overflow: clip;
  color: #eb4600;
}

.swi-arrow-wipe .swi-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  vertical-align: 0;
  transition: none;
}

.swi-arrow-wipe canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

/* News arrows and social buttons: a plate wipes in from the right. */
html.swi-motion .swi-news__nav button {
  transition: border-color 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

html.swi-motion .swi-news__nav button::before,
.swi-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: inset(0 0 0 100%);
  pointer-events: none;
  transition: clip-path 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

html.swi-motion .swi-news__nav button::before {
  background: #000;
}

html.swi-motion .swi-news__nav button > * {
  position: relative;
  z-index: 1;
  color: #fff;
  mix-blend-mode: difference;
}

html.swi-motion .swi-news__nav button:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

html.swi-motion .swi-news__nav button:is(:hover, :focus-visible)::before,
.swi-social a:is(:hover, :focus-visible)::before {
  clip-path: inset(0);
}

/* Footer links: colour only; their words rise in on scroll. */
.elementor-location-footer .elementor-nav-menu a.elementor-item {
  transition: color 0.35s ease !important;
}

.elementor-location-footer .elementor-nav-menu a.elementor-item:is(:hover, :focus-visible) {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}

.elementor-location-footer .swi-swap__line {
  text-align: start;
}

.swi-body-mask {
  display: inline-block;
  position: relative;
  overflow: clip;
  white-space: nowrap;
  vertical-align: top;
}

.swi-body-word {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  html.swi-motion .btn::before,
  html.swi-motion .swi-news__nav button,
  html.swi-motion .swi-news__nav button::before,
  .swi-social a,
  .swi-social a::before,
  .swi-sw {
    transition: none !important;
  }

  .swi-swap__line + .swi-swap__line,
  .swi-ink {
    display: none;
  }
}

/* ---------- Footer social buttons ------------------------------------- */
.swi-social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.swi-social a {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #000;
  color: #fff;
  transition: border-color 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.swi-social a::before {
  background: #fff;
}

.swi-social a:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, 0.2);
}

.swi-social svg,
.swi-social .e-svg-base {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  color: #fff;
  fill: currentColor;
  mix-blend-mode: difference;
}

@media (max-width: 1024px) {
  .swi-social a {
    width: 44px;
    height: 44px;
  }

  .swi-social svg,
  .swi-social .e-svg-base {
    width: 16px;
    height: 16px;
  }
}

/* Footer on phones (design 2026-11): 44 px rows for the links. */
@media (max-width: 1024px) {
  .elementor-location-footer [data-id="59bddc8b"] {
    row-gap: 32px;
  }

  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu {
    gap: 0 !important;
  }

  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
    padding: 10px 0 !important;
    color: #fff !important;
    font-family: var(--font-display), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.14px !important;
  }
}

/* ---------- Cookie banner (inc/cookie.php) ---------------------------- */
.swi-cookie {
  --hu: min(1rem, 11.2px);
  position: fixed;
  right: 6rem;
  bottom: 0;
  left: 6rem;
  z-index: 120;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: var(--swi-header-h, 89px);
  padding: 0 1.6rem;
  background: #fff;
  color: #000;
  border-top: 1px solid #4d4d4d;
  border-bottom: 1px solid #4d4d4d;
  font-family: var(--font-display), sans-serif;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.swi-cookie[hidden] {
  display: none;
}

.swi-cookie.is-open {
  clip-path: inset(0);
}

.swi-cookie__title {
  flex: none;
  margin: 0;
  color: #000;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.swi-cookie__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: rgba(0, 0, 0, 0.64);
  font-size: 1.4rem;
  line-height: 1.3;
}

.swi-cookie__text a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.swi-cookie__text a:is(:hover, :focus-visible) {
  color: rgba(0, 0, 0, 0.5);
}

.swi-cookie__actions {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

html .swi-cookie .swi-cookie__actions > .btn {
  justify-content: center;
  width: auto;
  height: calc(var(--hu) * 3.2);
  min-height: 0;
  margin: 0;
  padding: 0 calc(var(--hu) * 1.4);
  border: 1px solid transparent;
  border-radius: 0;
  font-family: inherit;
  font-size: calc(var(--hu) * 1.2);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: calc(var(--hu) * 0.012);
  white-space: nowrap;
  cursor: pointer;
}

html .swi-cookie .swi-cookie__actions > .btn-dark {
  background: #000;
  color: #fff;
}

html .swi-cookie .swi-cookie__actions > .btn-plain {
  border-color: rgba(0, 0, 0, 0.3);
  background: transparent;
  color: #000;
}

html.swi-motion .swi-cookie .swi-cookie__actions > .btn-plain:is(:hover, :focus-visible) {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 1024px) {
  .swi-cookie {
    right: 12px;
    left: 12px;
    flex-wrap: wrap;
    gap: 8px;
    height: auto;
    min-height: 64px;
    max-height: calc(100dvh - 24px);
    padding: 12px 12px max(12px, env(safe-area-inset-bottom, 0px));
    border-right: 1px solid #4d4d4d;
    border-left: 1px solid #4d4d4d;
  }

  .swi-cookie__title {
    font-size: 14px;
  }

  .swi-cookie__text {
    flex: 1 1 100%;
    font-size: 13px;
  }

  .swi-cookie__actions {
    gap: 8px;
    margin-left: auto;
  }

  html .swi-cookie .swi-cookie__actions > .btn {
    height: auto;
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  html .swi-cookie .swi-cookie__actions > .btn-plain {
    padding: 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swi-cookie {
    transition: none;
  }
}

/* ---------- Arrows (Fluent icons in place of → ← ↗) --------------------- */
.swi-arrow {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.swi-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .swi-arrow {
    transition: none;
  }
}

/* ---------- Home: "What we do" cards ------------------------------------ */
html.swi-motion .js-scene-what .js-scene-item {
  cursor: pointer;
}

html.swi-motion .js-scene-what .js-scene-item.is-active {
  background-color: var(--white);
  color: var(--black);
}

html.swi-motion .js-scene-what .js-scene-item.is-active p {
  color: var(--ink) !important;
}

html.swi-motion .js-scene-what .js-scene-item:not(.is-active):hover p,
html.swi-motion .js-scene-what .js-scene-item:not(.is-active):focus-within p {
  color: var(--white) !important;
}

html.swi-motion .js-scene-what .js-scene-item:focus-visible {
  outline: 2px solid #eb4600;
  outline-offset: -3px;
}

/* ---------- Home: map screens (design 2026-11) -------------------------
   swi-motion.js adds the plates and wipes them (mountMapScreens). */
@media (min-width: 1025px) {
  /* The scene stays between the rails. */
  html.swi-motion .js-scene-zone .swi-scene__sticky {
    clip-path: inset(0 6rem);
  }

  /* Where: transparent over the scene, white text, until the plate
     (white) wipes in over the copy column and both rails. */
  html.swi-where-on #where {
    position: relative;
    background: transparent;
  }

  html.swi-where-on #where > .frame-inner-light {
    position: relative;
    z-index: 1;
    border-color: var(--rule-dark);
    background: transparent;
  }

  html.swi-where-on #where:not(.is-open) > .frame-inner-light > :first-child :is(p, a, span),
  html.swi-where-on #where:not(.is-open):not(.is-wiping) > .frame-inner-light > :is(h2, h3) {
    color: #fff !important;
  }

  html.swi-where-on #where:not(.is-open) > .frame-inner-light > :first-child .swi-arrow-wipe {
    color: #eb4600;
  }

  .swi-where-plate,
  .swi-where-rail,
  .swi-where-ink {
    position: absolute;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
  }

  .swi-where-plate {
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: calc(100% - 71rem);
    background: #fff;
  }

  .swi-where-rail {
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 6rem;
    background: #fff;
  }

  .swi-where-ink {
    z-index: 2;
    margin: 0;
    color: #000;
  }

  .swi-where-ink :is(p, a, span) {
    color: #000 !important;
  }

  .swi-where-ink .swi-arrow-wipe {
    color: #eb4600;
  }

  #where.is-open > .swi-where-ink {
    visibility: hidden;
  }

  /* Power: white rails; a white plate over the card column wipes away
     to the left, leaving the white copy boxes over the scene. */
  html.swi-motion .js-scene-zone #power {
    position: relative;
    background: linear-gradient(to right, var(--white) 6rem, transparent 6rem, transparent calc(100% - 6rem), var(--white) 0);
  }

  html.swi-motion .js-scene-zone #power > .frame-inner-light {
    position: relative;
    z-index: 1;
    border-color: var(--rule-dark);
  }

  .swi-power-plate {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6rem;
    z-index: 0;
    width: calc(100% - 77rem);
    background: #fff;
    pointer-events: none;
    clip-path: inset(0);
  }

  /* Group: a white veil over the video wipes away to the left. */
  .swi-video-host > .swi-group-veil,
  .swi-group-veil {
    position: absolute;
    top: 0;
    right: 6rem;
    bottom: 0;
    left: 6rem;
    z-index: 0;
    background: #fff;
    pointer-events: none;
    clip-path: inset(0);
  }
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .swi-video-host > .swi-group-veil,
  .swi-where-plate,
  .swi-where-rail,
  .swi-where-ink,
  .swi-power-plate,
  .swi-group-veil {
    display: none;
  }
}

@media (max-width: 1024px) {
  /* Phones: the products heading flows (its desktop line breaks go). */
  #products h2 br {
    display: none;
  }
}

/* ---------- Video inside the group screen ------------------------------- */
.swi-video-in {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--space-rail, 6rem);
  right: var(--space-rail, 6rem);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.swi-video-in .swi-video-layer {
  position: absolute;
  inset: 0;
}

.swi-video-in video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swi-video-host > :not(.swi-video-in) {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .swi-video-in {
    left: 0;
    right: 0;
  }
}

/* ---------- Hero: thumbnail that swaps the scene and the video --------- */
.swi-hero-thumb {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.swi-hero-thumb > img {
  display: block;
}

.swi-hm {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.swi-has-hm > .swi-hm {
  visibility: visible;
}

.swi-has-hm > :not(.swi-hm) {
  position: relative;
  z-index: 1;
}

.swi-hm__layer {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: #000;
}

.swi-hm__layer[hidden],
.swi-hm[hidden] {
  display: none;
}

.swi-hm__layer video,
.swi-hm__layer canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swi-hm__scene canvas {
  object-position: center top;
}

.swi-hm__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0004, #0004 35%, #0009);
  opacity: 0;
  transition: opacity 0.8s;
}

.swi-hm__video.is-background::after {
  opacity: 1;
}

.swi-has-hm .swi-hero-thumb > img {
  visibility: hidden;
}

.swi-hero-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.swi-hero-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.swi-hero-toggle[aria-disabled="true"] {
  cursor: progress;
}

/* ---------- News stack (design 2026-10-29: copy inside the cards) ---- */
.swi-news {
  position: relative;
  width: 100%;
}

.swi-news__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1232 / 460;
  overflow: hidden;
}

.swi-news__card {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  will-change: transform, width;
  /* The theme animates every button (transition: all); the stack moves
     the cards itself, frame by frame. */
  transition: none !important;
  white-space: normal;
}

/* The theme paints buttons pink on hover / focus. */
.swi-news__card:hover,
.swi-news__card:focus {
  background-color: #000;
  color: #fff;
}

.swi-hero-toggle:hover,
.swi-hero-toggle:focus {
  background: transparent;
}

.swi-news__nav button:hover,
.swi-news__nav button:focus {
  background-color: #fff;
  color: #000;
}

.swi-news__card *,
.swi-news-m__item * {
  transition: none !important;
}

.swi-news__card:focus-visible,
.swi-news__nav button:focus-visible,
.swi-news-m__item:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* One card's artwork: picture, eyebrow (category) top left, title bottom left. */
.swi-news-preview {
  position: relative;
  width: max(100%, var(--news-image-width, 100%));
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.swi-news-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.swi-news-preview--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.12) 42%, transparent 62%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 46%);
  pointer-events: none;
}

/* Cards that are not open: the eyebrow and title fade out before the
   card's right edge instead of being cut (reference). */
.swi-news__card:not([aria-pressed="true"]) .swi-news-preview__eyebrow,
.swi-news__card:not([aria-pressed="true"]) .swi-news-preview__title {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 max(0px, calc(var(--card-w, 100vw) - 3.2rem - 130px)), transparent max(0px, calc(var(--card-w, 100vw) - 3.2rem - 50px)));
  mask-image: linear-gradient(90deg, #000 0, #000 max(0px, calc(var(--card-w, 100vw) - 3.2rem - 130px)), transparent max(0px, calc(var(--card-w, 100vw) - 3.2rem - 50px)));
}

.swi-news-preview--split img {
  left: 50%;
  width: 50%;
}

.swi-news-preview--flipped img,
.swi-news-preview--brand img {
  transform: scaleX(-1);
}

.swi-news-preview__eyebrow {
  position: absolute;
  z-index: 1;
  top: 2.4rem;
  left: 3.2rem;
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.014rem;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
}

.swi-news-preview__title {
  position: absolute;
  z-index: 1;
  left: 3.2rem;
  bottom: 2.4rem;
  width: 40.72%;
  margin: 0;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.108rem;
}

.swi-news-preview--brand .swi-news-preview__title {
  width: 60%;
}

.swi-news-preview--brand .swi-news-preview__eyebrow {
  top: auto;
  bottom: 16rem;
}

.swi-news__footer {
  display: flex;
  justify-content: flex-start;
  padding: 2.4rem var(--space-pad, 3.2rem);
}

.swi-news__nav {
  display: flex;
  flex: 0 0 auto;
  gap: 0.8rem;
}

.swi-news__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 0.1rem solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: #fff;
  color: #000;
  font-size: 2rem;
  cursor: pointer;
}

.swi-news__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.swi-news-m,
.swi-news-m__nav {
  display: none !important;
}

@media (max-width: 1024px) {
  .swi-news,
  .swi-news__nav:not(.swi-news-m__nav) {
    display: none !important;
  }

  .swi-news-m {
    display: flex !important;
    gap: 8px;
    margin-inline: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .swi-news-m::-webkit-scrollbar {
    display: none;
  }

  .swi-news-m__item {
    position: relative;
    display: block;
    flex: 0 0 100%;
    min-width: 0;
    height: 380px;
    scroll-snap-align: start;
    color: #fff;
  }

  .swi-news-m .swi-news-preview {
    width: 100%;
  }

  .swi-news-m .swi-news-preview__title {
    left: 20px;
    bottom: 24px;
    width: calc(100% - 40px);
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .swi-news-m .swi-news-preview--split .swi-news-preview__title {
    font-size: 26px;
  }

  .swi-news-m .swi-news-preview__eyebrow {
    top: 24px;
    left: 20px;
    font-size: 11px;
  }

  .swi-news-m .swi-news-preview--split img {
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
  }

  .swi-news-m .swi-news-preview--split .swi-news-preview__eyebrow {
    top: 58%;
  }

  .swi-news-m__nav {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 24px clamp(20px, 5.6vw, 32px) 0;
  }

  .swi-news-m__nav button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    touch-action: manipulation;
  }
}

/* ---------- CTA field: full section width ------------------------------
   2026-11-18 (client, Figma): the field runs edge to edge, under the rails;
   the rail lines stay on top (frame-inner borders, z-index 2). It used to be
   inset 6rem between the rails. */

/* Phones: the Where plate is white, its copy needs no shadow. */
@media (max-width: 1024px) {
  html.swi-motion .js-scene-zone .js-scene-where h2,
  html.swi-motion .js-scene-zone .js-scene-where p,
  html.swi-motion .js-scene-zone #power h2,
  html.swi-motion .js-scene-zone #power p {
    text-shadow: none;
  }
}

/* CTA: one viewport tall on phones. */
@media (max-width: 1024px) {
  html.swi-motion .js-ember-cta {
    min-height: max(660px, 100svh);
  }
}

/* ---------- Inner pages: first screen intro ----------------------------
   The same two beats as the home page: the background (scene, field,
   photo) and the headline first, then the rest of the first screen. */
@media (prefers-reduced-motion: no-preference) {
  html.swi-intro-pending body:not(.home) main .elementor > :first-child :is(h1, h2, p, .btn, .stat, .swi-hero-thumb) {
    visibility: hidden;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child :is(p, .btn, .stat > *) {
    animation: swi-open 0.6s 0.08s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child :is(canvas, video, .swi-scene__sticky, .swi-hero-bg) {
    animation: swi-soft-in 0.8s ease-out both;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child > :is(.frame-inner, .frame-inner-light) {
    border-color: transparent;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child > :is(.frame-inner, .frame-inner-light)::before,
  html.swi-intro-playing body:not(.home) main .elementor > :first-child > :is(.frame-inner, .frame-inner-light)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 0.1rem;
    background: var(--rule-light);
    transform-origin: bottom;
    animation: swi-rail-y 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    pointer-events: none;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child > :is(.frame-inner, .frame-inner-light)::before {
    left: -0.1rem;
  }

  html.swi-intro-playing body:not(.home) main .elementor > :first-child > :is(.frame-inner, .frame-inner-light)::after {
    right: -0.1rem;
  }
}

/* ---------- Home (design 2026-11) --------------------------------------- */
/* Hero copy: a soft shade from the left keeps the text on the scene. */
@media (min-width: 1025px) {
  .copy-shade {
    background: radial-gradient(ellipse at left center, rgba(0, 0, 0, 0.72), transparent 74%);
  }
}

/* Investors: a 20 px strip of the ember horizon under the copy. */
.js-ember-invest {
  position: relative;
  overflow: hidden;
  background: #000;
}

.swi-ember--invest .swi-ember__canvas {
  inset: auto;
  left: -2.19697%;
  bottom: -3.3rem;
  width: 116.515151%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: none;
}

/* News on phones: position and disabled arrows. */
.swi-news-m__pos {
  margin-left: auto;
  color: #666;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.swi-news-m__nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 1024px) {
  html.swi-motion .js-scene-what .js-scene-item:not(.is-active) {
    background-color: rgba(0, 0, 0, 0.867);
  }

  html.swi-motion .js-scene-what .js-scene-item:not(.is-active) p {
    color: #c9c9c9 !important;
  }

  html.swi-motion .js-scene-what .js-scene-item.is-active p {
    color: #555 !important;
  }
}

/* ---------- Home 3D map (map3o): labels and flags ---------------------- */
.map3-labels {
  pointer-events: none;
}

.map3-flags {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map3-flags line {
  stroke: #9c9c96;
  stroke-width: 1;
}

.map3-flags polygon {
  fill: #c9c9c3;
}

.map3-label {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 132px;
  max-width: 240px;
  padding: 9px 0 0;
  border-top: 1px solid #777773;
  color: #d5d5d1;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.map3-label b {
  display: block;
  color: #e6e6e2;
  font-weight: 500;
}

.map3-label span,
.map3-label small {
  display: block;
  color: #7b7b76;
  font-size: 10px;
}

.map3-label--region {
  min-width: 170px;
}

.map3-label--region b {
  font-size: 14px;
}

.map3-label--site {
  width: 158px;
  padding: 6px 8px;
  font-size: 12px;
}

.map3-label--site span {
  color: #a5a59e;
  line-height: 1.4;
}

.js-scene-zone.scene-unavailable .swi-scene__sticky {
  background: radial-gradient(ellipse at 75% 40%, #682407 0, #211018 25%, #000 65%);
}

/* Front page: until the map has drawn, the stage shows the dark glow of
   the design (not the still of the old scene). */
body.home .js-scene-zone.is-fallback .swi-scene__sticky {
  background: radial-gradient(ellipse at 75% 40%, #682407 0, #211018 25%, #000 65%);
}
