/* pDigger product sites: the eprojac.com look (tokens, type, header, cards, footer) with the product pages' own sections.
   Shared by factory.pdigger.com and outdoors.pdigger.com. No inline styles anywhere: the CSP forbids them. */

/* ─── Fonts: Adobe Source families (SIL OFL 1.1), latin subsets, hosted here ─── */
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('fonts/source-sans-3-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('fonts/source-sans-3-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('fonts/source-serif-4-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('fonts/source-serif-4-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Code Pro'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('fonts/source-code-pro-latin-wght-normal.woff2') format('woff2'); }

/* ─── Tokens (as eprojac.com) ─── */
:root {
  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'Source Code Pro', ui-monospace, 'SF Mono', Menlo, monospace;
  --mono: var(--font-mono);

  --paper: #ece9e4;
  --paper-2: #e3dfd8;
  --surface: #f6f4f0;
  --surface-2: #ffffff;
  --ink: #16181b;
  --ink-2: #33373c;
  --muted: #595e65;
  --faint: #8a8f95;
  --line: rgb(22 24 27 / 0.12);
  --line-strong: rgb(22 24 27 / 0.26);
  --grid: rgb(22 24 27 / 0.055);
  --accent: #e4502a;
  --accent-ink: #a8391a;
  --accent-soft: #f6d3c5;
  --teal: #0e6f73;
  --teal-soft: #cfe3e1;
  --run: #1e8a4c;
  --amber: #9a6600;
  --alarm: #c8372d;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 18px 40px -24px rgb(22 24 27 / 0.35);
  --focus: #0e6f73;

  --hmi: #16191d;
  --hmi-2: #1f2328;
  --hmi-ink: #e9e6e1;
  --hmi-muted: #9da3aa;
  --hmi-line: rgb(233 230 225 / 0.1);
  --led-run: #3ee07f;
  --led-amber: #ffb627;
  --led-alarm: #ff5a4a;
  --led-info: #3fd0d4;
  --led-off: #3a4047;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --radius-xl: 44px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0d0e10; --paper-2: #131518; --surface: #181b1f; --surface-2: #1f2327;
    --ink: #ece9e4; --ink-2: #cbc7c0; --muted: #a2a7ad; --faint: #777d84;
    --line: rgb(236 233 228 / 0.12); --line-strong: rgb(236 233 228 / 0.26); --grid: rgb(236 233 228 / 0.045);
    --accent: #ff6b3d; --accent-ink: #ff8f68; --accent-soft: #3a1d13;
    --teal: #3fbfc2; --teal-soft: #10302f; --run: #3ee07f; --amber: #ffb627; --alarm: #ff6a5a;
    --shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 24px 60px -30px rgb(0 0 0 / 0.8);
    --focus: #3fd0d4; --hmi: #111316; --hmi-2: #191c20;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0d0e10; --paper-2: #131518; --surface: #181b1f; --surface-2: #1f2327;
  --ink: #ece9e4; --ink-2: #cbc7c0; --muted: #a2a7ad; --faint: #777d84;
  --line: rgb(236 233 228 / 0.12); --line-strong: rgb(236 233 228 / 0.26); --grid: rgb(236 233 228 / 0.045);
  --accent: #ff6b3d; --accent-ink: #ff8f68; --accent-soft: #3a1d13;
  --teal: #3fbfc2; --teal-soft: #10302f; --run: #3ee07f; --amber: #ffb627; --alarm: #ff6a5a;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 24px 60px -30px rgb(0 0 0 / 0.8);
  --focus: #3fd0d4; --hmi: #111316; --hmi-2: #191c20;
  color-scheme: dark;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--paper); }
body {
  margin: 0; min-height: 100svh; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.55; font-optical-sizing: auto; font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #111; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
p { text-wrap: pretty; }
.visually-hidden, .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: fixed; left: 12px; top: 12px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: none; }

.display { font-size: clamp(3rem, 7.6vw, 7.6rem); line-height: 0.9; letter-spacing: -0.045em; font-weight: 850; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: 0.95; letter-spacing: -0.04em; font-weight: 830; }
.h2 { font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.kicker { display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 0.62em; height: 0.62em; border-radius: 2px; background: var(--accent); flex: none; }
.kicker--teal::before { background: var(--teal); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.section { padding-block: clamp(64px, 9vw, 136px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 88px); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); align-items: center; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
.section-head .lead { max-width: 46ch; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ─── Header ─── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--ease); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 96%, transparent); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-size: 1.4rem; letter-spacing: -0.045em; margin-right: auto; white-space: nowrap; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__plate { fill: var(--ink); transition: fill 0.5s var(--ease); }
.brand__a { fill: var(--accent); }
.brand__b { fill: var(--paper); }
.brand__c { fill: var(--teal-soft); }
.brand__word { line-height: 1; padding-bottom: 2px; }
.brand__slash { color: var(--accent); font-weight: 600; margin: 0 0.06em; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.site-nav__list a { display: block; padding: 7px 16px 8px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.97rem; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); white-space: nowrap; }
.site-nav__list a:hover { background: var(--paper-2); }
.site-nav__list a[aria-current] { background: var(--ink); color: var(--paper); }
.site-nav__list a.site-nav__cta { background: var(--accent); color: #16181b; }
.site-nav__toggle { display: none; }
.lights { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.lights__plate { position: relative; width: 26px; height: 38px; border-radius: 8px; background: linear-gradient(180deg, #d9dcdf, #aeb3b8); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -2px 3px rgb(0 0 0 / 0.25), 0 1px 2px rgb(0 0 0 / 0.25); }
.lights__plate::before { content: ''; position: absolute; inset: 7px 9px; border-radius: 5px; background: #3b4046; box-shadow: inset 0 2px 3px rgb(0 0 0 / 0.6); }
.lights__lever { position: absolute; left: 50%; top: 50%; width: 12px; height: 17px; margin-left: -6px; border-radius: 4px; background: linear-gradient(180deg, #f4f5f6, #c3c8cd); box-shadow: 0 2px 3px rgb(0 0 0 / 0.35), inset 0 -2px 0 rgb(0 0 0 / 0.12); transform: translateY(-15px); transition: transform 0.35s var(--ease-spring), background 0.35s; }
.lights[aria-checked='false'] .lights__lever { transform: translateY(-2px); background: linear-gradient(180deg, #ff8a5f, #e4502a); }
.lights__label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

/* ─── Buttons, chips, lamps, cards ─── */
.button { --b-bg: var(--ink); --b-fg: var(--paper); display: inline-flex; align-items: center; gap: 0.6em; min-height: 48px; padding: 0.7em 1.35em 0.78em; border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 1.02rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgb(0 0 0 / 0.55); }
.button:active { transform: translateY(0); }
.button [aria-hidden] { transition: transform 0.25s var(--ease); }
.button:hover [aria-hidden] { transform: translateX(4px); }
.button--accent { --b-bg: var(--accent); --b-fg: #16181b; }
.button--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.button--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.button--small { min-height: 38px; font-size: 0.92rem; padding: 0.5em 1em 0.56em; }
.button[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 0.22em; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 7px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { padding: 5px 11px 6px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; }
.lamp { --lamp: var(--led-off); display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.65), transparent 45%), var(--lamp); box-shadow: 0 0 0 1.5px rgb(0 0 0 / 0.35), 0 0 12px -1px var(--lamp); }
.lamp--run { --lamp: var(--led-run); }
.lamp--amber { --lamp: var(--led-amber); }
.lamp--info { --lamp: var(--led-info); }
.card { position: relative; border-radius: var(--radius-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ─── Hero ─── */
.hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(36px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; align-content: center; }
.hero__copy .lead { max-width: 34ch; }
.hero__note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.hero__figure { display: grid; gap: 12px; }
.hero__shot { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; background: var(--hmi); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(0 0 0 / 0.7); text-decoration: none; }
.hero__shot img { display: block; width: 100%; height: auto; }
.hero__shot-cta { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgb(22 25 29 / 0.86); color: #e9e6e1; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.hero__shot:hover .hero__shot-cta, .hero__shot:focus-visible .hero__shot-cta { background: var(--accent); color: #16181b; }
.hero__figure figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; color: var(--muted); }
.hero__figure figcaption a { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.media-card { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--hmi); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(0 0 0 / 0.7); }

/* ─── At a glance ─── */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 24px; padding: 26px 0; border-block: 1px solid var(--line); align-items: center; }
.glance__n { display: flex; align-items: baseline; gap: 12px; }
.glance__n strong { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 850; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.glance__n span { color: var(--muted); font-size: 0.98rem; line-height: 1.2; }
.glance__note { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); }

/* ─── Feature rows (one per example) ─── */
.feature-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0 0 clamp(36px, 5vw, 64px); list-style: none; }
.feature-index--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature-index a { display: grid; gap: 4px; height: 100%; padding: 14px 16px 16px; border-radius: var(--radius); text-decoration: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.feature-index a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.feature-index b { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.feature-index span { font-weight: 700; line-height: 1.2; }
.features { display: grid; gap: clamp(56px, 8vw, 120px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr); }
.feature--flip .feature__media { order: 2; }
.feature__body { display: grid; gap: 16px; align-content: center; }
.feature__num { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.08em; }
.feature__title { font-size: clamp(1.9rem, 3.1vw, 2.9rem); letter-spacing: -0.035em; line-height: 1; }
.feature__one { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.3; color: var(--ink-2); }
.caps { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--ink-2); }
.caps li { display: flex; gap: 10px; }
.caps li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 2px; background: var(--accent); }
.caps--teal li::before { background: var(--teal); }
.feature__links { --gap: 10px; margin-top: 4px; }
.feature__fine { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* ─── Looping video with sound and captions controls ─── */
.loop { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(0 0 0 / 0.6); }
.loop video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e9e6e1; }
.loop__bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--surface); }
.loop__bar button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.loop__bar button:hover { background: var(--paper-2); }
.loop__bar button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.loop__bar svg { width: 16px; height: 16px; }
.loop__label { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgb(22 25 29 / 0.86); color: #e9e6e1; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.loop video::cue { font-family: var(--font-sans); font-size: 1rem; background: rgb(22 25 29 / 0.82); color: #f4f2ee; }

/* ─── Steps (how it works) ─── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); padding: 0; margin: 0; list-style: none; }
.step { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 32px); }
.step__n { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; color: var(--accent); }
.step h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; }
.step p { color: var(--ink-2); }
.step__flow { margin-top: 6px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ─── Dark value panel and link cards ─── */
.value { padding: clamp(22px, 2.6vw, 32px); background: var(--hmi); color: var(--hmi-ink); border-radius: var(--radius-l); }
.value h2, .value h3 { font-size: 1rem; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; color: var(--led-amber); }
.value ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.99rem; }
.value li { display: flex; gap: 10px; }
.value li::before { content: '✓'; color: var(--led-run); font-weight: 700; }
.link-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); text-decoration: none; transition: transform 0.3s var(--ease); }
.link-card:hover { transform: translateY(-3px); }
.link-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; margin: 10px 0 8px; }
.link-card p { color: var(--ink-2); max-width: 60ch; }
.link-card__arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.6rem; }

/* ─── Two offers (outdoors) ─── */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.offer { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.offer h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.035em; }
.offer p { color: var(--ink-2); }
.offer .button { justify-self: start; margin-top: 6px; }
.offer__flow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.offer__flow li { padding: 5px 11px 6px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }

/* ─── Code card (API) ─── */
.api { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.api__copy { display: grid; gap: 18px; }
.code { margin: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius-l); background: var(--hmi); color: var(--hmi-ink); font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.6; overflow-x: auto; white-space: pre; box-shadow: 0 40px 80px -50px rgb(0 0 0 / 0.7); }
.code .c-get { color: var(--led-amber); font-weight: 700; }
.code .c-k { color: #9fd3ce; }
.code .c-s { color: #f2b49e; }
.code .c-n { color: #e9e6e1; }
.code .c-note { color: var(--hmi-muted); }
.code-inline { font-family: var(--font-mono); font-size: 0.86em; padding: 0.1em 0.38em; border-radius: 6px; background: var(--paper-2); overflow-wrap: anywhere; }

/* ─── Film ─── */
.film { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.film__copy { display: grid; gap: 18px; }
.film__copy p:not(.kicker) { color: var(--ink-2); max-width: 46ch; }
.film__status { font-size: 0.92rem; color: var(--muted); }
.film-play-action { pointer-events: none; }
.youtube-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: var(--hmi); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(0 0 0 / 0.7); }
.youtube-poster { position: absolute; inset: 0; padding: 0; border: 0; background: none; width: 100%; height: 100%; }
.youtube-poster img { width: 100%; height: 100%; object-fit: cover; }
.youtube-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-player [hidden] { display: none; }
.film-play-action { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; }
.film-play-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #16181b; box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.65); transition: transform 0.25s var(--ease); }
.film-play-icon svg { width: 28px; height: 28px; margin-left: 4px; }
.film-play-caption { padding: 6px 12px; border-radius: 999px; background: rgb(22 25 29 / 0.86); color: #e9e6e1; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.youtube-poster:hover .film-play-icon, .youtube-poster:focus-visible .film-play-icon { transform: scale(1.06); }

/* ─── Contact ─── */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact__aside .lead { max-width: 30ch; }
.contact__email { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; }
.contact__by { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form legend, .form label { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.form label { display: grid; gap: 8px; }
.form .optional { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.interest-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.interest-options label { position: relative; display: block; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.interest-options input { position: absolute; opacity: 0; inset: 0; }
.interest-options span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; }
.interest-options span::before { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--surface-2); }
.interest-options input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.interest-options input:checked + span::before { background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface-2), 0 0 0 1.5px var(--ink); }
.interest-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.form input:not([type='radio']), .form textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-sans); font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); transition: box-shadow 0.2s var(--ease); }
.form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:not([type='radio']):focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus), 0 0 0 4px color-mix(in srgb, var(--focus) 22%, transparent); }
.form [aria-invalid='true'] { box-shadow: inset 0 0 0 2px var(--alarm) !important; }
.field-error { font-family: var(--font-sans); font-size: 0.93rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--alarm); }
.field-error:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot p { font-size: 0.93rem; color: var(--muted); }
#form-status { font-weight: 600; min-height: 1.5em; }
#form-status.is-error { color: var(--alarm); }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Example / feature page ─── */
.page-hero { padding: calc(var(--header-h) + clamp(36px, 6vw, 84px)) 0 clamp(28px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero .lead { max-width: 54ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; margin: 0; list-style: none; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(20px, 3vw, 36px); }
.fact { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 30px); }
.fact h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.moments { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.moments li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.moments time { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--accent-ink); padding-top: 0.15em; }
.note { padding: 14px 16px; border-radius: var(--radius-s); background: var(--teal-soft); color: var(--ink); font-size: 0.95rem; }
.explore { margin-top: clamp(48px, 7vw, 96px); }
.panel { padding: clamp(12px, 2.4vw, 32px); border-radius: var(--radius-l); background: var(--hmi); color: var(--hmi-ink); box-shadow: 0 40px 80px -50px rgb(0 0 0 / 0.7); }
.panel .kicker, .panel .status { color: var(--hmi-muted); }
.panel__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-bottom: 18px; }
.panel__head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; margin-top: 8px; }
.panel__head p { color: var(--hmi-muted); max-width: 56ch; margin-top: 6px; }
.panel a { color: #ffb29a; }
.panel .event-section { margin-top: 26px; }
.panel .code { background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.panel__foot { margin-top: 16px; color: var(--hmi-muted); font-size: 0.95rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: clamp(48px, 7vw, 96px); }
.pager a { display: grid; gap: 6px; padding: clamp(20px, 2.4vw, 28px); text-decoration: none; }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.pager .pager__next { text-align: right; }
.pager strong { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: clamp(20px, 3vw, 32px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); background: var(--ink); color: var(--paper); }
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.035em; }
.cta-band p { color: color-mix(in srgb, var(--paper) 74%, transparent); margin-top: 8px; }
.cta-band .button { --b-bg: var(--accent); --b-fg: #16181b; }

/* ─── Legal and project notes ─── */
.legal { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + clamp(36px, 6vw, 84px)) var(--gutter) 40px; }
.legal h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.045em; line-height: 0.95; margin: 16px 0 28px; }
.legal h2 { margin-top: 2.2em; font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); }
.legal p + p, .legal h2 + p, .legal ul { margin-top: 0.9em; }
.legal a { color: var(--accent-ink); }
.legal .button { color: var(--b-fg); text-decoration: none; }

/* ─── Footer ─── */
.site-footer { position: relative; margin-top: clamp(40px, 8vw, 120px); background: var(--ink); color: var(--paper); border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }
.site-footer a { color: inherit; }
.site-footer .kicker { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.site-footer__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
.site-footer__word { font-weight: 900; font-size: clamp(3.6rem, 10vw, 9.5rem); line-height: 0.8; letter-spacing: -0.065em; margin: 0 0 24px -0.05em; }
.site-footer__tag { max-width: 40ch; color: color-mix(in srgb, var(--paper) 78%, transparent); margin-bottom: 28px; }
.site-footer .button--ghost { --b-fg: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--paper) 35%, transparent); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 24px; align-content: start; }
.site-footer__cols ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.site-footer__cols a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer__cols a:hover { text-decoration: underline; }
.site-footer__base { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 24px var(--gutter) 32px; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 0.86rem; color: color-mix(in srgb, var(--paper) 72%, transparent); }
.site-footer__base a { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero__grid, .feature, .feature--flip, .film, .api, .contact { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .contact__aside { position: static; }
  .section-head--split { grid-template-columns: 1fr; }
  .feature-index, .feature-index--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glance__note { grid-column: 1 / -1; }
  .facts3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .site-nav { order: 3; }
  .site-nav__toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
  .site-nav__toggle-bars, .site-nav__toggle-bars::before, .site-nav__toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
  .site-nav__toggle-bars { position: relative; }
  .site-nav__toggle-bars::before, .site-nav__toggle-bars::after { content: ''; position: absolute; left: 0; }
  .site-nav__toggle-bars::before { top: -6px; }
  .site-nav__toggle-bars::after { top: 6px; }
  .site-nav__toggle[aria-expanded='true'] .site-nav__toggle-bars { background: transparent; }
  .site-nav__toggle[aria-expanded='true'] .site-nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .site-nav__toggle[aria-expanded='true'] .site-nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav__list { position: fixed; top: calc(var(--header-h) + 6px); left: var(--gutter); right: var(--gutter); flex-direction: column; padding: 10px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / 0.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
  .site-nav__list a { padding: 14px 18px; font-size: 1.15rem; }
  .site-nav.is-open .site-nav__list { opacity: 1; visibility: visible; transform: none; }
  .lights__label { display: none; }
  .lights { padding: 5px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .steps, .offers { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .pager__next { text-align: left; }
  .cta-band { grid-template-columns: 1fr; }
  .panel__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feature-index, .feature-index--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance { grid-template-columns: 1fr 1fr; }
  .form__row, .interest-options { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .brand { font-size: 1.2rem; }
  .brand__mark { width: 30px; height: 30px; }
  .loop__bar { justify-content: space-between; padding: 6px 8px; gap: 4px; }
  .loop__bar button { padding: 5px 9px; }
  .link-card { grid-template-columns: 1fr; }
  .link-card__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
