/* AJ Software Development — visual system.
   Deep ink, one signal blue, real screens in real frames. Each product
   lends the page its own two colours (--glow, --glow2) as you scroll. */

:root {
  --ink: #06080c;
  --ink-2: #0b0f16;
  --raised: #0f141d;
  --line: #1f2733;
  --line-soft: #161d28;
  --text: #eef2f8;
  --text-soft: #b4bfd0;
  --muted: #8794a8;
  --blue: #5b9dff;
  --blue-lift: #8cc1ff;
  --blue-deep: #2f6fe0;
  --amber: #f0a65a;
  --green: #74e0bd;
  --glow: #5b9dff;
  --glow2: #2f6fe0;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.04; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 600; }
h2 em, h1 em { font-style: normal; color: var(--blue-lift); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue-lift); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: #2f6fe0; color: #fff; }
:focus-visible { outline: 2px solid var(--blue-lift); outline-offset: 4px; border-radius: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }

.wrap { max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 1.2rem;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot-amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.small { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.25rem; border-radius: 10px;
  font-family: var(--body); font-weight: 600; font-size: .9rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .25s, border-color .25s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-p { background: var(--blue-deep); color: #fff; border-color: #6fa6ff66; box-shadow: 0 6px 28px #2f6fe03a; }
.btn-p:hover { background: #3f7ff0; box-shadow: 0 10px 36px #2f6fe060; }
.btn-s { background: #ffffff06; color: var(--text); border-color: #334052; }
.btn-s:hover { border-color: #5d6f88; background: #ffffff0c; }
.btn-store { background: #fff; color: #0b0f16; border-color: #fff; padding: .55rem 1.1rem .55rem .9rem; text-align: left; line-height: 1.1; }
.btn-store svg { width: 24px; height: 24px; flex: none; }
.btn-store small { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .02em; opacity: .7; }
.btn-store:hover { background: #e9eef7; }

/* Nav */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--blue-lift); z-index: 200; transition: width .1s linear; }
.nav { position: fixed; inset: 0 0 auto; z-index: 100; background: #06080c00; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
body.scrolled .nav { background: #06080cdd; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: #ffffff10; }
.nav-in { max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(145deg, #3f7ff0, #1f55c4); display: grid; place-items: center; box-shadow: 0 0 24px #2f6fe03a; }
.logo-mark svg { width: 24px; height: 24px; }
.logo-word { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-size: .86rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.nav-cta { border: 1px solid #3a475b; border-radius: 9px; padding: .6rem 1rem; color: var(--text); }
.nav-links a.nav-cta:hover { border-color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: .5rem var(--gutter) 1.25rem; background: #06080cf2; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff12; }
.mobile-menu a { color: var(--text); text-decoration: none; padding: .85rem 0; border-bottom: 1px solid #ffffff0c; font-size: 1.05rem; }
.mobile-menu:not([hidden]) { display: flex; }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }

/* Hero */
.hero { position: relative; min-height: 100svh; padding: 8.5rem 0 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line-soft); isolation: isolate; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 1; mask-image: linear-gradient(to right, #000 0, #000 55%, #0009 100%); }
.hero .grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(#749ddd0e 1px, transparent 1px), linear-gradient(90deg, #749ddd0e 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 80% at 40% 50%, #000, transparent 75%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 72% 45%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%),
              radial-gradient(ellipse 40% 40% at 15% 85%, color-mix(in srgb, var(--glow2) 14%, transparent), transparent 70%);
  transition: background 1.2s var(--ease); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; flex: 1; }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.6rem); font-weight: 600; max-width: 11ch; }
.hero h1 em { font-variation-settings: "opsz" 96, "wdth" 75; font-weight: 800; display: inline-block; transition: font-variation-settings 1.4s var(--ease), color 1.4s; color: var(--blue-lift); }
.hero.in h1 em { font-variation-settings: "opsz" 96, "wdth" 100; }
.sell { color: var(--text-soft); max-width: 32rem; margin: 1.6rem 0 2rem; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 1.5rem 2.2rem; margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid #ffffff12; width: fit-content; }
.hero-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hero-facts dd span { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }
.hero-facts dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hero-facts dd { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }

/* Device stage */
.stage { position: relative; height: clamp(420px, 56vw, 640px); perspective: 1400px; }
.dev { margin: 0; position: absolute; width: 46%; max-width: 250px; transition: transform .9s var(--ease), opacity .9s; will-change: transform; }
.dev-frame { position: relative; border-radius: 12% / 6%; background: #0a0d14; padding: 3.2%; border: 1px solid #3a4557; box-shadow: 0 40px 90px #000a, inset 0 0 0 1px #000; }
.dev-frame::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 2.6%; transform: translateX(-50%); background: #000; border-radius: 100px; z-index: 2; }
.dev-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, #ffffff12, transparent 40%, transparent 70%, #ffffff08); }
.dev-frame img, .dev-frame .tp-screen { width: 100%; height: auto; border-radius: 9.5% / 4.8%; }
.dev-frame .tp-screen { aspect-ratio: 647 / 1400; }
.dev figcaption { position: absolute; left: 50%; bottom: -2rem; transform: translateX(-50%); font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stage .dev-a { left: 2%; top: 8%; z-index: 3; --rz: -8deg; }
.stage .dev-b { left: 30%; top: 0; z-index: 4; --rz: 0deg; }
.stage .dev-c { right: 2%; top: 12%; z-index: 2; --rz: 8deg; }
.stage .dev { transform: rotate(var(--rz)) translateY(40px); opacity: 0; }
.hero.in .stage .dev { opacity: 1; transform: rotate(var(--rz)) translate3d(var(--px, 0), var(--py, 0), 0); }
.hero.in .stage .dev-b { transition-delay: .1s; } .hero.in .stage .dev-c { transition-delay: .2s; }

.ticker { border-top: 1px solid #ffffff10; margin-top: 3rem; padding: .85rem 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: tick 48s linear infinite; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticker-track span::before { content: "●"; color: var(--green); margin-right: .8rem; font-size: .5rem; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.sec-head { max-width: 48rem; padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem); }
.sec-head-wide { max-width: 56rem; }
.sec-sub { color: var(--text-soft); margin-top: 1.2rem; font-size: 1.05rem; max-width: 42rem; }

/* Products */
.products { background: var(--ink); }
.product { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--line-soft); overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease);
  background: radial-gradient(ellipse 55% 60% at 78% 50%, color-mix(in srgb, var(--p1) 20%, transparent), transparent 70%),
              radial-gradient(ellipse 30% 40% at 10% 90%, color-mix(in srgb, var(--p2) 12%, transparent), transparent 70%); }
.product-alt::before { background: radial-gradient(ellipse 55% 60% at 22% 50%, color-mix(in srgb, var(--p1) 20%, transparent), transparent 70%),
              radial-gradient(ellipse 30% 40% at 90% 90%, color-mix(in srgb, var(--p2) 12%, transparent), transparent 70%); }
.product.in::before { opacity: 1; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.product-alt .product-copy { order: 2; }
.product-id { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; }
.product-id img, .icon-tp { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 30px #0008; }
.icon-tp { background: linear-gradient(160deg, #2b74d0, #134a92); display: grid; place-items: center; }
.icon-tp svg { width: 32px; height: 32px; }
.product-id h3 { font-size: 1.6rem; }
.product-cat { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.product-lead { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 1.2rem; text-wrap: balance; }
.product-lead strong { font-weight: 700; color: var(--p1-text, var(--blue-lift)); }
.product-copy > p:not(.product-lead):not(.product-cat) { color: var(--text-soft); }
.proof { list-style: none; margin: 1.5rem 0 1.8rem; padding: 0; display: grid; gap: .55rem; }
.proof li { display: flex; gap: .7rem; align-items: baseline; color: var(--text); font-size: .95rem; }
.proof li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 2px; background: var(--p1, var(--blue)); transform: translateY(-1px) rotate(45deg); }
.product-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.product-visual { position: relative; }
.shots { position: relative; height: clamp(380px, 46vw, 560px); perspective: 1400px; }
.shots .dev { width: 48%; max-width: 260px; opacity: 1; }
.shots-pair .dev:first-child { left: 10%; top: 0; z-index: 2; --rz: -5deg; }
.shots-pair .dev-back { right: 8%; top: 9%; z-index: 1; --rz: 6deg; filter: brightness(.82); }
.product-alt .shots-pair .dev:first-child { left: auto; right: 10%; --rz: 5deg; }
.product-alt .shots-pair .dev-back { right: auto; left: 8%; --rz: -6deg; }
.shots .dev { transform: rotate(var(--rz)) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease); }
.shots-doc .dev { left: 0; top: 0; width: 40%; max-width: 220px; --rz: -6deg; z-index: 1; }
.doc { margin: 0; position: absolute; right: 0; top: 14%; width: 74%; max-width: 440px; z-index: 2; border-radius: 12px; overflow: hidden; border: 1px solid #ffffff22; box-shadow: 0 40px 90px #000b; transform: rotate(3deg) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease); background: #0b0f16; --rz: 3deg; }
.doc img { width: 100%; height: auto; }
.doc figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .9rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #cfd8e6; background: linear-gradient(transparent, #06080cd0); }

/* TextProof drawn screen */
.tp-screen { background: #0e1420; color: #e7edf7; font-family: var(--body); font-size: 8.5px; line-height: 1.35; padding: 14% 7% 6%; display: flex; flex-direction: column; gap: 4px; overflow: hidden; position: relative; }
.tp-bar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 8px; }
.tp-bar b { color: #7fb3ff; font-weight: 500; }
.tp-sub { font-size: 6.5px; color: #8794a8; margin-bottom: 6px; }
.tp-day { text-align: center; font-size: 6px; color: #8794a8; margin: 5px 0 2px; letter-spacing: .04em; }
.tp-m { max-width: 80%; padding: 4px 7px; border-radius: 9px; margin: 0; }
.tp-m.l { background: #263242; align-self: flex-start; border-bottom-left-radius: 3px; }
.tp-m.r { background: #306ddd; align-self: flex-end; border-bottom-right-radius: 3px; }
.tp-cta { margin-top: auto; align-self: center; background: #387cf6; color: #fff; font-weight: 600; font-size: 7.5px; padding: 6px 14px; border-radius: 8px; }

/* AJ AI */
.ajai { background: linear-gradient(#06080c, #080d16 30%, #080d16 70%, #06080c); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.ajai::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#749ddd0a 1px, transparent 1px), linear-gradient(90deg, #749ddd0a 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent); }
.ajai .wrap { position: relative; }
.ajai-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: clamp(4rem, 9vw, 7rem); }
.flow { margin: 0; background: #0a0f17cc; border: 1px solid #1f2b3d; border-radius: 18px; padding: 1.2rem; box-shadow: 0 30px 80px #0008; }
.flow-svg { width: 100%; height: auto; display: block; }
.ln { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s var(--ease) forwards; }
.lines .ln:nth-child(2) { animation-delay: .15s } .lines .ln:nth-child(3) { animation-delay: .3s } .lines .ln:nth-child(4) { animation-delay: .45s } .lines .ln:nth-child(5) { animation-delay: .6s }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ring { transform-origin: 0 0; animation: breathe 4s ease-in-out infinite; }
.ring2 { animation: spin 40s linear infinite; }
@keyframes breathe { 50% { stroke-opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }
.residency { background: #0d131ccc; border: 1px solid #263142; border-radius: 18px; padding: 1.6rem; }
.residency blockquote { margin: 0 0 1.2rem; padding-left: 1rem; border-left: 2px solid var(--blue); font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; color: var(--text); }
.resi-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .7rem; color: var(--text-soft); font-size: .92rem; }
.resi-list b { color: var(--text); }
.interest { margin-top: 1.2rem; }
.interest label { display: block; font-weight: 600; margin-bottom: .6rem; }
.interest-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.interest-row input[type="email"] { flex: 1 1 200px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.form-note.ok { color: var(--green); } .form-note.err { color: #ff9b9b; }

/* Inputs */
input, select, textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem; border-radius: 10px; font: inherit; color: var(--text);
  background: #0a0e15; border: 1px solid #2a3544; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #2f6fe033; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238794a8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* Business */
.business { background: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-bottom: clamp(4rem, 9vw, 7rem); }
.svc { background: var(--ink); padding: 1.8rem 1.4rem 2rem; transition: background .3s; }
.svc:hover { background: var(--ink-2); }
.svc:hover .svc-n { color: #fff; }
.svc-n { font-family: var(--mono); font-size: .66rem; color: var(--blue-lift); letter-spacing: .12em; margin-bottom: 1.6rem; }
.svc h3 { margin-bottom: .7rem; font-size: 1.1rem; }
.svc p:not(.svc-n) { color: var(--text-soft); font-size: .88rem; }

/* About */
.about { border-top: 1px solid var(--line-soft); background: linear-gradient(#06080c, #090d14); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 9vw, 7rem) var(--gutter); align-items: start; }
.about-copy p:not(.kicker) { color: var(--text-soft); margin-top: 1.2rem; }
.about-copy h2 + p { margin-top: 1.6rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.about-tags span { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; padding: .4rem .7rem; border: 1px solid #2a3544; border-radius: 6px; color: var(--text-soft); }
.timeline { list-style: none; margin: 2.6rem 0 0; padding: 0; border-left: 1px solid #2a3544; }
.timeline li { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0 0 1.8rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid #3a475b; }
.timeline .tl-now::before { background: var(--blue-lift); border-color: var(--blue-lift); box-shadow: 0 0 14px var(--blue); }
.tl-years { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--blue-lift); padding-top: .25rem; }
.timeline b { display: block; font-weight: 600; }
.timeline p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* Contact */
.contact { border-top: 1px solid var(--line-soft); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 9vw, 7rem) var(--gutter); align-items: start; }
.contact-copy p:not(.kicker) { color: var(--text-soft); margin-top: 1.4rem; }
.contact-direct a { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.cform { display: grid; gap: 1rem; background: #0a0e15; border: 1px solid #1f2733; border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); }
.cform label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform .btn { justify-self: start; }

/* Footer */
.foot { border-top: 1px solid var(--line-soft); background: #04060a; padding: 3.5rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-tag { color: var(--muted); margin-top: .9rem; font-size: .9rem; }
.foot-h { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.foot nav a { display: block; color: var(--text-soft); text-decoration: none; font-size: .9rem; padding: .25rem 0; }
.foot nav a:hover { color: #fff; }
.legal { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid #ffffff0c; color: var(--muted); font-size: .74rem; line-height: 1.6; display: grid; gap: .6rem; }
.legal a { color: inherit; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .product-grid, .ajai-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-alt .product-copy { order: 0; }
  .product-visual { order: 1; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .stage { height: clamp(380px, 80vw, 520px); max-width: 560px; margin-inline: auto; width: 100%; }
  .shots { max-width: 520px; margin-inline: auto; }
  .hero-facts { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .hero { padding-top: 6.5rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .svc-grid { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .shots { height: clamp(340px, 95vw, 460px); }
  .shots-doc .dev { width: 42%; }
  .doc { width: 78%; top: 20%; }
  .product-id h3 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .ring, .ring2, .pulses, .ln { animation: none !important; stroke-dashoffset: 0; }
  .rv, .dev, .doc, .hero h1 em, .btn { transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .stage .dev { opacity: 1; transform: rotate(var(--rz)); }
  #field { display: none; }
}

/* Boot sequence */
#boot { position: fixed; inset: 0; z-index: 500; background: var(--ink); display: grid; place-items: center; cursor: pointer; transition: clip-path .9s var(--ease); clip-path: inset(0 0 0 0); }
#boot.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
#boot[hidden] { display: none; }
.boot-in { display: grid; gap: 1.4rem; justify-items: start; width: min(90vw, 420px); }
.boot-mark { width: 56px; height: 56px; }
.boot-box { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw-box .9s var(--ease) forwards; }
.boot-a, .boot-j { opacity: 0; animation: fade-in .5s .55s forwards; }
.boot-j { animation-delay: .75s; }
@keyframes draw-box { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.boot-log { margin: 0; font-family: var(--mono); font-size: .78rem; line-height: 1.75; color: var(--text-soft); min-height: 7.2em; white-space: pre-wrap; }
.boot-log .ok { color: var(--green); }
.boot-log .k { color: var(--muted); }
.boot-log .v { color: var(--text); }
.boot-line::after { content: ""; display: inline-block; width: .55em; height: 1em; background: var(--blue-lift); vertical-align: -.15em; margin-left: .15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.boot-skip { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .6; }
body.booting { overflow: hidden; }
body.booting .nav, body.booting .hero-copy, body.booting .stage { visibility: hidden; }

/* Build readout */
.hud { position: absolute; right: var(--gutter); bottom: 3.6rem; display: flex; gap: 1.4rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity 1.2s 1s; }
.hud span::before { content: "·"; margin-right: 1.4rem; color: #3a475b; }
.hud span:first-child::before { content: ""; margin: 0; }
.hero.in .hud { opacity: .85; }
@media (max-width: 1000px) { .hud { display: none; } }
@media (prefers-reduced-motion: reduce) { #boot { display: none !important; } body.booting { overflow: auto; } body.booting .nav, body.booting .hero-copy, body.booting .stage { visibility: visible; } }

/* Single-device stage and the AJ Racing wordmark tile */
.shots-single .dev { left: 50%; top: 0; transform: translateX(-50%) rotate(var(--rz)) translate3d(var(--px, 0), var(--py, 0), 0); --rz: -4deg; width: 54%; max-width: 290px; }
.icon-aj { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #059669, #047857); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.05em; box-shadow: 0 8px 30px #0008; flex: none; }
.product-note { margin-top: 1rem; }
