/* ==========================================================================
   TRUSTCRYPT — public site design system
   Luxury enterprise cybersecurity: near-black emerald, mint accents,
   champagne in micro-doses, thin hairlines, generous air.
   ========================================================================== */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest.woff2") format("woff2");
}

:root {
  --ink-950: #010605;
  --ink-900: #020908;
  --ink-800: #031714;
  --ink-700: #071d19;
  --ink-600: #0a211d;
  --ink-500: #152a27;
  --emerald: #0e5345;
  --mint: #4fd1a0;
  --mint-bright: #6bdbac;
  --mint-soft: rgba(79, 209, 160, .12);
  --text: #f4f5f4;
  --text-2: #c7d7d1;
  --muted: #7a938c;
  --champagne: #e7caa1;
  --gold: #c89b58;
  --danger: #e5735f;

  --hair: rgba(104, 184, 150, .16);
  --hair-strong: rgba(104, 184, 150, .28);

  --font: "Onest", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --r-s: 4px;
  --r-m: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ink-800);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--mint); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint-bright); }
::selection { background: rgba(79, 209, 160, .28); color: var(--text); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--text); margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--mint); color: var(--ink-900); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; }
.wrap--narrow { max-width: 860px; }

/* ------------------------------------------------------------ typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--mint)); }
.eyebrow--alert { color: var(--danger); }
.eyebrow--alert::before { background: linear-gradient(90deg, transparent, var(--danger)); }

.display {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 0 0 26px;
  text-wrap: balance;
}
.display--md { font-size: clamp(36px, 5vw, 64px); }
.display em, .h2 em, .footer-cta__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint) 0%, var(--mint-bright) 50%, var(--champagne) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; text-wrap: balance; }
.lead { font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.muted-tag {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--hair); padding: 3px 8px; border-radius: var(--r-s);
}

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--hair-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 14.5px/1 var(--font); letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-m);
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--mint); --btn-fg: #02130f; --btn-bd: var(--mint); }
.btn--primary:hover { --btn-bg: var(--mint-bright); --btn-bd: var(--mint-bright); color: #02130f; box-shadow: 0 10px 40px -10px rgba(79, 209, 160, .55); }
.btn--ghost:hover { --btn-bd: var(--mint); color: var(--text); background: var(--mint-soft); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.live-dot {
  position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 0 rgba(79, 209, 160, .6); animation: pulse 2.2s infinite;
}
.live-dot--alert { background: var(--danger); animation-name: pulse-red; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 209, 160, .55); } 70% { box-shadow: 0 0 0 9px rgba(79, 209, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 160, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(229, 115, 95, .6); } 70% { box-shadow: 0 0 0 9px rgba(229, 115, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 115, 95, 0); } }

/* --------------------------------------------------------------- header */
.announce { background: var(--emerald); color: var(--text); text-align: center; font-size: 13.5px; padding: 8px var(--gutter); }
.announce a { color: var(--text); text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.page-home .site-header { position: fixed; left: 0; right: 0; }
.site-header.is-scrolled, .nav-open .site-header {
  background: rgba(2, 9, 8, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hair);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 26px; height: auto; color: #ecf1f0; transition: color .3s; }
.brand:hover .brand__mark { color: var(--mint); }
.brand__word { font-weight: 700; font-size: 17px; letter-spacing: .2em; }
.brand__word span { color: var(--mint); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-s);
  color: var(--text-2); font-size: 14.5px; font-weight: 500;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active { box-shadow: inset 0 -1px 0 var(--mint); border-radius: 0; }
.nav__chev { transition: transform .25s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__link--mobile-only, .nav__mobile-extra { display: none; }
.site-header__cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header-ir { gap: 8px; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(940px, calc(100vw - 2 * var(--gutter)));
  transform: translate(-42%, 8px);
  background: rgba(5, 20, 17, .97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--hair-strong); border-radius: var(--r-m);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 60px rgba(22, 145, 115, .08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-42%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 26px; }
.mega__title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 10px; font-weight: 600; }
.mega__link { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: var(--r-s); color: var(--text-2); font-size: 14px; line-height: 1.35; }
.mega__link .icon { color: var(--mint); margin-top: 1px; }
.mega__link:hover { background: var(--mint-soft); color: var(--text); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 26px; border-top: 1px solid var(--hair); font-size: 14px; }

/* burger */
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--hair-strong); border-radius: var(--r-m); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; right: 18px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; right: 12px; transform: rotate(-45deg); }

/* flashes */
.flashes { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: var(--r-m); border: 1px solid var(--hair-strong); background: var(--ink-700); color: var(--text); margin-bottom: 10px; }
.flash--error { border-color: rgba(229, 115, 95, .5); }
.flash--success { border-color: rgba(79, 209, 160, .5); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 60px) 0 110px;
  background:
    radial-gradient(circle at 78% 42%, rgba(30, 190, 145, .14), transparent 34%),
    radial-gradient(circle at 30% 0%, rgba(16, 93, 79, .18), transparent 40%),
    linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 55%, #06241f 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -10vw; z-index: -2; background: radial-gradient(circle, rgba(79, 209, 160, .12), transparent 60%); filter: blur(10px); }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .35;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px;
  padding: 8px 14px; border: 1px solid var(--hair-strong); border-radius: var(--r-s);
  background: rgba(7, 29, 25, .55);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.hero__lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; }
.hero__meta { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13.5px; color: var(--muted); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--mint); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border: 1px solid var(--hair-strong); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--mint); animation: scrolly 2s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.side-word {
  position: absolute; right: 18px; top: 50%;
  writing-mode: vertical-rl; transform: translateY(-50%);
  font-size: 10.5px; letter-spacing: .32em; color: rgba(122, 147, 140, .5); font-weight: 600;
  pointer-events: none; user-select: none;
}
.side-word--left { left: 18px; right: auto; transform: translateY(-50%) rotate(180deg); }

/* terminal card */
.terminal {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 33, 29, .92), rgba(3, 18, 15, .94));
  border: 1px solid var(--hair-strong); border-radius: 8px;
  box-shadow: 0 0 30px rgba(82, 211, 179, .10), 0 0 90px rgba(22, 145, 115, .10), 0 40px 80px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.terminal::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px); }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.terminal__bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-500); border: 1px solid var(--hair-strong); }
.terminal__bar p { margin: 0 0 0 10px; font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal__body { margin: 0; padding: 20px 18px; height: 330px; overflow: hidden; font: 12.5px/1.75 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.terminal__body .t-prompt { color: var(--mint); }
.terminal__body .t-dim { color: var(--muted); }
.terminal__body .t-ok { color: var(--mint-bright); }
.terminal__body .t-warn { color: var(--champagne); }
.terminal__body .t-crit { color: var(--danger); }
.terminal__body .t-cursor { display: inline-block; width: 8px; height: 15px; vertical-align: -3px; background: var(--mint); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal__foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--hair); font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.terminal__foot span { display: inline-flex; align-items: center; gap: 8px; }
.terminal__foot span:last-child { color: var(--champagne); }

/* ---------------------------------------------------------------- stats */
.stats-band { background: var(--ink-900); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stat { padding: 40px 28px; border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat__label { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* -------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--deep { background: linear-gradient(180deg, var(--ink-900), #04130f); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.section__head--split > div { max-width: 720px; }
.section__head--split > .lead { max-width: 480px; margin-bottom: 18px; }
.section__head--split > .link-arrow { margin-bottom: 22px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); border-radius: var(--r-m); background: rgba(7, 29, 25, .4); margin-bottom: 28px; }
.pillar { padding: 28px 24px; border-left: 1px solid var(--hair); }
.pillar:first-child { border-left: 0; }
.pillar__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.pillar__num { font: 600 12px/1 var(--mono); color: var(--mint); }
.pillar__title { font-size: 16px; letter-spacing: -.01em; }
.pillar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pillar__list a { display: flex; align-items: center; gap: 10px; padding: 8px 8px; margin: 0 -8px; border-radius: var(--r-s); color: var(--text-2); font-size: 14.5px; line-height: 1.35; }
.pillar__list a > .icon:first-child { color: var(--mint); }
.pillar__list a span { flex: 1; }
.pillar__go { opacity: 0; transform: translate(-4px, 4px); transition: .25s var(--ease); color: var(--mint); }
.pillar__list a:hover { background: var(--mint-soft); color: var(--text); }
.pillar__list a:hover .pillar__go { opacity: 1; transform: none; }

/* cards */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  background: linear-gradient(180deg, rgba(10, 37, 32, .75), rgba(7, 29, 25, .55));
  border: 1px solid var(--hair); border-radius: var(--r-m);
  color: var(--text-2);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 209, 160, .10), transparent 45%);
}
.card:hover { border-color: var(--hair-strong); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 40px rgba(22, 145, 115, .08); color: var(--text-2); }
.card:hover::after { opacity: 1; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--hair-strong); border-radius: var(--r-m); color: var(--mint); margin-bottom: 26px; background: rgba(79, 209, 160, .04); }
.card__eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.card__title { font-size: 21px; line-height: 1.25; margin-bottom: 12px; }
.card__text { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; font-size: 14px; }
.card__more .icon { transition: transform .25s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* product spotlight */
.product-spot { overflow: hidden; }
.product-spot__glow { position: absolute; left: -10%; top: 10%; width: 50%; height: 80%; background: radial-gradient(circle, rgba(79, 209, 160, .14), transparent 60%); pointer-events: none; }
.product-spot__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.product-spot__copy > p:not(.eyebrow):not(.lead) { max-width: 62ch; }
.product-spot__copy .hero__actions { margin-top: 30px; }

.emblem-orbit { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.emblem-orbit img { width: 78%; filter: drop-shadow(0 0 40px rgba(79, 209, 160, .25)); animation: float 7s ease-in-out infinite; position: relative; z-index: 1; }
.emblem-orbit--lg { width: min(100%, 460px); }
.emblem-orbit__ring { position: absolute; inset: 0; border: 1px solid var(--hair); border-radius: 50%; }
.emblem-orbit__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.emblem-orbit__ring { animation: spin 26s linear infinite; }
.emblem-orbit__ring--2 { inset: 11%; border-style: dashed; border-color: rgba(104, 184, 150, .12); animation-duration: 40s; animation-direction: reverse; }
.emblem-orbit__ring--2::before { background: var(--champagne); box-shadow: 0 0 12px var(--champagne); width: 5px; height: 5px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mini-stats > div { padding: 18px 16px 16px 0; }
.mini-stats > div + div { padding-left: 16px; border-left: 1px solid var(--hair); }
.mini-stats dt { font-size: 24px; font-weight: 600; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.mini-stats dd { margin: 6px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: linear-gradient(90deg, var(--mint), var(--hair) 40%, var(--hair) 80%, transparent); }
.step { position: relative; padding: 0 28px 0 0; }
.step__num { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 26px; border: 1px solid var(--hair-strong); border-radius: 50%; background: var(--ink-800); font: 600 12px/1 var(--mono); color: var(--mint); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }

/* why */
.why { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why__intro .lead { margin-bottom: 28px; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--hair); border-radius: var(--r-m); }
.why__item { padding: 32px 28px; border-bottom: 1px solid var(--hair); }
.why__item:nth-child(odd) { border-right: 1px solid var(--hair); }
.why__item:nth-last-child(-n+2) { border-bottom: 0; }
.why__item .icon { color: var(--mint); margin-bottom: 20px; }
.why__item h3 { font-size: 19px; margin-bottom: 8px; }
.why__item p { margin: 0; font-size: 15px; }

/* post cards, pagination: see "INSIGHTS" block at the end of this file */

/* CTA band */
.cta-band { position: relative; padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--hair); overflow: hidden;
  background: radial-gradient(ellipse at 85% 50%, rgba(79, 209, 160, .14), transparent 50%), linear-gradient(180deg, #04130f, var(--ink-900)); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__inner > div:first-child { max-width: 720px; }
.cta-band .lead { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink-950); border-top: 1px solid var(--hair); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px 0; border-bottom: 1px solid var(--hair); }
.footer-cta__title { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer-brand__tag { margin: 18px 0 14px; color: var(--text); }
.footer-brand__legal { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: var(--r-m); color: var(--text-2); }
.socials a:hover { border-color: var(--mint); color: var(--mint); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--mint); }
.footer-col__title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.footer-col__title--spaced { margin-top: 18px; }
.footer-col__more { color: var(--mint) !important; font-weight: 600; }
.footer-col__pgp { font: 11.5px/1.5 var(--mono); color: var(--muted); word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); }
.footer-bottom__sig { display: inline-flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------ page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%);
}
.page-hero__glow { position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(79, 209, 160, .13), transparent 60%); pointer-events: none; }
.page-hero__lead { margin-bottom: 0; }
.page-hero .hero__actions { margin-top: 32px; }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--center { text-align: center; min-height: 64vh; display: flex; align-items: center; }
.page-hero--center .lead { margin-inline: auto; }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { padding: 9px 14px; border: 1px solid var(--hair-strong); border-radius: var(--r-s); font-size: 13.5px; color: var(--text-2); background: rgba(7, 29, 25, .5); }
.chip:hover { border-color: var(--mint); color: var(--text); }

.service-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.service-hero__icon { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid var(--hair-strong); border-radius: 8px; color: var(--mint); background: rgba(79, 209, 160, .05); box-shadow: 0 0 30px rgba(82, 211, 179, .12); margin-top: 8px; }
.service-hero .display { margin-bottom: 20px; }

/* detail layout */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 26px; border: 1px solid var(--hair); border-radius: var(--r-m); background: rgba(7, 29, 25, .6); }
.aside-card p:last-of-type { margin-bottom: 18px; }
.aside-card--accent { border-color: var(--hair-strong); background: radial-gradient(circle at 100% 0%, rgba(79, 209, 160, .12), transparent 55%), rgba(7, 29, 25, .7); }
.aside-card--alert { border-color: rgba(229, 115, 95, .35); background: radial-gradient(circle at 100% 0%, rgba(229, 115, 95, .10), transparent 55%), rgba(7, 29, 25, .7); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checklist .icon { color: var(--mint); margin-top: 4px; }

.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.scope-item { padding: 30px 28px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.scope-item__num { font: 600 12px/1 var(--mono); color: var(--mint); display: block; margin-bottom: 18px; }
.scope-item h3 { font-size: 18px; margin-bottom: 8px; }
.scope-item p { margin: 0; font-size: 14.5px; }

/* prose: see "INSIGHTS" block at the end of this file */

/* products */
.product-list { display: grid; gap: 24px; }
.product-row { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--hair); border-radius: 8px; background: radial-gradient(circle at 15% 50%, rgba(79, 209, 160, .10), transparent 45%), rgba(7, 29, 25, .5); }
.product-row__visual { display: grid; place-items: center; color: var(--mint); }
.product-row__visual img { width: min(100%, 280px); filter: drop-shadow(0 0 40px rgba(79, 209, 160, .22)); }
.product-row--custom { background: rgba(7, 29, 25, .35); border-style: dashed; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-s); background: var(--mint-soft); border: 1px solid rgba(79, 209, 160, .35); color: var(--mint); letter-spacing: .12em; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.product-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 30px 28px; border: 1px solid var(--hair); border-radius: var(--r-m); background: rgba(7, 29, 25, .5); transition: border-color .3s; }
.feature:hover { border-color: var(--hair-strong); }
.feature__num { display: block; font: 600 12px/1 var(--mono); color: var(--mint); margin-bottom: 20px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { margin: 0; font-size: 15px; }

/* insights, article: see "INSIGHTS" block at the end of this file */

/* about */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.value { padding: 34px 30px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.value .icon { color: var(--mint); margin-bottom: 18px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { margin: 0; font-size: 15px; }
.entity { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.entity__card { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--hair-strong); border-radius: 8px; background: radial-gradient(circle at 100% 0%, rgba(231, 202, 161, .08), transparent 50%), var(--ink-700); }
.entity__card .eyebrow { color: var(--champagne); }
.entity__card .eyebrow::before { background: linear-gradient(90deg, transparent, var(--champagne)); }
.entity__list { margin: 0; display: grid; }
.entity__list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.entity__list > div:last-child { border-bottom: 0; }
.entity__list dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 3px; }
.entity__list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.entity__copy .lead { margin-bottom: 24px; }

/* contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--hair); border-radius: 8px; background: rgba(7, 29, 25, .55); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.field label span { color: var(--mint); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 50px; padding: 12px 14px;
  font: 15.5px/1.5 var(--font); color: var(--text);
  background: var(--ink-900); border: 1px solid var(--hair-strong); border-radius: var(--r-m);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%234FD1A0' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(79, 209, 160, .15); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__error { margin: 0; font-size: 13px; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note .icon { margin-right: 6px; vertical-align: -2px; }
.form-note .icon { color: var(--mint); }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); overflow-wrap: anywhere; }
.contact-list .icon { color: var(--mint); margin-top: 3px; }
.contact-list span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--mint); }
.pgp { margin: 20px 0 0; font-size: 12px; color: var(--muted); word-break: break-all; }
.pgp code { font-family: var(--mono); }

.success-mark { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 28px; border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--mint); box-shadow: 0 0 40px rgba(79, 209, 160, .2); }
.error-page__code { font: 600 clamp(90px, 18vw, 200px)/1 var(--mono); letter-spacing: -.04em; margin: 0 0 10px; background: linear-gradient(180deg, rgba(79, 209, 160, .55), rgba(79, 209, 160, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------- reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =============================================================== responsive */
@media (max-width: 1180px) {
  .header-ir { display: none; }
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header-contact { display: none; }
  .nav {
    position: fixed; z-index: 1; left: 0; right: 0; top: 0; bottom: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-900);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header .brand, .site-header__cta { position: relative; z-index: 2; }
  .site-header__cta { margin-left: auto; }
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink-900); }
  .nav__item { position: static; }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 20px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--hair); border-radius: 0; }
  .nav__link.is-active { box-shadow: none; color: var(--mint); }
  .nav__link--mobile-only { display: flex; }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; background: transparent; border: 0; box-shadow: none; display: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__item.is-open .mega { display: block; transform: none; }
  .mega::before { display: none; }
  .mega__grid { grid-template-columns: 1fr; padding: 8px 0 16px; gap: 14px; }
  .mega__title { margin: 8px 0 4px; }
  .mega__link { padding: 10px 0; font-size: 15.5px; }
  .mega__foot { display: none; }
  .nav__mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .nav__contact { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .terminal { max-width: 640px; }
  .terminal__body { height: 270px; }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-spot__inner, .product-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .product-spot__visual { order: -1; }
  .emblem-orbit { width: min(70vw, 300px); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .detail-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-aside, .contact-aside { position: static; }
  .scope-grid, .feature-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-row { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .product-row__visual img { width: min(60vw, 220px); }
  .story, .entity, .insights-head { grid-template-columns: minmax(0, 1fr); }
  .side-word { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 10px 18px; }
  .terminal__body { height: 240px; font-size: 11.5px; padding: 16px 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--hair); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .stat:first-child { padding-left: 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0 !important; }
  .pillar + .pillar { border-top: 1px solid var(--hair); }
  .card-grid--3, .scope-grid, .feature-grid, .values, .why__grid, .steps { grid-template-columns: 1fr; }
  .why__item { border-right: 0 !important; border-bottom: 1px solid var(--hair) !important; }
  .why__item:last-child { border-bottom: 0 !important; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .mini-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mini-stats > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form__foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-cta__actions, .cta-band__actions { width: 100%; }
  .footer-cta__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .service-hero { grid-template-columns: 1fr; }
  .service-hero__icon { width: 64px; height: 64px; }
  .entity__list > div { grid-template-columns: 1fr; gap: 4px; }
  .search { flex-wrap: nowrap; }
  .brand__word { font-size: 15px; letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero__canvas, .terminal, .read-progress { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Phones: the pillar list already links every service; skip the duplicate cards. */
@media (max-width: 720px) {
  .featured-services { display: none; }
}

/* ---------------------------------------------------- long KPI values */
.stats--has-long { grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); }
.stat__value--long { font-size: clamp(30px, 3vw, 46px); white-space: nowrap; }
.mini-stats dt { white-space: nowrap; }
.mini-stats--has-long { grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr)); }
.mini-stats--has-long dt.is-long { font-size: clamp(18px, 1.7vw, 24px); }
.card-grid > *, .detail-layout > *, .contact-layout > *, .hero__inner > *, .why > *, .story > *, .entity > * { min-width: 0; }

@media (max-width: 720px) {
  .stats--has-long { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--has-long .stat { padding: 24px 12px; border-left: 0; border-top: 0; }
  .stats--has-long .stat--long { grid-column: 1 / -1; padding: 28px 0 22px; border-bottom: 1px solid var(--hair); }
  .stats--has-long .stat:not(.stat--long) + .stat:not(.stat--long) { border-left: 1px solid var(--hair); }
  .stats--has-long .stat:nth-child(2) { padding-left: 0; }
  .stats--has-long .stat__value:not(.stat__value--long) { font-size: 28px; }
  .stats--has-long .stat__label { font-size: 10px; letter-spacing: .1em; }
  .stat__value--long { font-size: clamp(30px, 10vw, 42px); }
  .mini-stats--has-long { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-stats--has-long > div { padding: 14px 10px 12px 0 !important; border-left: 0 !important; border-top: 0 !important; }
  .mini-stats--has-long > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--hair); }
  .mini-stats--has-long > div:nth-child(n+3) { padding-left: 10px !important; border-left: 1px solid var(--hair) !important; }
  .mini-stats--has-long dt.is-long { font-size: 26px; }
}

/* ---------------------------------------------------- small phones */
@media (max-width: 380px) {
  :root { --gutter: 16px; --header-h: 62px; }
  .display { font-size: 34px; letter-spacing: -.03em; }
  .display--md { font-size: 31px; }
  .h2 { font-size: 27px; }
  .lead { font-size: 15.5px; }
  .kicker { font-size: 10px; letter-spacing: .1em; padding: 7px 10px; gap: 8px; }
  .brand { gap: 9px; }
  .brand__mark { width: 22px; }
  .brand__word { font-size: 13.5px; letter-spacing: .14em; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 11px; right: 11px; }
  .burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; right: 16px; }
  .nav-open .burger span:nth-child(1), .nav-open .burger span:nth-child(3) { top: 19px; }
  .btn--lg { min-height: 50px; padding: 0 18px; font-size: 14.5px; }
  .terminal__body { font-size: 10.5px; height: 220px; padding: 14px 12px; }
  .terminal__bar p { font-size: 10.5px; }
  .card { padding: 24px 20px 22px; }
  .card__title { font-size: 19px; }
  .contact-form, .aside-card { padding: 20px 16px; }
  .search { padding-left: 12px; }
  .search .btn { padding: 0 12px; }
  .footer-cta__title { font-size: 24px; }
  .stat__label { font-size: 10px; }
}

/* ==========================================================================
   INSIGHTS — post cards, generative covers, topic bar, pagination,
   article page and long-form prose. (Owned by the Insights section.)
   ========================================================================== */

/* ---------------------------------------------------------------- prose */
.prose { color: var(--text-2); font-size: 17px; line-height: 1.75; max-width: 74ch; overflow-wrap: anywhere; min-width: 0; }
.prose--wide { max-width: 880px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--text); line-height: 1.25; margin: 1.9em 0 .6em; overflow-wrap: break-word; text-wrap: balance; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose h4, .prose h5, .prose h6 { font-size: 18px; }
.prose p, .prose ul, .prose ol, .prose dl, .prose blockquote, .prose pre, .prose figure, .prose .table-scroll { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--mint); }
.prose ol > li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
.prose li > ul, .prose li > ol { margin: .35em 0 .2em; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(79, 209, 160, .4); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-color: var(--mint); }
.prose blockquote { position: relative; border-left: 2px solid var(--mint); padding: 14px 20px 14px 22px; color: var(--text); font-size: 1.04em; background: linear-gradient(90deg, rgba(79, 209, 160, .06), transparent 70%); border-radius: 0 var(--r-m) var(--r-m) 0; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--ink-600); border: 1px solid var(--hair); padding: 1px 6px; border-radius: var(--r-s); color: var(--mint-bright); overflow-wrap: anywhere; word-break: break-word; }
.prose pre { background: var(--ink-950); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; max-width: 100%; -webkit-overflow-scrolling: touch; }
.prose pre code { background: none; border: 0; padding: 0; color: var(--text-2); font-size: inherit; overflow-wrap: normal; word-break: normal; white-space: pre; }
.prose img { border-radius: var(--r-m); border: 1px solid var(--hair); margin: 1.6em auto; max-width: 100%; height: auto; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.prose figcaption strong { color: var(--text-2); font-weight: 500; }
.prose figcaption em { font-style: normal; color: var(--muted); }
.prose figcaption br { display: none; }
.prose figcaption strong + br + em::before { content: " · "; }
.prose hr { border: 0; border-top: 1px solid var(--hair); margin: 2.4em 0; }
.prose dt { color: var(--text); font-weight: 600; }
.prose dd { margin: 0 0 .8em 1.2em; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r-m); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; min-width: 7em; overflow-wrap: normal; }
.prose th { color: var(--text); background: var(--ink-700); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.prose tr:last-child > td { border-bottom: 0; }
.prose tbody tr:nth-child(even) > td { background: rgba(7, 29, 25, .45); }

/* article flavour of prose */
.prose--article { max-width: none; }
.prose--article > p:first-child { font-size: 1.14em; line-height: 1.65; color: var(--text); }
.prose--article h2 { padding-top: 1.1em; border-top: 1px solid var(--hair); margin-top: 1.7em; }
.prose--article > h2:first-child { border-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------- generative covers */
.gen-cover {
  --gc: 79 209 160;
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 82% 18%, rgb(var(--gc) / .16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(14, 83, 69, .45), transparent 60%),
    linear-gradient(150deg, #0a2520 0%, var(--ink-800) 48%, var(--ink-950) 100%);
  color: rgb(var(--gc) / .8);
}
.gen-cover--t1 { --gc: 231 202 161; }
.gen-cover--t2 { --gc: 107 219 172; background:
    radial-gradient(110% 90% at 15% 15%, rgb(var(--gc) / .14), transparent 55%),
    radial-gradient(80% 80% at 100% 100%, rgba(200, 155, 88, .10), transparent 60%),
    linear-gradient(200deg, #0b2723 0%, var(--ink-800) 50%, var(--ink-950) 100%); }
.gen-cover::before, .gen-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
/* pattern layer, faded with a mask so every cover has a focal point */
.gen-cover::before {
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 40%, #000 15%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 85% at 70% 40%, #000 15%, transparent 78%);
}
.gen-cover--v0::before { background: linear-gradient(rgb(var(--gc) / .14) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgb(var(--gc) / .14) 1px, transparent 1px) 0 0 / 26px 26px; }
.gen-cover--v1::before { background: repeating-linear-gradient(135deg, rgb(var(--gc) / .13) 0 1px, transparent 1px 14px); }
.gen-cover--v2::before { background: repeating-radial-gradient(circle at 72% 42%, rgb(var(--gc) / .16) 0 1px, transparent 1px 22px); }
.gen-cover--v3::before { background: radial-gradient(rgb(var(--gc) / .38) 1px, transparent 1.6px) 0 0 / 15px 15px; }
.gen-cover--v4::before { background: repeating-linear-gradient(0deg, rgb(var(--gc) / .11) 0 1px, transparent 1px 7px), linear-gradient(90deg, transparent 58%, rgb(var(--gc) / .10) 58% 59%, transparent 59% 74%, rgb(var(--gc) / .10) 74% 74.6%, transparent 74.6%); }
.gen-cover--v5::before { background: repeating-linear-gradient(60deg, rgb(var(--gc) / .11) 0 1px, transparent 1px 18px), repeating-linear-gradient(-60deg, rgb(var(--gc) / .11) 0 1px, transparent 1px 18px); }
.gen-cover--v1::before, .gen-cover--v4::before { -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 70%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 30% 70%, #000 10%, transparent 75%); }
/* corner ticks */
.gen-cover::after {
  inset: 14px;
  background:
    linear-gradient(rgb(var(--gc) / .45), rgb(var(--gc) / .45)) top left / 14px 1px no-repeat,
    linear-gradient(rgb(var(--gc) / .45), rgb(var(--gc) / .45)) top left / 1px 14px no-repeat,
    linear-gradient(rgb(var(--gc) / .45), rgb(var(--gc) / .45)) bottom right / 14px 1px no-repeat,
    linear-gradient(rgb(var(--gc) / .45), rgb(var(--gc) / .45)) bottom right / 1px 14px no-repeat;
}
.gen-cover__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 2.3em; height: 2.3em; font-size: 40px;
  border: 1px solid rgb(var(--gc) / .35); border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--gc) / .14), rgba(2, 9, 8, .55) 70%);
  box-shadow: 0 0 0 10px rgb(var(--gc) / .04), 0 0 60px rgb(var(--gc) / .18);
  color: rgb(var(--gc));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.gen-cover__mark .icon { width: .95em; height: .95em; }
.gen-cover__ref, .gen-cover__label { position: absolute; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.gen-cover__ref { top: 22px; right: 24px; color: rgb(var(--gc) / .55); }
.gen-cover__label { left: 24px; bottom: 22px; max-width: calc(100% - 48px); overflow: hidden; text-overflow: ellipsis; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.gen-cover__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--gc)); box-shadow: 0 0 10px rgb(var(--gc) / .8); flex: none; }

/* ---------------------------------------------------------------- post cards */
.post-card {
  position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0;
  border: 1px solid var(--hair); border-radius: var(--r-m); overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 37, 32, .55), rgba(7, 29, 25, .35));
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { border-color: var(--hair-strong); transform: translateY(-3px); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .85), 0 0 40px rgba(22, 145, 115, .07); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-700); border-bottom: 1px solid var(--hair); flex: none; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.04); transition: transform .6s var(--ease), filter .6s var(--ease); }
.post-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(2, 9, 8, .45)); }
.post-card--gen .post-card__media::after { display: none; }
.post-card:hover .post-card__media img { transform: scale(1.04); filter: saturate(1); }
.post-card:hover .gen-cover__mark { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px rgb(var(--gc) / .05), 0 0 80px rgb(var(--gc) / .26); }
.post-card .gen-cover__mark { font-size: 34px; }
.post-card .gen-cover__label { display: none; } /* the topic is already the card eyebrow */
.post-card__body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post-card__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 18px; margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.post-card__topic { position: relative; z-index: 2; color: var(--mint); }
.post-card__topic:hover { color: var(--mint-bright); }
.post-card__flag { padding: 3px 8px; border-radius: 999px; background: rgba(231, 202, 161, .12); border: 1px solid rgba(231, 202, 161, .35); color: var(--champagne); font-size: 10px; letter-spacing: .16em; }
.post-card__title {
  font-size: 18px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -.012em; overflow-wrap: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.post-card__title a { color: var(--text); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card:hover .post-card__title a { color: var(--mint-bright); }
.post-card__title a:focus-visible { outline: 0; }
.post-card:has(.post-card__title a:focus-visible) { outline: 2px solid var(--mint); outline-offset: 3px; }
.post-card__excerpt {
  font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.post-card__meta { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.post-card__go { margin-left: auto; color: var(--mint); opacity: .55; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.post-card:hover .post-card__go { opacity: 1; transform: translateX(3px); }

/* featured (first card on page 1): editorial split layout */
.post-card--large { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.post-card--large .post-card__media { aspect-ratio: auto; min-height: 400px; height: 100%; border-bottom: 0; border-right: 1px solid var(--hair); }
.post-card--large .post-card__body { padding: clamp(28px, 3.4vw, 52px); justify-content: center; }
.post-card--large .post-card__eyebrow { margin-bottom: 18px; }
.post-card--large .post-card__title { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.16; letter-spacing: -.028em; -webkit-line-clamp: 5; line-clamp: 5; margin-bottom: 16px; text-wrap: balance; }
.post-card--large .post-card__excerpt { font-size: 16.5px; line-height: 1.65; color: var(--text-2); -webkit-line-clamp: 4; line-clamp: 4; margin-bottom: 28px; }
.post-card--large .post-card__meta { margin-top: 0; }
.post-card--large .gen-cover__mark { font-size: 56px; }
.post-card--large .gen-cover__ref, .post-card--large .gen-cover__label { font-size: 11.5px; }

/* the Insights grid: on page 1 the featured card spans the row and the next two share one */
.posts-grid { align-items: stretch; }
.posts-grid--featured { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.posts-grid--featured > .post-card { grid-column: span 2; }
.posts-grid--featured > .post-card:first-child { grid-column: 1 / -1; }
.posts-grid--featured > .post-card:nth-child(2), .posts-grid--featured > .post-card:nth-child(3) { grid-column: span 3; }

/* ---------------------------------------------------------------- insights page */
.insights-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: 32px; align-items: end; }
.search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--hair-strong); border-radius: var(--r-m); background: rgba(7, 29, 25, .7); color: var(--muted); min-width: 0; }
.search:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(79, 209, 160, .08); }
.search input { flex: 1; width: 100%; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--text); font: 15px var(--font); outline: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); }

.topic-bar { position: relative; border-bottom: 1px solid var(--hair); background: rgba(2, 9, 8, .55); }
.topic-bar__scroller {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; margin: 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  padding-right: 40px;
}
.topic-bar__scroller::-webkit-scrollbar { display: none; }
.topic-chip { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: rgba(7, 29, 25, .5); white-space: nowrap; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.topic-chip:hover { border-color: var(--hair-strong); color: var(--text); background: rgba(79, 209, 160, .06); }
.topic-chip.is-active { background: var(--mint); border-color: var(--mint); color: #02130f; font-weight: 600; }

.insights-list { padding-top: clamp(40px, 5vw, 64px); }
.filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; color: var(--muted); font-size: 14.5px; }
.filter-note strong { color: var(--text); font-weight: 600; }
.filter-note__clear { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13px; color: var(--text-2); }
.filter-note__clear:hover { border-color: var(--mint); color: var(--mint); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty .icon { color: var(--mint); margin-bottom: 14px; }

/* ---------------------------------------------------------------- pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hair); }
.pagination__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pagination a, .pagination__pages span, .pagination__btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 1px solid var(--hair); border-radius: var(--r-s); color: var(--text-2); font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease), color .2s var(--ease); }
.pagination a:hover { border-color: var(--mint); color: var(--text); }
.pagination .is-current { background: var(--mint); border-color: var(--mint); color: #02130f; font-weight: 600; }
.pagination .gap { border: 0; min-width: 20px; padding: 0; color: var(--muted); }
.pagination__btn { padding: 0 16px; font-weight: 500; }
.pagination__btn--prev .icon { transform: rotate(180deg); }
.pagination__btn.is-disabled { opacity: .35; }
.pagination__status { display: none; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------------------------------------------------------- article */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--mint), var(--champagne)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(79, 209, 160, .45); pointer-events: none; }
.article__head { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 44px); border-bottom: 1px solid var(--hair); background: linear-gradient(180deg, var(--ink-900), var(--ink-800)); margin-bottom: clamp(32px, 5vw, 48px); }
.article__head .crumbs { align-items: center; gap: 8px; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.article__head .crumbs a:last-child { color: var(--mint); }
.article__title { font-size: clamp(28px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 24px; text-wrap: balance; overflow-wrap: break-word; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); margin: 0; }
.article__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article__meta-item .icon { color: var(--mint); opacity: .8; }
.article__cover { margin: 0 0 clamp(32px, 4vw, 44px); }
.article__cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-m); border: 1px solid var(--hair); }
.article__cover--gen { aspect-ratio: 16 / 5; border-radius: var(--r-m); border: 1px solid var(--hair); overflow: hidden; }
.article__cover--gen .gen-cover__mark { font-size: 48px; }
.article .prose { max-width: none; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(7, 29, 25, .45); }
.tag:hover { border-color: var(--mint); color: var(--mint); }
.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); }
.article__tags-label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.article__cta { display: flex; align-items: center; gap: 20px; margin: 40px 0 0; padding: 24px 26px; border: 1px solid var(--hair-strong); border-radius: var(--r-m); background: radial-gradient(circle at 0% 50%, rgba(79, 209, 160, .12), transparent 50%), var(--ink-700); }
.article__cta-icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--hair-strong); border-radius: 50%; color: var(--mint); background: rgba(79, 209, 160, .06); }
.article__cta > div { flex: 1; min-width: 0; }
.article__cta p { margin: 0; font-size: 14.5px; }
.article__cta .article__cta-title { color: var(--text); font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.article__cta .btn { flex: none; }

.article__nav { margin-top: 64px; padding-bottom: clamp(64px, 8vw, 104px); }
.article__nav-title { margin: 0 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.article__nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article__nav-link { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 24px; border: 1px solid var(--hair); border-radius: var(--r-m); color: var(--text); background: linear-gradient(180deg, rgba(10, 37, 32, .5), rgba(7, 29, 25, .3)); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.article__nav-link:hover { border-color: var(--hair-strong); color: var(--text); transform: translateY(-2px); }
.article__nav-link--next { grid-column: 2; text-align: right; align-items: flex-end; }
.article__nav-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); font-weight: 600; }
.article__nav-link--prev .article__nav-dir .icon { transform: rotate(180deg); }
.article__nav-name { font-size: 16.5px; font-weight: 500; line-height: 1.4; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.article__nav-link:hover .article__nav-name { color: var(--mint-bright); }
.article__nav-date { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.article__all { margin-top: 28px; }

/* ---------------------------------------------------------------- insights: responsive */
@media (max-width: 1024px) {
  .insights-head { grid-template-columns: minmax(0, 1fr); }
  .posts-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-grid--featured > .post-card, .posts-grid--featured > .post-card:nth-child(2), .posts-grid--featured > .post-card:nth-child(3) { grid-column: span 1; }
  .posts-grid--featured > .post-card:first-child { grid-column: 1 / -1; }
  /* a lone card on the last row becomes a wide, horizontal card */
  .posts-grid--featured > .post-card:last-child:nth-child(even):not(:first-child) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .posts-grid--featured > .post-card:last-child:nth-child(even):not(:first-child) .post-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--hair); }
  .post-card--large { grid-template-columns: minmax(0, 1fr); }
  .post-card--large .post-card__media { min-height: 0; height: auto; aspect-ratio: 16 / 7; border-right: 0; border-bottom: 1px solid var(--hair); }
  .post-card--large .post-card__title { font-size: clamp(23px, 3.4vw, 30px); }
}
@media (max-width: 720px) {
  .posts-grid--featured { grid-template-columns: minmax(0, 1fr); }
  .posts-grid--featured > .post-card:last-child:nth-child(even):not(:first-child) { display: flex; }
  .posts-grid--featured > .post-card:last-child:nth-child(even):not(:first-child) .post-card__media { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .post-card--large .post-card__media { aspect-ratio: 16 / 10; }
  .post-card--large .post-card__body { padding: 22px 22px 20px; }
  .post-card--large .post-card__title { font-size: 23px; }
  .post-card--large .post-card__excerpt { font-size: 15px; margin-bottom: 20px; }
  .post-card--large .gen-cover__mark { font-size: 44px; }
  .pagination { justify-content: space-between; gap: 10px; }
  .pagination__pages { display: none; }
  .pagination__status { display: block; }
  .pagination__btn { flex: 0 1 auto; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; } .prose h3 { font-size: 20px; }
  .prose pre { font-size: 12.5px; padding: 14px 16px; margin-inline: 0; }
  .prose figcaption { text-align: left; }
  .article__cover--gen { aspect-ratio: 16 / 7; }
  .article__cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .article__nav-grid { grid-template-columns: minmax(0, 1fr); }
  .article__nav-link--next { grid-column: auto; text-align: left; align-items: flex-start; }
  .article__tags { margin-top: 36px; }
}
@media (max-width: 380px) {
  .article__title { font-size: 26px; }
  .article__meta { gap: 8px 16px; font-size: 13px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 22px; } .prose h3 { font-size: 19px; }
  .post-card__body { padding: 18px 18px 16px; }
  .post-card__title { font-size: 17px; }
  .pagination__btn { padding: 0 12px; }
  .gen-cover__ref { top: 16px; right: 18px; }
  .gen-cover__label { left: 18px; bottom: 16px; }
  .topic-chip { height: 34px; padding: 0 13px; font-size: 13px; }
}

/* ---------------------------------------- scope grid: no empty cells */
.scope-grid { display: flex; flex-wrap: wrap; }
.scope-item { flex: 1 1 33.333%; min-width: 0; }
.scope-grid--2 .scope-item, .scope-grid--4 .scope-item { flex-basis: 50%; }
@media (max-width: 1024px) { .scope-item { flex-basis: 50%; } }
@media (max-width: 720px) { .scope-item, .scope-grid--2 .scope-item, .scope-grid--4 .scope-item { flex-basis: 100%; } }

/* "Built to order" row: compact icon column instead of an empty visual area */
@media (min-width: 1025px) {
  .product-row--custom { grid-template-columns: 140px 1fr; padding-block: 40px; }
  .product-row--custom .product-row__visual { width: 96px; height: 96px; margin: 0 auto; border: 1px solid var(--hair-strong); border-radius: 8px; background: rgba(79, 209, 160, .04); }
  .product-row--custom .product-row__visual .icon { width: 44px; height: 44px; }
}

.entity__sub { color: var(--muted); font-size: 14px; }
.contact-list__note { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.footer-brand__legal a { color: var(--text-2); }

/* =====================================================================
   Homepage visual components: carousel, service tiles, marquee, flow, badges
   ===================================================================== */
.icon--flip { transform: scaleX(-1); }
.section--carousel { overflow: hidden; }
.carousel-nav { display: flex; gap: 8px; margin-bottom: 22px; }
.carousel-btn {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--hair-strong); border-radius: 50%; background: transparent; color: var(--text);
  transition: border-color .25s var(--ease), background .25s var(--ease), opacity .25s;
}
.carousel-btn:hover { border-color: var(--mint); background: var(--mint-soft); }
.carousel-btn[disabled] { opacity: .3; cursor: default; background: transparent; border-color: var(--hair); }
.carousel-btn .icon--flip { transform: scaleX(-1); }

.carousel { position: relative; }
.carousel__track {
  list-style: none; margin: 0; display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* first slide aligns with the page grid, last one can scroll fully into view */
  padding: 6px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging a { pointer-events: none; }
.carousel__slide { flex: 0 0 auto; scroll-snap-align: start; }
.carousel-foot { margin-top: 8px; }

/* service tiles */
.carousel[data-carousel="services"] .carousel__slide { width: clamp(250px, 23vw, 310px); }
.tile {
  --tile-a: rgba(79, 209, 160, .22); --tile-b: rgba(14, 83, 69, .35);
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 380px;
  padding: 24px; border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; color: var(--text);
  background: linear-gradient(180deg, rgba(10, 37, 32, .9), rgba(3, 18, 15, .95));
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile--intelligence { --tile-a: rgba(107, 219, 172, .2); --tile-b: rgba(20, 70, 90, .4); }
.tile--defense { --tile-a: rgba(231, 202, 161, .16); --tile-b: rgba(14, 83, 69, .35); }
.tile--custom { --tile-a: rgba(140, 200, 255, .14); --tile-b: rgba(14, 60, 83, .35); }
.tile:hover { color: var(--text); border-color: var(--hair-strong); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 50px rgba(22, 145, 115, .10); }
.tile__art {
  position: relative; display: grid; place-items: center; height: 200px; margin: -24px -24px 22px;
  border-bottom: 1px solid var(--hair);
  background:
    radial-gradient(circle at 50% 55%, var(--tile-a), transparent 55%),
    linear-gradient(var(--hair) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--hair) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(160deg, var(--tile-b), transparent 70%);
}
.tile__rings, .tile__rings::before, .tile__rings::after {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(104, 184, 150, .22);
  transform: translate(-50%, -50%); content: "";
}
.tile__rings { width: 104px; height: 104px; }
.tile__rings::before { width: 150px; height: 150px; border-style: dashed; border-color: rgba(104, 184, 150, .14); animation: spin 40s linear infinite; }
.tile__rings::after { width: 196px; height: 196px; border-color: rgba(104, 184, 150, .08); }
.tile__icon { position: relative; z-index: 1; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: var(--mint-bright); background: rgba(2, 9, 8, .7); border: 1px solid var(--hair-strong); box-shadow: 0 0 30px rgba(79, 209, 160, .18); transition: transform .5s var(--ease); }
.tile:hover .tile__icon { transform: scale(1.08); }
.tile__cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.tile__title { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; padding-right: 30px; }
.tile__go { position: absolute; right: 20px; bottom: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--mint); transition: background .3s, color .3s; }
.tile:hover .tile__go { background: var(--mint); color: #02130f; }

/* post carousel */
.carousel--posts .carousel__slide { width: clamp(280px, 28vw, 380px); display: flex; }
.carousel--posts .post-card { width: 100%; }

/* frameworks marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--ink-900); padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__group li { display: flex; align-items: center; gap: 48px; padding-right: 48px; white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.marquee__group li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* method flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow__step { position: relative; padding: 30px 26px 28px; border: 1px solid var(--hair); border-radius: 10px; background: rgba(7, 29, 25, .5); overflow: hidden; }
.flow__step::after { content: ""; position: absolute; right: -14px; top: 50%; width: 28px; height: 1px; background: var(--hair-strong); }
.flow__step:last-child::after { display: none; }
.flow__num { position: absolute; right: 18px; top: 10px; font: 700 64px/1 var(--font); letter-spacing: -.04em; color: rgba(79, 209, 160, .08); }
.flow__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 28px; border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--mint); background: rgba(79, 209, 160, .05); }
.flow__step h3 { font-size: 20px; margin-bottom: 6px; }
.flow__step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* why badges */
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.badge { padding: 30px 26px; border-radius: 10px; border: 1px solid var(--hair); background: radial-gradient(circle at 50% 0%, rgba(79, 209, 160, .10), transparent 60%), rgba(7, 29, 25, .45); text-align: center; }
.badge .icon { color: var(--mint); margin-bottom: 18px; }
.badge h3 { font-size: 18px; margin-bottom: 6px; }
.badge p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 1024px) {
  .flow, .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step::after { display: none; }
}
@media (max-width: 720px) {
  .carousel-nav { display: none; }
  .carousel[data-carousel="services"] .carousel__slide { width: 78vw; max-width: 300px; }
  .carousel--posts .carousel__slide { width: 84vw; max-width: 340px; }
  .carousel__track { gap: 14px; }
  .tile { min-height: 340px; }
  .tile__art { height: 170px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .flow__icon { grid-row: span 2; margin: 0; width: 56px; height: 56px; }
  .flow__num { font-size: 44px; }
  .flow__step h3 { font-size: 17px; margin: 0; }
  .badges { gap: 12px; }
  .badge { padding: 22px 14px; }
  .badge h3 { font-size: 15.5px; }
  .badge p { font-size: 13px; }
  .marquee { padding: 16px 0; }
  .marquee__group li { font-size: 13px; gap: 32px; padding-right: 32px; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------------------------------------------- services tile grid */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile-grid > li { display: flex; min-width: 0; }
.tile-grid .tile { width: 100%; min-height: 0; padding: 20px 20px 22px; }
.tile-grid .tile__art { height: 132px; margin: -20px -20px 18px; }
.tile-grid .tile__rings { width: 78px; height: 78px; }
.tile-grid .tile__rings::before { width: 112px; height: 112px; }
.tile-grid .tile__rings::after { width: 146px; height: 146px; }
.tile-grid .tile__icon { width: 60px; height: 60px; }
.tile-grid .tile__title { font-size: 18px; }
.tile-grid .tile__go { right: 16px; bottom: 18px; width: 32px; height: 32px; }
.tile--cta { justify-content: center; gap: 4px; background: radial-gradient(circle at 85% 20%, rgba(79, 209, 160, .16), transparent 55%), linear-gradient(180deg, rgba(10, 37, 32, .9), rgba(3, 18, 15, .95)); border-color: var(--hair-strong); }
.tile--cta .tile__title { font-size: 20px; max-width: 30ch; padding-right: 0; margin-bottom: 18px; }
.tile__btn { align-self: flex-start; }
/* CTA span per column count (classes computed in the template) */
.tile-cta--c4-1 { grid-column: span 1; } .tile-cta--c4-2 { grid-column: span 2; } .tile-cta--c4-3 { grid-column: span 3; } .tile-cta--c4-4 { grid-column: 1 / -1; }
@media (max-width: 1180px) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-grid__cta { grid-column: auto; }
  .tile-cta--c3-1 { grid-column: span 1; } .tile-cta--c3-2 { grid-column: span 2; } .tile-cta--c3-3 { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile-grid__cta { grid-column: auto; }
  .tile-cta--c2-1 { grid-column: span 1; } .tile-cta--c2-2 { grid-column: 1 / -1; }
  .tile-grid .tile { padding: 14px 14px 16px; }
  .tile-grid .tile__art { height: 96px; margin: -14px -14px 12px; }
  .tile-grid .tile__rings { width: 56px; height: 56px; }
  .tile-grid .tile__rings::before { width: 82px; height: 82px; }
  .tile-grid .tile__rings::after { display: none; }
  .tile-grid .tile__icon { width: 46px; height: 46px; }
  .tile-grid .tile__icon .icon { width: 24px; height: 24px; }
  .tile-grid .tile__cat { font-size: 9.5px; letter-spacing: .1em; margin-bottom: 4px; }
  .tile-grid .tile__title { font-size: 14.5px; padding-right: 0; }
  .tile-grid .tile__go { display: none; }
  .tile--cta .tile__title { font-size: 16px; }
}

/* ---------------------------------------------------- spacing rhythm & wide screens */
.section { padding: clamp(64px, 7vw, 108px) 0; }
.section--tight { padding: clamp(48px, 5vw, 76px) 0; }
.page-hero { padding: clamp(56px, 6.5vw, 100px) 0 clamp(40px, 4.5vw, 68px); }
.page-hero--compact { padding-bottom: clamp(36px, 4vw, 56px); }
.section__head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.hero { padding-bottom: 96px; }
@media (min-width: 1600px) {
  :root { --maxw: 1480px; }
  body { font-size: 17px; }
  .lead { font-size: 19.5px; }
  .card__text, .step p, .why__item p, .feature p, .value p, .scope-item p { font-size: 16px; }
}
.pillars-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.pillars .pillar__list a { font-size: 15.5px; }

/* PGP card */
.pgp-card .eyebrow .icon { margin-right: 2px; }
.pgp-card__label { margin: 0 0 6px !important; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pgp-card__fpr { display: block; margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--ink-900); font: 13px/1.6 var(--mono); color: var(--mint-bright); word-spacing: .2em; overflow-wrap: anywhere; user-select: all; }

/* TAYNOPIS spotlight glow: cover the whole section and fade out before the edges (no clipped look) */
.product-spot { position: relative; isolation: isolate; }
.product-spot__glow {
  position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 75% at 26% 50%, rgba(79, 209, 160, .15), rgba(79, 209, 160, .05) 45%, transparent 72%);
}
@media (max-width: 1024px) {
  .product-spot__glow { background: radial-gradient(ellipse 90% 40% at 50% 22%, rgba(79, 209, 160, .15), rgba(79, 209, 160, .05) 45%, transparent 75%); }
}

/* homepage: latest insights 3x2 */
.home-posts__more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 1024px) { .home-posts > :nth-child(n+5) { display: none; } }
@media (max-width: 720px) { .home-posts > :nth-child(n+4) { display: none; } .home-posts__more .btn { width: 100%; } }

/* ------------------------------------------------------------ cookie notice */
.cookie {
  position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(760px, calc(100% - 32px)); transform: translate(-50%, 16px); opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cookie.is-open { opacity: 1; transform: translate(-50%, 0); }
.cookie__panel {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 18px 20px; background: rgba(3, 23, 20, .97); border: 1px solid var(--hair); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.cookie__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--mint); background: rgba(79, 209, 160, .1); border: 1px solid rgba(79, 209, 160, .25);
}
.cookie__icon--warn { color: #e8c88a; background: rgba(232, 200, 138, .08); border-color: rgba(232, 200, 138, .28); }
.cookie__title { margin: 0 0 4px; font-weight: 600; font-size: 15px; color: #fff; }
.cookie__text { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cookie__text a { color: var(--mint); }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .cookie__panel { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px; }
  .cookie__actions { grid-column: 1 / -1; }
  .cookie__actions .btn { flex: 1; justify-content: center; }
}
.footer-bottom__link {
  background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair);
}
.footer-bottom__link:hover { color: var(--mint); }
.contact-off { display: grid; gap: 16px; align-content: start; }
.contact-off p { margin: 0; color: var(--muted); }
.contact-off__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-off__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: #fff; }
.cookie [hidden] { display: none !important; }
