/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  }
}

@layer base, components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sticky {
    position: sticky;
  }

  .contents {
    display: contents;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .rounded {
    border-radius: .25rem;
  }

  .underline {
    text-decoration-line: underline;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

@font-face {
  font-family: Host Grotesk Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("../fonts/host-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Host Grotesk Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("../fonts/host-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
/*
  Design styles — NOT processed by Tailwind/Lightning CSS, so colours,
  gradients and stops ship exactly as the design wrote them.

  Design styles, ported from the design branch (app/globals.css + app/pages.css),
  split per component and imported in the design's own cascade order
  (globals.css top to bottom, then pages.css): same-specificity rules
  depend on that order. wp.css (WordPress-only additions) comes last.
*/
/* Ported from design: app/globals.css lines 1-88 (tokens, reset, utilities). */

/* SOLEC homepage — "The Sun, Engineered"
   Palette: Gulf-night navy base, galvanised-sheet light grey, haze blue,
   PV-cell blue, and one sun amber reserved for the energy line and actions. */

:root {
  --night: #0f1b2a;
  --night-2: #172638;
  --cell: #1f3550;
  --sheet: #e4e7e8;
  --sheet-2: #d5dadc;
  --haze: #cfdce3;
  --sun: #1e96f1;
  --sand: #cfe5f8; /* pale tint of the Solec blue (was a warm sand) */
  --sun-deep: #1080da;
  --ink: #13202d;
  --ink-2: #4a5866;
  --line: rgba(19, 32, 45, 0.16);
  --white: #fbfbfa;

  --font: "Host Grotesk Variable", "Host Grotesk", system-ui, sans-serif;
  --accent: #1e96f1;
  --wide: 100%;
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  /* the content edge every section aligns to (same as the centred max-width containers) */
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --nav-top: 44px;

  /* type scale (≈ 1.25) */
  --t-0: 0.8125rem;
  --t-1: 0.9375rem;
  --t-2: 1.0625rem;
  --t-3: 1.375rem;
  --t-4: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  --t-5: clamp(2.2rem, 1.2rem + 3.4vw, 4.2rem);
  --t-6: clamp(2.8rem, 1rem + 5.6vw, 6.6rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-2);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg, canvas { display: block; }

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px;
  background: var(--sun); color: var(--night); border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wordmark {
  font-weight: 760; font-stretch: 125%; letter-spacing: 0.02em; font-size: 1.15rem;
}

.confirm-dot {
  display: inline-block; width: 8px; height: 8px; margin-left: 8px; vertical-align: 0.35em;
  border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(30, 150, 241, 0.25); cursor: help;
}
/* Ported from design: globals.css buttons. */

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 20px; min-height: 48px; border-radius: 12px;
  text-decoration: none; font-weight: 560; font-size: var(--t-1); border: 0; cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.btn__icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px;
  background: var(--sun); color: var(--white);
  transition: transform 0.4s var(--ease-out);
}
.btn--sun { background: var(--white); color: var(--night); }
.btn--sun:hover { background: #fff; }
.btn--dark { background: var(--night); color: var(--white); }
.btn--ghost {
  padding: 8px 20px; background: rgba(15, 27, 42, 0.38); color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover { background: rgba(15, 27, 42, 0.6); }

.link {
  display: inline-block; margin-top: 28px; font-weight: 560; text-decoration: none;
  background: linear-gradient(var(--sun), var(--sun)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px;
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; transition: background-size 0.4s var(--ease-out); }
/* Ported from design: globals.css announcement + nav. */

/* ---------- announcement + nav (after Heimdall Power) ---------- */

.announce {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 34px;
  display: grid; place-items: center; padding: 0 var(--gutter);
  background: var(--night-2); color: rgba(251, 251, 250, 0.82); font-size: var(--t-0); font-weight: 480;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease);
}
.announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.announce a { margin-left: 6px; font-weight: 600; color: var(--sun); }
.announce.is-gone { transform: translateY(-100%); }

.nav {
  position: fixed; z-index: 50; top: var(--nav-top); left: 50%;
  display: flex; gap: 8px; align-items: stretch;
  transform: translateX(-50%);
  transition: top 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav.is-scrolled { top: 14px; }

.nav__bar {
  display: flex; align-items: center; gap: 36px; height: 52px; padding: 0 10px 0 22px;
  border-radius: 12px; background: rgba(23, 38, 56, 0.86); color: #dfe4e8;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.nav__logo { text-decoration: none; color: var(--white); display: flex; align-items: center; }
.logo { display: block; height: 28px; width: auto; }
.logo--footer { height: 40px; }
.nav__links { display: flex; gap: 28px; font-size: var(--t-1); white-space: nowrap; }
.nav__links a { text-decoration: none; }
/* WhatsApp sits on its own tile, beside the call-to-action */
.nav__wa {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(23, 38, 56, 0.86); color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s, color 0.3s;
}
.nav__wa svg { width: 20px; height: 20px; }
.nav__wa:hover { background: #25d366; color: #fff; }
.nav__menu { display: none; }

.nav__cta {
  display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 10px 0 20px;
  border-radius: 12px; background: rgba(23, 38, 56, 0.86); color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none; font-size: var(--t-1); font-weight: 560; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* label that rolls up on hover */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll__inner { display: inline-block; transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1); color: var(--sun);
}
a:hover .roll__inner, a:focus-visible .roll__inner { transform: translateY(-100%); }
a:hover .roll::after, a:focus-visible .roll::after { transform: translateY(-100%); }

.menu {
  position: fixed; inset: 0; z-index: 45; padding: 120px var(--gutter) 40px;
  background: var(--night); color: var(--white);
}
.menu ul { display: grid; gap: 6px; }
.menu a { display: block; padding: 10px 0; font-size: var(--t-5); font-stretch: var(--wide); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px) {
  :root { --nav-top: 42px; }
  .nav { left: var(--gutter); right: var(--gutter); transform: none; }
  .nav__bar { flex: 1; justify-content: space-between; gap: 8px; }
  .nav__bar > nav { display: none; }
  .nav__cta { display: none; }
  .nav__wa { width: 48px; height: auto; }
  .nav__menu {
    display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px;
    background: transparent; cursor: pointer;
  }
  .nav__burger, .nav__burger::before {
    display: block; width: 18px; height: 1.6px; background: #dfe4e8; position: relative; transition: transform .3s var(--ease);
  }
  .nav__burger::before { content: ""; position: absolute; top: 6px; }
  .nav__menu[aria-expanded="true"] .nav__burger { transform: translateY(3px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }
  .nav__logo { flex: 1; }
}
/* Ported from design: globals.css hero. */

/* ---------- hero (scroll-scrubbed film) ---------- */

.hero { position: relative; height: 620vh; background: var(--night); color: var(--white); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b1520; }

.hero__poster, .hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__poster img { object-fit: cover; object-position: 50% 55%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s var(--ease-out); }
.hero__canvas.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background:
    linear-gradient(90deg, rgba(8, 15, 24, 0.66) 0%, rgba(8, 15, 24, 0.26) 38%, transparent 60%),
    linear-gradient(0deg, rgba(8, 15, 24, 0.6) 0%, transparent 40%),
    linear-gradient(180deg, rgba(8, 15, 24, 0.45) 0%, transparent 18%);
}
.hero__night { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
/* a hairline that fills while the film streams in */
.hero__load {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(30, 150, 241, 0.7), rgba(30, 150, 241, 0.15));
  transform-origin: 0 50%; transform: scaleX(var(--load, 0)); opacity: calc(1 - var(--load, 0) * var(--load, 0));
  transition: transform 0.3s linear;
}

.hero__line, .hero__outro {
  position: absolute; left: var(--edge); bottom: clamp(40px, 11vh, 120px); max-width: min(1040px, 90vw);
  will-change: opacity, transform;
}
.hero__line {
  visibility: hidden; opacity: 0; margin: 0;
  font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); line-height: 1; font-weight: 600; font-stretch: var(--wide);
  letter-spacing: -0.022em; max-width: 18ch; text-wrap: balance;
}
.hero__line .cw { display: inline-block; white-space: nowrap; }
.hero__line .cc { color: rgba(251, 251, 250, 0.16); transition: color 0.2s linear; }
.hero__line .cc[data-s="on"] { color: var(--white); }
.hero__line .cc[data-s="cur"] { color: var(--accent); transition: none; }

/* "Scroll to explore": trails the cursor over the film; docked at the bottom on touch screens */
.hero__cursor {
  position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
}
.hero__cursor[data-mode="follow"] { margin: -5px 0 0 -5px; }
.hero__cursor[data-mode="dock"] { position: absolute; top: auto; bottom: 28px; left: 50%; transform: translateX(-50%); }
.hero__cursor-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.hero__cursor-text { padding: 7px 11px; border-radius: 999px; background: rgba(8, 15, 24, 0.42); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.hero__cursor[data-mode="dock"] .hero__cursor-dot { animation: cue-dot 1.8s var(--ease-out) infinite; }
@keyframes cue-dot { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

.hero__outro { visibility: hidden; opacity: 0; }
.hero__outro-title { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); line-height: 1; font-weight: 600; max-width: 16ch; letter-spacing: -0.022em; text-wrap: balance; }

.hero--static { height: auto; }
.hero--static .hero__stage { position: relative; height: 100svh; min-height: 560px; }
.hero--static .hero__cursor, .hero--static .hero__load { display: none; }
.hero--static .hero__shade { opacity: 1; }
.hero--static h1.hero__line { visibility: visible; opacity: 1; }
.hero--static h1.hero__line .cc { color: var(--white); }

@media (max-width: 900px) {
  .hero { height: 540vh; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(8, 15, 24, 0.84) 0%, rgba(8, 15, 24, 0.35) 46%, transparent 64%),
      linear-gradient(180deg, rgba(8, 15, 24, 0.5) 0%, transparent 22%);
  }
  .hero__line { font-size: clamp(2.1rem, 9.4vw, 3rem); bottom: 92px; }
  .hero__outro { bottom: 92px; }
  .hero__outro-title { font-size: clamp(2.1rem, 9.4vw, 3rem); }
}
/* Ported from design: globals.css KPIs. */

/* ---------- KPIs: cards flying through a heading (roveia.com) ---------- */

.kpi { position: relative; z-index: 2; margin-top: -100vh; height: calc(200vh + var(--flight) * 170vh); pointer-events: none; }
.kpi__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; visibility: hidden; background: #0b1520; pointer-events: auto; color: var(--ink); }
.kpi__heading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); }
.kpi__heading p { font-size: clamp(3.2rem, 1rem + 8.4vw, 10.5rem); line-height: 0.96; font-weight: 500; letter-spacing: -0.055em; white-space: nowrap; }
.kpi__h1 { color: var(--ink); }
.kpi__h2 { color: var(--sun-deep); }

.kpi__card, .kpi__lead-box {
  position: absolute; left: calc(50% - var(--cw) / 2); top: calc(var(--cy, 50vh) - var(--ch) / 2); width: var(--cw); height: var(--ch);
  border-radius: 20px; overflow: hidden; color: var(--white);
}
.kpi__card { will-change: transform; transform-origin: 50% 50%; transform: translate3d(120vw, 0, 0); box-shadow: 0 40px 80px -40px rgba(19, 32, 45, 0.45); background: #0b1520; }
.kpi__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kpi__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 15, 24, 0.86) 0%, rgba(8, 15, 24, 0.35) 46%, rgba(8, 15, 24, 0.05) 70%, rgba(8, 15, 24, 0.3) 100%); }
.kpi__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 26px); }
.kpi__label { display: flex; gap: 8px; align-items: center; font-size: var(--t-1); color: rgba(251, 251, 250, 0.85); }
.kpi__figure { display: flex; align-items: baseline; gap: 0.14em; font-size: clamp(3.4rem, 1.6rem + 3.6vw, 5.4rem); line-height: 0.9; font-weight: 500; letter-spacing: -0.05em; }
.kpi__unit { font-size: 0.34em; letter-spacing: -0.02em; }
.kpi__line { margin-top: 12px; font-size: var(--t-2); line-height: 1.3; color: rgba(251, 251, 250, 0.86); }

.kpi__lead { position: absolute; inset: 0; z-index: 1; will-change: transform, clip-path; transform-origin: 50% var(--cy, 50%); }
.kpi__lead picture, .kpi__lead img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kpi__lead img { object-fit: cover; object-position: 50% 55%; }
.kpi__film-shade {
  position: absolute; inset: 0; opacity: 0.3;
  background:
    linear-gradient(90deg, rgba(8, 15, 24, 0.66) 0%, rgba(8, 15, 24, 0.26) 38%, transparent 60%),
    linear-gradient(0deg, rgba(8, 15, 24, 0.6) 0%, transparent 40%),
    linear-gradient(180deg, rgba(8, 15, 24, 0.45) 0%, transparent 18%);
}
.kpi__lead-box { opacity: 0; border-radius: 0; }

@media (max-width: 900px) {
  .kpi__film-shade {
    background:
      linear-gradient(0deg, rgba(8, 15, 24, 0.84) 0%, rgba(8, 15, 24, 0.35) 46%, transparent 64%),
      linear-gradient(180deg, rgba(8, 15, 24, 0.5) 0%, transparent 22%);
  }
  .kpi__heading { justify-content: flex-start; padding-top: 13vh; }
  .kpi__heading p { font-size: clamp(2.6rem, 12.5vw, 4.4rem); }
  .kpi__figure { font-size: clamp(3rem, 15vw, 4.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .kpi { height: auto; margin-top: 0; pointer-events: auto; }
  .kpi__stage { position: relative; height: auto; visibility: visible !important; background: var(--white); padding: 120px var(--edge); display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
  .kpi__heading { order: -2; position: static; width: 100%; margin-bottom: 40px; }
  .kpi__card, .kpi__lead-box { position: relative; left: auto; top: auto; width: 300px; height: 420px; transform: none !important; opacity: 1; }
  .kpi__lead { order: -1; position: relative; inset: auto; clip-path: none !important; transform: none !important; width: 300px; height: 420px; border-radius: 20px; overflow: hidden; }
  .kpi__lead-box { position: absolute; inset: 0; width: auto; height: auto; }
  .kpi__film-shade { display: none; }
}
/* Ported from design: globals.css credentials + digit reels. */

/* ---------- credentials: compact bento, revealed by scroll ---------- */

.bt { position: relative; z-index: 2; background: var(--white); color: var(--ink); height: 230vh; }
.bt__hold { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 72px var(--edge) 40px; }
.bt__title { font-size: var(--t-4); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; color: #23303c; }
.bt__grid {
  margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 10px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: clamp(190px, 25vh, 250px) clamp(150px, 20vh, 200px);
  grid-auto-rows: clamp(150px, 20vh, 200px); grid-auto-flow: row dense;
}
/* Cell styles (ACF): feature = tall lead cell, set = wide numbered set, tile = single cell.
   In the design order (feature, set, tile, tile) this reproduces "dewa iso iso" / "dewa trakhees dm". */
.bt__cell--feature { grid-row: span 2; } .bt__cell--set { grid-column: span 2; }
.bt__cell { position: relative; overflow: hidden; border-radius: 14px; background: #eef0f1; color: var(--ink); clip-path: inset(100% 0 0 0 round 14px); will-change: clip-path; }
.bt__cell.has-media { background: #0b1520; color: var(--white); }
.bt__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.bt__media--still { animation: bt-drift 18s ease-in-out infinite alternate; }
@keyframes bt-drift { from { object-position: 50% 40%; } to { object-position: 50% 62%; } }
.bt__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 15, 24, 0.85) 0%, rgba(8, 15, 24, 0.3) 55%, rgba(8, 15, 24, 0.2) 100%); }
.bt__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 1.8vw, 24px); }
.bt__text > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.3s, transform 0.3s; }
.bt__cell.is-open .bt__text > * { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); }
.bt__cell.is-open .bt__text > :nth-child(2) { transition-delay: 0.08s; }
.bt__kicker { font-size: var(--t-0); opacity: 0.72; }
.bt__name { font-size: var(--t-3); line-height: 1.05; font-weight: 500; letter-spacing: -0.025em; }
.bt__detail { margin-top: 6px; font-size: var(--t-0); max-width: 34ch; color: var(--ink-2); }
.bt__cell.has-media .bt__detail { color: rgba(251, 251, 250, 0.78); }
.bt__cell--feature .bt__name { font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 11ch; }
.bt__cell--feature .bt__detail { font-size: var(--t-1); }
.bt__cell--set:has(.bt__iso) .bt__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bt__iso { position: absolute; left: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px); top: 50%; transform: translateY(-46%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt__iso li { padding-top: 10px; border-top: 1px solid var(--line); }
.bt__iso span { display: flex; align-items: baseline; gap: 6px; font-size: clamp(1.7rem, 0.8rem + 2vw, 2.8rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.bt__iso small { font-size: 0.4em; letter-spacing: 0; color: var(--ink-2); }
.bt__iso em { display: block; margin-top: 6px; font-style: normal; font-size: var(--t-0); color: var(--ink-2); }

/* phones: no hold; cells wipe up as they come on screen */
@media (max-width: 899px) {
  .bt { height: auto; }
  .bt__hold { position: relative; height: auto; padding: 72px var(--edge); }
  .bt__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  /* design rows: 300px (large) / 210px (wide) / 170px (small pairs) */
  .bt__cell--feature { grid-column: span 2; grid-row: auto; height: 300px; }
  .bt__cell--set { grid-column: span 2; height: 210px; }
  .bt__cell--tile { height: 170px; }
  .bt__cell { transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
  .bt__cell.is-open { clip-path: inset(0 0 0 0 round 14px); }
  .bt__cell .bt__media { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
  .bt__cell.is-open .bt__media { transform: scale(1); }
  .bt__iso { gap: 8px; }
  .bt__iso span { font-size: clamp(1.1rem, 5.6vw, 1.6rem); gap: 3px; }
  .bt__name { font-size: var(--t-2); }
}
.bt.is-static { height: auto; }
.bt.is-static .bt__hold { position: relative; height: auto; padding: 96px var(--edge); }
.bt.is-static .bt__cell { clip-path: none !important; }
.bt.is-static .bt__media { transform: none !important; animation: none; }

/* digit reels */
.odo { display: inline-flex; align-items: baseline; }
.odo__slot { display: inline-block; height: 1em; line-height: 1; overflow: hidden; margin-right: -0.03em; }
.odo__reel { display: flex; flex-direction: column; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.odo__reel > span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__char { display: inline-block; line-height: 1; }
/* Ported from design: globals.css how we deliver (+ its section title block). */

/* ---------- how we deliver (floema.com's CollectionsCta) ---------- */

.dv { position: relative; z-index: 4; height: calc((var(--count) + 1) * 150vh); background: var(--night); color: var(--white); }
.dv__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: auto; transform-origin: 50% 100%; }
.dv__panel { position: absolute; inset: 0; pointer-events: none; }
.dv__media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc(var(--reveal, 100) * 1%) 0 0 0); }
.dv__media-inner { position: absolute; inset: 0 0 -180px 0; will-change: transform; transform-origin: 50% 0; background-size: cover; background-position: center; }
.dv__media-inner::before { content: ""; position: absolute; inset: 0; -webkit-backdrop-filter: blur(24px); }
.dv__media-inner img { position: relative; }
.dv__media-inner img { width: 100%; height: 100%; object-fit: cover; }
.dv__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 15, 24, 0.58), rgba(8, 15, 24, 0.14) 62%), linear-gradient(0deg, rgba(8, 15, 24, 0.5), transparent 46%), linear-gradient(180deg, rgba(8, 15, 24, 0.35), transparent 20%); }

.dv__ui { position: absolute; inset: 0; z-index: 20; }
.dv__ui > * { pointer-events: auto; }
.dv__index { position: absolute; left: var(--edge); top: calc(50% + 4vh - 46px); overflow: hidden; height: 30px; }
.dv__num { display: block; font-size: var(--t-3); font-variant-numeric: tabular-nums; transform-origin: 50% 0; visibility: hidden; }
.dv__row { position: absolute; left: calc(var(--edge) + min(25vw, 330px)); right: var(--edge); top: calc(50% + 4vh - 64px); max-width: 900px; visibility: hidden; }
.dv__chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; visibility: hidden;
  background: rgba(255, 255, 255, 0.14); color: var(--white); font-size: var(--t-1); font-weight: 560;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(12px);
}
.dv__headline { margin-top: 34px; font-size: var(--t-5); line-height: 1.04; font-weight: 500; letter-spacing: -0.025em; max-width: 20ch; }
.dv__wordwrap { display: inline-block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.dv__word { display: inline-block; }
.dv__cta {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 4px; height: 52px; padding: 4px 18px 4px 4px; visibility: hidden;
  border-radius: 10px; background: var(--white); color: var(--night); text-decoration: none;
  font-size: var(--t-1); font-weight: 560;
}
.dv__cta-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; margin-right: 10px; background: var(--night); color: var(--white); transition: transform 0.4s var(--ease-out); }

.dv__card {
  position: absolute; right: var(--gutter); bottom: var(--gutter); width: min(360px, 34vw); visibility: hidden;
  display: grid; grid-template-columns: 1fr 96px; gap: 16px; padding: 18px; border: 0; border-radius: 14px;
  background: var(--white); color: var(--ink); text-align: left; cursor: pointer; font: inherit;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}
.dv__card-text { display: grid; align-content: space-between; gap: 10px; }
.dv__card-label { font-size: var(--t-3); line-height: 1.1; font-weight: 560; letter-spacing: -0.01em; }
.dv__card-items { font-size: var(--t-0); color: var(--ink-2); }
.dv__card-next { font-size: var(--t-1); font-weight: 560; }
.dv__card-thumb { border-radius: 8px; overflow: hidden; }
.dv__card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.dv__card:hover .dv__card-thumb img { transform: scale(1.06); }

.dv__line-wrapper { position: absolute; inset: 0; z-index: 19; pointer-events: none; }
.dv__line { position: absolute; left: 0; right: 0; top: calc(50% + 4vh); height: 1px; background: rgba(255, 255, 255, 0.28); }
.dv__progress { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--white); }
@keyframes dv-bob { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

@media (max-width: 900px) {
  .dv__index { top: calc(30vh - 34px); }
  .dv__line { top: 30vh; }
  .dv__row { left: var(--edge); top: auto; bottom: 236px; }
  .dv__headline { margin-top: 20px; font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .dv__cta { margin-top: 22px; }
    .dv__card { left: var(--gutter); right: var(--gutter); width: auto; grid-template-columns: 1fr 80px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dv { height: auto; margin-top: 0; }
  .dv__sticky { position: relative; height: auto; overflow: visible; }
  .dv__panel { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
  .dv__line-wrapper { display: none; }
}


/* ---------- how we deliver: section title ---------- */

.dv__title-wrap { position: absolute; z-index: 21; left: var(--edge); right: var(--edge); top: clamp(96px, 15vh, 150px); pointer-events: none; }
.dv__eyebrow { font-size: var(--t-1); color: rgba(251, 251, 250, 0.7); }
.dv__title { margin-top: 10px; font-size: var(--t-4); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; max-width: 22ch; color: var(--white); }
@media (max-width: 900px) {
  .dv__title-wrap { top: 72px; }
  .dv__title { font-size: var(--t-3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
/* Ported from design: globals.css projects. */

/* ---------- projects (trionn.com's selected work) ---------- */

.pj { position: relative; z-index: 3; height: 600vh; color: var(--ink); }
.pj__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(90deg, #eceef0 0%, #fbfbfa 100%); }
.pj__track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; will-change: transform; }

.pj__intro {
  flex: none; width: 50vw; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-left: var(--edge); padding-right: clamp(24px, 5vw, 80px);
}
.pj__kicker { display: flex; gap: 8px; align-items: center; font-size: var(--t-1); font-weight: 500; color: var(--ink-2); }
.pj__title { margin-top: 18px; font-size: clamp(3rem, 1.4rem + 4.4vw, 6.5rem); line-height: 0.96; font-weight: 500; letter-spacing: -0.045em; max-width: 9ch; color: #23303c; }

/* word shift (trionn's button): the label slides up and its copy follows */
.ws { display: inline-flex; align-items: center; gap: 40px; padding-bottom: 8px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: var(--t-1); font-weight: 500; }
.ws__clip { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.ws__a, .ws__b { display: block; transition: transform 0.6s var(--ease-out); }
.ws__b { position: absolute; left: 0; top: 100%; }
.ws:hover .ws__a, .ws:hover .ws__b, .ws:focus-visible .ws__a, .ws:focus-visible .ws__b { transform: translateY(-100%); }
.ws__arrow { display: inline-flex; overflow: hidden; }
.ws__arrow > span { display: inline-block; }
.pj__all { margin-top: 44px; color: var(--ink); }
.pj__illus { margin-top: 20px; font-size: var(--t-0); color: var(--ink-2); max-width: 32ch; }

.pj__card { position: relative; flex: none; width: 50vw; height: 100%; display: flex; align-items: center; padding: 0 clamp(24px, 3.4vw, 56px); }
.pj__line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(19, 32, 45, 0.16); transform: scaleY(0); transform-origin: 50% 0; }
.pj__card.is-line .pj__line { transform: scaleY(1); transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) calc(var(--i) * 0.1s); }
.pj__card-inner { width: 100%; will-change: transform; }
.pj__media { position: relative; display: block; aspect-ratio: 670 / 460; overflow: hidden; border-radius: 8px; background: #c3c9ce; }
.pj__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.pj__card:hover .pj__media img { transform: scale(1.07); }
.pj__badge {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 10px; border-radius: 999px;
  background: rgba(15, 27, 42, 0.6); color: var(--white); -webkit-backdrop-filter: blur(8px); font-size: var(--t-0); font-weight: 560;
}
.pj__meta { margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pj__text > * { opacity: 0; transform: translate3d(0, 26px, 0); }
.pj__card.is-in .pj__text > * { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); }
.pj__card.is-in .pj__text > :nth-child(2) { transition-delay: 0.08s; }
.pj__card.is-in .pj__text > :nth-child(3) { transition-delay: 0.16s; }
.pj__explore { flex: none; color: var(--ink); opacity: 0; transition: opacity 0.6s var(--ease-out) 0.25s; }
.pj__card.is-in .pj__explore { opacity: 1; }
.pj__num { font-size: var(--t-0); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pj__name { margin-top: 6px; font-size: var(--t-4); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; color: #23303c; }
.pj__place { margin-top: 8px; font-size: var(--t-0); color: var(--ink-2); }


@media (max-width: 900px) {
  .pj__intro { width: 100vw; padding-right: var(--gutter); }
  .pj__card { width: 84vw; padding: 0 16px; }
  .pj__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pj { height: auto !important; margin-top: 0; }
  .pj__pin { position: relative; height: auto; overflow-x: auto; }
  .pj__track { position: relative; }
  .pj__card, .pj__intro { height: 80vh; }
}
/* Ported from design: globals.css heading reveal. */

/* ---------- motion vocabulary: the shared heading reveal ---------- */

.words__clip { display: inline-block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; vertical-align: top; }
.words__w { display: inline-block; opacity: 0; transform: translate3d(0, 20%, 0); }
.words.is-on .words__w { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out) calc(var(--i) * 0.02s), transform 0.8s var(--ease-out) calc(var(--i) * 0.02s); }
/* Ported from design: globals.css own it or lease it. */

/* ---------- own it or lease it: two squares, like a pricing table ---------- */

.ol { position: relative; z-index: 2; background: var(--white); color: var(--ink); padding: clamp(96px, 14vh, 160px) var(--edge) clamp(110px, 16vh, 180px); border-radius: 0 0 28px 28px; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.35); }
.ol__head { text-align: center; }
.ol__title { font-size: var(--t-5); line-height: 1.02; font-weight: 500; letter-spacing: -0.035em; color: #23303c; }
.ol__intro { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); }
.ol__grid { margin: clamp(40px, 6vw, 64px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; perspective: 1200px; }
.ol__card {
  --mx: 50%; --my: 30%;
  position: relative; min-height: min(560px, 46vw); border-radius: 22px; overflow: hidden;
  opacity: 0; translate: 0 60px;
}
.ol.is-in .ol__card { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out) calc(var(--i) * 0.12s), translate 1.2s var(--ease-out) calc(var(--i) * 0.12s); }
.ol__card--own { background: var(--night); color: var(--white); --cell: rgba(120, 180, 240, 0.22); --sun-c: rgba(255, 214, 160, 0.22); }
.ol__card--lease { background: #e9f0f6; color: var(--ink); --cell: rgba(19, 32, 45, 0.12); --sun-c: rgba(255, 255, 255, 0.95); }
/* sunlight under the pointer, lighting a fine solar-cell grid */
.ol__cells {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
  background:
    radial-gradient(circle 260px at var(--mx) var(--my), var(--sun-c), transparent 70%),
    repeating-linear-gradient(90deg, var(--cell) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, var(--cell) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 72%);
  mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 72%);
}
.ol__card:hover .ol__cells { opacity: 1; }
.ol__body { position: relative; height: 100%; display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 36px); }
.ol__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ol__tag { padding: 6px 12px; border-radius: 999px; font-size: var(--t-0); box-shadow: inset 0 0 0 1px currentColor; opacity: 0.8; white-space: nowrap; }
.ol__figure { text-align: right; font-size: var(--t-0); opacity: 0.85; }
.ol__figure strong { display: block; font-size: clamp(1.6rem, 0.9rem + 1.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.ol__name { margin-top: 10px; font-size: clamp(2.8rem, 1.2rem + 3.6vw, 5rem); line-height: 0.92; font-weight: 500; letter-spacing: -0.05em; }
.ol__chart-wrap { margin-top: auto; }
.ol__chart { display: block; width: 100%; height: clamp(80px, 8vw, 110px); overflow: visible; clip-path: inset(-10px 100% -10px 0); }
.ol.is-in .ol__chart { clip-path: inset(-10px 0 -10px 0); transition: clip-path 1.8s cubic-bezier(0.65, 0, 0.35, 1) calc(0.3s + var(--i) * 0.15s); }
.ol.is-in .ol__card:hover .ol__chart { animation: ol-redraw 1.4s cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes ol-redraw { from { clip-path: inset(-10px 100% -10px 0); } to { clip-path: inset(-10px 0 -10px 0); } }
.ol__zero { stroke: currentColor; stroke-opacity: 0.25; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.ol__line { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ol__line--mine { stroke: var(--sun); }
.ol__card--own .ol__line--mine { stroke: #ffc879; }
.ol__line--other { stroke: currentColor; stroke-opacity: 0.28; stroke-width: 1.4; }
.ol__chart-wrap { position: relative; }
.ol__dot { position: absolute; left: 30%; top: calc(clamp(80px, 8vw, 110px) * 0.6); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #ffc879; box-shadow: 0 0 0 4px rgba(255, 200, 121, 0.2); opacity: 0; transition: opacity 0.4s 1.3s; }
.ol.is-in .ol__dot { opacity: 1; }
.ol__axis { margin-top: 6px; display: flex; justify-content: space-between; font-size: 0.72rem; opacity: 0.6; }
.ol__lead { margin-top: 14px; font-size: var(--t-2); line-height: 1.3; max-width: 30ch; }
.ol__points { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ol__points li { padding: 4px 10px; border-radius: 999px; font-size: var(--t-0); background: color-mix(in srgb, currentColor 9%, transparent); }
.ol__cta { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 6px 0 20px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.ol__card--own .ol__cta { background: var(--white); color: var(--night); }
.ol__card--lease .ol__cta { background: var(--night); color: var(--white); }
@media (max-width: 800px) {
  .ol__grid { grid-template-columns: 1fr; }
  .ol__card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ol__card { opacity: 1; translate: none; }
  .ol__chart { clip-path: none; }
  .ol__dot { opacity: 1; }
}
/* Ported from design: globals.css footer. */

/* ---------- footer: the film's image, rising ---------- */

main { position: relative; z-index: 1; background: var(--white); }
.ft { --t: 0; position: relative; z-index: 0; margin-top: -28px; overflow: hidden; background: #070e17; color: rgba(251, 251, 250, 0.72); font-size: var(--t-1); }
.ft a { text-decoration: none; }
.ft__photo {
  position: absolute; inset: 0; pointer-events: none;
  clip-path: inset(calc((1 - var(--t)) * 100%) 0 0 0);
}
.ft__photo picture, .ft__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft__photo img { object-fit: cover; object-position: 50% 70%; transform: scale(calc(1.12 - 0.12 * var(--t))); filter: brightness(calc(0.45 + 0.4 * var(--t))) saturate(0.9); }
/* navy over the top two thirds so every line of text reads; the roof shows below */
.ft__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #070e17 0%, rgba(7, 14, 23, 0.95) 30%, rgba(7, 14, 23, 0.7) 62%, rgba(7, 14, 23, 0.25) 100%); }
/* a soft band of light sweeping across the panels */
.ft__glint { position: absolute; inset: 0; z-index: 1; -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 75%); mask-image: linear-gradient(180deg, transparent 35%, #000 75%); background: linear-gradient(100deg, transparent 35%, rgba(255, 230, 190, 0.16) 50%, transparent 65%); background-size: 220% 100%; animation: ft-glint 7s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes ft-glint { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.ft__content { position: relative; z-index: 2; padding: clamp(96px, 13vh, 150px) var(--edge) 28px; transform: translate3d(0, calc((1 - var(--t)) * 60px), 0); }
.ft__close { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ft__line { font-size: clamp(2.6rem, 1rem + 4.6vw, 5.6rem); line-height: 1; font-weight: 500; letter-spacing: -0.045em; color: var(--white); max-width: 14ch; }
.ft__cta { margin-top: 36px; display: inline-flex; align-items: center; gap: 18px; height: 58px; padding: 0 6px 0 22px; border-radius: 12px; background: var(--white); color: var(--night); font-weight: 600; }
.ft__grid { margin-top: clamp(110px, 18vh, 190px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.ft__logo { height: 34px; width: auto; }
.ft__label { font-size: var(--t-0); color: rgba(251, 251, 250, 0.5); margin-bottom: 18px; }
.ft__col ul { display: grid; gap: 10px; }
.ft__col a { color: var(--white); }
.ft__reach { padding: 26px; border-radius: 20px; background: rgba(7, 14, 23, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(12px); }
.ft__reach-line { font-size: var(--t-3); line-height: 1.2; color: var(--white); letter-spacing: -0.01em; }
.ft__reach-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 20px; }
/* phone and WhatsApp: label rolls, underline draws across */
.ft__tel { position: relative; color: var(--white); padding-bottom: 4px; font-size: var(--t-2); }
.ft__tel::before, .ft__tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.ft__tel::before { background: rgba(255, 255, 255, 0.25); }
.ft__tel::after { background: var(--sun); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.6s var(--ease-out); }
.ft__tel:hover::after, .ft__tel:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.ft__address { margin-top: 18px; font-size: var(--t-0); }
.ft__base { margin-top: clamp(40px, 6vh, 64px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--t-0); color: rgba(251, 251, 250, 0.8); }
@media (max-width: 900px) {
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand, .ft__reach { grid-column: 1 / -1; }
  .ft__base { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft__glint { animation: none; }
  .ft__content { transform: none; }
  .ft__photo { clip-path: none; }
}
/* Ported from design: globals.css “one hover for every button” — must load after the components it overrides. */

/* ---------- one hover for every button ----------
   Labels roll up to a copy of themselves (.roll), and the arrow in the tile
   leaves to the right and comes back in from the left. */
.cta-icon, .btn__icon, .dv__cta-icon { display: grid; place-items: center; overflow: hidden; }
.cta-icon { width: 46px; height: 46px; border-radius: 9px; background: var(--sun); color: var(--white); flex: none; }
.cta-icon--ghost { width: 40px; height: 40px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); color: var(--white); transition: background 0.3s, color 0.3s; }
.ft__top:hover .cta-icon--ghost { background: var(--white); color: var(--night); }
a:hover .cta-icon svg, a:focus-visible .cta-icon svg, button:hover .cta-icon svg,
a:hover .btn__icon svg, a:focus-visible .btn__icon svg, a:hover .dv__cta-icon svg { animation: arrow-loop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1); }
.ft__top:hover .cta-icon svg { animation-name: arrow-loop-up; }
@keyframes arrow-loop { 0% { transform: none; } 38% { transform: translateX(170%); } 39% { transform: translateX(-170%); } 100% { transform: none; } }
@keyframes arrow-loop-up { 0% { transform: none; } 38% { transform: translateY(-170%); } 39% { transform: translateY(170%); } 100% { transform: none; } }
.ws:hover .ws__arrow > span, .ws:focus-visible .ws__arrow > span { animation: arrow-loop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1); }
/* Ported from design: globals.css page flow — must load after hero/KPIs. */

/* ---------- page flow ---------- */

.flow { position: relative; }
@media (max-width: 900px) { .kpi { height: calc(200vh + var(--flight-m, var(--flight)) * 170vh); } }
@media (max-width: 900px) { .hero__cursor[data-mode="dock"] { bottom: calc(28px + 70px + env(safe-area-inset-bottom, 0px)); } }
/* Ported from design: app/pages.css in full (the design loads it on every page, after globals.css). */

/* SOLEC inner pages — the homepage concept's system, extended.
   Tokens, nav, footer and the hover vocabulary live in globals.css. */

/* ---------- page scaffolding ---------- */

main { border-radius: 0 0 28px 28px; overflow: clip; }
.pg { background: var(--white); color: var(--ink); }
.sec { position: relative; padding: clamp(88px, 13vh, 150px) var(--edge); }
.sec--tight { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.sec--grey { background: #f1f3f4; }
.sec--dark { background: var(--night); color: var(--white); }
.sec + .sec:not(.sec--grey):not(.sec--dark) { padding-top: 0; }

.label { font-size: var(--t-1); color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.sec--dark .label, .on-dark .label { color: rgba(251, 251, 250, 0.62); }
.h1 { font-size: var(--t-6); line-height: 0.96; font-weight: 500; letter-spacing: -0.05em; color: #1c2a37; }
.h2 { font-size: var(--t-5); line-height: 1.02; font-weight: 500; letter-spacing: -0.035em; color: #1c2a37; }
.h3 { font-size: var(--t-4); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; }
.sec--dark .h1, .sec--dark .h2, .on-dark .h1, .on-dark .h2 { color: var(--white); }
.lede { font-size: var(--t-3); line-height: 1.32; letter-spacing: -0.01em; color: var(--ink-2); max-width: 38ch; }
.sec--dark .lede, .on-dark .lede { color: rgba(251, 251, 250, 0.75); }
.body { color: var(--ink-2); max-width: 60ch; }
.sec--dark .body { color: rgba(251, 251, 250, 0.72); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; }
.head-row > p { justify-self: end; }
@media (max-width: 900px) { .head-row { grid-template-columns: 1fr; } .head-row > p { justify-self: start; } }

/* ---------- buttons (same tiles and hover as the homepage) ---------- */

.b { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; height: 56px; padding: 0 6px 0 20px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: var(--t-1); white-space: nowrap; }
.b--dark { background: var(--night); color: var(--white); }
.b--light { background: var(--white); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }

/* ---------- breadcrumb ---------- */

/* Every inner hero: breadcrumbs at the same distance below the nav, the
   title 22px under them, both on the left edge. */
:root { --hero-top: clamp(150px, 19vh, 190px); --crumb-gap: 22px; --hero-h: clamp(2.7rem, 1.2rem + 4.5vw, 5.6rem); --hero-w: 12ch; }
/* one title size for every inner hero: midway between the About and
   Solutions titles */
.pg h1 { font-size: var(--hero-h) !important; max-width: var(--hero-w) !important; }
/* Full-screen heroes (About, Solutions, Projects, Own or lease): breadcrumbs
   stay at the top, the title sits in the middle of the screen. */
.hero-mid { position: relative; }
.hero-mid > .crumbs, .hero-mid .hero-mid__crumbs { position: absolute; top: var(--hero-top); left: var(--edge); z-index: 3; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-0); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs--light ol { color: rgba(251, 251, 250, 0.7); }
.crumbs--light a:hover { color: var(--white); }

/* ---------- image entrance: wipe up ---------- */

.rv { position: relative; border-radius: 14px; }
.rv__in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #dfe3e6; clip-path: inset(100% 0 0 0 round 14px); }
.rv.is-in .rv__in { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0s); }
.rv__m { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.rv.is-in .rv__m { transform: none; transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.rv--flat { border-radius: 0; }
.rv--flat .rv__in, .rv--flat.is-in .rv__in { border-radius: 0; clip-path: inset(100% 0 0 0); }
.rv--flat.is-in .rv__in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .rv__in, .rv__m { transition: none !important; } }

/* ---------- FAQ accordion ---------- */

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); position: relative; }
.acc__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease-out); }
.acc__item.is-open::after { transform: scaleX(1); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; font-size: var(--t-3); letter-spacing: -0.01em; color: inherit; }
.acc__icon { position: relative; flex: none; width: 18px; height: 18px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.acc__a > div { overflow: hidden; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 64ch; }
.sec--dark .acc, .sec--dark .acc__item { border-color: rgba(255, 255, 255, 0.14); }
.sec--dark .acc__item::after { background: var(--white); }
.sec--dark .acc__a p { color: rgba(251, 251, 250, 0.72); }
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .acc__q { font-size: var(--t-2); } }

/* ---------- filter chips ---------- */

.chips2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips2__label { margin-right: 6px; font-size: var(--t-0); color: var(--ink-2); }
.chip2 { display: inline-flex; gap: 8px; align-items: center; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: var(--t-1); color: var(--ink); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.chip2:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.chip2.is-on { background: var(--night); color: var(--white); box-shadow: none; }
.chip2:disabled { opacity: 0.35; cursor: default; }
.chip2__n { font-size: var(--t-0); opacity: 0.6; }

/* ---------- forms ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.form .wide { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; font-size: var(--t-0); color: var(--ink-2); }
.fld input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .fld select, .fld textarea {
  width: 100%; min-height: 54px; padding: 0 14px; border: 0; border-radius: 10px; font: inherit; font-size: var(--t-2); color: var(--ink);
  background: #f1f3f4; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s, background 0.25s;
}
.fld textarea { padding: 14px; min-height: 130px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.fld .req { color: var(--sun-deep); }
.fld-file { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 16px; border-radius: 10px; background: #f1f3f4; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; color: var(--ink); font-size: var(--t-1); }
.fld-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fld-file::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease-out); border-radius: 2px; }
.fld-file.has-file::after { transform: scaleX(1); }
.fld-file:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-0); color: var(--ink-2); }
.consent input { margin-top: 3px; accent-color: var(--night); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { width: 100%; margin-bottom: 10px; font-size: var(--t-0); color: var(--ink-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-1); color: var(--ink); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.seg label:hover > span { box-shadow: inset 0 0 0 1px var(--ink); }
.seg input:checked + span { background: var(--night); color: var(--white); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.form-err { color: #b4441b; font-size: var(--t-1); }
.form button[type="submit"] { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ---------- mobile quick-contact bar ---------- */

.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { position: fixed; z-index: 44; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(23, 38, 56, 0.9); -webkit-backdrop-filter: blur(14px); }
  .mbar a { display: grid; place-items: center; height: 46px; border-radius: 10px; color: var(--white); text-decoration: none; font-weight: 600; font-size: var(--t-1); background: rgba(255, 255, 255, 0.08); }
  .mbar a:last-child { background: var(--sun); }
  .ft__base { padding-bottom: 72px; }
}

/* ---------- footer additions (sitemap items) ---------- */

.ft__pos { margin-top: 18px; font-size: var(--t-3); line-height: 1.2; letter-spacing: -0.01em; color: var(--white); max-width: 14ch; }
.ft__group { margin-top: 10px; font-size: var(--t-0); }
.ft__reach-links { flex-direction: column; gap: 10px; align-items: flex-start; }
.ft__support { margin-top: 18px; display: inline-flex; gap: 6px; font-size: var(--t-1); color: var(--white); }
.ft__support > span:first-child { color: rgba(251, 251, 250, 0.6); }
.ft__creds { margin-top: clamp(40px, 6vh, 64px); display: flex; flex-wrap: wrap; gap: 8px; }
.ft__creds li { padding: 6px 12px; border-radius: 999px; font-size: var(--t-0); color: rgba(251, 251, 250, 0.82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); background: rgba(7, 14, 23, 0.4); }
.ft__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; margin-right: 18px; }
.ft__legal a:hover { color: var(--white); }
.nav__links a[aria-current="page"] .roll__inner { color: var(--white); box-shadow: 0 1px 0 var(--sun); }
@media (max-width: 900px) { .ft__base { flex-wrap: wrap; } .ft__legal { margin: 0; order: 3; width: 100%; } }

/* digit reels on inner pages: trim the sliver of the neighbouring digit at large sizes */
.pg .odo__slot { clip-path: inset(0.06em 0 -0.1em 0); }

/* thank-you state (forms) */
.thanks { display: grid; gap: 10px; justify-items: start; align-content: start; padding: clamp(24px, 4vw, 40px); border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.thanks__tick { width: 52px; height: 52px; margin-bottom: 8px; }
.thanks__tick circle { fill: none; stroke: var(--sun); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tick-draw 0.9s var(--ease-out) forwards; }
.thanks__tick path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick-draw 0.6s var(--ease-out) 0.6s forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.thanks__t { font-size: var(--t-4); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.thanks__d { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .thanks__tick circle, .thanks__tick path { animation: none; stroke-dashoffset: 0; } }
.form .b { justify-self: start; }
.form .b:disabled { opacity: 0.6; cursor: progress; }
.fld > span:first-child { color: var(--ink-2); }
.fld-file > span:nth-of-type(1) { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313202d' stroke-width='1.5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; padding-right: 40px !important; }

/* Heading reveal: give each word's clip room on every side so no letter
   (descenders, the right edge of tight letter-spacing) is cut. Layout is
   unchanged: the extra padding is cancelled by equal negative margins. */
.pg .words__clip, .ft--inner .words__clip { padding: 0.08em 0.14em 0.24em; margin: -0.08em -0.14em -0.24em; }

/* Footer on inner pages: held at the bottom of the screen behind the page,
   so the page lifts away like a curtain to uncover it. */
.ft--curtain { position: sticky; bottom: var(--ft-b, 0px); }

/* Footer light on inner pages: it sweeps across and back, so it never
   vanishes and restarts (the homepage footer is left as it is). */
.ft--inner .ft__glint { animation: ft-glint 9s ease-in-out infinite alternate; }
/* footer closing line: wider measure on inner pages so long lines take 2 lines */
.ft--inner .ft__line { max-width: 22ch; }

/* Curtain: the hero holds still while the rest of the page slides up over
   it (Projects, Solutions, Own or lease v3). Desktop only. */
@media (min-width: 901px) {
  .pg .s2-scene, .pg .fd-cards { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 0; }
  .s2-scene ~ section, .fd-cards ~ section { position: relative; z-index: 1; }
  :where(.s2-scene ~ section, .fd-cards ~ section) { background-color: var(--white); }
  .s2-scene + nav + section, .s2-scene + section, .fd-cards + section { border-radius: 28px 28px 0 0; box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.35); }
}

/* inner pages: room after the last nav link (News, Careers added) */
.nav .nav__bar { padding-right: 24px; }
@media (max-width: 900px) { .nav .nav__bar { padding-right: 10px; } }

/* cookie preferences (Cookie settings page and the pop-up) */
.lg-prefs { padding-top: clamp(24px, 4vh, 40px) !important; padding-bottom: 0 !important; }
.lg-prefs__card { border-radius: 24px; background: var(--night); color: var(--white); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.lg-prefs__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.lg-prefs__top .h3 { color: var(--white); font-weight: 500; }
.lg-prefs__top .body { color: rgba(251, 251, 250, 0.7); }
.lg-prefs ul { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.lg-prefs li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.lg-prefs li div { display: grid; gap: 4px; }
.lg-prefs li b { font-weight: 500; font-size: var(--t-2); }
.lg-prefs li span { color: rgba(251, 251, 250, 0.65); font-size: var(--t-1); max-width: 64ch; }
.lg-sw { flex: none; position: relative; width: 56px; height: 32px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.18); cursor: pointer; transition: background 0.3s; }
.lg-sw i { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform 0.4s var(--ease-out); }
.lg-sw.is-on { background: var(--sun); }
.lg-sw.is-on i { transform: translateX(24px); }
.lg-sw:disabled { opacity: 0.55; cursor: not-allowed; }
.lg-sw:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.lg-prefs__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lg-btn { height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: var(--white); font: inherit; cursor: pointer; transition: background 0.3s; }
.lg-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lg-btn--main { background: var(--sun); box-shadow: none; }
.lg-btn--main:hover { background: var(--sun-deep); }
.lg-saved { margin-left: 8px; color: var(--sun); opacity: 0; transition: opacity 0.3s; }
.lg-saved.is-on { opacity: 1; }

/* cookie settings pop-up (inner pages) */
.ck-pop { position: fixed; z-index: 120; right: 20px; bottom: 20px; width: min(460px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 22px; background: var(--night); color: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); animation: ck-in 0.5s var(--ease-out) both; }
@keyframes ck-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.ck-pop__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; }
.ck-pop__x:hover { background: rgba(255, 255, 255, 0.2); }
.ck-pop__more { display: block; padding: 0 26px 22px; font-size: var(--t-0); color: rgba(251, 251, 250, 0.7); }
.lg-prefs--pop .lg-prefs__card { padding: 26px 26px 16px; gap: 14px; background: none; border-radius: 0; }
.lg-prefs--pop .lg-prefs__top { display: grid; gap: 6px; padding-right: 40px; }
.lg-prefs--pop .h3 { font-size: var(--t-3); }
.lg-prefs--pop .body { font-size: var(--t-1); }
.lg-prefs--pop li { padding: 14px 0; }
.lg-prefs--pop li span { font-size: var(--t-0); }
.lg-prefs--pop .lg-btn { height: 42px; padding: 0 14px; font-size: var(--t-1); }
@media (max-width: 600px) { .ck-pop { right: 10px; left: 10px; bottom: 80px; width: auto; } }

/* phone field with country picker */
.ph { position: relative; }
.ph__row { display: flex; min-height: 54px; border-radius: 10px; background: #f1f3f4; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s, background 0.25s; }
.ph__row:focus-within { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.ph__cc { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 14px; border: 0; border-right: 1px solid var(--line); background: none; font: inherit; font-size: var(--t-2); color: var(--ink); cursor: pointer; border-radius: 10px 0 0 10px; }
.ph__cc:hover { background: rgba(28, 42, 55, 0.04); }
.ph__cc svg { color: var(--ink-2); transition: transform 0.3s; }
.ph__cc[aria-expanded="true"] svg { transform: rotate(180deg); }
.ph__flag { font-size: 1.25em; line-height: 1; }
.fld .ph__row input[type="tel"] { flex: 1; min-width: 0; min-height: 0; background: none !important; box-shadow: none !important; border-radius: 0 10px 10px 0; }
.ph__menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); width: min(320px, 90vw); padding: 8px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -12px rgba(15, 27, 42, 0.3); animation: ph-in 0.25s var(--ease-out) both; }
@keyframes ph-in { from { opacity: 0; transform: translateY(-6px); } }
.fld .ph__search { min-height: 42px !important; font-size: var(--t-1) !important; margin-bottom: 6px; }
.ph__menu ul { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.ph__menu li button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: var(--t-1); color: var(--ink); text-align: left; cursor: pointer; }
.ph__menu li button:hover, .ph__menu li button.is-on { background: #eef1f3; }
.ph__n { flex: 1; }
.ph__d { color: var(--ink-2); }
.ph__none { padding: 10px; color: var(--ink-2); font-size: var(--t-1); }

/* ===== Mobile pass ===== */
@media (max-width: 900px) {
  /* burger and X sit in the middle of their box */
  .nav__burger { top: -3px; }
  /* side menu: the page you're on is highlighted */
  .menu a { position: relative; color: rgba(251, 251, 250, 0.72); transition: color 0.3s, padding 0.3s; }
  .menu a[aria-current="page"] { color: var(--white); padding-left: 18px; }
  .menu a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun); }
}
@media (max-width: 900px) {
  .mbar { transition: transform 0.45s var(--ease-out), opacity 0.3s; }
  .mbar.is-hid { transform: translateY(calc(100% + 20px)); opacity: 0; }
  /* section bars at the bottom: above Call / Talk to an engineer, and down
     to the edge while those tuck away */
  .ab-bar, .so-jump { top: auto !important; bottom: 76px !important; transform: translateY(16px); transition: transform 0.5s var(--ease-out), opacity 0.4s, bottom 0.45s var(--ease-out); }
  .ab-bar.is-on, .so-jump.is-on { transform: none; }
  body.mbar-hid .ab-bar, body.mbar-hid .so-jump { bottom: 12px !important; }
}
/* curtain heroes on phones too (desktop rules above) */
@media (max-width: 900px) {
  .pg .s2-scene, .pg .fd-cards { position: sticky; top: var(--cur-top, 0px); z-index: 0; }
  .s2-scene ~ section, .fd-cards ~ section { position: relative; z-index: 1; }
  :where(.s2-scene ~ section, .fd-cards ~ section) { background-color: var(--white); }
  .s2-scene + nav + section, .s2-scene + section, .fd-cards + section { border-radius: 22px 22px 0 0; box-shadow: 0 -24px 50px rgba(0, 0, 0, 0.3); }
}

/* ===== section progress rail (About, Solutions) ===== */
.prail { position: fixed; z-index: 70; right: clamp(14px, 1.6vw, 28px); top: 50%; height: min(46vh, 380px); width: 14px; transform: translate(12px, -50%); opacity: 0; pointer-events: none; transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.prail.is-on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.prail__track { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: rgba(140, 150, 160, 0.35); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); overflow: hidden; }
.prail__fill { position: absolute; inset: 0; background: var(--sun); transform-origin: top; transform: scaleY(0); }
.prail ol { position: absolute; inset: 0; }
.prail li { position: absolute; left: 0; right: 0; height: 0; }
.prail a { position: absolute; right: -6px; top: -13px; display: flex; align-items: center; gap: 12px; height: 26px; padding-left: 12px; text-decoration: none; }
.prail__dot { flex: none; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #c9d0d6; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s; }
.prail li.is-done .prail__dot { background: var(--sun); }
.prail li.is-on .prail__dot { background: var(--sun); transform: scale(1.35); box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(30, 150, 241, 0.7); }
.prail__l { white-space: nowrap; padding: 5px 10px; border-radius: 999px; font-size: var(--t-0); color: var(--ink); background: rgba(251, 251, 250, 0.9); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(15, 27, 42, 0.14); opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.4s var(--ease-out); pointer-events: none; }
.prail li.is-on .prail__l, .prail a:hover .prail__l, .prail a:focus-visible .prail__l { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .prail { right: 6px; height: 34vh; }
  .prail__track { width: 2px; margin-left: -1px; }
  .prail__dot { width: 7px; height: 7px; margin-right: 9px; }
  .prail li.is-on .prail__l { opacity: 0; }
  .prail a { pointer-events: none; }
}
/* WordPress-only additions (no design equivalent): generic page/single/archive
   scaffolding until those templates are ported, and WP admin-bar offsets. */

.solec-page,
.solec-single,
.solec-article {
  padding: clamp(150px, 19vh, 190px) var(--edge) clamp(88px, 13vh, 150px);
  min-height: 70vh;
}
.solec-page__title,
.solec-single__title,
.solec-article__title {
  font-size: var(--t-6); line-height: 0.96; font-weight: 500; letter-spacing: -0.05em; color: #1c2a37; margin-bottom: 24px;
}

/* Logged-in editors: keep the fixed chrome below the admin bar. */
body.admin-bar .announce { top: 32px; }
body.admin-bar .nav { top: calc(var(--nav-top) + 32px); }
body.admin-bar .nav.is-scrolled { top: calc(14px + 32px); }
@media (max-width: 782px) {
  body.admin-bar .announce { top: 46px; }
  body.admin-bar .nav { top: calc(var(--nav-top) + 46px); }
  body.admin-bar .nav.is-scrolled { top: calc(14px + 46px); }
}

/* Tailwind preflight caps images at max-width:100%; the design has no such
   reset, and inside the flex nav bar it collapses the SVG logo. */
.logo, .ft__logo { max-width: none; }

/* KPIs without the hero before them: no overlap with the film's last screen
   (the section's scroll length is unchanged, only the overlap goes). */
.kpi.kpi--solo { margin-top: 0; }

/* ---------- variable item counts (ACF repeaters) ----------
   The design is drawn for a set number of items; these rules keep the same
   look when editors add or remove items. With the design's counts they
   resolve to exactly the design values. */

/* Footer: brand + one track per link column + contact box. */
.ft__grid { grid-template-columns: minmax(0, 1.2fr) repeat(var(--cols, 2), minmax(0, 0.8fr)) minmax(0, 1.2fr); }
@media (max-width: 900px) { .ft__grid { grid-template-columns: 1fr 1fr; } }

/* Credentials "wide, with numbers" cell: one column per number. */
.bt__iso { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }

/* Credentials with more than two grid rows: no held screen (it would not
   fit); cells wipe up as they arrive, like the phone layout. */
.bt.bt--tall { height: auto; }
.bt--tall .bt__hold { position: relative; height: auto; padding: 72px var(--edge); }
.bt--tall .bt__cell { transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
.bt--tall .bt__cell.is-open { clip-path: inset(0 0 0 0 round 14px); }
.bt--tall .bt__cell .bt__media { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.bt--tall .bt__cell.is-open .bt__media { transform: scale(1); }

/* Own or lease: one card centred; three or more share the row. */
.ol__grid--one { grid-template-columns: minmax(0, 520px); justify-content: center; }
.ol__grid--many { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: var(--max); }
.ol__grid--many .ol__name { font-size: clamp(2.4rem, 1rem + 2.6vw, 4rem); }
@media (max-width: 800px) { .ol__grid--one, .ol__grid--many { grid-template-columns: 1fr; } }

/* Header: when the menu has more links than the bar can hold, it switches to
   the burger + full-screen menu (same as the phone layout). */
.nav.nav--compact { left: var(--gutter); right: var(--gutter); transform: none; }
.nav.nav--compact .nav__bar { flex: 1; justify-content: space-between; gap: 8px; padding-right: 10px; }
.nav.nav--compact .nav__bar > nav, .nav.nav--compact .nav__cta { display: none; }
.nav.nav--compact .nav__logo { flex: 1; }
.nav.nav--compact .nav__menu { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.nav.nav--compact .nav__burger, .nav.nav--compact .nav__burger::before { display: block; width: 18px; height: 1.6px; background: #dfe4e8; position: relative; transition: transform .3s var(--ease); }
.nav.nav--compact .nav__burger { top: -3px; }
.nav.nav--compact .nav__burger::before { content: ""; position: absolute; top: 6px; }
.nav.nav--compact .nav__menu[aria-expanded="true"] .nav__burger { transform: translateY(3px) rotate(45deg); }
.nav.nav--compact .nav__menu[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }

/* Credentials: the large cell always takes the left column, whatever the order editors use. */
@media (min-width: 900px) { .bt__cell--feature { grid-column: 1; } }

/* Phone / compact menu: long menus scroll instead of running off screen. */
.menu { overflow-y: auto; overscroll-behavior: contain; }

/* News front page with fewer than four stories (the design always has four). */
.nd-front__grid.nd-front__grid--1 { grid-template-columns: 1fr; }
.nd-front__grid.nd-front__grid--2 { grid-template-columns: 1.6fr 1fr; }
.nd-front__grid--2 .nd-front__t--b { grid-column: 2; grid-row: 1 / span 2; }
.nd-front__grid--3 .nd-front__t--c { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .nd-front__grid.nd-front__grid--1, .nd-front__grid.nd-front__grid--2 { grid-template-columns: 1fr; }
  .nd-front__grid--2 .nd-front__t--b, .nd-front__grid--3 .nd-front__t--c { grid-column: 1 / -1; grid-row: auto; }
}
/* Story text from the block editor inside the design's column. */
.nd-col > * { margin: 0; }
.nd-col img { max-width: 100%; height: auto; border-radius: 14px; }
.nd-col h2, .nd-col h3 { font-size: var(--t-3); letter-spacing: -0.015em; line-height: 1.2; font-weight: 500; margin-top: 12px; }
.nd-col ul, .nd-col ol { padding-left: 1.2em; display: grid; gap: 8px; }
.nd-col a { text-decoration: underline; text-underline-offset: 3px; }

/* Items the filters hide (job rows, news and project cards) use the hidden
   attribute; some design rules set display (e.g. .cj-row { display: grid }),
   which would otherwise keep them on screen. */
[hidden] { display: none !important; }
