:root {
  --ink-950: #070706;
  --ink-900: #0d0c0a;
  --ink-850: #14120f;
  --ink-800: #1b1814;
  --paper-50: #f5f1e8;
  --paper-200: #d7d0c4;
  --paper-300: #aaa295;
  --paper-500: #777167;
  --ember-500: #f08a24;
  --ember-400: #ffa94d;
  --signal-400: #b8ff5a;
  --blue-400: #76bfff;
  --line: rgba(245, 241, 232, .1);
  --line-strong: rgba(245, 241, 232, .2);
  --shadow: 0 32px 100px rgba(0, 0, 0, .32);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --header-height: 88px;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink-950); overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper-50);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
section[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 999;
  padding: 12px 16px; border-radius: 8px; background: var(--paper-50); color: var(--ink-950);
  font-weight: 700; transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--signal-400); outline-offset: 4px; }

.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-height); z-index: 100;
  display: flex; align-items: center; transition: background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { background: rgba(7, 7, 6, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-shell {
  width: min(calc(100% - 48px), var(--container)); min-height: 64px; margin-inline: auto; padding: 10px 12px 10px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 12, 10, .72); backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 9px;
  color: var(--paper-300); font-size: .9rem; font-weight: 650; transition: color .18s ease, background .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper-50); background: rgba(255, 255, 255, .07); }
.site-nav .nav-contact { margin-left: 6px; border: 1px solid var(--line-strong); color: var(--paper-50); }
.nav-toggle { display: none; color: var(--paper-50); background: none; border: 0; min-width: 52px; min-height: 44px; }

.hero { min-height: 930px; position: relative; display: flex; align-items: center; padding: 156px 0 96px; isolation: isolate; overflow: hidden; }
.hero-grid, .closing-grid {
  position: absolute; inset: 0; z-index: -2; opacity: .32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}
.hero-grid::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink-950) 0%, transparent 22%, transparent 78%, var(--ink-950) 100%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(120px); opacity: .18; z-index: -1; pointer-events: none; }
.hero-glow-one { width: 500px; height: 500px; background: var(--ember-500); left: -260px; top: 40px; }
.hero-glow-two { width: 380px; height: 380px; background: var(--signal-400); right: -240px; bottom: 80px; opacity: .08; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(410px, 5fr); align-items: center; gap: 80px; }
.eyebrow {
  margin: 0 0 24px; display: flex; align-items: center; gap: 10px; color: var(--paper-300);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal-400); box-shadow: 0 0 16px var(--signal-400); }
.hero h1, .section-heading h2, .approach-intro h2, .closing-panel h2 {
  margin: 0; font-family: var(--font-display); font-weight: 720;
  letter-spacing: -.035em; line-height: .98; text-wrap: balance;
}
.hero h1 { max-width: 760px; font-size: clamp(4rem, 7.4vw, 6.9rem); }
.hero h1 span { color: var(--ember-400); }
.hero-lede { max-width: 620px; margin: 32px 0 0; color: var(--paper-300); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 10px; font-size: .94rem; font-weight: 760; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ember-500); color: #140b03; box-shadow: 0 14px 40px rgba(240, 138, 36, .2); }
.button-primary:hover { background: var(--ember-400); }
.button-ghost { border: 1px solid var(--line-strong); color: var(--paper-50); background: rgba(255, 255, 255, .025); }
.button-ghost:hover { border-color: rgba(245, 241, 232, .38); background: rgba(255, 255, 255, .055); }
.hero-proof {
  margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--line);
}
.hero-proof li { padding: 20px 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-size: .82rem; color: var(--paper-50); }
.hero-proof span { color: var(--paper-500); font-size: .72rem; }

.signal-system { min-width: 0; }
.signal-stage {
  aspect-ratio: .94; position: relative; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(240, 138, 36, .1), transparent 42%), var(--ink-900); box-shadow: var(--shadow);
}
.signal-stage::before {
  content: ""; position: absolute; inset: 0; opacity: .32;
  background-image: radial-gradient(rgba(245, 241, 232, .16) .7px, transparent .7px); background-size: 15px 15px;
}
.signal-stage::after { content: ""; position: absolute; inset: 20px; border: 1px solid var(--line); border-radius: 20px; pointer-events: none; }
.signal-ring { position: absolute; left: 50%; top: 46%; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 180px; height: 180px; }
.ring-two { width: 310px; height: 310px; border-style: dashed; }
.ring-three { width: 440px; height: 440px; opacity: .5; }
.signal-core {
  position: absolute; left: 50%; top: 46%; z-index: 3; width: 112px; height: 112px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border: 1px solid rgba(240, 138, 36, .45); border-radius: 24px;
  background: linear-gradient(145deg, #21170e, #0c0b09); box-shadow: 0 0 60px rgba(240, 138, 36, .15);
}
.signal-core img { width: 80px; height: 80px; object-fit: contain; }
.core-pulse { position: absolute; inset: -12px; border: 1px solid rgba(240, 138, 36, .32); border-radius: 30px; }
.signal-line { position: absolute; left: 50%; top: 46%; width: 1px; height: 180px; background: linear-gradient(var(--ember-500), transparent); transform-origin: top; }
.line-one { transform: rotate(48deg); }
.line-two { transform: rotate(165deg); }
.line-three { transform: rotate(275deg); }
.signal-node {
  position: absolute; z-index: 4; min-width: 144px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(20, 18, 15, .93); box-shadow: 0 12px 30px rgba(0, 0, 0, .24); transition: transform .18s ease, border-color .18s ease;
}
.signal-node:hover { transform: translateY(-3px); border-color: rgba(240, 138, 36, .6); }
.signal-node strong, .signal-node small, .node-status { display: block; }
.signal-node strong { margin-top: 4px; font-size: .83rem; }
.signal-node small { color: var(--paper-500); font-size: .66rem; margin-top: 2px; }
.node-status { color: var(--signal-400); font-family: ui-monospace, monospace; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.node-live { top: 14%; right: 5%; }
.node-build { left: 5%; top: 29%; }
.node-tools { right: 7%; bottom: 20%; }
.system-readout {
  position: absolute; left: 32px; right: 32px; bottom: 24px; display: flex; justify-content: space-between; gap: 12px;
  color: var(--paper-500); font: 600 .54rem/1.2 ui-monospace, monospace; letter-spacing: .08em;
}

.section { padding: 136px 0; }
.section-heading { margin-bottom: 52px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); align-items: end; gap: 64px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2, .approach-intro h2, .closing-panel h2 { font-size: clamp(3rem, 5vw, 5rem); }
.section-heading > p { max-width: 480px; margin: 0 0 6px; color: var(--paper-300); font-size: 1.05rem; }

.product-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, #0b0a08 0%, var(--ink-950) 100%); }
.product-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.product-card {
  position: relative; overflow: hidden; min-height: 330px; padding: 30px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--ink-850); box-shadow: 0 18px 50px rgba(0, 0, 0, .15);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.product-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .22s ease;
  background: linear-gradient(135deg, rgba(240, 138, 36, .08), transparent 45%);
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(245, 241, 232, .22); background: #181510; }
.product-card:hover::after { opacity: 1; }
.product-card h3 { margin: 16px 0 10px; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1; }
.product-card p { max-width: 520px; margin: 0; color: var(--paper-300); }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--paper-500); font: 650 .64rem/1 ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--paper-300); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--signal-400); }
.status.building { color: var(--ember-400); }
.status.prototype { color: var(--blue-400); }
.card-link { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; font-size: .87rem; font-weight: 750; }
.card-link b { transition: transform .18s ease; }
.product-card:hover .card-link b, .journal-feature:hover .card-link b { transform: translate(3px, -3px); }
.product-featured { grid-column: span 8; min-height: 610px; padding: 0; background: #12100d; }
.card-chrome { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.card-chrome span { width: 7px; height: 7px; border: 1px solid var(--paper-500); border-radius: 50%; }
.card-chrome em { margin-left: auto; color: var(--paper-500); font: normal 600 .58rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.featured-copy { position: relative; z-index: 3; width: 58%; padding: 54px 42px 42px; }
.featured-copy h3 { font-size: clamp(3rem, 5vw, 5rem); }
.browser-scene {
  position: absolute; right: -8%; bottom: -9%; width: 61%; aspect-ratio: 1.25; border: 1px solid var(--line-strong);
  border-radius: 18px 18px 0 0; overflow: hidden; background: #ede9e2; box-shadow: -28px -12px 70px rgba(0, 0, 0, .35); transform: rotate(-2deg);
}
.browser-top { height: 36px; padding: 0 11px; display: flex; align-items: center; gap: 5px; background: #d7d1c7; border-bottom: 1px solid rgba(7, 7, 6, .12); }
.browser-top > span { width: 6px; height: 6px; border-radius: 50%; background: #948c80; }
.browser-top div { width: 55%; height: 18px; margin-left: 8px; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .65); color: #5d574f; font: 500 .46rem/1.5 ui-monospace, monospace; }
.browser-body { height: calc(100% - 36px); display: grid; grid-template-columns: 1fr 54px 1.2fr; gap: 12px; padding: 18px; color: #12110f; }
.before-site, .after-site { position: relative; overflow: hidden; border: 1px solid rgba(7, 7, 6, .14); border-radius: 8px; padding: 15px; }
.browser-body small { font: 700 .45rem/1 ui-monospace, monospace; letter-spacing: .1em; color: #746e64; }
.before-site i { display: block; height: 8px; margin-top: 16px; border-radius: 2px; background: #c9c3ba; }
.before-site i:nth-child(3) { width: 70%; }.before-site i:nth-child(4) { height: 60px; }.before-site i:nth-child(5) { width: 52%; }
.transform-beam { display: grid; place-items: center; }
.transform-beam span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #15120e; color: var(--ember-400); font: 700 .62rem/1 ui-monospace, monospace; box-shadow: 0 0 25px rgba(240, 138, 36, .3); }
.after-hero { height: 100px; margin-top: 14px; border-radius: 6px; background: linear-gradient(135deg, #19130e, #bd6320); }
.after-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.after-grid i { height: 48px; border-radius: 5px; background: #d7d1c7; }
.product-tinyfort { grid-column: span 4; min-height: 610px; background: radial-gradient(circle at 70% 70%, rgba(240, 138, 36, .14), transparent 44%), #12100d; }
.game-board { position: absolute; left: 26px; right: 26px; bottom: 68px; height: 260px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transform: perspective(500px) rotateX(56deg) rotateZ(-10deg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; }
.game-path { position: absolute; width: 74%; height: 44px; left: 13%; top: 45%; border: 2px solid rgba(240, 138, 36, .45); border-radius: 50%; transform: rotate(-18deg); }
.tower { position: absolute; width: 30px; height: 30px; border: 4px solid #3b2d1f; background: var(--ember-500); box-shadow: 0 0 0 6px rgba(240, 138, 36, .12); }
.tower-a { left: 24%; top: 27%; }.tower-b { right: 24%; bottom: 25%; }.tower-c { right: 35%; top: 20%; }
.enemy { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--signal-400); box-shadow: 0 0 14px var(--signal-400); }
.enemy-a { left: 20%; top: 50%; }.enemy-b { left: 49%; top: 38%; }.enemy-c { right: 16%; bottom: 38%; }
.product-compact { grid-column: span 4; padding-top: 132px; }
.product-symbol { position: absolute; right: 26px; top: 22px; width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 22px; background: #0d0c0a; color: var(--signal-400); font: 800 2rem/1 ui-monospace, monospace; }
.hfs-symbol { background: linear-gradient(145deg, #0d3f3f, #10130b); color: #d0dd22; }
.robot-symbol span { width: 36px; height: 28px; border: 3px solid var(--ember-400); border-radius: 7px; position: relative; }
.robot-symbol span::before, .robot-symbol span::after { content: ""; position: absolute; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal-400); }
.robot-symbol span::before { left: 6px; }.robot-symbol span::after { right: 6px; }
.product-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr; background: radial-gradient(circle at 80% 20%, rgba(184, 255, 90, .07), transparent 35%), var(--ink-850); }
.ant-map { position: absolute; right: -18px; top: -20px; width: 180px; height: 180px; opacity: .65; }
.chamber { position: absolute; border: 1px solid rgba(184, 255, 90, .45); border-radius: 50%; }
.chamber-one { width: 70px; height: 70px; right: 0; top: 0; }.chamber-two { width: 46px; height: 46px; left: 18px; top: 70px; }.chamber-three { width: 38px; height: 38px; right: 28px; bottom: 4px; }
.tunnel { position: absolute; width: 72px; height: 1px; background: rgba(184, 255, 90, .45); transform-origin: left; }
.tunnel-one { left: 55px; top: 85px; transform: rotate(-30deg); }.tunnel-two { left: 58px; top: 100px; transform: rotate(28deg); }
.ant { position: absolute; width: 5px; height: 9px; border-radius: 50%; background: var(--signal-400); box-shadow: 0 0 8px var(--signal-400); }
.ant-one { left: 70px; top: 55px; }.ant-two { left: 100px; top: 92px; }.ant-three { right: 22px; bottom: 52px; }

.approach { border-block: 1px solid var(--line); background: #0b0a08; }
.approach .container { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 100px; }
.approach-intro { position: sticky; top: 130px; align-self: start; }
.approach-intro > p:last-child { margin: 28px 0 0; max-width: 480px; color: var(--paper-300); font-size: 1.03rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.process-list li { min-height: 210px; padding: 34px 0; display: grid; grid-template-columns: 55px 1fr auto; gap: 24px; align-items: start; border-bottom: 1px solid var(--line); }
.process-list li > span, .process-list li > b { color: var(--ember-400); font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.process-list li > b { color: var(--paper-500); writing-mode: vertical-rl; }
.process-list h3 { margin: -5px 0 12px; font-size: 1.65rem; letter-spacing: -.025em; }
.process-list p { margin: 0; max-width: 480px; color: var(--paper-300); }
.capability-ledger { grid-column: 1 / -1; margin-top: 24px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.capability-ledger span { min-height: 78px; display: grid; place-items: center; padding: 12px; border-right: 1px solid var(--line); color: var(--paper-300); font: 650 .64rem/1.3 ui-monospace, monospace; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.capability-ledger span:last-child { border-right: 0; }

.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.principle-grid article { min-height: 300px; padding: 36px 34px 0 0; border-right: 1px solid var(--line); }
.principle-grid article + article { padding-left: 34px; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: var(--ember-400); font: 700 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.principle-grid h3 { max-width: 310px; margin: 72px 0 18px; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.02; letter-spacing: -.035em; }
.principle-grid p { max-width: 330px; margin: 0; color: var(--paper-300); }

.journal { background: #0b0a08; border-block: 1px solid var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 10px; align-self: end; justify-self: end; min-height: 44px; color: var(--paper-200); font-size: .9rem; font-weight: 750; }
.journal-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 18px; }
.journal-feature, .journal-side { min-height: 430px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-850); }
.journal-feature { display: grid; grid-template-columns: 1fr 1fr; transition: transform .22s ease, border-color .22s ease; }
.journal-feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.journal-art { position: relative; overflow: hidden; min-height: 300px; background: radial-gradient(circle at center, rgba(240, 138, 36, .14), transparent 44%), #0d0c0a; }
.radar { position: absolute; width: 330px; height: 330px; left: 50%; top: 50%; border: 1px solid var(--line-strong); border-radius: 50%; transform: translate(-50%, -50%); }
.radar::before, .radar::after { content: ""; position: absolute; inset: 54px; border: 1px solid var(--line); border-radius: 50%; }
.radar::after { inset: 118px; }
.radar-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ember-400); box-shadow: 0 0 18px var(--ember-400); }
.dot-a { left: 34%; top: 30%; }.dot-b { right: 24%; bottom: 35%; }.dot-c { left: 47%; bottom: 17%; background: var(--signal-400); box-shadow: 0 0 18px var(--signal-400); }
.journal-copy { padding: 46px 38px; display: flex; flex-direction: column; justify-content: center; }
.journal-copy > p { display: flex; gap: 14px; color: var(--paper-500); font: 650 .66rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.journal-copy > p span { color: var(--ember-400); }
.journal-copy h3 { margin: 24px 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.04em; }
.journal-side { padding: 42px 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.terminal-label { margin: 0 auto auto 0; color: var(--signal-400) !important; font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.journal-side h3 { margin: 0 0 18px; font-size: 1.65rem; line-height: 1.12; letter-spacing: -.03em; }
.journal-side p { color: var(--paper-300); }
.journal-side .button { margin-top: 18px; align-self: flex-start; }

.closing { padding-bottom: 154px; }
.closing-panel { position: relative; overflow: hidden; min-height: 500px; padding: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px solid var(--line-strong); border-radius: 32px; background: radial-gradient(circle at 50% 100%, rgba(240, 138, 36, .14), transparent 45%), var(--ink-850); }
.closing-panel h2 { max-width: 760px; }
.closing-panel > p:not(.eyebrow) { max-width: 580px; color: var(--paper-300); font-size: 1.08rem; }
.closing-panel .hero-actions { justify-content: center; }
.closing-grid { z-index: 0; opacity: .22; }
.closing-panel > *:not(.closing-grid) { position: relative; z-index: 1; }

.site-footer { border-top: 1px solid var(--line); padding: 72px 0 24px; background: #050504; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .4fr; gap: 80px; }
.footer-brand img { width: 220px; }
.footer-grid > div p { color: var(--paper-500); font-size: .86rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav strong { margin-bottom: 10px; color: var(--paper-50); font-size: .76rem; }
.footer-grid nav a { width: fit-content; min-height: 34px; display: inline-flex; align-items: center; color: var(--paper-500); font-size: .82rem; }
.footer-grid nav a:hover { color: var(--paper-50); }
.footer-bottom { margin-top: 64px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--paper-500); font: 600 .62rem/1 ui-monospace, monospace; letter-spacing: .08em; }

/* Dedicated page layouts */
.brand-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-product-card { min-height: 520px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-850); transition: transform .2s ease, border-color .2s ease; }
.brand-product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.brand-product-card h3 { margin: 22px 0 12px; font: 700 clamp(1.6rem, 2.3vw, 2.4rem)/1.08 var(--font-display); letter-spacing: -.03em; }
.brand-product-card p { color: var(--paper-300); }
.brand-product-card .card-link { margin-top: auto; padding-top: 28px; }
.brand-asset { min-height: 175px; margin-bottom: 24px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #eee; }
.brand-asset img { width: 72%; max-height: 98px; object-fit: contain; }
.brand-asset.icon { background: #0b0a08; }
.brand-asset.icon img { width: 150px; height: 150px; max-height: none; border-radius: 30px; object-fit: cover; }
.section-action { margin-top: 36px; display: flex; justify-content: center; }
.route-section { padding-top: 0; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.route-card { min-height: 390px; padding: 46px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(240,138,36,.09), transparent 45%), var(--ink-850); }
.route-card h2 { max-width: 620px; margin: 28px 0 20px; font: 700 clamp(2.1rem, 4vw, 4rem)/1 var(--font-display); letter-spacing: -.035em; }
.route-card p:not(.eyebrow) { max-width: 620px; color: var(--paper-300); font-size: 1.04rem; }
.route-card .text-link { margin-top: auto; align-self: flex-start; }
.page-hero { position: relative; overflow: hidden; min-height: 710px; padding: 190px 0 110px; display: flex; align-items: end; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .hero-grid { opacity: .24; }
.page-hero h1 { max-width: 1080px; margin: 30px 0 26px; font: 720 clamp(3.5rem, 7vw, 7.5rem)/.94 var(--font-display); letter-spacing: -.04em; }
.page-lede { max-width: 780px; margin: 0; color: var(--paper-200); font-size: clamp(1.12rem, 2vw, 1.42rem); line-height: 1.62; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 46px; color: var(--paper-500); font-size: .82rem; }
.breadcrumbs a { color: var(--paper-300); }
.section-tint { background: #0b0a08; border-block: 1px solid var(--line); }
.product-directory { display: grid; gap: 24px; }
.directory-card { padding: 34px; display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 52px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-850); }
.directory-card > div:last-child { padding: 16px 18px 16px 0; }
.directory-card h3 { margin: 20px 0 16px; font: 720 clamp(2.3rem, 4vw, 4rem)/1 var(--font-display); letter-spacing: -.04em; }
.directory-card p { max-width: 720px; color: var(--paper-300); line-height: 1.65; }
.directory-card .button { margin-top: 14px; }
.directory-art { min-height: 330px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #ecebe8; }
.directory-art img { width: 74%; max-height: 150px; object-fit: contain; }
.directory-art.app-icon { background: #090909; }
.directory-art.app-icon img { width: min(74%, 280px); max-height: none; aspect-ratio: 1; border-radius: 54px; object-fit: cover; }
.directory-art.ant-visual, .directory-art.robot-visual { color: var(--ember-400); background: radial-gradient(circle, rgba(240,138,36,.22), transparent 55%), #090807; font: 750 1rem/1.5 var(--font-mono); letter-spacing: .15em; text-align: center; }
.directory-art.robot-visual span { width: 130px; height: 130px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 30px; color: var(--blue-400); font-size: 2.5rem; }
.game-directory { grid-template-columns: repeat(3, 1fr); }
.game-directory .directory-card { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.game-directory .directory-card > div:last-child { padding: 0; display: flex; flex: 1; flex-direction: column; }
.game-directory .directory-card .button { margin-top: auto; align-self: flex-start; }
.method-list { border-top: 1px solid var(--line-strong); }
.method-list article { padding: 72px 0; display: grid; grid-template-columns: 180px 1fr; gap: 50px; border-bottom: 1px solid var(--line); }
.method-list article > span { padding-top: 12px; color: var(--ember-400); font: 700 .7rem/1 var(--font-mono); letter-spacing: .12em; }
.method-list h2, .editorial-copy h2, .contact-panel h2 { margin: 0 0 26px; font: 720 clamp(2.5rem, 4.7vw, 5rem)/.98 var(--font-display); letter-spacing: -.04em; }
.method-list p { max-width: 860px; color: var(--paper-300); font-size: 1.03rem; line-height: 1.7; }
.method-list strong, .editorial-copy strong { color: var(--paper-50); }
.editorial-grid { display: grid; grid-template-columns: 240px 1fr; gap: 110px; align-items: start; }
.editorial-nav { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 12px; }
.editorial-nav p { color: var(--paper-50); font-weight: 700; }
.editorial-nav a { min-height: 36px; color: var(--paper-500); font-size: .88rem; }
.editorial-copy > section { padding: 0 0 90px; scroll-margin-top: 130px; }
.editorial-copy h2 { margin-top: 24px; }
.editorial-copy p:not(.eyebrow) { max-width: 820px; color: var(--paper-300); font-size: 1.08rem; line-height: 1.75; }
.contact-hero { min-height: 620px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.contact-panel, .email-panel { padding: 52px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-850); }
.contact-panel h2 { margin-top: 28px; }
.contact-panel ol { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-panel li { padding: 26px 0; display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.contact-panel li > span { color: var(--ember-400); font: 700 .7rem/1 var(--font-mono); }
.contact-panel li strong { font-size: 1.2rem; }
.contact-panel li p, .email-panel > p { margin: 8px 0 0; color: var(--paper-300); }
.email-panel { display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 50% 0, rgba(184,255,90,.1), transparent 48%), #0b0a08; }
.email-panel > a:not(.button) { margin: 16px 0 32px; font: 700 clamp(1.5rem, 2.4vw, 2.6rem)/1.1 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.email-panel .fine-print { font-size: .88rem; line-height: 1.65; }
.email-panel .button { margin-top: 26px; align-self: flex-start; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: no-preference) {
  .core-pulse { animation: corePulse 2.4s ease-out infinite; }
  .ring-two { animation: spin 24s linear infinite; }
  .radar::before { animation: radarPulse 3s ease-in-out infinite; }
  @keyframes corePulse { 0% { transform: scale(.86); opacity: .7; } 75%, 100% { transform: scale(1.22); opacity: 0; } }
  @keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
  @keyframes radarPulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
}

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { max-width: 820px; }
  .signal-system { width: min(100%, 620px); margin-inline: auto; }
  .product-featured { grid-column: span 12; }
  .product-tinyfort { grid-column: span 6; min-height: 560px; }
  .product-compact, .product-wide { grid-column: span 6; }
  .approach .container { grid-template-columns: 1fr; gap: 64px; }
  .approach-intro { position: static; }
  .capability-ledger { grid-template-columns: repeat(3, 1fr); }
  .capability-ledger span:nth-child(3) { border-right: 0; }
  .capability-ledger span:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-side { min-height: 320px; }
  .brand-card-grid, .game-directory { grid-template-columns: 1fr 1fr; }
  .brand-product-card:last-child, .game-directory .directory-card:last-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 76px; }
  .container, .nav-shell { width: min(calc(100% - 32px), var(--container)); }
  .site-header { height: var(--header-height); }
  .nav-shell { padding: 6px 8px 6px 12px; }
  .brand img { width: 158px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { width: 22px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-icon::before { top: -7px; }.nav-toggle-icon::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; left: 16px; right: 16px; top: 82px; padding: 12px; display: none; flex-direction: column; align-items: stretch;
    border: 1px solid var(--line-strong); border-radius: 16px; background: #0d0c0a; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 52px; font-size: 1rem; }
  .site-nav .nav-contact { margin: 6px 0 0; justify-content: center; }
  .hero { padding: 130px 0 72px; }
  .hero-grid { background-size: 48px 48px; }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 5rem); }
  .hero-proof { grid-template-columns: 1fr; margin-top: 44px; }
  .hero-proof li { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .signal-node { min-width: 124px; padding: 10px; }
  .signal-node small { display: none; }
  .system-readout span:nth-child(2) { display: none; }
  .section { padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .section-heading h2, .approach-intro h2, .closing-panel h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .product-bento { display: flex; flex-direction: column; }
  .product-card, .product-tinyfort { min-height: 380px; }
  .product-featured { min-height: 660px; }
  .featured-copy { width: 100%; padding: 42px 26px; }
  .browser-scene { width: 92%; right: -5%; bottom: -5%; }
  .product-tinyfort { min-height: 560px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { min-height: auto; padding: 32px 0 42px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid article:last-child { border-bottom: 0; }
  .principle-grid h3 { margin: 44px 0 14px; }
  .process-list li { min-height: 190px; grid-template-columns: 42px 1fr; }
  .process-list li > b { display: none; }
  .capability-ledger { grid-template-columns: repeat(2, 1fr); }
  .capability-ledger span { border-bottom: 1px solid var(--line); }
  .capability-ledger span:nth-child(odd) { border-right: 1px solid var(--line); }
  .capability-ledger span:nth-child(even) { border-right: 0; }
  .capability-ledger span:nth-last-child(-n+2) { border-bottom: 0; }
  .journal-feature { grid-template-columns: 1fr; }
  .journal-art { min-height: 300px; }
  .closing-panel { min-height: 520px; padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .brand-card-grid, .route-grid, .game-directory { grid-template-columns: 1fr; }
  .brand-product-card:last-child, .game-directory .directory-card:last-child { grid-column: auto; }
  .brand-product-card { min-height: 470px; }
  .page-hero { min-height: 620px; padding: 150px 0 82px; }
  .page-hero h1 { font-size: clamp(3.1rem, 13vw, 5rem); }
  .product-directory { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .directory-card { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px; }
  .directory-card > div:last-child { padding: 8px; }
  .directory-card, .directory-card > div { min-width: 0; }
  .directory-card .button { max-width: 100%; height: auto; padding-block: 14px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .directory-art { min-height: 260px; }
  .method-list article { grid-template-columns: 1fr; gap: 24px; padding: 52px 0; }
  .editorial-grid { grid-template-columns: 1fr; gap: 52px; }
  .editorial-nav { position: static; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .contact-panel, .email-panel, .route-card { padding: 32px 26px; }
}

@media (max-width: 430px) {
  .container, .nav-shell { width: min(calc(100% - 24px), var(--container)); }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .signal-stage { aspect-ratio: .82; }
  .ring-three { width: 330px; height: 330px; }
  .node-live { right: 3%; top: 13%; }.node-build { left: 3%; top: 31%; }.node-tools { right: 4%; bottom: 18%; }
  .browser-body { grid-template-columns: 1fr 36px 1.15fr; padding: 10px; gap: 6px; }
  .transform-beam span { width: 30px; height: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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