/* =====================================================================
   Layout concept: an architectural drawing set. Each section is a sheet
   with a sheet code and title block; dark sections are the plant room.
   ===================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* paper (warm architectural white) */
  --paper: #F2F0EB;
  --paper-hi: #FAF9F6;
  --paper-2: #E8E5DE;
  --line: #D4CFC5;
  --line-2: #B9B4A9;
  /* ink (charcoal / graphite / soft gray) */
  --ink: #1C1C1B;
  --ink-2: #3D3D3A;
  --ink-3: #6E6C66;
  /* plant room (dark sections) */
  --plant: #181917;
  --plant-2: #20211F;
  --plant-3: #2B2C29;
  --graphite: #232422;
  --line-dark: #3A3B37;
  --on-dark: #ECEAE4;
  --on-dark-2: #A9A69E;
  --on-dark-3: #75736C;
  /* accent: used only for light, energy and "active" */
  --amber: #C9832F;
  --amber-hi: #E0A458;
  --amber-soft: rgba(201, 131, 47, .14);
  /* semantic */
  --ok: #5F8B63;
  --alert: #B4533C;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --sec-pad: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 420;
  font-size: clamp(2.05rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-stretch: 104%;
  font-weight: 480;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.code { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; letter-spacing: .06em; color: var(--ink); }
.eyebrow--dark { color: var(--on-dark-3); }
.eyebrow--dark .code { color: var(--on-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn::after { content: "→"; font-family: var(--f-mono); transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--sm::after, .btn[aria-pressed]::after { content: none; }
.btn--accent { background: var(--amber); color: var(--ink); }
.btn--accent:hover { background: var(--amber-hi); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost-light { border-color: rgba(236, 234, 228, .35); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover, .btn--outline[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.hdr--solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.hdr--solid .hdr__cta { background: var(--ink); color: var(--paper); }
.hdr--solid .hdr__cta:hover { background: var(--ink-2); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 28px; height: 28px; }
.logo__name { font-family: var(--f-display); font-stretch: 115%; font-weight: 560; font-size: 17px; letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav__list a { font-size: 14px; text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav__list a:hover, .nav__list a[aria-current="true"] { opacity: 1; }
.nav__list a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); max-height: calc(100svh - 72px); overflow-y: auto; }
.mnav ul { padding: 12px var(--gutter) 28px; display: grid; }
.mnav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 22px; font-stretch: 106%; }
.mnav .btn { margin-top: 20px; width: 100%; }
.hdr.menu-open { background: var(--paper); color: var(--ink); }

@media (max-width: 1180px) { .nav__list li:nth-child(n+7) { display: none; } }
@media (max-width: 980px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
}

/* ---------- sections ---------- */
.sec { padding-block: var(--sec-pad); position: relative; }
.sec--dark { background: var(--plant); color: var(--on-dark); }
.sec--dark .lead { color: var(--on-dark-2); }
.sec--graphite { background: var(--graphite); color: var(--on-dark); }
.sec--graphite .lead { color: var(--on-dark-2); }
.sec--paper2 { background: var(--paper-2); }

.sheet-head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px 40px;
  padding-top: 22px; border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec--dark .sheet-head, .sec--graphite .sheet-head { border-top-color: var(--line-dark); }
.sheet-head > div { display: grid; gap: 24px; min-width: 0; }
.sheet-head .eyebrow { align-self: start; padding-top: 10px; }
@media (max-width: 860px) { .sheet-head { grid-template-columns: 1fr; } .sheet-head .eyebrow { padding-top: 0; } }

/* drawing frame */
.drawing { min-width: 0; }
.drawing__frame { position: relative; background: var(--paper-hi); border: 1px solid var(--line); padding: clamp(10px, 2vw, 24px); }
.drawing__frame::before, .drawing__frame::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--ink); border-style: solid; }
.drawing__frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.drawing__frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.drawing__note { margin-top: 12px; font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.drawing svg { width: 100%; height: auto; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--plant); color: var(--on-dark); display: flex; flex-direction: column; overflow: hidden; }
.hero__art { position: absolute; inset: 0; }
.hero__svg { width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 2; padding-top: clamp(120px, 17vh, 190px); display: grid; gap: 26px; justify-items: start; }
.hero__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__title {
  font-family: var(--f-display); font-stretch: 110%; font-weight: 380;
  font-size: clamp(2.7rem, 5.4vw, 5.7rem); line-height: .98; letter-spacing: -.035em;
  max-width: 11.5ch; text-wrap: balance;
}
.hero__sub { max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--on-dark-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__strip { position: relative; z-index: 2; margin-top: auto; padding-bottom: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(236, 234, 228, .16); }
.facts { background: var(--plant); color: var(--on-dark); padding-bottom: 28px; }
.hero__facts > div { padding: 18px 18px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.hero__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.hero__facts dd { font-family: var(--f-display); font-stretch: 108%; font-size: clamp(1.15rem, 1.9vw, 1.7rem); font-weight: 420; letter-spacing: -.01em; }

.hero__wires path { stroke: rgba(236, 234, 228, .3); stroke-width: 1.2; stroke-dasharray: 3 6; }
.hero__pulses circle { fill: var(--on-dark); }
.hero__pulses circle.amber { fill: var(--amber-hi); }
.hnode circle { fill: var(--plant); stroke: var(--on-dark); stroke-width: 1.5; }
.hero__lbl { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; fill: var(--on-dark-2); }
.hero__lblbg { fill: #161715; opacity: .82; }
.hero__lbl--dim { fill: var(--on-dark-3); font-size: 12px; }
.hero__leader { stroke: rgba(236, 234, 228, .35); stroke-width: 1; }
.hnode { animation: nodeIn .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes nodeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero__interior circle { filter: drop-shadow(0 0 6px #ffd9a0); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__art { position: relative; order: 2; height: auto; aspect-ratio: 980 / 660; margin-top: 28px; }
  .hero__content { order: 1; padding-top: 112px; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts > div { padding-bottom: 14px; }
}

/* =====================================================================
   INTRO
   ===================================================================== */
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px; }
.intro__grid .lead { grid-column: 2; }
.roles { grid-column: 3; display: grid; border-top: 1px solid var(--line); }
.roles li { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.roles .mono { font-size: 11px; color: var(--ink-3); }
@media (max-width: 980px) { .intro__grid { grid-template-columns: 1fr; } .intro__grid .lead, .roles { grid-column: auto; } }

/* =====================================================================
   ONE SYSTEM
   ===================================================================== */
.onesys__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
@media (max-width: 1020px) { .onesys__body { grid-template-columns: 1fr; } }

#houseMap .hatch { stroke: var(--line); stroke-width: 1; }
#houseMap .ink { stroke: var(--ink); stroke-width: 2; fill: none; }
#houseMap .ink.thin { stroke-width: 1.2; }
#houseMap .cut { fill: var(--ink); }
#houseMap .win rect { fill: none; stroke: var(--line-2); stroke-width: 1; }
#houseMap .rlbl text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; fill: var(--ink-3); }
#houseMap .rlbl .lvl { font-size: 10px; fill: var(--ink-3); }

#houseMap .sys { --c: var(--ink-3); opacity: .55; transition: opacity .35s var(--ease); cursor: pointer; }
#houseMap .sys .stroke, #houseMap .sys.stroke { fill: none; stroke: var(--c); stroke-width: 1.4; transition: stroke .3s; }
#houseMap .sys .fx { fill: var(--c); transition: fill .3s; }
#houseMap .sys .cones path, #houseMap .sys path.cones { fill: var(--c); opacity: .05; transition: opacity .3s, fill .3s; }
#houseMap .sys .slbl, #houseMap .sys .slbl text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; fill: var(--c); }
#houseMap .sys .dashed path, #houseMap .sys .dashed { stroke-dasharray: 4 4; }
#houseMap .sys .hit { fill: transparent; stroke: none; }
#houseMap .sys .dots circle { fill: var(--c); }
#houseMap.has-active .sys { opacity: .13; }
#houseMap.has-active .sys.is-active { opacity: 1; --c: var(--amber); }
#houseMap .sys.is-active .cones path, #houseMap .sys.is-active path.cones { opacity: .28; }
#houseMap .sys.is-active .flow { stroke-dasharray: 5 7; animation: dashFlow 1.2s linear infinite; }
#houseMap .sys[data-sys="ai"].is-active .dashed path { animation: dashFlow 1s linear infinite; }
#houseMap .sys[data-sys="audio"].is-active .waves path { animation: wavePulse 1.6s ease-in-out infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
@keyframes wavePulse { 50% { opacity: .25; } }

.onesys__panel { display: grid; gap: 28px; }
.syslist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.syslist button {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 14px 12px; background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 104%; font-size: 16px; font-weight: 460; text-align: left;
  transition: background .2s, color .2s;
}
.syslist .mono { font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; }
.syslist button:hover, .syslist button.is-active { background: var(--ink); color: var(--paper); }
.syslist button:hover .mono, .syslist button.is-active .mono { color: var(--amber-hi); }
.sysinfo { display: grid; gap: 14px; min-height: 290px; }
.sysinfo__k { font-size: 11px; letter-spacing: .12em; color: var(--amber); }
.sysinfo__t { font-family: var(--f-display); font-stretch: 104%; font-weight: 460; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.sysinfo__d { color: var(--ink-2); font-size: 15.5px; }
.sysinfo__spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sysinfo__spec > div { padding: 12px 8px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.sysinfo__spec dt { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.sysinfo__spec dd { font-family: var(--f-display); font-size: 1.15rem; font-weight: 460; font-variant-numeric: tabular-nums; }

/* =====================================================================
   REGISTER (what we integrate)
   ===================================================================== */
.reg__filters { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.reg__filters button {
  background: none; border: 0; padding: 12px 16px 14px; margin-bottom: -1px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 2px solid transparent;
}
.reg__filters button span { color: var(--ink-3); margin-left: 4px; }
.reg__filters button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.reg__filters button:hover { color: var(--ink); }
.reg__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sheet {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px 26px 22px; min-height: 250px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .25s var(--ease);
}
.sheet header { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sheet__code { color: var(--ink); }
.sheet h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 470; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.01em; margin-top: 18px; }
.sheet > p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.sheet footer { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .03em; }
.sheet::after { content: "Open sheet →"; position: absolute; right: 24px; bottom: 20px; font-family: var(--f-mono); font-size: 11px; color: var(--amber); opacity: 0; transform: translateX(-4px); transition: .25s var(--ease); }
.sheet:hover, .sheet:focus-visible { background: var(--paper-hi); }
.sheet:hover::after, .sheet:focus-visible::after { opacity: 1; transform: none; }
.sheet:hover footer, .sheet:focus-visible footer { opacity: 0; }
@media (max-width: 1020px) { .reg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reg__grid { grid-template-columns: 1fr; } .sheet { min-height: 0; } .sheet h3 { margin-top: 6px; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(560px, 100%); height: 100%; max-height: 100%; max-width: 100%;
  border: 0; border-left: 1px solid var(--line); padding: 0; background: var(--paper); color: var(--ink);
}
.drawer[open] { animation: drawerIn .4s var(--ease); }
.drawer::backdrop { background: rgba(20, 20, 18, .5); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__in { display: grid; gap: 20px; padding: calc(env(safe-area-inset-top, 0px) + 24px) clamp(20px, 4vw, 40px) 40px; align-content: start; min-height: 100%; }
.drawer__tb { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.drawer__tb #drawerCode { color: var(--ink); border: 1px solid var(--ink); padding: 3px 8px; }
.drawer__x { background: none; border: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 8px 0 8px 8px; }
.drawer h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 440; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.drawer__lead { font-size: 1.08rem; color: var(--ink-2); }
.drawer__body { display: grid; gap: 16px; font-size: 15.5px; color: var(--ink-2); }
.drawer__body ul { border-top: 1px solid var(--line); }
.drawer__body li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; }
.drawer__body li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 1px; background: var(--ink); }
.drawer__body .sheet__ex { padding: 14px 16px; background: var(--paper-2); }
.drawer__tags { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.drawer__cta { justify-self: start; margin-top: 8px; }

/* =====================================================================
   WHY / LEVELS / TIERS
   ===================================================================== */
.cmp { border-top: 1px solid var(--ink); margin-bottom: clamp(72px, 9vw, 128px); }
.cmp__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.5fr) minmax(0, 4.5fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cmp__row > span:first-child { font-family: var(--f-display); font-stretch: 104%; font-weight: 470; font-size: 1.08rem; }
.cmp__row > span:nth-child(2) { color: var(--ink-3); }
.cmp__row > span:nth-child(3) { color: var(--ink); position: relative; padding-left: 20px; }
.cmp__row > span:nth-child(3)::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--amber); }
.cmp__row--head > span { font-family: var(--f-mono) !important; font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3) !important; font-weight: 400 !important; padding-left: 0 !important; }
.cmp__row--head > span::before { content: none !important; }
@media (max-width: 720px) {
  .cmp__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .cmp__row > span:first-child { grid-column: 1 / -1; }
  .cmp__row--head > span:first-child { display: none; }
}

.levels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(72px, 9vw, 128px); }
.levels__intro { display: grid; gap: 18px; }
.levels__intro > p { color: var(--ink-2); max-width: 46ch; }
.levels__note { min-height: 4.8em; padding: 14px 16px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--line-2); width: fit-content; max-width: 100%; }
.seg button { background: transparent; border: 0; border-right: 1px solid var(--line-2); padding: 10px 16px; font-size: 14px; transition: background .2s, color .2s; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--paper-2); }
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
#levelSeg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 440px; gap: 1px; background: var(--line-2); }
#levelSeg button { border: 0; background: var(--paper); text-align: left; }
#levelSeg button[aria-checked="true"] { background: var(--ink); }
.stack { display: grid; gap: 6px; }
.stack li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 14px 18px; background: var(--paper-hi); border: 1px solid var(--line);
  transition: opacity .35s var(--ease), background .35s var(--ease), border-color .35s;
}
.stack li:nth-child(1) { margin-inline: 40px; } .stack li:nth-child(2) { margin-inline: 32px; } .stack li:nth-child(3) { margin-inline: 24px; }
.stack li:nth-child(4) { margin-inline: 16px; } .stack li:nth-child(5) { margin-inline: 8px; }
.stack li:nth-child(6) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stack li:nth-child(6) small { color: var(--on-dark-2); }
.stack li:nth-child(6) .stack__n { color: var(--on-dark-2); }
.stack__n { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.stack b { display: block; font-family: var(--f-display); font-stretch: 104%; font-weight: 480; font-size: 1.02rem; }
.stack small { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.stack li[data-st="off"] { opacity: .42; }
.stack li[data-st="off"] b { text-decoration: line-through; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-2); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pill[data-state="warn"]::before { background: var(--amber); }
.pill[data-state="off"]::before { background: var(--ink-3); }
.stack li:nth-child(6) .pill { border-color: var(--on-dark-3); }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stack li { margin-inline: 0 !important; grid-template-columns: 34px minmax(0, 1fr); } .stack .pill { grid-column: 2; justify-self: start; } }

.tiers { display: grid; gap: 36px; }
.tiers__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 80px; }
.tiers__head p { color: var(--ink-2); max-width: 60ch; }
.tiers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.tier { padding: 24px 28px 28px 0; display: grid; gap: 8px; align-content: start; }
.tier + .tier { padding-left: 28px; border-left: 1px solid var(--line); }
.tier--mid { background: var(--paper-hi); }
.tier__k { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tier__for { font-family: var(--f-display); font-stretch: 104%; font-size: 1.3rem; font-weight: 440; margin-bottom: 10px; }
.tier li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.tier li:first-child { color: var(--ink-3); }
@media (max-width: 900px) {
  .tiers__head { grid-template-columns: 1fr; }
  .tiers__grid { grid-template-columns: 1fr; }
  .tier, .tier + .tier { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .tier--mid { padding-inline: 16px !important; }
}

/* =====================================================================
   SCENARIOS
   ===================================================================== */
.modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink); margin-bottom: 28px; }
.modes button {
  background: transparent; border: 0; border-right: 1px solid var(--ink); padding: 18px 10px;
  font-family: var(--f-display); font-stretch: 118%; font-weight: 500; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.modes button:last-child { border-right: 0; }
.modes button:hover { background: var(--paper-2); }
.modes button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 560px) { .modes button { font-size: 11px; letter-spacing: .04em; padding: 14px 2px; font-stretch: 104%; } }

.scen__body { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1020px) { .scen__body { grid-template-columns: 1fr; } }
#planSvg .plan__floor { fill: #F7F5F0; }
#planSvg .glows ellipse { fill: #f6c27c; opacity: 0; transition: opacity 1.4s var(--ease), fill 1.4s var(--ease); }
#planSvg .perim { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 6 6; transition: stroke .6s; }
#planSvg .perim.armed { stroke: var(--amber); stroke-width: 2; animation: dashFlow 2.4s linear infinite; }
#planSvg .furn rect, #planSvg .furn circle { fill: none; stroke: var(--line-2); stroke-width: 1; }
#planSvg .walls path { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: square; }
#planSvg .walls path.walls__in { stroke-width: 4; }
#planSvg .glz line { stroke: var(--ink-3); stroke-width: 3; }
#planSvg .curt rect { fill: var(--ink-2); transform-box: fill-box; transition: transform 2.2s var(--ease); }
#planSvg .curt rect[data-side="l"] { transform-origin: left center; }
#planSvg .curt rect[data-side="r"] { transform-origin: right center; }
#planSvg .spk circle { fill: var(--ink-3); }
#planSvg .spk .ring { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
#planSvg .spk .on .ring { animation: ring 2.2s var(--ease) infinite; }
#planSvg .spk .on .ring.r2 { animation-delay: 1.1s; }
#planSvg .spk .on > circle:first-child { fill: var(--amber); }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(9); } }
#planSvg .cams rect { fill: var(--ink-3); transition: fill .4s; }
#planSvg .cam__cone { fill: var(--amber); opacity: 0; transition: opacity .6s; }
#planSvg .cams .on .cam__cone { opacity: .12; }
#planSvg .cams .on rect { fill: var(--ink); }
#planSvg .lock rect { fill: var(--ink-3); transition: fill .4s; }
#planSvg .lock .shackle { fill: none; stroke: var(--ink-3); stroke-width: 2.4; transform: translateY(-5px); transition: transform .4s var(--ease), stroke .4s; }
#planSvg .lock.locked rect { fill: var(--ink); }
#planSvg .lock.locked .shackle { stroke: var(--ink); transform: none; }
#planSvg .plbl text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink-3); }
#planSvg .ptemp text { font-family: var(--f-mono); font-size: 15px; fill: var(--ink); font-variant-numeric: tabular-nums; transition: fill .4s; }
#planSvg .ptemp text.chg { fill: var(--amber); }
#planSvg .armtag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; fill: var(--ink-3); }
#planSvg .armtag.armed { fill: var(--amber); }

.scen__side { display: grid; gap: 20px; }
.scen__trigger { display: grid; gap: 4px; padding: 14px 16px; background: var(--ink); color: var(--paper); font-size: 15px; }
.scen__trigger .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-hi); }
.state { display: grid; border-top: 1px solid var(--ink); }
.state > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .6s; }
.state dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.state dd { font-size: 14.5px; }
.state > div.chg { animation: rowFlash 1.2s var(--ease); }
@keyframes rowFlash { 0% { background: var(--amber-soft); } 100% { background: transparent; } }
.log { border: 1px solid var(--line); background: var(--paper-hi); }
.log__h { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.log__list { padding: 10px 14px; display: grid; gap: 4px; font-size: 12px; line-height: 1.5; min-height: 210px; }
.log__list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; color: var(--ink-2); animation: logIn .35s var(--ease) both; }
.log__list li time { color: var(--ink-3); }
.log__list li.done::after { content: ""; }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } }

/* =====================================================================
   LOCAL AI
   ===================================================================== */
.ai__diagram { max-width: 1040px; margin: 0 auto clamp(56px, 7vw, 96px); overflow-x: auto; }
.ai__diagram svg { min-width: 620px; width: 100%; height: auto; }
.ai__links path { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
#aiPackets circle.in { fill: var(--on-dark-2); }
#aiPackets circle.out { fill: var(--amber-hi); }
.ai__node rect { fill: var(--plant-2); stroke: var(--line-dark); stroke-width: 1.2; }
.ai__nt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; fill: var(--on-dark); text-anchor: middle; }
.ai__nv { font-family: var(--f-mono); font-size: 12px; fill: var(--on-dark-2); text-anchor: middle; }
.ai__node.ping rect { stroke: var(--amber); }
.ai__box { fill: var(--plant-3); stroke: var(--on-dark-3); stroke-width: 1.4; }
.ai__units rect { fill: var(--plant-2); stroke: var(--line-dark); }
.ai__leds circle { fill: var(--amber-hi); animation: blink 1.6s steps(2) infinite; }
.ai__leds circle:nth-child(2) { animation-delay: .4s; } .ai__leds circle:nth-child(3) { animation-delay: .9s; } .ai__leds circle:nth-child(4) { animation-delay: 1.3s; }
@keyframes blink { 50% { opacity: .25; } }
.ai__ct { font-family: var(--f-display); font-stretch: 118%; font-weight: 500; font-size: 17px; letter-spacing: .14em; fill: var(--on-dark); text-anchor: middle; }
.ai__cs { font-family: var(--f-mono); font-size: 10.5px; fill: var(--on-dark-3); text-anchor: middle; }
.ai__legend text { font-family: var(--f-mono); font-size: 11px; fill: var(--on-dark-3); }
.ai__legend .pk-in { fill: var(--on-dark-2); } .ai__legend .pk-out { fill: var(--amber-hi); }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-bottom: clamp(56px, 7vw, 96px); }
.principles li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.principles .mono { font-size: 11px; color: var(--amber-hi); letter-spacing: .1em; }
.principles h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 460; font-size: 1.3rem; }
.principles p { color: var(--on-dark-2); font-size: 15px; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

.ai__demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .ai__demos { grid-template-columns: 1fr; } }
.demo { border: 1px solid var(--line-dark); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 18px; align-content: start; background: var(--plant-2); min-width: 0; }
.demo__h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: transparent; border: 1px solid var(--line-dark); color: var(--on-dark-2); padding: 8px 12px; font-size: 14px; text-align: left; transition: .2s; }
.chips button:hover { color: var(--on-dark); border-color: var(--on-dark-3); }
.chips button[aria-pressed="true"] { border-color: var(--amber); color: var(--on-dark); }
.parse { font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line-dark); padding-top: 16px; min-height: 220px; display: grid; gap: 4px; align-content: start; }
.parse .r { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; animation: logIn .35s var(--ease) both; }
.parse .r > span:first-child { color: var(--on-dark-3); }
.parse .r > span:last-child { color: var(--on-dark); }
.parse .r.res > span:last-child { color: var(--amber-hi); }
.parse .lat { margin-top: 10px; color: var(--on-dark-3); font-size: 12px; }
.events { display: grid; border-top: 1px solid var(--line-dark); }
.events li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); align-items: baseline; }
.events time { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-3); }
.events em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-3); white-space: nowrap; }
.events li[data-v="alert"] span { color: var(--on-dark); }
.events li[data-v="alert"] em { color: var(--ink); background: var(--amber); padding: 2px 6px; }
.events li[data-v="logged"] em { color: var(--on-dark-2); }
.demo__foot { font-size: 14px; color: var(--on-dark-2); }

/* =====================================================================
   WIRED + WIRELESS
   ===================================================================== */
.ww__cols { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin-bottom: 56px; }
.ww__col { display: grid; gap: 14px; }
.ww__k { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ww__col:last-child .ww__k { border-bottom-style: dashed; }
.ww__list { display: grid; }
.ww__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ww__list b { font-family: var(--f-display); font-stretch: 104%; font-weight: 500; }
.ww__list span { font-size: 14.5px; color: var(--ink-3); }
.ww__why { font-size: 15px; color: var(--ink-2); }
.ww__plus { font-family: var(--f-display); font-weight: 200; font-size: clamp(56px, 7vw, 110px); line-height: 1; color: var(--amber); align-self: center; }
@media (max-width: 860px) { .ww__cols { grid-template-columns: 1fr; } .ww__plus { justify-self: center; } }
.mix { display: grid; gap: 16px; padding: clamp(18px, 3vw, 32px); background: var(--paper-hi); border: 1px solid var(--line); }
.mix__bar { display: flex; height: 18px; border: 1px solid var(--ink); }
.mix__w { background: var(--ink); transition: width .8s var(--ease); width: 85%; }
.mix__r { flex: 1; background: repeating-linear-gradient(135deg, var(--paper-hi) 0 5px, var(--line-2) 5px 6px); }
.mix__legend { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mix__legend b { color: var(--ink); font-weight: 500; }
.mix__txt { color: var(--ink-2); max-width: 70ch; }

/* =====================================================================
   ENGINEERING
   ===================================================================== */
.eng__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.eng__text { display: grid; gap: 26px; position: sticky; top: 100px; }
.eng__text .eyebrow { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.eng__tip { padding: 16px 18px; border: 1px solid var(--line-dark); background: var(--plant); min-height: 96px; }
.eng__tip .mono { font-size: 12px; letter-spacing: .08em; color: var(--amber-hi); margin-bottom: 6px; }
.eng__tip p:last-child { font-size: 15px; color: var(--on-dark-2); }
.eng__rules { display: grid; border-top: 1px solid var(--line-dark); }
.eng__rules li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-2); }
.eng__rules b { color: var(--on-dark); font-weight: 500; }
.eng__cab { display: grid; gap: 16px; min-width: 0; }
#cabinet { width: 100%; height: auto; }
.cab__enc { fill: #2E2F2C; stroke: #4C4C47; stroke-width: 2; }
.cab__plate { fill: #34352F; }
.cab__ref { font-family: var(--f-mono); font-size: 12px; fill: var(--on-dark-3); letter-spacing: .06em; }
.duct__bg { fill: #42433E; } .duct__slot { fill: #34352F; }
.cab__rail rect { fill: #807E76; }
.mod { cursor: pointer; }
.mod .body { fill: #E6E3DB; stroke: #9A978E; stroke-width: 1; transition: fill .2s, stroke .2s; }
.mod .face { fill: #D6D2C8; }
.mod .tog { fill: var(--ink); }
.mod .led { fill: #77A174; }
.mod .led.am { fill: var(--amber-hi); }
.mod .lbl { font-family: var(--f-mono); font-size: 7.5px; fill: #55534D; letter-spacing: .02em; }
.mod .tag { fill: #F6F4EF; stroke: #9A978E; stroke-width: .6; }
.mod:hover .body, .mod.is-hover .body { fill: #FFF6E8; stroke: var(--amber); stroke-width: 2; }
.term rect { stroke: #24241f; stroke-width: .5; }
.cab__cables line { stroke: #898780; stroke-width: 2.2; }
.cab__cables .flag { fill: #F2F0EB; }
.cab__cables text { font-family: var(--f-mono); font-size: 8px; fill: var(--ink); }
.label-sample { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; font-size: 12px; letter-spacing: .04em; background: var(--paper); color: var(--ink); border-radius: 2px; }
.label-sample span { padding: 6px 12px; border-right: 1px dashed var(--line-2); }
.label-sample span:last-child { border-right: 0; }
@media (max-width: 1020px) { .eng__grid { grid-template-columns: 1fr; } .eng__text { position: static; } }

.fat { margin-top: clamp(56px, 7vw, 96px); overflow-x: auto; }
.fat__h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 14px; }
.fat__t { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.fat__t th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--on-dark-3); }
.fat__t td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); }
.fat__t td:first-child { color: var(--on-dark); }
.fat__t td:nth-child(3) { font-family: var(--f-mono); color: var(--on-dark); }
.pass { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9cc79a; }
.pass::before { content: "● "; }

/* =====================================================================
   ENERGY
   ===================================================================== */
.en__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1020px) { .en__body { grid-template-columns: 1fr; } }
#enSvg .en__paths path { fill: none; stroke: var(--paper-2); stroke-width: 14; stroke-linecap: round; }
#enSvg .flow { fill: none; stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 2 13; stroke-width: 4; transition: stroke-width .5s, opacity .5s; }
#enSvg .flow.idle { opacity: 0; }
#enSvg .flow.grid-flow { stroke: var(--ink-2); }
#enSvg .en__vals text { font-family: var(--f-mono); font-size: 13px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
#enSvg .enode rect { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 1.4; }
#enSvg .enode .sym, #enSvg .enode .sym * { fill: none; stroke: var(--ink); stroke-width: 1.4; }
#enSvg .enode .sym .thick { stroke-width: 4; }
#enSvg .enode__t { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; fill: var(--ink); }
#enSvg .enode__s { font-family: var(--f-mono); font-size: 12px; fill: var(--ink-3); }
#enSvg .enode--hub rect { fill: var(--ink); }
#enSvg .enode--hub .hubdiag { stroke: var(--on-dark-3); stroke-width: 1; }
#enSvg .enode--hub .enode__sym { font-family: var(--f-display); font-size: 24px; fill: var(--paper); }
#enSvg .enode--hub .enode__s { fill: var(--ink-3); font-size: 11px; letter-spacing: .1em; }
#enSvg .socbar { fill: var(--paper-2); stroke: none; }
#enSvg .socfill { fill: var(--amber); stroke: none; transition: width .4s; }
#enSvg .en__outage { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; fill: var(--alert); opacity: 0; transition: opacity .4s; }
#enSvg.outage .en__outage { opacity: 1; }
#enSvg.outage #en-grid { opacity: .35; }
#enSvg.outage #en-grid rect { stroke-dasharray: 5 4; stroke: var(--alert); }
.en__ctrl { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 16px; }
.en__slider { flex: 1 1 260px; display: grid; gap: 6px; }
.en__slider .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.en__slider b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; background: var(--amber); border: 2px solid var(--ink); border-radius: 0; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: var(--amber); border: 2px solid var(--ink); border-radius: 0; }
#enOut[aria-pressed="true"] { background: var(--alert); border-color: var(--alert); color: #fff; }

.en__side { display: grid; gap: 20px; }
.kv { display: grid; border-top: 1px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kv dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.en__why { padding: 14px 16px; background: var(--ink); color: var(--paper); font-size: 15px; min-height: 5.6em; }
.prio__h { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.prio__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.prio__list li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; transition: color .3s, opacity .3s; }
.prio__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.prio__list li[data-crit="0"]::before { background: var(--line-2); }
.outage-on .prio__list li[data-crit="1"]::before { background: var(--amber); }
.outage-on .prio__list li[data-crit="0"] { color: var(--ink-3); text-decoration: line-through; opacity: .7; }

.meter { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.meter__head { display: grid; gap: 8px; margin-bottom: 14px; }
.meter__head .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.meter__flag { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.meter__flag .dot { width: 8px; height: 8px; background: var(--amber); flex-shrink: 0; transform: translateY(-1px); }
#meterSvg { width: 100%; height: auto; }
#meterSvg .bar { fill: var(--ink-3); }
#meterSvg .bar.hi { fill: var(--amber); }
#meterSvg .grid { stroke: var(--line); stroke-width: 1; }
#meterSvg text { font-family: var(--f-mono); font-size: 11px; fill: var(--ink-3); }
#meterSvg .vlab { fill: var(--ink); font-size: 11px; }
.meter__kv { display: grid; border-top: 1px solid var(--ink); align-content: start; }
.meter__kv > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.meter__kv dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.meter__kv dd { font-family: var(--f-display); font-stretch: 106%; font-size: 1.6rem; font-weight: 440; font-variant-numeric: tabular-nums; }
.meter__kv small { font-family: var(--f-body); font-size: 13px; color: var(--ink-3); margin-left: 6px; font-stretch: 100%; }
@media (max-width: 900px) { .meter { grid-template-columns: 1fr; } }

/* =====================================================================
   SECURITY
   ===================================================================== */
.cam { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(24px, 3vw, 44px); align-items: start; margin-bottom: clamp(64px, 8vw, 112px); }
@media (max-width: 1020px) { .cam { grid-template-columns: 1fr; } }
.cam__view { border: 1px solid var(--ink); background: #2b2c29; }
.cam__view svg { width: 100%; height: auto; }
.cam__tree { transform-box: view-box; transform-origin: 140px 250px; animation: sway 4.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg); } }
.actor { transition: transform 3.2s linear; }
.cam__hud text { font-family: var(--f-mono); font-size: 13px; fill: rgba(236, 234, 228, .78); letter-spacing: .06em; }
.cam__hud .rec { fill: #C6553F; animation: blink 1.4s steps(2) infinite; }
#camSvg .box rect.b { fill: none; stroke-width: 1.6; }
#camSvg .box text { font-family: var(--f-mono); font-size: 12px; }
#camSvg .box.ignored rect.b { stroke: rgba(236, 234, 228, .45); stroke-dasharray: 4 4; }
#camSvg .box.ignored rect.t { fill: rgba(30, 30, 28, .8); } #camSvg .box.ignored text { fill: rgba(236, 234, 228, .7); }
#camSvg .box.logged rect.b { stroke: var(--on-dark); }
#camSvg .box.logged rect.t { fill: var(--on-dark); } #camSvg .box.logged text { fill: var(--ink); }
#camSvg .box.alert rect.b, #camSvg .box.known rect.b { stroke: var(--amber-hi); }
#camSvg .box.alert rect.t, #camSvg .box.known rect.t { fill: var(--amber-hi); } #camSvg .box.alert text, #camSvg .box.known text { fill: var(--ink); }
#camSvg .box { animation: logIn .3s var(--ease) both; }
#camGate { transition: transform 2.2s var(--ease); transform-box: fill-box; transform-origin: right center; }
#camGate.open { transform: scaleX(.08); }
.cam__feed { display: grid; gap: 14px; }
.cam__fh { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.feed { display: grid; border-top: 1px solid var(--ink); min-height: 250px; align-content: start; }
.feed li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); animation: logIn .4s var(--ease) both; }
.feed time { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); grid-row: span 2; padding-top: 2px; }
.feed b { font-weight: 500; font-size: 14.5px; }
.feed span { font-size: 13.5px; color: var(--ink-3); }
.feed .tag { justify-self: start; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--line-2); color: var(--ink-3); margin-left: 6px; }
.feed .tag.alert, .feed .tag.known { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.feed .tag.logged { border-color: var(--ink); color: var(--ink); }
.cam__note { font-size: 13.5px; color: var(--ink-3); }

.chains { display: grid; gap: 28px; margin-bottom: clamp(64px, 8vw, 112px); }
.chains__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.chains__head .h3 { max-width: 30ch; }
.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--ink); }
.chain li { position: relative; padding: 18px 24px 18px 0; display: grid; gap: 6px; align-content: start; animation: logIn .45s var(--ease) both; }
.chain li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 16px; font-family: var(--f-mono); font-size: 14px; background: var(--paper-2); color: var(--amber); z-index: 1; padding: 0 2px; }
.chain .t { font-family: var(--f-mono); font-size: 12px; color: var(--amber); letter-spacing: .04em; }
.chain b { font-family: var(--f-display); font-stretch: 104%; font-weight: 480; font-size: 1.05rem; line-height: 1.25; }
.chain span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 700px) { .chain { grid-template-columns: 1fr; } .chain li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); } .chain li:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -10px; } }

.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 80px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line-2); }
.access > div { display: grid; gap: 14px; }
.access p { color: var(--ink-2); max-width: 52ch; }
.access__list { display: flex; flex-wrap: wrap; gap: 8px; }
.access__list li { padding: 8px 12px; border: 1px solid var(--line-2); font-size: 12.5px; letter-spacing: .03em; background: var(--paper); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* =====================================================================
   CINEMA
   ===================================================================== */
.cin { background: var(--plant); color: var(--on-dark); padding-bottom: clamp(56px, 7vw, 96px); }
.cin__head { padding-top: var(--sec-pad); }
.sheet-head--flush { margin-bottom: clamp(32px, 4vw, 56px); border-top-color: var(--line-dark); }
.cin__intro { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.cin__intro .lead { color: var(--on-dark-2); max-width: 54ch; }
.cin__stage { position: relative; width: 100%; aspect-ratio: 1600 / 760; max-height: 86vh; min-height: 280px; overflow: hidden; background-size: cover; background-position: center; }
.cin__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cin__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--plant) 0%, rgba(24, 25, 23, 0) 100%); pointer-events: none; }
.cin__film { opacity: .42; transition: opacity 2.6s var(--ease) .6s; }
.cin__spill { opacity: .25; transition: opacity 2.6s var(--ease) .8s; }
.cin__sconces { transition: opacity 2s var(--ease); }
.cin__steps { opacity: 0; transition: opacity 1.2s var(--ease) .6s; }
.cin__dim { opacity: 0; transition: opacity 2s var(--ease); }
.cin.playing .cin__film { opacity: 1; }
.cin.playing .cin__spill { opacity: 1; }
.cin.playing .cin__sconces { opacity: .06; }
.cin.playing .cin__steps { opacity: 1; }
.cin.playing .cin__dim { opacity: .2; }
.cin__stage.has-photo .cin__svg { display: none; }
#cinBtn[aria-pressed="true"] { background: var(--on-dark); }
.cin__specs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); margin-top: clamp(32px, 4vw, 56px); }
.cin__specs li { padding: 18px 16px 0 0; display: grid; gap: 4px; }
.cin__specs b { font-family: var(--f-display); font-stretch: 108%; font-weight: 420; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.cin__specs span { font-size: 13.5px; color: var(--on-dark-3); }
.cin__seq { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; font-size: 12px; }
.cin__seq li { padding: 6px 10px; border: 1px solid var(--line-dark); color: var(--on-dark-3); transition: color .4s, border-color .4s; }
.cin__seq li.on { color: var(--on-dark); border-color: var(--amber); }
@media (max-width: 860px) { .cin__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cin__specs li:last-child { grid-column: 1 / -1; } }

/* =====================================================================
   MULTIROOM
   ===================================================================== */
.mr__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1020px) { .mr__body { grid-template-columns: 1fr; } }
.mr__plan {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(130px, auto));
  grid-template-areas: "living living kitchen terrace" "living living dining terrace" "bed kids bath office";
  border: 6px solid var(--ink); background: var(--ink); gap: 3px;
}
.zone {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px;
  padding: 14px; background: var(--paper-hi); border: 0; text-align: left; transition: background .5s var(--ease);
}
.zone[style*="terrace"] { background-image: repeating-linear-gradient(90deg, transparent 0 14px, var(--paper-2) 14px 15px); }
.zone__n { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1; }
.zone__s { font-size: 13px; color: var(--ink-3); position: relative; z-index: 1; line-height: 1.35; }
.zone__rings { position: absolute; left: 50%; top: 55%; width: 0; height: 0; }
.zone__rings i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--amber); opacity: 0; }
.zone.on { background-color: #F7EBDA; }
.zone.on .zone__s { color: var(--ink); }
.zone.on .zone__rings i { animation: zring 2.4s var(--ease) infinite; }
.zone.on .zone__rings i:nth-child(2) { animation-delay: .8s; } .zone.on .zone__rings i:nth-child(3) { animation-delay: 1.6s; }
.zone.solo { background-color: #ECE7DE; }
.zone.solo .zone__rings i { border-color: var(--ink-3); }
@keyframes zring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(14); } }
.zone:hover { outline: 2px solid var(--amber); outline-offset: -2px; }
.mr__side { display: grid; gap: 22px; }
.mr__group { padding: 16px 18px; background: var(--ink); color: var(--paper); display: grid; gap: 4px; }
.mr__group .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-hi); }
.mr__src { font-size: 14px; color: var(--on-dark-2); }
.mr__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mr__feat { display: grid; border-top: 1px solid var(--line); }
.mr__feat li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 600px) {
  .mr__plan { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(104px, auto);
    grid-template-areas: "living living" "kitchen dining" "terrace terrace" "bed kids" "bath office"; }
}

/* =====================================================================
   PROJECTS
   ===================================================================== */
.proj__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.proj__tabs { display: grid; border-top: 1px solid var(--ink); }
.proj__tabs button {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 10px; padding: 18px 16px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 106%; font-size: 1.25rem; font-weight: 460; transition: background .25s, color .25s;
}
.proj__tabs .mono { font-size: 11px; color: var(--ink-3); padding-top: 6px; grid-row: span 2; }
.proj__tabs small { font-family: var(--f-body); font-size: 13.5px; font-weight: 400; color: var(--ink-3); font-stretch: 100%; }
.proj__tabs button:hover { background: var(--paper-2); }
.proj__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.proj__tabs button[aria-selected="true"] small, .proj__tabs button[aria-selected="true"] .mono { color: var(--on-dark-2); }
.pcard { display: grid; gap: 28px; animation: logIn .45s var(--ease) both; }
.pcard__vis { aspect-ratio: 21 / 9; max-width: 100%; background: var(--paper-2); background-size: cover; background-position: center; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pcard__vis svg { width: 100%; height: 100%; }
.pcard__vis.has-photo svg { display: none; }
.pv-line, .pv-line * { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.pv-line .thin, .pv-line .thin * { stroke-width: .8; stroke: var(--ink-3); }
.pv-line .pv-glow { fill: rgba(201, 131, 47, .26); stroke: none; }
.pv-line .pv-lead { stroke: var(--amber); stroke-width: 1; }
.pv-hl { stroke: var(--line-2); stroke-width: 1; }
.pv-dim { stroke: var(--ink-3); stroke-width: .8; fill: none; }
.pv-mk { fill: var(--ink); }
.pv-txt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--ink-3); }
.pcard__info { display: grid; gap: 18px; }
.pcard__info h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 440; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.02em; }
.pcard__info > p { color: var(--ink-2); max-width: 62ch; }
.specs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.specs > div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 2px; justify-content: flex-end; }
.specs > div:nth-child(n+7) { grid-column: span 3; }
.specs dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { font-family: var(--f-display); font-stretch: 106%; font-size: 1.6rem; font-weight: 440; font-variant-numeric: tabular-nums; line-height: 1.2; }
.specs > div:nth-child(n+7) dd { font-size: 1.02rem; font-weight: 480; }
.pcard__special { padding: 14px 16px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); }
.pcard__special b { color: var(--ink); font-weight: 600; }
@media (max-width: 1020px) { .proj__body { grid-template-columns: 1fr; } .proj__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specs > div:nth-child(n+7) { grid-column: 1 / -1; } .proj__tabs { grid-template-columns: 1fr; } }

/* =====================================================================
   PROCESS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: s; }
.steps li { display: grid; gap: 10px; align-content: start; padding: 22px 0 40px; border-top: 1px solid var(--line-dark); position: relative; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--on-dark-3); }
.steps li:hover::before { background: var(--amber-hi); }
.steps__n { font-family: var(--f-display); font-stretch: 112%; font-weight: 300; font-size: 3rem; line-height: 1; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.steps h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 460; font-size: 1.3rem; }
.steps p { color: var(--on-dark-2); font-size: 15px; }
.steps .steps__d { font-size: 12px; color: var(--amber-hi); letter-spacing: .04em; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { padding-bottom: 28px; } }

/* =====================================================================
   ARCHITECTS
   ===================================================================== */
.arch__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.arch__text { display: grid; gap: 22px; justify-items: start; }
.arch__text .eyebrow { padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.arch__text > p:not(.lead):not(.eyebrow) { color: var(--ink-2); }
.arch__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; width: 100%; border-top: 1px solid var(--line); }
.arch__list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.arch__deliv { padding: 14px 16px; background: var(--paper-2); font-size: 15px; }
.arch__fig .drawing__frame { padding: clamp(8px, 1.4vw, 16px); }
.el__wall { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 1.5; }
.el__floor { stroke: var(--ink); stroke-width: 4; }
.el__door { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.el__join { fill: var(--paper-2); stroke: var(--ink-3); stroke-width: 1.2; }
.el__thin { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.el__dev { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.el__t { font-family: var(--f-mono); font-size: 12px; fill: var(--ink); }
.el__led { fill: var(--amber); }
.dim line { stroke: var(--ink-3); stroke-width: .8; }
.dim .dim__dash { stroke-dasharray: 3 3; }
.dim text { font-family: var(--f-mono); font-size: 10px; fill: var(--ink-3); }
.tags line { stroke: var(--amber); stroke-width: .9; }
.tags text { font-family: var(--f-mono); font-size: 10.5px; fill: var(--ink-2); }
@media (max-width: 960px) { .arch__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .arch__list { grid-template-columns: 1fr; } }

/* =====================================================================
   SUPPORT
   ===================================================================== */
.life { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: clamp(56px, 7vw, 96px); border-top: 2px solid var(--ink); }
.life li { padding: 20px 20px 0 0; display: grid; gap: 6px; align-content: start; position: relative; }
.life li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 50%; }
.life li:last-child::before { background: var(--amber); border-color: var(--amber); }
.life__y { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.life b { font-family: var(--f-display); font-stretch: 104%; font-weight: 480; font-size: 1.12rem; }
.life span:last-child { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .life { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .life li { padding: 0 0 22px 24px; } .life li::before { top: 4px; left: -7px; } }
.sup__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.sup__col { display: grid; gap: 16px; align-content: start; }
.sup__col > p { color: var(--ink-2); }
.ticks { display: grid; border-top: 1px solid var(--line-2); }
.ticks li { padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line-2); font-size: 15px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.notes { display: grid; gap: 8px; }
.notes li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 12px 14px; background: var(--paper-hi); border: 1px solid var(--line); border-left: 3px solid var(--line-2); font-size: 14.5px; }
.notes li[data-lvl="alert"] { border-left-color: var(--alert); }
.notes li[data-lvl="warn"] { border-left-color: var(--amber); }
.notes__t { font-size: 11px; color: var(--ink-3); padding-top: 3px; }
@media (max-width: 860px) { .sup__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ECOSYSTEM
   ===================================================================== */
.proto { display: grid; gap: 28px; }
.proto__list { display: flex; flex-wrap: wrap; gap: 4px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0; }
.proto__list button {
  background: none; border: 0; padding: 4px 22px 4px 0; margin-right: 22px; border-right: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 380; font-size: clamp(1.4rem, 2.8vw, 2.5rem); letter-spacing: -.01em; color: var(--line-2); transition: color .2s;
}
.proto__list button:last-child { border-right: 0; }
.proto__list button:hover { color: var(--ink-3); }
.proto__list button[aria-selected="true"] { color: var(--ink); }
.proto__desc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 40px; min-height: 5em; }
.proto__desc .mono { font-size: 12px; letter-spacing: .08em; color: var(--amber); padding-top: 4px; }
.proto__desc p:last-child { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .proto__desc { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding-top: 0; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--f-display); font-stretch: 104%; font-weight: 460; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 20px; color: var(--ink-3); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--amber); }
.faq details p { padding: 0 0 22px; max-width: 70ch; color: var(--ink-2); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta__text { display: grid; gap: 24px; }
.cta__text .eyebrow { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.cta__h { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; font-weight: 380; }
.cta__contacts { display: grid; border-top: 1px solid var(--line-dark); margin-top: 12px; }
.cta__contacts li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.cta__contacts .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.cta__contacts a { text-decoration: none; overflow-wrap: anywhere; }
.cta__contacts a:hover { color: var(--amber-hi); }
@media (max-width: 960px) { .cta__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 40px); background: var(--plant-2); border: 1px solid var(--line-dark); position: relative; }
.form__row { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.form__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 560px) { .form__2 { grid-template-columns: 1fr; } }
.form label:not(.opts label), .form legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); padding: 0; }
.form legend { margin-bottom: 8px; }
.form input[type="text"], .form input[type="number"], .form select, .form textarea {
  width: 100%; background: transparent; color: var(--on-dark); border: 0; border-bottom: 1px solid var(--on-dark-3);
  padding: 10px 0; font: inherit; font-size: 16px; border-radius: 0; transition: border-color .2s; color-scheme: dark;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-2) 50%), linear-gradient(135deg, var(--on-dark-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--plant-2); color: var(--on-dark); }
.form textarea { resize: vertical; min-height: 96px; }
.form input::placeholder, .form textarea::placeholder { color: var(--on-dark-3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--amber); }
.form .is-invalid input { border-bottom-color: var(--alert); }
.form__err { display: none; font-size: 13px; color: #E08A73; }
.form .is-invalid .form__err { display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); transition: .2s; }
.opts label:hover span { border-color: var(--on-dark-3); color: var(--on-dark); }
.opts input:checked + span { border-color: var(--amber); color: var(--on-dark); background: rgba(201, 131, 47, .12); }
.opts input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.form__submit { justify-self: start; }
.form__fine { font-size: 13px; color: var(--on-dark-3); }
.form__ok { position: absolute; inset: 0; background: var(--plant-2); display: grid; align-content: center; gap: 12px; padding: clamp(20px, 4vw, 48px); animation: logIn .4s var(--ease) both; }
.form__ok .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-hi); }
.form__ok p:last-child { font-family: var(--f-display); font-stretch: 106%; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.2; max-width: 24ch; }

/* =====================================================================
   FOOTER & FLOATING CTA
   ===================================================================== */
.ftr { background: #111211; color: var(--on-dark-2); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.ftr__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; }
.ftr__brand { display: grid; gap: 14px; align-content: start; }
.logo--light { color: var(--on-dark); }
.ftr__brand p { font-size: 14px; max-width: 34ch; }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.ftr__nav a { font-size: 14px; text-decoration: none; }
.ftr__nav a:hover { color: var(--on-dark); }
.ftr__meta { font-size: 11px; letter-spacing: .06em; display: grid; gap: 10px; align-content: start; color: var(--on-dark-3); }
@media (max-width: 860px) { .ftr__in { grid-template-columns: 1fr; } }

.float-cta {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--amber); color: var(--ink);
  font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 2px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  transform: translateY(130%); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.float-cta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.float-cta.show { transform: none; opacity: 1; }
.float-cta:hover { background: var(--amber-hi); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero__pulses { display: none; }
}

/* diagrams scroll sideways on phones instead of shrinking text to illegible sizes */
@media (max-width: 700px) {
  .onesys__draw .drawing__frame, .en__diag .drawing__frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #houseMap, #enSvg { min-width: 680px; }
  .drawing__frame::after { display: none; }
}
