/* =====================================================================
   GREEN SUN TECHNOLOGIES — "Solar Noir" design system
   Liquid-glass surfaces on Material 3 foundations:
   one set of tokens for colour, glass, elevation, shape, space, type and
   motion; every component on every page is built from them.
   ===================================================================== */

/* ------------------------------------------------------------------ fonts
   Self-hosted and trimmed (OFL 1.1; copyright and licence are kept inside each file): only the weights and widths
   the site uses, the Latin range Google serves, and the № sign on its own (it lives in Google's Cyrillic file).
   Same family names as before, so nothing else changes. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-numero.woff2) format('woff2'); unicode-range: U+2116; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geistmono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geistmono-numero.woff2) format('woff2'); unicode-range: U+2116; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrumentserif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Colour, glass and elevation tokens. The page is dark ("Solar Noir"); html[data-theme="light"] (further down) flips them, and
   the night-time parts of the page re-declare these dark values so they stay dark in either theme. */
:root,
html[data-theme="light"] :is(.nav, .menu, .hero, .day, .show, .cta, .ftr, .lightbox, .gsl, [data-dial-sec]) {
  /* colour */
  --ink-rgb: 243 239 230;      /* text-coloured ink, for hairlines and outlines */
  --fx-rgb: 255 255 255;       /* the tint laid over a surface to lift it */
  --void: #050507;
  --ink-1: #0B0B10;
  --ink-2: #111118;
  --ink-3: #181822;
  --ink-4: #22222E;
  --text: #F3EFE6;
  --text-2: #C2BECB;
  --muted: #A9A6B3;   /* ≥4.5:1 on the lightest measured glass (#44393B) */
  --dim: #5D5A66;
  --line: rgb(var(--ink-rgb) / .10);
  --line-2: rgb(var(--ink-rgb) / .18);
  --flare: #FF3B1F;
  --orange: #FF7A00;
  --sun: #FFC400;
  --hot: #FFF1B8;
  --volt: #C6FF3D;
  --on-plasma: #160800;
  --plasma: linear-gradient(100deg, #FF3B1F 0%, #FF7A00 30%, #FFC400 65%, #FFF1B8 100%);
  --plasma-v: linear-gradient(180deg, #FFF1B8 0%, #FFC400 30%, #FF7A00 65%, #FF3B1F 100%);

  /* liquid glass */
  --glass-fill: linear-gradient(155deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, .025) 100%);
  --glass-fill-strong: linear-gradient(155deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .04) 100%);
  --glass-tint: rgba(14, 14, 20, .42);
  --glass-base: rgba(14, 14, 20, .55);
  --glass-base-strong: rgba(10, 10, 16, .82);
  --inset: rgba(0, 0, 0, .25);   /* a recess inside a card */
  --inset-2: rgba(0, 0, 0, .35);
  --glass-edge: rgba(255, 255, 255, .16);
  --glass-blur: blur(26px) saturate(195%) brightness(1.06);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, .34), inset 1px 0 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 18px 30px -26px rgba(255, 255, 255, .22), inset 0 -14px 28px -22px rgba(255, 255, 255, .35);

  /* elevation (M3 levels) */
  --e1: 0 1px 2px rgba(0, 0, 0, .55), 0 1px 3px 1px rgba(0, 0, 0, .25);
  --e2: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 6px 2px rgba(0, 0, 0, .30);
  --e3: 0 4px 8px 3px rgba(0, 0, 0, .30), 0 1px 3px rgba(0, 0, 0, .55);
  --e4: 0 10px 30px -6px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .5);
  --e5: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 6px 16px -6px rgba(0, 0, 0, .6);
}

:root {
  /* shape (M3 scale) */
  --r-xs: 4px;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-full: 999px;

  /* space (4-point grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;

  /* motion */
  --ease: cubic-bezier(.2, 0, 0, 1);          /* M3 emphasized */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);   /* big reveals */
  --d-s: 200ms;
  --d-m: 400ms;
  --d-l: 800ms;

  /* type */
  --f-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;

  /* layout */
  --gutter: clamp(16px, 3.4vw, 56px);
  --maxw: 1480px;
  --nav-h: 64px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--void); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: transparent; /* <html> paints the void; an opaque body would hide the z-index:-1 aura */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* clip, not hidden: when the page is locked (<html> overflow hidden for the menu or the lightbox), a hidden body
     becomes its own scroll box and the sticky 24-hour story jumps away; clip never makes a scroll box */
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--on-plasma); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
/* targets of the skip link and in-page links take focus without drawing a ring around a whole section */
main:focus, section:focus, [tabindex="-1"]:focus { outline: none; }
h2.label, h3.label { margin: 0; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: var(--r-full); background: var(--volt); color: var(--void); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ambient light behind everything: gives the glass something to refract */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--void); }
.aura i { position: absolute; border-radius: 50%; opacity: .5; will-change: transform; } /* soft radial gradients instead of a live 90px blur */
.aura i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: 30vh; background: radial-gradient(circle, rgba(255, 59, 31, .5), rgba(255, 59, 31, .22) 32%, rgba(255, 59, 31, .06) 55%, transparent 70%); animation: drift1 26s var(--ease) infinite alternate; }
.aura i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: -10vh; background: radial-gradient(circle, rgba(255, 196, 0, .36), rgba(255, 196, 0, .16) 32%, rgba(255, 196, 0, .05) 55%, transparent 70%); animation: drift2 32s var(--ease) infinite alternate; }
.aura i:nth-child(3) { width: 38vw; height: 38vw; left: 34vw; bottom: -18vh; background: radial-gradient(circle, rgba(198, 255, 61, .2), rgba(198, 255, 61, .09) 32%, rgba(198, 255, 61, .03) 55%, transparent 70%); animation: drift3 38s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, -24vh) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-22vw, 30vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(-16vw, -20vh) scale(1.25); } }

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .035; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ------------------------------------------------------------------ type */
.xl, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.025em; }
.h1 { font-size: clamp(40px, 9.2vw, 138px); line-height: .86; margin: 0; }
.h1, .h2 { text-wrap: balance; }
.h2 { font-size: clamp(34px, 6.2vw, 104px); line-height: .9; margin: 0 0 var(--s6); }
.h3 { font-size: clamp(22px, 2.3vw, 34px); line-height: 1; margin: 0; letter-spacing: -.02em; }
.cond { font-family: var(--f-display); font-weight: 900; font-stretch: 62%; letter-spacing: -.02em; }
.it { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em; }
.h1 .it, .h2 .it { font-size: 1.12em; line-height: .8; }
.grad { background: var(--plasma); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* gradient text only paints inside its box, and an italic's last letter leans past the box (the “?” of “lighting?”
   was cut off): pad the box on the right and give the space back, so nothing moves */
.grad.it { padding-right: .16em; margin-right: -.16em; }
.volt { color: var(--volt); }
.label { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 54ch; margin: 0; }
.lede b, .lede strong { color: var(--text); font-weight: 600; }

/* section header: № 03 — title ———— meta */
.sec { scroll-margin-top: calc(var(--nav-h) + var(--s4) + 16px); /* a #section jump lands clear of the fixed nav */ position: relative; padding: clamp(96px, 13vw, 200px) 0; }
.sec-head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s6); }
.sec-head .label { white-space: nowrap; }
.sec-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-head .no { color: var(--sun); }

/* ------------------------------------------------------------------ liquid glass */
.glass {
  --gx: 30%;
  --gy: 0%;
  position: relative;
  isolation: isolate;
  background: var(--glass-fill), var(--glass-tint);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-inner), var(--e4);
}
.glass::before { /* specular highlight that follows the pointer (lensing) */
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(260px circle at var(--gx) var(--gy), rgba(255, 255, 255, calc(.08 + .12 * var(--ga, 0))), transparent 62%),
    linear-gradient(128deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .025) 26%, transparent 46%);
}
.glass-edge::after { /* rim light: a gradient border that catches the pointer */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--gx) var(--gy), rgba(255, 214, 140, calc(.25 + .5 * var(--ga, 0))), rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .04) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass-strong { background: var(--glass-fill-strong), var(--glass-base); }
.refract { -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
html.lg-refract .refract { backdrop-filter: url(#lg-refract) blur(14px) saturate(185%); }

/* ------------------------------------------------------------------ state layers + ripple (M3) */
.sl { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.sl > .state { position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: currentColor; opacity: 0; pointer-events: none; transition: opacity var(--d-s) linear; }
.sl:hover > .state { opacity: .08; }
.sl:focus-visible > .state { opacity: .12; }
.sl:active > .state { opacity: .14; }
.ripple { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0); animation: ripple 650ms var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.sl > .ripple { position: absolute; } /* beats the .btn > * / .seg button > * content rules below, so a press never resizes its host */

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  height: var(--h); padding: 0 var(--s5) 0 calc(var(--s5) + 2px);
  border-radius: var(--r-full);
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: transform var(--d-m) var(--ease-expo), box-shadow var(--d-m) var(--ease), background-color var(--d-s);
  will-change: transform;
}
.btn > * { position: relative; z-index: 2; }
.btn .lbl { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.btn .lbl > span { display: block; transition: transform var(--d-m) var(--ease-expo); }
.btn:hover .lbl > span { transform: translateY(-100%); }
.btn .arr { width: 18px; height: 18px; transition: transform var(--d-m) var(--ease-expo); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn-plasma { background: var(--plasma); background-size: 160% 100%; color: var(--on-plasma); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 40px -10px rgba(255, 110, 0, .7), var(--e2); transition: transform var(--d-m) var(--ease-expo), box-shadow var(--d-m) var(--ease), background-position var(--d-l) var(--ease); }
.btn-plasma:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 16px 60px -10px rgba(255, 140, 0, .9), var(--e3); }
.btn-glass { color: var(--text); }
.btn-volt { background: var(--volt); color: var(--void); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 40px -12px rgba(198, 255, 61, .6); }
.btn-text { --h: 44px; padding: 0 var(--s3); color: var(--text); }
.btn-sm { --h: 44px; padding: 0 var(--s4) 0 calc(var(--s4) + 2px); font-size: 11.5px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-full); color: var(--text); }
.icon-btn svg { position: relative; z-index: 2; width: 18px; height: 18px; }
.icon-btn.is-on { background: var(--volt); color: var(--void); border-color: transparent; box-shadow: 0 0 24px -4px rgba(198, 255, 61, .7); }

/* chips (M3 filter chips) */
.chip {
  position: relative; display: inline-flex; align-items: center; gap: var(--s2);
  height: 36px; padding: 0 var(--s4); border-radius: var(--r-s);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--line-2); background: rgb(var(--fx-rgb) / .02);
  transition: background var(--d-s), color var(--d-s), border-color var(--d-s), padding var(--d-m) var(--ease);
}
.chip .tick { width: 0; height: 16px; overflow: hidden; transition: width var(--d-m) var(--ease); }
.chip .tick svg { width: 16px; height: 16px; }
.chip[aria-pressed="true"], .chip.is-on { background: rgba(198, 255, 61, .14); border-color: rgba(198, 255, 61, .55); color: var(--volt); }
.chip[aria-pressed="true"] .tick { width: 16px; }
.chip .n { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.chip[aria-pressed="true"] .n, .chip.is-on .n { color: inherit; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: var(--r-s); background: rgb(var(--fx-rgb) / .06); color: var(--text-2); font-size: 13.5px; font-weight: 500; line-height: 1.3; }

/* segmented buttons (M3) */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-full); }
.seg button { position: relative; flex: none; display: inline-flex; align-items: center; gap: var(--s2); height: 40px; padding: 0 var(--s4); border-radius: var(--r-full); font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color var(--d-s); }
.seg button .n { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.seg button[aria-pressed="true"] .n { color: inherit; }
.seg button[aria-pressed="true"] { color: var(--on-plasma); }
.seg .seg-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--r-full); background: var(--plasma); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 22px -6px rgba(255, 120, 0, .8); transition: transform var(--d-m) var(--ease-expo), width var(--d-m) var(--ease-expo); }
.seg button > * { position: relative; z-index: 2; }

/* text fields (M3 outlined, glass) */
.field { position: relative; display: grid; gap: var(--s2); }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label i { font-style: normal; color: var(--sun); }
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: var(--s4) var(--s4);
  border-radius: var(--r-m); border: 1px solid var(--line-2);
  background: rgb(var(--fx-rgb) / .03); color: var(--text);
  transition: border-color var(--d-s), background var(--d-s), box-shadow var(--d-s);
}
.field textarea { min-height: 128px; resize: vertical; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgb(var(--fx-rgb) / .06); box-shadow: 0 0 0 4px rgba(255, 196, 0, .12); }
.field .err { display: none; font-size: 13px; color: #FF8A6B; }
.field.bad input { border-color: var(--flare); }
.field.bad .err { display: block; }
.select { position: relative; }
.select select { appearance: none; width: 100%; height: 44px; padding: 0 44px 0 var(--s4); border-radius: var(--r-full); border: 1px solid var(--line-2); background: rgb(var(--fx-rgb) / .04); font-size: 13.5px; font-weight: 500; }
.select select option, .select select optgroup { background: var(--ink-2); color: var(--text); }
.select-field select { height: 56px; border-radius: var(--r-m); background: rgb(var(--fx-rgb) / .03); font-size: 15px; font-weight: 400; }
.select-field select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 196, 0, .12); }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }


/* ------------------------------------------------------------------ navigation (glass capsule) */
.nav {
  --glass-tint: rgba(10, 10, 14, .62);
  position: fixed; z-index: 100; top: var(--s4); left: 50%; transform: translateX(-50%);
  width: calc(100% - 2 * var(--gutter)); max-width: 1240px; height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s4); padding: 0 var(--s2) 0 var(--s4);
  border-radius: var(--r-full);
  transition: transform var(--d-l) var(--ease-expo), opacity var(--d-m);
}
.nav.is-scrolled { --glass-tint: rgba(10, 10, 14, .78); box-shadow: var(--glass-inner), var(--e4); }
/* marketplace: while the command bar is pinned over the products, the site nav tucks away and the bar takes the top */
/* marketplace: the nav makes way for the pinned command bar. It leaves on an accelerating curve (quick, out of the
   bar's way) and comes back on a decelerating one; the bar itself just keeps scrolling to its pin, never stopping */
.nav-tuckable .nav { transition: transform 560ms cubic-bezier(.05, .7, .1, 1), opacity 320ms cubic-bezier(.2, 0, 0, 1) 60ms; }
.nav-tucked .nav { transform: translate(-50%, calc(-100% - 40px)) scale(.97); opacity: 0; pointer-events: none;
  transition: transform 340ms cubic-bezier(.3, 0, .8, .15), opacity 200ms linear 80ms; }
.nav-tucked .nav:focus-within { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
.nav-logo { display: flex; align-items: center; gap: var(--s3); flex: none; }
.nav-logo img { width: 38px; height: 38px; animation: spin 30s linear infinite; }
.nav-logo span { display: grid; line-height: 1; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 14px; letter-spacing: -.01em; }
.nav-logo small { margin-top: 5px; font-family: var(--f-mono); font-weight: 500; font-stretch: normal; font-size: 8.5px; letter-spacing: .42em; color: var(--volt); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s4); border-radius: var(--r-full); font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--d-s); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::before { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.nav-right { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
@media (min-width: 1021px) { .nav-links + .nav-right { margin-left: 0; } }
.nav-clock { padding: 0 var(--s3); white-space: nowrap; }
.nav-clock b { color: var(--text); font-weight: 500; }
.nav-quote { gap: var(--s2); height: 48px; padding: 0 var(--s2) 0 var(--s4); }
.nav-quote .badge { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--r-full); background: var(--void); color: var(--sun); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; }
.nav-quote .badge.bump { animation: bump .6s var(--ease-expo); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav-burger { display: none; width: 48px; height: 48px; border-radius: var(--r-full); }
.nav-burger i { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform var(--d-m) var(--ease-expo), opacity var(--d-s); }
.nav-burger i:nth-child(2) { top: 19px; }
.nav-burger i:nth-child(3) { top: 28px; }
.nav-burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: safe center; gap: var(--s2); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nav-h) + 40px) var(--gutter) var(--s7);
  background: rgba(5, 5, 7, .72); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  opacity: 0; visibility: hidden; transition: opacity var(--d-m) var(--ease), visibility 0s var(--d-m);
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--d-m) var(--ease); }
.menu a { display: flex; align-items: baseline; gap: var(--s4); font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.03em; transform: translateY(30px); opacity: 0; transition: transform var(--d-l) var(--ease-expo), opacity var(--d-m), color var(--d-s); }
.menu a .label { font-size: 11px; }
.menu.is-open a { transform: none; opacity: 1; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }
.menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu a:hover { color: var(--sun); }
.menu-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); }

/* ------------------------------------------------------------------ snackbar (M3) */
.toast { visibility: hidden; position: fixed; z-index: 300; left: 50%; bottom: var(--s5); display: flex; align-items: center; gap: var(--s4); min-height: 56px; width: max-content; max-width: calc(100vw - 32px); padding: var(--s2) var(--s2) var(--s2) var(--s5); border-radius: var(--r-l); font-size: 14.5px; font-weight: 500; transform: translate(-50%, 160%); transition: transform var(--d-l) var(--ease-expo), visibility 0s linear var(--d-l); }
.toast.is-on { visibility: visible; transform: translate(-50%, 0); transition: transform var(--d-l) var(--ease-expo); }
.toast a { flex: none; height: 40px; padding: 0 var(--s4); }

/* ------------------------------------------------------------------ reveal */
.js .rv { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease-expo), transform 1.2s var(--ease-expo); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
/* search engines render the page in one window as tall as the page, without scrolling, so nothing would ever be
   revealed for them; no real window is this tall, so people still get the rise-in */
@media (min-height: 2400px) { .js .rv { opacity: 1; transform: none; } }
/* fail-safe: if main.js never runs (a dropped request on a bad connection), show the content after 6 s anyway */
html.js:not(.gs-up) .rv, html.js:not(.gs-up) [data-hero-line] { animation: gs-show 0s 6s forwards; }
@keyframes gs-show { to { opacity: 1; transform: none; } }
.nw { white-space: nowrap; }
.split .ch { display: inline-block; will-change: transform; }
.line-mask { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
/* page headings break after their first line from the start: the split wraps it in a block .line-mask, and the
   heading would otherwise grow a line as the page appears and push everything below it down */
#ph > [data-hero-line]:not(.grad) { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   HOME
   ===================================================================== */

/* ---------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; }
.hero > * { min-width: 0; }
.hero::after { /* vignette so type always reads */ content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 5, 7, .78) 0%, rgba(5, 5, 7, .2) 55%, transparent 75%), linear-gradient(0deg, rgba(5, 5, 7, .9) 0%, transparent 35%); }
.hero-top { display: flex; justify-content: space-between; gap: var(--s4); padding-top: calc(var(--nav-h) + var(--s8)); }
.live { --glass-tint: rgba(10, 10, 14, .74); display: inline-flex; align-items: center; gap: var(--s3); height: 40px; padding: 0 var(--s4) 0 var(--s2); border-radius: var(--r-full); font-size: 13.5px; color: var(--text-2); max-width: 100%; }
.live .pulse { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: var(--r-full); background: rgba(198, 255, 61, .14); color: var(--volt); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; }
.live .pulse::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 1.8s infinite; }
.live.is-night .pulse { background: rgba(255, 196, 0, .14); color: var(--sun); }
.live span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0); } }
.hero-mid { align-self: end; padding-bottom: var(--s7); }
.hero-title .ln { display: block; overflow: hidden; padding: .02em 0 .06em; margin: -.02em 0 -.06em; }
.hero-title .ln > span { display: inline-block; }
.hero-title { text-shadow: 0 0 2px rgba(5, 5, 7, .5), 0 0 22px rgba(5, 5, 7, .55), 0 6px 48px rgba(5, 5, 7, .5); }
.js [data-hero-line] { opacity: 0; }
.hero-title .it { padding-left: 1.6em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s6); margin-top: var(--s6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-foot { display: flex; align-items: center; gap: var(--s5); padding-top: var(--s4); padding-bottom: var(--s5); border-top: 1px solid var(--line); }
.ticker { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: marquee var(--tick-dur, 30s) linear infinite; will-change: transform; }
.ticker-track span { padding-right: var(--s6); } /* each item carries its own gap, so the two halves are identical and the loop is seamless */
.ticker-track span::before { content: '✺'; margin-right: var(--s3); color: var(--sun); }
.scroll-cue { display: flex; align-items: center; gap: var(--s3); flex: none; }
.scroll-cue i { position: relative; width: 1px; height: 36px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--sun); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- velocity marquee */
.mq { position: relative; padding: var(--s8) 0; overflow: hidden; border-block: 1px solid var(--line); }
.mq-row { display: flex; white-space: nowrap; }
.mq-row + .mq-row { margin-top: var(--s2); }
.mq-track { display: inline-flex; flex: none; align-items: center; gap: .4em; padding-right: .4em; font-size: clamp(44px, 8.6vw, 148px); line-height: 1; will-change: transform; }
.mq-track .o { color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .35); }
.mq-track .f { background: var(--plasma); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mq-track .star { width: .5em; height: .5em; flex: none; color: var(--sun); }

/* ---------- about */
.about { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s6); }
.about-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.statement { margin: 0 0 var(--s8); font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: clamp(28px, 3.9vw, 62px); line-height: 1.06; letter-spacing: -.03em; }
.statement .w { color: rgb(var(--ink-rgb) / .4); transition: color .5s var(--ease); }
.statement .w.on { color: var(--text); }
.statement .w.on.hl { color: var(--sun); }
.statement .w.on.gr { color: var(--volt); }
.statement em:not(.it) { font-style: normal; } /* the italic phrase keeps its italic face before JS runs (no upright serif download) */
.statement .w.it { font-size: 1.12em; }
.no-scrub .w { color: var(--text) !important; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.pillar { padding: var(--s6) var(--s5) var(--s5); border-radius: var(--r-xl); min-height: 300px; display: flex; flex-direction: column; }
.pillar .big { font-family: var(--f-serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--sun); }
.pillar h3 { margin: auto 0 var(--s3); }
.pillar p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--s8) 0 0; border-top: 1px solid var(--line-2); }
.facts div { padding: var(--s5) var(--s5) 0 0; }
.facts div + div { padding-left: var(--s5); border-left: 1px solid var(--line); }
.facts dd { margin: var(--s2) 0 0; font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.01em; }
.scope { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s6); }
.scope .label { margin-right: var(--s3); }

/* ---------- numbers */
.stats { border-top: 1px solid var(--line); }
.stat { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.stat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--plasma); transform: scaleY(0); transform-origin: bottom; transition: transform var(--d-l) var(--ease-expo); }
.stat-n { font-size: clamp(64px, 12vw, 210px); line-height: .8; font-variant-numeric: tabular-nums; transition: color var(--d-m); }
.stat-n small { font-family: var(--f-mono); font-weight: 500; font-stretch: normal; font-size: .14em; letter-spacing: .1em; margin-left: .4em; vertical-align: top; color: var(--sun); }
.stat-l p { margin: var(--s2) 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; }
.stat:hover::before { transform: scaleY(1); }
.stat:hover .stat-n, .stat:hover .stat-l p, .stat:hover .label, .stat:hover .stat-n small { color: var(--on-plasma); }
.stat .stat-n { background: none; }

/* ---------- day cycle (scroll-driven) */
.day { position: relative; height: 520vh; }
.day-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.day-sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--top, #0B1220), var(--bot, #27305e)); }
.day-stars { position: absolute; inset: 0 0 35% 0; opacity: var(--night, 1); background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fff, transparent), radial-gradient(1.5px 1.5px at 200px 20px, #ffe9b0, transparent), radial-gradient(1px 1px at 260px 140px, #fff, transparent), radial-gradient(1px 1px at 60px 170px, #cfe0ff, transparent), radial-gradient(2px 2px at 330px 60px, #fff, transparent); background-size: 360px 200px; }
.day-orb { position: absolute; left: 0; top: 0; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; margin: calc(clamp(70px, 9vw, 130px) / -2) 0 0 calc(clamp(70px, 9vw, 130px) / -2); border-radius: 50%; will-change: transform; }
.day-sun { background: radial-gradient(circle at 40% 38%, #FFF7C2, var(--sun) 55%, var(--orange)); box-shadow: 0 0 80px 30px rgba(255, 176, 0, .55), 0 0 200px 80px rgba(255, 110, 0, .3); }
.day-moon { background: radial-gradient(circle at 35% 35%, #fff, #D9E2F2 60%, #A9B6CF); box-shadow: 0 0 60px 10px rgba(200, 220, 255, .35); width: clamp(50px, 6vw, 84px); margin: calc(clamp(50px, 6vw, 84px) / -2) 0 0 calc(clamp(50px, 6vw, 84px) / -2); }
.day-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; }
.day-scene .shade { opacity: var(--shade, .7); }
.day-scene .cone { opacity: var(--lamp, 0); }
.day-scene .lamp-lens { fill: #FFF2C4; opacity: calc(.25 + var(--lamp, 0) * .75); }
.day-scene .flow { stroke-dasharray: 6 16; animation: flow .8s linear infinite; opacity: var(--charging, 0); }
.day-scene .panel-glint { opacity: var(--sunpow, 0); }
@keyframes flow { to { stroke-dashoffset: -22; } }
.day-hud { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 460px) 1fr; align-items: start; padding-top: calc(var(--nav-h) + 56px); }
.day-card { padding: var(--s5); border-radius: var(--r-xl); }
.day-card.glass { background: var(--glass-fill-strong), var(--glass-base-strong); }
.day-card .label, .day-card .meter, .day-card .clock small, .day-card .day-note { color: var(--text-2); }
.day-card h2 { margin: var(--s3) 0 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; }
.clock { font-size: clamp(64px, 8vw, 116px); line-height: .9; margin: var(--s4) 0 var(--s3); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock small { font-family: var(--f-mono); font-weight: 500; font-stretch: normal; font-size: .16em; letter-spacing: .14em; color: var(--muted); margin-left: 10px; }
.phase { min-height: 7.4em; transition: opacity .3s var(--ease), transform .45s var(--ease-expo), filter .3s var(--ease); }
.phase.is-swapping { opacity: 0; transform: translateY(10px); filter: blur(4px); transition-duration: .2s; }
.phase h3 { margin: 0 0 6px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--sun); }
.phase p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.meters { display: grid; gap: 10px; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.meter { display: grid; grid-template-columns: 92px 1fr 48px; align-items: center; gap: var(--s3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meter .bar { height: 6px; border-radius: var(--r-full); background: rgb(var(--fx-rgb) / .1); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--volt); box-shadow: 0 0 12px rgba(198, 255, 61, .6); }
.meter.sunm .bar i { background: var(--plasma); box-shadow: 0 0 12px rgba(255, 140, 0, .6); }
.meter.lampm .bar i { background: var(--hot); box-shadow: 0 0 12px rgba(255, 241, 184, .6); }
.meter output { text-align: right; color: var(--text); }
.day-dots { display: flex; gap: 6px; margin-top: var(--s4); }
.day-dots i { flex: 1; height: 3px; border-radius: 3px; background: rgb(var(--fx-rgb) / .14); transition: background var(--d-m); }
.day-dots i.on { background: var(--sun); }
.day-note { margin: var(--s3) 0 0; font-size: 12px; color: var(--muted); }
.day-scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); opacity: var(--hint, 1); }

/* ---------- showroom (pinned horizontal) */
[data-dial-sec] { overflow-x: clip; } /* the dial's light cone and rays never widen the page on phones */
.show { position: relative; overflow: hidden; overflow: clip; } /* clip: focus can't scroll the pinned track sideways */
.show-pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: var(--s6); padding: calc(var(--nav-h) + var(--s6)) 0 var(--s6); }
.show-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); }
.show-head .h2 { margin: 0; }
.show-track { display: flex; gap: var(--s5); padding: 0 var(--gutter); will-change: transform; }
.show-card {
  position: relative; flex: none; width: min(78vw, 980px); height: min(60vh, 560px); min-height: 380px;
  display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-2xl); overflow: hidden;
}
.show-card .sc-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: var(--s6); overflow: hidden; }
.show-card .sc-stage::before { content: ''; position: absolute; left: 50%; top: -10%; width: 90%; height: 120%; transform: translateX(-50%); background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255, 214, 120, .38) 22deg, rgba(255, 214, 120, .38) 38deg, transparent 60deg); -webkit-mask: linear-gradient(#000 25%, transparent 92%); mask: linear-gradient(#000 25%, transparent 92%); opacity: .9; }
.show-card .sc-watt { position: absolute; left: var(--s5); bottom: -.08em; font-size: clamp(110px, 15vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 196, 0, .35); }
.show-card img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.show-card .sc-stage.blueprint { background: linear-gradient(rgba(140, 190, 255, .08) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(140, 190, 255, .08) 1px, transparent 1px) 0 0 / 24px 24px; }
.show-card .sc-body { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6) var(--s6) var(--s6) var(--s4); }
.show-card .sc-body .h3 { font-size: clamp(22px, 2.2vw, 34px); }
.show-card .specs { margin-top: auto; }
.show-end { flex: none; width: min(60vw, 520px); display: grid; place-items: center; text-align: center; border-radius: var(--r-2xl); padding: var(--s7); }
.show-end .h3 { margin-bottom: var(--s5); }
.show.is-native .show-pin { height: auto; padding: var(--s9) 0; }
.show.is-native .show-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding-bottom: var(--s4); scrollbar-width: none; }
.show.is-native .show-track::-webkit-scrollbar { display: none; }
.show.is-native .show-card, .show.is-native .show-end { scroll-snap-align: start; }
.show-progress { height: 2px; margin: 0 var(--gutter); background: var(--line); border-radius: 2px; overflow: hidden; }
.show-progress i { display: block; height: 100%; width: 100%; background: var(--plasma); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* spec list used by show cards and dial */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.specs div { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(2n) { padding-left: var(--s3); border-left: 1px solid var(--line); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }

/* ---------- product families (typographic index) */
.fam { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fam a { position: relative; isolation: isolate; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.fam a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 122, 0, .16), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform var(--d-l) var(--ease-expo); }
.fam a:hover::before, .fam a:focus-visible::before { transform: scaleX(1); }
.fam .h3 { font-size: clamp(30px, 5.4vw, 92px); line-height: .95; transition: transform var(--d-l) var(--ease-expo), color var(--d-m); }
.fam a:hover .h3 { transform: translateX(var(--s5)); }
.fam a:hover .h3 .it { color: var(--sun); }
.fam .cnt { text-align: right; }

/* the floating preview that follows the cursor */
.peek { position: fixed; z-index: 60; left: 0; top: 0; width: 260px; height: 300px; margin: -150px 0 0 -130px; border-radius: var(--r-xl); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: var(--s5); pointer-events: none; opacity: 0; transform: scale(.6) rotate(-6deg); transition: opacity var(--d-m), transform var(--d-l) var(--ease-expo); }
.peek.is-on { opacity: 1; transform: scale(1) rotate(0); }
.peek img { width: auto; height: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)); }

/* ---------- light finder */
.finder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.finder-grid > :first-child { position: sticky; top: calc(var(--nav-h) + 40px); }
.finder-opts { display: grid; gap: var(--s2); margin-top: var(--s6); }
.finder-grid .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.finder-grid .card-stage { height: 220px; }
.finder-grid .card [data-more], .finder-grid .card-more { display: none; } /* compact picks: Enquire + add only */
/* the picks sit three abreast in a ~240 px column: one height for all three, a little more room for the specs */
.finder-grid .cards { align-items: stretch; }
.finder-grid .card-body { padding-left: var(--s4); padding-right: var(--s4); }
.finder-grid .card-actions { padding-left: var(--s4); }
.finder-grid .card-badge { padding: 0 8px; font-size: 9.5px; letter-spacing: .08em; }
.fopt { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--s4); width: 100%; min-height: 72px; padding: var(--s3) var(--s4); border-radius: var(--r-l); text-align: left; border: 1px solid var(--line); background: rgb(var(--fx-rgb) / .02); transition: border-color var(--d-s), background var(--d-s); }
.fopt svg { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-m); background: rgb(var(--fx-rgb) / .06); color: var(--sun); transition: background var(--d-s), color var(--d-s); }
.fopt b { display: block; font-weight: 600; font-size: 16px; }
.fopt small { display: block; color: var(--muted); font-size: 13.5px; }
.fopt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.fopt .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--volt); transform: scale(0); transition: transform var(--d-m) var(--ease-expo); }
.fopt[aria-checked="true"] { border-color: rgba(198, 255, 61, .5); background: rgba(198, 255, 61, .07); }
.fopt[aria-checked="true"] svg { background: var(--volt); color: var(--void); }
.fopt[aria-checked="true"] .radio { border-color: var(--volt); }
.fopt[aria-checked="true"] .radio::after { transform: scale(1); }
.finder-why { margin: 0 0 var(--s5); padding: var(--s4) var(--s5); border-radius: var(--r-l); color: var(--text-2); }
.finder-why b { color: var(--text); }

/* ---------- certifications */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.cert { display: flex; flex-direction: column; min-height: 360px; padding: var(--s5); border-radius: var(--r-xl); text-align: left; color: var(--text); overflow: hidden; transition: transform var(--d-l) var(--ease-expo); }
.cert-link .view { position: static; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.cert-link .view::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
@supports selector(:has(*)) {
  .cert-link .view:focus-visible { outline: none; }
  .cert-link:has(.view:focus-visible) { outline: 2px solid var(--volt); outline-offset: 3px; }
}
.cert-link:hover, .cert-link:focus-within { transform: translateY(-6px); }
.cert .holo { position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity var(--d-m); background: conic-gradient(from 120deg at var(--gx) var(--gy), rgba(255, 59, 31, .28), rgba(255, 196, 0, .28), rgba(198, 255, 61, .25), rgba(111, 183, 255, .25), rgba(255, 59, 31, .28)); mix-blend-mode: screen; }
.cert-link:hover .holo, .cert-link:focus-within .holo { opacity: 1; }
.seal { width: 64px; height: 64px; margin-bottom: auto; }
.cert .std { margin: var(--s6) 0 var(--s1); font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.02; letter-spacing: -.02em; }
.cert .what { margin: 0 0 var(--s4); font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--sun); }
.cert dl { margin: 0; font-size: 13px; }
.cert dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.cert dt { color: var(--muted); }
.cert dd { margin: 0; font-family: var(--f-mono); font-size: 11.5px; text-align: right; overflow-wrap: anywhere; }
.cert .view { margin-top: var(--s4); color: var(--volt); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 760px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 7, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r-l); box-shadow: var(--e5); }
.lightbox .icon-btn { position: absolute; top: -18px; right: -18px; z-index: 2; background: var(--sun); color: var(--void); }

/* ---------- sectors */
.sectors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sectors li { display: grid; grid-template-columns: 80px 1fr minmax(0, 34ch); align-items: center; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.sectors .h3 { font-size: clamp(24px, 4vw, 64px); line-height: .98; transition: transform var(--d-l) var(--ease-expo); }
.sectors li:hover .h3 { transform: translateX(var(--s5)); }
.sectors li:hover .h3 .it { color: var(--sun); }
.sectors p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- CTA */
.cta { position: relative; min-height: 110vh; min-height: 110svh; display: grid; place-items: start center; text-align: center; overflow: hidden; isolation: isolate; padding: clamp(120px, 16vh, 200px) 0 var(--s9); }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 55% at 50% 22%, rgba(5, 5, 7, .85), transparent 75%); }
/* a street light switches on over the call to action: lamp head, light cone, pool on the ground */
.cta-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-light i { position: absolute; display: block; }
.cta-lamp { left: 50%; top: 0; width: 132px; height: 22px; margin-left: -66px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #1c1c24, #101016); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .6); }
.cta-lamp::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 4px; border-radius: 4px; background: #3a3630; transition: background .2s, box-shadow .2s; }
.cta-cone { left: 50%; top: 18px; width: 180vmax; height: 120vh; margin-left: -90vmax; background: conic-gradient(from 155deg at 50% 0, transparent 0deg, rgba(255, 228, 176, .05) 14deg, rgba(255, 230, 186, .16) 25deg, rgba(255, 228, 176, .05) 36deg, transparent 50deg); -webkit-mask: radial-gradient(70% 100% at 50% 0, #000 30%, transparent 95%); mask: radial-gradient(70% 100% at 50% 0, #000 30%, transparent 95%); opacity: 0; }
.cta-pool { left: 50%; bottom: -18vh; width: 120vmin; height: 48vh; margin-left: -60vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 150, .22), rgba(255, 150, 40, .08) 60%, transparent); opacity: 0; }
.cta-light.is-on .cta-lamp::after { background: #FFF3D6; box-shadow: 0 0 12px 2px rgba(255, 230, 180, .9), 0 0 60px 12px rgba(255, 170, 60, .35); animation: ignite .9s steps(1, end); }
.cta-light.is-on .cta-cone, .cta-light.is-on .cta-pool { animation: ignite 1.1s steps(1, end) .1s forwards; }
.cta .h1 { max-width: 12ch; margin: var(--s5) auto var(--s5); }
.cta .lede { margin: 0 auto var(--s6); }
.cta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }

/* ---------- footer */
.ftr { position: relative; overflow: hidden; padding-top: var(--s8); border-top: 1px solid var(--line); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); padding-bottom: var(--s7); }
.ftr-brand img { width: 240px; height: auto; margin-bottom: var(--s4); }
.ftr-brand p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 34ch; }
.ftr h2 { margin: 0 0 var(--s4); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: 15px; }
.ftr ul a { color: var(--text-2); transition: color var(--d-s); }
.ftr ul a:hover { color: var(--sun); }
.ftr address { font-style: normal; font-size: 15px; color: var(--text-2); line-height: 1.6; }
/* the closing sign: letters start dark and switch on one by one, like a row of street lights */
.ftr-sign { position: relative; display: flex; justify-content: center; gap: .26em; padding: var(--s6) 0 var(--s7); font-size: 11.2vw; line-height: .86; letter-spacing: -.02em; white-space: nowrap; user-select: none; }
.ftr-sign span { display: flex; }
.ftr-sign i { position: relative; display: block; font-style: normal; color: rgb(var(--ink-rgb) / .045); -webkit-text-stroke: 1px rgb(var(--ink-rgb) / .13); transition: transform var(--d-m) var(--ease-expo); }
.ftr-sign i::after { content: attr(data-l); position: absolute; inset: 0; background: var(--plasma-v); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; opacity: 0; filter: drop-shadow(0 0 22px rgba(255, 140, 0, .55)); }
.ftr-sign i.on::after { animation: ignite 1.1s steps(1, end) var(--dl, 0s) forwards; }
.ftr-sign i:hover { transform: translateY(-.04em); }
.ftr-sign::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 60%; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 50% 100%, rgba(255, 150, 20, .22), transparent 70%); opacity: 0; transition: opacity 1.6s var(--ease) .6s; }
.ftr-sign.is-lit::after { opacity: 1; }
@keyframes ignite { 0% { opacity: 0; } 8% { opacity: .85; } 13% { opacity: .1; } 22% { opacity: 1; } 27% { opacity: .35; } 36%, 100% { opacity: 1; } }
.ftr-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--line); }

/* =====================================================================
   PRODUCT CARDS (home finder + marketplace)
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s4); align-items: start; } /* an open spec drawer grows only its own card */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; transform-style: preserve-3d; transition: box-shadow var(--d-m); }
.card-top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s4) var(--s4) 0; }
.card-top .label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* the top row never wraps under its badge */
.card-top { min-height: calc(var(--s4) + 24px); } /* as tall with or without a badge, so neighbouring cards' photos line up */
.card-badge { flex: none; white-space: nowrap; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--r-full); background: var(--volt); color: var(--void); font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.card-stage { position: relative; display: flex; align-items: center; justify-content: center; height: 260px; margin: var(--s2) var(--s2) 0; padding: var(--s5) var(--s5) var(--s3); border-radius: var(--r-l); overflow: hidden; isolation: isolate; background: radial-gradient(90% 80% at 50% 110%, rgba(255, 255, 255, .06), transparent 70%), rgba(0, 0, 0, .25); }
.card-stage::before { content: ''; position: absolute; inset: -20% -10% 0; z-index: -1; background: conic-gradient(from 160deg at 50% -4%, transparent 0deg, rgba(255, 214, 120, .5) 20deg, rgba(255, 214, 120, .5) 40deg, transparent 60deg); -webkit-mask: linear-gradient(#000 20%, transparent 95%); mask: linear-gradient(#000 20%, transparent 95%); opacity: 0; transition: opacity var(--d-m); }
.card-stage::after { content: ''; position: absolute; left: 50%; top: 0; width: 56px; height: 4px; margin-left: -28px; border-radius: 0 0 6px 6px; background: rgb(var(--fx-rgb) / .14); transition: background var(--d-m), box-shadow var(--d-m); }
.card:hover .card-stage::before, .card:focus-within .card-stage::before { opacity: 1; }
.card:hover .card-stage::after, .card:focus-within .card-stage::after { background: var(--hot); box-shadow: 0 0 22px 6px rgba(255, 210, 110, .85); }
.card-stage img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(.88) drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transition: transform var(--d-l) var(--ease-expo), filter var(--d-m); transform: translateZ(40px); }
.card:hover .card-stage img { transform: translateZ(60px) translateY(-6px) scale(1.05); filter: brightness(1.08) drop-shadow(0 26px 32px rgba(0, 0, 0, .6)); }
.card-stage.blueprint { background: linear-gradient(rgba(140, 190, 255, .08) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(140, 190, 255, .08) 1px, transparent 1px) 0 0 / 20px 20px, rgba(11, 33, 73, .55); }
.card-stage.blueprint img { filter: none; }
.card-watt { position: absolute; z-index: 0; left: var(--s3); bottom: -.1em; font-size: 104px; line-height: .8; color: transparent; -webkit-text-stroke: 1.2px rgb(var(--ink-rgb) / .14); transition: -webkit-text-stroke-color var(--d-m); }
.card:hover .card-watt { -webkit-text-stroke-color: rgba(255, 196, 0, .55); }
.card-body { position: relative; z-index: 2; flex: 1; padding: var(--s4) var(--s5) var(--s2); }
.card-part { margin: 0 0 6px; }
.card-title { margin: 0 0 var(--s3); font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 18px; line-height: 1.18; letter-spacing: -.015em; }
/* every card keeps room for a two-line name and two-line spec values, so cards side by side end up the same height
   (stretching the row instead would also stretch the neighbours of a card whose spec drawer is open) */
.card-title { min-height: calc(2em * 1.18); }
.card-specs dd { min-height: calc(2em * 1.3); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s4); padding: 0; list-style: none; }
.card-tags li { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: var(--r-xs); background: rgb(var(--fx-rgb) / .06); font-size: 12px; font-weight: 500; color: var(--text-2); }
.cards-static { grid-column: 1 / -1; display: grid; gap: var(--s2) var(--s7); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.cards-static > .label { grid-column: 1 / -1; }
.cards-static .h3 { grid-column: 1 / -1; margin-top: var(--s5); }
.cards-static ul { grid-column: 1 / -1; margin: 0; padding-left: 1.2em; columns: 2 280px; line-height: 1.9; }
.cards-static a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.js .cards-static { display: none; } /* scripts on: the cards replace it */
.card-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.card-specs div { padding: var(--s3) var(--s2) 0 0; }
.card-specs div + div { padding-left: var(--s3); border-left: 1px solid var(--line); }
.card-specs dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-specs dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.card-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--s2); padding: var(--s4) var(--s4) var(--s4) var(--s5); }
.card-actions .btn { flex: 1; }
.card-more { position: relative; z-index: 2; margin: 0 var(--s2) var(--s2); border-radius: var(--r-l); background: var(--inset); overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-l) var(--ease-expo); }
.card-more > div { min-height: 0; }
.card.is-open .card-more { grid-template-rows: 1fr; }
.card-more dl { margin: 0; padding: var(--s3) var(--s4); font-size: 13.5px; }
.card-more dl div { display: grid; grid-template-columns: 44% 1fr; gap: var(--s3); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.card-more dl div:last-child { border-bottom: 0; }
.card-more dt { color: var(--muted); }
.card-more dd { margin: 0; font-weight: 500; }
.card .icon-btn[data-more] svg { transition: transform var(--d-m) var(--ease-expo); }
.card.is-open .icon-btn[data-more] svg { transform: rotate(180deg); }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
/* Marketplace and Contact are working pages: about 12% smaller than the home page in type and spacing.
   The nav and footer stay the same on every page, so the scale applies inside <main> only. */
.page-tool main { --s1: 3.5px; --s2: 7px; --s3: 10.5px; --s4: 14px; --s5: 21px; --s6: 28px; --s7: 42px; --s8: 56px; --s9: 84px; --s10: 126px; font-size: 15.5px; }
.page-tool main .h2 { font-size: clamp(28px, 4.8vw, 80px); }
.page-tool main .h3 { font-size: clamp(19px, 1.9vw, 28px); }
.page-tool main .lede { font-size: clamp(15.5px, 1.15vw, 18px); }
.page-tool main .sec { padding: clamp(64px, 8vw, 128px) 0; }
.page-tool .card-title { font-size: 16.5px; }
.page-tool .card-specs dd { font-size: 13px; }
.phero { position: relative; padding: calc(var(--nav-h) + var(--s9)) 0 var(--s7); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; gap: var(--s2); margin: 0 0 var(--s5); padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: var(--s2); opacity: .5; }
.crumbs a:hover { color: var(--sun); }
.phero .h1 { margin-bottom: var(--s5); font-size: clamp(32px, 6.2vw, 94px); } /* the inner pages' headline, a step below the home hero */
.phero-sun { position: absolute; right: -8vw; top: -12vw; z-index: -1; width: min(48vw, 640px); opacity: .9; animation: spin 80s linear infinite; filter: drop-shadow(0 0 80px rgba(255, 120, 0, .45)); }

/* marketplace */
.cmd { position: sticky; top: calc(var(--nav-h) + var(--s5)); transition: top 560ms cubic-bezier(.05, .7, .1, 1); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); padding: var(--s2); border-radius: var(--r-xl); margin-bottom: var(--s5); }
.nav-tucked .cmd { top: var(--s4); }
.cmd-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.cmd-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.cmd-search input { width: 100%; height: 48px; padding: 0 76px 0 46px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--inset); }
.cmd-search input::placeholder { color: var(--muted); }
.cmd-search input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 196, 0, .12); }
.cmd-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 26px; min-width: 26px; display: grid; place-items: center; padding: 0 6px; border-radius: var(--r-s); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (pointer: coarse) { .cmd-search kbd { display: none; } .cmd-search input { padding-right: var(--s4); } }
.cmd .seg { background: var(--inset); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; position: relative; }
.cmd .seg::-webkit-scrollbar { display: none; }
.cmd-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); width: 100%; padding: var(--s1) var(--s2) var(--s1); }
.cmd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); flex: 1 1 auto; min-width: 0; }
.cmd-tools { display: flex; align-items: center; gap: var(--s2); margin-left: auto; flex: none; }
.cmd-search input { text-overflow: ellipsis; }
.viewtog { display: inline-flex; padding: 3px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--inset); }
.viewtog button { width: 38px; height: 36px; display: grid; place-items: center; border-radius: var(--r-full); color: var(--muted); }
.viewtog button svg { width: 18px; height: 18px; }
.viewtog button[aria-pressed="true"] { background: rgb(var(--fx-rgb) / .12); color: var(--text); }
.result-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); margin: 0 0 var(--s4); }
.result-line .btn { flex: none; }
.result-line b { font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 40px; color: var(--text); letter-spacing: 0; }
.empty { padding: var(--s8) var(--s5); text-align: center; border-radius: var(--r-xl); border: 1px dashed var(--line-2); color: var(--text-2); }
.empty .h3 { margin-bottom: var(--s3); }
.ptable-wrap { border-radius: var(--r-xl); overflow: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.ptable th { position: sticky; top: 0; text-align: left; padding: var(--s4); font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); background: rgba(11, 11, 16, .9); }
.ptable td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr { transition: background var(--d-s); }
.ptable tbody tr:hover { background: rgb(var(--fx-rgb) / .04); }
.ptable .th { width: 56px; height: 56px; border-radius: var(--r-m); display: flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(0, 0, 0, .3); padding: 6px; }
.ptable .th img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.ptable .th.blueprint { background: rgba(11, 33, 73, .6); }
.ptable .nm b { display: block; font-weight: 600; }
.ptable .watt { font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 26px; }
.custom { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-2xl); overflow: hidden; }
.custom::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; z-index: -1; background: radial-gradient(circle, rgba(255, 122, 0, .35), transparent 65%); }
.custom ul { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.form { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-2xl); }
.form > p { margin: 0 0 var(--s5); color: var(--text-2); }
.items { margin: 0 0 var(--s6); padding: 0; border: 0; }
.items legend { padding: 0; margin-bottom: var(--s3); }
.items ul { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s2); }
.item { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: var(--s4); padding: var(--s2); border-radius: var(--r-l); border: 1px solid var(--line); background: rgb(var(--fx-rgb) / .03); }
.item .th { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--r-m); background: var(--inset-2); overflow: hidden; padding: 6px; }
.item .th.blueprint { background: rgba(11, 33, 73, .6); }
.item .th img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.qty { display: flex; align-items: center; height: 40px; border-radius: var(--r-full); border: 1px solid var(--line-2); }
.qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 18px; }
.qty input { width: 44px; border: 0; background: none; text-align: center; font-family: var(--f-mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.item .rm { width: 40px; height: 40px; border-radius: 50%; color: var(--muted); font-size: 20px; }
.item .rm:hover { color: var(--flare); }
.items-empty { margin: 0 0 var(--s3); padding: var(--s4); border-radius: var(--r-l); border: 1px dashed var(--line-2); color: var(--text-2); font-size: 15px; }
.items-empty a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field.full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.form-status { margin: var(--s4) 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--volt); }
.form-status.bad { color: #FF8A6B; }
.reach { display: grid; gap: var(--s3); }
.reach-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: var(--s4); padding: var(--s4); border-radius: var(--r-xl); transition: transform var(--d-m) var(--ease-expo); }
a.reach-card:hover { transform: translateX(6px); }
.reach-card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-l); background: var(--plasma); color: var(--on-plasma); }
.reach-card.wa .ic { background: var(--volt); color: var(--void); }
.reach-card .ic svg { width: 22px; height: 22px; }
.reach-card b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.reach-card .arr { width: 20px; height: 20px; color: var(--muted); }
.areas { padding: var(--s5); border-radius: var(--r-xl); }
.areas ul { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; padding: 0; list-style: none; }
.map { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4 / 3; background: var(--ink-2); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.7) contrast(.95); }
.map a { position: absolute; z-index: 1; left: var(--s3); bottom: var(--s3); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
  .cmd { position: relative; top: auto; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .nav-clock { display: none; }
}
@media (min-width: 1021px) {
  .menu { display: none; }
}
@media (max-width: 1020px) {
  .nav-links { display: none; }
  html:not(.js) .nav-burger { display: none; }
  .nav-burger { display: inline-grid; place-items: center; position: relative; }
  .about { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 220px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-grid > :first-child { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .day-hud { grid-template-columns: 1fr; align-items: end; padding-top: 0; padding-bottom: 56px; }
  .day-scene { height: 100%; }
  .show-card { grid-template-columns: 1fr; height: auto; min-height: 0; width: min(84vw, 560px); }
  .show-card .sc-stage { height: 300px; }
  .custom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --nav-h: 56px; }
  .nav { top: var(--s3); padding-left: var(--s3); }
  .nav-logo img { width: 32px; height: 32px; }
  .nav-logo span { font-size: 12.5px; }
  .nav-logo small { font-size: 7.4px; letter-spacing: .36em; }
  .nav-quote { height: 44px; padding-left: var(--s3); }
  .nav-quote .t { display: none; }
  .hero-top { padding-top: calc(var(--nav-h) + var(--s6)); }
  .hero-row { grid-template-columns: 1fr; }
  .hero-title .it { padding-left: .6em; }
  .hero::after { background: linear-gradient(0deg, rgba(5, 5, 7, .92) 0%, rgba(5, 5, 7, .62) 50%, rgba(5, 5, 7, .2) 78%, rgba(5, 5, 7, .45) 100%); }
  .hero-title { text-shadow: 0 2px 24px rgba(5, 5, 7, .7); }
  .hero-foot .scroll-cue { display: none; }
  .stat { grid-template-columns: 1fr; gap: var(--s2); }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: var(--s4) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .meter { grid-template-columns: 76px 1fr 44px; }
  .meters { gap: 6px; margin-top: var(--s3); padding-top: var(--s3); }
  .phase { min-height: 7.4em; }
  .phase h3 { font-size: 21px; }
  .phase p { font-size: 14px; }
  .day-card { padding: var(--s4); }
  .day-card h2, .day-note, .day-dots { display: none; }
  .clock { font-size: 56px; margin: var(--s2) 0; }
  .show-card { width: 84vw; }
  .show-card .sc-stage { height: 240px; }
  .show-card .sc-body { padding: var(--s5); }
  .show-end { width: 84vw; }
  .fam a { grid-template-columns: 1fr auto; gap: var(--s3); }
  .fam .label.n { display: none; }
  .certs { grid-template-columns: 1fr; }
  .cert { min-height: 0; }
  .sectors li { grid-template-columns: 1fr; gap: var(--s2); }
  .sectors li > .label { display: none; }
  .ftr-grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .item { grid-template-columns: 52px 1fr auto; }
  .item .th { width: 52px; height: 52px; }
  .item .qty { grid-column: 2; justify-self: start; }
  .item .rm { grid-row: 1; grid-column: 3; }
  .cmd { border-radius: var(--r-l); }
  .cmd-row2 { padding: 0; gap: var(--s3); }
  .cmd-chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: var(--s1) var(--s4) var(--s1) var(--s1); -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .cmd-chips::-webkit-scrollbar { display: none; }
  .cmd-chips > *, .cmd-chips .chip { flex: none; }
  .cmd-tools { flex: 1 1 100%; margin-left: 0; }
  .cmd-tools .select { flex: 1; }
  .sec-head { gap: var(--s3); }
  .sec-head .rule, .sec-head .rule ~ * { display: none; }
  .show-head { flex-direction: column; align-items: flex-start; }
  .live { height: auto; min-height: 40px; padding: 8px 14px 8px 8px; align-items: flex-start; }
  .live .pulse { flex: none; }
  .live span:last-child { white-space: normal; line-height: 1.4; padding-top: 3px; }
  .phero-sun { width: 80vw; right: -30vw; top: 30px; opacity: .45; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .day-hud { align-items: start; padding-top: calc(var(--nav-h) + 24px); padding-bottom: var(--s4); }
  .day-card { padding: var(--s4); max-width: 420px; }
  .day-card h2, .day-note, .day-dots { display: none; }
  .clock { font-size: 44px; margin: var(--s1) 0; }
  .phase { min-height: 0; }
  .phase p { display: none; }
  .meters { margin-top: var(--s2); padding-top: var(--s2); gap: 4px; }
  .menu a { font-size: clamp(22px, 6vh, 40px); }
}

/* "Pause motion" (WCAG 2.2.2): looping CSS animations hold still; JS loops check GS.motionPaused */
.motion-tog { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; padding: 4px 12px 4px 10px; border-radius: var(--r-full); border: 1px solid var(--line-2); color: var(--text-2); background: transparent; cursor: pointer; }
.motion-tog i { position: relative; width: 10px; height: 10px; }
.motion-tog i::before, .motion-tog i::after { content: ''; position: absolute; top: 0; width: 3px; height: 10px; border-radius: 1px; background: currentColor; }
.motion-tog i::before { left: 1px; }
.motion-tog i::after { right: 1px; }
.motion-tog[aria-pressed="true"] { color: var(--volt); border-color: rgba(198, 255, 61, .5); }
.motion-tog[aria-pressed="true"] i::before { left: 1px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.motion-tog[aria-pressed="true"] i::after { display: none; }
.motion-paused .aura i, .motion-paused .grain, .motion-paused .nav-logo img, .motion-paused .ticker-track, .motion-paused .phero-sun, .motion-paused .live .pulse::before, .motion-paused .scroll-cue i::after, .motion-paused .day-scene .flow { animation-play-state: paused; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.hero-foot .motion-tog { flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .grain { display: none; }
}


/* ------------------------------------------------------------------ light theme
   Chosen with the sun/moon button in the nav (kept in localStorage, set before first paint by head.js). Warm paper, ink-dark
   text, deeper amber and green so accents still read on cream. The night-time parts (nav pill, hero road, 24-hour demo,
   showroom, closing call to action, footer, wattage dial, lightbox, loading screen) are always dark, by the scope list above. */
html[data-theme="light"] {
  color-scheme: light;
  --ink-rgb: 23 19 14;
  --fx-rgb: 23 19 14;
  --void: #F5F1E8; --ink-1: #FBF8F1; --ink-2: #FFFFFF; --ink-3: #EDE8DC; --ink-4: #E2DCCD;
  --text: #17130E; --text-2: #3D372E; --muted: #5C5548; --dim: #8F8878;
  --line: rgb(23 19 14 / .12); --line-2: rgb(23 19 14 / .22);
  --flare: #D92D0B; --orange: #D85E00; --sun: #A86A00; --hot: #8A4B00; --volt: #3F8A00;
  --plasma: linear-gradient(100deg, #E0310F 0%, #F26A00 45%, #EBA400 100%);
  --plasma-v: linear-gradient(180deg, #EBA400 0%, #F26A00 55%, #E0310F 100%);
  --glass-fill: linear-gradient(155deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .62) 40%, rgba(255, 255, 255, .5) 100%);
  --glass-fill-strong: linear-gradient(155deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .78) 40%, rgba(255, 255, 255, .68) 100%);
  --glass-tint: rgba(255, 255, 255, .35);
  --glass-base: rgba(255, 255, 255, .5);
  --glass-base-strong: rgba(255, 255, 255, .9);
  --glass-edge: rgba(23, 19, 14, .12);
  --glass-blur: blur(22px) saturate(160%);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 -14px 24px -22px rgba(23, 19, 14, .1);
  --inset: rgba(23, 19, 14, .045); --inset-2: rgba(23, 19, 14, .07);
  --e1: 0 1px 2px rgba(60, 40, 10, .12), 0 1px 3px 1px rgba(60, 40, 10, .06);
  --e2: 0 1px 2px rgba(60, 40, 10, .14), 0 2px 6px 2px rgba(60, 40, 10, .08);
  --e3: 0 4px 8px 3px rgba(60, 40, 10, .1), 0 1px 3px rgba(60, 40, 10, .14);
  --e4: 0 10px 30px -6px rgba(60, 40, 10, .22), 0 2px 4px rgba(60, 40, 10, .12);
  --e5: 0 30px 80px -20px rgba(60, 40, 10, .35), 0 6px 16px -6px rgba(60, 40, 10, .2);
}
/* the dark parts need their own ground, because the page behind them is now cream */
html[data-theme="light"] :is(.hero, .day, .show, .cta, .ftr, [data-dial-sec]) { background-color: var(--void); color: var(--text); }
html[data-theme="light"] .btn-volt { background: #B8F03A; color: #0B1500; }
html[data-theme="light"] .nav .btn-volt, html[data-theme="light"] :is(.hero, .day, .show, .cta, .ftr) .btn-volt { background: var(--volt); }

/* theme button: sits in the (always dark) nav pill */
.theme-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-full); color: var(--text-2); cursor: pointer; transition: color var(--d-s); }
.theme-btn:hover { color: var(--sun); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon, html[data-theme="light"] .theme-btn .i-sun { display: none; }
html[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (max-width: 760px) { .theme-btn { width: 40px; height: 40px; } }
html[data-theme="light"] .nav { --glass-tint: rgba(10, 10, 14, .82); }   /* the pill stays dark on cream, not grey */
html[data-theme="light"] .aura i { opacity: .24; }
html[data-theme="light"] .card-stage { background: radial-gradient(90% 80% at 50% 110%, rgba(255, 255, 255, .9), transparent 70%), linear-gradient(180deg, #F3EFE6, #E8E2D4); }
html[data-theme="light"] .card-stage img { filter: drop-shadow(0 18px 18px rgba(60, 40, 10, .28)); }
html[data-theme="light"] .card:hover .card-stage img { filter: drop-shadow(0 26px 26px rgba(60, 40, 10, .32)); }
html[data-theme="light"] .map iframe { filter: none; }   /* the dark map is a dark-theme touch */
