/* ==========================================================================
   SecureMinds  ::  design system
   Layer 1  neutral foundation
   Layer 2  functional accent ramp (brand: circuit-brain gradient)
   Layer 3  semantic communication
   Layer 4  theming hooks
   ========================================================================== */

:root {
  /* -- Layer 1 :: neutral foundation ------------------------------------- */
  --bg-0: #09090b;   /* page base                */
  --bg-1: #0e0e12;   /* alternating section      */
  --bg-2: #14141a;   /* card                     */
  --bg-3: #1b1b23;   /* elevated / hover         */
  --bg-4: #24242e;   /* input, highest surface   */

  --line-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text-0: #f6f6f8;  /* headings   */
  --text-1: #c6c6d0;  /* body       */
  --text-2: #8b8b98;  /* subtext    */
  --text-3: #5c5c69;  /* muted      */

  /* -- Layer 2 :: accent ramp -------------------------------------------- */
  --a-300: #fcc468;
  --a-400: #f9a03f;
  --a-500: #f47b2a;
  --a-600: #ec5a28;
  --a-700: #d93a22;
  --a-800: #ad2a18;

  --a-tint: rgba(244, 123, 42, 0.10);
  --a-tint-2: rgba(244, 123, 42, 0.18);
  --a-glow: rgba(236, 90, 40, 0.28);

  --brand-grad: linear-gradient(135deg, var(--a-400) 0%, var(--a-700) 100%);

  /* -- Layer 3 :: semantic ------------------------------------------------ */
  --sev-critical: #e2405a;
  --sev-high: #ec5a28;
  --sev-medium: #e0a52e;
  --sev-low: #4b8fe3;
  --ok: #3fb57a;

  /* -- form ---------------------------------------------------------------- */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.85);

  --font-display: "Space Grotesk", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1180px;
  --gutter: 24px;
  --nav-h: 72px;
}

/* ==========================================================================
   reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  color: var(--text-0);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-weight: 700;
}

p { margin: 0; }

::selection { background: var(--a-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--a-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

section { position: relative; }

.section {
  padding-block: clamp(72px, 9vw, 132px);
}

.section--alt {
  background: var(--bg-1);
  border-block: 1px solid var(--line-soft);
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   type utilities
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a-400);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--a-500);
  flex: none;
}

.eyebrow--center { justify-content: center; }

.h-xl { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.038em; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.032em; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.h-sm { font-size: 1.1rem; letter-spacing: -0.012em; }

.lede {
  text-wrap: pretty;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 62ch;
}

.muted { color: var(--text-2); }
.dim { color: var(--text-3); }

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center h2 { max-width: 18ch; margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }
.section-head .lede { margin-top: 20px; }

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--bg-3);
  --btn-fg: var(--text-0);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease,
              box-shadow .18s ease, color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* the more important the action, the heavier the fill */
.btn--primary {
  --btn-bg: var(--brand-grad);
  --btn-fg: #fff;
  --btn-bd: transparent;
  box-shadow: 0 8px 24px -10px var(--a-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 14px 34px -10px var(--a-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: saturate(1.08) brightness(1.04);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: var(--line-strong);
  --btn-fg: var(--text-1);
}

.btn--ghost:hover {
  --btn-bg: var(--bg-2);
  --btn-fg: var(--text-0);
  --btn-bd: var(--line-strong);
}

.btn--sm { padding: 9px 16px; font-size: 13.5px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--a-400);
  transition: gap .18s ease, color .18s ease;
}

.link-arrow:hover { gap: 11px; color: var(--a-300); }
.link-arrow svg { width: 15px; height: 15px; }

/* ==========================================================================
   nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.nav.is-stuck {
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* -- lockup: faithful to the printed logo (SECURE bold / MINDS light) ----- */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.lockup__mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(236, 90, 40, 0.35));
}

.lockup__word {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--text-0);
  line-height: 1;
  white-space: nowrap;
}

.lockup__word b { font-weight: 700; }
.lockup__word span { font-weight: 300; color: var(--text-1); }

.lockup--lg .lockup__mark { width: 46px; height: 46px; }
.lockup--lg .lockup__word { font-size: 24px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a:not(.btn) {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .16s ease, background .16s ease;
}

.nav__links a:not(.btn):hover { color: var(--text-0); background: var(--bg-2); }

.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav__toggle svg { width: 18px; height: 18px; color: var(--text-1); }

/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(64px, 9vw, 108px);
  padding-bottom: clamp(56px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* fine grid, faded out toward the edges */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 22%, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 62% at 50% 22%, #000 12%, transparent 78%);
}

/* warm bloom behind the headline */
.hero__bg::after {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: min(1100px, 120vw);
  aspect-ratio: 1.6 / 1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--a-glow) 0%, transparent 62%);
  opacity: .5;
  filter: blur(18px);
}

.hero__watermark {
  position: absolute;
  top: 50%;
  right: -7%;
  width: min(760px, 76vw);
  transform: translateY(-48%);
  opacity: .028;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 26px;
}

.chip b {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--a-tint-2);
  color: var(--a-300);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 34px; }
.hero .btn-row { margin-bottom: 40px; }

/* -- trust strip ---------------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.trust__item {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.trust__n {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.02em;
}

.trust__l {
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: .01em;
}

/* ==========================================================================
   console  ::  the product visual
   ========================================================================== */

.console {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.console::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-soft);
}

.console__dots { display: flex; gap: 6px; }

.console__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-4);
}

.console__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: .03em;
  margin-left: 4px;
}

.console__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(63, 181, 122, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 181, 122, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(63, 181, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 181, 122, 0); }
}

.console__body { padding: 20px; display: grid; gap: 16px; }

.console__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* -- hypothesis list ------------------------------------------------------ */
.hyp { display: grid; gap: 8px; }

.hyp__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.hyp__item:hover {
  border-color: var(--line-strong);
  background: var(--bg-4);
  transform: translateX(2px);
}

.sev {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.sev--critical { color: var(--sev-critical); background: rgba(226, 64, 90, 0.14); }
.sev--high     { color: var(--sev-high);     background: rgba(236, 90, 40, 0.15); }
.sev--medium   { color: var(--sev-medium);   background: rgba(224, 165, 46, 0.14); }
.sev--low      { color: var(--sev-low);      background: rgba(75, 143, 227, 0.14); }

.hyp__text {
  min-width: 0;
  font-size: 13.5px;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hyp__text code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}

/* secondary metrics right-aligned and consistent */
.hyp__conf {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 46px;
}

/* -- confidence meter ----------------------------------------------------- */
.meter {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-4);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--brand-grad);
  width: 0;
  transition: width 1.4s cubic-bezier(.22, 1, .36, 1);
}

/* -- sparkline panel ------------------------------------------------------ */
.panel {
  padding: 14px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.panel__figure {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 4px;
}

.panel__n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.panel__delta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ok);
}

.console__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spark { width: 100%; height: 40px; margin-top: 8px; }

/* -- emitted config ------------------------------------------------------- */
.emit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.75;
  padding: 13px 14px;
  background: #0b0b0f;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  overflow-x: auto;
}

.emit .k { color: var(--a-400); }
.emit .s { color: var(--ok); }
.emit .c { color: var(--text-3); }

/* ==========================================================================
   pipeline  ::  the three steps
   ========================================================================== */

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.step:hover {
  border-color: var(--line-strong);
  background: var(--bg-3);
  transform: translateY(-3px);
}

.step__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--a-500);
  margin-bottom: 20px;
}

.step__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--a-tint);
  border: 1px solid var(--a-tint-2);
  margin-bottom: 18px;
}

.step__icon svg { width: 20px; height: 20px; color: var(--a-400); }

.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ==========================================================================
   stats band
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg-1);
  padding: 30px 26px;
}

.stat__n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-0);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 10px;
}

.stat__n em {
  font-style: normal;
  font-size: .55em;
  color: var(--a-500);
  margin-left: 2px;
}

.stat__l { font-size: 13.5px; color: var(--text-2); }

/* ==========================================================================
   research list
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.notes { display: grid; gap: 2px; }

.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}

.note + .note { border-top: 1px solid var(--line-soft); border-radius: 0; }

.note:hover {
  background: var(--bg-2);
  border-color: var(--line-soft);
  border-radius: var(--radius);
}

.note:hover + .note { border-top-color: transparent; }

.note__date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: .02em;
}

.note__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text-0);
  letter-spacing: -0.012em;
}

.note__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  white-space: nowrap;
}

.method { display: grid; gap: 22px; }

.method__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.method__dot {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  margin-top: 1px;
}

.method__dot svg { width: 14px; height: 14px; color: var(--a-400); }
.method__item h4 { font-size: 15.5px; margin-bottom: 5px; font-weight: 600; }
.method__item p { font-size: 14.5px; color: var(--text-2); }

/* ==========================================================================
   careers
   ========================================================================== */

.careers {
  position: relative;
  padding: clamp(44px, 6vw, 76px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 130% at 88% 0%, var(--a-tint) 0%, transparent 62%),
    var(--bg-2);
  overflow: hidden;
  text-align: center;
}

.careers__mark {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 340px;
  opacity: .035;
  pointer-events: none;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 34px;
}

.role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text-2);
}

/* ==========================================================================
   contact
   ========================================================================== */

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  font-size: 15px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--bg-3);
  border-color: var(--a-600);
  box-shadow: 0 0 0 3px var(--a-tint);
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.form__note { font-size: 13px; color: var(--text-3); max-width: 46ch; }

/* ==========================================================================
   modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__card {
  position: relative;
  width: min(430px, 100%);
  padding: 38px 34px 32px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.97);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.modal.is-open .modal__card { transform: none; }

.modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(63, 181, 122, 0.12);
  border: 1px solid rgba(63, 181, 122, 0.3);
}

.modal__icon svg { width: 24px; height: 24px; color: var(--ok); }
.modal__card h3 { margin-bottom: 10px; font-size: 1.32rem; }
.modal__card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }

.modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}

.modal__x:hover { color: var(--text-0); background: var(--bg-3); }
.modal__x svg { width: 15px; height: 15px; }

/* ==========================================================================
   footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding-block: 60px 34px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 42px;
  padding-bottom: 44px;
}

.footer__blurb {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-3);
  max-width: 34ch;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 500;
}

.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer__col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .16s ease;
}

.footer__col a:hover { color: var(--a-400); }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-3);
}

.footer__bar p { margin: 0; }

/* ==========================================================================
   visionary  ::  the tribute
   ========================================================================== */

.vision-hero {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px) clamp(48px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.vision-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 62% 54% at 50% 0%, var(--a-glow) 0%, transparent 66%);
  opacity: .48;
}

.portrait {
  position: relative;
  width: min(290px, 66vw);
  aspect-ratio: 1;
  margin: 0 auto 36px;
  border-radius: 50%;
  padding: 4px;
  background: var(--brand-grad);
  box-shadow: 0 30px 70px -22px var(--a-glow);
}

.portrait__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  position: relative;
}

.portrait__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* graceful stand-in until the portrait lands in images/ */
.portrait__fallback {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  padding: 26px;
}

.portrait__fallback svg { width: 54px; height: 54px; color: var(--text-3); }

.portrait__fallback span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.7;
}

.vision-title { margin-bottom: 14px; }

.vision-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--a-400);
}

.greats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block: clamp(48px, 6vw, 76px);
}

.great {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.great:hover { border-color: var(--line-strong); background: var(--bg-3); transform: translateY(-3px); }

.great--him {
  border-color: var(--a-tint-2);
  background:
    radial-gradient(ellipse 100% 130% at 50% 0%, var(--a-tint) 0%, transparent 66%),
    var(--bg-2);
}

.great__yr {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-3);
  line-height: 1;
  margin-bottom: 16px;
}

.great--him .great__yr {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.great h3 { font-size: 1.05rem; margin-bottom: 8px; }
.great p { font-size: 14.5px; color: var(--text-2); }

.pullquote {
  position: relative;
  margin-block: clamp(40px, 5vw, 64px);
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--a-600);
  background: var(--bg-2);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.1vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.022em;
  color: var(--text-0);
}

.pullquote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-3);
}

.prose p { margin-bottom: 22px; font-size: 16.5px; color: var(--text-1); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-0); font-weight: 600; }

/* ==========================================================================
   reveal on scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
              transform .7s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__watermark { display: none; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; }
  .greats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 22px;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav__cta { margin: 10px 0 0; }
  .nav__toggle { display: inline-flex; }

  .console__split { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .note { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .note__date { grid-column: 1 / -1; order: -1; }
  .pullquote { padding: 28px 24px; }
  .trust { gap: 14px 26px; }

  /* tighter, softer grid so it reads as texture on a tall viewport */
  .hero__bg::before {
    background-size: 38px 38px;
    -webkit-mask-image: radial-gradient(ellipse 120% 44% at 50% 16%, #000 8%, transparent 74%);
    mask-image: radial-gradient(ellipse 120% 44% at 50% 16%, #000 8%, transparent 74%);
  }
}

/* ==========================================================================
   utilities
   ========================================================================== */

@media (max-width: 720px) {
  .hide-sm { display: none; }
}
