/* ============================================================
   UNKNWN GLOBAL — "The Manifest" design system
   The wordmark drops its vowels; this system runs with that idea
   literally — the site reads like a technical manifest that
   declassifies a brand's growth potential, module by module.
   Drafting-table precision (crop marks, coordinate tags, mono
   annotations) meets senior editorial restraint. One dark hero
   moment, one signature panel, everything else quiet.
   ============================================================ */

:root {
  --u-bg: #eef1ee;
  --u-surface: #ffffff;
  --u-navy: #142642;
  --u-navy-deep: #060d16;
  --u-mint: #47ae87;
  --u-mint-light: #8fe4c2;
  --u-mint-dim: #2f8f6c;
  --u-mint-ink: #1f7a5a;
  --u-ink: #0b1a2b;
  --u-ink-muted: #55636e;
  --u-line: rgba(11, 26, 43, 0.14);
  --u-line-strong: rgba(11, 26, 43, 0.32);
  --u-grad: linear-gradient(135deg, var(--u-navy) 0%, var(--u-mint-dim) 60%, var(--u-mint) 100%);
  --u-grad-text: linear-gradient(100deg, var(--u-ink) 0%, var(--u-mint-ink) 60%, var(--u-mint) 100%);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.16,.84,.32,1);
  --ease-in-out: cubic-bezier(.77,0,.175,1);
  --ease-out-strong: cubic-bezier(.23,1,.32,1);
}

html { background: var(--u-bg); scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--u-bg);
  color: var(--u-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Faint fixed grain — cools the paper down a touch, avoids a flat digital fill */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.022; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 800;
}
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

a, button { touch-action: manipulation; }
.font-mono { font-family: var(--font-mono); }

::selection { background: var(--u-mint); color: #04120c; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--u-bg); }
::-webkit-scrollbar-thumb { background: var(--u-navy); border-radius: 10px; border: 2px solid var(--u-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--u-mint-dim); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--u-mint-dim); outline-offset: 2px;
}

/* ---------- utility colors (kept from the prior system's naming so
   existing markup — including the two legal pages — inherits the new
   palette without any HTML changes) ---------- */
.bg-surface { background-color: var(--u-surface); }
.bg-base { background-color: var(--u-bg); }
.bg-navy-deep { background-color: var(--u-navy-deep); position: relative; }
.text-ink { color: var(--u-ink); }
.text-muted { color: var(--u-ink-muted); }
.text-mint { color: var(--u-mint-ink); }
.text-navy { color: var(--u-navy); }
.border-line { border-color: var(--u-line); }

.text-gradient {
  background: var(--u-grad-text);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead-in { font-weight: 400; color: var(--u-ink-muted); }

/* Footer ambient wash — static, no cursor tracking */
.spotlight { position: relative; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(720px circle at 12% 0%, rgba(71,174,135,0.14), transparent 60%);
}
.spotlight > * { position: relative; z-index: 1; }

/* ============================================================
   Type scale helpers
   ============================================================ */
.kicker { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.1rem; font-family: var(--font-mono); }
.kicker span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--u-navy); }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--u-mint); flex-shrink: 0; }
.bg-navy-deep .kicker span, .gradient-panel .kicker span { color: var(--u-mint-light); }
.bg-navy-deep .kicker::before, .gradient-panel .kicker::before { background: var(--u-mint-light); }

/* ============================================================
   Crop marks — the signature device. Four corner brackets drawn
   with layered background gradients (no extra markup needed),
   echoing the drafting-table / declassified-document idea. A
   second, brighter set fades in on hover/focus.
   ============================================================ */
.crop {
  position: relative;
  --crop-len: 14px;
  --crop-c: rgba(11, 26, 43, 0.28);
  background-image:
    linear-gradient(var(--crop-c), var(--crop-c)), linear-gradient(var(--crop-c), var(--crop-c)),
    linear-gradient(var(--crop-c), var(--crop-c)), linear-gradient(var(--crop-c), var(--crop-c)),
    linear-gradient(var(--crop-c), var(--crop-c)), linear-gradient(var(--crop-c), var(--crop-c)),
    linear-gradient(var(--crop-c), var(--crop-c)), linear-gradient(var(--crop-c), var(--crop-c));
  background-repeat: no-repeat;
  background-size:
    var(--crop-len) 1.5px, 1.5px var(--crop-len),
    var(--crop-len) 1.5px, 1.5px var(--crop-len),
    var(--crop-len) 1.5px, 1.5px var(--crop-len),
    var(--crop-len) 1.5px, 1.5px var(--crop-len);
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
}
.crop::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(var(--u-mint-ink), var(--u-mint-ink)), linear-gradient(var(--u-mint-ink), var(--u-mint-ink)),
    linear-gradient(var(--u-mint-ink), var(--u-mint-ink)), linear-gradient(var(--u-mint-ink), var(--u-mint-ink)),
    linear-gradient(var(--u-mint-ink), var(--u-mint-ink)), linear-gradient(var(--u-mint-ink), var(--u-mint-ink)),
    linear-gradient(var(--u-mint-ink), var(--u-mint-ink)), linear-gradient(var(--u-mint-ink), var(--u-mint-ink));
  background-repeat: no-repeat;
  background-size:
    18px 2px, 2px 18px, 18px 2px, 2px 18px,
    18px 2px, 2px 18px, 18px 2px, 2px 18px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.bg-navy-deep .crop, .ug-method .crop,
.manifest.crop, .ug-retainer-panel.crop, .mod-card--feature.crop { --crop-c: rgba(255,255,255,0.22); }
@media (hover: hover) and (pointer: fine) {
  .crop:hover::after, .crop:focus-within::after { opacity: 1; }
}

/* ============================================================
   Header
   ============================================================ */
#site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease; }
#site-header .max-w-7xl { max-width: 90rem; padding-top: 1.15rem; padding-bottom: 1.15rem; }
#site-header img { height: 1.3rem; width: auto; }

/* Default (light hero pages): quiet paper glass, ink text, from the start */
#site-header { background: rgba(238,241,238,0); color: var(--u-ink); }
#site-header .nav-link { color: var(--u-ink-muted); }
#site-header .nav-link:hover, #site-header .nav-link.active { color: var(--u-navy); }
#site-header button#menu-toggle { color: var(--u-ink); }

/* Dark-hero pages (home): glass-dark bar, white text, from the start —
   glassmorphism token: bg-black/20 backdrop-blur-md border-white/10 */
body[data-theme="dark-hero"] #site-header:not(.scrolled) {
  background: rgba(6,13,22,0.28);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
body[data-theme="dark-hero"] #site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.72); }
body[data-theme="dark-hero"] #site-header:not(.scrolled) .nav-link:hover,
body[data-theme="dark-hero"] #site-header:not(.scrolled) .nav-link.active { color: #fff; }
body[data-theme="dark-hero"] #site-header:not(.scrolled) img { filter: brightness(0) invert(1); }
body[data-theme="dark-hero"] #site-header:not(.scrolled) button#menu-toggle { color: #fff; border-color: rgba(255,255,255,0.3); }

#site-header.scrolled {
  background: rgba(238,241,238,0.86);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--u-line);
  box-shadow: 0 12px 30px -24px rgba(11,26,43,0.35);
  color: var(--u-ink);
}
#site-header.scrolled img { filter: none; }
#site-header.scrolled .nav-link { color: var(--u-ink-muted); }
#site-header.scrolled .nav-link:hover, #site-header.scrolled .nav-link.active { color: var(--u-navy); }
#site-header.scrolled button#menu-toggle { color: var(--u-ink); border-color: var(--u-line); }

.nav-link { position: relative; font-weight: 500; font-size: 0.85rem; transition: color 0.25s ease; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1.5px;
  background: var(--u-mint-dim); transition: width 0.35s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

#site-header button#menu-toggle {
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  border: 1px solid var(--u-line); background: transparent;
  display: flex; align-items: center; justify-content: center;
}

/* Hard breakpoint fallback — mirrors the Tailwind lg (1024px) utility
   classes on the header (hidden/lg:flex/lg:hidden) so desktop nav vs.
   mobile menu never both render if the Tailwind CDN script is blocked,
   slow, or unavailable on the live host. */
@media (min-width: 1024px) {
  #site-header button#menu-toggle { display: none !important; }
  #mobile-menu { display: none !important; }
}
@media (max-width: 1023.98px) {
  #site-header nav.hidden.lg\:flex,
  #site-header div.hidden.lg\:flex { display: none !important; }
}

/* Mobile menu overlay — light glass, matching the glassmorphism skill's
   light-overlay-on-dark-hero pattern but tuned for a paper backdrop */
#mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 100%); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0s linear 0.35s;
  box-shadow: 0 24px 48px -20px rgba(6,13,22,0.3);
  background: rgba(238,241,238,0.97); backdrop-filter: blur(18px);
  border-top: 1px solid var(--u-line);
}
#mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0s linear 0s; }
#mobile-menu .nav-link { color: var(--u-ink-muted); }

/* Dark-hero pages: keep the mobile menu on the same dark glass as the
   header it drops from (only while unscrolled — once past the hero the
   header itself flips to light glass, and the menu follows it). */
body[data-theme="dark-hero"] #site-header:not(.scrolled) #mobile-menu {
  background: #060d16;
  border-top: 1px solid rgba(255,255,255,0.14);
}
body[data-theme="dark-hero"] #site-header:not(.scrolled) #mobile-menu .nav-link { color: rgba(255,255,255,0.72); }
body[data-theme="dark-hero"] #site-header:not(.scrolled) #mobile-menu .nav-link.active { color: #fff; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  color: #f2fbf7; font-weight: 600; font-size: 0.92rem;
  padding: 0.9rem 1.9rem; border-radius: 3px;
  background: var(--u-navy);
  border: 1px solid var(--u-navy);
  box-shadow: 0 14px 30px -18px rgba(20,38,66,0.55);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease-in-out);
}
.btn-primary::before {
  content: ""; position: absolute; left: -2px; top: -2px; right: -2px; bottom: -2px;
  border: 1px solid var(--u-mint); opacity: 0; transition: opacity 0.3s var(--ease), inset 0.3s var(--ease);
}
.btn-primary:hover { background: var(--u-mint-ink); border-color: var(--u-mint-ink); transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(31,122,90,0.5); }
.btn-primary:hover::before { opacity: 1; left: -5px; top: -5px; right: -5px; bottom: -5px; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.9rem; border-radius: 3px;
  border: 1px solid var(--u-line-strong); color: var(--u-ink); font-weight: 600; font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.2s var(--ease-in-out);
}
.btn-ghost:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: var(--u-mint-ink); background: rgba(71,174,135,0.06); transform: translateY(-2px); }
}
body[data-theme="dark-hero"] .ug-hero .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
body[data-theme="dark-hero"] .ug-hero .btn-ghost:hover { border-color: var(--u-mint-light); background: rgba(255,255,255,0.06); }

/* ============================================================
   Cards — quiet surfaces, crop marks carry the "framed" idea
   instead of shine sweeps or gradient top-bars.
   ============================================================ */
.card {
  position: relative;
  background: var(--u-surface);
  border: 1px solid var(--u-line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(11,26,43,0.04);
  transition: transform 0.3s var(--ease-in-out), border-color 0.3s ease, box-shadow 0.3s var(--ease-in-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); border-color: rgba(71,174,135,0.4); box-shadow: 0 30px 60px -30px rgba(11,26,43,0.28); }
}

.num-badge { font-family: var(--font-display); font-variant-numeric: tabular-nums; color: var(--u-navy); font-weight: 700; letter-spacing: -0.02em; }
.dot-mint { background: var(--u-mint-dim); }

.avatar-ring { border-radius: 3px; padding: 3px; background: var(--u-grad); display: block; }
.avatar-ring img { border-radius: 2px; display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); transition: filter 0.3s ease; }
@media (hover: hover) and (pointer: fine) { .card:hover .avatar-ring img { filter: grayscale(0); } }

.logo-badge { border-radius: 3px; }

/* ============================================================
   Redaction reveal — the hero's one orchestrated moment. Each
   headline line sits under a solid navy bar that slides away on
   load, dramatizing "unknown, deliberately revealed" the same way
   the wordmark drops its vowels — a real interaction, not a tagline.
   ============================================================ */
.redact-line { position: relative; display: block; overflow: hidden; }
.redact-bar {
  position: absolute; inset: 0; background: var(--u-navy-deep); transform-origin: left; z-index: 2;
}
.redact-bar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: var(--u-mint); }

/* ============================================================
   Home hero — full dark manifest bay
   ============================================================ */
.ug-container { width: min(100% - 3rem, 1280px); margin-inline: auto; }

.ug-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8.5rem 0 4rem;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(71,174,135,0.16), transparent 34rem),
    linear-gradient(150deg, #060d16 0%, #0c1a2c 46%, #142642 100%);
  isolation: isolate; overflow: hidden;
}
.ug-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 78%);
}
.ug-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,0.95fr) minmax(23rem,0.75fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }

.ug-kicker {
  display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.4rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--u-mint-light);
}
.ug-kicker::before { content: ""; width: 7px; height: 7px; background: var(--u-mint-light); }

.ug-title {
  margin: 0; max-width: 11ch;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}
.ug-title em { font-style: normal; color: var(--u-mint-light); }

.ug-subtitle { max-width: 42rem; margin: 1.75rem 0 0; color: rgba(255,255,255,0.7); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.7; }
.ug-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem; }

/* Manifest panel — the signature element. Glass, on the dark hero. */
.manifest {
  position: relative; padding: 1.75rem;
  border-radius: 4px;
  background: rgba(6,13,22,0.32);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.7);
  overflow: hidden;
}
.manifest-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); padding-bottom: 1.1rem; margin-bottom: 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.manifest-top strong { color: var(--u-mint-light); font-weight: 600; }

.mod-row {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none; color: inherit;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.mod-row:last-child { border-bottom: none; }
.mod-row .mod-code {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--u-mint-light);
}
.mod-row strong { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .mod-row:hover { padding-left: 0.6rem; background: linear-gradient(90deg, rgba(71,174,135,0.14), transparent); }
}

/* ============================================================
   Sections
   ============================================================ */
.ug-section { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--u-surface); color: var(--u-ink); }
.ug-section-alt { background: var(--u-bg); }

.ug-heading { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; color: var(--u-ink); font-size: clamp(1.9rem, 3.6vw, 3rem); }
.ug-copy { color: var(--u-ink-muted); line-height: 1.7; max-width: 38rem; }

/* ============================================================
   Section header archetypes — deliberately different shapes so
   section types read as distinct moves, not one header pattern
   reused down the page.

   .head-ledger  — a top rule (kicker left / index right), full-width
                   heading beneath, short intro beneath that. Used for
                   list/grid sections (module grid, values, benefits).
   .head-frame   — the whole section's message lives inside one
                   crop-marked bordered block, like a signed clause.
                   Used for single-statement sections.
   ============================================================ */
.head-ledger { margin-bottom: 3rem; }
.head-ledger-top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--u-line);
}
.head-ledger-top .kicker { margin-bottom: 0; }
.head-ledger-top span.count { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--u-ink-muted); }
.head-ledger .ug-heading { max-width: 20ch; }
.head-ledger .ug-copy { margin-top: 1.1rem; }

.head-frame {
  padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--u-line); border-radius: 4px;
  margin-bottom: 3rem;
}
.head-frame .ug-heading { max-width: 22ch; }
.head-frame .ug-copy { margin-top: 1.1rem; }

/* ============================================================
   Client band — one line, dark, always moving. The logos loop
   continuously rather than sitting in a static grid.
   ============================================================ */
.client-band { background: var(--u-navy-deep); overflow: hidden; }
.client-band-inner { display: flex; align-items: center; gap: 2.5rem; padding: 1.6rem 0; }
.client-band-label {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); padding-right: 2rem; border-right: 1px solid rgba(255,255,255,0.16); white-space: nowrap;
}
.marquee {
  position: relative; overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee-track img { height: 22px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; overflow-x: auto; } }

/* ============================================================
   Ledger list — a running list of rows (mono code + content),
   distinct from the boxed .mod-grid / .value-grid treatments,
   used where a page already owns the "boxed grid" motif elsewhere.
   ============================================================ */
.ledger-list { border-top: 1px solid var(--u-line); }
.ledger-row { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--u-line); }
.ledger-row .mod-code { font-family: var(--font-mono); font-size: 0.72rem; color: var(--u-mint-ink); font-weight: 600; padding-top: 0.2rem; }
.ledger-row h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.ledger-row p { margin: 0; color: var(--u-ink-muted); line-height: 1.6; max-width: 42rem; }

/* Single-line strip — a horizontal band of short benefit tags,
   distinct from a boxed grid, one row that wraps only on mobile. */
.strip { display: flex; flex-wrap: wrap; border-top: 1px solid var(--u-line); border-left: 1px solid var(--u-line); }
.strip-item { flex: 1 1 220px; padding: 1.5rem 1.5rem; border-right: 1px solid var(--u-line); border-bottom: 1px solid var(--u-line); }
.strip-item .mod-code { display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--u-mint-ink); letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.strip-item h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.strip-item p { margin: 0; color: var(--u-ink-muted); font-size: 0.86rem; line-height: 1.55; }

/* Connected flow — a real sequence rendered as linked steps with a
   running line, used for genuine multi-step processes. */
.flow-list { position: relative; }
.flow-item { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
.flow-item:last-child { padding-bottom: 0; }
.flow-item .flow-dot {
  position: relative; z-index: 1; width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--u-surface); border: 1.5px solid var(--u-navy); color: var(--u-navy);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
}
.flow-item::before {
  content: ""; position: absolute; left: 1.45rem; top: 3rem; bottom: -0.5rem; width: 1.5px; background: var(--u-line);
}
.flow-item:last-child::before { display: none; }
.flow-item h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.flow-item p { margin: 0; color: var(--u-ink-muted); line-height: 1.6; }

/* FAQ accordion (native details/summary — no JS) */
.faq-item { border-bottom: 1px solid var(--u-line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--u-mint-ink); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.5rem; color: var(--u-ink-muted); font-size: 0.92rem; line-height: 1.65; max-width: 42rem; }

/* Services module grid */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--u-line); border: 1px solid var(--u-line); }
.mod-card {
  position: relative; background: var(--u-surface); padding: 2rem;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: background 0.3s var(--ease);
}
.mod-card .mod-code { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--u-mint-ink); margin-bottom: 1.4rem; }
.mod-card h3 { margin: 0 0 0.6rem; font-size: 1.28rem; letter-spacing: -0.01em; }
.mod-card p { margin: 0; color: var(--u-ink-muted); font-size: 0.92rem; line-height: 1.6; }
.mod-card .mod-arrow { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--u-ink-muted); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.3s var(--ease), color 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .mod-card:hover { background: var(--u-bg); }
  .mod-card:hover .mod-arrow { gap: 0.7rem; color: var(--u-mint-ink); }
}
.mod-card--feature { background: var(--u-navy); color: #fff; }
.mod-card--feature .mod-code { color: var(--u-mint-light); }
.mod-card--feature p { color: rgba(255,255,255,0.68); }
.mod-card--feature .mod-arrow { color: rgba(255,255,255,0.6); }
@media (hover: hover) and (pointer: fine) { .mod-card--feature:hover { background: #0e2038; } .mod-card--feature:hover .mod-arrow { color: var(--u-mint-light); } }

/* Standard / spec list */
.spec-list { border-top: 1px solid var(--u-line); }
.spec-row { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--u-line); }
.spec-row .spec-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--u-mint-ink); font-weight: 600; padding-top: 0.2rem; }
.spec-row h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.spec-row p { margin: 0; color: var(--u-ink-muted); line-height: 1.65; max-width: 40rem; }

/* Method rail — a real sequence, so numbering is justified here */
.ug-method { background: var(--u-navy) !important; color: #fff; }
.ug-method .ug-heading { color: #fff; max-width: 16ch; }
.ug-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.16); border-left: 1px solid rgba(255,255,255,0.16); }
.ug-method-step { min-height: 15rem; padding: 1.75rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.16); border-bottom: 1px solid rgba(255,255,255,0.16); display: flex; flex-direction: column; }
.ug-method-step .step-num { font-family: var(--font-mono); color: var(--u-mint-light); font-size: 0.85rem; margin-bottom: auto; }
.ug-method-step h3 { margin: 1.5rem 0 0.6rem; color: #fff; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.ug-method-step p { margin: 0; color: rgba(255,255,255,0.68); line-height: 1.6; font-size: 0.92rem; }

/* Retainer CTA panel */
.ug-retainer-panel {
  position: relative; padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 4px; color: #fff;
  background: linear-gradient(135deg, #060d16, #142642 70%);
  box-shadow: 0 50px 100px -60px rgba(6,13,22,0.65);
}
.ug-retainer-panel .ug-heading { color: #fff; max-width: 20ch; }
.ug-retainer-panel .ug-copy { color: rgba(255,255,255,0.7); margin: 1.25rem 0 2rem; }

/* Final CTA */
.ug-final { padding: clamp(4.5rem, 8vw, 7rem) 0; text-align: center; color: #fff; background: var(--u-navy-deep); }
.ug-final .ug-heading { max-width: 18ch; margin-inline: auto; color: #fff; }
.ug-final .ug-copy { margin: 1.25rem auto 2rem; }

/* Stat / capability panel (about page) */
.stat-panel { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat-panel > div { padding: 1.5rem 0; border-top: 1px solid var(--u-line); }
.stat-panel > div:nth-child(-n+2) { border-top: none; }
.stat-panel > div:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--u-line); }
.stat-panel strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--u-navy); letter-spacing: -0.02em; }
.stat-panel span { display: block; margin-top: 0.4rem; color: var(--u-ink-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Team — 3 up, then 2 centered below */
.team-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--u-line); border: 1px solid var(--u-line); }
.team-row-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--u-line); border: 1px solid var(--u-line); max-width: 66.6%; margin: 1.5rem auto 0; }
.team-card { background: var(--u-surface); padding: 1.75rem; text-align: center; }
.team-card .avatar-ring { width: 5.5rem; height: 5.5rem; margin: 0 auto 1.1rem; }

/* Form */
.mf-field label { display: block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--u-ink-muted); margin-bottom: 0.6rem; }
.mf-field input, .mf-field select, .mf-field textarea {
  width: 100%; background: transparent; border: 1px solid var(--u-line); border-radius: 2px;
  padding: 0.8rem 1rem; font-size: 0.92rem; color: var(--u-ink); transition: border-color 0.25s ease;
}
.mf-field input:focus-visible, .mf-field select:focus-visible, .mf-field textarea:focus-visible { border-color: var(--u-mint-dim); }
.mf-field textarea { resize: none; }

/* FAQ / spec panel rows */
.faq-item { border-bottom: 1px solid var(--u-line); padding: 1.6rem 0; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--u-ink-muted); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   Reveal — GSAP sets the hidden state at runtime; content stays
   visible by default if the animation script fails to load.
   ============================================================ */
.reveal { will-change: transform, opacity; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  #site-header .max-w-7xl { width: min(100% - 1.5rem, 56rem); padding: 0.85rem 0; }
  #site-header img { height: 1.05rem; }
  #site-header nav { display: none; }
  #site-header .hidden.lg\:flex { display: none; }
  #site-header button#menu-toggle { display: flex !important; }

  .ug-hero { min-height: auto; padding: 7.5rem 0 4rem; }
  .ug-hero-grid { grid-template-columns: 1fr; }

  .mod-grid { grid-template-columns: 1fr; }
  .ug-method-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-row, .ledger-row, .flow-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .flow-item::before { display: none; }
  .stat-panel { grid-template-columns: repeat(2, 1fr); }
  .team-row-3 { grid-template-columns: repeat(2, 1fr); }
  .team-row-2 { max-width: 100%; }
  .client-band-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .client-band-label { border-right: none; padding-right: 0; }
}

@media (max-width: 560px) {
  .team-row-3, .team-row-2 { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
