/* Tech Teki public site — v4
   Tokens are the exact Elementor Global Colors from techteki.com. */

:root {
  --red: #BF2B2F;
  --red-deep: #9F2226;
  --red-tint: #FBEDED;
  --red-on-dark: #F2777B;
  --ink: #090915;
  --ink-2: #14141f;
  --body: #505058;
  --muted: #6A6A73;
  --paper: #FFFFFF;
  --mist: #F8F9FD;
  --mist-2: #EEF0F6;
  --line: rgba(9, 9, 21, .10);
  --line-strong: rgba(9, 9, 21, .18);
  --on-dark: #F4F4F7;
  --on-dark-2: #B7B7C2;
  --line-dark: rgba(255, 255, 255, .12);

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --sec: clamp(72px, 9vw, 128px);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --header-h: 72px;

  --shadow-1: 0 1px 2px rgba(9, 9, 21, .06), 0 8px 24px -8px rgba(9, 9, 21, .12);
  --shadow-2: 0 2px 4px rgba(9, 9, 21, .06), 0 24px 48px -16px rgba(9, 9, 21, .22);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance; }
h3, h4 { font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--red); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.04em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: 58ch; }
.small { font-size: .875rem; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec-mist { background: var(--mist); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head-split { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .sec-head-split { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { --bg: var(--red-deep); --bd: var(--red-deep); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-red-glow { box-shadow: 0 10px 22px -10px rgba(191,43,47,.55); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.4); }
.btn-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.link {
  color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(191,43,47,.35);
  text-underline-offset: .25em; transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }
.band .link { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.ext::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .3em; vertical-align: .05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1.5h6.5V8M10.5 1.5 1.5 10.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1.5h6.5V8M10.5 1.5 1.5 10.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 500; color: var(--ink);
  padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper);
  white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.tag-plain::before { display: none; }

/* pad bullet list — the circuit "pad" from the logo */
.pads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pads li { position: relative; padding-left: 22px; }
.pads li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--red); background: var(--paper);
}
.band .pads li::before { background: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--mist-2); }
.nav a[aria-current="page"], .nav-trigger.is-current { color: var(--red); }
.nav-trigger svg { transition: transform .2s var(--ease-out); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-actions { display: none; align-items: center; gap: 8px; margin-left: 12px; }
.hub-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; color: var(--ink); font-weight: 500; font-size: .96rem; text-decoration: none; border-radius: 8px; }
.hub-link:hover { background: var(--mist-2); }
.hub-link svg { color: var(--red); }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s .18s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu a { display: grid; gap: 2px; height: auto; padding: 12px 14px; border-radius: 8px; align-items: start; }
.menu a strong { color: var(--ink); font-weight: 600; }
.menu a span { color: var(--muted); font-size: .875rem; font-weight: 400; line-height: 1.4; }
.menu a:hover strong { color: var(--red); }
.menu .menu-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; background: var(--mist); }

.burger {
  margin-left: auto; width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease-out); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff;
  padding: 16px var(--gutter) 32px; overflow-y: auto;
  display: none;
}
.mnav.is-open { display: block; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > ul > li { border-bottom: 1px solid var(--line); }
.mnav a { display: flex; min-height: 52px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.mnav .sub a { min-height: 44px; font-size: 1rem; color: var(--body); padding-left: 16px; }
.mnav-actions { display: grid; gap: 10px; margin-top: 24px; }

@media (min-width: 1080px) {
  .nav, .hdr-actions { display: flex; }
  .burger, .mnav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.hero-copy { display: grid; gap: 24px; max-width: 620px; }
.hero-copy .lede { max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hero-aside { font-size: .975rem; }

/* the rig: three product screens on a circuit board */
.rig { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 600 / 540; }
.rig-board {
  position: absolute; inset: 6% 0 0 4%;
  background:
    radial-gradient(circle at 1px 1px, rgba(9,9,21,.09) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--mist);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.rig-traces { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rig-traces .tr { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rig-traces .tr-soft { stroke: rgba(191,43,47,.28); stroke-width: 2; }
.rig-traces .pad { fill: var(--paper); stroke: var(--red); stroke-width: 2.5; }
.rig-traces .pad-soft { stroke: rgba(191,43,47,.35); stroke-width: 2; }
.rig-traces .signal { fill: var(--red); }
.rig-traces .halo { fill: rgba(191,43,47,.18); }
.rig-node { position: absolute; left: 50%; top: 86%; width: 15%; transform: translate(-50%, -50%); z-index: 3; }
.rig-node img { width: 100%; filter: drop-shadow(0 6px 14px rgba(9,9,21,.18)); }

.rig .dev { position: absolute; z-index: 2; }
.rig .dev-browser { left: 21%; top: 0; width: 77%; z-index: 1; }
.rig .dev-civ { left: 0; top: 22%; width: 29%; }
.rig .dev-hub { right: 3%; top: 34%; width: 27%; z-index: 2; }
.rig-label {
  position: absolute; z-index: 4; font-size: .78rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.rig-note { margin-top: 14px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* device frames */
.browser { background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdce3; }
.browser-bar i + i { margin-left: -5px; }
.browser-url { margin-left: 8px; flex: 1; height: 18px; border-radius: 5px; background: var(--mist-2); font-size: 11px; line-height: 18px; color: var(--muted); padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.phone {
  position: relative; background: var(--ink); border-radius: 13% / 6.2%; padding: 5%;
  box-shadow: var(--shadow-2), inset 0 0 0 1.5px #2a2a36;
}
.phone-screen { position: relative; background: #fff; border-radius: 9% / 4.4%; overflow: hidden; aspect-ratio: 9 / 19; container-type: inline-size; }
.phone-screen::before { content: ""; position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); background: var(--ink); border-radius: 99px; z-index: 2; }

/* ---------- Mock app screens (drawn in HTML, demo data) ---------- */
.ui { font-size: 5.6cqi; line-height: 1.3; color: var(--ink); padding: 15cqi 6cqi 6cqi; display: grid; gap: 4cqi; height: 100%; align-content: start; }
.ui-top { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 6.6cqi; }
.ui-top small { font-weight: 500; font-size: 4.6cqi; color: var(--muted); }
.ui-map {
  position: relative; height: 54cqi; border-radius: 4cqi; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(0deg, transparent 30%, #fff 30%, #fff 36%, transparent 36%),
    linear-gradient(0deg, transparent 72%, #fff 72%, #fff 76%, transparent 76%),
    linear-gradient(90deg, transparent 18%, #fff 18%, #fff 21%, transparent 21%),
    linear-gradient(90deg, transparent 80%, #fff 80%, #fff 83%, transparent 83%),
    #E7EAF0;
}
.ui-pin { position: absolute; width: 7cqi; height: 7cqi; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); box-shadow: 0 0 0 1.5cqi rgba(191,43,47,.18); }
.ui-pin.is-done { background: #1F7A4D; box-shadow: 0 0 0 1.5cqi rgba(31,122,77,.16); }
.ui-chips { display: flex; flex-wrap: wrap; gap: 2cqi; }
.ui-chip { font-size: 4.4cqi; padding: 1.4cqi 3cqi; border-radius: 99px; border: 1px solid var(--line-strong); font-weight: 500; }
.ui-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ui-card { border: 1px solid var(--line); border-radius: 4cqi; padding: 4cqi; display: grid; gap: 2.4cqi; background: #fff; }
.ui-card .ui-h { display: block; margin: 0; font-size: 5.4cqi; font-weight: 600; }
.ui-meta { font-size: 4.2cqi; color: var(--muted); }
.ui-steps { display: grid; gap: 2.6cqi; margin: 0; padding: 0; list-style: none; }
.ui-steps li { display: flex; align-items: center; gap: 2.6cqi; font-size: 4.6cqi; color: var(--muted); }
.ui-steps li::before { content: ""; width: 3.6cqi; height: 3.6cqi; border-radius: 50%; border: 1.2cqi solid #D5D7DF; flex: none; }
.ui-steps li.is-done { color: var(--ink); }
.ui-steps li.is-done::before { border-color: var(--red); background: var(--red); }
.ui-steps li.is-now { color: var(--ink); font-weight: 600; }
.ui-steps li.is-now::before { border-color: var(--red); background: #fff; }
.ui-btn { display: block; text-align: center; background: var(--red); color: #fff; font-weight: 600; font-size: 5cqi; padding: 3.6cqi; border-radius: 99px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 3cqi; padding: 3.2cqi 0; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row b { font-weight: 600; font-size: 4.8cqi; display: block; }
.ui-row > div > span { font-size: 4cqi; color: var(--muted); }
.ui-status { font-size: 3.8cqi; font-weight: 600; padding: 1cqi 2.6cqi; border-radius: 99px; white-space: nowrap; }
.ui-status.s-open { background: var(--red-tint); color: var(--red-deep); }
.ui-status.s-route { background: #FFF4DB; color: #7A5200; }
.ui-status.s-done { background: #E5F3EC; color: #17603C; }
.ui-dark { background: #0E1420; color: #fff; }
.ui-dark .ui-top small, .ui-dark .ui-row > div > span, .ui-dark .ui-meta { color: #9AA3B5; }
.ui-dark .ui-row { border-color: rgba(255,255,255,.08); }
.ui-dark .ui-card { background: #151C2B; border-color: rgba(255,255,255,.08); }

/* ---------- Proof ledger ---------- */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.ledger > div { padding: 24px 20px 4px 0; display: grid; gap: 6px; align-content: start; }
.ledger dt { order: 2; color: var(--body); font-size: .975rem; line-height: 1.4; max-width: 22ch; }
.ledger dd { order: 1; margin: 0; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-weight: 600; color: var(--ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ledger dd sup { font-size: .55em; vertical-align: .32em; color: var(--muted); font-weight: 500; margin-right: 1px; letter-spacing: 0; }
@media (min-width: 760px) {
  .ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ledger > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 759px) { .ledger > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } .ledger > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.ledger-note { margin-top: 18px; font-size: .8125rem; color: var(--muted); }

/* ---------- Products ---------- */
.prods { display: grid; gap: 20px; }
@media (min-width: 980px) { .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prod {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.prod:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.prod-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod-name { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.prod-glyph { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.prod-stage { height: 230px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); overflow: hidden; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.prod-stage .phone { width: 172px; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); }
.prod-stage img.crop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.prod p { max-width: 46ch; }
.prod-foot { display: grid; gap: 12px; }
.prod-foot .link { justify-self: start; }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work-grid > :nth-child(1) { grid-column: span 7; }
  .work-grid > :nth-child(2) { grid-column: span 5; }
  .work-grid > :nth-child(3) { grid-column: span 5; }
  .work-grid > :nth-child(4) { grid-column: span 7; }
}
.work { display: grid; gap: 18px; align-content: start; }
.work-frame { position: relative; border-radius: var(--r-lg); background: var(--mist-2); padding: clamp(16px, 2.4vw, 32px); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.sec-mist .work-frame { background: #fff; border: 1px solid var(--line); }
.work-frame .browser { width: 100%; }
.work-frame .duo { display: grid; grid-template-columns: 1fr 30%; gap: 4%; align-items: end; width: 100%; }
.work-frame .duo .phone { padding: 4%; }
.work-frame .duo .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-meta { display: grid; gap: 8px; }
.work-meta .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.work-meta h3 a { text-decoration: none; }
.work-meta h3 a:hover { color: var(--red); }
.work-meta p { max-width: 56ch; }
.illus { position: absolute; left: 14px; top: 14px; z-index: 3; font-size: .75rem; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* Quickbase-style workflow illustration */
.flow { width: 100%; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 16px; display: grid; gap: 12px; font-size: .8rem; color: var(--ink); }
.flow-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem; }
.flow-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.flow-col { background: var(--mist); border-radius: 8px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 150px; }
.flow-col > b { font-size: .72rem; color: var(--muted); font-weight: 600; }
.flow-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 7px; display: grid; gap: 2px; font-size: .72rem; line-height: 1.3; }
.flow-item i { font-style: normal; color: var(--muted); font-size: .66rem; }
.flow-item.is-hot { border-color: rgba(191,43,47,.45); box-shadow: 0 0 0 3px rgba(191,43,47,.08); }

/* ---------- Services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc a { display: grid; gap: 8px 40px; padding: 26px 0; text-decoration: none; color: inherit; position: relative; }
@media (min-width: 860px) { .svc a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 40px; align-items: baseline; } }
.svc h3 { transition: color .2s; }
.svc p { max-width: 60ch; }
.svc-go { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; color: var(--ink); align-self: center; transition: background .2s, color .2s, border-color .2s; }
@media (min-width: 860px) { .svc-go { display: grid; } }
.svc a:hover h3 { color: var(--red); }
.svc a:hover .svc-go { background: var(--red); border-color: var(--red); color: #fff; }
.svc a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--red); transition: width .4s var(--ease-out); }
.svc a:hover::before { width: 100%; }

/* ---------- Dark band ---------- */
.band { position: relative; background: var(--ink); color: var(--on-dark-2); overflow: hidden; isolation: isolate; }
.band h2, .band h3 { color: #fff; }
.band-canvas { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.band-canvas canvas { width: 100% !important; height: 100% !important; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, rgba(9,9,21,.82) 34%, rgba(9,9,21,.05) 100%); pointer-events: none; }
.band-inner { display: grid; gap: 40px; }
@media (min-width: 980px) { .band-inner { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: end; } }
.band .lede { color: var(--on-dark-2); }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.pillar { padding: 20px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 6px; }
.pillar h3 { font-size: 1.125rem; }
.pillar p { font-size: .975rem; }

/* ---------- Industries & process ---------- */
.inds { display: grid; gap: 20px; }
@media (min-width: 900px) { .inds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .ind + .ind { border-left: 1px solid var(--line); } .ind { padding-inline: 32px; } .ind:first-child { padding-left: 0; } .ind:last-child { padding-right: 0; } }
.ind { display: grid; gap: 14px; align-content: start; padding-bottom: 8px; }
@media (max-width: 899px) { .ind + .ind { border-top: 1px solid var(--line); padding-top: 24px; } }
.ind .pads { font-size: .975rem; }
.ind-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: var(--red);
  background: var(--paper); border: 2px solid var(--red); z-index: 1;
}
.sec-mist .step::before { background: var(--mist); }
.steps::before { content: ""; display: none; position: absolute; top: 17px; left: 18px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(191,43,47,.45) 0 8px, transparent 8px 14px); }
@media (min-width: 900px) { .steps::before { display: block; } }
.step p { font-size: .975rem; }

/* ---------- Hub strip ---------- */
.hub { display: grid; gap: 24px; align-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
@media (min-width: 900px) { .hub { grid-template-columns: auto 1fr auto; gap: 40px; } }
.hub-mark { width: 64px; height: 64px; }
.hub ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }
.hub ul li { display: inline-flex; align-items: center; gap: 8px; }
.hub ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Final CTA ---------- */
.final { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 900px) { .final { grid-template-columns: 1fr 1fr; } }
.final > div { background: var(--ink); padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: start; }
.final > div:last-child { background: var(--ink-2); }
.final h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.ft-top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 980px) { .ft-top { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; } }
.ft-brand { display: grid; gap: 16px; align-content: start; max-width: 34ch; }
.ft-brand img { height: 34px; width: auto; }
.ft-col .ft-h { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-col a { color: var(--on-dark-2); text-decoration: none; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (min-width: 980px) { .ft-cols { display: contents; } }
.ft-hub { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-2); transition: color .2s, border-color .2s, background .2s; }
.ft-social a:hover { color: #fff; border-color: var(--red); background: var(--red); }
.ft-bottom { border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.ft-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-bottom a { color: var(--on-dark-2); text-decoration: none; }
.ft-bottom a:hover { color: #fff; }

/* ---------- Inner-page hero ---------- */
.phero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .phero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.phero .copy { display: grid; gap: 20px; max-width: 680px; }
.phero h1 { font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.phero-trace { position: absolute; right: -40px; top: 0; height: 100%; width: 46%; pointer-events: none; opacity: .9; }

/* ---------- Product detail ---------- */
.pd-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 32px 24px 0; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 380px; }
.pd-stage .phone { width: min(200px, 40%); margin-bottom: -80px; }
.pd-stage .browser { width: 100%; align-self: center; margin-bottom: 24px; }
.pd-stage .phone.lift { margin-bottom: -20px; }

.flowline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
@media (min-width: 900px) { .flowline { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.flowline li { position: relative; padding: 0 24px 28px 36px; display: grid; gap: 6px; align-content: start; }
.flowline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--red); background: var(--paper); z-index: 1; }
.flowline li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: rgba(191,43,47,.35); }
.flowline li:last-child::after { display: none; }
@media (min-width: 900px) {
  .flowline li { padding: 36px 24px 0 0; }
  .flowline li::after { left: 16px; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; }
  .flowline li:last-child::after { display: block; right: 50%; background: linear-gradient(90deg, rgba(191,43,47,.35), transparent); }
  .sec-mist .flowline li::before { background: var(--mist); }
}
.flowline h3 { font-size: 1.075rem; }
.flowline p { font-size: .95rem; }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.feature-groups { display: grid; gap: 32px; }
@media (min-width: 760px) { .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; } }
.fg { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.fg .pads { font-size: .975rem; }

.roles { display: grid; gap: 16px; }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.role { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 8px; align-content: start; }
.role-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }

.status-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: var(--r); font-size: .95rem; background: #fff; }
.status-note svg { flex: none; color: var(--red); margin-top: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; color: var(--ink); font-weight: 600; font-size: 1.075rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq .ans { padding: 0 0 24px; max-width: 70ch; }

/* comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--ink); font-size: 1.1rem; background: var(--mist); }
.compare tbody th { color: var(--ink); font-weight: 600; width: 18%; }
.compare tr:last-child > * { border-bottom: 0; }

/* chooser */
.chooser { display: grid; gap: 12px; }
@media (min-width: 900px) { .chooser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.choose { display: grid; gap: 10px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.choose:hover { border-color: var(--red); box-shadow: var(--shadow-1); }
.choose q { quotes: none; color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.choose span { color: var(--red); font-weight: 600; font-size: .95rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter .count { color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .count { color: var(--on-dark-2); }
.results { font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.pf-grid { display: grid; gap: 40px 28px; }
@media (min-width: 700px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf { display: grid; gap: 16px; align-content: start; }
.pf[hidden] { display: none; }
.pf .work-frame { min-height: 230px; aspect-ratio: 4 / 3; padding: 20px; }
.pf .work-frame > * { max-height: 100%; }
.pf-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 16px; background: #fff; }
.pf-thumb-ph svg { color: var(--red); margin: 0 auto 10px; }
.state-chip { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--mist-2); color: var(--ink); }
.state-chip.is-live { background: #E5F3EC; color: #17603C; }
.state-chip.is-own { background: var(--red-tint); color: var(--red-deep); }
.empty { padding: 48px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; display: grid; gap: 12px; justify-items: center; }

/* ---------- Services page ---------- */
.svc-blocks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-block { display: grid; gap: 20px; padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
@media (min-width: 960px) { .svc-block { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: 48px; } }
.svc-block .pads { font-size: .975rem; }
.svc-block aside { display: grid; gap: 10px; align-content: start; font-size: .95rem; }
.svc-block aside h4 { font-size: .9rem; color: var(--muted); font-weight: 600; }
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- About ---------- */
.trio { display: grid; gap: 32px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.trio > div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 72px; } }
.form { display: grid; gap: 20px; }
.path-pick { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.path-pick legend { color: var(--ink); font-weight: 600; margin-bottom: 10px; padding: 0; }
.paths { display: grid; gap: 10px; }
@media (min-width: 640px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.path { position: relative; }
.path input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.path label { display: grid; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.path label b { color: var(--ink); }
.path label span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.path input:checked + label { border-color: var(--red); background: var(--red-tint); box-shadow: 0 0 0 3px rgba(191,43,47,.12); }
.path input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 3px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { color: var(--ink); font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23090915' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(9,9,21,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(9,9,21,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.err { color: var(--red-deep); font-size: .875rem; display: none; align-items: center; gap: 6px; }
.field.has-error .err { display: flex; }
.cond[hidden] { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.is-error { display: block; background: var(--red-tint); color: var(--red-deep); }
.form-done { display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mist); }
.form-done[hidden] { display: none; }
.form-done .ok { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.side { display: grid; gap: 20px; align-content: start; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; background: #fff; }
.side-card.dark { background: var(--ink); color: var(--on-dark-2); border-color: var(--ink); }
.side-card.dark h3 { color: #fff; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   v2 — components from the owner's review-pack mockups
   ===================================================================== */

/* utility bar: the enduring tagline */
.utility { background: var(--ink); color: var(--on-dark-2); font-size: .8125rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility strong { color: #fff; font-weight: 600; letter-spacing: .01em; }
.utility ul { display: none; list-style: none; margin: 0; padding: 0; gap: 20px; }
.utility a { color: var(--on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: #fff; }
@media (min-width: 760px) { .utility ul { display: flex; } }

/* active nav underline */
@media (min-width: 1080px) {
  .nav a, .nav-trigger { position: relative; }
  .nav a[aria-current="page"]::after, .nav-trigger.is-current::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); }
}

/* section label with a trace line */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.dark .eyebrow, .band .eyebrow, .callout .eyebrow, .dband .eyebrow { color: var(--red-on-dark); }

/* dark section */
.dark { background: var(--ink); color: var(--on-dark-2); }
.dark h2, .dark h3 { color: #fff; }
.dark .lede, .dark p { color: var(--on-dark-2); }

/* section heading row */
.shead { display: grid; gap: 18px 48px; margin-bottom: clamp(32px, 4vw, 48px); align-items: end; }
.shead > div { display: grid; gap: 16px; }
.shead > p { max-width: 44ch; font-size: 1rem; }
@media (min-width: 900px) { .shead { grid-template-columns: 1fr auto; } }

/* hero v2 */
.hero2 { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; }
.hero2 .hero-copy { gap: 22px; }
.hero2 h1 { font-size: clamp(2.9rem, 6.2vw, 5.2rem); }
.hero-note { display: flex; align-items: center; gap: 12px; padding-top: 20px; margin-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hero-note svg { color: var(--red); }
.rig-glow { position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; right: -6%; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(191,43,47,.16), rgba(191,43,47,0) 64%); pointer-events: none; }

/* metrics strip */
.metrics { border-block: 1px solid var(--line); padding-block: 28px; }
.metrics .ledger { margin-top: 0; border-top: 0; }
.metrics .ledger > div { padding-top: 4px; }

/* dark product cards (homepage) */
.pcards { display: grid; gap: 20px; }
@media (min-width: 980px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px; background: #14141f; border: 1px solid #2a2a38; min-height: 420px; transition: border-color .25s var(--ease-out), transform .25s var(--ease-out); }
.pcard:hover { border-color: #4a4a5c; transform: translateY(-3px); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; font-size: 1.3rem; }
.pcard-type { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #C9C9D3; font-weight: 600; }
.pcard h3 { font-size: 1.6rem; letter-spacing: -0.03em; margin-top: 10px; }
.pcard p { font-size: .975rem; color: var(--on-dark-2); }
.pcard-preview { margin-top: auto; border: 1px solid #2f2f3e; background: #0E0E18; border-radius: 12px; padding: 16px; display: grid; gap: 12px; }
.pcard-preview b { color: #fff; font-size: .82rem; font-weight: 600; }
.stages { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.stages li { font-size: .75rem; padding: 6px 9px; border-radius: 6px; background: #272735; color: #DADAE2; display: inline-flex; align-items: center; gap: 6px; }
.stages li.is-on { background: rgba(191,43,47,.28); color: #FFD3D5; }
.stages li + li::before { content: ""; width: 0; }
.pcard-link { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #2f2f3e; color: #fff; font-weight: 600; text-decoration: none; }
.pcard-link svg { color: var(--red-on-dark); transition: transform .2s var(--ease-out); }
.pcard-link:hover svg { transform: translate(2px, -2px); }

/* work cards */
.wfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.wcards { display: grid; gap: 24px; }
@media (min-width: 760px) { .wcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .wcards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.wcard[hidden] { display: none; }
.wcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.wart { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; padding: 22px 22px 0; background: #ECEFF4; }
.wart.t-web { background: #E8EDF3; }
.wart.t-qb { background: #F4EBEC; }
.wart.t-plat { background: #EAEEF1; }
.wart > .browser { width: 100%; align-self: end; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.wart > .browser img { aspect-ratio: 16 / 9.4; }
.wart > .phone { width: 34%; align-self: end; margin-bottom: -30%; }
.wart > .flow { align-self: center; margin-bottom: 22px; transform: scale(.94); }
.wart-label { position: absolute; right: 12px; bottom: 12px; z-index: 3; font-size: .72rem; font-weight: 600; color: #5B5B66; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 10px; }
.winfo { display: grid; gap: 8px; padding: 22px 24px 24px; align-content: start; flex: 1; }
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.winfo h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.winfo p { font-size: .95rem; }
.wlink { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: .95rem; text-decoration: none; justify-self: start; }
.wlink:hover { text-decoration: underline; }
.wlink.is-muted { color: var(--muted); font-weight: 500; }
.wnote { margin-top: 20px; font-size: .85rem; color: var(--muted); }

/* illustrative app art (for private systems) */
.mapp { width: 100%; align-self: end; background: #fff; border: 5px solid #23232e; border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 14px 34px -10px rgba(9,9,21,.3); }
.mapp-bar { background: #23232e; color: #fff; font-size: .74rem; font-weight: 600; padding: 8px 12px; display: flex; justify-content: space-between; }
.mapp-bar i { font-style: normal; color: #A7A7B4; font-weight: 500; }
.mapp-body { display: grid; grid-template-columns: 22% 1fr; min-height: 150px; }
.mapp-side { background: #F2F3F7; padding: 10px 8px; display: grid; gap: 8px; align-content: start; }
.mapp-side span { height: 7px; border-radius: 4px; background: #D9DBE3; }
.mapp-side span:first-child { background: var(--red); width: 60%; }
.mapp-main { padding: 12px; display: grid; gap: 10px; align-content: start; }
.mapp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mapp-kpis span { border: 1px solid #ECEDF2; border-radius: 6px; padding: 6px; font-size: .72rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.mapp-kpis span small { display: block; font-size: .6rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.mapp-rows { display: grid; gap: 6px; }
.mapp-rows span { height: 8px; border-radius: 4px; background: #F0F1F5; }
.mapp-rows span:nth-child(2) { width: 82%; } .mapp-rows span:nth-child(3) { width: 64%; }
.msite { width: 100%; align-self: end; background: #fff; border: 5px solid #23232e; border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 14px 34px -10px rgba(9,9,21,.3); }
.msite-bar { height: 18px; background: #23232e; }
.msite-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #6B3A1E; }
.msite-head span { width: 34%; height: 5px; background: #DADCE2; border-radius: 3px; }
.msite-hero { background: linear-gradient(120deg, #6B3A1E, #B9783F); color: #fff; padding: 18px 16px 30px; display: grid; gap: 6px; }
.msite-hero b { font-size: 1rem; }
.msite-hero small { font-size: .62rem; opacity: .85; }

/* light service cards */
.scards { display: grid; gap: 16px; }
@media (min-width: 700px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .scards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scard { display: grid; gap: 12px; align-content: start; padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.scard:hover { border-color: rgba(191,43,47,.4); box-shadow: var(--shadow-1); }
.scard.row { grid-template-columns: auto 1fr; gap: 18px; }
.iconbox { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); flex: none; }
.scard h3 { font-size: 1.15rem; }
.scard p { font-size: .95rem; }
.scard .wlink { margin-top: 2px; font-size: .9rem; }

/* hub banner */
.hubbar { border-bottom: 1px solid var(--line); padding-block: 32px; }
.hubbar .wrap { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .hubbar .wrap { grid-template-columns: auto 1fr auto; gap: 24px; } }
.hubbar .mark { width: 56px; height: 56px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.hubbar .mark img { width: 38px; }
.hubbar h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.hubbar p { font-size: .95rem; margin-top: 4px; max-width: 62ch; }

/* homepage closing band */
.closer { position: relative; overflow: hidden; isolation: isolate; }
.closer .band-canvas { opacity: .75; }
.closer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 90% at 100% 0%, rgba(191,43,47,.22), transparent 60%), linear-gradient(90deg, var(--ink) 0%, rgba(9,9,21,.9) 45%, rgba(9,9,21,.35) 100%); }
.closer-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .closer-in { grid-template-columns: 1fr auto; gap: 64px; } }
.closer h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); color: #fff; }
.closer h2 span { display: block; color: var(--on-dark-2); font-weight: 600; }
.closer p { max-width: 56ch; margin-top: 16px; }
.closer-ctas { display: grid; gap: 12px; min-width: 260px; }

/* interior callout: TAKE CONTROL OF YOUR TECH. */
.callout { position: relative; overflow: hidden; background: var(--ink); border-radius: 20px; color: var(--on-dark-2); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-items: center; isolation: isolate; }
.callout::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(191,43,47,.32), transparent 65%); }
@media (min-width: 900px) { .callout { grid-template-columns: 1fr auto; gap: 48px; } }
.callout h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 14px; }
.callout p { margin-top: 12px; max-width: 58ch; }
.callout .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* dark band inside a light section (product pitch) */
.dband { background: var(--ink); color: var(--on-dark-2); border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .dband { grid-template-columns: 1fr auto; gap: 48px; } }
.dband h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 14px; }
.dband p { margin-top: 12px; max-width: 58ch; }

/* top-ruled points (Capture / Coordinate / Improve) */
.points { display: grid; gap: 20px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.points.four { }
@media (min-width: 980px) { .points.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.point { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--red); }
.point b { color: var(--ink); font-size: 1.05rem; }
.point p { font-size: .95rem; }
.point .kicker { font-size: .7rem; }
.flowcards .point { background: var(--mist); padding: 22px; border-top-width: 3px; border-radius: 0 0 12px 12px; }
.sec-mist .flowcards .point { background: #fff; }
.statstrip { border-block: 1px solid var(--line); padding-block: 28px; }

/* module cards (product detail) */
.mods { display: grid; gap: 16px; }
@media (min-width: 700px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mod { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mod h3 { font-size: 1.1rem; }
.mod p { font-size: .95rem; }

/* product index cards (light) */
.lcards { display: grid; gap: 20px; }
@media (min-width: 980px) { .lcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.lcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.lcard-pad { display: grid; gap: 12px; padding: 26px 26px 0; }
.lcard h2 { font-size: 1.75rem; letter-spacing: -0.03em; margin-top: 8px; }
.lcard p { font-size: .975rem; }
.lcard .prod-stage { margin-top: 22px; border-radius: 0; border-inline: 0; border-bottom: 0; height: 220px; }
.lcard-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; border-top: 1px solid var(--line); color: var(--red); font-weight: 600; text-decoration: none; }
.lcard-link:hover { background: #FFF7F7; }

/* page hero v2 */
.ph { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(44px, 6vw, 76px); overflow: hidden; }
.ph-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .ph-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ph .copy { display: grid; gap: 18px; max-width: 640px; }
.ph h1 { font-size: clamp(2.5rem, 4.8vw, 4.1rem); }
.ph .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ph .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ph-mist { background: var(--mist); }
.stage { position: relative; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(140deg, #F2F3F7, #fff); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; justify-content: center; padding: 32px 28px 0; isolation: isolate; }
.stage::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -40px; top: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(191,43,47,.16), transparent 68%); }
.stage .browser { width: 100%; align-self: center; margin-bottom: 28px; }
.stage .phone { width: min(190px, 40%); margin-bottom: -70px; }
.stage .phone + .phone { margin-left: 4%; margin-bottom: -10px; }
.stage .flow { align-self: center; margin-bottom: 28px; }
.stage-cap { margin-top: 12px; font-size: .8125rem; color: var(--muted); text-align: center; }
.stage.duo-stage { padding: 28px; align-items: center; }
.stage.duo-stage .duo { display: grid; grid-template-columns: 1fr 28%; gap: 4%; align-items: end; width: 100%; }
.stage.duo-stage .duo .browser { margin: 0; }
.stage.duo-stage .duo .phone { width: 100%; margin: 0; padding: 4%; }
.stage.duo-stage .duo .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* case study */
.case-shot { border-radius: 20px; background: #E8EDF3; padding: clamp(18px, 3vw, 40px); }
.case-shot .duo { display: grid; grid-template-columns: 1fr 24%; gap: 3%; align-items: end; }
.case-shot .phone { padding: 4%; }
.case-shot .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-cols { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .case-cols { grid-template-columns: 300px 1fr; gap: 64px; align-items: start; } }
.facts { background: var(--mist); border-radius: 16px; padding: 8px 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; font-size: .975rem; }
.prose { display: grid; gap: 16px; max-width: 70ch; }
.prose h2 { margin-top: 10px; }
.prose h3 { margin-top: 18px; }
.gallery { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.6fr 1fr; } }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery figcaption { font-size: .85rem; color: var(--muted); }
.gallery .phone { max-width: 220px; justify-self: center; }
.gallery .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* industries */
.ipanel { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.ipanel + .ipanel { margin-top: 20px; }
@media (min-width: 860px) { .ipanel { grid-template-columns: 1fr 1.2fr; min-height: 300px; } }
.iart { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 200px; isolation: isolate; }
.iart::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 90% at 100% 100%, rgba(191,43,47,.35), transparent 60%); }
.iart svg.ibig { width: 64px; height: 64px; color: var(--red-on-dark); }
.iart .itrace { position: absolute; z-index: -1; right: 0; top: 0; width: 70%; height: 100%; opacity: .5; }
.iart b { font-size: .95rem; color: #E7E7EE; font-weight: 600; }
.icontent { padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 14px; align-content: center; }
.icontent h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.icontent .ind-links { margin-top: 4px; }

/* about quote card */
.qcard { background: var(--ink); color: var(--on-dark-2); border-radius: 20px; padding: clamp(32px, 4vw, 56px); display: grid; gap: 18px; align-content: center; min-height: 380px; position: relative; overflow: hidden; isolation: isolate; }
.qcard::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(191,43,47,.35), transparent 65%); }
.qcard blockquote { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.qcard .tag { background: transparent; color: #E7E7EE; border-color: rgba(255,255,255,.25); justify-self: start; }
.sides { display: grid; gap: 20px; }
@media (min-width: 860px) { .sides { grid-template-columns: 1fr 1fr; } }
.side2 { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: #fff; display: grid; gap: 14px; align-content: start; }
.side2 h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.tag-red { background: var(--red-tint); border-color: rgba(191,43,47,.25); color: var(--red-deep); }
.tag-red::before { display: none; }

/* contact v2 */
.ctabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0 0 6px; }
.ctabs legend { padding: 0; margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.ctab { position: relative; }
.ctab input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ctab label { display: grid; place-items: center; text-align: center; min-height: 52px; padding: 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--mist); color: var(--body); font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ctab input:checked + label { border-color: var(--red); background: #FFF4F4; color: var(--red-deep); }
.ctab input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 3px; }
.form-shell { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-2); }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: t; }
.trust li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; counter-increment: t; }
.trust li::before { content: counter(t, decimal-leading-zero); width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); font-weight: 700; font-size: .85rem; }
.trust b { color: var(--ink); display: block; }
.trust p { font-size: .95rem; margin-top: 2px; }
.empty[hidden] { display: none; }
.tag { width: fit-content; }
.statstrip .ledger { margin-top: 0; border-top: 0; }
.statstrip .ledger > div { padding-top: 4px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.callout h2 span { display: block; color: var(--on-dark-2); }
.callout .band-canvas { z-index: -2; opacity: .8; }
.callout.has-hex::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--ink) 0%, rgba(9,9,21,.88) 45%, rgba(9,9,21,.3) 100%); }
.ui-bar { height: 2.2cqi; border-radius: 99px; background: var(--mist-2); overflow: hidden; margin-top: 1cqi; }
.ui-bar span { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.ledger-sub { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }
.phone-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wart > .wart-img { height: 100%; width: auto; max-width: 100%; object-fit: contain; align-self: center; padding-bottom: 18px; filter: drop-shadow(0 18px 28px rgba(9,9,21,.18)); }
.appgal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
@media (min-width: 900px) { .appgal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.appgal figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.appgal .phone { width: min(220px, 100%); }
.appgal figcaption { color: var(--ink); font-weight: 600; text-align: center; font-size: .975rem; }

/* homepage product cards: white, with a real image from each product */
.pcard { background: #fff; border: 0; color: var(--body); box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 24px 48px -24px rgba(0,0,0,.6); }
.pcard:hover { border-color: transparent; }
.dark .pcard h3 { color: var(--ink); }
.dark .pcard p { color: var(--body); }
.pcard-type { color: var(--muted); }
.pcard-media { margin-top: auto; height: 230px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); overflow: hidden; position: relative; display: flex; justify-content: center; align-items: flex-end; }
.pcard-media.m-civspot img { height: 112%; width: auto; max-width: none; align-self: center; filter: drop-shadow(0 12px 18px rgba(9,9,21,.16)); }
.pcard-media.m-zatract img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.pcard-media.m-client-hub .phone { width: 170px; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); }
.pcard-link { color: var(--red); border-top-color: var(--line); }
.pcard-link svg { color: var(--red); }
@media (min-width: 760px) { .points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Client Hub service model (three.js), in the Hub's own dark palette */
.hubmodel { position: absolute; inset: 0; background: #0E1116 url("/assets/img/hub/model.webp") center / contain no-repeat; }
.hubmodel.is-live { background-image: none; }
.hubmodel canvas { display: block; width: 100% !important; height: 100% !important; }
.pcard-media.m-client-hub, .wart.t-hub, .prod-stage:has(.hubmodel) { background: #0E1116; border-color: #0E1116; }
.stage.hubstage { padding: 0; background: #0E1116; border-color: #0E1116; min-height: 420px; }
.stage.hubstage::before { display: none; }

/* About: founder */
.founder { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.founder-photo { margin: 0; position: relative; isolation: isolate; max-width: 460px; }
.founder-photo::before { content: ""; position: absolute; z-index: -1; inset: 8% -6% -6% 8%; border-radius: 24px; background: var(--ink); }
.founder-photo::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -14%; top: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(191,43,47,.22), transparent 65%); }
.founder-photo img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-2); }
.founder-copy { display: grid; gap: 16px; align-content: start; max-width: 640px; }
.founder-role { color: var(--red); font-weight: 600; margin-top: -6px; }
.founder-copy .points { margin-top: 10px; }
@media (max-width: 899px) { .founder-photo { width: 88%; } .founder-photo::before { inset: 6% -8% -4% 8%; } .founder-photo::after { right: -4%; } }
/* founder photo: quiet frame instead of the dark offset slab */
.founder-photo::before, .founder-photo::after { display: none; }
.founder-photo { padding: 12px; border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.founder-photo img { border-radius: 16px; box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 899px) { .founder-photo { width: 100%; } }
.founder-photo { background: var(--ink); border-color: var(--ink); }
.founder-photo img { border: 0; }

/* Client Hub color picker */
.hubpick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hubpick p { font-size: .95rem; color: var(--body); }
.hubpick b { color: var(--ink); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(9,9,21,.12); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sw); }
.swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 50%; }
.stage.hubstage:not(:has(.is-live)) + .hubpick { display: none; }

/* Contact: direct reach list */
.reach { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.reach li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.reach-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.reach small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.reach a { color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.4; }
.reach a:hover { color: var(--red); text-decoration: underline; text-underline-offset: .2em; }
/* website screenshots in a phone: start below the camera area, like a real status bar */
.phone.web .phone-screen { padding-top: 9%; background: var(--ink); }
.phone.web .phone-screen > img { object-fit: cover; object-position: top center; }

/* Legal pages */
.legal { display: grid; gap: 32px; }
@media (min-width: 960px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; } }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 959px) { .legal-toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); } }
.legal-toc p { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .925rem; }
.legal-toc a { color: var(--body); text-decoration: none; }
.legal-toc a:hover { color: var(--red); text-decoration: underline; }
.legal-body { display: grid; gap: 40px; max-width: 72ch; }
.legal-sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-sec h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.legal-sec strong { color: var(--ink); }
.legal-sec .pads { gap: 8px; }
.mnav .btn { color: var(--fg); justify-content: center; font-size: 1.0625rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* larger header logo (owner request) */
.brand img { height: 44px; }
@media (max-width: 599px) { .brand img { height: 38px; } }

/* Footer option B: one row of links + the copyright line */
.site-footer { padding-top: clamp(36px, 5vw, 56px); }
.ft-row { display: grid; gap: 24px; padding-bottom: 28px; align-items: center; }
@media (min-width: 960px) { .ft-row { grid-template-columns: auto 1fr auto; gap: 40px; } }
.ft-id { display: grid; gap: 10px; }
.ft-id img { height: 48px; width: auto; }
.ft-id p { font-size: .9rem; }
.ft-id a { color: var(--on-dark-2); text-decoration: none; }
.ft-id a:hover { color: #fff; text-decoration: underline; }
.ft-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
@media (min-width: 960px) { .ft-nav { justify-content: center; } }
.ft-nav a { color: #fff; text-decoration: none; font-weight: 500; }
.ft-nav a:hover { color: var(--red-on-dark); }
.ft-nav .ft-hub { color: #E4484D; display: inline-flex; align-items: center; gap: 6px; }
.ft-nav .ft-hub:hover { color: #fff; }
.ft-tagline { color: #fff; font-weight: 600; font-size: .975rem; }
