/* AI Video Intelligence — one-page site (2026-11-02). Dark, video-led, the annotated camera frame as the one device.
   Barlow Condensed (display) + Atkinson Hyperlegible (text), OKLCH tokens tinted toward the brand green. Plain CSS. */

:root {
  --bg: oklch(0.17 0.012 170);
  --bg-2: oklch(0.21 0.014 170);
  --bg-3: oklch(0.26 0.016 170);
  --ink: oklch(0.94 0.008 170);
  --ink-2: oklch(0.74 0.014 170);
  --ink-3: oklch(0.58 0.016 170);
  --rule: oklch(0.32 0.016 170);
  --rule-2: oklch(0.40 0.018 170);
  --green: oklch(0.74 0.16 150);
  --green-deep: oklch(0.62 0.14 155);
  --green-ink: oklch(0.17 0.03 155);
  --green-tint: oklch(0.30 0.06 155);
  --amber: oklch(0.80 0.15 75);
  --amber-tint: oklch(0.32 0.06 75);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Atkinson Hyperlegible', 'Helvetica Neue', Arial, sans-serif;
  --step--1: 0.9375rem; --step-0: 1.0625rem; --step-1: 1.375rem;
  --step-2: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --step-3: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);
  --step-4: clamp(3.6rem, 1.6rem + 8vw, 7.6rem);
  --space-xs: 4px; --space-sm: 8px; --space-md: 12px; --space-lg: 16px; --space-xl: 24px;
  --space-2xl: 32px; --space-3xl: 48px; --space-4xl: 64px; --space-5xl: 96px;
  --section: clamp(56px, 9vw, 120px);
  --shell: 1180px; --gutter: clamp(16px, 4vw, 40px); --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-0); line-height: 1.6; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 0.95; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 0.9; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1; }
h4 { font-size: var(--step-1); font-family: var(--text); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
p, li, dd, dt, figcaption, td, th { max-width: 66ch; }
p { margin: 0; } ul, ol { margin: 0; padding: 0; list-style: none; } dl { margin: 0; } figure { margin: 0; }
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: var(--radius); }
.skip:focus { left: 8px; }
.big { font-size: var(--step-1); line-height: 1.4; max-width: 34ch; }
.lede { font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); max-width: 42ch; }
.muted { color: var(--ink-2); } .small { font-size: var(--step--1); color: var(--ink-2); }
.hint { color: var(--green); font-size: var(--step--1); margin-top: var(--space-md); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--green); color: var(--green-ink); font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; transition: background .2s var(--ease), transform .2s var(--ease); }
.button:hover { background: var(--ink); color: var(--green-ink); transform: translateY(-1px); }
.textlink { font-weight: 700; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; gap: var(--space-xl); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.01em; }
.brand-mark { width: 24px; height: 24px; color: var(--green); }
.top-nav { display: none; gap: var(--space-xl); margin-left: auto; font-size: var(--step--1); }
.top-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s; }
.top-nav a:hover { color: var(--ink); }
.top-cta { display: none; min-height: 40px; padding: 0 16px; font-size: 1.1rem; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.15rem; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--bg-2); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 8px; display: grid; }
.menu nav a { padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.menu nav a:hover { background: var(--bg-3); }
@media (min-width: 900px) { .top-nav, .top-cta { display: inline-flex; } .menu { display: none; } }

/* the camera-frame device */
.frame { position: relative; background: var(--bg-2); border-radius: var(--radius); }
.frame::before, .frame::after, .frame > .tick::before, .frame > .tick::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--green); border-style: solid; pointer-events: none; z-index: 2; }
.frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.frame > .tick::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.frame > .tick::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.frame img, .frame video { width: 100%; height: auto; border-radius: var(--radius); }
figcaption { margin-top: var(--space-sm); font-size: var(--step--1); color: var(--ink-2); }
figure.frame figcaption { padding: var(--space-sm) var(--space-md) var(--space-md); margin: 0; }
.panel { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.panel svg { width: 100%; height: 100%; display: block; font-family: var(--text); }
.panel[data-panel="zone"] svg { cursor: crosshair; touch-action: none; }
.panel .lbl { font-size: 14px; font-weight: 700; fill: var(--ink-2); }
.panel .lbl-sm { font-size: 12.5px; font-weight: 700; fill: var(--ink-2); }
.panel .num { font-weight: 600; font-family: var(--display); fill: var(--ink); font-variant-numeric: tabular-nums; }
.panel .mono { font-family: var(--text); font-size: 12px; fill: var(--ink-2); }
.panel .ts { font-size: 11px; } .panel .ts-xs { font-size: 10.5px; } .panel .chipn { font-size: 13px; }
@media (max-width: 560px) { .panel .lbl { font-size: 18px; } .panel .lbl-sm { font-size: 16px; } .panel .mono { font-size: 15px; } .panel .ts { font-size: 15px; } .panel .ts-xs { font-size: 13px; } .panel .chipn { font-size: 16px; } }

/* reveal on scroll: one orchestrated entrance per block, children staggered */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal] > * { transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* document layout */
.doc { display: grid; gap: var(--space-xl); }
.doc-title { font-size: var(--step-2); line-height: 1; }
.doc-body { display: grid; gap: var(--space-2xl); }
@media (min-width: 900px) { .doc { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: var(--space-4xl); align-items: start; } .doc-title { position: sticky; top: 88px; } }
section { padding-block: var(--section); border-top: 1px solid var(--rule); }

/* hero with the detection video */
.hero { position: relative; border-top: 0; min-height: min(92vh, 900px); display: grid; align-items: end; padding-block: clamp(96px, 14vw, 160px) var(--space-3xl); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0.9; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.17 0.012 170 / 0.96) 0%, oklch(0.17 0.012 170 / 0.72) 45%, oklch(0.17 0.012 170 / 0.25) 100%), linear-gradient(180deg, oklch(0.17 0.012 170 / 0.4), transparent 30%, oklch(0.17 0.012 170 / 0.9) 100%); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: 0.35; animation: scan 9s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(100vh); } }
.hero-grid { display: grid; gap: var(--space-2xl); }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: var(--space-xl); color: var(--ink); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); margin-top: var(--space-2xl); }
.hud { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); max-width: 640px; }
.hud li { background: color-mix(in oklch, var(--bg) 70%, transparent); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: var(--space-md) var(--space-lg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-k { display: block; font-size: 0.8rem; color: var(--ink-2); }
.hud-v { display: block; font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--green); font-variant-numeric: tabular-nums; }
.hero-note { font-size: var(--step--1); color: var(--ink-2); max-width: 60ch; }
@media (min-width: 700px) { .hud { grid-template-columns: repeat(4, 1fr); max-width: none; } }
@media (max-width: 699px) { .hero-shade { background: linear-gradient(180deg, oklch(0.17 0.012 170 / 0.75), oklch(0.17 0.012 170 / 0.82) 55%, oklch(0.17 0.012 170 / 0.97) 100%); } .hero-video { opacity: 0.8; object-position: 60% 50%; } }

/* capabilities */
.cap { display: grid; gap: var(--space-xl); align-items: center; padding-block: var(--space-2xl); }
.cap + .cap { border-top: 1px solid var(--rule); }
.cap h3 { max-width: 16ch; }
.cap p { margin-top: var(--space-md); color: var(--ink-2); }
.cap ul, .pane ul { margin-top: var(--space-lg); display: grid; gap: var(--space-sm); color: var(--ink-2); }
.cap li, .pane li { padding-left: 20px; position: relative; }
.cap li::before, .pane li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border: 1.5px solid var(--green); }
@media (min-width: 900px) { .cap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-4xl); } .cap:nth-child(even) .cap-copy { order: 2; } }

/* industries that expand as you scroll */
.expands { display: grid; }
.expand { border-top: 1px solid var(--rule); padding-block: var(--space-lg); }
.expand:last-child { border-bottom: 1px solid var(--rule); }
.expand-title { font-size: var(--step-3); line-height: 0.95; color: var(--ink-3); transition: color .6s var(--ease), transform .6s var(--ease); transform: translateX(-6px); }
.expand.open .expand-title { color: var(--ink); transform: none; }
.expand-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.expand.open .expand-body { grid-template-rows: 1fr; }
.expand-inner { overflow: hidden; display: grid; gap: var(--space-xl); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s; }
.expand.open .expand-inner { opacity: 1; transform: none; }
.expand-copy { padding-top: var(--space-lg); color: var(--ink-2); }
.expand-copy ul { margin-top: var(--space-lg); display: grid; gap: var(--space-sm); }
.expand-copy li { padding-left: 20px; position: relative; }
.expand-copy li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border: 1.5px solid var(--green); }
.expand-media { display: grid; gap: var(--space-lg); padding-top: var(--space-lg); padding-bottom: var(--space-md); }
@media (min-width: 900px) { .expand-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); } }
@media (prefers-reduced-motion: reduce) { .expand-title, .expand-body, .expand-inner { transition: none; } }

/* the places strip */
.places { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1; color: var(--ink-3); max-width: none; }
.places li { max-width: none; }
.places li:nth-child(3n+1) { color: var(--ink); }
.places li:nth-child(3n+2) { color: var(--green); }

/* industry tabs (unused now, kept for a future variant) */
.tablist { display: flex; flex-wrap: wrap; gap: var(--space-sm); border-bottom: 1px solid var(--rule); padding-bottom: var(--space-md); }
.tablist button { appearance: none; background: transparent; border: 1px solid var(--rule-2); color: var(--ink-2); font: 600 1.1rem var(--display); letter-spacing: 0.01em; padding: 8px 14px; border-radius: var(--radius); cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.tablist button:hover { color: var(--ink); border-color: var(--ink-3); }
.tablist button[aria-selected="true"] { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.pane { display: grid; gap: var(--space-xl); padding-top: var(--space-xl); animation: panein .5s var(--ease); }
.pane[hidden] { display: none; }
@keyframes panein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane h3 { max-width: 18ch; }
.pane-copy > p { margin-top: var(--space-md); color: var(--ink-2); }
.pane-media { display: grid; gap: var(--space-lg); }
.live { display: inline-block; margin-left: 10px; font-family: var(--text); font-size: 0.8rem; font-weight: 700; color: var(--green); background: var(--green-tint); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
@media (min-width: 900px) { .pane { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); } }

/* figures as prose, the two-up, the plan */
.figures { display: grid; gap: var(--space-lg); }
.figures div { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 2px solid var(--ink); }
.figures b { font-family: var(--display); font-weight: 600; font-size: var(--step-3); line-height: 0.95; color: var(--green); font-variant-numeric: tabular-nums; }
.figures span { color: var(--ink-2); font-size: var(--step--1); }
.figures b span { color: inherit; font-size: inherit; }
@media (min-width: 700px) { .figures { grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); } }
.two { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); } }
.recover p { margin-top: var(--space-md); color: var(--ink-2); }
.recover p b { color: var(--green); font-family: var(--display); font-size: 1.3em; font-weight: 600; }
.plan { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-top: var(--space-lg); }
.plan th, .plan td { text-align: left; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.plan thead th { border-bottom: 2px solid var(--ink); }
.plan th { font-weight: 700; color: var(--ink); } .plan td { color: var(--ink-2); }

/* how it works */
.wide { grid-column: 1 / -1; }
.sites-video { aspect-ratio: 960 / 792; object-fit: cover; }
.steps { display: grid; gap: var(--space-lg); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1; color: var(--green); border-top: 2px solid var(--green); padding-top: 4px; }
.steps p { color: var(--ink-2); margin-top: var(--space-xs); font-size: var(--step--1); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-xl); } .steps li { grid-template-columns: 1fr; } }
.privacy { display: grid; gap: var(--space-lg); color: var(--ink-2); }
.privacy b { display: block; color: var(--ink); }

/* contact + footer */
.contact { background: var(--bg-2); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); margin-top: var(--space-sm); }
.founder { color: var(--ink-2); }
.foot { border-top: 1px solid var(--rule); padding: var(--space-xl) 0 var(--space-3xl); font-size: var(--step--1); color: var(--ink-3); }
.foot-row { display: grid; gap: var(--space-md); } .foot p { max-width: 80ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scan { animation: none; display: none; } .pane { animation: none; } *, *::before, *::after { transition: none !important; } }

/* clips inside frames */
.clip { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* the three-up strip under the places list */
.strip { display: grid; gap: var(--space-md); }
.strip figcaption { font-size: 0.85rem; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* how everything connects */
.connect { aspect-ratio: 960 / 420; }
.connect svg { width: 100%; height: 100%; display: block; }
@media (max-width: 699px) { .connect { aspect-ratio: 960 / 420; } .connect svg text { font-size: 1.4em; } }

/* the client block and its gallery */
.client { display: grid; gap: var(--space-xl); align-items: start; }
.client-logo { width: 120px; height: auto; background: oklch(0.98 0.005 170); padding: 10px; border-radius: var(--radius); }
@media (min-width: 700px) { .client { grid-template-columns: 140px minmax(0, 1fr); } }
.client .muted { margin-top: var(--space-md); }
.gallery4 { display: grid; gap: var(--space-lg); }
@media (min-width: 700px) { .gallery4 { grid-template-columns: repeat(2, 1fr); } }

/* roadmap */
.road { display: grid; gap: var(--space-lg); }
.road li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--rule); }
.road b { font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1; color: var(--green); }
.road span { color: var(--ink-2); }
@media (min-width: 900px) { .road { grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); } .road li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); } }

/* enquiry form */
.enquiry { display: grid; gap: var(--space-lg); max-width: 640px; }
.field-row { display: grid; gap: var(--space-lg); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.enquiry label { display: grid; gap: 6px; font-size: var(--step--1); color: var(--ink-2); }
.enquiry input, .enquiry textarea { font: inherit; font-size: var(--step-0); color: var(--ink); background: var(--bg); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; }
.enquiry textarea { resize: vertical; min-height: 120px; }
.enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.enquiry button { cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; color: var(--green); font-size: var(--step--1); }
