.site-homiq {
  --bg: #f4f6f2;
  --surface: #ffffff;
  --quiet: #e8ede6;
  --ink: #17302a;
  --muted: #586862;
  --line: #d3dbd3;
  --accent: #f4b740;
  --accent-ink: #17302a;
  --action: #17302a;
  --action-ink: #ffffff;
  --night: #0f1e1f;
  --night-2: #18302f;
  --on-night: #eaf1ee;
  --on-night-muted: #9db3ae;
  --night-line: rgba(234, 241, 238, 0.14);
  --radius: 22px;
  --radius-small: 999px;
  --display: 'Bricolage Grotesque', 'Avenir Next', sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', sans-serif;
  --display-stretch: normal;
  --display-weight: 700;
}

.site-intelli {
  --bg: #eef1f5;
  --surface: #ffffff;
  --quiet: #e2e7ee;
  --ink: #0b1626;
  --muted: #4c5d72;
  --line: #cbd3de;
  --accent: #3b6cff;
  --accent-ink: #ffffff;
  --action: #3b6cff;
  --action-ink: #ffffff;
  --night: #060e1a;
  --night-2: #0c1a2d;
  --on-night: #e6edf7;
  --on-night-muted: #8fa2bc;
  --night-line: rgba(143, 170, 220, 0.18);
  --c-access: #34d399;
  --c-cameras: #f5b83d;
  --c-network: #5b8dff;
  --c-cabling: #5ed3f3;
  --radius: 4px;
  --radius-small: 3px;
  --display: 'Archivo', 'Helvetica Neue', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', sans-serif;
  --display-stretch: 125%;
  --display-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); line-height: 1.05; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.site-intelli h1 { letter-spacing: -0.03em; line-height: 0.98; }
.site-intelli h3 { font-stretch: 110%; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--surface); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.meta { color: var(--muted); font-size: 0.9375rem; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--muted); }

.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(14px); color: var(--on-night); border-bottom: 1px solid var(--night-line); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px; }
.wordmark { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.5rem; text-decoration: none; letter-spacing: -0.02em; margin: 0; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.masthead nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; color: var(--on-night-muted); }
.masthead nav a:hover, .masthead nav a[aria-current='page'] { color: var(--on-night); border-bottom-color: var(--accent); }
.masthead nav .nav-cta { margin-left: 8px; padding: 0.55em 1.1em; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); }
.masthead nav .nav-cta:hover, .masthead nav .nav-cta[aria-current='page'] { color: var(--accent-ink); border-color: var(--accent); }

.notices p { margin: 16px 0 0; padding: 12px 16px; background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius-small); }
.site-homiq .notices p { border-radius: 12px; }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 0.85em 1.5em; border: 2px solid var(--action); border-radius: var(--radius-small); background: var(--action); color: var(--action-ink); font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease; }
.button:hover { filter: brightness(1.12); }
.button:active { transform: translateY(1px); }
.button-quiet { background: transparent; color: var(--ink); border-color: currentColor; }
.on-night .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.on-night .button-quiet { background: transparent; color: var(--on-night); border-color: var(--night-line); }
.on-night .button-quiet:hover { border-color: var(--on-night); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

.band { padding-block: clamp(64px, 9vw, 120px); }
.band-tight { padding-block: 40px 88px; }
.band-quiet { background: var(--quiet); }
.split { display: grid; gap: 24px 72px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
.section-head { display: grid; gap: 8px 72px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

.on-night { background: var(--night); color: var(--on-night); }
.on-night .lede, .on-night .meta { color: var(--on-night-muted); }

/* Page heads continue the dark masthead on inner pages. */
.page-head { background: var(--night); color: var(--on-night); padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head .lede { color: var(--on-night-muted); margin: 0; }
.page-head h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.page-head .actions { margin-top: 28px; }
.page-head a:not(.button) { color: var(--on-night); }
.page-head .button-quiet { color: var(--on-night); border-color: var(--night-line); }
.page-head .button-quiet:hover { border-color: var(--on-night); }
.site-homiq .page-head { background: radial-gradient(60% 120% at 85% 0%, rgba(255, 181, 77, 0.22), transparent 60%), var(--night); }
.site-intelli .page-head { background: linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 40px 40px, radial-gradient(60% 120% at 85% 0%, rgba(59, 108, 255, 0.35), transparent 60%), var(--night); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; position: relative; }
.hero-copy .lede { margin-bottom: 32px; }
.hero h1 { color: var(--on-night); font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.site-homiq .hero { background: radial-gradient(45% 60% at 72% 55%, rgba(255, 181, 77, 0.2), transparent 70%), radial-gradient(70% 90% at 0% 0%, #1d3a38, transparent 60%), var(--night); }
.site-intelli .hero { background: linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(50% 60% at 70% 50%, rgba(59, 108, 255, 0.28), transparent 70%), var(--night); }
.site-intelli .hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 80% at 70% 50%, transparent 40%, var(--night) 100%); pointer-events: none; }
.site-intelli .hero .wrap { z-index: 1; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; color: var(--on-night-muted); font-size: 0.9375rem; }
.hero-proof li { display: flex; align-items: center; gap: 10px; }
.hero-proof li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Homiq scene */
.scene { position: relative; margin: 0; --glow: #ffb54d; --living: 0.95; --kitchen: 0.8; --bedroom: 0.3; --office: 0; --waves: 1; --tv: 0; --cams: 0; --lock: 0; --temp: 0; }
.scene[data-active='movie'] { --living: 0.2; --kitchen: 0.08; --bedroom: 0; --office: 0; --waves: 1; --tv: 1; --cams: 0; --lock: 1; --temp: 0; }
.scene[data-active='away'] { --living: 0; --kitchen: 0; --bedroom: 0; --office: 0; --waves: 0; --tv: 0; --cams: 1; --lock: 1; --temp: 0; }
.scene[data-active='morning'] { --glow: #ffe2a6; --living: 0.35; --kitchen: 0.9; --bedroom: 0.65; --office: 0.45; --waves: 0.6; --tv: 0; --cams: 0; --lock: 0; --temp: 1; }
.scene svg { width: 108%; margin: -4% 0 0 -4%; height: auto; display: block; overflow: visible; }
.scene polygon, .scene ellipse, .scene path, .scene rect, .scene circle { transition: opacity 0.9s ease, fill 0.9s ease, filter 0.9s ease; }
.scene .lawn { fill: #10231f; }
.scene .slab .t, .scene .floor { fill: #223a3c; }
.scene .floor-living, .scene .floor-bedroom { fill: #2b4442; }
.scene .slab .l { fill: #142625; }
.scene .slab .r { fill: #0f1d1c; }
.scene .wall .t, .scene .post .t { fill: #6b8a88; }
.scene .wall .l, .scene .post .l { fill: #36504f; }
.scene .wall .r, .scene .post .r { fill: #2a403f; }
.scene .furn .t { fill: #4a6564; }
.scene .furn .l { fill: #344c4b; }
.scene .furn .r { fill: #2a3f3e; }
.scene .sofa .t { fill: #6a7f5c; }
.scene .sofa .l { fill: #4d5f43; }
.scene .sofa .r { fill: #3f4f37; }
.scene .bed .t { fill: #c5d3cf; }
.scene .bed .l { fill: #93a5a1; }
.scene .bed .r { fill: #7d908c; }
.scene .pillow .t { fill: #e8efed; }
.scene .pillow .l, .scene .pillow .r { fill: #b3c2bf; }
.scene .monitor .l { fill: #0c1617; }
.scene .monitor .t, .scene .monitor .r { fill: #2c3c3d; }
.scene .door .t { fill: #b0835a; }
.scene .door .l { fill: #7d5b3d; }
.scene .door .r { fill: #8f6847; }
.scene .window { fill: var(--glow); }
.scene .window[data-room='living'] { opacity: max(0.12, var(--living)); }
.scene .window[data-room='kitchen'] { opacity: max(0.12, var(--kitchen)); }
.scene .window[data-room='bedroom'] { opacity: max(0.12, var(--bedroom)); }
.scene .pool { fill: url(#pool-glow); mix-blend-mode: screen; }
.scene .pool[data-room='living'] { opacity: var(--living); }
.scene .pool[data-room='kitchen'] { opacity: var(--kitchen); }
.scene .pool[data-room='bedroom'] { opacity: var(--bedroom); }
.scene .pool[data-room='office'] { opacity: var(--office); }
.scene .tv { fill: color-mix(in srgb, #8fd0ff calc(var(--tv) * 100%), #0a1415); filter: drop-shadow(0 0 calc(var(--tv) * 18px) #6fb7ff); }
.scene .thermo { fill: #e8efed; }
.scene .speaker { fill: #dfe8e5; opacity: 0.85; }
.scene .wave { fill: none; stroke: var(--glow); stroke-width: 1.5; opacity: var(--waves); transform-box: fill-box; transform-origin: center; animation: wave 2.4s ease-out infinite; }
.scene .wave-1 { animation-delay: 0.8s; }
.scene .wave-2 { animation-delay: 1.6s; }
.scene .cone { fill: #7fe0ff; opacity: calc(var(--cams) * 0.3); mix-blend-mode: screen; animation: breathe 2.6s ease-in-out infinite; }
.scene .cam .t { fill: #f2f6f5; }
.scene .cam .l { fill: #b8c6c3; }
.scene .cam .r { fill: #9aaba8; }
.scene .lock { opacity: var(--lock); }
.scene .lock circle { fill: #34d399; filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.7)); }
.scene .lock rect { fill: #0f1e1f; }
.scene .lock path { fill: none; stroke: #0f1e1f; stroke-width: 2; }
.scene .temp { opacity: var(--temp); }
.scene .temp rect { fill: #ffffff; }
.scene .temp text { font: 700 12px var(--body); fill: var(--ink); }
.scene[data-active='away'] svg { filter: saturate(0.75) brightness(0.9); }

@keyframes wave { from { transform: scale(0.25); stroke-opacity: 0.9; } to { transform: scale(1.5); stroke-opacity: 0; } }
@keyframes breathe { 50% { fill-opacity: 0.55; } }

.app-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4px 24px; margin-top: 8px; padding: 18px 20px; border-radius: 26px; background: rgba(20, 38, 37, 0.72); border: 1px solid var(--night-line); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); color: var(--on-night); }
.app-title { grid-column: 1 / -1; margin: 0 0 10px; font: 700 0.9375rem/1 var(--body); color: var(--on-night-muted); }
.app-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.app-scenes button { padding: 0.7em 0.8em; border-radius: 14px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, 0.04); color: var(--on-night); font: 700 0.9375rem/1.1 var(--body); text-align: left; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.app-scenes button:hover { background: rgba(255, 255, 255, 0.1); }
.app-scenes button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.app-desc { font-size: 0.9375rem; color: var(--on-night-muted); margin-bottom: 10px; }
.app-status { margin: 0; display: grid; gap: 6px; font-size: 0.875rem; }
.app-status div { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--night-line); }
.app-status dt { color: var(--on-night-muted); }
.app-status dd { margin: 0; text-align: right; }

/* Intelli operations view */
.ops { position: relative; margin: 0; }
.ops svg { width: 100%; height: auto; display: block; overflow: visible; }
.ops .plaza { fill: rgba(17, 36, 64, 0.65); }
.ops .grid { stroke: rgba(91, 141, 255, 0.14); stroke-width: 1; }
.ops .back { fill: rgba(12, 30, 56, 0.85); stroke: rgba(140, 180, 255, 0.2); }
.ops .slab { fill: rgba(91, 141, 255, 0.05); stroke: rgba(150, 185, 255, 0.28); stroke-width: 1; }
.ops .glass-l { fill: rgba(80, 130, 230, 0.14); }
.ops .glass-r { fill: rgba(60, 105, 210, 0.24); }
.ops .mullion { stroke: rgba(170, 200, 255, 0.18); stroke-width: 1; }
.ops .mullion-h { fill: none; stroke: rgba(170, 200, 255, 0.4); stroke-width: 1; }
.ops .edge { fill: none; stroke: #a9c2f0; stroke-width: 1.5; }
.ops .roof-unit .t { fill: #3a4b66; }
.ops .roof-unit .l { fill: #1f2c40; }
.ops .roof-unit .r { fill: #28374f; }
.ops .antenna { stroke: #a9c2f0; stroke-width: 2; }
.ops .lobby-door { fill: rgba(52, 211, 153, 0.28); stroke: var(--c-access); stroke-width: 1; }
.ops .sys { transition: opacity 0.4s ease; }
.ops .riser { stroke: var(--c-cabling); stroke-width: 5; opacity: 0.35; }
.ops .run { fill: none; stroke: var(--c-cabling); stroke-width: 1.5; opacity: 0.45; }
.ops .flow { fill: none; stroke: var(--c-cabling); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 26; animation: flow 1.4s linear infinite; }
.ops .ap .dot { fill: var(--c-network); filter: drop-shadow(0 0 6px var(--c-network)); }
.ops .ap .ring, .ops .reader .ring { fill: none; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.ops .ap .ring { stroke: var(--c-network); }
.ops .rack .t { fill: #7ea6ff; }
.ops .rack .l { fill: #3a64c9; }
.ops .rack .r { fill: #4f78dc; }
.ops .cone { fill: var(--c-cameras); opacity: 0.3; mix-blend-mode: screen; animation: breathe 3s ease-in-out infinite; }
.ops .cam .t { fill: #ffe2a0; }
.ops .cam .l { fill: #c48e22; }
.ops .cam .r { fill: #d9a133; }
.ops .reader rect { fill: var(--c-access); filter: drop-shadow(0 0 6px var(--c-access)); }
.ops .reader .ring { stroke: var(--c-access); animation-duration: 2s; }
.ops[data-active='access'] .sys:not(.sys-access),
.ops[data-active='cameras'] .sys:not(.sys-cameras),
.ops[data-active='network'] .sys:not(.sys-network),
.ops[data-active='cabling'] .sys:not(.sys-cabling) { opacity: 0.08; }
.ops[data-active='cabling'] .run { opacity: 0.9; }
.ops[data-active='cameras'] .cone { opacity: 0.32; }

@keyframes flow { to { stroke-dashoffset: -58; } }
@keyframes ping { from { transform: scale(0.3); stroke-opacity: 1; } to { transform: scale(1.6); stroke-opacity: 0; } }

.ops figcaption { margin-top: 8px; }
.ops .explorer-hint { color: var(--on-night-muted); font-size: 0.875rem; margin: 0 0 10px; }
.ops-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 0.6em 0.9em; border: 1px solid var(--night-line); border-radius: var(--radius-small); background: rgba(12, 26, 45, 0.7); color: var(--on-night); font: 600 0.875rem/1 var(--body); cursor: pointer; }
.ops-tabs button:hover { border-color: var(--on-night-muted); }
.ops-tabs button[aria-pressed='true'] { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.swatch { width: 10px; height: 10px; border-radius: 2px; background: conic-gradient(var(--c-access) 0 25%, var(--c-cameras) 0 50%, var(--c-network) 0 75%, var(--c-cabling) 0); }
.swatch-access { background: var(--c-access); }
.swatch-cameras { background: var(--c-cameras); }
.swatch-network { background: var(--c-network); }
.swatch-cabling { background: var(--c-cabling); }

.feed { position: absolute; bottom: 72px; right: -24px; width: min(272px, 55%); padding: 16px 16px 6px; background: rgba(9, 20, 36, 0.78); border: 1px solid var(--night-line); border-radius: var(--radius); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.feed-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.8125rem; font-weight: 700; color: var(--on-night-muted); }
.feed-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-access); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 10px 1fr auto; gap: 2px 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--night-line); font-size: 0.8125rem; transition: opacity 0.4s ease; }
.feed li[hidden] { display: none; }
.feed li.is-new { animation: arrive 0.5s ease-out; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.feed-what { font-weight: 700; color: var(--on-night); }
.feed-detail { grid-column: 2 / -1; color: var(--on-night-muted); }
.feed time { grid-row: 1; grid-column: 3; white-space: nowrap; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.feed [data-system='access'] .feed-dot { background: var(--c-access); }
.feed [data-system='cameras'] .feed-dot { background: var(--c-cameras); }
.feed [data-system='network'] .feed-dot { background: var(--c-network); }
.feed [data-system='cabling'] .feed-dot { background: var(--c-cabling); }
.ops[data-active='access'] .feed li:not([data-system='access']),
.ops[data-active='cameras'] .feed li:not([data-system='cameras']),
.ops[data-active='network'] .feed li:not([data-system='network']),
.ops[data-active='cabling'] .feed li:not([data-system='cabling']) { opacity: 0.3; }

@keyframes arrive { from { opacity: 0; transform: translateY(-8px); } }

/* Brands */
.brands { padding-block: 28px; border-bottom: 1px solid var(--line); }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.brands p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.brands ul { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 0; list-style: none; }
.brands li { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.3125rem; letter-spacing: -0.02em; color: color-mix(in srgb, var(--ink) 55%, var(--bg)); }

/* Services */
.service-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-grid > li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.service-grid h3 { margin: 6px 0 0; }
.service-grid p { color: var(--muted); margin: 0; }
.icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); }
.site-intelli .icon-badge { border-radius: var(--radius); background: var(--night); color: var(--c-cabling); }
.site-intelli .service-grid > li { border-top: 3px solid var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 12px 0 0; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--quiet); font-size: 0.8125rem; color: var(--ink); }
.site-intelli .tags li { border-radius: var(--radius-small); }

/* Audiences */
.audiences { margin: 0; display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.audiences div { padding: 24px 0 0; border-top: 2px solid var(--ink); }
.audiences dt { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 8px; }
.audiences dd { margin: 0; color: var(--muted); }

/* Steps as a timeline */
.steps { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: step; display: grid; gap: 32px 24px; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 22px; right: 10%; height: 2px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 20%, transparent)); }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 1.125rem/1 var(--display); box-shadow: 0 0 0 8px var(--bg); position: relative; }
.band-quiet .steps li::before { box-shadow: 0 0 0 8px var(--quiet); }
.site-intelli .steps li::before { border-radius: var(--radius); }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--muted); font-size: 0.9375rem; margin: 0; }

input:not([type='checkbox']), select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.7em 0.85em; }
.site-intelli :is(input:not([type='checkbox']), select, textarea) { border-radius: var(--radius-small); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }

.contact-layout { display: grid; gap: 40px 64px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.fields { display: grid; gap: 18px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; }
.field-wide { grid-column: 1 / -1; }
.service-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.service-picker legend { font-weight: 700; font-size: 0.9375rem; margin-bottom: 10px; padding: 0; }
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 0.6em 1em; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); font-size: 0.9375rem; transition: background 0.15s ease, border-color 0.15s ease; }
.pick:hover span { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pick input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-error, .form-error { color: #b42318; font-size: 0.9375rem; margin: 6px 0 0; }
.trap { position: absolute; left: -9999px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.summary h2 { font-size: 1.375rem; }
.next-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: next; display: grid; gap: 14px; }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; }
.next-steps li::before { content: counter(next); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 0.9375rem/1 var(--display); }
.site-intelli .next-steps li::before { border-radius: var(--radius); }
.next-steps span { color: var(--muted); font-size: 0.9375rem; }
.summary address { font-style: normal; color: var(--muted); }

.portfolio, .quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.portfolio img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 16px; }
.quotes li { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quotes blockquote { margin: 0 0 12px; font-family: var(--display); font-stretch: var(--display-stretch); font-size: 1.25rem; line-height: 1.35; }
.quotes blockquote p::before { content: '\201C'; }
.quotes blockquote p::after { content: '\201D'; }

.empty { padding: 32px 0; }

.closing { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 144px); }
.closing h2 { font-size: clamp(2.25rem, 5vw, 4rem); color: var(--on-night); }
.closing p { color: var(--on-night-muted); font-size: 1.1875rem; }
.site-homiq .closing { background: radial-gradient(50% 90% at 100% 100%, rgba(255, 181, 77, 0.3), transparent 70%), var(--night); }
.site-intelli .closing { background: linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(50% 90% at 100% 100%, rgba(59, 108, 255, 0.4), transparent 70%), var(--night); }

.footer { background: var(--night); color: var(--on-night-muted); padding-block: 48px; border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); align-items: start; }
.footer p { margin: 0 0 4px; }
.footer .wordmark { color: var(--on-night); }
.footer address { font-style: normal; }
.footer a:not(.button) { color: var(--on-night); }
.footer .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

@media (max-width: 960px) {
  .hero-grid, .split, .contact-layout, .section-head { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 20%, transparent)); }
  .steps li { padding-left: 72px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .summary { position: static; }
  .scene svg { width: 100%; margin-left: 0; }
  .app-card { grid-template-columns: minmax(0, 1fr); }
  .feed { position: static; width: auto; margin-top: 20px; }
}

@media (max-width: 560px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .masthead nav { gap: 4px 16px; font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Service areas and catalog */
.area-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; font-weight: 700; }
.area-links a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.catalog-teaser { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-bottom: 36px; }
.catalog-teaser h3 { font-size: 1.0625rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.catalog-teaser ul { list-style: none; margin: 0; padding: 0; }
.catalog-teaser li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.catalog-teaser li a { text-decoration: none; }
.catalog-teaser li a:hover { text-decoration: underline; }
.catalog-teaser li span { color: var(--muted); font-variant-numeric: tabular-nums; }

.catalog-search { margin-top: 28px; max-width: 560px; }
.catalog-search input { padding: 0.9em 1.1em; font-size: 1.0625rem; background: rgba(255, 255, 255, 0.96); border-color: transparent; }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 56px 120px; align-items: start; }
.catalog-nav { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 0.9375rem; padding-right: 8px; }
.catalog-nav p { margin: 18px 0 6px; font-weight: 700; color: var(--ink); }
.catalog-nav p:first-child { margin-top: 0; }
.catalog-nav ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.catalog-nav a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.catalog-nav a:hover, .catalog-nav a.is-current { color: var(--ink); }
.catalog-nav a.is-current { font-weight: 700; }
.catalog-group + .catalog-group { margin-top: 72px; }
.catalog-group > h2 { margin-bottom: 4px; }
.catalog-group > .lede { margin-bottom: 28px; }
.catalog-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 20px; scroll-margin-top: 96px; overflow: hidden; }
.site-intelli .catalog-section { border-top: 3px solid var(--ink); }
.catalog-section header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.catalog-section header h3 { margin: 0 0 2px; }
.catalog-section header p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.catalog-section .count { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.service-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-items li { border-bottom: 1px solid var(--line); }
.service-items li:nth-child(odd) { border-right: 1px solid var(--line); }
.service-items label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 24px; cursor: pointer; height: 100%; transition: background 0.15s ease; }
.service-items label:hover { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.service-items input { position: absolute; opacity: 0; }
.item-text strong { display: block; font-size: 1rem; line-height: 1.35; }
.item-text span { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.45; margin-top: 4px; }
.item-toggle { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: background 0.15s ease, border-color 0.15s ease; margin-top: 2px; }
.site-intelli .item-toggle { border-radius: var(--radius-small); }
.item-toggle::after { content: ''; width: 10px; height: 6px; border: solid var(--accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.service-items input:checked ~ .item-toggle { background: var(--accent); border-color: var(--accent); }
.service-items input:checked ~ .item-toggle::after { opacity: 1; }
.service-items li:has(input:checked) label { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.service-items input:focus-visible ~ .item-toggle { outline: 3px solid var(--accent); outline-offset: 2px; }
[data-item][hidden], [data-section][hidden], [data-group][hidden] { display: none; }

.quote-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: color-mix(in srgb, var(--night) 94%, transparent); backdrop-filter: blur(14px); color: var(--on-night); border-top: 1px solid var(--night-line); transform: translateY(0); transition: transform 0.3s ease; }
.quote-bar.is-empty { transform: translateY(110%); }
.quote-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.quote-bar p { margin: 0; }
.quote-bar strong { font-size: 1.25rem; color: var(--accent); }
.site-intelli .quote-bar strong { color: var(--c-cabling); }
.quote-bar .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.picked-items { border: 0; margin: 0; padding: 16px 18px; min-width: 0; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.picked-items legend { font-weight: 700; font-size: 0.9375rem; padding: 0 6px; }
.picked-items ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.picked-items label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.picked-items input { width: 1.125rem; height: 1.125rem; accent-color: var(--action); }
.picked-items .meta { margin: 0; }

@media (max-width: 960px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .catalog-nav { position: static; max-height: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .catalog-nav p { display: none; }
  .catalog-nav ul { display: contents; }
  .catalog-nav a { white-space: nowrap; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
  .service-items { grid-template-columns: minmax(0, 1fr); }
  .service-items li:nth-child(odd) { border-right: 0; }
}

@media (max-width: 560px) {
  .catalog-section header { grid-template-columns: auto minmax(0, 1fr); }
  .catalog-section .count { grid-column: 2; }
  .service-items label { padding: 14px 18px; }
}

/* SEO pages */
.masthead nav .nav-phone { color: var(--on-night); font-weight: 700; font-variant-numeric: tabular-nums; }
.crumbs { background: var(--night); border-bottom: 1px solid var(--night-line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 10px 0; margin-block: 0; font-size: 0.875rem; color: var(--on-night-muted); }
.crumbs li + li::before { content: '/'; margin: 0 10px; opacity: 0.5; }
.crumbs a { color: var(--on-night-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-night); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-night); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.icon-badge-large { width: 120px; height: 120px; border-radius: 36px; }
.icon-badge-large .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.site-intelli .icon-badge-large { border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-line); }
.small-head { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }

.prose { max-width: 760px; font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }

.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.0625rem; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs details p { margin: 0 0 18px; color: var(--muted); }

.related { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.related a { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.related a:hover { border-color: var(--ink); }
.related .icon-badge { width: 44px; height: 44px; border-radius: 14px; flex: none; }
.related .icon-badge .icon { width: 24px; height: 24px; }
.related-large a { padding: 20px 24px; font-size: 1.25rem; }

.item-more { display: block; padding: 0 24px 14px; margin-top: -6px; font-size: 0.875rem; font-weight: 700; text-decoration-color: var(--accent); }

.portfolio a { text-decoration: none; }
.portfolio a:hover h3 { text-decoration: underline; }
.portfolio h3 { margin-top: 4px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.guide-list a { display: block; height: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.guide-list a:hover { border-color: var(--ink); }
.guide-list p { color: var(--muted); margin: 0 0 6px; }
.project-cover { margin-top: -24px; position: relative; }
.project-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { color: var(--muted); font-size: 0.9375rem; margin-top: 8px; }

.credentials { background: var(--surface); border-bottom: 1px solid var(--line); }
.credentials ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding-block: 22px; margin-block: 0; }
.credentials li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--accent); }
.credentials span { color: var(--muted); font-size: 0.875rem; }

.footer-title { color: var(--on-night); font-weight: 700; margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; }
.footer ul a { color: var(--on-night-muted); text-decoration: none; }
.footer ul a:hover { color: var(--on-night); text-decoration: underline; }
.footer-brand address { margin: 14px 0; line-height: 1.7; }
.footer-legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 0.875rem; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head-grid { grid-template-columns: minmax(0, 1fr); }
  .icon-badge-large { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .masthead nav .nav-phone { display: none; }
}

/* Quote builder and services page */
.quote-layout { grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 40px; }
.quote-summary { position: sticky; top: 88px; padding: 24px; border-radius: var(--radius); background: var(--night); color: var(--on-night); }
.quote-summary h2 { font-size: 1.5rem; color: var(--on-night); }
.quote-summary .meta { color: var(--on-night-muted); font-size: 0.875rem; }
.quote-summary .meta a { color: var(--on-night); }
.quote-summary .button { width: 100%; justify-content: center; margin-bottom: 14px; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.quote-total strong { font: var(--display-weight) 2.25rem/1 var(--display); font-stretch: var(--display-stretch); color: var(--accent); margin-right: 6px; }
.quote-list { list-style: none; margin: 0 0 18px; padding: 0; max-height: 40vh; overflow-y: auto; }
.quote-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--night-line); font-size: 0.875rem; }
.quote-remove { flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--night-line); cursor: pointer; position: relative; }
.quote-remove::before, .quote-remove::after { content: ''; position: absolute; left: 7px; top: 11px; width: 10px; height: 2px; background: var(--on-night); transform: rotate(45deg); }
.quote-remove::after { transform: rotate(-45deg); }
@media (min-width: 961px) { .quote-bar-mobile { display: none; } }

.chapter-nav { position: sticky; top: 72px; z-index: 12; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chapter-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.chapter-nav a { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); font-size: 0.875rem; font-weight: 700; text-decoration: none; }
.chapter-nav a:hover { border-color: var(--ink); }
.theme { scroll-margin-top: 130px; }
.theme-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.theme-head { position: sticky; top: 140px; }
.theme-head .icon-badge-large { margin-bottom: 24px; }
.line-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.line-cards > li { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); background: var(--surface); }
.line-cards > li:only-child { grid-column: 1 / -1; }
.line-cards h3 { font-size: 1.5rem; }
.line-cards h3 a { text-decoration: none; }
.line-cards h3 a:hover { text-decoration: underline; }
.line-cards .check-list { margin-bottom: 20px; }
.line-meta { margin: 0 0 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.line-link { margin-top: auto; font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.capability-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.capability-grid li { padding: 24px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.capability-grid p { margin: 0; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 14px; height: 8px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.on-night .catalog-teaser h3 { border-color: var(--on-night); color: var(--on-night); }
.on-night .catalog-teaser li { border-color: var(--night-line); }
.on-night h2 { color: var(--on-night); }
.on-night .section-head p { color: var(--on-night-muted); }

@media (max-width: 960px) {
  .quote-layout, .theme-grid, .line-cards { grid-template-columns: minmax(0, 1fr); }
  .quote-summary { display: none; }
  .theme-head { position: static; }
}
