/* =========================================================================
 * Smartlamppost — marketing homepage
 * Built on the SmartLampPost design system (Ciutadella + slate + brand cyan).
 * Hero/footer navy per brief: #051C2C.
 * ========================================================================= */

/* ---------- Fonts ---------- */
/* Site-wide switch to Roboto Condensed (per request), loaded via <link> in
   each page's <head> at weights 300/400/500/600/700 — same weights Ciutadella
   had. Ciutadella @font-face kept here, commented out, for a one-line revert:
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-Light.otf") format("opentype"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-LightItalic.otf") format("opentype"); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-Regular.otf") format("opentype"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-Medium.otf") format("opentype"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-SemiBold.otf") format("opentype"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Ciutadella"; src:url("fonts/Ciutadella-Bold.otf") format("opentype"); font-weight:700; font-style:normal; font-display:swap; }
*/
/* green refresh: mono font no longer used */ /* @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap"); */

/* Roboto Condensed — self-hosted variable font (OFL), latin + latin-ext.
   Replaces the Google Fonts <link>: no third-party request, no render-blocking CSS. */
@font-face { font-family:"Roboto Condensed"; font-style:normal; font-weight:300 700; font-display:swap;
  src:url("fonts/roboto-condensed-latin-wght-normal.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:"Roboto Condensed"; font-style:normal; font-weight:300 700; font-display:swap;
  src:url("fonts/roboto-condensed-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --brand-blue:#4AC0F0;      /* single brand accent — used for buttons, links, icons, lines */
  --brand-blue-ink:#0088BC;
  --brand-blue-deep:#0066CC;
  --brand-blue-tint:#E6F4FB;
  --brand-blue-tint-2:#D0DFEC;

  --navy:#051C2C;            /* hero / footer base (brief) */
  --navy-2:#0A2A3D;          /* raised navy surface */
  --navy-line:#15384C;       /* hairlines on navy */
  --navy-soft:#7E9DB0;       /* muted text on navy */

  --slate-50:#F8FAFC;
  --slate-100:#F1F5F9;
  --slate-200:#E2E8F0;
  --slate-300:#CBD5E1;
  --slate-400:#94A3B8;
  --slate-500:#64748B;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1E293B;
  --slate-900:#0F172A;

  --ok:#16A34A; --ok-tint:#DCFCE7;
  --warn:#D97706; --warn-tint:#FEF3C7;
  --danger:#DC2626; --danger-tint:#FEE2E2;

  --bg:#FFFFFF;
  --fg-1:var(--slate-900);
  --fg-2:var(--slate-700);
  --fg-3:var(--slate-500);
  --fg-4:var(--slate-400);
  --border:var(--slate-200);
  --border-strong:var(--slate-300);

  --font-sans:"Roboto Condensed", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:"IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --tracking-caps:0.14em;
  --tracking-tight:-0.015em;

  --max:1200px;
  --gutter:48px;

  /* tweakable */
  --display-weight:300;
  --ease:cubic-bezier(0.2,0.8,0.2,1);
}

*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  font-family:var(--font-sans);
  font-weight:300;
  color:var(--fg-1);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
::selection { background:rgba(74,192,240,0.22); }

/* ---------- Layout primitives ---------- */
.wrap { max-width:var(--max); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter); }
.section { padding:112px 0; position:relative; }
.section--tight { padding:72px 0; }
.bg-soft { background:var(--slate-50); }
.bg-muted { background:var(--slate-100); }

/* Eyebrow / section number */
.eyebrow {
  display:inline-flex; align-items:center; gap:12px;
  font-weight:700; font-size:12px; letter-spacing:var(--tracking-caps);
  text-transform:uppercase; color:var(--brand-blue);
}
.eyebrow::before {
  content:""; width:28px; height:2px; background:var(--brand-blue); display:inline-block;
}
.eyebrow.on-navy { color:var(--brand-blue); }
.sec-num {
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.05em;
  color:var(--fg-4); font-weight:500;
}
.sec-head { margin:18px 0 0; max-width:780px; }

/* Display headline w/ bold phrase */
h1,h2,h3 { margin:0; }
.display {
  font-weight:var(--display-weight);
  font-size:clamp(38px,5vw,68px); line-height:1.06; letter-spacing:var(--tracking-tight);
}
.display b, .display em { font-weight:600; font-style:normal; }
.h2 {
  font-weight:var(--display-weight);
  font-size:clamp(30px,3.4vw,46px); line-height:1.1; letter-spacing:var(--tracking-tight);
}
.h2 b, .h2 em { font-weight:600; font-style:normal; }
.lede {
  font-weight:300; font-size:clamp(17px,1.4vw,20px); line-height:1.6; color:var(--fg-2);
  max-width:600px;
}
.lede-navy { color:#C6D6E0; }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-sans); font-weight:500; font-size:14px;
  padding:10px 20px; border-radius:9999px; border:1px solid transparent;
  cursor:pointer; transition:background var(--ease) .15s, border-color var(--ease) .15s, color var(--ease) .15s, transform .15s var(--ease);
  white-space:nowrap;
}
.btn svg { width:17px; height:17px; }
.btn-primary { background:var(--brand-blue); color:#03131F; }
.btn-primary:hover { background:#2FA8DE; }
.btn-outline { background:transparent; color:#fff; border-color:rgba(255,255,255,0.32); }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.06); }
/* In light mode the hero/page-hero band becomes light (not navy), so a white
   outline button disappears — switch it to blue text + blue border there. */
[data-theme="light"] .btn-outline { color:var(--brand-blue-deep); border-color:rgba(0,102,204,0.45); }
[data-theme="light"] .btn-outline:hover { color:var(--brand-blue-deep); border-color:var(--brand-blue-deep); background:rgba(0,102,204,0.06); }
.btn-dark { background:var(--slate-900); color:#fff; }
.btn-dark:hover { background:var(--slate-800); }
.btn-ghost { background:transparent; color:var(--fg-1); border-color:var(--border-strong); }
.btn-ghost:hover { background:var(--slate-50); }
.btn:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(74,192,240,0.4); }

/* ---------- Header: transparent overlay → solid full-width bar on scroll ---------- */
.header {
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:transparent; border-bottom:1px solid transparent;
  transition:background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header .wrap { display:flex; align-items:center; justify-content:space-between; height:74px; }
.header.is-scrolled {
  background:rgba(5,28,44,0.92);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  border-bottom-color:var(--navy-line);
  box-shadow:0 8px 24px -12px rgba(0,0,0,.3);
}
/* logo + nav grouped left and aligned on a common baseline, so the bottom of
   the wordmark lines up with the bottom of the nav words. The group itself
   stays vertically centred in the header. */
.header-left { display:flex; align-items:baseline; gap:40px; }
.brand { display:flex; align-items:center; gap:10px; }
.brand img { height:29px; width:auto; }
.nav { display:flex; align-items:center; gap:34px; }
.nav a { position:relative; color:#fff; font-size:15px; font-weight:300; white-space:nowrap; transition:color .2s var(--ease), font-weight .2s var(--ease); padding-bottom:4px; }
.nav a:hover { color:#fff; opacity:.8; }
.nav a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-1px; height:2px;
  background:var(--brand-blue); border-radius:2px;
  transition:right .25s var(--ease);
}
.nav a.active { font-weight:600; }
.nav a.active::after { right:0; }
.header-cta { display:flex; align-items:center; gap:18px; }
.header-cta .link { color:#fff; font-size:15px; }
.header-cta .link:hover { color:#fff; opacity:.8; }
@media (max-width:1024px){ .nav{ display:none; } }

/* ---------- Hero ---------- */
.hero { position:relative; isolation:isolate; overflow:hidden; color:#fff; min-height:100vh; display:flex; align-items:center; }
.hero::before {
  /* photo backdrop — assets/backgrounds/BK_06.jpg (night city skyline), lightly blurred */
  content:""; position:absolute; inset:-8% 0; z-index:-3;
  background:url('assets/backgrounds/BK_06.webp') center/cover no-repeat;
  background-attachment:fixed;
  filter:blur(3px);
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(3,14,26,.72) 0%, rgba(4,20,34,.5) 45%, rgba(4,20,34,.7) 100%);
}
@media (max-width:840px), (hover:none) { .hero::before { background-attachment:scroll; inset:0; } }
.hero .wrap { position:relative; z-index:1; display:grid; grid-template-columns:minmax(460px,640px) 1fr; gap:40px; align-items:center;
  width:100%; padding-top:110px; padding-bottom:60px; }

/* Glass content panel — medium-width card, all copy + stats overlaid inside */
.hero-copy {
  max-width:640px;
  background:linear-gradient(180deg, rgba(10,42,66,.42), rgba(5,22,38,.5));
  backdrop-filter:blur(22px) saturate(140%);
  -webkit-backdrop-filter:blur(22px) saturate(140%);
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  padding:32px 32px 28px;
  box-shadow:0 30px 70px -24px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero .display { margin-top:18px; }
.hero .lede { margin-top:20px; }
.hero-actions { display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
.hero-meta { display:flex; gap:40px; margin-top:26px; padding-top:22px; border-top:1px solid rgba(255,255,255,.18); }
.hero-meta .stat-n { font-weight:300; font-size:32px; line-height:1; letter-spacing:-0.02em; color:#fff; font-family:var(--font-sans); }
.hero-meta .stat-n b { color:var(--brand-blue); font-weight:300; }
.hero-meta .stat-c { font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,.62); margin-top:8px; }

@media (max-width:980px){
  .hero .wrap { grid-template-columns:1fr; }
  .hero-visual { order:2; min-height:420px; }
  .hero-copy { max-width:none; padding:32px 28px 28px; }
}

/* ---------- Hero visual: real pole render (assets/MASTER_Home.png) + plain glass chips ----------
   The pole is sized to the container's HEIGHT (100%), so it always spans the full
   vertical space of hero-visual — that's what keeps the dots (positioned as % of
   hero-visual's height) landing on the shaft at the same relative heights (top of
   lamp, mid-shaft, base) regardless of viewport width. Width-based sizing was tried
   earlier but made the pole's height (and so the dots' vertical fit) drift with
   hero-visual's width instead of staying tied to its actual height.
   The chips stay anchored to the container's RIGHT edge (right:0), so their right
   margin always matches the wrap's right margin — the same one the header/nav
   content respects. The connector line is a separate element (not a pseudo-element
   of the chip) so it can span the gap between the pole's edge and the chip's left
   edge via calc(). */
.hero-visual { position:relative; min-height:660px; align-self:stretch; }
/* The PNG canvas has a lot of transparent margin (the lamp arm reaches out to
   ~85% of the file's own width, but the pole SHAFT itself only occupies roughly
   18%–29% of the canvas). Because the pole is sized by HEIGHT (100%) with an
   aspect-ratio, its rendered WIDTH is a fixed px value at any given hero-visual
   height — not a %. So pole-wrap's left and the dot's left are both fixed px
   here (computed from that height), instead of mixing % with an auto width,
   which is what caused the dot to drift off the shaft at different sizes. */
.hv-pole-wrap { position:absolute; left:90px; top:0; height:100%; aspect-ratio:698/2545; }
.hv-pole-img { width:100%; height:100%; object-fit:contain; display:block; filter:drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.hv-line { position:absolute; left:143px; right:216px; height:1px; background:var(--brand-blue); transform:translateY(-50%); }
.hv-line::after {
  content:""; position:absolute; left:0; top:50%; width:6px; height:6px; border-radius:50%;
  background:var(--brand-blue); transform:translate(-50%,-50%);
}
.hv-chip {
  position:absolute; right:0; width:216px;
  display:flex; align-items:center; gap:14px;
  background:linear-gradient(180deg, rgba(10,42,66,.5), rgba(5,22,38,.56));
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  padding:12px 16px;
  box-shadow:0 16px 36px -14px rgba(0,0,0,.5);
  transform:translateY(-50%);
}
.hv-chip .hv-ic {
  flex:none; width:34px; height:34px; border-radius:8px;
  background:rgba(74,192,240,.16); border:1px solid rgba(74,192,240,.4); color:var(--brand-blue);
  display:flex; align-items:center; justify-content:center;
}
.hv-chip .hv-ic svg { width:17px; height:17px; }
.hv-chip .hv-txt { min-width:0; }
.hv-chip .hv-lbl { font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.05em; color:#fff; white-space:nowrap; }
.hv-chip .hv-sub { font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.05em; color:rgba(255,255,255,.65); margin-top:3px; white-space:nowrap; }
@media (max-width:980px){
  .hero-visual { min-height:380px; }
  .hv-pole-wrap { left:40px; }
  .hv-line { left:70px; right:min(78vw, 260px); }
  .hv-chip { width:min(78vw, 260px); }
}
@media (max-width:640px){ .hv-chip .hv-sub { display:none; } }

/* ---------- Problem band ---------- */
/* Solid dark-blue band — deliberately distinct from the hero's photo backdrop,
   with no hairline against it so the two sections read as one continuous flow. */
.problem { position:relative; isolation:isolate; overflow:hidden; background:#03131F; border-top:none; border-bottom:1px solid var(--border); }

.problem-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.problem .sec-num { color:rgba(255,255,255,.6); }
.problem .sec-head { color:#fff; }
.problem-list { display:flex; flex-direction:column; gap:0; }
.problem-item { padding:26px 0; border-top:1px solid rgba(255,255,255,.16); }
.problem-item:first-child { border-top:none; }
.problem-item h3 { font-size:19px; font-weight:500; margin-bottom:6px; color:#fff; }
.problem-item p { margin:0; color:rgba(255,255,255,.72); font-size:15px; }
@media (max-width:840px){ .problem-grid{ grid-template-columns:1fr; gap:36px; } }

/* ---------- How it works ---------- */
.flow { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:58px; position:relative; }
.flow-step { padding:0 28px; position:relative; }
.flow-step:first-child { padding-left:0; }
.flow-step:last-child { padding-right:0; }
.flow-step::before { /* connecting line */
  content:""; position:absolute; top:23px; left:0; right:0; height:1px; background:var(--border-strong); z-index:0;
}
.flow-step:first-child::before { left:23px; }
.flow-step:last-child::before { right:calc(50% - 23px); }
.flow-num {
  position:relative; z-index:1; width:46px; height:46px; border-radius:50%;
  background:#fff; border:1px solid var(--border-strong); color:var(--brand-blue);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:600; font-size:15px;
}
.flow-step.is-platform .flow-num { background:var(--brand-blue); border-color:var(--brand-blue); color:#fff; }
.flow-step h3 { font-size:19px; font-weight:500; margin:24px 0 8px; }
.flow-step p { margin:0; color:var(--fg-3); font-size:15px; line-height:1.55; }
.flow-step .ic { margin-top:18px; color:var(--slate-400); }
.flow-step .ic svg { width:22px; height:22px; }
@media (max-width:840px){
  .flow{ grid-template-columns:1fr 1fr; gap:40px 24px; }
  .flow-step{ padding:0; }
  .flow-step::before{ display:none; }
}

/* ---------- Modules section: parallax photo backdrop ---------- */
#modules { position:relative; isolation:isolate; overflow:hidden; background:var(--navy); }
#modules::before {
  /* drop the file at assets/backgrounds/BK_02.jpg — no HTML changes needed */
  content:""; position:absolute; inset:-8% 0; z-index:-3;
  background:url('assets/backgrounds/BK_02.webp') center/cover no-repeat;
  background-attachment:fixed;
}
#modules::after {
  /* dark tint over the photo, so white text and glass cards stay readable */
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(3,14,23,.86), rgba(3,14,23,.9));
}
@media (max-width:840px), (hover:none) { #modules::before { background-attachment:scroll; inset:0; } }
#modules .sec-num { color:rgba(255,255,255,.55); }
#modules .sec-head { color:#fff; }

/* ---------- Service modules grid — even 3x3 glass / tech cards ---------- */
.mods { display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:1fr; gap:22px; margin-top:54px; align-items:stretch; }
.mod {
  /* same blue-tinted glass tone as the hero panel */
  background:linear-gradient(180deg, rgba(10,42,66,.42), rgba(5,22,38,.5));
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  padding:34px 30px;
  position:relative;
  display:flex; flex-direction:column; align-items:flex-start; height:100%;
  box-shadow:0 20px 40px -18px rgba(0,0,0,.55);
}
.mod-ic { width:44px; height:44px; border-radius:8px; background:rgba(74,192,240,.16); border:1px solid rgba(74,192,240,.4); color:var(--brand-blue); display:flex; align-items:center; justify-content:center; flex:none; }
.mod-ic svg { width:23px; height:23px; }
.mod h3 { font-size:18px; font-weight:500; margin:20px 0 7px; color:#fff; }
.mod p { margin:0; color:rgba(255,255,255,.66); font-size:14px; line-height:1.55; }
.mod .tag { position:absolute; top:30px; right:30px; font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; color:rgba(255,255,255,.5); text-transform:uppercase; }
.mods-controls { display:none; }
@media (max-width:840px){ .mods{ grid-template-columns:1fr 1fr; } }
/* Mobile-only carousel: single card per view, swipeable + auto-advancing,
   with prev/next arrows and dots. Desktop/tablet keep the grid untouched. */
@media (max-width:560px){
  .mods-wrap { position:relative; margin-top:28px; }
  .mods {
    grid-template-columns:unset; grid-auto-rows:unset;
    display:flex; margin-top:0; gap:14px;
    overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; padding:2px 2px 4px;
  }
  .mods::-webkit-scrollbar { display:none; }
  .mod { flex:0 0 86%; scroll-snap-align:center; height:auto; }
  .mods-controls { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:20px; }
  .mods-arrow {
    width:38px; height:38px; border-radius:50%; flex:none;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.22); color:#fff;
    cursor:pointer; transition:background .2s var(--ease), border-color .2s var(--ease);
  }
  .mods-arrow:hover { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.4); }
  .mods-arrow svg { width:17px; height:17px; }
  .mods-dots { display:flex; align-items:center; gap:7px; }
  .mods-dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.28); transition:background .2s var(--ease), width .2s var(--ease); }
  .mods-dot.is-active { background:var(--brand-blue); width:18px; border-radius:3px; }
}

#modules .agnostic { display:flex; gap:18px; align-items:flex-start; margin-top:36px; }
#modules .agnostic .ic { color:var(--brand-blue); flex:none; }
#modules .agnostic p { margin:0; font-size:16px; color:rgba(255,255,255,.8); }
#modules .agnostic b { font-weight:600; color:#fff; }

/* ---------- Platform / AMS ---------- */
.platform-grid { display:grid; grid-template-columns:2fr 1fr; gap:16px 56px; align-items:stretch; }
.platform-head { grid-column:1 / -1; max-width:760px; }
.platform-grid > div:not(.platform-head) { height:100%; }
/* The AMS mockup keeps its natural, designed proportions instead of being
   stretched to match the (taller) feature list — it just centers vertically
   in the extra space, so it doesn't look squashed/stretched. */
.platform-grid > .reveal { display:flex; align-items:center; }
.feature-list { display:flex; flex-direction:column; justify-content:space-between; gap:4px; margin-top:34px; height:calc(100% - 34px); }
.feature {
  display:grid; grid-template-columns:auto 1fr; gap:18px; padding:20px; border-radius:6px;
  cursor:default; align-items:start;
}
.feature .fic { width:38px; height:38px; border-radius:6px; background:var(--slate-900); color:var(--brand-blue); display:flex; align-items:center; justify-content:center; flex:none; }
.feature .fic svg { width:19px; height:19px; }
.feature h3 { font-size:17px; font-weight:500; margin:0 0 4px; }
.feature p { margin:0; font-size:14px; color:var(--fg-3); line-height:1.5; }
@media (max-width:980px){ .platform-grid{ grid-template-columns:1fr; gap:44px; } }

/* AMS mockup window */
.amswin {
  width:100%;
  border:1px solid var(--border); border-radius:8px; overflow:hidden; background:#fff;
  box-shadow:0 24px 60px rgba(5,28,44,0.14), 0 4px 14px rgba(5,28,44,0.06);
}
.amswin-bar { display:flex; align-items:center; gap:8px; padding:13px 16px; background:var(--slate-50); border-bottom:1px solid var(--border); flex:none; }
.amswin-bar .dot { width:10px; height:10px; border-radius:50%; background:var(--slate-300); }
.amswin-bar .addr { margin-left:14px; font-family:var(--font-mono); font-size:11px; color:var(--fg-4); display:flex; align-items:center; gap:7px; }
.amswin-body { display:grid; grid-template-columns:168px 1fr; min-height:430px; }
.ams-side { background:var(--navy); padding:18px 14px; color:#fff; }
.ams-side .logo { font-family:var(--font-mono); font-size:10px; letter-spacing:0.1em; color:var(--navy-soft); text-transform:uppercase; padding:0 8px 16px; }
.ams-nav { display:flex; flex-direction:column; gap:2px; }
.ams-nav a { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:5px; font-size:13px; color:#A9C0CE; }
.ams-nav a svg { width:15px; height:15px; }
.ams-nav a.active { background:rgba(74,192,240,0.16); color:#fff; }
.ams-main { padding:22px; background:var(--slate-50); }
.ams-h { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.ams-h h4 { font-size:17px; font-weight:500; margin:0; }
.ams-h .pill { font-family:var(--font-mono); font-size:10px; padding:5px 10px; border-radius:9999px; background:var(--ok-tint); color:#15803D; letter-spacing:0.04em; }
.ams-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px; }
.kpi { background:#fff; border:1px solid var(--border); border-radius:6px; padding:14px; }
.kpi .lbl { font-family:var(--font-mono); font-size:9px; letter-spacing:0.07em; text-transform:uppercase; color:var(--fg-4); }
.kpi .val { font-weight:300; font-size:30px; line-height:1.1; margin-top:6px; letter-spacing:-0.02em; }
.kpi .val b { font-weight:300; color:var(--brand-blue-deep); }
.kpi .delta { font-size:11px; margin-top:3px; font-weight:600; }
.kpi .delta.up { color:var(--ok); }
.ams-cols { display:grid; grid-template-columns:1.3fr 1fr; gap:12px; }
.panel { background:#fff; border:1px solid var(--border); border-radius:6px; padding:14px; }
.panel .pt { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.panel .pt span { font-size:12px; font-weight:600; }
.panel .pt em { font-family:var(--font-mono); font-style:normal; font-size:10px; color:var(--fg-4); }
/* chart */
.chart { display:flex; align-items:flex-end; gap:7px; height:96px; padding-top:6px; }
.bar {
  flex:1; height:6px; background:var(--brand-blue-tint-2); border-radius:2px 2px 0 0; position:relative;
  transition:height 1.1s cubic-bezier(.16,.9,.28,1);
}
.bar.hot { background:var(--brand-blue); }
.amswin.is-live .bar { height:var(--h); }
.chart-x { display:flex; gap:7px; margin-top:7px; }
.chart-x span { flex:1; text-align:center; font-family:var(--font-mono); font-size:8px; color:var(--fg-4); }
/* live pulse on the "poles live" pill once the mockup animates in */
.amswin.is-live .ams-h .pill { animation:ams-pulse 2.4s ease-in-out .6s 2; }
@keyframes ams-pulse { 0%,100%{ opacity:1; } 50%{ opacity:.55; } }
/* fault card appears after the KPIs/chart settle, to feel "live" */
.fault { opacity:0; transform:translateY(6px); transition:opacity .5s ease, transform .5s ease; }
.amswin.is-live .fault { opacity:1; transform:none; transition-delay:1.3s; }
@media (prefers-reduced-motion:reduce){
  .bar { transition:none; }
  .amswin.is-live .ams-h .pill { animation:none; }
  .fault { transition:none; opacity:1; transform:none; }
}
/* lease table */
.lease { display:flex; flex-direction:column; }
.lease-row { display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:center; padding:9px 0; border-top:1px solid var(--border); }
.lease-row:first-of-type { border-top:none; }
.lease-row .nm { font-size:12px; font-weight:500; display:flex; align-items:center; gap:8px; }
.lease-row .nm .swatch { width:8px; height:8px; border-radius:2px; flex:none; }
.lease-row .mo { font-family:var(--font-mono); font-size:11px; color:var(--fg-2); }
.lease-row .st { font-family:var(--font-mono); font-size:9px; padding:3px 7px; border-radius:9999px; letter-spacing:0.03em; }
.st.live { background:var(--ok-tint); color:#15803D; }
.st.pend { background:var(--warn-tint); color:#B45309; }
.fault { display:flex; gap:10px; align-items:flex-start; margin-top:12px; padding:10px 12px; background:var(--danger-tint); border-radius:5px; }
.fault svg { width:15px; height:15px; color:var(--danger); flex:none; margin-top:1px; }
.fault .ft { font-size:11px; font-weight:600; color:#991B1B; }
.fault .fp { font-size:11px; color:#B91C1C; }

/* AMS mockup: collapse the internal dashboard grid so nothing gets clipped
   once the platform-grid itself has already stacked to a single column. */
@media (max-width:760px){
  .amswin-body { grid-template-columns:1fr; min-height:0; }
  .ams-side { display:none; }
  .ams-kpis { grid-template-columns:repeat(3,1fr); gap:8px; }
  .kpi { padding:10px; }
  .kpi .val { font-size:22px; }
  .ams-cols { grid-template-columns:1fr; }
}
@media (max-width:480px){
  .ams-kpis { grid-template-columns:1fr 1fr; }
  .ams-kpis .kpi:last-child { grid-column:1 / -1; }
  .kpi .val { font-size:24px; }
  .amswin-bar .addr span:last-child { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

/* ---------- Business model ---------- */
.colo { background:var(--navy); color:#fff; position:relative; isolation:isolate; overflow:hidden; }
.colo::before {
  /* drop the file at assets/backgrounds/BK_03.jpg — no HTML changes needed */
  content:""; position:absolute; inset:-8% 0; z-index:-3;
  background:url('assets/backgrounds/BK_03.webp') center/cover no-repeat;
  background-attachment:fixed;
}
.colo::after {
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(3,14,23,.86), rgba(3,14,23,.9));
}
@media (max-width:840px), (hover:none) { .colo::before { background-attachment:scroll; inset:0; } }
.colo .wrap { position:relative; z-index:1; }
.colo .eyebrow { color:var(--brand-blue); }
.colo-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin-top:8px; }
.colo .h2 { color:#fff; }
.colo .lede { color:#C6D6E0; margin-top:24px; }
.colo-points { display:flex; flex-direction:column; gap:18px; margin-top:30px; }
.colo-point { display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start; }
.colo-point .n { font-family:var(--font-mono); font-size:12px; color:var(--brand-blue); padding-top:3px; }
.colo-point h3 { font-size:16px; font-weight:500; color:#fff; margin:0 0 3px; }
.colo-point p { margin:0; font-size:14px; color:var(--navy-soft); }
/* colo diagram */
.colo-viz { background:var(--navy-2); border:1px solid var(--navy-line); border-radius:8px; padding:34px; }
.colo-viz .vt { font-family:var(--font-mono); font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--navy-soft); margin-bottom:22px; }
.asset-row { display:flex; align-items:center; gap:26px; }
.asset-pole { width:74px; flex:none; display:flex; flex-direction:column; align-items:center; gap:0; }
.asset-pole .lamp { display:block; width:74px; height:auto; }
.asset-pole .shaft { width:10px; flex:1; min-height:150px; background:linear-gradient(var(--slate-300),var(--slate-500)); border-radius:0 0 3px 3px; }
.asset-pole .base { width:46px; height:8px; background:var(--slate-600); border-radius:0 0 2px 2px; }
.asset-pole .lbl { font-family:var(--font-mono); font-size:9px; color:var(--navy-soft); text-transform:uppercase; letter-spacing:0.06em; margin-top:6px; }
.tenants { flex:1; display:flex; flex-direction:column; gap:9px; }
.tenant { display:flex; align-items:center; gap:12px; padding:11px 14px; background:rgba(255,255,255,0.04); border:1px solid var(--navy-line); border-radius:5px; }
.tenant .tdot { width:9px; height:9px; border-radius:50%; flex:none; }
.tenant .tn { font-size:13px; font-weight:500; color:#fff; flex:1; }
.tenant .trev { font-family:var(--font-mono); font-size:12px; color:var(--brand-blue); }
.capex { margin-top:26px; padding-top:22px; border-top:1px solid var(--navy-line); }
.capex .ct { display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--navy-soft); margin-bottom:10px; }
.capex-bar { display:flex; height:14px; border-radius:3px; overflow:hidden; gap:2px; }
.capex-bar span { display:block; }
@media (max-width:980px){ .colo-grid{ grid-template-columns:1fr; gap:44px; } }

/* ---------- Who it's for ---------- */
.audience { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:54px; }
.aud-card { border:1px solid var(--border); border-radius:8px; padding:34px 30px; background:#fff; transition:border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.aud-card:hover { border-color:var(--brand-blue); box-shadow:0 12px 30px rgba(5,28,44,0.07); }
.aud-ic { width:48px; height:48px; border-radius:8px; background:var(--navy); color:var(--brand-blue); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.aud-ic svg { width:24px; height:24px; }
.aud-card h3 { font-size:21px; font-weight:500; margin:0 0 10px; }
.aud-card p { margin:0 0 18px; color:var(--fg-3); font-size:15px; }
.aud-card ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
.aud-card li { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--fg-2); }
.aud-card li svg { width:15px; height:15px; color:var(--brand-blue); flex:none; margin-top:3px; }
@media (max-width:840px){ .audience{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.ctaband { background:var(--navy); color:#fff; text-align:center; position:relative; isolation:isolate; overflow:hidden; }
.ctaband::before {
  /* drop the file at assets/backgrounds/BK_04.jpg — no HTML changes needed */
  content:""; position:absolute; inset:-8% 0; z-index:-3;
  background:url('assets/backgrounds/BK_04.webp') center/cover no-repeat;
  background-attachment:fixed;
}
.ctaband::after {
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(3,14,23,.86), rgba(3,14,23,.9));
}
@media (max-width:840px), (hover:none) { .ctaband::before { background-attachment:scroll; inset:0; } }
.ctaband .wrap { position:relative; z-index:1; }
.ctaband .h2 { color:#fff; max-width:760px; margin:0 auto; }
.ctaband p { color:#C6D6E0; font-size:18px; max-width:560px; margin:22px auto 0; }
.ctaband .hero-actions { justify-content:center; margin-top:36px; }

/* ---------- Footer ---------- */
.footer { background:#03131F; color:#fff; padding:72px 0 36px; }
.footer-top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--navy-line); }
.footer .brand img { height:24px; margin-bottom:18px; }
.footer-about { color:var(--navy-soft); font-size:14px; max-width:280px; }
.footer-col h4 { font-family:var(--font-mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color:var(--navy-soft); margin:0 0 18px; font-weight:600; }
.footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; } /* was 11px; links are now 24px tall */
.footer-col a { color:#C6D6E0; font-size:14px; transition:color .15s var(--ease); }
.footer-col a:hover { color:var(--brand-blue); }
.footer-contact { color:#C6D6E0; font-size:14px; display:flex; flex-direction:column; gap:8px; }
.footer-contact .ln { display:flex; gap:9px; align-items:flex-start; }
.footer-contact svg { width:15px; height:15px; color:var(--brand-blue); flex:none; margin-top:3px; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:28px; }
.footer-bottom p { margin:0; color:var(--navy-soft); font-size:13px; }
.footer-bottom .legal { display:flex; gap:24px; }
.footer-bottom .legal a { color:var(--navy-soft); font-size:13px; }
.footer-bottom .legal a:hover { color:#fff; }
/* a11y — WCAG 2.2 target size: every footer link at least 24px tall */
.footer-col a, .footer-contact a, .footer-bottom .legal a, .footer-bottom .legal button { display:inline-flex; align-items:center; min-height:24px; }
@media (max-width:840px){ .footer-top{ grid-template-columns:1fr 1fr; gap:32px; } .footer-bottom{ flex-direction:column; gap:16px; align-items:flex-start; } }
/* Smaller/tighter, but still 2 columns — just scaled down, not restacked. */
@media (max-width:560px){
  .footer { padding:44px 0 24px; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:20px 24px; padding-bottom:28px; }
  .footer .brand img{ height:20px; margin-bottom:12px; }
  .footer-about{ max-width:none; font-size:12.5px; line-height:1.5; }
  .footer-col h4{ font-size:9px; margin-bottom:12px; }
  .footer-col ul{ gap:0; }
  .footer-col a{ font-size:12.5px; }
  .footer-contact{ font-size:12.5px; gap:6px; }
  .footer-contact svg{ width:13px; height:13px; }
  .footer-bottom{ padding-top:20px; }
  .footer-bottom p{ font-size:11.5px; }
  .footer-bottom .legal{ flex-wrap:wrap; gap:10px 16px; }
  .footer-bottom .legal a{ font-size:11.5px; }
}

/* Content is visible by default — no entrance hiding, so it renders correctly
   in print, PDF export, background tabs, and screenshots. .reveal is a no-op
   hook kept on markup for optional future use. */

/* =========================================================================
 * THEME SYSTEM — dark (default, = original design) + light
 * The "bands" are the sections that are navy in the dark theme: header, hero,
 * business model, CTA and footer. They are driven by semantic tokens so the
 * light theme can adapt them while every layout/spacing rule stays untouched.
 * ========================================================================= */
:root {
  /* dark = the original look, verbatim */
  --band-bg:#051C2C;
  --band-raised:#0A2A3D;
  --band-line:#15384C;
  --band-fg:#ffffff;
  --band-fg-soft:#C6D6E0;
  --band-fg-muted:#7E9DB0;
  --band-chip-bg:rgba(255,255,255,0.04);

  --header-bg:rgba(5,28,44,0.92);
  --header-border:#15384C;
  --header-fg:#C6D6E0;
  --header-fg-strong:#ffffff;

  --footer-bg:#03131F;

  --grid-line:#15384C;
  --grid-opacity:0.18;

  --outline-border:rgba(255,255,255,0.32);
  --outline-border-hover:#ffffff;
  --outline-bg-hover:rgba(255,255,255,0.06);
  --outline-fg:#ffffff;

  color-scheme:dark;
}

[data-theme="light"] {
  --band-bg:#F1F5F9;          /* slate-100 surface */
  --band-raised:#ffffff;
  --band-line:#E2E8F0;        /* slate-200 hairline */
  --band-fg:#0F172A;          /* slate-900 */
  --band-fg-soft:#475569;     /* slate-700 */
  --band-fg-muted:#64748B;    /* slate-500 */
  --band-chip-bg:#ffffff;

  --header-bg:rgba(255,255,255,0.92);
  --header-border:#E2E8F0;
  --header-fg:#475569;
  --header-fg-strong:#0F172A;

  --footer-bg:#F8FAFC;        /* slate-50 */

  --grid-line:#CBD5E1;        /* slate-300 */
  --grid-opacity:0.5;

  --outline-border:rgba(15,23,42,0.22);
  --outline-border-hover:#0F172A;
  --outline-bg-hover:rgba(15,23,42,0.04);
  --outline-fg:#0F172A;

  color-scheme:light;
}

/* ---- Apply tokens to the band sections (overrides the hardcoded navy above) ---- */
/* Header stays transparent-overlay → white floating pill in both themes (see
   .header / .header.is-scrolled above), so no band-token override here. */

/* Hero always shows the night photo + glass panel, so it keeps its dark/white
   styling in both themes — no band-token override here. */

/* .btn-outline keeps its fixed blue-tint style (defined above) regardless of
   the light/dark theme toggle — every place it's used sits on a dark navy or
   photo band, so it shouldn't flip to dark text in light mode. */

.colo { background:var(--band-bg); color:var(--band-fg); }
.colo .h2 { color:var(--band-fg); }
.colo .lede { color:var(--band-fg-soft); }
.colo-point h3 { color:var(--band-fg); }
.colo-point p { color:var(--band-fg-muted); }
.colo-viz { background:var(--band-raised); border-color:var(--band-line); }
.colo-viz .vt { color:var(--band-fg-muted); }
.tenant { background:var(--band-chip-bg); border-color:var(--band-line); }
.tenant .tn { color:var(--band-fg); }
.capex { border-top-color:var(--band-line); }
.capex .ct { color:var(--band-fg-muted); }
.capex-rest { background:var(--band-line); }

/* .colo now sits over a photo (BK_03.jpg) — keep it fixed dark/light-text
   regardless of the theme toggle above, since a light "band" recolor would
   fight with the photo tint. This overrides the token bindings just above. */
.colo .h2 { color:#fff; }
.colo .lede { color:rgba(255,255,255,.78); }
.colo-point h3 { color:#fff; }
.colo-point p { color:rgba(255,255,255,.7); }
.colo-viz { background:rgba(255,255,255,.06); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-color:rgba(255,255,255,.16); }
.colo-viz .vt { color:rgba(255,255,255,.55); }
.tenant { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.14); }
.tenant .tn { color:#fff; }
.capex { border-top-color:rgba(255,255,255,.14); }
.capex .ct { color:rgba(255,255,255,.5); }
.capex-rest { background:rgba(255,255,255,.14); }

/* 04 — In the Field: the whole section takes the light "band" surface tone that
   Platform used to have — title, photos and summary all sit on it together. */
#field { background:var(--band-bg); color:var(--band-fg); }
#field .sec-num { color:var(--band-fg-muted); }
#field .sec-head { color:var(--band-fg); }
#field .lede { color:var(--band-fg-soft); }

/* 05 — The Platform is a plain white section (default .section styling applies —
   no override needed here). */

.ctaband { background:var(--band-bg); color:var(--band-fg); }
.ctaband .h2 { color:var(--band-fg); }
.ctaband p { color:var(--band-fg-soft); }
/* .ctaband sits over BK_04.jpg with a fixed dark tint — keep text and the
   outline button fixed white regardless of the theme toggle, same reasoning
   as .colo above (otherwise the light-theme tokens make dark, invisible text
   and an invisible "Explore the platform" button on the dark photo). */
.ctaband .h2 { color:#fff; }
.ctaband p { color:#C6D6E0; }
.ctaband .btn-outline, .hero .btn-outline { color:#fff; border-color:rgba(255,255,255,0.32); }
.ctaband .btn-outline:hover, .hero .btn-outline:hover { color:#fff; border-color:#fff; background:rgba(255,255,255,0.06); }

.footer { background:var(--footer-bg); color:var(--band-fg); }
.footer-top { border-bottom-color:var(--band-line); }
.footer-about { color:var(--band-fg-muted); }
.footer-col h4 { color:var(--band-fg-muted); }
.footer-col a { color:var(--band-fg-soft); }
.footer-contact { color:var(--band-fg-soft); }
.footer-bottom p { color:var(--band-fg-muted); }
.footer-bottom .legal a { color:var(--band-fg-muted); }
.footer-bottom .legal a:hover { color:var(--band-fg-strong); }

/* ---- Logo swaps with the theme (white wordmark on dark, blue on light) ---- */
.brand img { height:29px; width:auto; }
.logo-on-light { display:none; }
[data-theme="light"] .logo-on-dark { display:none; }
[data-theme="light"] .logo-on-light { display:block; }

/* ---- In the field (deployment proof) ----
   Everything (title, 3 photos, summary) sits together on the #field band —
   left-aligned, all in the same flow, no separate white/blue split anymore. */
.field-grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:22px; margin-top:40px; }
.field-card { position:relative; margin:0; border-radius:10px; overflow:hidden; }
.field-card img { display:block; width:100%; height:320px; object-fit:cover; object-position:center; }
.field-card figcaption { position:absolute; inset:auto 0 0 0; padding:16px 18px 14px;
  background:linear-gradient(to top, rgba(5,28,44,0.92) 12%, rgba(5,28,44,0.55) 55%, rgba(5,28,44,0)); }
.field-loc2 { display:inline-flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:12px;
  letter-spacing:0.07em; text-transform:uppercase; color:#fff; font-weight:500; }
.field-loc2 .dash { width:14px; height:2px; background:var(--brand-blue); display:inline-block; border-radius:2px; }
.field-summary { margin-top:30px; }
.field-summary .eyebrow { margin-bottom:14px; }
.field-summary-title { font-size:24px; line-height:1.25; letter-spacing:var(--tracking-tight); margin:0 0 16px; color:var(--band-fg); }
.field-summary p { font-size:16px; line-height:1.65; color:var(--band-fg-soft); margin:0; }
.field-note { display:flex; align-items:center; gap:9px; margin-top:18px; font-size:13px; color:var(--band-fg-muted); }
.field-note svg { width:15px; height:15px; flex:none; color:var(--brand-blue); }
@media (max-width:860px){
  .field-grid-3 { grid-template-columns:1fr; }
  .field-card img { height:260px; }
}

/* ---- Header controls: language + theme toggles ---- */
.lang-toggle { display:inline-flex; border:1px solid var(--header-border); border-radius:9999px; overflow:hidden; }
.lang-toggle button {
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.06em; font-weight:500;
  padding:7px 9px; background:transparent; color:var(--header-fg); border:0; cursor:pointer;
  transition:background .15s var(--ease), color .15s var(--ease);
}
.lang-toggle button + button { border-left:1px solid var(--header-border); }
.lang-toggle button.active { background:var(--brand-blue); color:#fff; }
.lang-toggle button:not(.active):hover { color:var(--header-fg-strong); }

/* ---- Language dropdown ---- */
.lang-dd { position:relative; }
.lang-dd-btn {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.06em; font-weight:500;
  padding:7px 14px; background:transparent; color:var(--header-fg);
  border:1px solid rgba(255,255,255,.35); border-radius:9999px; cursor:pointer; color:#fff;
  transition:color .2s var(--ease), border-color .2s var(--ease);
}
.lang-dd-btn:hover { color:#fff; opacity:.8; }
.lang-dd-btn svg { transition:transform .18s var(--ease); }
.lang-dd[data-open] .lang-dd-btn svg { transform:rotate(180deg); }
.lang-dd-menu {
  position:absolute; top:calc(100% + 6px); right:0; z-index:60;
  min-width:160px; padding:6px;
  background:var(--navy-2); border:1px solid var(--navy-line); border-radius:8px;
  box-shadow:0 18px 40px rgba(5,28,44,0.45);
  display:flex; flex-direction:column; gap:2px;
}
.lang-dd--up .lang-dd-menu { top:auto; bottom:calc(100% + 6px); }
.lang-dd-menu[hidden] { display:none; }
.lang-dd-menu button {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  font-family:var(--font-sans); font-size:14px; line-height:1; text-align:left;
  padding:9px 11px; background:transparent; color:#C6D6E0; border:0; border-radius:5px;
  cursor:pointer; transition:background .15s var(--ease), color .15s var(--ease);
}
.lang-dd-menu button:hover { background:rgba(255,255,255,0.06); color:#fff; }
.lang-dd-menu button.active { color:#fff; }
.lang-dd-menu button.active::after { content:"✓"; color:var(--brand-blue); font-size:12px; }

/* Mobile navigation — hamburger + drop-down drawer */
.nav-toggle {
  display:none; align-items:center; justify-content:center;
  width:42px; height:42px; border:1px solid rgba(255,255,255,.35); border-radius:9999px;
  background:transparent; color:#fff; cursor:pointer;
  transition:color .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { color:#fff; opacity:.8; }
.nav-toggle svg { width:20px; height:20px; }
.nav-toggle .i-close { display:none; }
.nav-toggle[aria-expanded="true"] .i-open { display:none; }
.nav-toggle[aria-expanded="true"] .i-close { display:inline; }

.mobile-menu {
  position:fixed; left:0; right:0; top:74px; bottom:0; z-index:49;
  background:var(--band-bg); border-top:1px solid var(--band-line);
  overflow:auto;
}
.mobile-menu[hidden] { display:none; }
.mobile-menu .wrap { display:flex; flex-direction:column; padding-top:8px; padding-bottom:26px; }
.mm-link { padding:15px 2px; font-size:17px; font-weight:400; color:var(--header-fg); border-bottom:1px solid var(--band-line); transition:color .15s var(--ease), border-color .15s var(--ease), font-weight .15s var(--ease); }
.mm-link:hover { color:var(--header-fg-strong); }
.mm-link.active { font-weight:700; border-color:var(--brand-blue); }
.mm-foot { display:flex; align-items:center; gap:16px; margin-top:22px; }
.mm-foot .btn { flex:1; justify-content:center; }

@media (min-width:1025px){ .mobile-menu { display:none !important; } }
@media (max-width:1024px){
  .header-cta { display:none; }
  .nav-toggle { display:inline-flex; }
}

/* =========================================================================
 * SUB-PAGE COMPONENTS (About, Deployments, Newsroom, Careers, Contact,
 * Resources, Legal). Reuse the existing tokens + theme system throughout.
 * ========================================================================= */
.wrap.narrow { max-width:820px; }

/* Compact page hero (band — navy in dark, light surface in light) */
.page-hero { background:var(--band-bg); color:var(--band-fg); position:relative; overflow:hidden; border-bottom:1px solid var(--band-line); }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:64px 64px; opacity:var(--grid-opacity); pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 80% 80% at 75% 25%, #000 30%, transparent 80%);
  mask-image:radial-gradient(ellipse 80% 80% at 75% 25%, #000 30%, transparent 80%);
}
.page-hero .wrap { position:relative; z-index:1; padding-top:84px; padding-bottom:84px; }
.page-hero .display { margin-top:18px; font-size:clamp(34px,4.2vw,56px); max-width:20ch; }
.page-hero .lede { margin-top:22px; }

/* Resources page hero — parallax photo instead of the grid pattern */
#resources-hero { isolation:isolate; }
#resources-hero::before {
  /* drop the file at assets/backgrounds/BK_05.jpg — no HTML changes needed */
  content:""; position:absolute; inset:-8% 0; z-index:-3;
  background:url('assets/backgrounds/BK_05.webp') center/cover no-repeat;
  background-attachment:fixed;
  -webkit-mask-image:none; mask-image:none; opacity:1;
}
#resources-hero::after {
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(3,14,23,.84), rgba(3,14,23,.88));
}
@media (max-width:840px), (hover:none) { #resources-hero::before { background-attachment:scroll; inset:0; } }

.prose { font-size:17px; line-height:1.7; color:var(--fg-2); max-width:70ch; margin-top:20px; }

/* Stat band */
.statband { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.statband-item { border-left:2px solid var(--brand-blue); padding-left:18px; }
.sb-n { font-weight:300; font-size:clamp(32px,3.4vw,44px); letter-spacing:-0.02em; line-height:1; color:var(--fg-1); }
.sb-c { font-family:var(--font-mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--fg-3); margin-top:10px; }
@media (max-width:840px){ .statband { grid-template-columns:1fr 1fr; gap:28px 20px; } }

/* Deployment case cards (extend .aud-card) */
.case-status { position:absolute; top:22px; right:22px; font-family:var(--font-mono); font-size:9px; letter-spacing:0.06em; padding:4px 9px; border-radius:9999px; }
.case-status.live { background:var(--ok-tint); color:#15803D; }
.case-status.soon { background:var(--warn-tint); color:#B45309; }
.case-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:18px; }
.tag-pill { font-family:var(--font-mono); font-size:10px; letter-spacing:0.04em; color:var(--brand-blue-deep); background:var(--brand-blue-tint); border-radius:9999px; padding:4px 10px; }

/* Newsroom */
.posts { border-top:1px solid var(--border); }
.post { display:block; padding:28px 0; border-bottom:1px solid var(--border); transition:padding-left .2s var(--ease); }
.post:hover { padding-left:8px; }
.post-meta { display:flex; gap:14px; align-items:center; margin-bottom:10px; }
.post-date { font-family:var(--font-mono); font-size:11px; color:var(--fg-4); }
.post-tag { font-family:var(--font-mono); font-size:10px; letter-spacing:0.05em; text-transform:uppercase; color:var(--brand-blue-deep); background:var(--brand-blue-tint); padding:3px 9px; border-radius:9999px; }
.post h3 { font-size:21px; font-weight:500; margin:0 0 8px; max-width:60ch; }
.post p { margin:0 0 12px; color:var(--fg-3); font-size:15px; max-width:72ch; }
.post-more { font-size:14px; font-weight:600; color:var(--brand-blue-deep); }
.media-box { display:flex; gap:20px; align-items:center; margin-top:40px; padding:26px 30px; background:var(--slate-50); border:1px solid var(--border); border-radius:8px; }
.media-box .aud-ic { margin-bottom:0; flex:none; }
.media-box h3 { font-size:18px; font-weight:500; margin:0 0 4px; }
.media-box p { margin:0 0 14px; color:var(--fg-3); font-size:14px; }

/* Careers roles */
.roles { border-top:1px solid var(--border); margin-top:8px; margin-bottom:36px; }
.role { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; border-bottom:1px solid var(--border); transition:padding-left .2s var(--ease); }
.role:hover { padding-left:8px; }
.role-main h3 { font-size:19px; font-weight:500; margin:0 0 6px; }
.role-meta { font-family:var(--font-mono); font-size:12px; color:var(--fg-4); }
.role-apply { font-size:14px; font-weight:600; color:var(--brand-blue-deep); white-space:nowrap; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1.2fr 0.8fr; gap:56px; align-items:start; }
@media (max-width:900px){ .contact-grid { grid-template-columns:1fr; gap:40px; } }
.contact-form { display:flex; flex-direction:column; gap:18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .field-row { grid-template-columns:1fr; } }
.field label { font-family:var(--font-mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--fg-3); }
.field input, .field select, .field textarea { font-family:var(--font-sans); font-size:15px; color:var(--fg-1); background:var(--bg); border:1px solid var(--border-strong); border-radius:6px; padding:12px 14px; transition:border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--brand-blue); box-shadow:0 0 0 3px rgba(74,192,240,0.16); }
.field textarea { resize:vertical; }
.contact-form .btn { align-self:flex-start; margin-top:4px; }
.form-success { font-size:14px; color:#15803D; background:var(--ok-tint); border-radius:6px; padding:12px 14px; margin:0; }
.form-note { font-size:12px; color:var(--fg-4); margin:0; }
.contact-aside h3 { font-size:18px; font-weight:500; margin:0 0 16px; }
.contact-aside .footer-contact { color:var(--fg-2); }
.contact-aside .footer-contact a { color:var(--fg-2); }
.contact-aside .footer-contact a:hover { color:var(--brand-blue-deep); }
.aside-divider { height:1px; background:var(--border); margin:28px 0; }

/* Resources / downloads */
.dl-feature { display:flex; align-items:center; gap:28px; padding:34px 36px; border:1px solid var(--border); border-radius:10px; background:var(--bg); transition:border-color .2s var(--ease), box-shadow .2s var(--ease); }
.dl-feature:hover { border-color:var(--brand-blue); box-shadow:0 14px 34px rgba(5,28,44,0.08); }
.dl-feature-ic { width:60px; height:60px; flex:none; border-radius:10px; background:var(--navy); color:var(--brand-blue); display:flex; align-items:center; justify-content:center; }
.dl-feature-ic svg { width:28px; height:28px; }
.dl-feature-body { flex:1; }
.dl-feature-body .eyebrow { margin-bottom:10px; }
.dl-feature-body .h2 { font-size:clamp(24px,2.6vw,32px); }
.dl-feature-body p { margin:12px 0 0; color:var(--fg-3); font-size:15px; max-width:60ch; }
.dl-feature-btn { display:inline-flex; align-items:center; gap:10px; white-space:nowrap; font-weight:600; font-size:15px; color:#fff; background:var(--brand-blue); padding:14px 22px; border-radius:6px; flex:none; }
.dl-feature-btn svg { width:17px; height:17px; }
@media (max-width:760px){ .dl-feature { flex-direction:column; align-items:flex-start; gap:20px; } }
.dl-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:50px; }
@media (max-width:680px){ .dl-grid { grid-template-columns:1fr; } }
.dl-card { display:flex; align-items:center; gap:16px; padding:20px 22px; background:var(--bg); border:1px solid var(--border); border-radius:8px; transition:border-color .2s var(--ease); }
.dl-card:hover { border-color:var(--brand-blue); }
.dl-ic { width:42px; height:42px; flex:none; border-radius:8px; background:var(--brand-blue-tint); color:var(--brand-blue-deep); display:flex; align-items:center; justify-content:center; }
.dl-ic svg { width:21px; height:21px; }
.dl-body { flex:1; }
.dl-body h3 { font-size:16px; font-weight:500; margin:0 0 2px; }
.dl-meta { font-family:var(--font-mono); font-size:10px; letter-spacing:0.05em; text-transform:uppercase; color:var(--fg-4); }
.dl-btn { width:40px; height:40px; flex:none; border:1px solid var(--border-strong); border-radius:6px; display:flex; align-items:center; justify-content:center; color:var(--fg-2); transition:background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.dl-btn:hover { background:var(--brand-blue); color:#fff; border-color:var(--brand-blue); }
.dl-btn svg { width:18px; height:18px; }

/* Download triggers are now <button>s — keep them visually identical */
button.dl-feature { width:100%; font:inherit; text-align:left; color:inherit; cursor:pointer; }
button.dl-btn { background:transparent; font:inherit; cursor:pointer; }

/* Gated document request modal */
.modal-overlay { position:fixed; inset:0; z-index:200; display:flex; align-items:flex-start; justify-content:center; padding:40px 20px; background:rgba(5,28,44,0.55); backdrop-filter:blur(3px); overflow:auto; }
.modal-overlay[hidden] { display:none; }
.modal { position:relative; width:100%; max-width:520px; margin:auto; background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:34px 34px 30px; box-shadow:0 30px 70px rgba(5,28,44,0.35); }
.modal-close { position:absolute; top:16px; right:16px; width:34px; height:34px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:6px; background:transparent; color:var(--fg-3); cursor:pointer; transition:color .15s var(--ease), border-color .15s var(--ease); }
.modal-close:hover { color:var(--fg-1); border-color:var(--border-strong); }
.modal-close svg { width:16px; height:16px; }
.modal h3 { font-size:24px; font-weight:500; margin:10px 0 0; }
.modal-doc { display:flex; align-items:center; gap:8px; margin:14px 0 22px; font-family:var(--font-mono); font-size:12px; color:var(--fg-2); background:var(--slate-50); border:1px solid var(--border); border-radius:6px; padding:10px 12px; }
.modal-doc svg { width:15px; height:15px; color:var(--brand-blue-deep); flex:none; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--fg-2); line-height:1.5; cursor:pointer; }
.consent input { margin-top:3px; flex:none; accent-color:var(--brand-blue); }
.consent a { color:var(--brand-blue-deep); text-decoration:underline; }
.hp-field { position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; pointer-events:none; }
.contact-form.is-sending [data-doc-submit] { opacity:.65; pointer-events:none; }
.form-error { font-size:14px; color:#B91C1C; background:var(--danger-tint); border-radius:6px; padding:12px 14px; margin:0; }

/* Legal documents */
.legal-note { background:var(--warn-tint); color:#92400E; border-radius:8px; padding:14px 18px; font-size:14px; margin-bottom:26px; }
.legal-updated { font-family:var(--font-mono); font-size:12px; color:var(--fg-4); margin:0 0 26px; }
.legal-doc h2 { font-size:20px; font-weight:500; margin:32px 0 10px; }
.legal-doc p { font-size:16px; line-height:1.7; color:var(--fg-2); margin:0 0 14px; }
.legal-doc a { color:var(--brand-blue-deep); text-decoration:underline; }
.legal-doc ul { margin:0 0 14px; padding-left:22px; color:var(--fg-2); font-size:16px; line-height:1.7; }
.legal-doc li { margin-bottom:6px; }
.legal-table { overflow-x:auto; margin:6px 0 18px; -webkit-overflow-scrolling:touch; }
.legal-table table { width:100%; min-width:560px; border-collapse:collapse; font-size:14px; line-height:1.5; }
.legal-table th, .legal-table td { text-align:left; vertical-align:top; padding:10px 12px; border-bottom:1px solid var(--border, rgba(127,127,127,.25)); color:var(--fg-2); }
.legal-table th { font-weight:600; color:var(--fg-1, inherit); white-space:nowrap; }
.legal-doc .btn-ghost { text-decoration:none; }

/* =========================================================================
 * GREEN / SUSTAINABLE REFRESH  (Sep 2026)
 * Less "high-tech", more natural: forest-green bands instead of navy, brand
 * green #39E6B5 (Pantone 333 C) as the accent, brand blue #21CBFF (P 311 C)
 * kept as a secondary colour, warmer green-greys, softer radii, no mono font,
 * no tech grid, real greenery photography.
 * Everything lives in this block — delete it (and restore the @import line at
 * the top) to go back to the previous look. Full backup: styles.backup-hightech.css
 * ========================================================================= */
:root {
  --green:#39E6B5;            /* brand — Pantone 333 C */
  --green-ink:#0B7A5C;        /* green text/icons on light surfaces (AA) */
  --green-deep:#075F47;
  --green-tint:#E4F7EF;
  --green-tint-2:#BFEBD9;
  --sky:#21CBFF;              /* brand — Pantone P 311 C (secondary) */
  --stone:#7D7B7C;            /* brand — Pantone P 179-10 U */

  /* accent tokens used throughout the stylesheet now resolve to green */
  --brand-blue:var(--green);
  --brand-blue-ink:var(--green-ink);
  --brand-blue-deep:var(--green-ink);
  --brand-blue-tint:var(--green-tint);
  --brand-blue-tint-2:var(--green-tint-2);

  --navy:#0C2620;             /* forest — replaces navy */
  --navy-2:#133229;
  --navy-line:#244A3E;
  --navy-soft:#93B3A6;

  /* warmer, slightly green greys */
  --slate-50:#F4F8F4;
  --slate-100:#EAF1EB;
  --slate-200:#DEE7E0;
  --slate-300:#C6D3C9;
  --slate-400:#8FA096;
  --slate-500:#62726A;
  --slate-600:#46554E;
  --slate-700:#34423C;
  --slate-800:#1F2C27;
  --slate-900:#13201B;
  --bg:#FFFFFF;

  --font-mono:var(--font-sans);   /* retire the "terminal" look */

  --band-bg:#0C2620;
  --band-raised:#133229;
  --band-line:#244A3E;
  --band-fg-soft:#CFE0D7;
  --band-fg-muted:#93B3A6;
  --header-bg:rgba(12,38,32,0.92);
  --header-border:#244A3E;
  --header-fg:#CFE0D7;
  --footer-bg:#081C17;
  --grid-line:#244A3E;
}
[data-theme="light"] {
  --band-bg:#EEF5EF;
  --band-raised:#ffffff;
  --band-line:#DEE7E0;
  --band-fg:#13201B;
  --band-fg-soft:#34423C;
  --band-fg-muted:#62726A;
  --header-bg:rgba(255,255,255,0.92);
  --header-border:#DEE7E0;
  --header-fg:#46554E;
  --header-fg-strong:#13201B;
  --footer-bg:#F4F8F4;
}
::selection { background:rgba(57,230,181,0.28); }

/* Small caps labels (were monospace) — a touch more open */
.sec-num, .hero-meta .stat-c, .hv-chip .hv-lbl, .hv-chip .hv-sub, .mod .tag, .kpi .lbl,
.panel .pt em, .chart-x span, .lease-row .mo, .lease-row .st, .ams-side .logo, .ams-h .pill,
.colo-viz .vt, .asset-pole .lbl, .capex .ct, .colo-point .n, .tenant .trev, .footer-col h4,
.field-loc2, .lang-dd-btn, .sb-c, .case-status, .tag-pill, .post-date, .post-tag,
.role-meta, .field label, .dl-meta, .legal-updated, .modal-doc, .amswin-bar .addr, .flow-num {
  font-family:var(--font-sans); letter-spacing:0.1em;
}
.sec-num { font-size:13px; font-weight:600; letter-spacing:0.14em; color:var(--green-ink); display:inline-flex; align-items:center; gap:10px; }
.sec-num::before { content:""; width:9px; height:9px; border-radius:50% 0 50% 0; background:var(--green); display:inline-block; }  /* small leaf mark */
.problem .sec-num, #modules .sec-num { color:var(--green); }
#field .sec-num { color:var(--green); }
[data-theme="light"] #field .sec-num { color:var(--green-ink); }

/* Buttons */
.btn-primary { background:var(--green); color:#06261C; font-weight:600; }
.btn-primary:hover { background:#2ED3A5; }
.btn:focus-visible { box-shadow:0 0 0 3px rgba(57,230,181,0.45); }
.dl-feature-btn { background:var(--green); color:#06261C; border-radius:9999px; }
.dl-btn:hover { background:var(--green); color:#06261C; border-color:var(--green); }

/* Header */
.header.is-scrolled { background:rgba(12,38,32,0.9); border-bottom-color:var(--navy-line); }

/* ---------- Hero: real green street (Sintra) instead of the night skyline ---------- */
.hero::before {
  /* Sintra photo, mirrored + slightly zoomed so its two real poles sit behind
     the glass panel and don't compete with the pole render on the right */
  background:url('assets/backgrounds/BK_green_01.webp') left 40%/cover no-repeat;
  background-size:auto 128%;
  background-attachment:scroll;
  transform:scaleX(-1);
  filter:none; inset:0;
}
@media (max-aspect-ratio:3/2){ .hero::before { background-size:cover; } }
.hero::after {
  background:
    linear-gradient(90deg, rgba(7,28,22,.82) 0%, rgba(7,28,22,.55) 45%, rgba(7,28,22,.22) 100%),
    linear-gradient(180deg, rgba(7,28,22,.55) 0%, rgba(7,28,22,0) 30%, rgba(7,28,22,0) 70%, rgba(7,28,22,.6) 100%);
}
.hero-copy {
  background:linear-gradient(180deg, rgba(14,44,36,.46), rgba(8,30,24,.56));
  border-color:rgba(255,255,255,.18);
  border-radius:24px;
  box-shadow:0 30px 70px -24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14);
}
.lede-navy { color:#DCEAE2; }
.hero-meta .stat-n b { color:var(--green); }
.hero-meta .stat-c { color:rgba(255,255,255,.7); }
.hv-pole-img { filter:drop-shadow(0 22px 28px rgba(4,20,14,.45)); }
.hv-line, .hv-line::after { background:var(--green); }
.hv-chip {
  background:linear-gradient(180deg, rgba(14,44,36,.55), rgba(8,30,24,.62));
  border-color:rgba(255,255,255,.22); border-radius:14px;
}
.hv-chip .hv-ic { background:rgba(57,230,181,.16); border-color:rgba(57,230,181,.45); color:var(--green); border-radius:50%; }
.hv-chip .hv-lbl { font-weight:600; font-size:12px; }
.hv-chip .hv-sub { font-size:11px; letter-spacing:0.02em; }

/* ---------- 01 Problem ---------- */
.problem { background:
  radial-gradient(ellipse 60% 80% at 100% 0%, rgba(57,230,181,.10), transparent 60%),
  #0C2620; border-bottom:none; }
.problem-item { border-top-color:rgba(255,255,255,.14); }
.problem-item p { color:rgba(230,242,236,.74); }

/* ---------- 02 How it works ---------- */
.flow-num { background:var(--green-tint); border-color:var(--green-tint-2); color:var(--green-ink); font-size:14px; font-weight:700; }
.flow-step.is-platform .flow-num { background:var(--green); border-color:var(--green); color:#06261C; }
.flow-step .ic { color:var(--green-ink); opacity:.7; }

/* ---------- 03 Modules: greenery-in-the-city photo ---------- */
#modules { background:var(--navy); }
#modules::before { background:url('assets/backgrounds/BK_green_02.webp') center 60%/cover no-repeat; background-attachment:fixed; }
#modules::after { background:linear-gradient(180deg, rgba(7,28,22,.74), rgba(7,28,22,.82)); }
@media (max-width:840px), (hover:none) { #modules::before { background-attachment:scroll; } }
.mod {
  background:linear-gradient(180deg, rgba(16,48,39,.5), rgba(8,30,24,.58));
  border-color:rgba(255,255,255,.16); border-radius:20px;
}
.mod-ic { background:rgba(57,230,181,.15); border-color:rgba(57,230,181,.42); color:var(--green); border-radius:50%; }
.mod p { color:rgba(230,242,236,.72); }
.mod .tag { color:var(--green); opacity:.85; font-weight:600; }
.mods-dot.is-active { background:var(--green); }

/* ---------- 04 In the field ---------- */
.field-card { border-radius:18px; }
.field-card figcaption { background:linear-gradient(to top, rgba(7,28,22,0.9) 12%, rgba(7,28,22,0.5) 55%, rgba(7,28,22,0)); }
.field-loc2 .dash { background:var(--green); }

/* ---------- 05 Platform / AMS ---------- */
.feature { border-radius:14px; transition:background .2s var(--ease); }
.feature:hover { background:var(--slate-50); }
.feature .fic { background:var(--green-tint); color:var(--green-ink); border-radius:50%; }
.amswin { border-radius:16px; box-shadow:0 24px 60px rgba(12,38,32,0.14), 0 4px 14px rgba(12,38,32,0.06); }
.ams-nav a { color:#A9C4B8; }
.ams-nav a.active { background:rgba(57,230,181,0.16); }
.kpi, .panel { border-radius:10px; }
.bar { background:var(--green-tint-2); border-radius:4px 4px 0 0; }
.bar.hot { background:var(--green); }

/* ---------- Business model ---------- */
.colo::after { background:linear-gradient(180deg, rgba(7,28,22,.84), rgba(7,28,22,.88)); }
.colo-viz { border-radius:20px; }
.tenant { border-radius:10px; }
.colo-point .n { color:var(--green); font-weight:700; }
.tenant .trev { color:var(--green); }
.capex-bar { border-radius:9999px; }

/* ---------- 06 Who it's for ---------- */
.aud-card { border-radius:20px; }
.aud-card:hover { border-color:var(--green); box-shadow:0 14px 34px rgba(12,38,32,0.08); }
.aud-ic { background:var(--green-tint); color:var(--green-ink); border-radius:50%; }
.aud-card li svg { color:var(--green-ink); }

/* ---------- CTA: light, airy sage band (no photo) ---------- */
.ctaband { background:
  radial-gradient(ellipse 50% 90% at 0% 100%, rgba(57,230,181,.28), transparent 70%),
  radial-gradient(ellipse 45% 80% at 100% 0%, rgba(33,203,255,.14), transparent 70%),
  #EEF7F1; color:var(--slate-900); }
.ctaband::before, .ctaband::after { display:none; }
.ctaband .h2 { color:var(--slate-900); }
.ctaband .h2 b { color:var(--green-deep); }
.ctaband p { color:var(--slate-700); }
.ctaband .eyebrow { color:var(--green-ink); }
.ctaband .eyebrow::before { background:var(--green-ink); }
.ctaband .btn-outline { color:var(--green-deep); border-color:rgba(7,95,71,.4); }
.ctaband .btn-outline:hover { color:var(--green-deep); border-color:var(--green-deep); background:rgba(7,95,71,.06); }

/* ---------- Footer / menus / sub-pages ---------- */
.footer-col a:hover { color:var(--green); }
.lang-dd-menu { box-shadow:0 18px 40px rgba(7,28,22,0.45); }
.lang-dd-menu button { color:#CFE0D7; }
.page-hero::before {  /* soft organic light instead of the tech grid */
  background-image:
    radial-gradient(ellipse 45% 70% at 85% 10%, rgba(57,230,181,.18), transparent 70%),
    radial-gradient(ellipse 35% 60% at 65% 100%, rgba(33,203,255,.08), transparent 70%);
  background-size:auto; opacity:1; -webkit-mask-image:none; mask-image:none;
}
#resources-hero::after { background:linear-gradient(180deg, rgba(7,28,22,.84), rgba(7,28,22,.88)); }
.statband-item { border-left-color:var(--green); }
.dl-feature, .dl-card, .media-box { border-radius:18px; }
.dl-feature:hover, .dl-card:hover { border-color:var(--green); }
.dl-feature-ic { background:var(--green-tint); color:var(--green-ink); border-radius:50%; }
.dl-ic { border-radius:50%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--green-ink); box-shadow:0 0 0 3px rgba(57,230,181,0.2); }
.field input, .field select, .field textarea { border-radius:10px; }
.modal { border-radius:20px; }
.modal-overlay { background:rgba(7,28,22,0.55); }
.consent input { accent-color:var(--green-ink); }

/* light theme: green text on the pale #field band needs the darker ink */
[data-theme="light"] #field .eyebrow { color:var(--green-ink); }
[data-theme="light"] #field .eyebrow::before { background:var(--green-ink); }
[data-theme="light"] .field-note svg { color:var(--green-ink); }

/* =========================================================================
 * AUDIT PASS (29 Sep 2026) — contrast, accessibility, new components
 * ========================================================================= */

/* ---- Contrast tokens (WCAG AA ≥ 4.5:1 for text) ---- */
:root { --fg-4:#5F6F67; --ok:#15803D; }            /* was #8FA096 (2.7:1) / #16A34A (3.3:1) */
.kpi .delta.up { color:#15803D; }

/* Eyebrows: green ink on light surfaces, bright green only on dark ones */
.eyebrow { color:var(--green-ink); }
.eyebrow::before { background:currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .colo .eyebrow, .problem .eyebrow, #modules .eyebrow { color:var(--green); }
[data-theme="dark"] #field .eyebrow { color:var(--green); }

/* Small labels: never below 11px */
.kpi .lbl, .chart-x span, .lease-row .st, .ams-side .logo, .ams-h .pill, .panel .pt em,
.colo-viz .vt, .asset-pole .lbl, .capex .ct, .footer-col .footer-h, .case-status, .tag-pill, .post-tag, .dl-meta { font-size:11px; }
.hero-meta .stat-c, .sb-c { font-size:12px; }

/* ---- Sub-page hero: ALWAYS a dark forest band (the header over it is always
   white-on-dark, in both themes) — fixes the lost contrast in light mode ---- */
.page-hero, [data-theme="light"] .page-hero {
  background:#0C2620; color:#fff; border-bottom:none;
  --band-fg:#fff; --band-fg-soft:#DCEAE2; --band-fg-muted:#A9C4B8;
}
.page-hero .display { color:#fff; }
.page-hero .lede, .page-hero .lede-navy { color:#DCEAE2; }
.page-hero::after { /* a faint contour line — "the street", not a tech grid */
  content:""; position:absolute; right:-4%; bottom:-1px; width:min(760px,70%); height:120px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 120' fill='none' stroke='%2339E6B5' stroke-opacity='.22'%3E%3Cpath d='M0 118 C160 118 220 70 380 70 S600 30 760 24'/%3E%3Cpath d='M0 118 C180 118 250 88 400 88 S620 58 760 54' stroke-opacity='.12'/%3E%3C/svg%3E") right bottom/100% 100% no-repeat;
}
#resources-hero::after { background:linear-gradient(180deg, rgba(7,28,22,.84), rgba(7,28,22,.88)); width:auto; height:auto; right:0; inset:0; }

/* ---- Keyboard & screen-reader helpers ---- */
.skip-link { position:absolute; left:16px; top:-60px; z-index:300; background:var(--green); color:#06261C; font-weight:600;
  padding:10px 18px; border-radius:9999px; transition:top .2s var(--ease); }
.skip-link:focus { top:14px; outline:none; box-shadow:0 0 0 3px #fff, 0 0 0 6px var(--green-ink); }
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline:2px solid var(--green-ink); outline-offset:3px; border-radius:6px; }
.header a:focus-visible, .header button:focus-visible, .footer a:focus-visible, .footer button:focus-visible,
.hero a:focus-visible, .page-hero a:focus-visible, .ctaband a:focus-visible, .consent-card :focus-visible { outline-color:var(--green); }
@media (prefers-reduced-motion:reduce){ html { scroll-behavior:auto; } *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; } }

/* Headings that were demoted/promoted for a correct outline keep their look */
.footer-col .footer-h { font-family:var(--font-sans); letter-spacing:0.1em; text-transform:uppercase; color:var(--band-fg-muted); margin:0 0 18px; font-weight:600; }
.ams-h .ams-title { font-size:17px; font-weight:500; margin:0; }
.contact-aside h2 { font-size:18px; font-weight:500; margin:0 0 16px; }
.post h2 { font-size:21px; font-weight:500; margin:0 0 8px; max-width:60ch; }
.media-box h2 { font-size:18px; font-weight:500; margin:0 0 4px; }
.post { cursor:default; }
.post:hover { padding-left:0; }

/* Footer: cookie-settings trigger looks like the other legal links */
.linklike { background:none; border:0; padding:0; font:inherit; color:var(--band-fg-muted); font-size:13px; cursor:pointer; }
.linklike:hover { color:var(--band-fg); }

/* ---- Forms: inline validation ---- */
.field-error { font-size:13px; color:#B91C1C; margin:0; }
.field-error[hidden] { display:none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color:#B91C1C; }
.form-note a { color:var(--green-ink); text-decoration:underline; }

/* =========================================================================
 * FAQ — editorial split: sticky question index on the left, answers right
 * ========================================================================= */
.faq-grid { display:grid; grid-template-columns:minmax(260px,0.8fr) 1.4fr; gap:64px; align-items:start; }
.faq-aside { position:sticky; top:110px; }
.faq-aside p { color:var(--fg-3); font-size:16px; margin:18px 0 22px; max-width:34ch; }
.faq-list { border-top:1px solid var(--border); counter-reset:faq; }
.faq-item { border-bottom:1px solid var(--border); counter-increment:faq; }
.faq-item summary {
  list-style:none; cursor:pointer; display:grid; grid-template-columns:44px 1fr 28px; gap:12px; align-items:baseline;
  padding:24px 0; font-size:19px; font-weight:500; color:var(--fg-1); transition:color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::before { content:counter(faq, decimal-leading-zero); font-size:13px; font-weight:700; letter-spacing:.1em; color:var(--green-ink); }
.faq-item summary::after { /* a sprout that opens into a leaf */
  content:""; width:18px; height:18px; justify-self:end; align-self:center;
  background:var(--green-ink); -webkit-mask:var(--faq-ic) center/contain no-repeat; mask:var(--faq-ic) center/contain no-repeat;
  --faq-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 4h2v16h-2zM4 11h16v2H4z'/%3E%3C/svg%3E");
  transition:transform .3s var(--ease);
}
.faq-item[open] summary::after { transform:rotate(135deg); }
.faq-item summary:hover { color:var(--green-deep); }
.faq-item .faq-a { padding:0 40px 26px 56px; color:var(--fg-2); font-size:16px; line-height:1.65; max-width:68ch; }
.faq-item .faq-a p { margin:0; }
@media (max-width:900px){ .faq-grid { grid-template-columns:1fr; gap:28px; } .faq-aside { position:static; } }
@media (max-width:560px){ .faq-item summary { grid-template-columns:34px 1fr 22px; font-size:17px; } .faq-item .faq-a { padding:0 0 22px 46px; } }

/* =========================================================================
 * Cookie consent — a small "pole tag" card, not a full-width wall.
 * Accept and Reject have equal weight (RGPD / CNPD guidance).
 * ========================================================================= */
.consent-card {
  position:fixed; left:20px; bottom:20px; z-index:120; width:min(400px, calc(100vw - 40px));
  background:#0C2620; color:#E6F2EC; border:1px solid #244A3E; border-radius:20px;
  padding:22px 22px 18px; box-shadow:0 30px 60px -20px rgba(4,18,13,.55);
  font-size:14px; line-height:1.55;
}
.consent-card[hidden] { display:none; }
.consent-card::before { /* the tag's rivet */
  content:""; position:absolute; top:18px; right:18px; width:10px; height:10px; border-radius:50%;
  border:2px solid var(--green); box-shadow:0 0 0 4px rgba(57,230,181,.12);
}
.consent-card h2 { font-size:17px; font-weight:600; color:#fff; margin:0 0 8px; padding-right:28px; }
.consent-card p { margin:0; color:#CFE0D7; }
.consent-card a { color:var(--green); text-decoration:underline; }
.consent-prefs { margin:14px 0 2px; border-top:1px solid #244A3E; }
.consent-prefs[hidden] { display:none; }
.consent-row { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid #244A3E; }
.consent-row b { color:#fff; font-weight:600; display:block; }
.consent-row small { color:#A9C4B8; font-size:12.5px; }
.switch { position:relative; flex:none; width:42px; height:24px; }
.switch input { position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; z-index:1; }
.switch span { position:absolute; inset:0; border-radius:9999px; background:#2E5446; transition:background .2s var(--ease); }
.switch span::after { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .2s var(--ease); }
.switch input:checked + span { background:var(--green); }
.switch input:checked + span::after { transform:translateX(18px); }
.switch input:disabled + span { opacity:.6; }
.switch input:focus-visible + span { outline:2px solid var(--green); outline-offset:3px; }
.consent-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.consent-actions .btn { flex:1 1 0; padding:10px 14px; }
.consent-actions .btn-outline { color:#fff; border-color:rgba(255,255,255,.35); }
.consent-more { margin-top:10px; background:none; border:0; padding:0; color:#A9C4B8; font:inherit; font-size:13px; text-decoration:underline; cursor:pointer; }
@media (max-width:560px){ .consent-card { left:10px; right:10px; bottom:10px; width:auto; } }

/* =========================================================================
 * Social share row
 * ========================================================================= */
.share { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:28px; }
.share-lbl { font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--band-fg-muted); margin-right:4px; }
.share a, .share button {
  width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.28); color:#fff; background:transparent; cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.share a:hover, .share button:hover { background:var(--green); border-color:var(--green); color:#06261C; }
.share svg { width:17px; height:17px; }
.share-status { font-size:13px; color:var(--green); min-width:1px; }

/* =========================================================================
 * 404 — "no pole on this street yet": a lamppost whose light has gone out
 * ========================================================================= */
.nf { min-height:100vh; display:flex; align-items:center; background:
  radial-gradient(ellipse 50% 60% at 78% 30%, rgba(57,230,181,.10), transparent 70%), #0C2620; color:#fff; overflow:hidden; position:relative; }
.nf .wrap { width:100%; display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; padding-top:120px; padding-bottom:80px; }
.nf-code { font-size:clamp(90px,15vw,210px); font-weight:300; line-height:.9; letter-spacing:-.04em; color:transparent;
  -webkit-text-stroke:1.5px rgba(57,230,181,.55); margin:0 0 10px; }
.nf .display { font-size:clamp(34px,4vw,54px); }
.nf .lede { color:#DCEAE2; margin-top:20px; }
.nf-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.nf-links .btn-outline { color:#fff; border-color:rgba(255,255,255,.32); }
.nf-art { justify-self:center; width:min(320px,80%); }
.nf-art .bulb { animation:nf-flicker 5s steps(1) infinite; }
.nf-art .beam { animation:nf-beam 5s steps(1) infinite; }
@keyframes nf-flicker { 0%,8%{opacity:1} 9%{opacity:.2} 11%{opacity:1} 13%,100%{opacity:.15} }
@keyframes nf-beam { 0%,8%{opacity:.5} 9%{opacity:0} 11%{opacity:.5} 13%,100%{opacity:0} }
@media (prefers-reduced-motion:reduce){ .nf-art .bulb, .nf-art .beam { animation:none; } .nf-art .beam { opacity:0; } }
@media (max-width:860px){ .nf .wrap { grid-template-columns:1fr; } .nf-art { order:-1; width:160px; justify-self:start; } }
.consent-card [hidden] { display:none !important; }

/* ---- Footer: always dark forest green, in both themes (29 Sep 2026) ---- */
.footer, [data-theme="light"] .footer {
  background:#081C17; color:#fff;
  --band-fg:#ffffff; --band-fg-soft:#CFE0D7; --band-fg-muted:#93B3A6; --band-line:#244A3E; --band-fg-strong:#ffffff;
}
.footer .footer-top { border-bottom-color:#244A3E; }
.footer .footer-contact svg { color:var(--green); }
.footer-col a:hover, .footer-bottom .legal a:hover, .footer .linklike:hover { color:var(--green); }
/* footer always shows the white wordmark */
.footer .logo-on-dark, [data-theme="light"] .footer .logo-on-dark { display:block; }
.footer .logo-on-light, [data-theme="light"] .footer .logo-on-light { display:none; }

/* ---- Home: photos swapped — greenery-in-the-city on the hero, Sintra on Modules ---- */
.hero::before {
  background:url('assets/backgrounds/BK_green_02.webp') center 55%/cover no-repeat;
  background-size:cover; transform:none; background-attachment:scroll;
}
.hero::after {
  background:
    linear-gradient(90deg, rgba(7,28,22,.80) 0%, rgba(7,28,22,.50) 45%, rgba(7,28,22,.30) 100%),
    linear-gradient(180deg, rgba(7,28,22,.55) 0%, rgba(7,28,22,0) 30%, rgba(7,28,22,0) 70%, rgba(7,28,22,.6) 100%);
}
#modules::before { background:url('assets/backgrounds/BK_green_01.webp') center 40%/cover no-repeat; background-attachment:fixed; }
@media (max-width:840px), (hover:none) { #modules::before { background-attachment:scroll; } }

/* =========================================================================
 * PHOTO HEROES + PARALLAX (2 Oct 2026)
 * Technique: the photo is a position:fixed layer clipped by its section
 * (clip-path:inset(0) clips fixed children). It stays still while the page
 * scrolls over it — works on desktop AND mobile/iOS, unlike
 * background-attachment:fixed, and needs no JavaScript.
 * ========================================================================= */

/* ---- Home hero: darker + soft blur so the copy panel stands out ---- */
.hero { clip-path:inset(0); }
.hero::before {
  position:fixed; inset:-24px;               /* bleed hides the blurred edges */
  background:url('assets/backgrounds/BK_green_02.webp') center 55%/cover no-repeat;
  background-attachment:scroll; transform:none;
  filter:blur(4px) saturate(.9) brightness(.82);
}
.hero::after {
  background:
    linear-gradient(90deg, rgba(5,22,17,.90) 0%, rgba(5,22,17,.72) 42%, rgba(5,22,17,.48) 100%),
    linear-gradient(180deg, rgba(5,22,17,.60) 0%, rgba(5,22,17,.12) 30%, rgba(5,22,17,.12) 70%, rgba(5,22,17,.72) 100%);
}
.hero-copy { background:linear-gradient(180deg, rgba(10,36,29,.66), rgba(6,26,21,.74));
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }

/* ---- Sub-page heroes with a photo: about, contact, resources ---- */
.page-hero.has-photo { isolation:isolate; clip-path:inset(0); }
.page-hero.has-photo::before, #resources-hero::before, #about-hero::before, #contact-hero::before {
  content:""; position:fixed; inset:-24px; z-index:-3; pointer-events:none;
  background:var(--hero-img) center/cover no-repeat;
  background-attachment:scroll; background-size:cover;
  -webkit-mask-image:none; mask-image:none; opacity:1;
  filter:blur(2px) brightness(.9);
}
.page-hero.has-photo::after, #resources-hero::after, #about-hero::after, #contact-hero::after {
  content:""; position:absolute; inset:0; z-index:-2; width:auto; height:auto; right:0; bottom:0;
  background:
    linear-gradient(90deg, rgba(5,22,17,.88) 0%, rgba(5,22,17,.70) 50%, rgba(5,22,17,.52) 100%),
    linear-gradient(180deg, rgba(5,22,17,.35), rgba(5,22,17,.65));
}
#resources-hero { --hero-img:url('assets/backgrounds/SMP_JPEG2.webp'); }
#about-hero     { --hero-img:url('assets/backgrounds/BK_02.webp'); }
#contact-hero   { --hero-img:url('assets/backgrounds/BK_04.webp'); }

/* Respect "reduce motion": photo scrolls with the page instead */
@media (prefers-reduced-motion:reduce) {
  .hero::before, .page-hero.has-photo::before, #resources-hero::before, #about-hero::before, #contact-hero::before { position:absolute; inset:-24px; }
}

/* ---- 404: responsive fix (2 Oct 2026) ----
   The lamppost art was 672px tall on desktop and pushed the heading below the
   fold on phones. Now: art height tied to the viewport; on narrow screens it
   becomes a faint decoration behind the text, so the message comes first. */
.nf { min-height:100vh; min-height:100svh; }
.nf .wrap { position:relative; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  padding-top:clamp(104px,14vh,150px); padding-bottom:clamp(48px,8vh,96px); }
.nf .wrap > div { position:relative; z-index:1; min-width:0; }
.nf-code { font-size:clamp(72px,12vw,180px); }
.nf .display { font-size:clamp(30px,4vw,54px); max-width:16ch; }
.nf-art { width:auto; height:min(62vh,520px); max-width:100%; justify-self:center; }
@media (max-width:860px){
  .nf .wrap { grid-template-columns:1fr; }
  .nf-art { order:0; position:absolute; right:calc(var(--gutter) * -1); bottom:0; height:min(52vh,380px);
    width:auto; opacity:.28; z-index:0; pointer-events:none; }
}
@media (max-width:480px){
  .nf-links { flex-direction:column; align-items:stretch; }
  .nf-links .btn { justify-content:center; }
}

/* ---- Home CTA "Future-proof your urban infrastructure" — photo + parallax (2 Oct 2026)
   Overrides the light sage band only on the homepage (#demo); other pages keep it. */
#demo { clip-path:inset(0); color:#fff; background:#0C2620; }
#demo::before {
  display:block; content:""; position:fixed; inset:-24px; z-index:-3; pointer-events:none;
  background:url('assets/backgrounds/70D-0613.webp') center/cover no-repeat;
  background-attachment:scroll; filter:blur(2px) brightness(.88);
}
#demo::after {
  display:block; content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(5,22,17,.62), rgba(5,22,17,.82) 100%),
    linear-gradient(180deg, rgba(5,22,17,.45), rgba(5,22,17,.55));
}
#demo .h2 { color:#fff; }
#demo .h2 b { color:var(--green); }
#demo p { color:#DCEAE2; }
#demo .eyebrow { color:var(--green); }
#demo .eyebrow::before { background:var(--green); }
#demo .btn-outline { color:#fff; border-color:rgba(255,255,255,.4); }
#demo .btn-outline:hover { color:#fff; border-color:#fff; background:rgba(255,255,255,.08); }
@media (prefers-reduced-motion:reduce) { #demo::before { position:absolute; } }

/* =========================================================================
 * MOBILE SYSTEM (2 Oct 2026)
 * Tablet ≤1024: 32px margins. Phone ≤640: 16px margins + 4-column grid
 * (16px gaps). --col = one column; layouts below snap to it.
 * ========================================================================= */
@media (max-width:1024px){ :root { --gutter:32px; } }
@media (max-width:640px){
  :root { --gutter:16px; --m-gap:16px; --col:calc((100vw - 2 * var(--gutter) - 3 * var(--m-gap)) / 4); }
}

/* ---- Social: LinkedIn only (footer + mobile menu) ---- */
.social-li { display:inline-flex; align-items:center; gap:10px; min-height:40px; color:#fff; font-size:14px; }
.social-li svg { width:40px; height:40px; padding:11px; border:1px solid rgba(255,255,255,.3); border-radius:50%; flex:none;
  transition:border-color .15s var(--ease), color .15s var(--ease); }
.social-li:hover { color:var(--green); }
.social-li:hover svg { border-color:var(--green); }
.footer-social { margin-top:20px; }
.footer-social .social-li span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ---- Mobile menu: full-screen dark panel, left-aligned (both themes) ---- */
.mobile-menu, [data-theme="light"] .mobile-menu {
  top:0; padding-top:74px; background:#0C2620; border-top:0; color:#fff;
  overscroll-behavior:contain;
}
.menu-open .header, .menu-open .header.is-scrolled { background:#0C2620; box-shadow:none; border-bottom-color:rgba(255,255,255,.08); }
.mobile-menu .wrap { min-height:100%; display:flex; flex-direction:column; align-items:stretch;
  padding-top:20px; padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
.mobile-menu .mm-link, [data-theme="light"] .mobile-menu .mm-link {
  display:block; padding:9px 0; border:0; text-align:left;
  font-size:clamp(24px,7vw,30px); font-weight:300; line-height:1.15; letter-spacing:-.01em; color:#fff;
}
.mobile-menu .mm-link:hover { color:var(--green); }
.mobile-menu .mm-link.active { font-weight:500; color:var(--green); border:0; }
.mm-contact { margin-top:28px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; flex-direction:column; align-items:flex-start; gap:4px; font-size:15px; line-height:1.5; color:#DCEAE2; }
.mm-contact a { color:#fff; min-height:28px; display:inline-flex; align-items:center; }
.mm-contact a:hover { color:var(--green); }
.mm-contact p { margin:2px 0 10px; color:#A9C4B8; }
.mm-label { font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--green); margin-bottom:6px; }
.mobile-menu .mm-foot { margin-top:auto; padding-top:24px; display:flex; gap:12px; align-items:stretch; }
.mobile-menu .mm-foot .btn { flex:1; justify-content:center; min-height:48px; }
.mobile-menu .lang-dd-btn, [data-theme="light"] .mobile-menu .lang-dd-btn {
  min-height:48px; padding:0 16px; color:#fff; border:1px solid rgba(255,255,255,.4); border-radius:9999px; background:transparent; }

@media (max-width:640px){
  /* ---- Home hero: one glass box = one screen, 16px all round ---- */
  .hero { display:block; min-height:0; }
  .hero .wrap { padding:calc(74px + var(--gutter)) var(--gutter) var(--gutter); gap:var(--m-gap); }
  .hero-copy { min-height:calc(100svh - 74px - 2 * var(--gutter)); max-height:780px;
    display:flex; flex-direction:column; padding:24px 20px 20px; border-radius:20px; }
  .hero .eyebrow { font-size:11px; letter-spacing:.12em; }
  .hero .display { font-size:clamp(32px,9.4vw,40px); line-height:1.04; margin-top:14px; }
  .hero .lede { font-size:16px; line-height:1.5; margin-top:14px; }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:22px; }
  .hero-actions .btn { width:100%; justify-content:center; padding-left:12px; padding-right:12px; font-size:15px; min-height:48px; }
  .hero-meta { margin-top:auto; padding-top:18px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .hero-meta .stat-n { font-size:26px; }
  .hero-meta .stat-c { font-size:10.5px; letter-spacing:.06em; line-height:1.35; margin-top:6px; }

  /* ---- Hero visual: smaller chips; pole on column 1, chips on columns 2–4 ---- */
  .hero-visual { min-height:300px; height:300px; margin-top:var(--m-gap); }
  .hv-pole-wrap { left:calc(var(--col) / 2 - 24px); height:100%; }
  .hv-line { left:calc(var(--col) / 2); right:calc(3 * var(--col) + 2 * var(--m-gap)); }
  .hv-chip { width:calc(3 * var(--col) + 2 * var(--m-gap)); padding:8px 12px; gap:10px; border-radius:12px; }
  .hv-chip .hv-ic { width:28px; height:28px; }
  .hv-chip .hv-ic svg { width:14px; height:14px; }
  .hv-chip .hv-lbl { font-size:11px; letter-spacing:.06em; }
}
@media (max-width:360px){ .hero-actions { grid-template-columns:1fr; } }

/* ---- Deployments: swipe carousel on phones/tablets instead of a column ---- */
.snap-dots { display:none; }
@media (max-width:840px){
  .field-grid-3[data-snap] { display:flex; gap:var(--m-gap,16px); overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; scroll-padding-inline:var(--gutter);
    margin:32px calc(var(--gutter) * -1) 0; padding:0 var(--gutter) 4px; scrollbar-width:none; }
  .field-grid-3[data-snap]::-webkit-scrollbar { display:none; }
  .field-grid-3[data-snap] .field-card { flex:0 0 calc(100vw - 2 * var(--gutter) - 40px); max-width:420px; scroll-snap-align:start; }
  .field-grid-3[data-snap] .field-card img { height:min(110vw,440px); }
  .snap-dots { display:flex; justify-content:center; gap:8px; margin-top:16px; }
  .snap-dots button { width:8px; height:8px; padding:0; border:0; border-radius:9999px; background:var(--slate-300,#C9D3CE); cursor:pointer;
    transition:width .2s var(--ease), background .2s var(--ease); }
  .snap-dots button.is-active { width:24px; background:var(--green-ink); }
}
/* #field is a flex container: let its .wrap shrink so the carousel scrolls inside it */
.field > .wrap { min-width:0; width:100%; }
/* dots: 24px tap area, small visual mark */
@media (max-width:840px){
  .snap-dots { gap:0; }
  .snap-dots button, .snap-dots button.is-active { width:24px; height:24px; background:none; position:relative; }
  .snap-dots button::before { content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; border-radius:9999px;
    background:var(--slate-300,#C9D3CE); transform:translate(-50%,-50%); transition:width .2s var(--ease), background .2s var(--ease); }
  .snap-dots button.is-active::before { width:20px; background:var(--green-ink); }
}
