/* Self-hosted fonts (latin subset, variable weight): no third-party requests, no render-blocking CSS. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("/assets/manrope-latin-50becd64.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/assets/jetbrains-mono-latin-68dbce1c.woff2") format("woff2");
}

/* UltraPlus marketing site
   Layout: light "bench" sections with one deep ink band per page; spec-sheet mono labels;
   tokens shared with the DeviCheck portal (teal / ink, Manrope + JetBrains Mono). */
:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --sunken: #e9eef1;
  --ink: #132530;
  --muted: #4f6470;
  --faint: #7c8d97;
  --line: #dde4e8;
  --line-strong: #c5d0d6;
  --teal: #007f80;
  --teal-hover: #00666a;
  --teal-bg: #e1f1f1;
  --teal-ink: #ffffff;
  --gold: #cb9833;
  --gold-ink: #8a6312;
  --gold-bg: #f8efdb;
  --overlay: 5, 28, 32;
  --pass: #176849;
  --pass-bg: #e3f4ea;
  --warn: #875300;
  --warn-bg: #fff2d6;
  --deep: #0f222c;
  --deep-2: #17303c;
  --deep-line: #2a4552;
  --deep-ink: #e8f0f3;
  --deep-muted: #9fb4be;
  --deep-teal: #4cc7b9;
  --focus: #145bd7;
  --shadow: 0 1px 2px rgba(15, 34, 44, .06), 0 12px 32px -12px rgba(15, 34, 44, .18);

  --font: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-xs: .78rem; --fs-s: .9rem; --fs-m: 1rem; --fs-l: 1.15rem;
  --fs-h4: 1.2rem; --fs-h3: clamp(1.35rem, 1.1rem + .8vw, 1.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem);
  --r-s: 9px; --r-m: 13px; --r-l: 18px;
  --max: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: var(--fs-m); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 16px; height: 16px; }
.icon--l { width: 28px; height: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--teal-ink); padding: 10px 14px; border-radius: var(--r-s); font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--deep { background: var(--deep); color: var(--deep-ink); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
.section-head p { color: var(--muted); font-size: var(--fs-l); }
.section--deep .section-head p { color: var(--deep-muted); }
.eyebrow {
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: 8px;
}
.section--deep .eyebrow { color: var(--deep-teal); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stack { display: grid; gap: 16px; align-content: start; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--teal); color: var(--teal-ink); display: grid; place-items: center; }
.brand__mark svg { width: 20px; height: 20px; }
.brand b { color: var(--teal); font-weight: 800; }
.brand small { display: block; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; line-height: 1; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: var(--r-s); }
.nav a:hover { color: var(--ink); background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--teal); background: var(--teal-bg); }
.nav .nav__dc { display: inline-flex; align-items: center; gap: 6px; }
.nav__dc::after { content: "NEW"; font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; background: var(--teal); color: var(--teal-ink); padding: 2px 5px; border-radius: 4px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); place-items: center; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: var(--r-m); font: inherit; font-weight: 800; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--teal-ink); }
.btn--primary:hover { background: var(--teal-hover); color: var(--teal-ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 11px; }
.section--deep .btn--ghost { background: transparent; color: var(--deep-ink); border-color: var(--deep-line); }
.section--deep .btn--ghost:hover { border-color: var(--deep-ink); }
.section--deep .btn--primary { background: var(--deep-teal); color: #062521; }
.section--deep .btn--primary:hover { background: #7ad9ce; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; color: var(--muted); font-size: var(--fs-s); font-weight: 700; }
.hero__facts li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--teal); }
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 18px; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem); max-width: 18ch; }
.crumbs { font-family: var(--mono); font-size: var(--fs-xs); color: var(--faint); letter-spacing: .04em; display: flex; gap: 8px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }

/* ---------- report ticket (hero visual) ---------- */
.ticket {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow);
  overflow: hidden; position: relative; font-size: var(--fs-s);
}
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px dashed var(--line-strong); background: var(--sunken); }
.ticket__id { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; }
.ticket__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 600; color: var(--pass); text-transform: uppercase; letter-spacing: .06em; }
.ticket__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pass) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.ticket__device { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; }
.ticket__phone { width: 44px; height: 76px; border-radius: 10px; border: 2px solid var(--ink); position: relative; }
.ticket__phone::before { content: ""; position: absolute; top: 5px; left: 50%; translate: -50% 0; width: 14px; height: 4px; border-radius: 3px; background: var(--ink); }
.ticket__phone::after { content: ""; position: absolute; inset: 14px 5px 8px; border-radius: 4px; background: linear-gradient(160deg, var(--teal-bg), color-mix(in srgb, var(--teal) 30%, transparent)); }
.ticket__model { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.ticket__meta { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); }
.grade { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--teal); color: var(--teal-ink); line-height: 1; }
.grade b { font-size: 1.9rem; font-weight: 800; }
.grade span { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; margin-top: -10px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.checks li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.checks li:nth-child(odd) { border-right: 1px solid var(--line); }
.checks span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .05em; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.chip--pass { background: var(--pass-bg); color: var(--pass); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--teal { background: var(--teal-bg); color: var(--teal); }
.chip--plain { background: var(--sunken); color: var(--muted); }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.battery { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.battery__bar { width: 120px; height: 8px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.battery__bar i { display: block; height: 100%; width: 91%; background: var(--pass); border-radius: 4px; }
.ticket__note { font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.ticket-stack { position: relative; padding: 0 0 28px 28px; }
.ticket-stack::before, .ticket-stack::after { content: ""; position: absolute; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.ticket-stack::before { inset: 28px 28px 0 0; opacity: .5; }
.ticket-stack::after { inset: 14px 14px 14px 14px; opacity: .8; }
.ticket-stack .ticket { z-index: 1; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); opacity: .7; animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 70px; } 50% { top: calc(100% - 50px); } }

/* ---------- markets strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 20px; }
.strip__label { font-family: var(--mono); font-size: var(--fs-xs); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.strip__list { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; font-weight: 800; color: var(--muted); }
.strip__list li { display: inline-flex; align-items: center; gap: 8px; }
.strip__list .icon { color: var(--teal); }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px;
  display: grid; gap: 12px; align-content: start; min-width: 0;
}
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card p { color: var(--muted); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-bg); color: var(--teal); display: grid; place-items: center; }
.card__code { font-family: var(--mono); font-size: .7rem; color: var(--faint); letter-spacing: .06em; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card__more { margin-top: 4px; font-weight: 800; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--sunken); padding: 3px 9px; border-radius: 999px; }

/* ---------- deep band (DeviCheck) ---------- */
.dc-band .split { align-items: center; }
.dc-band h2 { color: var(--deep-ink); }
.feature-list { list-style: none; display: grid; gap: 16px; }
.feature-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.feature-list .card__icon { background: var(--deep-2); color: var(--deep-teal); border: 1px solid var(--deep-line); width: 42px; height: 42px; }
.feature-list b { display: block; font-weight: 800; }
.feature-list p { color: var(--deep-muted); font-size: var(--fs-s); }
.section:not(.section--deep) .feature-list .card__icon { background: var(--teal-bg); color: var(--teal); border-color: transparent; }
.section:not(.section--deep) .feature-list p { color: var(--muted); }

/* app window mock (aligned with the portal + desktop) */
.window { background: var(--surface); color: var(--ink); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); border: 1px solid var(--line); font-size: .82rem; }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window__bar span { margin-left: 8px; font-family: var(--mono); font-size: .7rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window__body { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 300px; }
.window__rail { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.window__rail i { width: 36px; height: 36px; border-radius: 10px; background: var(--sunken); display: grid; place-items: center; color: var(--muted); }
.window__rail i.on { background: var(--teal-bg); color: var(--teal); }
.window__rail i:first-child { background: var(--teal); color: var(--teal-ink); margin-bottom: 6px; }
.window__main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.window__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.window__title b { font-size: 1rem; font-weight: 800; }
.ports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.port { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 6px; min-width: 0; }
.port__top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.port__n { font-family: var(--mono); font-size: .68rem; color: var(--faint); }
.port b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.port__bar { height: 5px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
.port__bar i { display: block; height: 100%; background: var(--teal); border-radius: 3px; }
.port__step { font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.port--empty { border-style: dashed; color: var(--faint); place-content: center; text-align: center; min-height: 92px; font-size: .75rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); overflow: hidden; }
.stat { padding: 28px 24px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; letter-spacing: -.01em; color: var(--teal); }
.stat__label { font-weight: 700; }
.stat__note { color: var(--muted); font-size: var(--fs-s); }
.source { margin-top: 14px; font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.growth { margin-top: 20px; display: grid; gap: 10px; }
.growth__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 72px; gap: 12px; align-items: center; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.growth__bar { height: 14px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.growth__bar i { display: block; height: 100%; border-radius: 4px; background: var(--teal); }
.growth__row b { color: var(--ink); text-align: right; }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; display: grid; gap: 10px; padding: 0 12px 0 0; position: relative; min-width: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 600; font-size: .8rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--teal); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 42px; right: 0; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps b { font-weight: 800; font-size: .98rem; line-height: 1.3; }
.steps p { color: var(--muted); font-size: var(--fs-s); }
.timeline { list-style: none; display: grid; gap: 0; counter-reset: step; }
.timeline > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; position: relative; padding-bottom: 36px; }
.timeline > li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 600; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--teal); z-index: 1;
}
.timeline > li::after { content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline > li:last-child::after { display: none; }
.timeline__body { display: grid; gap: 10px; padding-top: 12px; }
.timeline__body p { color: var(--muted); max-width: 62ch; }
.timeline__out { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- services detail ---------- */
.service-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row__head { display: grid; gap: 14px; align-content: start; }
.service-row__head p { color: var(--muted); }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; min-width: 0; }
.checklist .icon { color: var(--pass); margin-top: 3px; }
.service-row__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 18px; align-content: start; }
.panel-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--fs-s); }
.toc a:hover { border-color: var(--teal); color: var(--teal); }
.toc .icon { color: var(--teal); width: 18px; height: 18px; }

/* ---------- paths (B2B vs retail) ---------- */
.path { padding: 32px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; align-content: start; }
.path--main { background: var(--teal); color: var(--teal-ink); border-color: var(--teal); }
.path.path--main p, .path.path--main li { color: color-mix(in srgb, var(--teal-ink) 85%, transparent); }
.path--main .eyebrow { color: var(--teal-ink); }
.path--main .btn { background: var(--teal-ink); color: var(--teal); }
.path--main .btn:hover { background: color-mix(in srgb, var(--teal-ink) 88%, var(--teal)); color: var(--teal); }
.path ul { list-style: none; display: grid; gap: 8px; }
.path li { display: flex; gap: 10px; align-items: flex-start; }
.path li .icon { margin-top: 3px; }
.path p { color: var(--muted); }

/* ---------- SDG ---------- */
.sdg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.sdg__num { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; line-height: 1; }
.sdg__num small { display: block; font-family: var(--mono); font-size: .52rem; font-weight: 600; letter-spacing: .08em; }
.sdg--9 .sdg__num { background: #f26a2e; } .sdg--12 .sdg__num { background: #bf8b2e; } .sdg--13 .sdg__num { background: #407f46; } .sdg--15 .sdg__num { background: #56c02b; color: #10300a; }
.sdg p { color: var(--muted); font-size: var(--fs-s); }

/* ---------- posts ---------- */
.post { display: grid; gap: 14px; }
.post__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post h3 { font-size: 1.2rem; line-height: 1.3; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-weight: 800; font-size: var(--fs-s); }
.field .hint { font-size: .8rem; color: var(--faint); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 600;
}
.textarea { min-height: 112px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.input::placeholder, .textarea::placeholder { color: var(--faint); font-weight: 500; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; background: var(--sunken); border-radius: 14px; border: 0; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; text-align: center; gap: 2px; padding: 10px 6px; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: .85rem; color: var(--muted); line-height: 1.25; }
.seg label .icon { width: 20px; height: 20px; }
.seg input:checked + label { background: var(--surface); color: var(--teal); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); }
.form__done { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--pass-bg); color: var(--pass); font-weight: 700; }
.form__fine { font-size: .8rem; color: var(--faint); }

/* ---------- contact ---------- */
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.contact-item b { display: block; font-size: .78rem; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.contact-item a, .contact-item span { font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--teal); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { background: var(--deep); color: var(--deep-ink); border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid color-mix(in srgb, var(--deep-teal) 18%, transparent); pointer-events: none; }
.cta h2 { color: var(--deep-ink); }
.cta p { color: var(--deep-muted); margin-top: 12px; }
.cta .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn--primary { background: var(--deep-teal); color: #062521; }
.cta .btn--primary:hover { background: #7ad9ce; color: #062521; }
.cta .btn--ghost { background: transparent; color: var(--deep-ink); border-color: var(--deep-line); }
.cta .btn--ghost:hover { border-color: var(--deep-ink); color: var(--deep-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 28px; margin-top: clamp(56px, 8vw, 104px); }
.site-footer--flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h4, .footer-grid .footer-title { line-height: 1.6; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-s); }
.footer-grid a:hover { color: var(--teal); }
.footer-about { display: grid; gap: 16px; align-content: start; color: var(--muted); font-size: var(--fs-s); max-width: 36ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.socials a:hover { color: var(--teal); border-color: var(--teal); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: .82rem; }

/* ---------- mobile sticky action ---------- */
.mobile-bar { display: none; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .reveal--2 { animation-delay: .08s; } .reveal--3 { animation-delay: .16s; } .reveal--4 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .steps li:nth-child(4)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-btn { display: grid; }
  .header-cta { margin-left: 0; }
  .site-header.is-open .nav {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); gap: 4px; box-shadow: var(--shadow);
  }
  .site-header.is-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .hero__grid, .split, .section-head--split, .service-row, .cta { grid-template-columns: minmax(0, 1fr); }
  .cta .btn-row { justify-content: flex-start; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__visual { max-width: 560px; }
}
@media (max-width: 640px) {
  .header-cta .btn--primary { display: none; }
  .grid--2, .grid--3, .grid--4, .form-row, .checklist { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .steps li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .steps li::before { grid-row: span 2; }
  .steps li::after { display: block !important; top: 42px; bottom: -18px; left: 21px; right: auto; width: 1px; height: auto; }
  .steps li:last-child::after { display: none !important; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .checks li:nth-child(odd) { border-right: 0; }
  .checks li:nth-child(n+6) { display: none; }
  .ticket-stack { padding: 0 0 16px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline > li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .timeline > li::before { width: 44px; height: 44px; border-radius: 12px; }
  .timeline > li::after { left: 22px; top: 44px; }
  .timeline__body { padding-top: 8px; }
  .ports { grid-template-columns: minmax(0, 1fr); }
  .port--empty { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- late additions ---------- */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sticky-aside { position: sticky; top: 96px; }
@media (max-width: 960px) { .sticky-aside { position: static; } }
@media (max-width: 640px) { .steps--4 { grid-template-columns: minmax(0, 1fr); } .steps--4 li:nth-child(4)::after { display: none !important; } }

/* =====================================================================
   v2: photography, brand logo and graphics
   ===================================================================== */
.brand img { display: block; height: 40px; width: auto; }
.site-footer .brand img { height: 44px; }
.eyebrow--gold { color: var(--gold-ink); }
.on-photo .eyebrow, .on-photo .eyebrow--gold { color: #f3c96b; }

/* full-bleed photo hero */
.photo-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #0b2427; }
.photo-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 40%; z-index: -2; }
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--overlay), .94) 0%, rgba(var(--overlay), .82) 34%, rgba(var(--overlay), .25) 66%, rgba(var(--overlay), .05) 100%),
    linear-gradient(0deg, rgba(var(--overlay), .7) 0%, transparent 35%);
}
.photo-hero .wrap { position: relative; }
.photo-hero__inner { padding-block: clamp(72px, 11vw, 150px) clamp(120px, 13vw, 170px); display: grid; gap: 24px; max-width: 640px; }
.photo-hero h1 { color: #fff; font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem); }
.photo-hero h1 em { font-style: normal; color: #f3c96b; }
.photo-hero .lede { color: rgba(255,255,255,.84); }
.photo-hero .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.photo-hero .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.photo-hero .btn--primary { background: var(--gold); color: #1d1404; }
.photo-hero .btn--primary:hover { background: #ddaa45; color: #1d1404; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 700; }
.hero-badge b { background: var(--gold); color: #1d1404; border-radius: 999px; padding: 3px 10px; font-size: .74rem; letter-spacing: .02em; }
.hero-tag { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: clamp(120px, 13vw, 170px); display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); font-size: .82rem; }
.hero-tag b { font-size: .95rem; }
.hero-tag span { color: rgba(255,255,255,.75); font-family: var(--mono); font-size: .7rem; }

/* stat bar overlapping the hero */
.statbar { position: relative; z-index: 2; margin-top: -84px; }
.statbar__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.statbar__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 22px 24px; border-right: 1px solid var(--line); }
.statbar__item:last-child { border-right: 0; }
.statbar__item .card__icon { width: 48px; height: 48px; }
.statbar__item:nth-child(even) .card__icon { background: var(--gold-bg); color: var(--gold-ink); }
.statbar__num { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.statbar__label { color: var(--muted); font-size: .86rem; font-weight: 600; line-height: 1.35; }

/* photo tiles (bento) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-l); color: #fff; text-decoration: none; isolation: isolate; background: #0b2427; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; min-width: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--overlay), 0) 30%, rgba(var(--overlay), .9) 100%); }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.06); }
.tile__icon { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--teal); }
.tile__arrow { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); transition: background .2s, transform .2s; }
.tile:hover .tile__arrow { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); }
.tile h4 { color: #fff; font-size: 1.15rem; }
.tile p { color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 4px; }
.tile--xl { grid-column: span 2; grid-row: span 2; padding: 28px; }
.tile--xl h4 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.tile--xl p { font-size: 1rem; max-width: 42ch; }
.tile--wide { grid-column: span 2; }

/* process flow graphic */
.flow { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; list-style: none; padding-top: 8px; }
.flow::before { content: ""; position: absolute; left: 7%; right: 7%; top: 44px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px); }
.flow__runner { position: absolute; top: 33px; left: 7%; width: 24px; height: 24px; border-radius: 7px; background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); display: grid; place-items: center; color: #1d1404; z-index: 2; }
.flow__runner svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) { .flow__runner { animation: run 9s cubic-bezier(.65,0,.35,1) infinite; } }
@keyframes run { 0% { left: 7%; } 90%, 100% { left: calc(93% - 24px); } }
.flow li { display: grid; justify-items: center; text-align: center; gap: 10px; position: relative; z-index: 1; min-width: 0; }
.flow__node { width: 76px; height: 76px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--teal); position: relative; }
.flow__node .icon { width: 30px; height: 30px; }
.flow__node::after { content: attr(data-n); position: absolute; top: -8px; right: -8px; font-family: var(--mono); font-size: .66rem; font-weight: 600; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--teal-ink); }
.flow li.you .flow__node { color: var(--gold-ink); background: var(--gold-bg); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.flow li.you .flow__node::after { background: var(--gold); color: #1d1404; }
.flow b { font-size: .95rem; line-height: 1.25; }
.flow small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; font-weight: 700; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }
.legend i.g { background: var(--gold); }

/* DeviCheck visual: window + phone */
.dc-visual { position: relative; padding: 0 0 40px 0; }
.dc-visual .window { margin-right: 70px; }
.phone-mock { position: absolute; right: 0; bottom: 0; width: 168px; aspect-ratio: 9 / 19; max-width: 100%; border-radius: 30px; background: #0d1a20; padding: 8px; box-shadow: 0 30px 60px -15px rgba(0,0,0,.6); border: 1px solid #2c4651; }
.phone-mock__screen { height: 100%; border-radius: 23px; background: #f6f8f9; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; color: #132530; }
.phone-mock__top { padding: 18px 10px 6px; text-align: center; }
.phone-mock__top b { display: block; font-size: .7rem; font-weight: 800; }
.phone-mock__top span { font-size: .56rem; color: #4f6470; }
.touch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 6px; }
.touch-grid i { aspect-ratio: 1; border-radius: 2px; background: #dfe6ea; }
.touch-grid i.on { background: #007f80; }
.phone-mock__bar { margin: 8px 10px 12px; height: 26px; border-radius: 8px; background: #007f80; color: #fff; font-size: .58rem; font-weight: 800; display: grid; place-items: center; }

/* charts */
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-card .big { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.chart-card .big small { font-size: .45em; color: var(--teal); letter-spacing: 0; }
.chart-card p { color: var(--muted); font-size: var(--fs-s); }
.chart-txt { fill: var(--muted); font-family: var(--mono); font-size: 12px; }
.chart-val { fill: var(--ink); font-family: var(--font); font-weight: 800; font-size: 16px; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 3px; background: var(--sunken); }
.dots i.on { background: var(--gold); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--sunken); min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; }
.gallery figcaption span { background: rgba(255,255,255,.92); color: #132530; font-size: .78rem; font-weight: 800; padding: 6px 10px; border-radius: 8px; }
.g-tall { grid-row: span 2; } .g-wide { grid-column: span 2; }

/* full-width photo band */
.photo-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #0b2427; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--overlay), .92) 0%, rgba(var(--overlay), .35) 55%, rgba(var(--overlay), .1) 100%); }
.photo-band .wrap { min-height: clamp(380px, 46vw, 560px); display: flex; align-items: flex-end; padding-block: 48px; }
.photo-band h2 { color: #fff; }
.photo-band p { color: rgba(255,255,255,.82); }
.photo-band__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; width: 100%; }
.photo-band__facts { display: flex; gap: 28px; flex-wrap: wrap; }
.photo-band__facts div { display: grid; }
.photo-band__facts b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #f3c96b; }
.photo-band__facts span { font-size: .85rem; color: rgba(255,255,255,.8); font-weight: 600; }

/* circular economy loop */
.loop { width: 100%; max-width: 420px; margin-inline: auto; }
.loop svg { width: 100%; height: auto; display: block; }
.loop-label { font-family: var(--font); font-weight: 800; font-size: 15px; fill: var(--ink); }
.loop-sub { font-family: var(--mono); font-size: 10.5px; fill: var(--muted); letter-spacing: .04em; }

/* photo page hero */
.page-hero--photo { color: #fff; background: #0b2427; border-bottom: 0; isolation: isolate; }
.page-hero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--overlay), .93) 0%, rgba(var(--overlay), .72) 50%, rgba(var(--overlay), .3) 100%); }
.page-hero--photo .wrap { padding-block: clamp(32px, 5vw, 64px); }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lede { color: rgba(255,255,255,.84); }
.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255,255,255,.65); }
.page-hero--photo .toc a { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); }
.page-hero--photo .toc a:hover { background: #fff; color: var(--teal); }
.page-hero--photo .toc .icon { color: #f3c96b; }
.page-hero--photo .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.page-hero--photo .btn--ghost:hover { border-color: #fff; color: #fff; }

/* service rows with photos */
.service-row__photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.service-row__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-row__photo .tile__icon { top: 14px; left: 14px; }
.service-row__media { display: grid; gap: 16px; align-content: start; }

/* CTA with photo */
.cta--photo { isolation: isolate; }
.cta--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; opacity: .55; }
.cta--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--deep) 20%, color-mix(in srgb, var(--deep) 55%, transparent)); }
.cta--photo .btn--primary { background: var(--gold); color: #1d1404; }
.cta--photo .btn--primary:hover { background: #ddaa45; color: #1d1404; }

/* blog thumbs */
.post__img { margin: -24px -24px 4px; aspect-ratio: 7 / 5; overflow: hidden; border-radius: var(--r-l) var(--r-l) 0 0; max-width: none; }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
a.card:hover .post__img img { transform: scale(1.05); }

/* responsive v2 */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .flow::before, .flow__runner { display: none; }
}
@media (max-width: 960px) {
  .statbar__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar__item:nth-child(2) { border-right: 0; }
  .statbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .hero-tag { display: none; }
  .photo-hero::before { background: linear-gradient(90deg, rgba(var(--overlay), .92) 0%, rgba(var(--overlay), .7) 60%, rgba(var(--overlay), .4) 100%); }
}
@media (max-width: 640px) {
  .photo-hero__inner { padding-block: 56px 116px; }
  .photo-hero__img { object-position: 78% 40%; }
  .statbar { margin-top: -72px; }
  .statbar__item { padding: 16px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .statbar__item .card__icon { width: 38px; height: 38px; }
  .statbar__num { font-size: 1.35rem; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
  .tile--xl, .tile--wide { grid-column: auto; grid-row: auto; }
  .tile--xl { min-height: 280px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .dc-visual .window { margin-right: 0; }
  .phone-mock { width: 120px; right: -4px; bottom: -10px; }
  .dc-visual { padding-bottom: 60px; }
}
.flow .flow__runner { position: absolute; display: grid; }
.dots { max-width: 210px; gap: 4px; }
.photo-band::before { background: linear-gradient(0deg, rgba(var(--overlay), .95) 0%, rgba(var(--overlay), .6) 40%, rgba(var(--overlay), .05) 75%); }
.chart-card svg + p, .chart-card .dots + p { margin-top: 4px; }
.post--feature { grid-column: span 2; }
.post--feature .post__img { aspect-ratio: 2 / 1; }
@media (max-width: 640px) { .post--feature { grid-column: auto; } .post--feature .post__img { aspect-ratio: 7 / 5; } }

/* ---------- forms: server validation + states ---------- */
/* An error under one field must not stretch its neighbour in the same row. */
.form-row { align-items: start; }
.field { align-content: start; }
.form__title { font-size: var(--fs-h3); }
.form__alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #a12a1d; font-weight: 700; }
.form__alert a { color: inherit; }
.field--error .input, .field--error .select, .field--error .textarea { border-color: #c0392b; }
.field__error { font-size: .82rem; font-weight: 700; color: #a12a1d; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- insights articles ---------- */
.article-meta { font-family: var(--mono); font-size: .72rem; color: var(--faint); letter-spacing: .03em; }
.article-hero h1 { max-width: 24ch; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.article-hero .lede { max-width: 68ch; }
.section--tight-top { padding-top: clamp(32px, 4vw, 56px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-aside .card p { color: var(--muted); margin: 10px 0 18px; font-size: var(--fs-s); }
.article-aside .panel-label { display: block; }

.prose { max-width: 760px; font-size: 1.06rem; line-height: 1.75; color: var(--ink); min-width: 0; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); margin-top: 2em; line-height: 1.25; }
.prose h3 { font-size: 1.2rem; margin-top: 1.7em; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose a { font-weight: 700; }
.prose strong { font-weight: 800; }
.prose .byline { font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; }
.prose figcaption { margin-top: 8px; font-size: var(--fs-s); color: var(--faint); }
.prose .article-cover { margin: 0 0 2em; }
.prose .article-cover img { aspect-ratio: 4 / 3; object-fit: cover; border: 0; box-shadow: var(--shadow); }
.prose .source { margin-top: 2.5em; padding-top: 18px; border-top: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th, .prose tr:first-child td strong { font-weight: 800; }
.prose thead th, .prose tbody tr:first-child:has(strong) td { background: var(--sunken); }
.prose tbody tr:last-child td { border-bottom: 0; }

.related { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.related a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.related a:hover { color: var(--teal); }
.related img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.related small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 2px; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
}
.prose .source-box { margin-top: 2.2em; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--r-m); background: var(--surface); display: grid; gap: 10px; justify-items: start; }
.prose .source-box p { margin: 0; font-size: .95rem; color: var(--muted); }
