/* ============================================================
   AONENG POWER — T01 Home Page
   Design system: two dominant tones + single bronze accent
   Fourart Designs Pvt. Ltd.
   ============================================================ */

:root{
  /* ── Palette — AONENG POWER dev handoff, "Look and feel" ──
     Spec names on the left; the older token names below are kept as aliases so
     the ~230 existing usages keep working and the two sets cannot drift.
     Rule from the handoff: light bronze only on dark, deep bronze only on
     light — the reverse pairings fall to 2.0:1 and 3.0:1. */
  --ink:#16130F;          /* dark sections and heroes; main text on light   */
  --graphite:#26211C;     /* boxes inside dark sections                     */
  --bronze:#7A5A3E;       /* buttons, links, model codes — LIGHT bgs only   */
  --bronze-light:#C9A77E; /* highlights — DARK bgs only                     */
  --bronze-hover:#8E6B49; /* button hover; keeps white text at 4.8:1        */
  --bronze-soft:#EFE4D8;  /* bronze tint for fills and the power ladder     */
  --cream:#F6F3EE;        /* page background                                */
  --sand:#ECE5DA;         /* background behind every product photo          */
  --surface:#FFFFFF;      /* cards                                          */
  --line:#E5DED2;         /* card borders and dividers                      */
  --line-2:#D6CBBC;       /* heavier divider                                */
  --grey:#675E54;         /* secondary text on light backgrounds            */
  --on-dark:#F6F3EE;      /* text on dark                                   */
  --on-dark-2:#B9AFA3;    /* secondary text on dark backgrounds             */

  /* aliases — older names, same colours */
  --paper:var(--cream);
  --panel:var(--sand);
  --dark:var(--ink);
  --dark-2:var(--graphite);
  --ink-2:var(--grey);
  --muted:var(--grey);
  --accent:var(--bronze);
  --accent-hi:var(--bronze-light);
  --accent-soft:var(--bronze-soft);

  /* ── Shape — pills for buttons and tags, 16–24px cards, 28–32px panels ── */
  --r-sm:8px; --r:16px; --r-lg:24px; --r-panel:30px; --r-pill:999px;
  --shadow-sm:0 1px 2px rgba(22,19,15,.05);
  --shadow:0 2px 8px rgba(22,19,15,.06), 0 16px 40px -24px rgba(22,19,15,.30);
  --shadow-lg:0 4px 12px rgba(22,19,15,.07), 0 32px 64px -32px rgba(22,19,15,.36);

  /* ── Rhythm — 112px between sections, 72px on phones ── */
  --sec-y:112px;
  --sec-y-tight:72px;
  /* the handoff: "content sits in a centred column up to 1280 px wide,
     with 24 px space at each side" - the gutters sit outside the 1280 */
  --wrap:calc(1280px + 2 * var(--gutter));
  --gutter:24px;

  --hdr-h:82px;
  --stats-lift:92px;   /* how far the credibility card overlaps the hero */
  --count-gap:46px;    /* clearance kept between counter and that card */
  --ease:cubic-bezier(.22,.61,.36,1);
}

@media(max-width:767px){
  :root{ --sec-y:72px; --sec-y-tight:56px; }
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:17px; line-height:1.6; font-weight:400;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}
h1,h2,h3,h4{margin:0; font-weight:700; letter-spacing:-.03em; line-height:1.08; text-wrap:balance}
p{margin:0}
ul{margin:0; padding:0; list-style:none}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:4px}

.wrap{width:100%; max-width:var(--wrap); margin:0 auto; padding:0 var(--gutter)}



/* ---------- shared type ---------- */
.eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px; font-weight:400; letter-spacing:.16em; text-transform:uppercase;
  color:var(--grey);
}
.h-sec{font-size:clamp(32px,3.6vw,44px)}
.lede{color:var(--grey); font-size:17px; line-height:1.65; max-width:46ch}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px; justify-content:center;
  padding:14px 26px; border-radius:100px; font-size:14px; font-weight:600;
  letter-spacing:-.01em; transition:.32s var(--ease); white-space:nowrap;
}
.btn svg{width:15px; height:15px; flex:0 0 auto; transition:transform .32s var(--ease)}
.btn:hover svg{transform:translateX(3px)}
.btn--accent{background:var(--accent); color:#fff}
.btn--accent:hover{background:var(--bronze-hover); transform:translateY(-2px); box-shadow:0 10px 24px -10px rgba(122,90,62,.6)}
.btn--dark{background:var(--ink); color:var(--paper)}
.btn--dark:hover{background:#2c2820; transform:translateY(-2px)}
.btn--ghost{border:1.5px solid var(--line-2); color:var(--ink)}
.btn--ghost:hover{border-color:var(--accent); color:var(--accent)}
.btn--light{background:#fff; color:var(--ink)}
.btn--light:hover{transform:translateY(-2px); box-shadow:0 10px 24px -10px rgba(0,0,0,.45)}
.btn--on-dark{border:1.5px solid rgba(255,255,255,.35); color:#fff}
.btn--on-dark:hover{background:rgba(255,255,255,.12); border-color:#fff}
.btn--sm{padding:11px 20px; font-size:13px}

.lnk{
  display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600;
  color:var(--accent); transition:gap .3s var(--ease);
}
.lnk svg{width:13px; height:13px; transition:transform .3s var(--ease)}
.lnk:hover{gap:11px}

.sec-top{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr) auto;
  gap:18px 48px; align-items:end; margin-bottom:40px;
}
.sec-top .eyebrow{grid-column:1/-1; margin-bottom:-6px}
@media(max-width:900px){
  .sec-top{grid-template-columns:1fr; align-items:start; gap:14px}
}

/* ============================================================
   HEADER — floating pill nav with audience tabs riding on top
   (the Fastned "floating banner" pattern from the reference doc)
   ============================================================ */
.hdr{
  position:fixed; inset:0 0 auto 0; z-index:200;
  padding:16px var(--gutter) 0; transition:padding .42s var(--ease);
}
/* the pill spans the content column exactly, so it lines up with every
   section below it and the menus (anchored to it) take the same width */
.hdr__shell{max-width:1280px; margin:0 auto; position:relative}

/* --- the pill --- */
/* Over the banner the menu is transparent and blends into the image, exactly as
   the mockup shows. It only becomes the floating white pill once you scroll. */
.hdr__pill{
  position:relative; z-index:2; display:flex; align-items:center; gap:18px;
  height:64px; padding:0 10px 0 22px; border-radius:20px;
  /* the brand, nav and utilities together needed more room than the pill had
     once the shell hit its 1440 cap, which pushed the enquiry button past the
     right edge. The nav absorbs the difference instead of overflowing. */
  min-width:0;
  /* over a dark top section: see-through dark with a blur behind it */
  background:rgba(18,15,12,.52); color:#fff;
  -webkit-backdrop-filter:blur(18px) saturate(1.2); backdrop-filter:blur(18px) saturate(1.2);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
  transition:background .4s var(--ease), box-shadow .4s var(--ease),
             color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.hdr:not(.is-solid) .brand__mark path{fill:#C79A72}
.hdr:not(.is-solid) .brand__name small{opacity:.72}
.hdr:not(.is-solid) .nav__item:hover .nav__link,
.hdr:not(.is-solid) .icon-btn:hover,
.hdr:not(.is-solid) .lang:hover{color:#fff; background:rgba(255,255,255,.16)}
.brand__mark path{transition:fill .4s var(--ease)}
.hdr.is-solid{padding-top:10px}
/* scrolled: the floating white pill, with a hairline ring so it separates from
   the cream page (drawn as a shadow, so nothing shifts by a pixel) */
.hdr.is-solid .hdr__pill{
  background:rgba(255,255,255,.95); backdrop-filter:blur(20px) saturate(1.4);
  color:var(--ink);
  box-shadow:0 0 0 1px var(--line), 0 2px 8px rgba(40,28,16,.08),
             0 22px 50px -30px rgba(40,28,16,.45);
}

.brand{display:flex; align-items:center; gap:6px; flex:0 0 auto}
.brand__mark{width:25px; height:20px; flex:0 0 auto}
/* stands in for the official wordmark until the SVG files arrive: capitals,
   heavy and tight, with POWER in bronze as the design shows it */
.brand__name{font-size:14px; font-weight:800; letter-spacing:-.04em; line-height:1;
  text-transform:uppercase; white-space:nowrap}
.brand__name > span{color:var(--bronze-light)}
.hdr.is-solid .brand__name > span{color:var(--bronze)}
.brand__name small{display:block; font-size:8.5px; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; opacity:.6; margin-top:3px}

.nav{display:flex; align-items:center; gap:0; margin-right:auto; min-width:0}
.nav__item{position:static}
.nav__link{
  position:relative;
  display:flex; align-items:center; gap:5px; height:40px; padding:0 10px; font-size:14px;
  font-weight:500; letter-spacing:-.012em; border-radius:100px; white-space:nowrap;
  transition:.24s var(--ease);
}
/* the pointer has to cross the rest of the pill plus a 12px gap to reach the
   mega panel; without this it leaves :hover on the way down and the menu shuts */
.nav__item:hover .nav__link::after,
.nav__item:focus-within .nav__link::after{
  content:""; position:absolute; left:0; right:0; top:100%; height:32px;
}
.nav__link svg{width:9px; height:9px; opacity:.5; transition:transform .3s var(--ease)}
.nav__item:hover .nav__link,
.nav__item:focus-within .nav__link{color:var(--accent)}
.nav__item:hover .nav__link svg,
.nav__item:focus-within .nav__link svg{transform:rotate(180deg)}

/* the section the visitor is in: bold with a soft background */
.nav__link.is-current{font-weight:700; background:rgba(255,255,255,.12)}
.hdr.is-solid .nav__link.is-current{background:var(--sand); color:var(--ink)}

.hdr__util{display:flex; align-items:center; gap:10px; flex:0 0 auto}
/* main button on dark is a white pill with dark text; once the bar turns
   white it becomes the bronze main button. 44 px is the tap-target floor. */
.hdr__cta{min-height:44px; padding:0 20px; font-size:14px}
.hdr:not(.is-solid) .hdr__cta{background:#fff; color:var(--ink)}
.hdr:not(.is-solid) .hdr__cta:hover{background:var(--cream); box-shadow:none}
.icon-btn{width:36px; height:36px; display:grid; place-items:center; border-radius:8px;
  transition:.24s var(--ease)}
.icon-btn svg{width:17px; height:17px}
.icon-btn:hover{background:rgba(139,98,71,.1); color:var(--accent)}
.lang{display:flex; align-items:center; gap:5px; padding:8px 10px; font-size:13px;
  font-weight:600; border-radius:8px; transition:.24s var(--ease)}
.lang svg:first-child{width:16px; height:16px}
.lang svg:last-child{width:8px; height:8px; opacity:.5}
.lang:hover{background:rgba(139,98,71,.1); color:var(--accent)}

.burger{display:none; width:38px; height:38px; place-items:center; border-radius:8px}
.burger span{display:block; width:19px; height:1.5px; background:currentColor; position:relative}
.burger span::before,.burger span::after{content:""; position:absolute; left:0; width:19px;
  height:1.5px; background:currentColor; transition:.3s var(--ease)}
.burger span::before{top:-6px} .burger span::after{top:6px}
.burger.is-open span{background:transparent}
.burger.is-open span::before{top:0; transform:rotate(45deg)}
.burger.is-open span::after{top:0; transform:rotate(-45deg)}

@media(max-width:900px){ .hdr{padding-left:18px; padding-right:18px} }
@media(max-width:700px){
  /* the pill has to fit the viewport: the header CTA and language switcher
     both live in the mobile menu, so drop them here rather than overflow */
  .hdr__util .btn, .lang{display:none}
}
@media(max-width:560px){
  .hdr{padding-top:12px}
  .hdr__pill{height:56px; padding:0 6px 0 14px; gap:8px}
  .brand__name{font-size:14px}
  .brand__name small{font-size:7.5px; letter-spacing:.08em}
  .brand__mark{width:28px; height:22px}
}
@media(max-width:360px){
  .brand__name small{display:none}
}

/* ---------- mega menu ---------- */
.mega{
  position:absolute; top:calc(100% + 12px); left:0; right:0; transform:translateY(-8px);
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--shadow-lg); padding:26px 28px;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(168px,1fr)); gap:24px 32px;
  opacity:0; visibility:hidden; pointer-events:none; transition:.3s var(--ease); color:var(--ink);
}
.nav__item:hover .mega,
.nav__item:focus-within .mega{opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0)}
.mega::before{content:""; position:absolute; top:-22px; left:0; right:0; height:22px}
.mega__h{font-size:10px; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--accent); padding-bottom:10px; margin-bottom:12px; border-bottom:1px solid var(--line)}
.mega a{display:block; padding:6px 0; font-size:13.5px; color:var(--ink-2); transition:.2s var(--ease)}
.mega__col a:hover{color:var(--accent); transform:translateX(3px)}
.mega a b{display:block; color:var(--ink); font-weight:600; font-size:13.5px; line-height:1.3}
.mega a span{display:block; font-size:11.5px; color:var(--muted); line-height:1.45; margin-top:3px}
.mega__feat{background:var(--panel); border-radius:var(--r); padding:16px; align-self:start}
.mega__feat img{width:100%; height:auto; aspect-ratio:16/10; object-fit:cover;
  border-radius:var(--r-sm); margin-bottom:10px}
.mega__feat a{padding:0}
.mega__feat a:hover b{color:var(--accent)}

/* ---------- rich mega menus (handoff pages 17-20) ----------
   Software & EMS, Manufacturing & R&D, About and Resources each show an
   eyebrow, a list where every row carries a subline, an overview link set to
   the right of the eyebrow, and a feature card. About adds a middle column of
   international offices; Manufacturing right-aligns a mono figure against its
   first two rows. The grid is declared per panel so a two-column menu does not
   inherit the three-column one's tracks. */
/* The feature card is a fixed 300px in every panel. It used to be a flexible
   track with a different floor in the two- and three-column layouts, which
   left the About card 42px narrower than the rest; the text columns absorb
   the difference instead. */
/* Panel and card sized from the handoff preview, measured at 1470px panel /
   600x395 card: the card is 40.8% of the panel and lands at a 1.5:1
   landscape. Ours was the right share of the panel but the panel itself was
   too narrow, so the card came out square. */
/* Measured across all seven handoff previews: the feature card is 47% of the
   panel width and sits at a 1.41 aspect, consistently, whether it is a
   photograph or the light product card. Those two numbers drive everything
   below. */
.mega--rich{
  grid-template-columns:minmax(0,1fr) var(--mcard-w,49%);
  column-gap:40px; row-gap:0; align-items:start; padding:24px 26px 26px;
}
/* Solutions and Products carry two lists beside the card. Same geometry as
   the three-column About panel, but the middle track is a second list rather
   than the offices table. */
.mega--rich.mega--two{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) var(--mcard-w,49%);
  column-gap:26px;
}
/* the second list keeps the divider the previews draw between the columns */
.mega--rich .mega__list--sec{border-left:1px solid var(--line); padding-left:30px}
.mega--rich.mega--three{
  grid-template-columns:minmax(0,1fr) minmax(0,.8fr) var(--mcard-w,49%);
  column-gap:26px;
}
.mega__top{
  grid-column:1/-2; display:flex; align-items:baseline; justify-content:space-between;
  gap:20px; padding-bottom:11px; margin-bottom:14px; border-bottom:1px solid var(--line);
}
/* The card occupies the full height of the panel, starting above the eyebrow
   row rather than below it. The rows are declared explicitly: with implicit
   rows a negative line like "1 / -1" resolves against the single explicit
   line and the lists got pushed below the card instead of beside it. */
.mega--rich{grid-template-rows:auto 1fr}
.mega--rich .mcard{grid-column:-2; grid-row:1 / 3; align-self:start}
.mega__eye{
  font-family:var(--font-mono,inherit); font-size:10px; font-weight:700;
  letter-spacing:.17em; text-transform:uppercase; color:var(--accent);
}
.mega__eye--sub{display:block; margin-bottom:12px; color:var(--muted)}
.mega__all{
  padding:0 !important; font-size:12.5px; font-weight:600; color:var(--accent);
  display:inline-flex !important; align-items:center; gap:6px; white-space:nowrap;
}
.mega__all svg{width:13px; height:13px; fill:currentColor; transition:.2s var(--ease)}
.mega__all:hover svg{transform:translateX(3px)}

.mega__list{display:grid; align-content:start}
.mega__list a{padding:9px 0}
/* the previews separate rows by space, not by rules */

/* the figure sits on the row's baseline, right-aligned, and never wraps */
.mega__list--fig a{
  display:grid; grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title fig" "sub sub"; column-gap:16px;
}
.mega__list--fig a b{grid-area:title}
.mega__list--fig a span{grid-area:sub}
/* In a two-list panel the columns are half width, and a figure sharing the
   title's row forced titles like "Split DC Group Charging" onto two lines.
   There the figure drops to the subline row instead, which keeps every title
   on one line and still right-aligns the number. */
.mega--two .mega__list--fig a{grid-template-areas:"title title" "sub fig"}
.mega--two .mega__list--fig a span{align-self:baseline}

.mega__fig{
  grid-area:fig; align-self:start; font-family:var(--font-mono,inherit);
  font-size:11px; font-style:normal; color:var(--accent); white-space:nowrap;
  letter-spacing:.04em; padding-top:1px;
}

.mega__offices{border-left:1px solid var(--line); padding-left:30px}
.mofc{
  display:flex; align-items:baseline; justify-content:space-between; gap:14px;
  padding:9px 0;
}
.mofc + .mofc{border-top:1px solid color-mix(in srgb,var(--line) 62%,transparent)}
.mofc b{font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.3}
.mofc i{
  font-family:var(--font-mono,inherit); font-style:normal; font-size:10.5px;
  color:var(--muted); white-space:nowrap; letter-spacing:.04em;
}

/* feature card */
.mcard{
  padding:14px 14px 15px !important; border-radius:var(--r); background:var(--panel);
  align-self:start; transition:.25s var(--ease);
  /* 1.41 is the mean measured from the previews; the light card lays its
     content out top-down inside that box rather than growing past it */
  aspect-ratio:1.41; overflow:hidden;
}
/* Scoped under .mega deliberately: the generic ".mega a{display:block}" is
   (0,1,1) and beats a bare ".mcard" (0,1,0), so the flex column never
   applied and the card's text overflowed its fixed box. */
.mega .mcard{display:flex; flex-direction:column}
/* Inside the fixed box the text comes first and the image takes whatever is
   left. Sizing it the other way round clipped the sub-line and the link off
   the bottom of the Products, Resources and About cards. */
.mega .mcard:not(.mcard--photo) > *:not(.mcard__img){flex:0 0 auto}
.mega .mcard:not(.mcard--photo) .mcard__img{
  flex:1 1 auto; min-height:0; margin-bottom:10px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
/* height:100% here resolved against an auto height and made the image taller
   than its box, pushing the sub-line and link out of the card. Bounding it
   with max-* instead lets the image give way to the text. */
.mega .mcard:not(.mcard--photo) .mcard__img img{
  max-width:100%; max-height:100%; width:auto; height:auto;
  aspect-ratio:auto; object-fit:contain;
}
.mcard:hover{transform:none}
/* Both are <span>s inside a menu <a>, so the generic ".mega a span" (0,1,2)
   outranks a bare ".mcard__mosaic" (0,1,0) and forces display:block — which
   turned the 2x2 mosaic into one tall column that overflowed the panel.
   Scoping under .mega fixes the order. */
.mega .mcard__img, .mega .mcard__mosaic{border-radius:var(--r-sm); overflow:hidden; margin-bottom:11px}
.mega .mcard__img{display:block}
.mega .mcard__img img{width:100%; height:auto; aspect-ratio:7/5; object-fit:cover; display:block}
.mega .mcard__mosaic{display:grid; grid-template-columns:1fr 1fr; gap:3px}
.mega .mcard__mosaic img{width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; display:block}
.mega .mcard__p{margin-top:6px}
.mcard__k{
  display:block !important; font-family:var(--font-mono,inherit); font-size:9.5px;
  font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent); margin-bottom:6px;
}
.mcard b{font-size:15px !important; line-height:1.28; letter-spacing:-.01em}
.mcard__p{margin-top:6px}
.mcard__cue{
  display:inline-flex !important; align-items:center; gap:6px; margin-top:10px;
  font-size:12px; font-weight:600; color:var(--accent);
}
.mcard__cue svg{width:12px; height:12px; fill:currentColor; transition:.2s var(--ease)}
.mcard:hover .mcard__cue svg{transform:translateX(3px)}
.mcard:hover b{color:var(--accent)}

/* the dark variant has to restate its own text colours: the panel behind it
   is no longer the surface the inherited ones were chosen against */
/* ---------- photo-led menu card ----------
   The handoff gives Software & EMS, Manufacturing & R&D and About a card
   where the photograph fills the whole tile and the text sits over it on a
   gradient scrim. Resources keeps the light card above, because its image is
   a catalogue cover on a clean panel rather than a scene.

   The text nodes are siblings of the image, not wrapped, so the image is
   taken out of flow and the remaining children are lifted above the scrim.
   That avoids changing the markup every card shares. */
.mega .mcard--photo{
  position:relative; overflow:hidden; padding:0 !important;
  background:var(--dark);
  display:flex; flex-direction:column; justify-content:flex-end;
}
.mega .mcard--photo .mcard__img,
.mega .mcard--photo .mcard__mosaic{
  position:absolute; inset:0; margin:0; border-radius:0; z-index:0;
}
.mega .mcard--photo .mcard__img img{
  width:100%; height:100%; aspect-ratio:auto; object-fit:cover;
}
.mega .mcard--photo .mcard__mosaic{
  display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:0;
}
.mega .mcard--photo .mcard__mosaic img{
  width:100%; height:100%; aspect-ratio:auto; object-fit:cover;
}
/* the scrim: transparent over the upper half so the photograph still reads,
   solid enough at the foot to carry white text */
.mega .mcard--photo::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg,
    rgba(22,19,15,0) 30%, rgba(22,19,15,.55) 62%, rgba(22,19,15,.92) 100%);
}
.mega .mcard--photo > *:not(.mcard__img):not(.mcard__mosaic){
  position:relative; z-index:2; padding-left:16px; padding-right:16px;
}
.mega .mcard--photo .mcard__k{color:var(--accent-hi,#C9A77E); margin-bottom:5px}
.mega .mcard--photo b{color:#fff}
.mega .mcard--photo .mcard__p{color:rgba(255,255,255,.76)}
.mega .mcard--photo .mcard__cue{color:var(--accent-hi,#C9A77E); padding-bottom:15px}
.mega .mcard--photo:hover b{color:var(--accent-hi,#C9A77E)}

@media(max-width:1180px){
  /* below the nav's collapse point the panels are never shown, but keep the
     cascade honest if the breakpoint is ever moved */
  .mega--rich, .mega--rich.mega--two, .mega--rich.mega--three{grid-template-columns:1fr}
  .mega__offices{border-left:0; padding-left:0; border-top:1px solid var(--line); padding-top:14px}
}

/* ---------- footer headline ---------- */
.ftr__line{
  font-size:clamp(23px,2.1vw,29px); line-height:1.16; letter-spacing:-.025em;
  font-weight:700; color:#fff; margin:18px 0 14px; max-width:16ch;
}
.ftr__line em{font-style:normal; color:var(--accent-hi,#C9A77E)}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative; min-height:100vh; min-height:100svh; display:flex; align-items:center;
  overflow:hidden; background:var(--dark)}
.hero__media{position:absolute; inset:0}
/* Scenes cut with a directional wipe rather than a cross-fade, so the sequence
   reads as one continuous film instead of unrelated pictures dissolving. */
.hero__slide{
  position:absolute; inset:0; z-index:1; will-change:clip-path;
  clip-path:inset(0 0 0 100%);
  transition:clip-path 1.25s cubic-bezier(.76,0,.24,1);
}
.hero__slide.is-prev{clip-path:inset(0 0 0 0); z-index:2}
.hero__slide.is-on{clip-path:inset(0 0 0 0); z-index:3}
.hero__slide img{width:100%; height:100%; object-fit:cover;
  object-position:center; transform:scale(1)}
/* slow push-in gives each scene motion of its own */
.hero__slide.is-on img{animation:sceneIn 9s linear forwards}
@keyframes sceneIn{from{transform:scale(1)}to{transform:scale(1.08)}}
.hero__media::after{
  content:""; position:absolute; inset:0; z-index:4; pointer-events:none;
  background:linear-gradient(100deg,rgba(10,9,7,.90) 0%,rgba(10,9,7,.68) 34%,rgba(10,9,7,.22) 66%,rgba(10,9,7,.38) 100%);
}
.hero .wrap{position:relative; z-index:5; max-width:1440px;
  padding-top:calc(var(--hdr-h) + min(40px,4.5vh));
  /* only has to clear the credibility card the counter sits above */
  padding-bottom:calc(var(--stats-lift) + var(--count-gap))}
.hero__inner{max-width:min(920px,66vw)}

/* Big minimal, per the Fastned reference: display scale at a light weight,
   with a single bold word carrying the emphasis. */
.hero h1{
  font-size:clamp(42px,min(8.4vw,12.2vh),116px); font-weight:300; color:#fff;
  letter-spacing:-.05em; line-height:.9; margin-bottom:min(26px,3vh);
  text-shadow:0 2px 48px rgba(8,6,4,.34);
}
.hero h1 span{font-weight:300}
.hero h1 em{font-style:normal; font-weight:800; color:var(--accent-hi)}
.hero__kick{
  font-size:clamp(14px,1.5vw,17px); font-weight:600; color:#fff; letter-spacing:-.01em;
  margin-bottom:min(14px,1.8vh); display:flex; flex-wrap:wrap; align-items:center; gap:10px;
}
.hero__kick i{width:3px; height:3px; border-radius:50%; background:var(--accent-hi); font-style:normal}
.hero__sub{color:rgba(255,255,255,.72); font-size:15px; line-height:1.6; max-width:40ch; margin-bottom:min(34px,4vh)}
.hero__cta{display:flex; flex-wrap:wrap; gap:12px}
.play-btn{display:inline-flex; align-items:center; gap:11px; color:#fff; font-size:14px; font-weight:600;
  padding:14px 24px 14px 14px; border-radius:100px; border:1.5px solid rgba(255,255,255,.3);
  transition:.3s var(--ease)}
.play-btn i{width:30px; height:30px; border-radius:50%; background:#fff; display:grid; place-items:center; flex:0 0 auto}
.play-btn i svg{width:10px; height:10px; fill:var(--ink); margin-left:2px}
.play-btn:hover{background:rgba(255,255,255,.14); border-color:#fff}

/* slide counter */
/* sits above the credibility card, which used to cover it entirely */
/* In normal flow rather than absolutely positioned: it can no longer collide
   with the CTAs above, and the wrap's padding keeps it clear of the card below. */
.hero__count{display:flex; align-items:center; gap:16px; color:#fff;
  margin-top:min(34px,4vh); font-size:12px; font-weight:600;
  font-variant-numeric:tabular-nums}
.hero__no{font-size:13px; letter-spacing:.04em}
.hero__ticks{display:flex; gap:7px; align-items:center}
.tick{width:34px; height:3px; border-radius:3px; background:rgba(255,255,255,.32);
  overflow:hidden; transition:background .3s var(--ease), width .4s var(--ease); padding:0}
.tick:hover{background:rgba(255,255,255,.6)}
.tick i{display:block; height:100%; width:0; background:#fff; border-radius:3px}
.tick.is-on{width:54px}
.tick.is-on i{animation:tickGo 7s linear forwards}
@keyframes tickGo{from{width:0}to{width:100%}}
.hero__scene{font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.72); transition:opacity .3s var(--ease)}

/* short desktop windows: tighten the whole column so nothing overlaps */
@media(min-width:641px) and (max-height:720px){
  .hero .wrap{padding-top:calc(var(--hdr-h) + 16px); padding-bottom:110px}
  :root{--count-gap:24px}
  .hero__sub{margin-bottom:18px}
  .hero h1{margin-bottom:14px}
}
/* bottom:auto dropped this back into the text flow and collided with the
   kicker line - it needs a real offset that clears the credibility card */
@media(max-width:640px){
  .hero__count{gap:10px}
  .tick{width:20px} .tick.is-on{width:32px}
  .hero__scene{font-size:10px; letter-spacing:.12em}
}

/* section rail */
/* Fixed, so it follows the whole page rather than scrolling away with the hero.
   It passes over both dark bands and the cream page, so it re-tones as it goes. */
.rail{position:fixed; right:38px; top:50%; transform:translateY(-50%); z-index:150;
  display:flex; flex-direction:column; gap:16px}
.rail a{display:flex; align-items:center; gap:10px; justify-content:flex-end;
  font-size:11px; font-weight:600; color:var(--muted); transition:.3s var(--ease)}
.rail a i{width:5px; height:5px; border-radius:50%; background:var(--line-2); flex:0 0 auto;
  transition:.3s var(--ease)}
.rail a:hover{color:var(--accent)}
.rail a:hover i{background:var(--accent); transform:scale(1.4)}
.rail a.is-on{color:var(--ink)}
.rail a.is-on i{background:var(--accent); transform:scale(1.7)}
.rail.on-dark a{color:rgba(255,255,255,.6)}
.rail.on-dark a i{background:rgba(255,255,255,.4)}
.rail.on-dark a:hover,
.rail.on-dark a.is-on{color:#fff}
.rail.on-dark a.is-on i{background:var(--accent-hi); transform:scale(1.7)}
@media(max-width:1180px){ .rail{display:none} }

.scroll-cue{position:absolute; right:38px; bottom:150px; z-index:6; display:flex; flex-direction:column;
  align-items:center; gap:12px; color:rgba(255,255,255,.6); font-size:9.5px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; writing-mode:vertical-rl}
.scroll-cue i{width:22px; height:36px; border-radius:12px; border:1.5px solid rgba(255,255,255,.4);
  position:relative; writing-mode:horizontal-tb}
.scroll-cue i::after{content:""; position:absolute; left:50%; top:8px; width:3px; height:6px; border-radius:2px;
  background:#fff; transform:translateX(-50%); animation:cue 1.9s var(--ease) infinite}
@keyframes cue{0%{opacity:0;transform:translate(-50%,-4px)}40%{opacity:1}100%{opacity:0;transform:translate(-50%,12px)}}
@media(max-width:1180px){ .scroll-cue{display:none} }

/* ============================================================
   STATS  (floating banner overlapping hero)
   ============================================================ */
.stats-wrap{position:relative; z-index:10; margin-top:calc(-1 * var(--stats-lift))}
.stats{
  background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow-lg);
  display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;
}
.stat{position:relative; padding:23px 28px; display:flex; align-items:center; gap:18px; overflow:hidden}
.stat + .stat::before{content:""; position:absolute; left:0; top:18px; bottom:18px; width:1px; background:var(--line)}
.stat__ico{width:40px; height:40px; border-radius:50%; background:var(--accent-soft); display:grid;
  place-items:center; flex:0 0 auto; transition:.4s var(--ease)}
.stat__ico svg{width:21px; height:21px; stroke:var(--accent); fill:none; stroke-width:1.6}
.stat__wrap{display:block; min-width:0}
.stat__n{display:block; font-size:27px; font-weight:800; letter-spacing:-.045em; line-height:1; font-variant-numeric:tabular-nums}
.stat__l{display:block; font-size:12.5px; font-weight:600; color:var(--ink-2); margin-top:5px; line-height:1.3}
.stat__hint{display:block; font-size:11px; color:var(--muted); margin-top:2px;
  opacity:0; transform:translateY(4px); transition:.35s var(--ease)}
.stat:hover .stat__hint{opacity:1; transform:translateY(0)}
.stat:hover .stat__ico{background:var(--accent); transform:scale(1.06) rotate(-6deg)}
.stat:hover .stat__ico svg{stroke:#fff}
/* the reference reveals a readable line-art figure, not a faint watermark */
.stat__ghost{position:absolute; right:12px; top:8px; width:58px; height:58px; opacity:0;
  transform:translate(10px,-6px); transition:.45s var(--ease); pointer-events:none}
.stat__ghost svg{width:100%; height:100%; stroke:var(--accent); fill:none;
  stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round}
.stat:hover .stat__ghost{opacity:.42; transform:translate(0,0)}
@media(max-width:1180px){ .stat__ghost{display:none} }
@media(max-width:900px){ .stats{grid-template-columns:repeat(2,1fr)} .stat:nth-child(3)::before{display:none} }
@media(max-width:520px){ .stats{grid-template-columns:1fr} .stat::before{display:none!important}
  .stat + .stat{border-top:1px solid var(--line)} }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec{padding:var(--sec-y) 0}
.sec--tight{padding:var(--sec-y-tight) 0}
.sec--panel{background:var(--panel)}

/* ---------- solutions ---------- */
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}
.sol{
  position:relative; border-radius:var(--r); overflow:hidden; background:var(--surface);
  box-shadow:var(--shadow-sm); transition:.45s var(--ease); display:flex; flex-direction:column;
}
.sol:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg)}
.sol__img{aspect-ratio:4/3; overflow:hidden; background:var(--panel)}
.sol__img img{width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease)}
.sol:hover .sol__img img{transform:scale(1.07)}
.sol__body{padding:20px 22px 24px}
.sol__body h3{font-size:17px; font-weight:700; margin-bottom:7px}
.sol__body p{font-size:13px; color:var(--ink-2); line-height:1.5; margin-bottom:14px; min-height:2.9em}

/* ---------- products ---------- */
.grid-5{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
@media(min-width:1100px){ .grid-5{grid-template-columns:repeat(6,1fr); gap:12px} }
.prod{
  background:var(--surface); border-radius:var(--r); overflow:hidden; border:1px solid var(--line);
  transition:.45s var(--ease); display:flex; flex-direction:column;
}
.prod:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent}
.prod__img{position:relative; aspect-ratio:1/1.08; background:linear-gradient(170deg,#fff,var(--panel)); overflow:hidden}
.prod__img img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .55s var(--ease), transform 1s var(--ease)}
/* product shots fill the card rather than floating in white space */
.prod__img .is-studio{object-fit:cover; object-position:center; padding:0; opacity:1}
.prod__draw{position:absolute; inset:0; width:100%; height:100%; padding:16%;
  transition:opacity .55s var(--ease), transform 1s var(--ease)}
.prod:hover .prod__draw, .prod:focus-within .prod__draw{opacity:0; transform:scale(.96)}
.prod__img .is-live{opacity:0}
.prod:hover .is-studio, .prod:focus-within .is-studio{opacity:0; transform:scale(.96)}
.prod:hover .is-live, .prod:focus-within .is-live{opacity:1; transform:scale(1.04)}
/* hover reveal: the in-use shot swaps in AND the key specs slide up,
   matching the Autel card behaviour in the reference screenshots */
.prod__reveal{
  position:absolute; z-index:4; left:0; right:0; bottom:0;
  background:linear-gradient(to top,rgba(12,10,8,.94) 60%,rgba(12,10,8,0));
  padding:26px 16px 14px; transform:translateY(101%); transition:transform .45s var(--ease);
}
.prod:hover .prod__reveal, .prod:focus-within .prod__reveal{transform:translateY(0)}
.prod__reveal li{
  position:relative; padding-left:14px; font-size:11.5px; line-height:1.5;
  color:rgba(255,255,255,.88); font-weight:500;
}
.prod__reveal li + li{margin-top:3px}
.prod__reveal li::before{
  content:""; position:absolute; left:0; top:7px; width:5px; height:5px;
  border-radius:50%; background:var(--accent-hi);
}
.prod__tag{position:absolute; z-index:5; left:12px; top:12px; padding:4px 10px; border-radius:100px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(8px); font-size:9.5px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; color:var(--accent)}
.prod__body{padding:13px 16px 15px; display:flex; flex-direction:column; gap:4px; flex:1}
.prod__body h3{font-size:15px; font-weight:700; letter-spacing:-.02em}
.prod__body p{font-size:12px; color:var(--ink-2); line-height:1.4; flex:1}
.prod__body .lnk{margin-top:6px; font-size:12px}

/* ---------- brand film band ---------- */
.film{position:relative; min-height:400px; display:flex; align-items:center; overflow:hidden;
  background:var(--dark)}
.film__bg{position:absolute; inset:0}
.film__bg img{width:100%; height:100%; object-fit:cover; opacity:.42}
.film__bg::after{content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(10,9,7,.92) 0%,rgba(10,9,7,.55) 50%,rgba(10,9,7,.86) 100%)}
.film .wrap{position:relative; z-index:2; display:grid; grid-template-columns:1fr auto; gap:60px; align-items:center}
.film__play{width:72px; height:72px; border-radius:50%; border:1.5px solid rgba(255,255,255,.4);
  display:grid; place-items:center; transition:.4s var(--ease); flex:0 0 auto}
.film__play svg{width:17px; height:17px; fill:#fff; margin-left:3px}
.film__play:hover{background:#fff; border-color:#fff; transform:scale(1.06)}
.film__play:hover svg{fill:var(--ink)}
.film__inner{display:flex; align-items:center; gap:36px}
.film h2{font-size:clamp(30px,4.2vw,50px); color:#fff; margin:10px 0 12px}
.film p{color:rgba(255,255,255,.68); font-size:14.5px; max-width:36ch; margin-bottom:20px}
.film .eyebrow{color:rgba(255,255,255,.55)}
.film__pillars{display:flex; flex-direction:column; gap:16px; padding-left:26px;
  border-left:1px solid rgba(255,255,255,.22)}
.film__pillars li{color:rgba(255,255,255,.85); font-size:14px; font-weight:600; position:relative}
.film__pillars li::before{content:""; position:absolute; left:-27px; top:9px; width:2px; height:0;
  background:var(--accent-hi); transition:height .4s var(--ease)}
.film__pillars li:hover::before{height:16px}
.film__watch{display:inline-flex; align-items:center; gap:9px; color:#fff; font-size:13px; font-weight:600}
.film__watch svg{width:14px; height:14px; fill:#fff}
@media(max-width:900px){ .film .wrap{grid-template-columns:1fr; gap:32px}
  .film__inner{flex-direction:column; align-items:flex-start; gap:24px}
  .film__pillars{flex-direction:row; flex-wrap:wrap; gap:20px; padding:20px 0 0; border-left:0;
    border-top:1px solid rgba(255,255,255,.22); width:100%} }

/* ---------- ecosystem flow ---------- */
.flow{display:grid; grid-template-columns:repeat(5,1fr); gap:0; align-items:start; margin-top:16px}
.flow__node{position:relative; text-align:center; padding:0 10px;
  opacity:0; transform:translateY(20px); transition:.7s var(--ease)}
.flow__node.in{opacity:1; transform:none}
.flow__art{position:relative; aspect-ratio:16/11; border-radius:var(--r); overflow:hidden;
  background:var(--surface); border:1px solid var(--line); margin-bottom:16px}
.flow__art img{width:100%; height:100%; object-fit:cover}
.flow__art svg{width:100%; height:100%; padding:16%}
.flow__node h4{font-size:15px; font-weight:700; margin-bottom:4px}
.flow__node p{font-size:12px; color:var(--muted); line-height:1.4}
.flow__arrow{position:absolute; top:26%; right:-11px; z-index:3; width:22px; height:22px; border-radius:50%;
  background:var(--paper); border:1px solid var(--line); display:grid; place-items:center}
.flow__arrow svg{width:9px; height:9px; stroke:var(--accent); stroke-width:2.4; fill:none; padding:0}
@media(max-width:900px){ .flow{grid-template-columns:repeat(2,1fr); gap:24px 12px}
  .flow__arrow{display:none} }
@media(max-width:520px){ .flow{grid-template-columns:1fr} }

/* ---------- cases carousel ---------- */
.cases{position:relative}
.cases__track{display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:8px; scrollbar-width:none; -ms-overflow-style:none}
.cases__track::-webkit-scrollbar{display:none}
.case{flex:0 0 clamp(260px,26vw,320px); scroll-snap-align:start; position:relative;
  border-radius:var(--r); overflow:hidden; aspect-ratio:4/3.1; background:var(--dark)}
.case img{width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease)}
.case:hover img{transform:scale(1.07)}
.case::after{content:""; position:absolute; inset:0;
  background:linear-gradient(to top,rgba(10,9,7,.88) 0%,rgba(10,9,7,.25) 45%,transparent 72%)}
.case__region{
  position:absolute; z-index:3; left:16px; top:16px; padding:5px 12px; border-radius:100px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
  font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink);
}
.case__cap{position:absolute; z-index:2; left:20px; right:20px; bottom:18px; color:#fff}
.case__cap b{display:block; font-size:15.5px; font-weight:700; letter-spacing:-.02em; line-height:1.25}
.cases__nav{display:flex; gap:8px}
.cases__nav button{width:40px; height:40px; border-radius:50%; border:1px solid var(--line-2);
  display:grid; place-items:center; transition:.3s var(--ease); background:var(--surface)}
.cases__nav button svg{width:14px; height:14px; stroke:var(--ink); stroke-width:2; fill:none}
.cases__nav button:hover{background:var(--accent); border-color:var(--accent)}
.cases__nav button:hover svg{stroke:#fff}

/* ---------- EMS / software ---------- */
.ems{display:grid; grid-template-columns:.85fr 1.25fr .8fr; gap:44px; align-items:center}
@media(max-width:1080px){ .ems{grid-template-columns:1fr; gap:36px} }

.dash{position:relative; padding:6% 0}
.dash__screen{background:var(--dark); border-radius:14px; padding:9px; box-shadow:var(--shadow-lg)}
.dash__inner{background:#F7F6F3; border-radius:8px; overflow:hidden}
.dash__bar{display:flex; align-items:center; gap:5px; padding:9px 11px; background:#fff;
  border-bottom:1px solid var(--line)}
.dash__bar i{width:7px; height:7px; border-radius:50%; background:var(--line-2)}
.dash__bar b{margin-left:8px; font-size:9px; font-weight:700; letter-spacing:.07em; color:var(--muted);
  text-transform:uppercase}
.dash__grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:12px}
.dash__kpi{background:#fff; border-radius:6px; padding:9px 10px; border:1px solid var(--line)}
.dash__kpi span{font-size:7.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.dash__kpi b{display:block; font-size:15px; font-weight:800; letter-spacing:-.04em; margin-top:2px;
  font-variant-numeric:tabular-nums}
.dash__kpi u{display:block; text-decoration:none; font-size:8px; font-weight:600; color:#4E8C5A; margin-top:1px}
.dash__chart{grid-column:1/-1; background:#fff; border-radius:6px; padding:11px; border:1px solid var(--line)}
.dash__chart svg{width:100%; height:74px; display:block}
.dash__phone{position:absolute; right:-4%; bottom:-2%; width:23%; background:var(--dark);
  border-radius:12px; padding:5px; box-shadow:var(--shadow-lg)}
.dash__phone-in{background:#fff; border-radius:8px; padding:9px 8px; display:flex; flex-direction:column; gap:6px}
.dash__phone-in i{display:block; height:5px; border-radius:3px; background:var(--panel)}
.dash__phone-in i:nth-child(1){width:58%; background:var(--accent); opacity:.8}
.dash__phone-in i:nth-child(3){width:76%}
.dash__phone-in i:nth-child(4){width:44%}
.dash__ring{width:100%; aspect-ratio:1; margin:2px 0}

.ems__stat{font-size:13.5px; color:var(--ink-2); margin-bottom:22px;
  padding-left:14px; border-left:2px solid var(--accent)}
.ems__stat b{display:block; font-size:26px; font-weight:800; color:var(--ink);
  letter-spacing:-.045em; line-height:1.1; font-variant-numeric:tabular-nums}
.ems__feats{display:flex; flex-direction:column; gap:22px}
.feat{display:flex; gap:14px; align-items:flex-start}
.feat__ico{width:38px; height:38px; border-radius:10px; background:var(--accent-soft); display:grid;
  place-items:center; flex:0 0 auto; transition:.35s var(--ease)}
.feat__ico svg{width:17px; height:17px; stroke:var(--accent); fill:none; stroke-width:1.7}
.feat:hover .feat__ico{background:var(--accent)}
.feat:hover .feat__ico svg{stroke:#fff}
.feat b{display:block; font-size:14px; font-weight:700; letter-spacing:-.02em}
.feat > span{flex:1; min-width:0}
.feat span span{display:block; font-size:12.5px; color:var(--muted)}

/* ---------- why aoneng ---------- */
.why{display:grid; grid-template-columns:repeat(6,1fr); gap:14px; margin-top:38px}
.why__item{padding:22px 16px; border-radius:var(--r); background:var(--surface); border:1px solid var(--line);
  text-align:center; transition:.4s var(--ease)}
.why__item:hover{transform:translateY(-5px); box-shadow:var(--shadow); border-color:transparent}
.why__item i{width:42px; height:42px; margin:0 auto 12px; border-radius:12px; background:var(--accent-soft);
  display:grid; place-items:center; transition:.4s var(--ease)}
.why__item i svg{width:19px; height:19px; stroke:var(--accent); fill:none; stroke-width:1.6}
.why__item:hover i{background:var(--accent); transform:rotate(-6deg)}
.why__item:hover i svg{stroke:#fff}
.why__item b{display:block; font-size:13.5px; font-weight:700; letter-spacing:-.02em; margin-bottom:3px}
.why__item span{font-size:11.5px; color:var(--muted); line-height:1.4; display:block}
@media(max-width:1080px){ .why{grid-template-columns:repeat(3,1fr)} }
@media(max-width:560px){ .why{grid-template-columns:repeat(2,1fr)} }

/* ---------- certifications ---------- */
.certs{display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px 50px;
  padding:34px 40px; background:var(--surface); border-radius:var(--r-lg); border:1px solid var(--line)}
.certs__lbl{font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); padding-right:20px; border-right:1px solid var(--line)}
.cert{font-size:19px; font-weight:800; letter-spacing:-.04em; color:var(--ink-2); opacity:.62;
  transition:.3s var(--ease); position:relative}
.cert:hover{opacity:1; color:var(--accent)}
.cert small{display:block; font-size:9.5px; font-weight:600; letter-spacing:.06em; color:var(--muted);
  text-transform:uppercase; margin-top:1px}
@media(max-width:700px){ .certs__lbl{border-right:0; width:100%; text-align:center; padding:0} }

/* ---------- closing CTA ---------- */
.cta{position:relative; min-height:340px; display:flex; align-items:center; overflow:hidden; background:var(--dark)}
.cta__bg{position:absolute; inset:0}
.cta__bg img{width:100%; height:100%; object-fit:cover; opacity:.5}
.cta__bg::after{content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(10,9,7,.9) 0%,rgba(10,9,7,.5) 65%,rgba(10,9,7,.35) 100%)}
.cta .wrap{position:relative; z-index:2; display:grid; grid-template-columns:1fr auto; gap:44px;
  align-items:center; padding-top:64px; padding-bottom:64px}
.cta .eyebrow{color:rgba(255,255,255,.55); margin-bottom:12px; display:block}
.cta h2{font-size:clamp(28px,4vw,46px); color:#fff; margin-bottom:12px}
.cta p{color:rgba(255,255,255,.7); font-size:14.5px; max-width:44ch}
.cta__btns{display:flex; flex-wrap:wrap; gap:12px}
@media(max-width:900px){ .cta .wrap{grid-template-columns:1fr; gap:28px} }

/* ---------- footer ---------- */
.ftr{background:var(--ink); color:var(--on-dark); padding:64px 0 28px}
.ftr .wrap{display:block; max-width:var(--wrap)}
.ftr .brand__name{color:#fff; font-size:18px}
.ftr .brand__mark{width:34px; height:27px}
.ftr .brand__name > span{color:var(--bronze-light)}
.ftr .brand__name small{opacity:.55}
.ftr__nav{display:flex; gap:24px; margin-left:auto; flex-wrap:wrap}
.ftr__nav a{font-size:13px; color:var(--on-dark-2); transition:.24s var(--ease)}
.ftr__nav a:hover{color:#fff}
.ftr__soc{display:flex; gap:6px}
.ftr__soc a{width:32px; height:32px; border-radius:50%; display:grid; place-items:center;
  background:rgba(255,255,255,.08); transition:.3s var(--ease)}
.ftr__soc a svg{width:14px; height:14px; fill:var(--on-dark-2); transition:.3s var(--ease)}
.ftr__soc a:hover{background:var(--accent)}
.ftr__soc a:hover svg{fill:#fff}
.ftr__legal{font-size:11.5px; color:var(--on-dark-2); text-align:right; line-height:1.5}
.ftr__legal b{display:block; color:rgba(255,255,255,.5); font-weight:500}
@media(max-width:1080px){ .ftr__nav{margin-left:0; width:100%; order:3} .ftr__legal{text-align:left} }


/* ============================================================
   MOBILE NAVIGATION DRAWER
   Built at runtime from the desktop mega menus so the two can
   never drift apart.
   ============================================================ */
.mnav{position:fixed; inset:0; z-index:300; visibility:hidden}
.mnav.is-open{visibility:visible}
.mnav__scrim{position:absolute; inset:0; background:rgba(12,10,8,.55);
  opacity:0; transition:opacity .35s var(--ease)}
.mnav.is-open .mnav__scrim{opacity:1}
.mnav__panel{
  position:absolute; top:0; right:0; bottom:0; width:min(410px,90vw);
  background:var(--paper); display:flex; flex-direction:column;
  transform:translateX(101%); transition:transform .42s var(--ease);
  box-shadow:-24px 0 70px -28px rgba(20,14,8,.6);
}
.mnav.is-open .mnav__panel{transform:none}
.mnav__top{display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px; border-bottom:1px solid var(--line); background:var(--surface)}
.mnav__ttl{font-size:11px; font-weight:700; letter-spacing:.18em;
  text-transform:uppercase; color:var(--muted)}
.mnav__close{width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  background:var(--panel); transition:.25s var(--ease)}
.mnav__close svg{width:15px; height:15px; stroke:var(--ink); stroke-width:2; fill:none}
.mnav__close:hover{background:var(--accent)}
.mnav__close:hover svg{stroke:#fff}
.mnav__body{flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain}
.mnav__group{border-bottom:1px solid var(--line-soft)}
.mnav__trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:15px 20px; font-size:15px; font-weight:600; letter-spacing:-.015em; text-align:left;
}
.mnav__trigger svg{width:11px; height:11px; opacity:.45; flex:0 0 auto;
  transition:transform .3s var(--ease)}
.mnav__group.is-open .mnav__trigger{color:var(--accent)}
.mnav__group.is-open .mnav__trigger svg{transform:rotate(180deg); opacity:1}
/* grid-template-rows 0fr -> 1fr animates open without measuring anything,
   so the accordion cannot fail when layout is not ready at click time */
.mnav__sub{display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--ease)}
.mnav__group.is-open .mnav__sub{grid-template-rows:1fr}
.mnav__sub > ul{overflow:hidden; min-height:0;
  padding:2px 20px 0; display:flex; flex-direction:column}
.mnav__group.is-open .mnav__sub > ul{padding-bottom:14px}
.mnav__sub a{display:block; padding:9px 0 9px 15px; font-size:13.5px; color:var(--ink-2);
  border-left:1.5px solid var(--line); transition:.22s var(--ease)}
.mnav__sub a:hover{color:var(--accent); border-left-color:var(--accent)}
.mnav__sub a.is-all{font-weight:600; color:var(--ink)}
.mnav__foot{padding:16px 18px calc(16px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line); background:var(--surface);
  display:flex; align-items:center; gap:12px}
.mnav__foot .btn{flex:1}
.mnav__lang{display:flex; align-items:center; gap:6px; padding:12px 14px; border-radius:100px;
  border:1.5px solid var(--line-2); font-size:13px; font-weight:600}
.mnav__lang svg{width:15px; height:15px}
body.is-locked{overflow:hidden}
@media(min-width:1381px){ .mnav{display:none} }


/* ============================================================
   IMAGE PLACEHOLDERS
   Standing in until factory photography arrives. Each one names
   the shot required, so the brief travels with the layout.
   ============================================================ */
.ph{
  position:relative; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:9px; text-align:center; padding:18px; overflow:hidden;
  background:
    repeating-linear-gradient(135deg, rgba(139,98,71,.05) 0 10px, transparent 10px 20px),
    var(--panel);
  border:1px dashed var(--line-2); color:var(--muted);
}
.ph svg{width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:1.4; opacity:.65}
.ph__t{font-size:10.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  line-height:1.45; max-width:24ch}
.ph--dark{
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px),
    var(--dark-2);
  border-color:rgba(255,255,255,.18); color:rgba(255,255,255,.66);
}
.ph--dark svg{stroke:var(--accent-hi); opacity:.85}
.ph--fill{position:absolute; inset:0; border:0}
.sol__img .ph, .prod__img .ph, .case .ph, .mega__feat .ph{width:100%; height:100%}
.mega__feat .ph{aspect-ratio:16/10; margin-bottom:10px}

/* ============================================================
   FAQ
   ============================================================ */
.faq{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden}
.faq__item{background:var(--surface); padding:24px 26px}
.faq__item h3{font-size:14.5px; font-weight:700; letter-spacing:-.015em; margin-bottom:8px}
.faq__item p{font-size:13px; color:var(--ink-2); line-height:1.6}
@media(max-width:760px){ .faq{grid-template-columns:1fr} }

/* proof line under the software section */
.proofline{display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:20px; padding-top:18px;
  border-top:1px solid var(--line); font-size:12.5px; color:var(--ink-2)}
.proofline b{color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums}

/* capability figures in the manufacturing band */
.mfg__figs{display:flex; flex-wrap:wrap; gap:14px 34px; margin:22px 0 24px}
.mfg__figs div{display:flex; flex-direction:column; gap:2px}
.mfg__figs b{font-size:21px; font-weight:800; letter-spacing:-.035em; color:#fff;
  font-variant-numeric:tabular-nums; line-height:1.1}
.mfg__figs span{font-size:11.5px; color:rgba(255,255,255,.62)}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.rv{opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease)}
.rv.in{opacity:1; transform:none}
.rv-d1{transition-delay:.08s} .rv-d2{transition-delay:.16s} .rv-d3{transition-delay:.24s}
.rv-d4{transition-delay:.32s} .rv-d5{transition-delay:.40s}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* eight nav items with two long labels need ~1300px before they crowd the
   pill, so the burger takes over earlier than the other layout breakpoints */
/* The handoff wants the full menu down to 1180px. At the original sizing the
   eight items plus the logo and utilities need about 1290px, so between 1180
   and 1380 the row tightens and the two longest labels drop their tail
   ("Manufacturing & R&D" reads "Manufacturing"). Above 1380 nothing changes. */
/* the pill reaches its full 1280 at 1328 px; below that the nav tightens */
@media(min-width:1181px) and (max-width:1327px){
  .nav{gap:0}
  .nav__link{padding:10px 7px; font-size:12.5px; gap:4px}
  .nav__tail{display:none}
  .hdr__util{gap:6px}
  .hdr__pill{padding-left:12px; padding-right:12px}
  /* globe only — the switcher still works, it just drops its "EN" label */
  .lang{gap:0; padding:8px; font-size:0}
  .lang svg:last-child{display:none}
  .lang svg:first-child{font-size:initial}
}
@media(max-width:1180px){
  .nav{display:none}
  /* .nav carried the margin-right:auto that pushed these right, so with the
     nav hidden the utilities have to claim the free space themselves */
  .hdr__util{margin-left:auto}
  .burger{display:grid}
}
@media(max-width:1180px){
  .grid-5{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  :root{--stats-lift:70px}
  /* .sec padding follows --sec-y */
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .hero .wrap{padding-bottom:130px}
  /* --stats-lift is reduced below, which moves the counter with it */
}
@media(max-width:640px){
  /* the desktop gradient is left-weighted; on a narrow screen the copy runs
     across the full frame, so the overlay has to work top-to-bottom instead */
  .hero__media::after{
    background:linear-gradient(to bottom,rgba(10,9,7,.72) 0%,rgba(10,9,7,.48) 40%,
      rgba(10,9,7,.62) 75%,rgba(10,9,7,.78) 100%);
  }
  .hero__count{left:18px}
  .grid-5{grid-template-columns:repeat(2,1fr)}
  .hero{min-height:auto}
  .hero__inner{max-width:100%}
  .hero .wrap{padding-top:calc(var(--hdr-h) + 44px); padding-bottom:132px}
}
@media(max-width:460px){
  .grid-4,.grid-5{grid-template-columns:1fr}
}

/* ============================================================
   REDUCED MOTION  (performance + a11y budget)
   ============================================================ */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important; animation-iteration-count:1!important;
    transition-duration:.01ms!important; scroll-behavior:auto!important}
  .rv{opacity:1; transform:none}
  .flow__node{opacity:1; transform:none}
  .hero__slide.is-on img{animation:none}
  .hero__slide{transition:none}
}

/* ══════════════ PRODUCTS MEGA MENU ══════════════
   The model lineup panel: four power-class columns of real catalogue models,
   a software card, and the power ladder along the foot. Overrides the generic
   .mega grid, which is sized for two text columns plus a picture. */
.mega--prod{
  min-width:min(1180px,96vw); max-width:min(1180px,96vw);
  display:block; padding:24px 26px 16px;
}
.pmenu{
  display:grid; gap:10px 26px;
  grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,248px);
}
.pmenu__h{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink); padding-bottom:9px; margin-bottom:8px;
  border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:3px;
}
.pmenu__h span{font-size:10.5px; color:var(--muted); letter-spacing:.06em; text-transform:none}

/* one model row */
.mega .pmod{
  display:flex; align-items:center; gap:11px;
  padding:6px 7px; margin:0 -7px; border-radius:10px;
  transition:background .18s var(--ease);
}
.mega .pmod:hover{background:var(--panel); transform:none}
.pmod__img{
  flex:0 0 auto; width:46px; height:46px; border-radius:9px;
  background:var(--sand); display:grid; place-items:center; overflow:hidden;
}
.pmod__img img{width:100%; height:100%; object-fit:contain; display:block}
.mega .pmod__txt{display:block; min-width:0; margin:0}
.mega .pmod__txt b{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px; font-weight:500; letter-spacing:.01em;
  color:var(--ink); line-height:1.25;
}
.mega .pmod__txt span{
  font-size:11px; color:var(--muted); line-height:1.4; margin-top:2px;
  white-space:normal;
}
.mega .pmod:hover .pmod__txt b{color:var(--accent)}

/* software card + catalogue download */
.pmenu__side{display:flex; flex-direction:column; gap:10px; min-width:0}
.mega .pmenu__soft{
  background:var(--dark); color:var(--on-dark); border-radius:14px;
  padding:16px 17px; display:flex; flex-direction:column; gap:7px; flex:1 1 auto;
}
.mega .pmenu__soft:hover{transform:none}
.pmenu__eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-hi);
}
.mega .pmenu__soft b{font-size:17px; font-weight:700; color:#fff; line-height:1.2}
.mega .pmenu__soft .pmenu__softp{font-size:11.5px; color:var(--on-dark-2); line-height:1.5; margin:0}
.mega .pmenu__soft .pmenu__lnk{
  margin-top:auto; font-size:12px; color:#fff; font-weight:600;
  display:inline-flex; align-items:center; gap:6px;
}
.pmenu__lnk svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.8}
.mega .pmenu__soft:hover .pmenu__lnk{color:var(--accent-hi)}
.mega .pmenu__dl{
  border:1px solid var(--line-2); border-radius:12px; padding:12px 14px;
  font-size:12.5px; font-weight:600; color:var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.pmenu__dl svg{width:15px; height:15px; stroke:currentColor; fill:none; flex:0 0 auto}
.mega .pmenu__dl:hover{border-color:var(--accent); color:var(--accent); transform:none}

/* power ladder along the foot */
.pmenu__foot{
  display:flex; align-items:center; gap:14px;
  margin-top:14px; padding-top:13px; border-top:1px solid var(--line);
}
.pmenu__scale{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:10.5px; color:var(--muted); flex:0 0 auto; letter-spacing:.04em;
}
.ladder{display:flex; gap:5px; flex:1 1 auto; min-width:0}
.ladder i{
  flex:1 1 0; height:6px; border-radius:3px; background:var(--accent-soft);
}
.ladder i:nth-child(2){background:#E2CDB8}
.ladder i:nth-child(3){background:#CFAF8E}
.ladder i:nth-child(4){background:#B08A63}
.ladder i:nth-child(5){background:var(--bronze)}
.ladder i:nth-child(6){background:var(--dark)}
.mega .pmenu__all{
  flex:0 0 auto; font-size:12.5px; font-weight:600; color:var(--accent);
  display:inline-flex; align-items:center; gap:6px; padding:0;
}
.pmenu__all svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.8}

@media(max-width:1240px){
  .pmenu{grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 22px}
  .pmenu__side{grid-column:span 3; flex-direction:row}
  .mega .pmenu__soft{flex:1 1 60%}
  .mega .pmenu__dl{flex:1 1 40%}
}

/* ── Tap targets ──
   The handoff asks for at least 44px of height on anything tappable. Applied
   where a finger is actually used, so the desktop header keeps its proportions;
   inline links inside prose are left alone, as padding them out would break
   the line rhythm. */
@media(hover:none),(max-width:1024px){
  .btn,
  .icon-btn,
  .lang,
  .burger,
  .chip,
  .mnav__trigger,
  .mnav__sub a,
  .nav__link,
  .ftr__col a,
  .ftr__soc a{
    min-height:44px;
    display:flex;
    align-items:center;
  }
  .btn,.chip{justify-content:center}
  .icon-btn,.burger,.ftr__soc a{min-width:44px; justify-content:center}
}

/* ══════════ FOOTER (handoff "Shared parts") ══════════
   Brand, description and action on the left; four link columns beside it —
   Products, Solutions, Company and the regional office — then a bottom row
   carrying the copyright and the social buttons. */
.ftr__top{display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,2.05fr);
  gap:56px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.1)}
.ftr__brandcol{display:flex; flex-direction:column; align-items:flex-start; gap:18px}
.ftr__blurb{margin:0; font-size:14px; line-height:1.65; color:var(--on-dark-2); max-width:38ch}
.ftr__cols{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px}
.ftr__col{display:flex; flex-direction:column; gap:9px; min-width:0}
.ftr__col h3{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  color:var(--bronze-light); margin:0 0 6px}
.ftr__col a{font-size:13.5px; color:var(--on-dark-2); line-height:1.45; transition:.2s var(--ease)}
.ftr__col a:hover{color:#fff}
.ftr__office{margin:0 0 4px; font-size:13.5px; line-height:1.55; color:var(--on-dark)}
.ftr__bottom{display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap; padding-top:24px}
.ftr__legal{font-size:12.5px; color:var(--on-dark-2)}

@media(max-width:1099px){
  .ftr__top{grid-template-columns:1fr; gap:38px}
  .ftr__cols{grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px}
}
@media(max-width:560px){
  .ftr{padding-top:48px}
  .ftr__cols{grid-template-columns:1fr; gap:26px}
  .ftr__bottom{flex-direction:column; align-items:flex-start; gap:16px}
}

/* The Smart Energy Cloud component lives here, not in page.css: the
   homepage loads only style.css, and the card on it uses the compact
   variant. Subpages load both, so this reaches them too. */
/* ── Smart Energy Cloud interface, drawn natively ───────────────
   Replaces the navy monitor photo. Status colours are desaturated so they
   read as semantic without fighting the bronze palette; each clears 4.5:1
   on white. Sizes are in rem-free px because this mimics a dense UI. */
.emsui{
  margin:0 0 40px; border:1px solid var(--line-2); border-radius:var(--r-lg);
  background:var(--surface); box-shadow:var(--shadow); overflow:hidden;
  --ok:#5B7355; --warn:#96682C; --fault:#9C4A3C; --off:#B9AFA3;
  --series-pv:#A8814F;   /* 3.2:1 on cream; --bronze-light was 1.9:1 */
}
.emsui__bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:13px 20px; border-bottom:1px solid var(--line); background:var(--cream);
}
.emsui__brand{font-size:13px; font-weight:700; letter-spacing:.14em; color:var(--ink)}
.emsui__brand i{
  font-style:normal; font-weight:500; letter-spacing:.02em;
  color:var(--grey); margin-left:9px; padding-left:10px; border-left:1px solid var(--line-2);
}
.emsui__live{
  display:inline-flex; align-items:center; gap:7px; font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ok);
}
.emsui__live::before{
  content:""; width:6px; height:6px; border-radius:50%; background:var(--ok);
  animation:emspulse 2.4s var(--ease) infinite;
}
@keyframes emspulse{0%,100%{opacity:1}50%{opacity:.28}}
@media (prefers-reduced-motion:reduce){.emsui__live::before{animation:none}}

.emsui__body{display:grid; grid-template-columns:174px minmax(0,1fr)}
.emsui__nav{
  margin:0; padding:16px 0; list-style:none;
  border-right:1px solid var(--line); background:var(--cream);
}
.emsui__nav li{
  padding:9px 20px; font-size:13px; color:var(--grey);
  border-left:2px solid transparent;
}
.emsui__nav li.is-on{
  color:var(--ink); font-weight:600;
  border-left-color:var(--bronze); background:var(--bronze-soft);
}
.emsui__main{padding:18px; display:grid; gap:14px; min-width:0}

/* metric tiles */
.eks{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px}
.ek{
  position:relative; border:1px solid var(--line); border-radius:var(--r-sm);
  background:var(--cream); padding:12px 13px;
}
.ek b{
  display:block; font-size:21px; line-height:1.1; letter-spacing:-.02em;
  color:var(--ink); font-weight:700;
}
.ek b i{font-style:normal; font-size:11px; font-weight:600; color:var(--grey); margin-left:4px}
.ek span{display:block; margin-top:5px; font-size:11.5px; color:var(--grey); line-height:1.35}
.ek em{
  position:absolute; top:12px; right:13px; font-style:normal;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace; font-size:10.5px;
}
.ek--up{color:var(--ok)} .ek--down{color:var(--fault)}

.epanes{display:grid; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr) minmax(0,1fr); gap:10px}
.epane{
  border:1px solid var(--line); border-radius:var(--r-sm);
  background:var(--cream); padding:13px 14px; min-width:0;
}
.epane__h{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:11px}
.epane__h b{font-size:13px; color:var(--ink)}
.epane__h span{
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:10.5px; color:var(--grey);
}

/* power trend */
.ec__keys{display:flex; gap:14px; margin-bottom:8px}
.ec__k{
  font-style:normal; font-size:11px; color:var(--grey);
  display:inline-flex; align-items:center; gap:5px;
}
.ec__k::before{content:""; width:9px; height:2px; border-radius:2px}
.ec__k--load::before{background:var(--bronze)}
.ec__k--pv::before{background:var(--series-pv)}
.ec__k--unit{margin-left:auto; font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace; font-size:10px; letter-spacing:.08em}
.ec__k--unit::before{display:none}
.ec__wrap{display:grid; grid-template-columns:22px minmax(0,1fr); align-items:stretch}
.ec__y{display:none}
.ec__wrap .ec__y{
  display:flex; flex-direction:column; justify-content:space-between;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:10px; color:var(--grey); text-align:right; padding-right:6px;
  line-height:1; padding-top:1px; padding-bottom:1px;
}
.ec__plot{display:block; width:100%; height:128px; overflow:visible}
.ec__rules line{stroke:var(--line); stroke-width:1; vector-effect:non-scaling-stroke}
.ec__fill{fill:var(--bronze-soft); opacity:.75}
.ec__load{fill:none; stroke:var(--bronze); stroke-width:2; vector-effect:non-scaling-stroke}
.ec__pv{
  fill:none; stroke:var(--series-pv); stroke-width:2;
  stroke-dasharray:4 3; vector-effect:non-scaling-stroke;
}
.ec__x{
  display:flex; justify-content:space-between; margin:7px 0 0 22px;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:10px; color:var(--grey);
}

/* equipment ring */
.ering{display:grid; grid-template-columns:86px minmax(0,1fr); gap:13px; align-items:center}
.ering svg{width:86px; height:86px}
.ering__n{
  text-anchor:middle; fill:var(--ink);
  font-size:23px; font-weight:700; letter-spacing:-.02em;
}
.ering__u{
  text-anchor:middle; fill:var(--grey); font-size:10px;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace; letter-spacing:.06em;
}
.ering circle{fill:none; stroke-width:11}
.ering .er--ok{stroke:var(--ok)} .ering .er--warn{stroke:var(--warn)}
.ering .er--fault{stroke:var(--fault)} .ering .er--off{stroke:var(--off)}
.erlist{margin:0; padding:0; list-style:none; display:grid; gap:5px}
.erlist li{display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--grey)}
.erlist li::before{content:""; width:7px; height:7px; border-radius:50%; flex:none}
.erlist .er--ok::before{background:var(--ok)} .erlist .er--warn::before{background:var(--warn)}
.erlist .er--fault::before{background:var(--fault)} .erlist .er--off::before{background:var(--off)}
.erlist b{margin-left:auto; color:var(--ink); font-size:12px}

/* energy mix */
.emix{margin:0; padding:0; list-style:none; display:grid; gap:9px}
.emix li{display:grid; grid-template-columns:58px minmax(0,1fr) 38px; align-items:center; gap:8px}
.emix span{font-size:11.5px; color:var(--grey)}
.emix i{display:block; height:7px; border-radius:4px; background:var(--sand); position:relative}
.emix i::after{
  content:""; position:absolute; inset:0 auto 0 0; width:var(--w);
  border-radius:4px; background:var(--bronze);
}
.emix b{
  text-align:right; font-size:11.5px; color:var(--ink);
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}

.emsui__note{
  margin:0; padding:11px 20px; border-top:1px solid var(--line);
  background:var(--cream); font-size:11.5px; color:var(--grey);
}

/* the four capability blocks, now a row beneath the interface */
.sblocks--row{grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px}
.sblocks--row .sblock{border-top:2px solid var(--bronze); padding-top:14px}

@media (max-width:1060px){
  .emsui__body{grid-template-columns:1fr}
  .emsui__nav{
    display:flex; overflow-x:auto; padding:0; gap:0;
    border-right:0; border-bottom:1px solid var(--line);
  }
  .emsui__nav li{white-space:nowrap; border-left:0; border-bottom:2px solid transparent; padding:11px 16px}
  .emsui__nav li.is-on{border-left:0; border-bottom-color:var(--bronze)}
  .eks{grid-template-columns:repeat(3,minmax(0,1fr))}
  .epanes{grid-template-columns:1fr}
  .sblocks--row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .eks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ek b{font-size:18px}
  .emsui__main{padding:13px}
  .sblocks--row{grid-template-columns:1fr; gap:18px}
}

/* ── compact variant, for the product card on the homepage ─────
   The card tile is only ~193px wide at the six-column breakpoint, so the
   three-pane layout cannot fit and even two figures collide. This shows one
   figure and the curve, and adds the second figure only when the container
   is wide enough — measured, not assumed. */
.prod__img{container-type:inline-size}
.emsui--mini{
  position:absolute; inset:0; margin:0; display:flex; flex-direction:column;
  gap:7px; padding:42px 13px 11px; border:0; border-radius:0; box-shadow:none;
  background:var(--surface);
  transition:opacity .55s var(--ease), transform 1s var(--ease);
}
.prod:hover .emsui--mini, .prod:focus-within .emsui--mini{opacity:0; transform:scale(.96)}
.emini__cap{
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  font-size:9px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--bronze); white-space:nowrap;
}
.emini__figs{display:grid; gap:9px}
.emini__fig b{
  display:block; font-size:21px; line-height:1.05; letter-spacing:-.02em;
  color:var(--ink); font-weight:700;
}
.emini__fig b i{font-style:normal; font-size:10.5px; font-weight:600; color:var(--grey); margin-left:3px}
.emini__fig span{display:block; font-size:10px; color:var(--grey); margin-top:2px}
.emini__fig--2{display:none}
.emsui--mini .ec__plot{flex:1; width:100%; height:auto; min-height:40px}
.emini__foot{
  display:flex; justify-content:space-between; align-items:baseline; gap:6px;
  font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace; font-size:9.5px;
  color:var(--grey); white-space:nowrap;
}
.emini__foot b{color:var(--ok); font-weight:600}

@container (min-width:250px){
  .emini__figs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .emini__fig--2{display:block}
  .emini__cap{font-size:10px}
  .emsui--mini{padding:46px 16px 14px; gap:10px}
}

/* regional office block in the footer */
.ftr__office{font-style:normal; color:var(--on-dark-2); font-size:13.5px; line-height:1.65; margin:0 0 10px}
.ftr__tel{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace; font-size:13px; letter-spacing:.02em}
.ftr__legalnav{display:flex; gap:18px; flex-wrap:wrap}
.ftr__legalnav a{font-size:12.5px; color:var(--on-dark-2)}
.ftr__legalnav a:hover{color:var(--bronze-light)}

/* ============================================================
   FOOTER AS THE HANDOFF SETS IT (measured at 1440)
   brand column 380 px, four link columns from x=539, 15 px links
   ============================================================ */
.ftr{padding:72px 0 30px}
.ftr__top{grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:80px}
.ftr .brand__name{font-size:20px}
.ftr .brand__mark{width:38px; height:30px}
.ftr__line{font-size:clamp(26px,2.2vw,31px); letter-spacing:-.03em; line-height:1.15}
.ftr__blurb{font-size:15px; line-height:1.6}
.ftr__cols{gap:24px}
.ftr__col{gap:9px}
.ftr__col h3{font-size:11.5px; margin-bottom:8px}
.ftr__col a{font-size:15px; line-height:1.3; color:var(--on-dark)}
.ftr__col a:hover{color:var(--bronze-light)}
.ftr__office{font-size:15px; line-height:1.5; color:var(--on-dark)}
.ftr__tel{font-family:inherit; font-size:15px; letter-spacing:0}
.ftr__col a[href*="downloads"]{color:var(--bronze-light)}
.ftr__bottom{margin-top:56px; padding-top:28px}
.ftr__legal, .ftr__legalnav a{font-size:14px}
.ftr__legalnav{gap:24px}
.ftr__soc{gap:8px}
.ftr__soc a{width:46px; height:46px; background:transparent; box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.ftr__soc a svg{width:16px; height:16px; fill:var(--on-dark)}
@media(max-width:1000px){ .ftr__top{grid-template-columns:1fr; gap:40px} }
.ftr__line{font-weight:300; max-width:none}
.ftr__line em{font-weight:700}
.ftr__line{font-size:clamp(24px,1.95vw,28px)}
.ftr__col a, .ftr__office, .ftr__tel{font-size:14.5px}
/* the phone mock-up overhangs its dashboard by 4%; below 1000 px that is more
   than the 24 px side margin and it pushed the homepage 5 px wide */
@media(max-width:1000px){ .dash__phone{right:-2%} }
