/* ==========================================================================
   Sunchoice Energy: site styles
   Brand: solar orange #F3921C · panel blue #1A5BA0 · charcoal #181C24 · white
   ========================================================================== */

/* self-hosted, SIL OFL (licences in assets/fonts) */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geistmono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* brand */
  --orange: #f3921c;
  --orange-600: #d9750a;
  --orange-700: #b85f05;
  --orange-300: #f9b860;
  --orange-100: #fdecd6;
  --orange-50: #fef6eb;
  --sun: #ffc56b;
  --blue: #1a5ba0;
  --blue-500: #1f5aa8;
  --blue-300: #7fa9de;
  --blue-100: #dce8f7;
  --blue-50: #eef4fb;
  --navy: #123b7a;
  --navy-800: #0d2240;
  --navy-900: #081325;
  --ink: #12161f;
  --ink-2: #2b3240;
  --muted: #5d6776;
  --muted-2: #8b93a1;
  --line: #e3e6eb;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-200: #e2e5ea;
  --white: #fff;

  /* chart (validated light-mode pair) */
  --c-solar: #d9750a;
  --c-load: #1f5aa8;

  /* system */
  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --frame: clamp(8px, 1.2vw, 16px);
  --gutter: clamp(18px, 4.4vw, 64px);
  --maxw: 1320px;
  --shadow-sm: 0 1px 2px rgba(8, 19, 37, .06), 0 4px 14px -6px rgba(8, 19, 37, .10);
  --shadow: 0 30px 60px -30px rgba(8, 19, 37, .28);
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--gray-100); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform .3s; }
.skip-link:focus { transform: none; }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sheet {
  position: relative; margin: var(--frame); background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; isolation: isolate;
}
.sheet--mist { background: var(--gray-50); }
.sheet--navy { background: var(--navy-900); color: #fff; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0 0 clamp(26px, 3vw, 40px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--orange::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(243, 146, 28, .18); }
.mono { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: var(--muted); }
.display {
  font-size: clamp(2.5rem, min(5.8vw, 9.4vh), 5.2rem); line-height: 1.02; font-weight: 400; letter-spacing: -.035em;
}
.h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.08; font-weight: 400; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.statement { font-size: clamp(1.45rem, 2.65vw, 2.35rem); line-height: 1.28; font-weight: 400; letter-spacing: -.022em; }
.lede { font-size: clamp(.98rem, 1.1vw, 1.08rem); line-height: 1.7; color: var(--muted); max-width: 52ch; }
.small { font-size: .9rem; line-height: 1.65; color: var(--muted); }
.tone-sun { background: linear-gradient(92deg, var(--orange-600) 0%, var(--orange) 45%, var(--sun) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tone-blue { background: linear-gradient(92deg, var(--navy) 0%, var(--blue) 60%, var(--blue-300) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tone-muted { color: var(--muted-2); }

/* line-by-line heading reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--orange); --fg: var(--ink); --chip: var(--ink); --chip-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 6px 0 22px;
  border-radius: 99px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sun); transform: translateX(-101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 16px 30px -14px rgba(243, 146, 28, .7); }
.btn .chip {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--chip); color: var(--chip-fg);
  transition: transform .6s var(--ease);
}
.btn:hover .chip { transform: rotate(-45deg); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--gray-200); padding: 0 22px; height: 44px; font-weight: 500; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--glass { --bg: rgba(255, 255, 255, .14); --fg: #fff; --chip: #fff; --chip-fg: var(--ink); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass::before { background: rgba(255, 255, 255, .22); }
.btn--sm { height: 40px; padding: 0 4px 0 16px; font-size: .86rem; gap: 10px; }
.btn--sm .chip { width: 32px; height: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: gap .5s var(--ease), background-size .5s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover { gap: 16px; }
.link-arrow:hover svg { transform: translateX(2px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--gray-200); font-size: .86rem; font-weight: 500; background: #fff; transition: background .4s, color .4s, border-color .4s;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--orange)); }
.pill--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px -30px rgba(0, 0, 0, .45);
  color: #fff; border-radius: var(--radius); position: relative; overflow: hidden;
}
.glass::after { /* cursor-follow sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 70%);
}
.glass:hover::after { opacity: 1; }
.glass--light {
  background: linear-gradient(140deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42)); color: var(--ink);
  border-color: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -34px rgba(8, 19, 37, .35);
}

/* glass orbs — semi-transparent spheres that blur what sits behind them */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .75), rgba(255, 255, 255, .16) 62%, rgba(255, 255, 255, .05) 72%);
  border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset -14px -22px 40px rgba(8, 19, 37, .12), 0 40px 60px -30px rgba(8, 19, 37, .35);
  animation: float 9s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
.orb--sun {
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sun) 32%, var(--orange) 66%, var(--orange-700) 100%);
  border: 0; backdrop-filter: none; box-shadow: 0 30px 40px -20px rgba(217, 117, 10, .55), inset -10px -16px 30px rgba(120, 50, 0, .25);
}
.orb--blue {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9), rgba(127, 169, 222, .55) 45%, rgba(26, 91, 160, .55) 100%);
}
@keyframes float { 50% { transform: translateY(-18px); } }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: calc(var(--frame) + 10px); left: 0; right: 0; z-index: 60; padding-inline: calc(var(--frame) + clamp(14px, 2.4vw, 34px));
  transition: transform .6s var(--ease);
}
.nav {
  display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 10px 0 6px; border-radius: 99px;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease), color .5s;
  color: #fff;
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo .logo-dark { display: none; }
.nav__contact { display: flex; flex-direction: column; font-size: .74rem; line-height: 1.45; opacity: .85; margin-left: clamp(8px, 4vw, 70px); }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 38px); margin-inline: auto; font-size: .9rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; opacity: .88; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 18px; font-size: .9rem; }
.nav__cta .quote {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; background: var(--orange); color: var(--ink); font-weight: 600; font-size: .86rem;
  transition: background .3s, transform .4s var(--ease);
}
.nav__cta .quote::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.nav__cta .quote:hover { background: var(--sun); transform: translateY(-1px); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .16); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }

/* header becomes a floating white pill once scrolled */
.site-header.is-stuck { position: fixed; top: 12px; }
.site-header.is-stuck .nav { background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-sm); color: var(--ink); padding-left: 16px; }
.site-header.is-stuck .logo-light { display: none; }
.site-header.is-stuck .logo-dark { display: block; }
.site-header.is-hidden { transform: translateY(-140%); }
.site-header.is-stuck .nav__toggle { background: var(--gray-100); }
body.page-light .site-header:not(.is-stuck) .nav { color: var(--ink); }
body.page-light .site-header:not(.is-stuck) .logo-light { display: none; }
body.page-light .site-header:not(.is-stuck) .logo-dark { display: block; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--navy-900); color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 34px; clip-path: circle(0 at calc(100% - 50px) 46px); transition: clip-path .9s var(--ease-out); visibility: hidden;
}
.menu::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 50% at 100% 0%, rgba(243, 146, 28, .28), transparent 70%); }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 46px); visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header .nav { color: #fff !important; background: transparent !important; box-shadow: none !important; }
body.menu-open .site-header .logo-dark { display: none !important; }
body.menu-open .site-header .logo-light { display: block !important; }
body.menu-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(2.1rem, 9vw, 3.4rem); letter-spacing: -.03em; line-height: 1.22; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu nav a small { font-family: var(--font-mono); font-size: .72rem; color: var(--orange); letter-spacing: 0; }
body.menu-open .menu nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.menu__foot { display: grid; gap: 6px; font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; margin: var(--frame); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  min-height: clamp(540px, 100svh - 2 * var(--frame), 980px); color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-900);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 19, 37, .55) 0%, rgba(8, 19, 37, 0) 26%),
    linear-gradient(0deg, rgba(8, 19, 37, .78) 0%, rgba(8, 19, 37, .25) 42%, rgba(8, 19, 37, 0) 62%),
    linear-gradient(90deg, rgba(8, 19, 37, .45) 0%, rgba(8, 19, 37, 0) 55%);
}
.hero__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: end; gap: 40px; padding: 0 clamp(20px, 4vw, 56px) clamp(28px, 4.4vw, 60px); }
.hero__tag { margin-bottom: 22px; }
.hero h1 { max-width: 15ch; }
.hero__text { margin-top: 22px; max-width: 46ch; font-size: clamp(.95rem, 1.05vw, 1.05rem); color: rgba(255, 255, 255, .84); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__aside { display: grid; gap: 14px; justify-items: end; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.hero__arrows button:hover { background: #fff; color: var(--ink); }
.hero__arrows svg { width: 18px; height: 18px; }
.mission { padding: 22px 22px 20px; width: 100%; }
.mission h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.mission h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243, 146, 28, .25); }
.mission p { margin-top: 10px; font-size: .86rem; line-height: 1.6; color: rgba(255, 255, 255, .86); min-height: 3.2em; transition: opacity .5s; }
.mission .link-arrow { margin-top: 16px; color: #fff; font-weight: 500; }
.mission__progress { display: flex; gap: 6px; margin-top: 18px; }
.mission__progress span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.mission__progress span::after { content: ""; display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.mission__progress span.is-done::after { transform: scaleX(1); }
.mission__progress span.is-active::after { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* sun-ray decoration from the logo, rotating slowly */
.rays { position: absolute; pointer-events: none; color: var(--orange); opacity: .9; animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; margin: var(--frame); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; color: #fff;
  min-height: clamp(460px, 72svh, 680px); display: flex; align-items: flex-end; background: var(--navy-900);
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 19, 37, .82) 0%, rgba(8, 19, 37, .25) 55%, rgba(8, 19, 37, .4) 100%); }
.page-hero__inner { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: 0 clamp(20px, 4vw, 56px) clamp(30px, 4.4vw, 60px); }
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.page-hero p { margin-top: 18px; max-width: 50ch; color: rgba(255, 255, 255, .84); }
.crumbs { display: flex; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.page-hero .glass { padding: 18px 20px; max-width: 300px; font-size: .86rem; line-height: 1.55; }
.page-hero .glass strong { display: block; font-size: 1.9rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }

/* ---------- tabs + about (Farmora second block) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { height: 38px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--gray-200); font-size: .86rem; font-weight: 500; transition: background .4s var(--ease), border-color .4s, color .4s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr); gap: 40px; margin-top: clamp(40px, 5vw, 64px); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-swapping { animation: swapIn .7s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } }
.tabpanel .small { margin-top: 26px; max-width: 72ch; }
.tabpanel .btn--ghost { margin-top: 28px; }
.words .w { color: var(--gray-200); transition: color .5s; }
.words .w.on { color: var(--ink); }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 5vw, 72px); }
.bento > * { border-radius: var(--radius); min-height: 300px; position: relative; overflow: hidden; }
.bento figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.06); }
.bento figure figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; font-size: .74rem; border-radius: 99px; }
.stat-card { padding: 24px 22px; background: var(--gray-100); display: flex; flex-direction: column; }
.num, .kpi strong, [data-count], .gauge__value, .calc-out strong { font-variant-numeric: tabular-nums lining-nums; }
.stat-card .num { font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stat-card h3 { font-size: 1rem; font-weight: 600; margin-top: 14px; }
.stat-card p { font-size: .86rem; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.stat-card .corner { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease); }
.stat-card .corner svg { width: 15px; height: 15px; }
.stat-card:hover .corner { transform: rotate(45deg); }
.stat-card--sun { background: var(--orange); }
.stat-card--sun p { color: rgba(18, 22, 31, .78); }

/* ---------- section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- energy flow (3D objects) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flow-item {
  position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 28px 26px 30px; border-radius: var(--radius-lg);
  background: var(--gray-50); overflow: hidden; isolation: isolate; transition: color .6s var(--ease);
}
.flow-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(243, 146, 28, .32), transparent 55%), linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.flow-item .num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); transition: color .6s; }
.flow-item .icon {
  width: 128px; height: 128px; object-fit: contain; margin: 22px 0 auto -8px;
  filter: drop-shadow(0 22px 18px rgba(8, 19, 37, .22)) drop-shadow(0 4px 4px rgba(8, 19, 37, .12));
  animation: bob 7s ease-in-out infinite; animation-delay: var(--bob, 0s);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
@keyframes bob { 50% { translate: 0 -18px; } }
.flow-item h3 { margin-top: 36px; }
.flow-item p { margin-top: 10px; font-size: .92rem; color: var(--muted); max-width: 34ch; transition: color .6s; }
.flow-item .tag { margin-top: 18px; font-family: var(--font-mono); font-size: .72rem; color: var(--orange-600); transition: color .6s; }
.flow-item:hover, .flow-item.is-inview { color: #fff; }
.flow-item:hover::before, .flow-item.is-inview::before { opacity: 1; }
.flow-item:hover .num, .flow-item.is-inview .num { color: var(--orange); }
.flow-item:hover p, .flow-item.is-inview p { color: rgba(255, 255, 255, .75); }
.flow-item:hover .tag, .flow-item.is-inview .tag { color: var(--sun); }
.flow-item:hover .icon, .flow-item.is-inview .icon { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .45)) drop-shadow(0 0 30px rgba(243, 146, 28, .25)); }
.flow-item .connector { position: absolute; top: 50%; right: -9px; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }

/* ---------- society-style service cards (Teamway reference) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc {
  position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 26px clamp(22px, 2.6vw, 36px) 30px; border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate; background: var(--bg); transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc--orange { --bg: #fbeedf; --dot: var(--orange); }
.svc--gray { --bg: #eeeff1; --dot: var(--ink); }
.svc--blue { --bg: #e5ecf6; --dot: var(--blue); }
.svc--navy { --bg: var(--navy-800); --dot: var(--orange); color: #fff; }
.svc .pill { align-self: flex-start; border: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.svc--navy .pill { background: rgba(255, 255, 255, .1); color: #fff; }
.svc h3 { margin-top: auto; font-size: clamp(1.7rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.svc p { margin-top: 14px; max-width: 34ch; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.svc--navy p { color: rgba(255, 255, 255, .74); }
.svc .link-arrow { margin-top: 34px; align-self: flex-start; }
.svc__art { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 48%; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.svc__art svg { height: 100%; width: auto; max-width: none; }
.svc__art .s { transition: transform 1.2s var(--ease); transform-box: fill-box; transform-origin: center; }
.svc:hover .s1 { transform: translate(-8px, -6px) rotate(-4deg); }
.svc:hover .s2 { transform: translate(6px, 8px) rotate(5deg); }
.svc:hover .s3 { transform: translate(-6px, 6px); }
.svc:hover .s4 { transform: translate(6px, -8px) rotate(-6deg); }
.svc--copy { min-height: auto; }

/* ---------- glass section over photography ---------- */
.lightroom { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.lightroom > img.bg { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.lightroom::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 19, 37, .65), rgba(8, 19, 37, .35) 40%, rgba(8, 19, 37, .82)); }
.lightroom .h2 { max-width: 18ch; }
.glass-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 90px); }
.glass-stats .glass { padding: 24px 22px 22px; min-height: 210px; display: flex; flex-direction: column; }
.glass-stats .big { font-size: clamp(2.2rem, 3.4vw, 3.1rem); letter-spacing: -.04em; line-height: 1; font-weight: 400; }
.glass-stats .big sup { font-size: .45em; vertical-align: top; margin-left: 4px; color: var(--sun); top: .3em; position: relative; }
.glass-stats h3 { margin-top: auto; font-size: .98rem; font-weight: 600; }
.glass-stats p { font-size: .84rem; color: rgba(255, 255, 255, .75); margin-top: 6px; line-height: 1.55; }
.glass-stats .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); margin-bottom: 18px; }
.glass-stats .ico svg { width: 18px; height: 18px; }

/* ---------- chart ---------- */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 34px); }
.chart-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; align-items: flex-start; margin-bottom: 18px; }
.chart-card__title { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.chart-card__sub { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--gray-100); }
.seg button { height: 32px; padding: 0 14px; border-radius: 99px; font-size: .82rem; font-weight: 500; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); }
.legend i.area { height: 10px; border-radius: 3px; opacity: .85; }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--gray-100); stroke-width: 1; }
.chart .axis text { fill: var(--muted-2); font-size: 11px; font-family: var(--font-mono); }
.chart .baseline { stroke: var(--gray-200); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2s var(--ease-out); }
.chart.is-in .draw { stroke-dashoffset: 0; }
.chart .area { opacity: 0; transition: opacity 1.2s .5s; }
.chart.is-in .area { opacity: 1; }
.chart .bar { transition: transform 1.1s var(--ease-out), opacity .3s; transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); }
.chart.is-in .bar { transform: none; }
.chart .bar:hover, .chart .bar.is-hot { opacity: .78; }
.chart .label { font-size: 11.5px; font-weight: 600; fill: var(--ink-2); }
.chart .xhair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart .hit { fill: transparent; }
.chart .marker { stroke: #fff; stroke-width: 2; opacity: 0; }
.chart.is-hover .xhair, .chart.is-hover .marker { opacity: 1; }
.tip {
  position: absolute; top: 0; left: 0; pointer-events: none; z-index: 5; min-width: 150px; padding: 10px 12px; border-radius: 12px; font-size: .78rem; line-height: 1.5;
  background: rgba(18, 22, 31, .92); color: #fff; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; backdrop-filter: blur(6px);
}
.tip.is-on { opacity: 1; }
.tip b { display: block; font-weight: 600; margin-bottom: 4px; }
.tip .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tip .row span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); }
.tip .row i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chart-note { margin-top: 14px; font-size: .78rem; color: var(--muted); }
.table-toggle { margin-top: 10px; font-size: .8rem; }
.table-toggle summary { cursor: pointer; color: var(--muted); width: max-content; }
.table-toggle table { margin-top: 10px; border-collapse: collapse; font-size: .8rem; width: 100%; }
.table-toggle th, .table-toggle td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.kpi { padding: 18px; border-radius: var(--radius); background: var(--gray-50); }
.kpi strong { display: block; font-size: 1.9rem; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.kpi span { font-size: .82rem; color: var(--muted); }

/* ---------- map ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.map-stage { position: relative; padding: clamp(18px, 3vw, 40px); border-radius: var(--radius-lg); background: radial-gradient(80% 70% at 30% 20%, rgba(243, 146, 28, .12), transparent 60%), var(--gray-50); }
.zim-map { width: 100%; height: auto; overflow: visible; }
.zim-outline { fill: none; stroke: var(--gray-200); stroke-width: 1.5; stroke-dasharray: 4 5; }
.zim-dots circle { fill: #b4c1d4; transition: fill .6s; }
.map-stage.is-in .zim-dots circle { animation: dotIn .9s var(--ease-out) both; }
@keyframes dotIn { from { opacity: 0; transform: scale(.2); } }
.zim-dots circle { transform-box: fill-box; transform-origin: center; }
.zim-dots circle.lit { fill: var(--orange); }
.pin { cursor: pointer; opacity: 0; transition: opacity .6s; }
.map-stage.is-in .pin { opacity: 1; transition-delay: calc(.8s + var(--i, 0) * .08s); }
.pin-dot { fill: var(--navy); stroke: #fff; stroke-width: 2.5; }
.pin-pulse { fill: var(--navy); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; animation-delay: calc(var(--i, 0) * .3s); }
.pin text { font-size: 15px; font-weight: 600; fill: var(--ink-2); paint-order: stroke; stroke: rgba(246, 247, 249, .9); stroke-width: 4px; }
.pin--hq .pin-dot { fill: var(--orange); r: 8; }
.pin--hq .pin-pulse { fill: var(--orange); opacity: .45; }
.pin--hq text { font-size: 17px; }
.pin.is-active .pin-dot { fill: var(--orange); }
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(3.4); opacity: 0; } }
.map-card { position: absolute; right: 18px; bottom: 18px; padding: 16px 18px; max-width: 250px; font-size: .84rem; line-height: 1.5; }
.map-card b { display: block; font-size: 1rem; }
.region-list { display: grid; gap: 0; margin-top: 30px; }
.region-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding .4s var(--ease); }
.region-list li:hover, .region-list li.is-active { padding-left: 8px; }
.region-list .mono { color: var(--orange-600); }
.region-list strong { font-weight: 600; }
.region-list em { font-style: normal; font-size: .84rem; color: var(--muted); }
@media (max-width: 720px) { .region-list li { grid-template-columns: 28px 1fr; row-gap: 2px; } .region-list em { grid-column: 2; } }

/* ---------- projects rail ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gray-200); display: grid; place-items: center; transition: background .3s, color .3s; }
.rail-ctrl button:hover { background: var(--ink); color: #fff; }
.rail-ctrl svg { width: 18px; height: 18px; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.proj { flex: 0 0 clamp(280px, 36vw, 520px); scroll-snap-align: start; position: relative; }
.proj__img { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj:hover .proj__img img { transform: scale(1.06); }
.proj__img .pill { position: absolute; left: 14px; top: 14px; }
.proj__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.proj__meta h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.proj__meta p { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.proj__meta .mono { white-space: nowrap; }
.rail-progress { height: 2px; background: var(--gray-100); margin-top: 34px; border-radius: 2px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 30%; background: var(--ink); transform-origin: left; }

/* ---------- partners marquee ---------- */
.partners { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(48px, 6vw, 90px); width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 30px; width: auto; opacity: .55; transition: opacity .4s; }
.marquee img.tall { height: 42px; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- process + orb ---------- */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.orb-stage { position: relative; aspect-ratio: 1; width: min(460px, 100%); margin-inline: auto; }
.orb-stage .backdrop { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; }
.orb-stage .backdrop img { width: 100%; height: 100%; object-fit: cover; }
.orb-stage .orb { animation: none; }
.orb-stage .ring-obj { position: absolute; width: 34%; right: -4%; top: 4%; filter: drop-shadow(0 26px 22px rgba(8, 19, 37, .3)); animation: bob 7s ease-in-out infinite; }
.orb-stage .glass--light { position: absolute; left: -6%; bottom: 8%; padding: 14px 16px; font-size: .8rem; display: flex; gap: 12px; align-items: center; }
.orb-stage .glass--light b { display: block; font-size: .95rem; }
.orb-stage .glass--light .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); }
.orb-stage .glass--light .ico svg { width: 18px; height: 18px; }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: .78rem; color: var(--muted); padding-top: 4px; }
.step::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--orange); transition: width 1.2s var(--ease-out); }
.step.is-in::after { width: 100%; }
.step h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.step p { font-size: .9rem; color: var(--muted); margin-top: 6px; max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gray-200); position: relative; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 60px 26px 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }

/* ---------- CTA ---------- */
.cta { position: relative; margin: var(--frame); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-900); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 19, 37, .9) 0%, rgba(8, 19, 37, .55) 55%, rgba(8, 19, 37, .2) 100%); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(56px, 8vw, 120px) clamp(22px, 5vw, 72px); }
.cta h2 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); line-height: 1.02; font-weight: 400; letter-spacing: -.04em; }
.cta p { margin-top: 20px; color: rgba(255, 255, 255, .8); max-width: 46ch; }
.cta .hero__actions { margin-top: 32px; }
.cta__card { justify-self: end; padding: 24px; max-width: 340px; display: grid; gap: 14px; }
.cta__card .row { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.cta__card .row svg { width: 18px; height: 18px; flex: none; color: var(--sun); }
.cta .orb { width: 140px; right: 6%; top: -40px; }
@media (max-width: 720px) { .cta .orb { width: 64px !important; top: 22px !important; right: 20px !important; } }

/* ---------- footer ---------- */
.footer { margin: var(--frame); border-radius: var(--radius-xl); background: var(--navy-900); color: rgba(255, 255, 255, .78); overflow: hidden; position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, rgba(243, 146, 28, .16), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(26, 91, 160, .3), transparent 70%); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: clamp(56px, 6vw, 90px) 0 50px; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: 20px; font-size: .9rem; max-width: 34ch; line-height: 1.7; }
.footer h3 { font-size: .74rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 400; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__news { display: flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); max-width: 360px; }
.footer__news input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 14px; color: #fff; outline: none; font-size: 16px; }
.footer__news input::placeholder { color: rgba(255, 255, 255, .5); }
.footer__news button { height: 40px; padding: 0 18px; border-radius: 99px; background: var(--orange); color: var(--ink); font-weight: 600; font-size: .85rem; }
.footer__word { font-size: clamp(4rem, 17.5vw, 17rem); line-height: .8; font-weight: 600; letter-spacing: -.06em; text-align: center; margin: 0 0 -.14em; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* ---------- inner page blocks ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(70px, 9vw, 130px); }
.feature-row--flip .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4.4; }
.feature-media .main img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .inset { position: absolute; width: 42%; aspect-ratio: 1; right: -4%; bottom: -8%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.feature-row--flip .feature-media .inset { right: auto; left: -4%; }
.feature-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .float-obj { position: absolute; width: 120px; top: -40px; left: -30px; filter: drop-shadow(0 20px 18px rgba(8, 19, 37, .25)); animation: bob 7s ease-in-out infinite; }
.feature-row--flip .feature-media .float-obj { left: auto; right: -30px; }
.feature-copy .eyebrow { margin-bottom: 20px; }
.feature-copy p { margin-top: 18px; color: var(--muted); line-height: 1.75; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; font-size: .94rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23b85f05' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.feature-copy .btn { margin-top: 32px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--gray-50); position: relative; overflow: hidden; transition: background .5s; min-height: 260px; display: flex; flex-direction: column; }
.value .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--orange-600); box-shadow: var(--shadow-sm); transition: background .5s, color .5s; }
.value .ico svg { width: 22px; height: 22px; }
.value h3 { margin-top: auto; padding-top: 40px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.value p { margin-top: 10px; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.value:hover { background: var(--orange-50); }
.value:hover .ico { background: var(--orange); color: var(--ink); }

.cert { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--orange-50), #fff 60%); border: 1px solid #f6dfc0; }
.cert__badge { width: 132px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); position: relative; }
.cert__badge img { width: 74%; }
.cert__badge svg.ring-text { position: absolute; inset: -14px; width: calc(100% + 28px); animation: spin 30s linear infinite; }
.cert__badge text { font-size: 10.5px; letter-spacing: .26em; fill: var(--orange-700); font-family: var(--font-mono); text-transform: uppercase; }
.cert p { color: var(--muted); margin-top: 12px; max-width: 70ch; line-height: 1.7; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--gray-200); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.timeline li.is-in::before { background: var(--orange); transition: background .5s .3s; }
.timeline h3 { font-size: 1.1rem; font-weight: 600; margin-top: 8px; }
.timeline p { font-size: .88rem; color: var(--muted); margin-top: 6px; }

.team-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.team-mosaic figure { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.team-mosaic figure:first-child { grid-row: span 2; }
.team-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-mosaic figure:hover img { transform: scale(1.05); }
.team-mosaic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; font-size: .8rem; }

/* systems / calculator */
.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.sys { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: var(--gray-50); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border: 1px solid transparent; transition: border-color .5s, transform .6s var(--ease); }
.sys:hover { border-color: var(--gray-200); transform: translateY(-4px); }
.sys--feature { background: var(--navy-800); color: #fff; }
.sys--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, rgba(243, 146, 28, .35), transparent 60%); }
.sys .kva { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; margin-top: 26px; }
.sys .kva small { font-size: .32em; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.sys--feature .kva small { color: rgba(255, 255, 255, .6); }
.sys h3 { font-size: 1.15rem; font-weight: 600; margin-top: 8px; }
.sys > p { font-size: .9rem; color: var(--muted); margin-top: 10px; line-height: 1.65; }
.sys--feature > p { color: rgba(255, 255, 255, .72); }
.sys .meter { margin-top: 22px; height: 6px; border-radius: 6px; background: var(--gray-200); overflow: hidden; }
.sys--feature .meter { background: rgba(255, 255, 255, .14); }
.sys .meter span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--sun)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.sys.is-in .meter span { transform: none; }
.sys .apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.sys .apps li { font-size: .76rem; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.sys--feature .apps li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); }
.sys .link-arrow { margin-top: auto; padding-top: 4px; align-self: flex-start; }
.sys .apps { margin-bottom: 28px; }
.sys img.obj { position: absolute; width: 110px; right: 14px; top: 14px; opacity: .95; filter: drop-shadow(0 16px 14px rgba(8, 19, 37, .25)); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.calc__panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.appliance { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.appliance:last-child { border-bottom: 0; }
.appliance label { font-size: .92rem; font-weight: 500; }
.appliance label small { display: block; font-size: .76rem; color: var(--muted); font-weight: 400; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: var(--gray-100); }
.stepper button { width: 30px; height: 30px; border-radius: 50%; background: #fff; font-weight: 600; box-shadow: var(--shadow-sm); }
.stepper button:hover { background: var(--orange); }
.stepper output { min-width: 26px; text-align: center; font-family: var(--font-mono); font-size: .85rem; }
.calc__result { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.calc__result::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(243, 146, 28, .35), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(26, 91, 160, .45), transparent 70%); }
.calc__result .big { font-size: clamp(3.4rem, 6vw, 5.4rem); letter-spacing: -.05em; line-height: 1; font-weight: 400; margin-top: 18px; }
.calc__result .big small { font-size: .3em; letter-spacing: 0; color: rgba(255, 255, 255, .65); margin-left: 6px; }
.calc__result .rec { margin-top: 14px; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.gauge { margin-top: 28px; }
.gauge__bar { position: relative; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.gauge__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: linear-gradient(90deg, var(--orange), var(--sun)); transition: width .8s var(--ease-out); }
.gauge__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: .72rem; color: rgba(255, 255, 255, .55); }
.calc__result .glass { margin-top: auto; padding: 16px 18px; font-size: .84rem; line-height: 1.55; }
.calc__result .split-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; }
.calc__result .split-kpi div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.calc__result .split-kpi strong { display: block; font-size: 1.4rem; font-weight: 400; letter-spacing: -.03em; }
.calc__result .split-kpi span { font-size: .76rem; color: rgba(255, 255, 255, .6); }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--gray-200); background: #fff; outline: none; transition: border-color .3s, box-shadow .3s; width: 100%; }
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243, 146, 28, .15); }
.range { width: 100%; accent-color: var(--orange); }

/* projects page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: zoom-in; transition: opacity .5s, transform .5s var(--ease); }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 12px 12px 12px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .84rem; transform: translateY(10px); opacity: 0; transition: opacity .5s, transform .5s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }
.gallery figcaption b { font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 19, 37, .92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; backdrop-filter: blur(8px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius); }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; font-size: .9rem; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.4rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); }
.info-list { display: grid; gap: 0; margin-top: 36px; }
.info-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.info-list .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-700); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list h3 { font-size: .8rem; font-family: var(--font-mono); font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.info-list p, .info-list a { font-size: 1rem; font-weight: 500; }
.info-list a:hover { color: var(--orange-600); }
.form-card { padding: clamp(22px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--gray-50); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--gray-200); background: #fff; display: inline-flex; align-items: center; font-size: .86rem; font-weight: 500; cursor: pointer; transition: background .3s, border-color .3s; }
.choice input:checked + label { background: var(--orange); border-color: var(--orange); }
.choice input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { font-size: .9rem; font-weight: 500; color: var(--orange-700); min-height: 1.4em; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 420px; background: var(--gray-100); position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-embed iframe { position: relative; z-index: 1; }
.map-embed__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; color: var(--ink); }
.map-embed__fallback a { color: var(--orange-600); font-weight: 600; text-decoration: underline; }
.map-embed__pill { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px rgba(8, 19, 37, .25); transition: transform .35s var(--ease); }
.map-embed__pill:hover { transform: translateY(-3px); }
.map-embed__pill svg { width: 16px; height: 16px; color: var(--orange); }
.hours { display: grid; gap: 8px; margin-top: 8px; }
.hours div { display: flex; justify-content: space-between; font-size: .92rem; padding: 10px 0; border-bottom: 1px dashed var(--gray-200); }
.hours .open { color: var(--orange-700); font-weight: 600; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-clip] { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
[data-clip].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.no-js [data-reveal], .no-js .split-line > span { opacity: 1; transform: none; }
.no-js [data-clip] { clip-path: none; }
.no-js .preloader { display: none; }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--navy-900); transition: clip-path 1s var(--ease-out) .1s; clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader img { width: 92px; height: auto; animation: preSpin 1.6s var(--ease) infinite; }
@keyframes preSpin { 0% { transform: scale(.9) rotate(-20deg); opacity: .5; } 50% { transform: scale(1) rotate(0); opacity: 1; } 100% { transform: scale(.9) rotate(20deg); opacity: .5; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-item .connector { display: none; }
  .glass-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__contact { display: none; }
}
@media (max-width: 1024px) {
  .nav__links, .nav__cta .quote, .nav__cta .tel { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__cta { margin-left: auto; }
  .hero__body, .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__aside { justify-items: start; }
  .mission { max-width: 420px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .map-wrap, .process, .faq, .contact-grid, .feature-row, .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .feature-row--flip .feature-media { order: 0; }
  .cta__card { justify-self: start; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .systems { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .timeline::before { display: none; }
  .cert { grid-template-columns: 1fr; }
  .partners { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  :root { --frame: 8px; }
  .nav { height: 58px; }
  .nav__logo img { height: 34px; }
  .hero { min-height: min(92svh, 820px); }
  .hero__scroll, .hero__arrows { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(8, 19, 37, .88) 0%, rgba(8, 19, 37, .6) 55%, rgba(8, 19, 37, .35) 100%); }
  .hero__actions { flex-wrap: nowrap; gap: 8px; margin-top: 22px; }
  .hero__actions .btn { gap: 10px; padding-left: 16px; font-size: .88rem; height: 46px; }
  .hero__actions .btn .chip { width: 34px; height: 34px; }
  .svc-grid, .flow, .glass-stats, .values, .team-mosaic { grid-template-columns: 1fr; }
  .svc { min-height: 360px; }
  .svc__art { width: 58%; opacity: .55; }
  .svc p { max-width: 30ch; }
  .flow-item { min-height: 0; }
  .flow-item .icon { width: 104px; height: 104px; }
  .bento > * { min-height: 240px; }
  .team-mosaic { grid-template-rows: 300px 220px 220px; }
  .team-mosaic figure:first-child { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 36px; }
  .footer__brand, .footer__top > div:last-child { grid-column: 1 / -1; }
  .feature-media .inset { width: 46%; right: 0; }
  .feature-media .float-obj { width: 84px; left: 0; top: -30px; }
  .feature-row--flip .feature-media .float-obj { right: 0; }
  .faq .answer p { padding-right: 0; }
  .map-card { position: static; margin-top: 14px; max-width: none; }
  .orb-stage .glass--light { left: 0; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__slide img { transform: none !important; }
}
@media (forced-colors: active) {
  .glass, .orb { backdrop-filter: none; border: 1px solid CanvasText; }
}
.about-grid > .eyebrow { align-self: start; margin-top: .7em; }

/* ---------- use cases & hardware bento ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.usecases--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.usecase, .hw { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0; background: var(--gray-100); }
.usecase { aspect-ratio: 4 / 4.6; }
.usecases--wide .usecase { aspect-ratio: 16 / 9; }
.usecase img, .hw img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.usecase:hover img, .hw:hover img { transform: scale(1.06); }
.usecase figcaption, .hw figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.usecase figcaption b, .hw figcaption b { display: block; color: #fff; font-size: 1rem; font-weight: 600; }
.hw figcaption { right: auto; padding: 10px 14px; }
.hw-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.hw--tall { grid-row: span 2; }
.hw--wide { grid-column: span 2; }
@media (max-width: 1024px) { .hw-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .usecases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .usecases, .usecases--wide { grid-template-columns: 1fr; } .usecase { aspect-ratio: 4 / 3.4; } .hw-bento { grid-auto-rows: 200px; } .hw--tall { grid-row: span 1; } }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hours .is-today { color: var(--ink); font-weight: 600; }
.hours .is-today span:last-child { color: var(--orange-700); }

/* parallax backgrounds are overscanned so their edges never show */
.page-hero > img[data-parallax], .cta > img[data-parallax], .lightroom > img.bg[data-parallax] { top: -10%; bottom: auto; height: 120%; }
.usecase::after, .hw::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg, rgba(8, 19, 37, .55), transparent); pointer-events: none; }
.usecase figcaption, .hw figcaption { z-index: 1; }

.marquee, .rail, .chart-card, .map-stage { min-width: 0; }

/* ==========================================================================
   Pattern system
   Each pattern is a mask (shape only); the element's --pc colour tints it, so the same
   pattern works on light and dark grounds. Patterns are solar motifs, kept at the
   threshold of visibility and faded out from one corner so they never end on a hard edge.
   ========================================================================== */
:root {
  --pat-cells: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='1.5' y='1.5' width='23' height='23' rx='2.5' fill='none' stroke='black'/%3E%3Cpath d='M13 2v22M2 13h3M21 13h3' stroke='black' stroke-width='.7'/%3E%3C/svg%3E") 0 0 / 26px 26px;
  --pat-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='14'%3E%3Cpath d='M0 7Q11-1 22 7T44 7' fill='none' stroke='black' stroke-width='1.1'/%3E%3C/svg%3E") 0 0 / 44px 14px;
  --pat-hatch: repeating-linear-gradient(135deg, #000 0 1px, transparent 1px 8px);
  --pat-rings: repeating-radial-gradient(circle at 100% 0%, #000 0 1px, transparent 1.6px 13px);
  --pat-rays: repeating-conic-gradient(from 180deg at 100% 0%, #000 0deg .55deg, transparent .55deg 4deg);
  --pat-dots: radial-gradient(circle, #000 1px, transparent 1.6px) 0 0 / 15px 15px;
  --pat-grid: linear-gradient(#000 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, #000 1px, transparent 1px) 0 0 / 34px 34px;
  --fade-tr: radial-gradient(115% 115% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 32%, transparent 68%);
  --fade-bl: radial-gradient(110% 120% at 0% 100%, #000 0%, rgba(0, 0, 0, .5) 30%, transparent 66%);
  --pc-ink: rgba(18, 22, 31, .14);
  --pc-light: rgba(255, 255, 255, .1);
  --pc-sun: rgba(255, 184, 92, .3);
  --radius-hero: 20px;
}
[data-pat]::after, .pat {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; right: 0; width: var(--pw, 68%); height: var(--ph, 56%);
  background: var(--pc, var(--pc-ink)); transition: background .6s var(--ease);
  -webkit-mask: var(--pat), var(--fade, var(--fade-tr)); -webkit-mask-composite: source-in;
  mask: var(--pat), var(--fade, var(--fade-tr)); mask-composite: intersect;
}
[data-pat="cells"] { --pat: var(--pat-cells); }
[data-pat="wave"]  { --pat: var(--pat-wave); }
[data-pat="hatch"] { --pat: var(--pat-hatch); }
[data-pat="rings"] { --pat: var(--pat-rings); }
[data-pat="rays"]  { --pat: var(--pat-rays); }
[data-pat="dots"]  { --pat: var(--pat-dots); }

/* flow cards: one motif per stage, top-right; lights up orange when the card goes dark */
.flow-item:hover, .flow-item.is-inview { --pc: var(--pc-sun); }
.flow-item .icon { margin: 22px 0 0 -8px; }
.flow-item .tag { margin-top: auto; padding-top: 18px; }
.flow-item .num { display: inline-flex; align-items: center; gap: 8px; }
.flow-item .num::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .6; }

/* accent and dark tiles */
.stat-card--sun { --pc: rgba(18, 22, 31, .16); }
.stat-card--sun[data-pat] { position: relative; isolation: isolate; }
.calc__result { --pc: rgba(255, 184, 92, .2); isolation: isolate; }
.form-card { position: relative; overflow: hidden; isolation: isolate; --pw: 46%; --ph: 34%; }
.cta { --pc: rgba(255, 196, 120, .16); --pw: 58%; --ph: 80%; }
.cta .pat { z-index: 0; }
.cta__inner { position: relative; z-index: 1; }
.sheet--navy { position: relative; isolation: isolate; }
.sheet--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pc-light); opacity: .45;
  -webkit-mask: var(--pat-grid), radial-gradient(90% 80% at 50% 40%, #000, transparent 75%); -webkit-mask-composite: source-in;
  mask: var(--pat-grid), radial-gradient(90% 80% at 50% 40%, #000, transparent 75%); mask-composite: intersect; }

/* ---------- footer ---------- */
.footer { --pc: rgba(255, 184, 92, .2); --pw: 62%; --ph: 100%; }
.footer .container { position: relative; }
.footer__grid-bl { position: absolute; left: 0; bottom: 0; width: 55%; height: 70%; z-index: -1; pointer-events: none; background: rgba(120, 165, 225, .2);
  -webkit-mask: var(--pat-dots), var(--fade-bl); -webkit-mask-composite: source-in; mask: var(--pat-dots), var(--fade-bl); mask-composite: intersect; }
.footer__word {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='1.5' y='1.5' width='23' height='23' rx='2.5' fill='none' stroke='white' stroke-opacity='.13'/%3E%3C/svg%3E") 0 0 / 26px 26px,
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 85%);
  -webkit-background-clip: text; background-clip: text;
}
.footer ul a { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .45s var(--ease); }
.footer ul a:hover { background-size: 100% 1px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--orange); }
.footer__news { transition: border-color .3s, background .3s; }
.footer__news:focus-within { border-color: rgba(243, 146, 28, .6); background: rgba(255, 255, 255, .1); }
.footer__news button { transition: background .3s, transform .3s var(--ease); }
.footer__news button:hover { background: var(--sun); }
.footer__news button:active { transform: scale(.96); }
.footer__bottom { align-items: center; }
.footer__badge { display: inline-flex; align-items: center; gap: 8px; }
.footer__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243, 146, 28, .18); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); transition: color .3s; }
.to-top span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.to-top:hover { color: #fff; }
.to-top:hover span { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-3px); }

/* ---------- small components ---------- */
.faq summary { transition: color .3s; }
.faq summary:hover { color: var(--orange-700); }
.faq summary i { border-color: var(--gray-300, #cfd5de); background: #fff; }
.faq summary:hover i { border-color: var(--ink); }
.faq details[open] summary i { box-shadow: 0 8px 18px -8px rgba(243, 146, 28, .8); }
.btn:active { transform: scale(.98); }
.btn--glass:hover .chip, .btn:hover .chip { transform: rotate(-45deg); }
.pill .dot, .eyebrow--orange::before { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(243, 146, 28, 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 146, 28, .35); } }
html { scrollbar-color: var(--gray-300, #c5ccd6) transparent; }

/* ---------- sharper hero corners ---------- */
.hero, .page-hero { border-radius: var(--radius-hero); }
@media (max-width: 720px) {
  :root { --radius-hero: 10px; --radius-xl: 18px; }
  [data-pat]::after { --pw: 80%; --ph: 46%; }
  .footer { --pw: 100%; --ph: 60%; }
  .footer__grid-bl { width: 100%; height: 50%; }
  .footer__bottom { display: grid; grid-template-columns: 1fr auto; row-gap: 14px; }
  .footer__bottom > :first-child { grid-column: 1 / -1; }
  .footer__word { background-size: 12px 12px, auto; }
}

/* ---------- mobile hero: room for the header, even rhythm, compact slide card ---------- */
@media (max-width: 720px) {
  .hero { min-height: calc(100svh - 2 * var(--frame)); padding-top: 104px; justify-content: space-between; }
  .hero__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 0 20px 20px; }
  .hero__tag { margin-bottom: 18px; }
  .hero .display { font-size: clamp(2.3rem, 10.4vw, 2.9rem); line-height: 1.04; }
  .hero__text { margin-top: 16px; font-size: .95rem; line-height: 1.6; }
  .hero__actions { margin-top: 24px; }
  .hero__aside { width: 100%; }
  .mission { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 16px 18px 16px; }
  .mission h2 { grid-column: 1; grid-row: 1; }
  .mission .link-arrow { grid-column: 2; grid-row: 1; margin-top: 0; font-size: .88rem; }
  .mission p { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; min-height: 3.2em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .mission__progress { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .hero .display { font-size: clamp(2.1rem, 9.4vw, 2.5rem); }
  .hero__text { font-size: .9rem; }
}
