:root {
  --bg: #08080a;
  --fg: #f3f1ea;
  --muted: #9c9a92;
  --faint: #6a6862;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7488da;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.nowrap { white-space: nowrap; }

/* ---------- Fixed cinematic media stack ---------- */
.media { position: fixed; inset: 0; z-index: 0; background: #050506; }
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1); }
.layer.is-active, .layer[data-layer="bg"] { opacity: 1; }   /* the bg video is always visible */
.layer img, .layer video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9);   /* keep the footage's dark character; the gradient overlay handles text legibility */
}
.media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.94) 0%, rgba(8,8,10,0.6) 44%, rgba(8,8,10,0.4) 100%),
    linear-gradient(0deg, rgba(8,8,10,0.86) 0%, rgba(8,8,10,0.12) 46%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 64px);
  mix-blend-mode: difference;
}
.wordmark { font-weight: 600; letter-spacing: 0.42em; font-size: 14px; color: #fff; text-decoration: none; text-indent: 0.42em; }
/* KHALM bar-mark: an opacity ramp of currentColor, so it reads on both the dark
   marketing navs and the light guide nav without a per-page variant. */
.khalm-mark { display: inline-block; width: 1.12em; margin-right: 0.6em; vertical-align: -0.14em; }
.khalm-mark svg { display: block; width: 100%; height: auto; }
.nav-links { display: flex; gap: clamp(16px, 2.5vw, 36px); }
.nav-links a { font-size: 13px; color: #fff; text-decoration: none; letter-spacing: 0.01em; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 1; }
.panel {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 88px clamp(22px, 5vw, 64px) 72px;
  scroll-margin-top: 0;
}
.inner { width: 100%; max-width: 1040px; }

/* ---------- Type ---------- */
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.96; letter-spacing: -0.03em; margin-bottom: 32px; text-wrap: balance; }
h1 em { font-style: normal; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; text-wrap: balance; }
.eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 30px; font-weight: 500; }
.kicker { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: #e3e1d9; max-width: 100%; line-height: 1.5; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #dcdad2; max-width: 62ch; line-height: 1.62; text-wrap: pretty; }
.lede em, .quote em, .card-body em { color: #fff; font-weight: 500; font-style: normal; }
.quote, .coda {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--fg); margin-top: 40px;
  line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance;
}
.index { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 34px; font-weight: 500; padding-top: 18px; border-top: 1px solid var(--line); display: inline-block; }
/* .coda shares the unified .quote, .coda rule above */

/* ---------- Hero beats (links) ---------- */
.beats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; }
.beats li { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #d8d5cc; padding: 0 22px; font-weight: 500; }
.beats li:first-child { padding-left: 0; }
.beats li + li { border-left: 1px solid var(--line); }
.beats a { color: inherit; text-decoration: none; transition: color 0.2s; }
.beats a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,0.45); }
/* Hero — centered, badge pill + two-line headline (white lead, muted second line) */
.hero .inner { max-width: 920px; margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; margin-bottom: 26px; }
.h1-sub { display: block; color: var(--muted); }
.hero .kicker { max-width: 660px; margin-left: auto; margin-right: auto; }
.hero .beats { justify-content: center; }
.hero-badge { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 0 auto 30px; padding: 7px 16px 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px 1px var(--accent); animation: badge-pulse 2.4s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Cards ---------- */
.card {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 28px;
  scroll-margin-top: 0;
  display: flex; flex-direction: column;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* The test: versus columns as cards */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; max-width: 940px; }
.col-label { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.005em; color: var(--muted); padding-bottom: 16px; margin-bottom: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.col ul { list-style: none; }
.col li { font-size: 1rem; color: #97958d; padding: 9px 0; line-height: 1.4; }
.col--ours.card { border-color: rgba(255, 255, 255, 0.32); background: rgba(18, 18, 20, 0.6); }
.col--ours .col-label { color: var(--fg); }
.col--ours li { color: var(--fg); font-weight: 500; }

/* The substrate: three guarantee cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; max-width: 880px; align-items: stretch; }
.card-head { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-tag { font-size: clamp(1.2rem, 1.85vw, 1.42rem); letter-spacing: -0.01em; color: #fff; font-weight: 600; line-height: 1.1; }
.card-mech { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 7px; }
.card-body { color: #c5c3ba; font-size: 15px; line-height: 1.6; }

/* ---------- Expand / Learn more (sections + cards) ---------- */
.expand-detail { max-height: none; overflow: visible; opacity: 1; margin-top: 16px; }
.expand-detail.open { opacity: 1; margin-top: 16px; }
.expand-detail p { color: #aeaca3; font-size: 14.5px; line-height: 1.62; max-width: 62ch; text-wrap: pretty; }
.expand-detail p + p { margin-top: 12px; }
.expand-panel {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 760px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.expand-panel p { color: #c5c3ba; font-size: 15px; max-width: none; }
.expand-btn {
  margin-top: 22px; background: transparent; border: 1px solid var(--line);
  color: var(--fg); font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; padding: 9px 16px; border-radius: 8px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.expand-btn::after { content: "↓"; margin-left: 7px; display: inline-block; transition: transform 0.3s; opacity: 0.7; }
.expand-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.expand-btn:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.card .expand-btn { margin-top: auto; align-self: flex-start; }
.card .card-body { margin-bottom: 16px; }

/* Button juice */
.expand-btn { transition: transform 0.16s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.expand-btn:hover { transform: translateY(-2px); }
.expand-btn:active { transform: translateY(0) scale(0.97); }

/* Newsletter signup */
.signup-wrap { margin-top: 34px; max-width: 460px; }
.signup-label { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.signup { display: flex; gap: 10px; }
.signup-input { flex: 1; min-width: 0; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--fg); font-family: var(--sans); font-size: 15px; }
.signup-input::placeholder { color: var(--faint); }
.signup-input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); }
.signup-btn { background: #f3f1ea; color: #0a0b0d; border: none; border-radius: 10px; padding: 12px 20px; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform 0.16s ease, opacity 0.2s ease; }
.signup-btn:hover { transform: translateY(-2px); }
.signup-btn:active { transform: translateY(0) scale(0.97); }
.signup-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.signup-msg { margin-top: 12px; font-size: 13px; min-height: 18px; color: var(--muted); }
.signup-msg[data-state="ok"] { color: #9fdcc0; }
.signup-msg[data-state="error"] { color: #e0a8a8; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.inquiry { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.inquiry .signup-input { flex: 0 0 auto; width: 100%; }
.inquiry-message { resize: vertical; min-height: 96px; line-height: 1.5; font-family: var(--sans); }
.inquiry .signup-btn { align-self: flex-start; }
.panel.contact .signup-wrap { max-width: 540px; }

/* Implementations gallery */
.gallery-group { margin-top: 30px; }
.gallery-group + .gallery-group { margin-top: 26px; }
.gallery-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.gallery-sub { letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gcard { position: relative; overflow: hidden; flex: 0 0 330px; background: rgba(10, 10, 12, 0.5); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 22px; display: flex; flex-direction: column; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s ease, border-color 0.2s ease; }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.5s ease; background: radial-gradient(110% 70% at 50% 0%, rgba(116, 136, 218, 0.13), transparent 62%); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 0.5s ease; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='38.11'%20height='66.00'%20viewBox='0%200%2038.11%2066.00'%3E%3Cg%20fill='none'%20stroke='rgb(116,136,218)'%20stroke-width='1'%3E%3Cpath%20d='M-19.05%20-11%20L-38.11%20-22%20L-38.11%20-44%20L-19.05%20-55%20L-0%20-44%20L0%20-22Z'/%3E%3Cpath%20d='M19.05%20-11%20L-0%20-22%20L0%20-44%20L19.05%20-55%20L38.11%20-44%20L38.11%20-22Z'/%3E%3Cpath%20d='M57.16%20-11%20L38.11%20-22%20L38.11%20-44%20L57.16%20-55%20L76.21%20-44%20L76.21%20-22Z'/%3E%3Cpath%20d='M-38.11%2022%20L-57.16%2011%20L-57.16%20-11%20L-38.11%20-22%20L-19.05%20-11%20L-19.05%2011Z'/%3E%3Cpath%20d='M0%2022%20L-19.05%2011%20L-19.05%20-11%20L-0%20-22%20L19.05%20-11%20L19.05%2011Z'/%3E%3Cpath%20d='M38.11%2022%20L19.05%2011%20L19.05%20-11%20L38.11%20-22%20L57.16%20-11%20L57.16%2011Z'/%3E%3Cpath%20d='M-19.05%2055%20L-38.11%2044%20L-38.11%2022%20L-19.05%2011%20L-0%2022%20L0%2044Z'/%3E%3Cpath%20d='M19.05%2055%20L-0%2044%20L0%2022%20L19.05%2011%20L38.11%2022%20L38.11%2044Z'/%3E%3Cpath%20d='M57.16%2055%20L38.11%2044%20L38.11%2022%20L57.16%2011%20L76.21%2022%20L76.21%2044Z'/%3E%3Cpath%20d='M0%2088%20L-19.05%2077%20L-19.05%2055%20L-0%2044%20L19.05%2055%20L19.05%2077Z'/%3E%3Cpath%20d='M38.11%2088%20L19.05%2077%20L19.05%2055%20L38.11%2044%20L57.16%2055%20L57.16%2077Z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 55.43px 96px; -webkit-mask: radial-gradient(125% 78% at 50% -8%, #000 0%, #000 20%, transparent 68%); mask: radial-gradient(125% 78% at 50% -8%, #000 0%, #000 20%, transparent 68%); }
.gcard > * { position: relative; z-index: 3; }
.gcard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }
.gcard:hover::before { opacity: 1; }
.gcard:hover::after { opacity: 0.05; }
.gcard-link { text-decoration: none; color: inherit; -webkit-user-drag: none; }
/* Hex twinkle: scattered cells that light up + drift while hovering */
.hex-fx { position: absolute; top: 0; left: 0; width: 330px; height: 200px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; -webkit-mask: radial-gradient(130% 100% at 50% -10%, #000 0%, #000 20%, transparent 66%); mask: radial-gradient(130% 100% at 50% -10%, #000 0%, #000 20%, transparent 66%); }
.gcard:hover .hex-fx { opacity: 1; }
.hex-fx .cell { fill: rgb(116, 136, 218); opacity: 0; animation: hex-pulse 8s linear infinite; animation-play-state: paused; }
.gcard:hover .hex-fx .cell { animation-play-state: running; }
@keyframes hex-pulse { 0%, 12%, 100% { opacity: 0.1; } 25%, 83% { opacity: 0; } }
.gcard-name { font-size: 1.2rem; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.gcard-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.gbar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.gbar-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.in .gbar-fill { width: var(--pct); }
.gpct { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); }
.gtag { align-self: flex-start; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.gtag-live { color: #cfe8d8; border-color: rgba(93, 202, 150, 0.45); }
.gtag-live::before { content: "\2022 "; color: #5dca96; }
.marquee { overflow: hidden; margin-top: 4px; padding: 9px 0; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform; user-select: none; -webkit-user-select: none; }
.gallery-cross { margin-top: 32px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #dcdad2; line-height: 1.45; max-width: 640px; }
.gallery-cross em { color: var(--accent); font-style: normal; font-weight: 600; }

/* Reasoning showcase */
.reason-line { margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: #dcdad2; line-height: 1.45; max-width: 700px; }
.reason-line strong { color: var(--accent); font-weight: 600; }

/* Custom cursor — a laboratory pipette SVG that rotates to lead the cursor's travel */
.lab-cursor { position: fixed; top: 0; left: 0; width: 42px; height: 42px; pointer-events: none; z-index: 9999; opacity: 0; transform-origin: 21px 1.5px; transition: opacity 0.25s ease; will-change: transform; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45)); }
.lab-cursor.on { opacity: 1; }
.lab-cursor svg { display: block; transform-origin: 21px 1.5px; transition: transform 0.18s ease; }
.lab-cursor.down svg { transform: scale(0.9); }
html.has-lab-cursor, html.has-lab-cursor * { cursor: none !important; }

/* ---------- Contact: CTA centered, tagline + footer pinned to the bottom ---------- */
.panel.contact { flex-direction: column; align-items: flex-start; padding-bottom: 30px; }
.panel.contact .inner { margin-top: auto; margin-bottom: auto; }
.contact-end { width: 100%; }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 2.3vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; margin: 0 0 22px; white-space: nowrap; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.wordmark--foot { color: var(--fg); margin-right: auto; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--fg); }
.copyright { color: var(--faint); font-size: 12px; letter-spacing: 0.06em; }
.legal-note { width: 100%; margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--faint); max-width: 64ch; }

/* ---------- Scroll cue ---------- */
.scroll-cue { position: absolute; cursor: pointer; padding: 12px 34px; bottom: 38px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.scroll-cue:hover { color: var(--fg); }
.scroll-cue.above { opacity: 0; transform: translateX(-50%) translateY(-36px); pointer-events: none; }
.scroll-cue.below { opacity: 0; transform: translateX(-50%) translateY(30px); pointer-events: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; background: linear-gradient(var(--muted), transparent); margin: 12px auto 0; animation: pulse 2.4s ease-in-out infinite; }
.scroll-up { position: absolute; cursor: pointer; padding: 12px 34px; top: 86px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.scroll-up:hover { color: var(--fg); }
.scroll-up::before { content: ""; display: block; width: 1px; height: 34px; background: linear-gradient(transparent, var(--muted)); margin: 0 auto 12px; }
.scroll-up.hide { opacity: 0; transform: translateX(-50%) translateY(-14px); pointer-events: none; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.inner .reveal:nth-child(2) { transition-delay: 0.08s; }
.inner .reveal:nth-child(3) { transition-delay: 0.16s; }
.inner .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- NullTick section (04) ---------- */
.nt-engines-main { margin-top: 40px; }
.nt-engines-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.nt-eng-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 860px; }
/* Marks below are original placeholder glyphs, not vendor logos — swap for official
   Unity / Unreal / Godot SVGs once brand-use is cleared. */
.nt-eng { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 10, 12, 0.5); padding: 13px 14px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.nt-eng:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.24); background: rgba(16, 16, 19, 0.6); }
.nt-eng-mark { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease; }
.nt-eng-mark svg { width: 19px; height: 19px; display: block; }
.nt-eng:hover .nt-eng-mark { color: var(--accent); border-color: rgba(116, 136, 218, 0.4); }
.nt-eng-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nt-eng-name { font-size: 13.5px; font-weight: 600; color: var(--fg); line-height: 1.1; }
.nt-eng-status { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.nt-eng-status.is-live { color: #9fdcc0; }
.nt-eng-status.is-live::before { content: "\2022 "; color: #5dca96; }
.nt-eng-status.is-ready { color: #b9c4ef; }
/* Official engine logos ship unmodified (no tint/filter — vendor rule). */
.nt-eng-logo { height: 20px; width: auto; display: block; }

.nt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; max-width: 940px; }
.nt-fact { border-top: 1px solid var(--line); padding-top: 16px; }
.nt-fact-num { font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nt-fact-num .unit { font-size: 0.55em; color: var(--muted); font-weight: 500; margin-left: 6px; }
.nt-fact-num sub { font-size: 0.5em; color: var(--accent); }
.nt-fact-label { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.nt-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 38px; }
.nt-more { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 11px 20px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease; }
.nt-more::after { content: "→"; display: inline-block; margin-left: 9px; opacity: 0.7; transition: transform 0.2s ease; }
.nt-more:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.nt-more:hover::after { transform: translateX(3px); }
.nt-more:active { transform: translateY(0) scale(0.97); }
.nt-more--ghost::after { display: none; }
/* NullTick lockup used inline as the word "NullTick" in the hero headline. */
.nt-wordlogo { display: inline-block; }
.nt-wordlogo svg { height: 0.78em; width: auto; display: inline-block; vertical-align: baseline; }

@media (max-width: 760px) {
  .versus, .cards { grid-template-columns: 1fr; gap: 14px; }
  .nt-facts { grid-template-columns: 1fr; gap: 16px; }
  .nt-eng-row { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(:last-child) { display: none; }
  .media::after { background: linear-gradient(0deg, rgba(8,8,10,0.92), rgba(8,8,10,0.5)); }
  .tagline { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .layer.is-active img { animation: none; }
  .scroll-cue::after { animation: none; }
  .hex-fx .cell { animation: none; }
  .hero-badge-dot { animation: none; }
}
