/* ==========================================================================
   Proeye Communications & Security Systems — design system
   Tokens are derived from the existing identity: the eye mark's colours and the
   navies already used on the Xara site. See docs/DESIGN-SYSTEM.md.
   ========================================================================== */

@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin-wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  /* Brand colour — from the Proeye eye mark and existing site */
  --night: #092131;      /* existing site deep navy */
  --navy: #0F344C;       /* existing site navy — primary */
  --navy-2: #173B53;     /* existing site navy, lighter */
  --steel: #4A6577;
  --eye: #EEEE9A;        /* eye mark iris — accent on dark */
  --olive: #C1C371;      /* eye mark iris shade */
  --olive-ink: #5B5E1C;  /* darkened iris for accents on light (7:1 on white) */
  --feather: #A8A9A1;    /* eye mark feather grey */
  --stone: #CCCCC2;      /* eye mark light feather */
  --ink: #231F20;        /* eye mark pupil */
  --paper: #F3F4F1;
  --paper-2: #E8E9E3;
  --white: #FFFFFF;
  --line: #D7D9D1;
  --line-dark: rgba(238, 238, 154, .16);
  --muted: #52575A;
  --muted-dark: #A9B7BF;

  /* Type */
  --font-display: "Raleway", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  --step-4: clamp(2.05rem, 1.35rem + 2.5vw, 3.3rem);
  --step-5: clamp(2.6rem, 1.5rem + 4.6vw, 4.9rem);

  /* Space & layout */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1240px;
  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4.5rem; --s8: clamp(4rem, 8vw, 7.5rem);
  --radius-s: 4px;
  --radius-m: 8px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 700ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  font-feature-settings: "kern", "lnum"; font-variant-numeric: lining-nums; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--olive-ink); }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--eye); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-display); color: var(--navy); margin: 0 0 .5em; font-weight: 650; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--step-5); line-height: 1.03; letter-spacing: -.025em; font-weight: 600; }
h2 { font-size: var(--step-4); letter-spacing: -.022em; font-weight: 600; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
li::marker { color: var(--olive-ink); }
strong { font-weight: 650; }
small { font-size: var(--step--1); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
address { font-style: normal; }
.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; }
.skip-link { position: absolute; left: var(--s3); top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: var(--s3); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s8); }
.section--tight { padding-block: var(--s7); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: #DCE4E8; }
.section--navy { background: var(--navy); color: #DCE4E8; }
.section + .section--rule { border-top: 1px solid var(--line); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.section--night h2, .section--night h3, .section--navy h2, .section--navy h3 { color: #fff; }
.on-dark a, .section--night a, .section--navy a { color: var(--eye); }
.on-dark a:hover, .section--night a:hover, .section--navy a:hover { color: #fff; }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.on-dark .lead, .section--night .lead, .section--navy .lead { color: var(--muted-dark); }
.kicker { font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); color: var(--olive-ink); margin-bottom: var(--s3); letter-spacing: .005em; }
.on-dark .kicker, .section--night .kicker, .section--navy .kicker { color: var(--eye); }
.muted { color: var(--muted); }
.note { font-size: var(--step--1); color: var(--muted); max-width: 80ch; }
.on-dark .note, .section--night .note, .on-dark .figure-caption, .section--night .figure-caption { color: var(--muted-dark); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
.section-head > *:last-child { margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; max-width: 22ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 5fr 6fr; align-items: end; column-gap: var(--s7); }
  .section-head--split .lead { margin-bottom: .35em; }
}

.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .split--wide-text { grid-template-columns: 7fr 5fr; }
  .split--wide-media { grid-template-columns: 5fr 7fr; }
  .split--top { align-items: start; }
  .split--reverse > :first-child { order: 2; }
}

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stack > * + * { margin-top: var(--s4); }

/* ---------- Buttons ---------- */
.btn, a.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .75rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 650; font-size: 1rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover, var(--night)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
a.btn:hover, .btn:hover { color: var(--btn-fg-hover, #fff); border-color: var(--btn-hover, var(--night)); }
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn.btn--accent { --btn-bg: var(--eye); --btn-fg: var(--night); --btn-bd: var(--eye); --btn-hover: #fff; --btn-fg-hover: var(--night); }
.btn.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); --btn-hover: var(--navy); }
.btn.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); --btn-hover: #fff; --btn-fg-hover: var(--night); }
.btn.btn--small { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 650; text-decoration: none; color: var(--navy); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size var(--t-med) var(--ease-out), color var(--t-fast); }
.text-link:hover { background-size: 100% 1.5px; color: var(--navy); }
.text-link svg { width: 1em; height: 1em; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.on-dark .text-link, .section--night .text-link, .section--navy .text-link { color: var(--eye); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(9,33,49,.45); }
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy); margin-right: auto; flex: none; }
.brand img { width: 84px; height: auto; aspect-ratio: 102 / 50; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; font-family: var(--font-display); }
.brand-name { font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em; color: var(--navy); }
.brand-sub { font-weight: 550; font-size: .74rem; color: var(--muted); letter-spacing: .01em; }
.brand:hover .brand-name { color: var(--navy); }

.primary-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { margin: 0; position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem; height: 44px; padding: 0 .8rem; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--navy); text-decoration: none; border-radius: var(--radius-s);
  position: relative;
}
.nav-link::after, .nav-trigger::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.nav-link:hover::after, .nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after, [aria-current="page"].nav-link::after, .nav-item.is-current > .nav-trigger::after { transform: scaleX(1); }
.nav-link:hover, .nav-trigger:hover { color: var(--navy); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform var(--t-med) var(--ease-out); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -.5rem; min-width: 330px; padding: .6rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 24px 48px -24px rgba(9,33,49,.4);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-trigger[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease-out), visibility 0s; }
.dropdown li { margin: 0; }
.dropdown a { display: grid; gap: .1rem; padding: .65rem .8rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); transition: background var(--t-fast); }
.dropdown a:hover, .dropdown a:focus-visible, .dropdown a[aria-current="page"] { background: var(--paper); }
.dropdown a strong { font-family: var(--font-display); font-weight: 650; color: var(--navy); font-size: .98rem; }
.dropdown a span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.header-phone { display: none; font-family: var(--font-display); font-weight: 650; color: var(--navy); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--olive-ink); }
a.header-cta { display: none; }

.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 650; font-size: .95rem; cursor: pointer; }
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast); }
.menu-toggle .bars span:nth-child(1) { top: 0; } .menu-toggle .bars span:nth-child(2) { top: 5px; } .menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1120px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
  a.header-cta { display: inline-flex; }
}
@media (min-width: 1280px) { .header-phone { display: inline; } }
@media (max-width: 420px) { .brand-sub { display: none; } .brand img { width: 70px; } .brand-name { font-size: 1.2rem; } }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #fff; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med); }
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out), visibility 0s; }
.mobile-nav .container { padding-block: var(--s4) var(--s7); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; color: var(--navy); cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 14px; height: 14px; transition: transform var(--t-med) var(--ease-out); }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav ul { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.mobile-nav li a { display: block; padding: .6rem 0 .6rem .9rem; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.mobile-nav li a[aria-current="page"] { border-left-color: var(--olive); font-weight: 650; color: var(--navy); }
.mobile-nav .mobile-link { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; color: var(--navy); text-decoration: none; }
.mobile-nav .mobile-contact { margin-top: var(--s5); display: grid; gap: var(--s3); }
.mobile-nav .mobile-contact .btn { justify-content: center; }
body.nav-open { overflow: hidden; }

/* ---------- Notices ---------- */
.notice { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border: 1px solid #D9C96B; background: #FBF8E4; border-left: 5px solid #B8A33A; border-radius: var(--radius-s); color: var(--ink); }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; color: #7A6A12; }
.notice p { margin: 0; }
.notice strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: .2rem; }

/* ---------- Home hero ---------- */
.hero { --spectrum-h: clamp(110px, 14vw, 200px); position: relative; overflow: hidden; background: var(--night); color: #DCE4E8; isolation: isolate; }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(2.75rem, 5.5vw, 5rem) calc(var(--spectrum-h) + clamp(1rem, 2vw, 2rem)); display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 7fr 4fr; align-items: end; } }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: var(--s4); font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.4rem); }
.hero .lead { color: #B9C7CF; max-width: 54ch; }
.hero .btn-row { margin-top: var(--s5); }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); align-self: end; }
.hero-facts li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s3); align-items: baseline; }
.hero-facts b { font-family: var(--font-display); font-weight: 600; color: var(--eye); font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hero-facts span { font-size: .95rem; color: #C3CFD6; line-height: 1.45; }
.spectrum { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: var(--spectrum-h); pointer-events: none; }
.spectrum svg { width: 100%; height: 100%; }
.spectrum .grid-line { stroke: rgba(169,183,191,.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spectrum .trace { fill: none; stroke: var(--eye); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spectrum .trace-fill { fill: url(#traceFill); }
.spectrum .peak-hold { fill: none; stroke: rgba(193,195,113,.45); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.spectrum .marker { stroke: rgba(238,238,154,.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spectrum-legend { position: absolute; z-index: 2; right: var(--gutter); bottom: calc(var(--spectrum-h) - 1.6rem); margin: 0; font-size: .75rem; color: rgba(185,199,207,.75); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .spectrum-legend { display: none; } }

/* Hero entrance (one orchestrated sequence) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-enter] { opacity: 0; transform: translateY(14px); animation: enter .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
  .js .spectrum .trace, .js .spectrum .trace-fill, .js .spectrum .peak-hold { opacity: 0; animation: fadein 1.2s ease forwards .5s; }
  .js .spectrum .trace { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); opacity: 1; animation: draw 2.2s var(--ease-io) forwards .35s; }
}
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Credential strip under hero */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; gap: var(--s4); padding-block: var(--s5); align-items: center; }
@media (min-width: 900px) { .trust-inner { grid-template-columns: auto 1fr; gap: var(--s6); } }
.trust-inner p { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--navy); max-width: 26ch; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero-inner { display: grid; gap: var(--s6); padding-block: clamp(3rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 1000px) { .page-hero-inner { grid-template-columns: 1fr 1fr; gap: var(--s7); } .page-hero--text .page-hero-inner { grid-template-columns: 8fr 4fr; } }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; margin-bottom: var(--s4); }
.page-hero .lead { margin-bottom: var(--s4); }
.page-hero--dark { background: var(--night); border-bottom: 0; color: #DCE4E8; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--muted-dark); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; color: var(--muted); }
.breadcrumb li { margin: 0; display: inline-flex; gap: .4rem; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--feather); border-top: 1.5px solid var(--feather); transform: rotate(45deg); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.page-hero--dark .breadcrumb, .page-hero--dark .breadcrumb a { color: var(--muted-dark); }
.page-hero .anchor-nav { margin-top: var(--s4); }

.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.anchor-nav li { margin: 0; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 600; transition: border-color var(--t-fast), background var(--t-fast); }
.anchor-nav a:hover { border-color: var(--navy); background: var(--white); color: var(--navy); }

/* ---------- Diagrams (explanatory technical graphics) ---------- */
.diagram { width: 100%; height: auto; overflow: visible; }
.diagram text { font-family: var(--font-body); fill: var(--ink); font-size: 13px; }
.diagram .dg-label { font-family: var(--font-display); font-weight: 650; fill: var(--navy); font-size: 14px; }
.diagram .dg-small { fill: var(--muted); font-size: 11.5px; }
.diagram .dg-line { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.diagram .dg-line--soft { stroke: var(--feather); stroke-dasharray: 3 4; }
.diagram .dg-line--accent { stroke: var(--olive-ink); }
.diagram .dg-box { fill: #fff; stroke: var(--navy); stroke-width: 1.5; }
.diagram .dg-box--fill { fill: var(--navy); stroke: var(--navy); }
.diagram .dg-box--fill + text, .diagram .dg-on-fill { fill: #fff; }
.diagram .dg-area { fill: rgba(193,195,113,.12); stroke: none; }
.diagram .dg-ring { fill: none; stroke: var(--olive); stroke-width: 1.2; }
.diagram .dg-node { fill: var(--eye); stroke: var(--navy); stroke-width: 1.5; }
.diagram .dg-wall { fill: none; stroke: var(--steel); stroke-width: 2; }
.diagram .dg-thin { fill: none; stroke: var(--feather); stroke-width: 1; }
.on-dark .diagram text, .page-hero--dark .diagram text { fill: #DCE4E8; }
.on-dark .diagram .dg-label, .page-hero--dark .diagram .dg-label { fill: #fff; }
.on-dark .diagram .dg-small, .page-hero--dark .diagram .dg-small { fill: var(--muted-dark); }
.on-dark .diagram .dg-line, .page-hero--dark .diagram .dg-line { stroke: var(--eye); }
.on-dark .diagram .dg-box, .page-hero--dark .diagram .dg-box { fill: var(--navy-2); stroke: rgba(238,238,154,.55); }
@media (prefers-reduced-motion: no-preference) {
  .js .diagram [data-draw] { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 1.4s var(--ease-io); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .diagram.is-in [data-draw] { stroke-dashoffset: 0; }
  .js .diagram [data-pop] { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s ease, transform .6s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 300ms); }
  .js .diagram.is-in [data-pop] { opacity: 1; transform: none; }
  .js .diagram .dg-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s ease-out infinite; animation-delay: calc(var(--d, 0) * 600ms); }
}
@keyframes pulse { 0% { opacity: .9; transform: scale(.35); } 80%, 100% { opacity: 0; transform: scale(1); } }
.figure-caption { font-size: .85rem; color: var(--muted); margin-top: var(--s3); max-width: 60ch; }

/* ---------- Reveal (applied sparingly via data-reveal) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Capability rows (homepage services) ---------- */
.capabilities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.capabilities li { margin: 0; border-bottom: 1px solid var(--line); }
.cap-row { display: grid; gap: var(--s2) var(--s5); padding: var(--s5) 0; text-decoration: none; color: var(--ink); position: relative; align-items: center; }
@media (min-width: 900px) { .cap-row { grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr) 3rem; padding: var(--s5) var(--s3); } }
.cap-row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-med) var(--ease-out); z-index: -1; }
.capabilities li { position: relative; isolation: isolate; }
.cap-row:hover::before, .cap-row:focus-visible::before { transform: scaleY(1); }
.cap-icon { width: 48px; height: 48px; color: var(--navy); }
.cap-icon svg { width: 100%; height: 100%; }
.cap-row h3 { margin: 0; font-size: var(--step-3); font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.cap-row p { margin: 0; color: var(--muted); }
.cap-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: none; place-items: center; color: var(--navy); transition: background var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out); }
@media (min-width: 900px) { .cap-arrow { display: grid; } }
.cap-arrow svg { width: 18px; height: 18px; }
.cap-row:hover .cap-arrow { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateX(4px); }
.cap-row:hover h3 { color: var(--navy); }

/* ---------- Feature list (rule-topped columns, not cards) ---------- */
.features { display: grid; gap: var(--s6) var(--s5); }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature { border-top: 2px solid var(--navy); padding-top: var(--s4); }
.section--night .feature, .section--navy .feature { border-top-color: var(--eye); }
.feature h3 { font-size: var(--step-1); margin-bottom: .55rem; letter-spacing: -.01em; }
.feature p, .feature ul { font-size: .98rem; color: var(--muted); }
.section--night .feature p, .section--night .feature li, .section--navy .feature p, .section--navy .feature li { color: #B9C7CF; }
.feature ul { padding-left: 1.1em; margin-bottom: 0; }
.feature-icon { display: block; width: 36px; height: 36px; color: var(--olive-ink); margin-bottom: var(--s3); }
.section--night .feature-icon, .section--navy .feature-icon { color: var(--eye); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .55rem; }
.checks li { margin: 0; padding-left: 1.9rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%230F344C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.section--night .checks li::before, .section--navy .checks li::before, .on-dark .checks li::before { background-color: rgba(238,238,154,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%23EEEE9A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); column-gap: var(--s5); }

/* Chips (environments, sectors) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { margin: 0; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; color: var(--navy); font-weight: 600; }
.section--paper .chips li { background: #fff; }
.section--night .chips li, .section--navy .chips li { background: transparent; border-color: rgba(238,238,154,.3); color: #E6EDF0; }

/* ---------- Steps (genuine sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s5); }
@media (min-width: 800px) { .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { margin: 0; counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: 0; height: 1.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
@media (max-width: 799px) { .steps li::after { display: none; } }
.steps h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
.section--night .steps li::before { background: var(--eye); color: var(--night); }
.section--night .steps li::after { background: var(--line-dark); }
.section--night .steps p { color: #B9C7CF; }

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--contain { background: var(--paper); padding: var(--s5); }
.media--contain img { object-fit: contain; }
.media figcaption, figure > figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
figure { margin: 0; }
.tag-illustrative { position: absolute; left: .75rem; top: .75rem; background: rgba(9,33,49,.82); color: #fff; font-size: .75rem; padding: .25rem .55rem; border-radius: 3px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.photo-pair .media:nth-child(2) { margin-top: var(--s6); }
.photo-trio { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .photo-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Stat line (verified facts only) ---------- */
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .fact + .fact { padding-left: var(--s4); border-left: 1px solid var(--line); } }
.fact b { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: .95rem; }
.section--night .facts, .section--night .fact, .section--night .fact + .fact { border-color: rgba(255, 255, 255, .16); }
.section--night .fact b { color: #fff; }
.section--night .fact span { color: var(--muted-dark); }

/* ---------- Timeline (About) ---------- */
.timeline { --tl: 7rem; list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: var(--tl); top: .5rem; bottom: .5rem; width: 1.5px; background: var(--line); }
.timeline li { margin: 0; display: grid; grid-template-columns: var(--tl) 1fr; gap: var(--s5); padding-bottom: var(--s5); position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(var(--tl) - 5px); top: .55rem; width: 11px; height: 11px; border-radius: 50%; background: var(--eye); border: 2px solid var(--navy); }
.timeline b { font-family: var(--font-display); font-size: var(--step-1); padding-right: 1.2rem; color: var(--navy); font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.timeline div { padding-left: var(--s3); }
.timeline h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Team ---------- */
.leader { display: grid; gap: var(--s5); align-items: start; padding-block: var(--s6); border-top: 1px solid var(--line); }
@media (min-width: 800px) { .leader { grid-template-columns: 220px 1fr; gap: var(--s7); } }
.leader img { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--paper-2); }
.leader h2, .leader h3 { font-size: var(--step-3); margin-bottom: .2rem; }
.role { font-family: var(--font-display); font-weight: 600; color: var(--olive-ink); margin-bottom: var(--s4); }
.team-grid { display: grid; gap: var(--s6) var(--s5); }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { display: grid; grid-template-columns: 112px 1fr; gap: var(--s4); align-items: start; padding-top: var(--s5); border-top: 1px solid var(--line); }
.person img { width: 112px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--paper-2); }
.person h3 { font-size: var(--step-1); margin-bottom: .1rem; }
.person .role { font-size: .95rem; margin-bottom: var(--s3); }
.person p { font-size: .97rem; color: var(--muted); }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.products { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out); scroll-margin-top: calc(var(--header-h) + 1rem); }
.product:hover { border-color: var(--feather); box-shadow: 0 20px 40px -28px rgba(9,33,49,.5); transform: translateY(-3px); }
.product:target { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(193,195,113,.35); }
.product-img { aspect-ratio: 1100 / 435; background: var(--paper); display: grid; place-items: center; padding: var(--s3); overflow: hidden; }
.product-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform var(--t-slow) var(--ease-out); }
.product:hover .product-img img { transform: scale(1.04); }
.product-body { padding: var(--s4) var(--s4) var(--s5); display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: .4rem; }
.product h3 { font-size: var(--step-2); margin: 0; letter-spacing: -.01em; }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; padding: .2rem .55rem; border-radius: 3px; background: var(--paper-2); color: var(--navy); white-space: nowrap; }
.badge--accent { background: rgba(193,195,113,.28); color: #3F4110; }
.product .subtitle { font-family: var(--font-display); font-weight: 600; color: var(--olive-ink); margin-bottom: .6rem; }
.product p { font-size: .96rem; color: var(--muted); }
.product ul { font-size: .95rem; padding-left: 1.1em; margin-bottom: var(--s3); }
.product .ports { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: .9rem; color: var(--navy); font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.product .ports svg { width: 18px; height: 18px; color: var(--olive-ink); }
.product-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s4); }

/* Feature product (large) */
.product-feature { display: grid; gap: var(--s6); align-items: start; padding-block: var(--s7); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.product-feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 950px) { .product-feature { grid-template-columns: 5fr 7fr; gap: var(--s7); } .product-feature--flip { grid-template-columns: 7fr 5fr; } .product-feature--flip > :first-child { order: 2; } }
.product-feature .media--contain { aspect-ratio: 1 / 1; display: grid; place-items: center; }
.product-feature .media--contain img { max-height: 100%; }
.product-feature h2 { font-size: var(--step-3); }
.doc-links { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: .5rem; }
.doc-links li { margin: 0; }
.doc-links a { display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; transition: border-color var(--t-fast), background var(--t-fast); }
.doc-links a:hover { border-color: var(--navy); background: var(--paper); color: var(--navy); }
.doc-links svg { width: 22px; height: 22px; flex: none; color: var(--olive-ink); }
.doc-links small { color: var(--muted); font-weight: 400; margin-left: auto; white-space: nowrap; }

/* Tier cards (repeater hub configs) */
.tiers { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tier { border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius-s); padding: var(--s4); background: #fff; display: flex; flex-direction: column; }
.tier:first-child { border-top-color: var(--olive); }
.tier h3 { font-size: var(--step-1); margin-bottom: .1rem; }
.tier .subtitle { font-size: .9rem; font-weight: 650; color: var(--olive-ink); font-family: var(--font-display); margin-bottom: .7rem; }
.tier p { font-size: .92rem; color: var(--muted); }
.tier .text-link { margin-top: auto; font-size: .95rem; }

/* ---------- Spec & comparison tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.table-wrap:focus-visible { outline-offset: 2px; }
.spec-table th, .spec-table td, .compare th, .compare td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table tr:last-child > *, .compare tbody tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 42%; font-weight: 600; color: var(--navy); background: var(--paper); font-family: var(--font-display); }
.compare { min-width: 760px; }
.compare caption { text-align: left; padding: 1rem; font-family: var(--font-display); font-weight: 650; color: var(--navy); border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 650; border-bottom: 0; }
.compare tbody th { font-family: var(--font-display); font-weight: 650; color: var(--navy); white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: #FAFBF8; }
.compare tbody tr:hover { background: var(--paper); }

/* Two-up callouts */
.callouts { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .callouts { grid-template-columns: 1fr 1fr; } }
.callout { padding: var(--s5); border-radius: var(--radius-m); background: var(--paper); }
.callout h3 { font-size: var(--step-1); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Catalogue ---------- */
.catalogue-tools { display: grid; gap: var(--s4); margin-bottom: var(--s5); position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .catalogue-tools { grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; } }
.search { position: relative; }
.search svg { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 48px; padding: .6rem 1rem .6rem 2.6rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(193,195,113,.45); }
.filters { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.filter { flex: none; min-height: 40px; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalogue-count { font-size: .9rem; color: var(--muted); margin: 0 0 var(--s4); }
.cat-group { margin-bottom: var(--s6); }
.cat-group[hidden] { display: none; }
.cat-group h3 { font-size: var(--step-2); display: flex; align-items: baseline; gap: .6rem; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.cat-group h3 small { font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .85rem; }
.cat-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.cat-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-med); scroll-margin-top: calc(var(--header-h) + 6rem); }
.cat-item[hidden] { display: none; }
.cat-item:hover { border-color: var(--feather); box-shadow: 0 16px 30px -24px rgba(9,33,49,.55); }
.cat-item button.cat-zoom { padding: 0; border: 0; background: var(--paper); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; display: block; width: 100%; }
.cat-item button.cat-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.cat-item:hover button.cat-zoom img { transform: scale(1.05); }
.cat-body { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.cat-body h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 650; line-height: 1.35; color: var(--ink); margin: 0; letter-spacing: 0; }
.cat-body .sku { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-body .cat-enquire { margin-top: auto; padding-top: .4rem; font-size: .88rem; }
.empty-state { padding: var(--s6); text-align: center; border: 1px dashed var(--feather); border-radius: var(--radius-m); color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(9,33,49,.88); }
.lightbox[open] { animation: lb-in var(--t-med) var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lightbox figure { background: #fff; border-radius: var(--radius-m); overflow: hidden; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox figcaption { padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); font-weight: 600; margin: 0; }
.lightbox-close { min-height: 40px; padding: .4rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--navy); font: inherit; font-weight: 650; cursor: pointer; }
.lightbox-close:hover { border-color: var(--navy); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.gallery-item--wide { grid-column: span 2; }
@media (max-width: 600px) { .gallery-item--wide { grid-column: auto; } }
.gallery-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-item button:focus-visible { outline: 3px solid var(--olive); outline-offset: -3px; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.gallery-item--contain img { object-fit: contain; padding: var(--s4); background: var(--paper); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .8rem; background: linear-gradient(transparent, rgba(9,33,49,.82)); color: #fff; font-size: .9rem; font-weight: 600; margin: 0; }
.gallery-item--contain figcaption { position: static; background: none; color: var(--ink); padding: 0 .9rem .9rem; }

/* ---------- Policies ---------- */
.doc-layout { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s7); } }
.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.toc h2 { font-size: 1rem; font-family: var(--font-display); color: var(--muted); margin-bottom: var(--s3); letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -1.5px; border-left: 1.5px solid transparent; text-decoration: none; color: var(--muted); font-size: .95rem; line-height: 1.4; transition: color var(--t-fast), border-color var(--t-fast); }
.toc a:hover, .toc a.is-active { color: var(--navy); border-left-color: var(--olive); }
.policy { padding-bottom: var(--s6); margin-bottom: var(--s6); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.policy:last-child { border-bottom: 0; }
.policy h2 { font-size: var(--step-3); display: flex; gap: .8rem; align-items: baseline; }
.policy h2 span { font-variant-numeric: tabular-nums; color: var(--olive-ink); font-size: .7em; }
.policy h3 { font-size: var(--step-1); margin-top: var(--s4); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--s7); } }
.contact-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-methods li { margin: 0; border-bottom: 1px solid var(--line); }
.contact-methods a, .contact-methods div { display: grid; grid-template-columns: 2.6rem 1fr; gap: var(--s3); align-items: center; padding: var(--s4) 0; text-decoration: none; color: var(--ink); }
.contact-methods svg { width: 26px; height: 26px; color: var(--olive-ink); }
.contact-methods b { display: block; font-family: var(--font-display); font-weight: 650; color: var(--navy); font-size: 1.1rem; }
.contact-methods span { color: var(--muted); font-size: .92rem; }
.contact-methods a:hover b { text-decoration: underline; text-underline-offset: .2em; }
.section--night .contact-methods, .section--night .contact-methods li { border-color: var(--line-dark); }
.section--night .contact-methods b { color: #fff; }
.section--night .contact-methods span, .section--night .contact-methods a, .section--night .contact-methods div { color: #B9C7CF; }
.section--night .contact-methods svg { color: var(--eye); }

.form { display: grid; gap: var(--s4); padding: var(--s5); border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); }
.section--paper .form { border-color: transparent; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .92rem; color: var(--navy); font-family: var(--font-display); }
.field .opt { font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(193,195,113,.45); }
.field input[aria-invalid="true"] { border-color: #A3261B; }
.field-error { color: #A3261B; font-size: .85rem; min-height: 0; }
.form-note { font-size: .88rem; color: var(--muted); margin: .6rem 0 0; }
.form-status { font-size: .95rem; font-weight: 600; color: var(--navy); margin: .4rem 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: #DCE4E8; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle at 92% 120%, rgba(238,238,154,.14), transparent 42%),
  repeating-radial-gradient(circle at 92% 120%, transparent 0 46px, rgba(238,238,154,.06) 46px 47px); }
.cta-inner { display: grid; gap: var(--s5); padding-block: clamp(3.5rem, 7vw, 6rem); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 7fr 5fr; gap: var(--s7); } }
.cta-band h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; margin-bottom: var(--s3); }
.cta-band p { color: #B9C7CF; margin: 0; }
.cta-actions { display: grid; gap: var(--s3); justify-items: start; }
@media (min-width: 900px) { .cta-actions { justify-items: end; } }
.cta-band a.cta-phone { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; color: #fff; text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cta-band a.cta-phone:hover { color: var(--eye); }

/* ---------- Logo system ---------- */
.logo-wall { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.logo-wall--inline { display: flex; flex-wrap: wrap; gap: var(--s3); }
.logo-tile { --tile-h: 112px; --logo-max-h: 64px; --logo-max-w: 78%;
  margin: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; height: auto; min-height: var(--tile-h); padding: var(--s3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); text-align: center; }
.logo-tile img { max-height: var(--logo-max-h); max-width: var(--logo-max-w); width: auto; height: auto; object-fit: contain; }
.logo-tile figcaption { font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: .55rem; }
.logo-tile--compact { --tile-h: 84px; --logo-max-h: 56px; min-width: 150px; padding: .7rem 1rem; }
.logo-tile--compact figcaption { display: none; }
.logo-tile--lg { --tile-h: 168px; --logo-max-h: 96px; }
.logo-tile--plate { background: #fff; border-color: transparent; }
.on-dark .logo-tile, .section--night .logo-tile, .site-footer .logo-tile { border-color: transparent; }
.logo-tile--ghost { background: var(--paper); border-style: dashed; border-color: var(--feather); color: var(--muted); font-size: .85rem; }
.brand-plate { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: #fff; border-radius: var(--radius-m); }
.brand-plate img { width: 92px; height: auto; }
.brand-plate .brand-name { font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #B9C7CF; font-size: .95rem; }
.footer-top { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); } }
.footer-brand p { margin-top: var(--s4); max-width: 34ch; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: var(--s3); font-weight: 650; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .45rem; }
.site-footer a { color: #DCE4E8; text-decoration: none; }
.site-footer a:hover { color: var(--eye); text-decoration: underline; text-underline-offset: .2em; }
.footer-contact address { line-height: 1.7; }
.footer-contact .big { font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
.footer-creds { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; font-size: .85rem; color: #93A6B1; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer-bottom a { color: #B9C7CF; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mb-5 { margin-bottom: var(--s5); }
.center { text-align: center; }
.maxw-60 { max-width: 60ch; }

@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer, .spectrum, .btn, .catalogue-tools { display: none !important; }
  body { color: #000; } a { color: #000; }
  .section { padding-block: 1.5rem; }
}

/* Product card image variants */
.product-img--cover { padding: 0; }
.product-img--cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.product-img--top img { object-position: 50% 15%; }
.product-img--white { background: #fff; border-bottom: 1px solid var(--line); }
.product .text-link { margin-top: auto; }
.feature-icon svg, .cap-icon svg { width: 100%; height: 100%; }
.media--landscape img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Two-column analysis lists (definition lists) */
.analysis { display: grid; gap: var(--s5); margin-top: var(--s4); }
@media (min-width: 850px) { .analysis { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.analysis h4 { padding-bottom: var(--s3); border-bottom: 2px solid var(--navy); margin-bottom: 0; }
.analysis dl { margin: 0; }
.analysis dt { font-weight: 650; color: var(--navy); padding-top: var(--s3); }
.analysis dd { margin: 0; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .97rem; }

/* Code samples (logo system reference page) */
pre.code { background: var(--night); color: #DCE4E8; padding: var(--s4); border-radius: var(--radius-m); overflow-x: auto; font-size: .85rem; line-height: 1.55; margin: var(--s4) 0 0; }
code { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .9em; }
:not(pre) > code { background: var(--paper-2); padding: .1em .35em; border-radius: 3px; color: var(--navy); }
.section--night :not(pre) > code { background: rgba(255,255,255,.1); color: #fff; }
.logo-tile .brand-text { text-align: left; white-space: nowrap; }
.split > *, .contact-grid > *, .doc-layout > *, .page-hero-inner > *, .section-head > * { min-width: 0; }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .cat-body { padding: .6rem .7rem .8rem; }
  .cat-body h4 { font-size: .86rem; }
  .product-feature .media--contain { aspect-ratio: auto; padding: var(--s4); }
  .cat-group h3 { flex-wrap: wrap; }
}

/* ==========================================================================
   City + signal visual language (owner's skyline backdrop, graded to navy)
   ========================================================================== */
.hero-city { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-city img, .hero-city .signal-rings { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-city::after { content: ""; position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, rgba(9,33,49,.97) 0%, rgba(9,33,49,.88) 34%, rgba(9,33,49,.45) 64%, rgba(9,33,49,.25) 100%),
  linear-gradient(0deg, rgba(9,33,49,.95) 0%, rgba(9,33,49,0) 36%),
  linear-gradient(180deg, rgba(9,33,49,.6) 0%, rgba(9,33,49,0) 28%); }
@media (max-width: 999px) { .hero-city::after { background: linear-gradient(180deg, rgba(9,33,49,.78) 0%, rgba(9,33,49,.92) 52%, rgba(9,33,49,.97) 100%); } }
.signal-rings { z-index: 1; overflow: visible; }
.signal-rings .ring { fill: none; stroke: var(--eye); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.signal-rings .ring-core { fill: var(--eye); }
.signal-rings .link { fill: none; stroke: rgba(238,238,154,.55); stroke-width: 1.2; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .signal-rings .ring { animation: ring 5.4s cubic-bezier(.2,.6,.3,1) infinite; animation-delay: calc(var(--d, 0) * 1.35s + 1.2s); }
  .signal-rings .link { animation: dash 2.4s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .signal-rings .ring { opacity: .3; } }
@keyframes ring { 0% { transform: scale(.15); opacity: .9; } 70% { opacity: .14; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
.hero .hero-inner { z-index: 3; }
.hero .spectrum { z-index: 3; }
.hero .spectrum-legend { z-index: 4; }

/* Waveform along the base of inner page heroes */
.page-hero { isolation: isolate; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: -1px; width: calc(100% + 480px); height: 40px; z-index: -1; pointer-events: none; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='40' viewBox='0 0 480 40'%3E%3Cpath d='M0 26 C40 26 40 10 80 10 S120 26 160 26 200 4 240 4 280 26 320 26 360 16 400 16 440 26 480 26' fill='none' stroke='%23C1C371' stroke-width='1.4'/%3E%3Cpath d='M0 32 C60 32 60 22 120 22 S180 32 240 32 300 22 360 22 420 32 480 32' fill='none' stroke='%23A8A9A1' stroke-width='1' stroke-dasharray='2 5'/%3E%3C/svg%3E") repeat-x 0 100% / 480px 40px; }
.page-hero--dark::after { opacity: .45; }
@media (prefers-reduced-motion: no-preference) { .page-hero::after { animation: drift 26s linear infinite; } }
@keyframes drift { to { transform: translateX(-480px); } }

/* City variant of the page hero */
.page-hero--city { background: var(--night); color: #DCE4E8; border-bottom: 0; }
.page-hero--city .city-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--city .city-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.page-hero--city .city-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,33,49,.96) 0%, rgba(9,33,49,.84) 45%, rgba(9,33,49,.45) 100%), linear-gradient(0deg, rgba(9,33,49,.9) 0%, rgba(9,33,49,0) 50%); }
@media (max-width: 999px) { .page-hero--city .city-bg::after { background: rgba(9,33,49,.86); } }
.page-hero--city h1 { color: #fff; }
.page-hero--city .lead { color: #B9C7CF; }
.page-hero--city .breadcrumb, .page-hero--city .breadcrumb a { color: var(--muted-dark); }
.page-hero--city::after { opacity: .4; }
.page-hero--city .anchor-nav a { background: rgba(255,255,255,.06); border-color: rgba(238,238,154,.3); color: #fff; }
.page-hero--city .anchor-nav a:hover { background: rgba(255,255,255,.14); border-color: var(--eye); color: #fff; }

/* Skyline behind every closing call to action */
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(9,33,49,.97) 0%, rgba(9,33,49,.9) 48%, rgba(9,33,49,.6) 100%), url("../img/brand-skyline-1280.webp") 70% 100% / cover no-repeat; }
@media (min-width: 1300px) { .cta-band::after { background: linear-gradient(90deg, rgba(9,33,49,.97) 0%, rgba(9,33,49,.9) 48%, rgba(9,33,49,.58) 100%), url("../img/brand-skyline-2560.webp") 70% 100% / cover no-repeat; } }

/* ==========================================================================
   Projects
   ========================================================================== */
.project-meta { font-size: .85rem; font-weight: 600; color: var(--olive-ink); margin: 0 0 .35rem; letter-spacing: .01em; font-family: var(--font-display); }
.on-dark .project-meta, .section--night .project-meta, .page-hero--city .project-meta { color: var(--eye); }
.project-cards { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .project-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -30px rgba(9,33,49,.6); border-color: var(--feather); color: inherit; }
.project-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-card-body { padding: var(--s4) var(--s4) var(--s5); display: flex; flex-direction: column; flex: 1; }
.project-card-body h3 { font-size: var(--step-2); margin-bottom: .45rem; }
.project-card-body p { color: var(--muted); font-size: .96rem; }
.project-card .text-link { margin-top: auto; }
.section--night .project-card { background: var(--navy-2); border-color: transparent; }
.section--night .project-card-body h3 { color: #fff; }
.section--night .project-card-body p { color: #B9C7CF; }

.project-strip { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .project-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-strip-item { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-m); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.project-strip-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.project-strip-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,33,49,.92) 0%, rgba(9,33,49,.1) 62%); }
.project-strip-item:hover img { transform: scale(1.05); }
.project-strip-text { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s4); display: grid; gap: .2rem; }
.project-strip-text .project-meta { color: var(--eye); margin: 0; }
.project-strip-text strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 650; line-height: 1.25; }
.project-strip-item:hover, .project-strip-item:focus-visible { color: #fff; }

.tags { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { margin: 0; font-size: .8rem; font-weight: 650; padding: .25rem .6rem; border-radius: 3px; background: var(--paper-2); color: var(--navy); }

.case-study { display: grid; gap: var(--s6); padding-block: var(--s7); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); align-items: start; }
.case-study:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .case-study { grid-template-columns: 7fr 5fr; gap: var(--s7); } .case-study--flip { grid-template-columns: 5fr 7fr; } .case-study--flip > .case-media { order: 2; } }
.case-media { display: grid; gap: var(--s3); min-width: 0; }
@media (min-width: 1000px) { .case-media { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.case-media button { padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; border-radius: var(--radius-m); overflow: hidden; display: block; width: 100%; }
.case-media button:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-media button:hover img { transform: scale(1.04); }
.case-lead { aspect-ratio: 4 / 3; }
.case-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.case-thumbs button { aspect-ratio: 1; }
.case-body { min-width: 0; }
.case-body h2 { font-size: var(--step-3); margin-bottom: .2rem; }
.case-system { font-family: var(--font-display); font-weight: 650; color: var(--steel); margin-bottom: var(--s4); }
.case-body h3 { font-size: var(--step-1); margin-top: var(--s5); }

/* Project gallery */
.gallery-filters { margin-bottom: var(--s3); flex-wrap: wrap; overflow: visible; }
.g-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; }
.g-item { position: relative; margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); transition: opacity .45s ease, transform .55s var(--ease-out); }
.g-item.g-tall { grid-row: span 2; }
@media (min-width: 640px) { .g-item.g-wide { grid-column: span 2; } }
.g-item.is-hidden { display: none; }
.g-item.is-entering { opacity: 0; transform: scale(.97); }
.g-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item button:focus-visible { outline: 3px solid var(--olive); outline-offset: -3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.2rem .9rem .8rem; color: #fff; display: grid; gap: .1rem; background: linear-gradient(transparent, rgba(9,33,49,.9)); pointer-events: none; }
.g-item figcaption strong { font-family: var(--font-display); font-weight: 650; font-size: .98rem; line-height: 1.3; }
.g-item figcaption span { font-size: .8rem; color: #C3CFD6; }
@media (max-width: 639px) { .g-grid { grid-auto-rows: 240px; } }

/* Lightbox with previous / next */
.lightbox figure { position: relative; }
.lightbox-nav { position: absolute; top: 45%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(9,33,49,.78); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast); }
.lightbox-nav:hover { background: var(--navy); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: .75rem; } .lightbox-prev svg { transform: rotate(180deg); }
.lightbox-next { right: .75rem; }
.lightbox-nav[hidden] { display: none; }
.lightbox-count { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .5rem; white-space: nowrap; }
.licence-note { display: flex; gap: .7rem; align-items: flex-start; padding: var(--s3) var(--s4); margin: var(--s4) 0 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: var(--radius-s); max-width: 60ch; font-size: .95rem; }
.licence-note svg { width: 22px; height: 22px; flex: none; color: var(--olive-ink); margin-top: .1rem; }
.licence-note strong { color: var(--navy); font-family: var(--font-display); }

/* ==========================================================================
   Repeater hub configurator
   ========================================================================== */
.builder { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1050px) { .builder { grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: var(--s7); } }
.builder-form { display: grid; gap: var(--s5); min-width: 0; }
.step { border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s5); margin: 0; background: #fff; min-width: 0; }
.step legend { font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); color: var(--navy); padding: 0 .5rem; margin-left: -.5rem; display: flex; align-items: center; gap: .6rem; }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .95rem; font-variant-numeric: tabular-nums; flex: none; }
.step-help { font-size: .92rem; color: var(--muted); margin: .4rem 0 var(--s4); }
.choice-grid { display: grid; gap: var(--s3); margin-top: var(--s3); }
@media (min-width: 640px) { .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: grid; gap: .25rem; padding: var(--s3) var(--s4) var(--s3) 3rem; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: #fff; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); position: relative; min-height: 56px; align-content: center; }
.choice-body::before { content: ""; position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--feather); border-radius: 50%; background: #fff; transition: all var(--t-fast); }
.choice input[type="checkbox"] + .choice-body::before { border-radius: 4px; }
.choice-body strong { font-family: var(--font-display); font-weight: 650; color: var(--navy); }
.choice-body span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.choice:hover .choice-body { border-color: var(--feather); }
.choice input:checked + .choice-body { border-color: var(--navy); background: #F7F8F4; box-shadow: inset 4px 0 0 var(--olive); }
.choice input:checked + .choice-body::before { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%23EEEE9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--olive); outline-offset: 2px; }
.choice.is-disabled { cursor: not-allowed; }
.choice.is-disabled .choice-body { opacity: .5; }
.choice input:disabled { cursor: not-allowed; }
.form-grid { display: grid; gap: var(--s4); margin-top: var(--s3); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field-label { font-weight: 650; font-size: .92rem; color: var(--navy); font-family: var(--font-display); }
.check-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.check-row label { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; cursor: pointer; min-height: 40px; }
.check-row input { width: 1rem; height: 1rem; accent-color: var(--navy); }
.check-row label:has(input:checked) { border-color: var(--navy); background: #F7F8F4; }
.builder-submit { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

.builder-preview { min-width: 0; }
@media (min-width: 1050px) { .builder-preview { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.preview-card { background: var(--night); color: #DCE4E8; border-radius: var(--radius-m); padding: var(--s5); position: relative; overflow: hidden; isolation: isolate; }
.preview-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 100% 0%, transparent 0 38px, rgba(238,238,154,.05) 38px 39px); }
.preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s3); }
.preview-head h2 { color: #fff; font-size: var(--step-2); margin: 0; }
.preview-tier { margin: 0; text-align: right; display: grid; }
.preview-tier span { font-size: .78rem; color: var(--muted-dark); }
.preview-tier strong { color: var(--eye); font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; }
.hub-svg { width: 100%; max-width: 280px; margin: var(--s3) auto var(--s4); display: block; }
.hub-svg text { font-family: var(--font-body); font-size: 12px; fill: #DCE4E8; text-anchor: middle; }
.hub-svg .cab { fill: #12324A; stroke: #8FA4B0; stroke-width: 2; }
.hub-svg .vents path { stroke: #4A6577; stroke-width: 2; }
.hub-svg .hp rect, .hub-svg .hp circle { fill: #1C4560; stroke: #A9B7BF; stroke-width: 1.3; }
.hub-svg .module rect { fill: #3A5568; stroke: #DCE4E8; }
.hub-svg .mod-x { font-family: var(--font-display); font-weight: 800; font-size: 20px; fill: #A9B7BF; }
.hub-svg .mod-label { font-weight: 650; fill: var(--eye); font-size: 13px; }
.hub-svg [data-part="battery"] rect { fill: #5B1F27; }
.hub-svg [data-part="modem"] rect, .hub-svg [data-part="relay"] rect, .hub-svg [data-part="switch"] rect { fill: #1E4A6E; }
.hub-svg .glass { fill: rgba(169,183,191,.12); stroke: rgba(238,238,154,.6); stroke-dasharray: 6 5; }
.hub-svg .lock { fill: #A9B7BF; }
.hub-svg .hp, .hub-svg .lock { transition: opacity .45s ease, transform .5s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.hub-svg .is-off { opacity: 0; transform: scale(.94); }
.hub-svg .module.is-off { opacity: .22; transform: none; }
.hub-svg .module.is-off rect { fill: none; stroke-dasharray: 5 5; }
.hub-svg .module.is-off .mod-x { opacity: 0; }
.hub-svg .module.is-off .mod-label { fill: #A9B7BF; font-weight: 400; }
.preview-specs { margin: 0 0 var(--s4); display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.preview-specs div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s3); padding: .6rem 0; border-bottom: 1px solid var(--line-dark); }
.preview-specs dt { color: var(--muted-dark); font-size: .88rem; }
.preview-specs dd { margin: 0; color: #fff; font-size: .95rem; font-weight: 600; }
.preview-sub { color: #fff; font-size: 1rem; margin: var(--s4) 0 var(--s3); }
.preview-list { font-size: .92rem; color: #DCE4E8; gap: .45rem; }
.preview-list li::before { background-color: rgba(238,238,154,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%23EEEE9A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.preview-service { font-size: .95rem; color: #DCE4E8; }
.preview-card .note { color: var(--muted-dark); margin: var(--s4) 0 0; }
.hero .hero-facts, .page-hero--city .hero-facts { background: rgba(9,33,49,.72); border: 1px solid rgba(238,238,154,.14); border-radius: var(--radius-m); padding: .25rem 1.25rem; }
@supports (backdrop-filter: blur(6px)) { .hero .hero-facts, .page-hero--city .hero-facts { background: rgba(9,33,49,.55); backdrop-filter: blur(10px) saturate(1.2); } }
.hero .hero-facts li:last-child, .page-hero--city .hero-facts li:last-child { border-bottom: 0; }
.hero .hero-facts { border-top: 1px solid rgba(238,238,154,.14); }
img[src*="warehouse-donor-array"] { object-position: 50% 0; }
.hero-photo { max-width: 300px; justify-self: center; background: transparent; }
.hero-photo img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-m); }
.hub-svg { max-width: 300px; }
.hub-svg .hp rect.glass { fill: rgba(169,183,191,.07); stroke: rgba(238,238,154,.65); stroke-dasharray: 6 5; }
.hub-svg [data-part="window"] text { fill: var(--eye); font-size: 11px; }
@media (max-width: 999px) { .hero-city::after { background: linear-gradient(180deg, rgba(9,33,49,.72) 0%, rgba(9,33,49,.84) 45%, rgba(9,33,49,.9) 100%); } }
.builder-mini { display: none; }
@media (max-width: 1049px) { .builder-mini { position: sticky; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; background: var(--night); color: #fff; border-radius: var(--radius-m); box-shadow: 0 16px 34px -14px rgba(9,33,49,.7); text-decoration: none; } .builder { position: relative; } .builder-mini span { font-size: .8rem; color: var(--muted-dark); } .builder-mini strong { color: var(--eye); font-family: var(--font-display); font-weight: 650; } .builder-mini em { margin-left: auto; font-style: normal; font-weight: 650; font-size: .9rem; color: #fff; text-decoration: underline; text-underline-offset: .2em; } .builder-mini:hover { color: #fff; } }
.builder-mini span, .builder-mini em { white-space: nowrap; }

/* ==========================================================================
   Third pass: signature signal layer, quotation journey
   ========================================================================== */
/* Signal layer shared by the home hero and city page heroes */
.page-hero--city .city-bg .signal-rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.page-hero--city .city-bg::after { z-index: 2; }
.signal-rings .carrier path { fill: none; vector-effect: non-scaling-stroke; }
.signal-rings .carrier-a { stroke: rgba(238,238,154,.34); stroke-width: 1.3; }
.signal-rings .carrier-b { stroke: rgba(193,195,113,.26); stroke-width: 1; stroke-dasharray: 2 6; }
.signal-rings .packet { fill: none; stroke: var(--eye); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 3 100; stroke-dashoffset: 3; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .signal-rings .carrier-a { animation: carrier 9s linear infinite; }
  .signal-rings .carrier-b { animation: carrier-b 13s linear infinite; }
  .signal-rings .packet { animation: packet 3.6s var(--ease-io) infinite; animation-delay: calc(var(--d, 0) * 1.8s + 1.6s); }
  .js .signal-rings { opacity: 0; animation: fadein 1.6s ease .2s forwards; }
}
@keyframes carrier { to { transform: translateX(320px); } }
@keyframes carrier-b { to { transform: translateX(-213.3333px); } }
@keyframes packet { 0% { stroke-dashoffset: 3; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
/* Pause decorative loops when they are off screen (site.js toggles .is-paused) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* Quote: hero path chooser */
.page-hero--quote .page-hero-inner { align-items: end; }
.path-chooser { display: grid; gap: .75rem; padding: var(--s4); background: rgba(9,33,49,.7); border: 1px solid rgba(238,238,154,.18); border-radius: var(--radius-m); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.path-q { margin: 0 0 .15rem; font-family: var(--font-display); font-weight: 650; color: #fff; font-size: var(--step-1); }
.path-option { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 1.5rem; gap: var(--s3); align-items: center; padding: var(--s3) var(--s3) var(--s3) .9rem; border-radius: var(--radius-s); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.on-dark a.path-option { color: #DCE4E8; }
.on-dark a.path-option:hover { background: rgba(255,255,255,.1); border-color: var(--eye); transform: translateX(3px); color: #DCE4E8; }
.path-option strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; line-height: 1.3; }
.path-option span span { display: block; font-size: .9rem; color: var(--muted-dark); margin-top: .2rem; }
.path-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: rgba(238,238,154,.12); color: var(--eye); }
.path-icon svg, .path-go svg { width: 1.3rem; height: 1.3rem; }
.path-go { color: var(--eye); transition: transform var(--t-med) var(--ease-out); }
.path-option:hover .path-go { transform: translateX(3px); }
.path-other { margin: .25rem 0 0; font-size: .9rem; color: var(--muted-dark); }

/* Quote: general path */
.quote-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); align-items: start; } }
.quote-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 var(--s3); font-family: var(--font-display); font-weight: 650; color: var(--olive-ink); }
.quote-kicker svg { width: 1.3rem; height: 1.3rem; }
.section--night .quote-kicker { color: var(--eye); }
.quote-main h2 { font-size: var(--step-4); max-width: 16ch; }
.quote-sub { font-size: var(--step-1); margin: var(--s5) 0 var(--s3); }
.quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s5); }
.quote-side { background: var(--paper); border-radius: var(--radius-m); padding: var(--s5); border-top: 3px solid var(--olive); }
@media (min-width: 1000px) { .quote-side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.quote-side h3 { font-size: var(--step-1); margin-bottom: var(--s4); }
.quote-steps { list-style: none; margin: 0; padding: 0; counter-reset: qs; }
.quote-steps li { counter-increment: qs; position: relative; margin: 0; padding: 0 0 var(--s4) 3rem; }
.quote-steps li:last-child { padding-bottom: 0; }
.quote-steps li::before { content: counter(qs); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; font-variant-numeric: lining-nums tabular-nums; }
.quote-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - .75px); top: 2.1rem; bottom: .2rem; width: 1.5px; background: linear-gradient(var(--olive), var(--line)); }
.quote-steps strong { display: block; font-family: var(--font-display); font-weight: 650; color: var(--navy); }
.quote-steps span { display: block; font-size: .93rem; color: var(--muted); margin-top: .15rem; }

.ft-grid { display: grid; gap: 1px; background: rgba(238,238,154,.16); border: 1px solid rgba(238,238,154,.16); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 700px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ft-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ft-group { background: rgba(9,33,49,.94); padding: var(--s5) var(--s4); }
.ft-group > svg { width: 1.6rem; height: 1.6rem; color: var(--eye); margin-bottom: var(--s3); }
.ft-group h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.ft-group p { margin: 0; font-size: .93rem; color: var(--muted-dark); }
.section--night a.text-link--light { color: #fff; }
.section--night a.text-link--light:hover { color: var(--eye); }

/* Quote panel (reused on contact, DAS, projects) */
.quote-band { display: grid; gap: var(--s5); align-items: center; padding: var(--s5); background: var(--paper); border-radius: var(--radius-m); border-left: 3px solid var(--olive); }
@media (min-width: 950px) { .quote-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: var(--s5) var(--s6); } }
.section--paper .quote-band { background: #fff; }
.quote-band h2 { font-size: var(--step-2); margin-bottom: .4rem; }
.quote-band p { margin: 0; color: var(--muted); }
.quote-panel { display: grid; gap: .75rem; }
@media (min-width: 640px) { .quote-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.qp-option { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem; gap: .8rem; align-items: center; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out); }
a.qp-option:hover { border-color: var(--navy); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(9,33,49,.55); }
.qp-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--eye); display: grid; place-items: center; }
.qp-icon svg { width: 1.2rem; height: 1.2rem; }
.qp-text strong { display: block; font-family: var(--font-display); font-weight: 650; color: var(--navy); line-height: 1.3; }
.qp-text span { display: block; font-size: .87rem; color: var(--muted); margin-top: .15rem; }
.qp-go { color: var(--navy); }
.qp-go svg { width: 1.1rem; height: 1.1rem; transition: transform var(--t-med) var(--ease-out); }
a.qp-option:hover .qp-go svg { transform: translateX(3px); }
/* On wide screens the signal layer sits above the photo grade, so the carrier waves and rings read clearly.
   Below 1000px the text sits over the towers, so the layer stays under the grade. */
@media (min-width: 1000px) {
  .hero-city .signal-rings, .page-hero--city .city-bg .signal-rings { z-index: 3; }
  .signal-rings .ring { stroke-width: 1.2; }
}

/* Builder: send step */
.prelim { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: var(--s3) var(--s4); background: #FBFBEA; border: 1px solid #E3E4B4; border-radius: var(--radius-s); margin-bottom: var(--s4); }
.prelim svg { width: 1.3rem; height: 1.3rem; color: var(--olive-ink); margin-top: .15rem; }
.prelim p { margin: 0; font-size: .95rem; }
.summary-box { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); overflow: hidden; }
.summary-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem var(--s3) .7rem var(--s4); border-bottom: 1px solid var(--line); background: #fff; }
.summary-head h3 { font-size: 1rem; margin: 0; }
.summary-text { margin: 0; padding: var(--s3) var(--s4); max-height: 15rem; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--font-body); font-size: .86rem; line-height: 1.55; color: var(--ink); }
.summary-text:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.send-options { display: grid; gap: var(--s3); margin-top: var(--s4); }
.send-option { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.send-option--primary { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--olive); }
.send-option h3 { font-size: var(--step-1); margin: 0; }
.send-option p { margin: 0 0 .5rem; font-size: .93rem; color: var(--muted); }
.send-option .btn { margin-top: auto; }
.send-extra { margin: var(--s4) 0 0; font-size: .93rem; display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.linklike:hover { color: var(--night); text-decoration-thickness: 2px; }
a.is-disabled { opacity: .5; cursor: not-allowed; }

/* Builder: living hub drawing */
.hub-svg .hub-signal path { fill: none; stroke-linecap: round; }
.hub-svg .hub-signal .feed { stroke: #8FA4B0; stroke-width: 2; }
.hub-svg .hub-signal .mast { fill: #1C4560; stroke: #A9B7BF; stroke-width: 1.3; }
.hub-svg .hub-signal .wave { stroke: var(--eye); stroke-width: 2; opacity: .55; transform-box: fill-box; transform-origin: 50% 100%; }
.hub-svg .led { fill: #4A6577; stroke: none; }
.hub-svg .module:not(.is-off) .led { fill: var(--eye); }
.hub-svg .module.is-off .led { opacity: 0; }
.hub-svg [data-part="modem"]:not(.is-off) .led--data { fill: #9BD39B; }
@media (prefers-reduced-motion: no-preference) {
  .hub-svg .hub-signal .wave { animation: hub-wave 2.8s ease-out infinite; animation-delay: calc(var(--d) * .45s); }
  .hub-svg .module:not(.is-off) .led { animation: led 2.4s steps(1, end) infinite; animation-delay: calc(var(--d, 0) * .5s); }
  .hub-svg [data-part="modem"]:not(.is-off) .led--data { animation: led 0.9s steps(1, end) infinite; }
  .hub-svg .module:not(.is-off) rect { transition: fill .4s ease; }
  .preview-tier.is-changed strong { animation: tier-in .55s var(--ease-out); }
  .hub-svg .hp:not(.is-off) { animation: part-in .5s var(--ease-out) both; }
}
@keyframes hub-wave { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: .75; } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes led { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .35; } }
@keyframes tier-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes part-in { from { opacity: 0; } }
.preview-tier strong { display: inline-block; }
@media (min-width: 1050px) { .builder-preview .preview-card { max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(238,238,154,.35) transparent; } }
@media (min-width: 700px) { .send-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s5); align-items: center; } .send-option h3, .send-option p { grid-column: 1; } .send-option .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; white-space: nowrap; } .send-option p { margin: 0; } }

/* Security licence statement (number appears only when set in config) */
.licence-note p { margin: 0; }
.licence-no { display: block; margin-top: .35rem; font-variant-numeric: lining-nums tabular-nums; color: var(--muted); }
.licence-no b { color: var(--navy); font-family: var(--font-display); }
.footer-licence { display: inline-block; margin-left: 1rem; font-variant-numeric: lining-nums tabular-nums; }

/* Interactive coverage comparison (DAS page) */
.cov { --l1: .05; --l2: .2; --l3: .48; --l4: .9; display: grid; gap: var(--s5); }
.seg { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; margin: 0; border: 1px solid rgba(238,238,154,.28); border-radius: 999px; background: rgba(255,255,255,.04); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.15rem; border-radius: 999px; font-family: var(--font-display); font-weight: 650; font-size: .95rem; color: #DCE4E8; transition: background var(--t-med), color var(--t-med); }
.seg input:checked + span { background: var(--eye); color: var(--night); }
.seg input:focus-visible + span { outline: 2px solid var(--eye); outline-offset: 3px; }
.seg input:not(:checked):hover + span { background: rgba(255,255,255,.08); }
.cov-figure { margin: 0; display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 1000px) { .cov-figure { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); } }
.cov-svg { width: 100%; height: auto; display: block; overflow: visible; }
.cov-svg text { font-family: var(--font-body); }
.cv-note { fill: var(--muted-dark); font-size: 11px; }
.cv-label { fill: #fff; font-size: 12px; font-weight: 650; paint-order: stroke; stroke: var(--night); stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 640px) { .cv-label { font-size: 19px; stroke-width: 6px; } .cv-note { font-size: 17px; } }
.cv-cell { fill: var(--eye); fill-opacity: var(--a); }
.cov:has(input[value="with"]:checked) .cv-cell { fill-opacity: var(--b); }
.cv-wall { fill: none; stroke: #A9B7BF; stroke-width: 2.5; }
.cv-glass { fill: none; stroke: var(--eye); stroke-width: 4; stroke-dasharray: 14 6; opacity: .7; }
.cv-core { fill: rgba(9,33,49,.55); stroke: #A9B7BF; stroke-width: 1.5; stroke-dasharray: 4 4; }
.cv-ant { fill: var(--night); stroke: var(--eye); stroke-width: 2.5; }
.cv-ring { fill: none; stroke: var(--eye); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cv-ants { opacity: 0; }
.cov:has(input[value="with"]:checked) .cv-ants { opacity: 1; }
.cv-legend { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .9rem; color: #DCE4E8; }
.cv-legend li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.cv-legend i { width: 14px; height: 14px; border-radius: 3px; background: rgba(238,238,154,var(--k)); box-shadow: inset 0 0 0 1px rgba(238,238,154,.35); }
.cv-legend-ant i { border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2.5px var(--eye); }
.cv-say { font-size: var(--step-1); line-height: 1.5; color: #fff; font-family: var(--font-display); font-weight: 600; max-width: 34ch; }
.cv-say--with { display: none; }
.cov:has(input[value="with"]:checked) .cv-say--with { display: block; }
.cov:has(input[value="with"]:checked) .cv-say--without { display: none; }
.cov .note { color: var(--muted-dark); }
@media (prefers-reduced-motion: no-preference) {
  .cv-cell { transition: fill-opacity .55s ease; transition-delay: calc(var(--i) * 16ms); }
  .cv-ants { transition: opacity .5s ease .35s; }
  .cov:has(input[value="with"]:checked) .cv-ring { animation: pulse 3.2s ease-out infinite; animation-delay: calc(var(--d) * .5s + .6s); }
  .cv-say { animation: tier-in .5s var(--ease-out); }
}

/* Page transitions between pages (Chromium cross-document view transitions; other browsers navigate normally) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .2s ease both; }
  ::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Inner page hero entrance: one short staggered sequence */
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero-inner > div:first-child > * { opacity: 0; transform: translateY(12px); animation: enter .75s var(--ease-out) forwards; }
  .js .page-hero-inner > div:first-child > :nth-child(2) { animation-delay: .06s; }
  .js .page-hero-inner > div:first-child > :nth-child(3) { animation-delay: .14s; }
  .js .page-hero-inner > div:first-child > :nth-child(n+4) { animation-delay: .22s; }
  .js .page-hero-inner > :nth-child(2) { opacity: 0; animation: fadein 1s ease .25s forwards; }
}

/* Gallery as a masonry of natural-ratio photographs: no cropping, and filtering never leaves holes */
.g-grid { display: block; columns: 3 290px; column-gap: var(--s3); }
.g-item, .g-item.g-tall, .g-item.g-wide { break-inside: avoid; margin: 0 0 var(--s3); grid-row: auto; grid-column: auto; display: block; }
.g-item img { height: auto; aspect-ratio: auto; }
.g-item button { height: auto; }
@media (max-width: 639px) { .g-grid { columns: 1; } }
.g-grid { columns: 4 240px; }
.g-item.g-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 639px) { .g-grid { columns: 2 150px; column-gap: .6rem; } .g-item, .g-item.g-tall, .g-item.g-wide { margin-bottom: .6rem; } .g-item figcaption { padding: 1.6rem .55rem .5rem; } .g-item figcaption span { display: none; } .g-item figcaption strong { font-size: .82rem; } }

/* ===== Proeye 4.0 ===== */
/* Case-study story line */
.case-story { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s5); }
.case-story h3 { font-size: var(--step-1); margin-bottom: var(--s4); }
.story-line { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); position: relative; }
.story-line li { position: relative; padding-top: var(--s4); min-width: 0; }
.story-line li::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(-1 * var(--s4)); height: 1.5px; background: var(--line); }
.story-line li:last-child::before { right: 0; }
.story-dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--eye); border: 1.5px solid var(--navy); }
.story-when { margin: 0 0 .3rem; font-family: var(--font-display); color: var(--navy); }
.story-when time { display: block; font-size: var(--step--1); color: var(--olive-ink); font-weight: 600; }
.story-line p { font-size: var(--step--1); line-height: 1.55; margin: 0 0 var(--s2); }
.story-img { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--paper-2); cursor: zoom-in; aspect-ratio: 4 / 3; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.story-img:hover img { transform: scale(1.05); }
@media (max-width: 699px) { .story-line { grid-template-columns: 1fr; gap: var(--s3); } .story-line li { padding: 0 0 0 var(--s5); } .story-line li::before { top: 13px; bottom: calc(-1 * var(--s3)); left: 6px; right: auto; width: 1.5px; height: auto; } .story-line li:last-child::before { display: none; } .story-img { max-width: 260px; } }

/* QUATRA interactive diagram (DAS page) */
.qd { display: grid; gap: var(--s5); align-items: start; --qd-line: rgba(220, 228, 232, .5); --qd-coax: var(--eye); --qd-cat: #8CC3D6; --qd-dim: .3; }
@media (min-width: 1100px) { .qd { grid-template-columns: minmax(0, 1fr) 340px; } }
.qd-stage { min-width: 0; }
.qd-scroll { overflow-x: auto; border-radius: var(--radius-m); background: rgba(255,255,255,.02); border: 1px solid var(--line-dark); scrollbar-color: rgba(238,238,154,.4) transparent; }
.qd-scroll:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; }
.qd-svg { display: block; width: 100%; min-width: 760px; height: auto; font-family: var(--font-body); }
.qd-swipe { display: none; font-size: var(--step--1); color: var(--muted-dark); margin: .5rem 0 0; }
@media (max-width: 820px) { .qd-swipe { display: block; } }
.qd-svg path, .qd-svg rect, .qd-svg ellipse, .qd-svg circle { vector-effect: non-scaling-stroke; }
.qd-ground { stroke: rgba(220,228,232,.35); stroke-width: 1.5; fill: none; }
.qd-shell { fill: rgba(15, 52, 76, .55); stroke: rgba(220,228,232,.55); stroke-width: 1.5; }
.qd-hatch { fill: rgba(9, 33, 49, .9); stroke: rgba(220,228,232,.3); stroke-width: 1.2; stroke-dasharray: 4 5; }
.qd-slab { stroke: rgba(220,228,232,.22); stroke-width: 1.2; fill: none; }
.qd-level-label text { fill: var(--muted-dark); font-size: 17px; font-family: var(--font-display); font-weight: 600; }
.qd-level-label .qd-sub { font-size: 12.5px; font-weight: 500; font-family: var(--font-body); }
.qd-tower, .qd-mast { fill: none; stroke: rgba(220,228,232,.75); stroke-width: 1.6; }
.qd-node { fill: var(--eye); }
.qd-air { fill: none; stroke: var(--eye); stroke-width: 1.3; stroke-dasharray: 3 7; opacity: .7; }
#qd-grid path, #g41-grid path { fill: none; stroke: #E8EDF0; stroke-width: 1.6; }
#qd-grid .qd-rib, #g41-grid .qd-rib { stroke-width: 1; opacity: .7; }
#qd-grid .qd-fill, #g41-grid .qd-fill { fill: #E8EDF0; }
.qd-tag { fill: #fff; font-size: 15px; font-family: var(--font-display); font-weight: 650; }
.qd-label { fill: #fff; font-size: 18px; font-family: var(--font-display); font-weight: 650; }
.qd-small { fill: var(--muted-dark); font-size: 14px; }
.qd-small--strong { fill: #fff; font-weight: 600; font-family: var(--font-display); font-size: 13.5px; }
.qd-surge { fill: #6FBF73; stroke: none; }
.qd-earth { fill: none; stroke: #6FBF73; stroke-width: 1.4; }
.qd-coax { fill: none; stroke: var(--qd-coax); stroke-width: 2; stroke-linejoin: round; }
.qd-coax--dist { stroke-width: 1.8; }
.qd-drop { fill: none; stroke: var(--qd-coax); stroke-width: 1.4; }
.qd-cat { fill: none; stroke: var(--qd-cat); stroke-width: 1.6; stroke-dasharray: 7 4; stroke-linejoin: round; }
.qd-cat-s { fill: none; stroke: var(--qd-cat); stroke-width: 1.4; stroke-dasharray: 5 3; }
.qd-power { fill: none; stroke: #E59A6A; stroke-width: 1.6; }
.qd-link { fill: none; stroke: rgba(220,228,232,.45); stroke-width: 1.2; stroke-dasharray: 2 6; }
.qd-cloud { fill: rgba(140, 195, 214, .12); stroke: var(--qd-cat); stroke-width: 1.4; }
.qd-divider { fill: #9C8FE0; }
.qd-box { fill: #DDE3E7; stroke: #fff; stroke-width: 1.2; }
.qd-box--nu { fill: var(--eye); stroke: none; }
.qd-box--cu { fill: #E8EDF0; }
.qd-boxlabel { fill: var(--night); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.qd-boxlabel--s { font-size: 14.5px; }
.qd-ports circle { fill: var(--night); }
.qd-port { fill: var(--night); font-size: 10px; font-weight: 700; }
.qd-couplershape { fill: #9C8FE0; }
.qd-domeshape { fill: #F4F6F7; stroke: var(--night); stroke-width: 1; }
.qd-coverage ellipse { fill: rgba(238, 238, 154, .09); stroke: rgba(238,238,154,.22); stroke-width: 1; }
.qd-legend text { fill: var(--muted-dark); font-size: 13px; }
.qd-vert { font-size: 11.5px; }
/* flow animation along cables */
.qd-flow { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 2 26; opacity: 0; transition: opacity var(--t-med); }
.qd-flow--cat { stroke: var(--qd-cat); }
.qd-pulses circle { fill: none; stroke: var(--eye); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .qd-flow { animation: qd-flow 1.6s linear infinite; }
  .qd-pulses circle { animation: qd-pulse 3.6s var(--ease-out) infinite; animation-delay: calc(var(--i) * .6s); }
  .qd-part { transition: opacity var(--t-med) var(--ease-out); }
}
@keyframes qd-flow { to { stroke-dashoffset: -28; } }
@keyframes qd-pulse { 0% { transform: scale(.2); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
[data-motion-zone].is-paused .qd-flow, [data-motion-zone].is-paused .qd-pulses circle { animation-play-state: paused; }
/* lift car in the QUATRA drawing: rests at ground; travels and stops at each floor when motion is allowed */
.qd-shaft { fill: rgba(9, 33, 49, .92); stroke: rgba(220,228,232,.45); stroke-width: 1.2; }
.qd-carbox { fill: rgba(220,228,232,.12); stroke: #DDE3E7; stroke-width: 1.4; }
.qd-carcov { fill: rgba(238, 238, 154, .12); stroke: rgba(238,238,154,.3); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
  .qd-car { animation: qd-lift 16s ease-in-out infinite; }
}
@keyframes qd-lift {
  0%, 8% { transform: translateY(120px); }
  18%, 26% { transform: translateY(0); }
  36%, 44% { transform: translateY(-100px); }
  54%, 62% { transform: translateY(-220px); }
  72%, 78% { transform: translateY(-100px); }
  88%, 94% { transform: translateY(0); }
  100% { transform: translateY(120px); }
}
[data-motion-zone].is-paused .qd-car { animation-play-state: paused; }
/* enlarge the system drawings in a full-screen dialog */
.qd-tools { display: flex; justify-content: flex-end; margin-bottom: var(--s3); }
.qd-enlarge { gap: .5rem; padding: .55rem 1rem; font-size: var(--step--1); }
.qd.is-enlarged .qd-tools { display: none; }
.qd-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: var(--s4); border: 0; background: var(--night); color: #fff; overflow: auto; }
.qd-dialog::backdrop { background: rgba(9, 33, 49, .85); }
.qd-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.qd-dialog-title { margin: 0; font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); color: #fff; }
.qd-dialog .qd { --qd-dim: .62; }
.qd-dialog .qd-svg { max-height: calc(100dvh - 7.5rem); }
@media (min-width: 1000px) { .qd-dialog .qd { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 999px) { .qd-dialog .qd-svg { min-width: 1100px; max-height: none; } }
/* focus: dim parts not in the current step */
.qd-svg[data-focus] .qd-part { opacity: var(--qd-dim); }
.qd-svg[data-focus] .qd-part.is-on { opacity: 1; }
.qd-svg[data-focus=""] .qd-part { opacity: 1; }
.qd-part.is-on .qd-flow { opacity: .95; }
.qd-svg .qd-part { cursor: pointer; }
/* panel */
.qd-panel { color: #DCE4E8; }
.qd-panel-title { font-size: var(--step-1); margin-bottom: var(--s3); }
.qd-steps { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; counter-reset: qd; }
.qd-step { width: 100%; padding: .55rem .2rem .5rem; border: 1px solid var(--line-dark); background: transparent; color: var(--muted-dark); border-radius: var(--radius-s); font: 600 .78rem/1.2 var(--font-display); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); counter-increment: qd; }
.qd-step::before { content: counter(qd); display: block; font-size: 1.05rem; margin-bottom: .15rem; color: var(--eye); }
.qd-step:hover { border-color: rgba(238,238,154,.5); color: #fff; }
.qd-step[aria-pressed="true"] { background: var(--eye); border-color: var(--eye); color: var(--night); }
.qd-step[aria-pressed="true"]::before { color: var(--night); }
.qd-info { min-height: 11.5rem; }
.qd-text h4 { color: #fff; font-size: var(--step-1); margin-bottom: .4rem; }
.qd-text p { margin: 0; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) { .qd-text:not([hidden]) { animation: qd-in .4s var(--ease-out); } }
@keyframes qd-in { from { opacity: 0; transform: translateY(6px); } }
.qd-nav { display: flex; gap: var(--s2); margin: var(--s4) 0; flex-wrap: wrap; }
.qd-nav .btn[disabled] { opacity: .45; cursor: default; }
.qd-source { margin: 0; }

/* RSRP coverage comparison (DAS page) */
.rs { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1100px) { .rs { grid-template-columns: minmax(0, 1fr) 330px; gap: var(--s6); } }
.rs-main { min-width: 0; }
.rs-controls { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin-bottom: var(--s3); }
.seg button { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.05rem; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-display); font-weight: 650; font-size: .92rem; color: #DCE4E8; cursor: pointer; transition: background var(--t-med), color var(--t-med); }
.seg button[aria-pressed="true"] { background: var(--eye); color: var(--night); }
.seg button:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.08); }
.seg button:focus-visible { outline: 2px solid var(--eye); outline-offset: 3px; }
.rs-figure { margin: 0; }
.rs-stage { position: relative; aspect-ratio: 960 / 512; border-radius: var(--radius-m); overflow: hidden; background: #1a1424; border: 1px solid var(--line-dark); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.rs-floor, .rs-after { position: absolute; inset: 0; }
.rs-floor[hidden] { display: none; }
.rs-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rs-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.rs-ants, .rs-plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rs-plan { pointer-events: none; }
.rs-w { stroke: var(--night); stroke-linecap: square; vector-effect: non-scaling-stroke; }
.rs-w--concrete, .rs-w--core { stroke-width: 4; }
.rs-w--glass { stroke: #CFE8F2; stroke-width: 3; }
.rs-w--masonry { stroke-width: 2.6; }
.rs-w--partition { stroke-width: 1.4; stroke: rgba(9,33,49,.85); }
.rs-w--opening { stroke: transparent; }
.rs-plan text { font: 600 1.1px var(--font-display); fill: var(--night); paint-order: stroke; stroke: rgba(255,255,255,.55); stroke-width: .28px; }
@media (max-width: 640px) { .rs-plan text { display: none; } }
.rs-ant { fill: var(--night); stroke: #fff; stroke-width: .22; }
.rs-ring { fill: none; stroke: var(--night); stroke-width: .14; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .rs-ring { animation: rs-ring 3.2s var(--ease-out) infinite; animation-delay: calc(var(--i) * .35s); } }
@keyframes rs-ring { 0% { transform: scale(.25); opacity: .8; } 85%, 100% { transform: scale(1.8); opacity: 0; } }
[data-motion-zone].is-paused .rs-ring { animation-play-state: paused; }
.rs-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(9,33,49,.35); opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.rs.is-compare .rs-divider { opacity: 1; }
.rs-handle { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.rs-handle::before, .rs-handle::after { content: ""; position: absolute; top: 50%; margin-top: -5px; border: 5px solid transparent; }
.rs-handle::before { left: 5px; border-right-color: var(--night); }
.rs-handle::after { right: 5px; border-left-color: var(--night); }
.rs-tag, .rs-cell { position: absolute; top: 10px; padding: .2rem .55rem; border-radius: 999px; font: 650 .74rem/1.4 var(--font-display); background: rgba(9,33,49,.85); color: #fff; pointer-events: none; }
.rs-tag--before { right: 10px; }
.rs-tag--after { left: 10px; background: var(--eye); color: var(--night); opacity: 0; transition: opacity var(--t-med); }
.rs.is-after .rs-tag--after, .rs.is-compare .rs-tag--after { opacity: 1; }
.rs-cell { top: auto; bottom: 10px; right: 10px; background: transparent; color: var(--night); font-weight: 700; }
.rs-cell::after { content: " ↗"; }
.rs-slider { display: block; margin: var(--s3) 0 var(--s2); }
.rs-range { width: 100%; accent-color: var(--eye); height: 28px; cursor: pointer; }
.rs-range:focus-visible { outline: 2px solid var(--eye); outline-offset: 4px; }
.rs-side { color: #DCE4E8; }
.rs-side-title { font-size: var(--step-1); }
.rs-legend { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: .35rem; font-size: var(--step--1); }
.rs-legend li { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.rs-legend strong { color: #fff; font-weight: 600; min-width: 5.6rem; }
.rs-legend span:not(.rs-sw):not(.rs-ant-key) { color: var(--muted-dark); }
.rs-sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); vertical-align: -2px; margin-right: .4rem; }
.rs-legend .rs-sw { margin-right: 0; }
.rs-ant-key { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid #fff; flex: none; }
.rs-table table { width: 100%; border-collapse: collapse; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.rs-table caption { text-align: left; font-family: var(--font-display); font-weight: 650; color: #fff; margin-bottom: .5rem; font-size: var(--step-0); }
.rs-table th, .rs-table td { padding: .42rem .3rem; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; }
.rs-table thead th { color: var(--muted-dark); font-weight: 600; font-size: .78rem; }
.rs-table td { white-space: nowrap; }
.rs-table tbody th { color: #fff; }
.rs-floor-note { font-size: var(--step--1); color: var(--muted-dark); margin: .6rem 0 var(--s4); }

/* Donor antenna explainer */
.ax { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 1000px) { .ax { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s6); } }
.ax-figure { margin: 0; min-width: 0; }
.ax-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ax-ground { stroke: var(--line); stroke-width: 1.5; fill: none; }
.ax-bldg { fill: var(--paper-2); stroke: var(--navy); stroke-width: 1.5; }
.ax-bldg-win { stroke: var(--line); stroke-width: 1; fill: none; }
.ax-mast { stroke: var(--navy); stroke-width: 2; }
.ax-feed { fill: var(--eye); stroke: var(--navy); stroke-width: 1.5; }
.ax-aim { stroke: var(--olive-ink); stroke-width: 1.2; stroke-dasharray: 3 6; fill: none; }
.ax-lbl, .ax-site text, .ax-scale text { font: 600 13px var(--font-display); fill: var(--navy); }
.ax-scale text { font: 400 12px var(--font-body); fill: var(--muted); }
.ax-lobe { fill: rgba(193, 195, 113, .32); stroke: var(--olive-ink); stroke-width: 1.4; }
.ax-lobe--soft { fill: rgba(193, 195, 113, .14); stroke-dasharray: 4 4; stroke-width: 1; }
.ax-beam { opacity: 0; transform-box: view-box; transform-origin: 96px 262px; transform: scale(.6); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.ax[data-type="grid"] .ax-beam--grid, .ax[data-type="panel"] .ax-beam--panel, .ax[data-type="omni"] .ax-beam--omni { opacity: 1; transform: none; }
.ax-site path { fill: none; stroke: var(--muted); stroke-width: 1.6; transition: stroke var(--t-med); }
.ax-site circle { fill: var(--line); stroke: var(--muted); stroke-width: 1.2; transition: fill var(--t-med), stroke var(--t-med); }
.ax-site text { fill: var(--muted); transition: fill var(--t-med); }
.ax-site--a path, .ax[data-type="panel"] .ax-site path, .ax[data-type="omni"] .ax-site path { stroke: var(--navy); }
.ax-site--a circle, .ax[data-type="panel"] .ax-site circle, .ax[data-type="omni"] .ax-site circle { fill: var(--eye); stroke: var(--navy); }
.ax-site--a text, .ax[data-type="panel"] .ax-site text, .ax[data-type="omni"] .ax-site text { fill: var(--navy); }
.ax-types { margin-bottom: var(--s4); border-color: var(--line); background: var(--paper); }
.ax-types button { color: var(--navy); }
.ax-types button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ax-types button:not([aria-pressed="true"]):hover { background: var(--paper-2); }
.ax-types button:focus-visible { outline-color: var(--olive); }
.ax-text h3 { font-size: var(--step-2); }
@media (prefers-reduced-motion: no-preference) { .ax-text:not([hidden]) { animation: qd-in .4s var(--ease-out); } }
.ax-specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); margin: var(--s4) 0; }
.ax-specs div { border-top: 1px solid var(--line); padding-top: .45rem; }
.ax-specs dt { font-size: .8rem; color: var(--muted); }
.ax-specs dd { margin: 0; font-family: var(--font-display); font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 480px) { .ax-specs { grid-template-columns: 1fr; } }

/* Hub builder 2.0: photographs of verified builds */
.hub-views { margin: 0 0 var(--s3); border-color: var(--line); background: var(--paper); }
.hub-views button { color: var(--navy); font-size: .86rem; min-height: 38px; padding: .35rem .9rem; }
.hub-views button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.hub-views button:not([aria-pressed="true"]):hover { background: var(--paper-2); }
.hub-views button:focus-visible { outline-color: var(--olive); }
.hub-photo { margin: 0; }
.hub-photo[hidden], .hub-nophoto[hidden], [data-pane][hidden] { display: none; }
.hub-photo-stage { position: relative; aspect-ratio: 2 / 3; max-height: 62vh; margin-inline: auto; border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); }
.hub-shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow); }
.hub-shot.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hub-shot img { width: 100%; height: 100%; object-fit: contain; }
.hub-shot--cover img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .hub-shot.is-active img { animation: hub-in 1.1s var(--ease-out); } }
@keyframes hub-in { from { transform: scale(1.04); } }
.hub-zoom { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: .3rem .7rem; border: 0; border-radius: 999px; background: rgba(9,33,49,.82); color: #fff; font: 650 .78rem/1.4 var(--font-display); cursor: zoom-in; }
.hub-zoom:hover { background: var(--night); }
.hub-zoom:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.hotspot { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #fff; background: var(--eye); box-shadow: 0 0 0 3px rgba(9,33,49,.45); cursor: pointer; padding: 0; }
.hotspot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--night); }
@media (prefers-reduced-motion: no-preference) { .hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--eye); animation: hs-pulse 2.6s var(--ease-out) infinite; } }
@keyframes hs-pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.hotspot span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: 180px; padding: .35rem .6rem; border-radius: var(--radius-s); background: var(--night); color: #fff; font: 600 .78rem/1.35 var(--font-display); text-align: center; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); }
.hotspot:hover span, .hotspot:focus-visible span, .hotspot.is-open span { opacity: 1; transform: translateX(-50%); }
.hotspot:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; }
.hub-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s2); }
.hub-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; cursor: pointer; transition: border-color var(--t-fast); }
.hub-thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.hub-thumbs button:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.hub-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hub-photo figcaption, .hub-layout-note { font-size: var(--step--1); color: var(--muted); margin: var(--s2) 0 0; }
.hub-nophoto { border: 1.5px dashed var(--line); border-radius: var(--radius-m); padding: var(--s4); background: var(--paper); }
.hub-nophoto p { margin: 0 0 var(--s2); }
.hub-nophoto .text-link { border: 0; background-color: transparent; cursor: pointer; padding: 0 0 2px; font-size: inherit; }
.hub-review { margin: var(--s3) 0 0; padding: var(--s3); border-left: 3px solid var(--olive); background: var(--paper); font-size: var(--step--1); }
.hub-review[hidden] { display: none; }
/* the preview card is dark */
.preview-card .hub-views { border-color: rgba(238,238,154,.28); background: rgba(255,255,255,.04); }
.preview-card .hub-views button { color: #DCE4E8; }
.preview-card .hub-views button[aria-pressed="true"] { background: var(--eye); color: var(--night); }
.preview-card .hub-views button:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.08); }
.preview-card .hub-views button:focus-visible, .preview-card .hub-thumbs button:focus-visible, .preview-card .hub-zoom:focus-visible { outline-color: var(--eye); }
.preview-card .hub-photo-stage, .preview-card .hub-thumbs button { background: #0c2a3e; }
.preview-card .hub-thumbs button[aria-pressed="true"] { border-color: var(--eye); }
.preview-card .hub-photo figcaption, .preview-card .hub-layout-note { color: var(--muted-dark); }
.preview-card .hub-nophoto { border-color: rgba(238,238,154,.3); background: rgba(255,255,255,.03); }
.preview-card .hub-nophoto .text-link { color: var(--eye); }
.preview-card .hub-review { background: rgba(238,238,154,.08); border-left-color: var(--eye); color: #DCE4E8; }
.preview-card .hub-photo-stage { margin-top: var(--s2); }

/* Manufacturer specification sheets */
.spec-sheet { margin: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-sheet summary { cursor: pointer; padding: .7rem 0; font-family: var(--font-display); font-weight: 650; color: var(--navy); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.spec-sheet summary::-webkit-details-marker { display: none; }
.spec-sheet summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--t-med) var(--ease-out); }
.spec-sheet[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.spec-sheet summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.spec-sheet table { width: 100%; border-collapse: collapse; font-size: var(--step--1); line-height: 1.45; }
.spec-sheet th, .spec-sheet td { text-align: left; vertical-align: top; padding: .45rem .5rem .45rem 0; border-top: 1px solid var(--line); }
.spec-sheet th { width: 34%; font-weight: 600; color: var(--navy); font-family: var(--font-display); }
.spec-src { font-size: .8rem; color: var(--muted); margin: .6rem 0 .8rem; }
@media (prefers-reduced-motion: no-preference) { .spec-sheet[open] table { animation: qd-in .35s var(--ease-out); } }
.tier-photo { margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) var(--s3); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m) var(--radius-m) 0 0; background: var(--paper-2); }
.tier-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* Policies and governance */
.policy-index { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.policy-index a { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.policy-index a:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--ink); }
.policy-index svg { width: 28px; height: 28px; flex: none; color: var(--olive-ink); }
.policy-index strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: var(--step-1); }
.policy-index span span { color: var(--muted); font-size: var(--step--1); }
.policy-group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.policy-group h2 { font-size: var(--step-3); margin-bottom: var(--s4); }
.doc-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.doc-grid--feature { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 860px) { .doc-grid--feature { grid-template-columns: 1fr; } }
.doc-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; scroll-margin-top: calc(var(--header-h) + 1rem); }
.doc-card--file { border-top: 3px solid var(--navy); }
.doc-card .checks { font-size: var(--step--1); margin: 0 0 var(--s2); }
.doc-card p { margin: 0; }
.doc-card > .btn, .doc-card > .text-link { align-self: flex-start; margin-top: auto; }
.doc-head { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s1); }
.doc-head > svg { width: 30px; height: 30px; flex: none; color: var(--navy); margin-top: 2px; }
.doc-head h3 { font-size: var(--step-1); margin: 0 0 .2rem; }
.doc-meta { font-size: .82rem; color: var(--olive-ink); font-weight: 600; }
.doc-aside { padding: var(--s4); border-radius: var(--radius-m); background: var(--night); color: #DCE4E8; }
.doc-aside-big { font-family: var(--font-display); font-size: var(--step-3); color: var(--eye); line-height: 1.05; margin: 0 0 var(--s3); font-weight: 600; }
.doc-aside .text-link { color: var(--eye); margin-top: var(--s3); }

/* About: founder, journey timeline, capability */
.about-hero .page-hero-inner { align-items: center; }
.founder-card { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: var(--s3); align-items: center; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; max-width: 440px; }
.founder-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.founder-card figcaption { display: grid; gap: .3rem; font-size: var(--step--1); color: var(--muted); }
.founder-card strong { font-family: var(--font-display); color: var(--navy); font-size: var(--step-1); }
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--s4); }
.journey::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--navy), var(--olive)); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) { .journey::before { transform: scaleY(var(--jp, 1)); transition: transform 120ms linear; } }
.journey-item { position: relative; padding-left: var(--s6); display: grid; gap: var(--s1) var(--s5); }
.journey-item::before { content: ""; position: absolute; left: 0; top: .45rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-sizing: border-box; }
.journey-item--key::before { background: var(--eye); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(193,195,113,.3); }
.journey-item--now::before { background: var(--navy); }
.journey-year { margin: 0; font-family: var(--font-display); font-weight: 650; font-size: var(--step-3); line-height: 1; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.journey-item:not(.journey-item--key) .journey-year { font-size: var(--step-1); color: var(--olive-ink); padding-top: .2rem; }
.journey-body h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.journey-body p { margin: 0 0 .5rem; max-width: 62ch; }
@media (min-width: 860px) { .journey-item { grid-template-columns: 160px 1fr; } .journey-item:not(.journey-item--key) .journey-year { padding-top: .35rem; } }
.mission-text { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25; color: #fff; max-width: 30ch; font-weight: 550; letter-spacing: -.015em; }
.cap-steps { list-style: none; counter-reset: cap; margin: 0 0 var(--s6); padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cap-steps li { counter-increment: cap; border-top: 3px solid var(--navy); padding-top: var(--s3); }
.cap-steps li::before { content: counter(cap); display: block; font-family: var(--font-display); font-weight: 650; color: var(--olive-ink); font-size: var(--step-1); margin-bottom: .3rem; }
.cap-steps h3 { font-size: var(--step-0); margin-bottom: .3rem; }
.cap-steps p { font-size: var(--step--1); margin: 0; color: var(--muted); }
.cap-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: var(--s5); }
.cap-card { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); }
.cap-card > svg { width: 30px; height: 30px; color: var(--olive-ink); margin-bottom: var(--s2); }
.cap-card h3 { font-size: var(--step-1); }
.cap-card p { margin: 0; font-size: var(--step--1); }
.cap-request { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; padding: var(--s4) var(--s5); border-radius: var(--radius-m); background: var(--night); color: #DCE4E8; }
.cap-request h3 { color: #fff; font-size: var(--step-1); margin-bottom: .3rem; }
.cap-request p { margin: 0; max-width: 60ch; }
.cap-request .btn { --btn-bg: var(--eye); --btn-fg: var(--night); --btn-bd: var(--eye); --btn-hover: #fff; --btn-fg-hover: var(--night); }
.people-strip { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.people-strip li { display: grid; gap: var(--s2); align-content: start; justify-items: center; text-align: center; }
.people-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--paper-2); filter: grayscale(.25); transition: filter var(--t-med); }
.people-strip li:hover img { filter: none; }
.people-strip span { font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
.people-strip strong { display: block; color: var(--navy); font-family: var(--font-display); }
@media (max-width: 640px) {
  .rs-controls .seg, .ax-types, .hub-views { display: flex; width: 100%; border-radius: var(--radius-m); }
  .rs-controls .seg button, .ax-types button, .hub-views button { flex: 1 1 0; justify-content: center; text-align: center; padding-inline: .5rem; font-size: .84rem; border-radius: 6px; line-height: 1.2; }
}

/* Credentials: one consistent, polished treatment for every badge.
   The artwork is never altered; a light sweep is masked to each badge's own shape. */
.cred { margin: 0; display: grid; justify-items: center; gap: .55rem; text-align: center; }
.cred-art { position: relative; display: block; line-height: 0; filter: drop-shadow(0 6px 14px rgba(9,33,49,.18)) drop-shadow(0 1px 2px rgba(9,33,49,.2)); transition: transform var(--t-med) var(--ease-out), filter var(--t-med); }
.cred-art img { width: auto; height: var(--badge-h, 120px); display: block; }
.cred-sheen { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.0) 38%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 58%, transparent 70%) no-repeat; background-size: 250% 100%; background-position: 130% 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; pointer-events: none; }
.cred figcaption { font-size: .8rem; line-height: 1.3; color: var(--muted); max-width: 16ch; }
.cred--partner { --badge-h: 150px; }
.cred--cert { --badge-h: 150px; }
.cred--assoc { --badge-h: 72px; }
.cred--assoc .cred-art { filter: none; }
.cred--assoc .cred-art img { padding: .6rem .9rem; height: calc(var(--badge-h) + 1.2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-sizing: border-box; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cred:hover .cred-art { transform: translateY(-3px); }
  .cred:hover .cred-sheen { animation: cred-sheen 1.1s var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) { .cred-showcase.is-visible .cred-sheen { animation: cred-sheen 1.4s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 90ms); } }
@keyframes cred-sheen { from { background-position: 130% 0; } to { background-position: -40% 0; } }
.cred-showcase { display: grid; gap: var(--s5); }
.cred-group h3 { font-size: var(--step-0); color: var(--olive-ink); margin-bottom: var(--s3); }
.cred-row { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s4); align-items: end; }
@media (max-width: 600px) { .cred--partner, .cred--cert { --badge-h: 112px; } .cred-row { gap: var(--s3); } .cred figcaption { font-size: .74rem; } }
.cred-strip { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }
.cred--compact { --badge-h: 76px; }
.cred--compact.cred--assoc { --badge-h: 44px; }
.cred--compact figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .cred--compact { --badge-h: 60px; } }
.section--night .cred figcaption, .on-dark .cred figcaption { color: var(--muted-dark); }
.cred-row { align-items: start; }
.cred--partner { --badge-h: 178px; }
.cred--compact.cred--partner { --badge-h: 92px; }
.cred--compact.cred--cert { --badge-h: 76px; }
@media (max-width: 600px) { .cred--partner { --badge-h: 136px; } .cred--compact.cred--partner { --badge-h: 72px; } .cred--compact.cred--cert { --badge-h: 60px; } }

/* ===== Proeye 4.1: scroll-stability fixes (see QA-REPORT "Scroll and overlap defects") ===== */
/* 1. Case-study media no longer sticks: its sticky boundary was the whole case-study grid, so the photo
      slid down into the full-width project story row and covered it. Photos now scroll with the text. */
@media (min-width: 1000px) { .case-media { position: static; } }
/* 2. The hub builder's floating "View hub" bar covered form controls on tablets and phones.
      It is now an ordinary link placed above the form. */
@media (max-width: 1049px) { .builder-mini { position: static; margin: 0 0 var(--s4); box-shadow: none; } }
/* 3. The catalogue search/filter bar only sticks on large screens, where it is short. */
@media (max-width: 999px) { .catalogue-tools { position: static; } }

/* ===== Proeye 4.1: product catalogue ===== */
.cat-bar-wrap { padding-bottom: 0; }
.cat-bar { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
@media (min-width: 900px) { .cat-bar { grid-template-columns: minmax(240px, 340px) 1fr; align-items: center; } .cat-bar .catalogue-count { grid-column: 1 / -1; } }
.cat-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cat-bar .catalogue-count { margin: 0; font-size: var(--step--1); color: var(--muted); }
[data-product-card][hidden], [data-product-group][hidden] { display: none; }
.cmp-tray { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 var(--s4); padding: .7rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-m); font-size: var(--step--1); color: var(--muted); transition: border-color var(--t-med), background var(--t-med); }
.cmp-tray.is-active { border-style: solid; border-color: var(--navy); background: #fff; color: var(--navy); font-weight: 600; }
.cmp-tray [data-tray-clear] { border: 0; background: none; cursor: pointer; padding: 0 0 2px; font-size: inherit; }
.cmp-tray:not(.is-active) [data-tray-clear] { display: none; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; }
.cat-cmp, .pd-rel-cmp { min-height: 40px; padding: .4rem .85rem; border: 1.5px solid var(--navy); border-radius: var(--radius-s); background: #fff; color: var(--navy); font: 650 .9rem/1 var(--font-display); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.cat-cmp[aria-pressed="true"], .pd-rel-cmp[aria-pressed="true"] { background: var(--eye); border-color: var(--olive-ink); color: var(--night); }
.cat-cmp:focus-visible, .pd-rel-cmp:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.product-actions { flex-wrap: wrap; }

/* Product detail pages */
.pd-hero { padding-bottom: var(--s5); }
.pd-head { display: grid; gap: var(--s5); align-items: center; margin-top: var(--s4); }
@media (min-width: 960px) { .pd-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s6); } }
.pd-media { margin: 0; position: relative; border-radius: var(--radius-m); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; min-height: 220px; }
.pd-media img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: contain; }
.pd-media--wide img { object-fit: cover; }
.pd-img-note { position: absolute; left: 10px; bottom: 10px; padding: .2rem .55rem; border-radius: 999px; background: rgba(9,33,49,.82); color: #fff; font-size: .74rem; font-weight: 600; }
.pd-img-none { display: grid; justify-items: center; gap: .4rem; padding: var(--s6) var(--s4); text-align: center; color: var(--navy); }
.pd-img-none svg { width: 56px; height: 56px; color: var(--olive-ink); }
.pd-img-none span { font-family: var(--font-display); font-weight: 650; font-size: var(--step-2); }
.pd-img-none small { color: var(--muted); }
.pd-type { font-family: var(--font-display); font-weight: 600; color: var(--olive-ink); margin: 0 0 .4rem; }
.pd-intro h1 { font-size: var(--step-5); margin-bottom: .35em; }
.pd-chips { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pd-chips li { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; font-size: .86rem; line-height: 1.35; color: var(--ink); }
.pd-chips span { display: block; font-size: .74rem; font-weight: 650; color: var(--olive-ink); margin-bottom: .1rem; }
.pd-compare-status { min-height: 1.4em; font-size: var(--step--1); color: var(--muted); margin: .6rem 0 0; }
.pd-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .pd-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.pd-specs-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.pd-specs-head h2 { font-size: var(--step-3); margin: 0; }
.pd-expand { border: 0; background: none; cursor: pointer; font-size: var(--step--1); padding: 0 0 2px; }
.spec-group { border-top: 1px solid var(--line); }
.spec-group:last-of-type { border-bottom: 1px solid var(--line); }
.spec-group summary { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 650; color: var(--navy); font-size: var(--step-1); }
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary small { font: 500 .78rem var(--font-body); color: var(--muted); margin-left: auto; }
.spec-group summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--t-med) var(--ease-out); }
.spec-group[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.spec-group summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.spec-group table { width: 100%; border-collapse: collapse; margin-bottom: var(--s3); font-size: var(--step--1); line-height: 1.5; }
.spec-group th, .spec-group td { text-align: left; vertical-align: top; padding: .55rem .75rem .55rem 0; border-top: 1px solid var(--paper-2); }
.spec-group th { width: 32%; font-weight: 600; color: var(--navy); }
@media (max-width: 600px) { .spec-group th, .spec-group td { display: block; width: auto; padding: .15rem 0; border: 0; } .spec-group tr { display: block; padding: .5rem 0; border-top: 1px solid var(--paper-2); } .spec-group th { font-size: .8rem; } }
.spec-group--sw summary { font-size: var(--step-0); }
.pd-sub { font-size: var(--step-1); margin: var(--s5) 0 var(--s2); color: var(--muted); }
.pd-source { margin-top: var(--s5); padding: var(--s4); border-radius: var(--radius-m); background: var(--paper); }
.pd-source h3 { font-size: var(--step-0); margin-bottom: .35rem; }
.pd-source p, .pd-missing { font-size: var(--step--1); margin: 0; }
.pd-missing { margin-top: .5rem; padding-left: 1.1rem; color: var(--muted); }
.pd-side { display: grid; gap: var(--s4); }
.pd-card { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.pd-card-title { font-size: var(--step-1); margin-bottom: var(--s3); }
.pd-card .checks { font-size: var(--step--1); margin: 0; }
.pd-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: var(--step--1); }
.pd-docs a { display: flex; gap: .6rem; align-items: flex-start; text-decoration: none; font-weight: 600; }
.pd-docs svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--olive-ink); }
.pd-terms dl { margin: 0; display: grid; gap: .7rem; }
.pd-terms dt { font-weight: 650; color: var(--navy); font-size: .86rem; }
.pd-terms dd { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.pd-related { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pd-rel { display: flex; flex-direction: column; gap: .6rem; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.pd-rel:hover { border-color: var(--navy); transform: translateY(-2px); }
.pd-rel-link { display: grid; gap: .25rem; text-decoration: none; color: var(--ink); }
.pd-rel-name { font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); color: var(--navy); }
.pd-rel-type { font-size: var(--step--1); color: var(--muted); }
.pd-rel .badge { justify-self: start; }
.pd-rel-cmp { align-self: flex-start; }

/* Comparison tool */
.cmp-controls { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.seg--light { border-color: var(--line); background: var(--paper); }
.seg--light button { color: var(--navy); }
.seg--light button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg--light button:not([aria-pressed="true"]):hover { background: var(--paper-2); }
.seg--light button:focus-visible { outline-color: var(--olive); }
.cmp-diff { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--navy); cursor: pointer; }
.cmp-diff input { width: 18px; height: 18px; accent-color: var(--navy); }
.cmp-slots { display: grid; gap: var(--s3); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: var(--s4); }
@media (max-width: 700px) { .cmp-slots { grid-template-columns: 1fr; } }
.cmp-slot { display: grid; gap: .35rem; padding: var(--s3); border: 1.5px dashed var(--line); border-radius: var(--radius-m); }
.cmp-slot.is-filled { border-style: solid; border-color: var(--navy); }
.cmp-slot label { font-size: .8rem; font-weight: 650; color: var(--olive-ink); }
.cmp-slot select { min-height: 44px; padding: .4rem .6rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); font: inherit; background: #fff; color: var(--ink); }
.cmp-slot select:focus { outline: 3px solid var(--olive); outline-offset: 1px; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.cmp-scroll:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.cmp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: var(--step--1); line-height: 1.45; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--paper-2); }
.cmp-table thead th { vertical-align: bottom; background: var(--paper); border-bottom: 2px solid var(--navy); }
.cmp-table thead th a:not(.btn) { display: block; font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); text-decoration: none; }
.cmp-table thead .btn { margin-top: .5rem; }
.cmp-brand, .cmp-type { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.cmp-table tbody th { width: 22%; min-width: 150px; font-weight: 600; color: var(--navy); background: #fff; }
/* The label column stays visible while the table scrolls sideways inside its own box. */
.cmp-table tbody th, .cmp-table .cmp-corner { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--paper-2); }
.cmp-table .cmp-corner { background: var(--paper); }
.cmp-table tr.is-diff td { background: rgba(238,238,154,.28); }
.cmp-table tr.is-diff th { box-shadow: inset 3px 0 0 var(--olive-ink), 1px 0 0 var(--paper-2); }
.cmp-na { color: var(--muted); }
.cmp-empty { padding: var(--s5); border: 1.5px dashed var(--line); border-radius: var(--radius-m); color: var(--muted); text-align: center; }
.cmp-links { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s5); }
.qd-photo { margin: 0; }
.qd-photo img { width: 100%; height: auto; border-radius: var(--radius-m); max-height: 520px; object-fit: cover; }
.qd-photo figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .5rem; }
@media (max-width: 700px) {
  .cmp-table { min-width: 0; width: max-content; }
  .cmp-table tbody th, .cmp-table .cmp-corner { width: 112px; min-width: 112px; max-width: 112px; font-size: .8rem; }
  .cmp-table td, .cmp-table thead th:not(.cmp-corner) { width: 62vw; min-width: 62vw; max-width: 62vw; }
  .pd-media img { max-height: 300px; }
}
.cmp-hint { display: none; font-size: var(--step--1); color: var(--muted); margin: 0 0 .5rem; }
@media (max-width: 700px) { .cmp-hint { display: block; } }

/* RSRP comparison, 4.2: survey-style legend and retail plan overlays */
.rs-stage { aspect-ratio: 64 / 36; background: #0c2536; }
.rs-caption-top { margin: 0 0 .5rem; font-size: var(--step--1); color: var(--muted-dark); font-weight: 600; }
.rs-w { stroke: #fff; }
.rs-w--tiltpanel, .rs-w--concrete, .rs-w--core { stroke-width: 4; }
.rs-w--coolroom { stroke-width: 3.4; stroke: #E8F4FA; stroke-dasharray: 6 2; }
.rs-w--glass { stroke: #BFE6F5; stroke-width: 3; }
.rs-w--masonry { stroke-width: 2.6; }
.rs-w--partition { stroke-width: 1.4; stroke: rgba(255,255,255,.85); }
.rs-w--shelving { stroke-width: 3; stroke: rgba(255,255,255,.55); stroke-linecap: round; }
.rs-floor-edge { fill: none; stroke: rgba(255,255,255,.25); stroke-width: .15; stroke-dasharray: .6 .4; }
.rs-plan text { font: 650 1.05px var(--font-display); fill: #fff; paint-order: stroke; stroke: rgba(9,33,49,.85); stroke-width: .3px; }
.rs-ant { fill: #fff; stroke: var(--night); stroke-width: .25; }
.rs-ring { stroke: #fff; stroke-width: .14; }
.rs-cable { stroke: #fff; stroke-width: .18; stroke-dasharray: .7 .5; opacity: .75; }
.rs-hub rect { fill: var(--night); stroke: var(--eye); stroke-width: .25; }
.rs-hub text, .rs-riser text { font: 700 1px var(--font-display); fill: #fff; paint-order: stroke; stroke: rgba(9,33,49,.9); stroke-width: .3px; }
.rs-riser circle { fill: var(--eye); stroke: var(--night); stroke-width: .25; }
.rs-riser text { text-anchor: start; }
@media (max-width: 640px) { .rs-hub text, .rs-riser text { display: none; } }
.rs-legend { display: grid; gap: .55rem; margin: 0 0 var(--s3); }
.rs-legend-group { display: grid; grid-template-columns: 5.5rem 1fr; gap: .2rem .6rem; align-items: start; padding: .45rem .6rem; border: 1px solid var(--line-dark); border-radius: var(--radius-s); }
.rs-legend-cls { margin: 0; font: 700 .8rem/1.4 var(--font-display); color: #fff; letter-spacing: .02em; }
.rs-legend-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; font-size: .8rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.rs-legend-group li { display: flex; align-items: center; }
.rs-keys { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: .3rem; font-size: .8rem; color: var(--muted-dark); }
.rs-keys li { display: flex; align-items: center; gap: .5rem; }
.rs-ant-key { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--night); box-shadow: 0 0 0 1px #fff; }
.rs-hub-key { width: 16px; height: 10px; border-radius: 2px; background: var(--night); border: 2px solid var(--eye); }
.rs-cable-key { width: 18px; border-top: 2px dashed #fff; opacity: .8; }
.rs-riser-key { width: 12px; height: 12px; border-radius: 50%; background: var(--eye); border: 2px solid var(--night); }
.doc-card--wide { grid-column: 1 / -1; }
.doc-cols { display: grid; gap: 0 var(--s5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.doc-cols .checks { margin: 0; }
/* 4. The components catalogue search bar scrolls with the page at every size (it previously stuck on desktop and items slid under it). */
.catalogue-tools { position: static; }

/* Panel (directional) antennas on the RSRP plan: a wall-mounted panel and its beam. */
.rs-panel rect { fill: #fff; stroke: var(--night); stroke-width: .25; }
.rs-beam { fill: rgba(255,255,255,.1); stroke: #fff; stroke-width: .12; stroke-dasharray: .5 .35; opacity: .85; }
.rs-panel-key { width: 6px; height: 14px; border-radius: 2px; background: #fff; border: 2px solid var(--night); box-shadow: 0 0 0 1px #fff; margin: 0 4px 0 3px; position: relative; }
.rs-panel-key::after { content: ""; position: absolute; left: 7px; top: 1px; border-left: 9px solid rgba(255,255,255,.55); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* CEL-FI system switch (QUATRA 4000e or G41 repeater hubs) and the G41 hub diagram */
.sys-switch { margin: 0 0 var(--s4); }
.qd-box--hub { fill: rgba(255,255,255,.06); stroke: #DDE3E7; stroke-width: 1.4; }
.qd-module { fill: var(--eye); stroke: rgba(9,33,49,.35); stroke-width: 1; }
@media (max-width: 640px) {
  .sys-switch { display: flex; width: 100%; border-radius: var(--radius-m); }
  .sys-switch button { flex: 1 1 0; justify-content: center; text-align: center; padding-inline: .5rem; font-size: .84rem; border-radius: 6px; line-height: 1.2; }
}

/* Designed, then measured: real survey values for the VIC warehouse store */
.mr { display: grid; gap: var(--s4) var(--s6); grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.mr-figure { margin: 0; padding: var(--s4); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); }
.mr-svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.mr-pred { fill: rgba(193,195,113,.22); stroke: rgba(91,94,28,.35); stroke-width: 1; stroke-dasharray: 4 3; }
.mr-tick { stroke: var(--line); stroke-width: 1; }
.mr-axis { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.mr-axis--unit { text-anchor: end; }
.mr-pass { stroke: #B3261E; stroke-width: 1.5; stroke-dasharray: 5 4; }
.mr-note { fill: var(--navy); font-size: 12px; font-weight: 600; }
.mr-note--pass { fill: #9A2018; }
.mr-carrier { fill: var(--navy); font: 700 14px var(--font-display); }
.mr-span { stroke: rgba(15,52,76,.25); stroke-width: 10; stroke-linecap: round; }
.mr-area { fill: var(--navy); fill-opacity: .35; stroke: #fff; stroke-width: 1; }
.mr-gain { stroke: var(--olive-ink); stroke-width: 2; }
#mr-arrow path { fill: var(--olive-ink); }
.mr-before { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.mr-centre { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.mr-val { fill: var(--muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mr-val--after { fill: var(--navy); font-weight: 700; }
.mr-key { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .82rem; color: var(--muted); }
.mr-key li { display: flex; align-items: center; gap: .45rem; }
.mr-k { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.mr-k--before { background: #fff; border: 2px solid var(--navy); }
.mr-k--centre { background: var(--navy); }
.mr-k--area { width: 9px; height: 9px; background: rgba(15,52,76,.4); }
.mr-k--pred { width: 18px; height: 10px; border-radius: 2px; background: rgba(193,195,113,.35); border: 1px dashed rgba(91,94,28,.5); }
.mr-result { margin: 0 0 var(--s4); font-size: var(--step-1); line-height: 1.4; color: var(--navy); }
.mr-result strong { display: block; font: 700 var(--step-3)/1.05 var(--font-display); }
.mr-grids-title { margin: 0 0 var(--s2); font-size: var(--step-0); }
.mr-grids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.mr-grid { border-collapse: separate; border-spacing: 3px; width: 100%; font-variant-numeric: tabular-nums; }
.mr-grid caption { text-align: left; font: 700 .85rem var(--font-display); color: var(--navy); padding: 0 0 .2rem 3px; }
.mr-grid td { background: var(--c); color: var(--night); text-align: center; font-size: .74rem; font-weight: 700; padding: .5rem .1rem; border-radius: 3px; }
.mr-source { grid-column: 1 / -1; max-width: 80ch; margin: 0; }
@media (max-width: 960px) { .mr { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .mr-figure { padding: var(--s2); } .mr-grids { gap: var(--s2); } .mr-grid td { font-size: .68rem; } }
.mr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mr-scroll:focus-visible { outline: 2px solid var(--olive-ink); outline-offset: 3px; }
@media (max-width: 640px) { .mr-svg { min-width: 560px; } }
.mr-swipe { display: none; margin: .4rem 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .mr-swipe { display: block; } }

/* ---------- Proeye 4.4: commercial positioning pages ---------- */
.hero-company { margin: 0 0 var(--s3); font-family: var(--font-display); font-weight: 650; font-size: var(--step-0); letter-spacing: .04em; color: var(--eye); }
.hero-facts--words li { grid-template-columns: 1fr; gap: .15rem; }
.hero-facts--words b { font-size: 1.12rem; line-height: 1.25; }
.h3 { font-size: var(--step-1); }
@media (min-width: 1000px) { .callouts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section--paper .callout { background: #fff; }
.section--night .callout { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.section--night .callout h3 { color: #fff; }
.section--night .callout p { color: #C9D4DB; }
.callout .feature-icon { margin-bottom: var(--s3); }
.callout .quote-kicker { margin-bottom: var(--s2); }
dl.facts, .facts dd { margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-family: var(--font-display); font-weight: 650; color: var(--navy); font-size: var(--step-1); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--t-med) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.faq-item > div { padding: 0 0 1.1rem; max-width: 68ch; }
.faq-item > div p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
.nav-trigger, .nav-link, .header-cta, .header-phone { white-space: nowrap; }
