/* ============================================================
   CORVUSS — AI-First Creative Agency
   Scroll-cinematic site styles
   ============================================================ */

/* ---------- self-hosted fonts (no third-party CDN) ---------- */
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/orbitron-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black:  #030307;
  --dark:   #080810;
  --ink:    #f8fafc;
  --muted:  #94a3b8;
  --faint:  #64748b;
  --purple: #7B2CBF;
  --violet: #9D4EDD;
  --cyan:   #00F0FF;
  --blue:   #4364F7;
  --line:   rgba(255,255,255,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* inline SVG icons (replaces Font Awesome CDN) */
.svgi { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em;
  fill: currentColor; flex: none; }

::selection { background: rgba(0,240,255,0.25); color: #fff; }
:focus-visible { outline: 2px solid rgba(0,240,255,0.6); outline-offset: 3px; border-radius: 4px; }

/* ---------- custom cursor (fine pointers only) ----------
   z-index must stay ABOVE every overlay (cookie bar 240, intro 300),
   or the visitor loses the cursor over them */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none;
  border-radius: 50%; opacity: 0; }
body.has-cursor .cur-dot, body.has-cursor .cur-ring { opacity: 1; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(0,240,255,0.45);
  transition: width .25s, height .25s, margin .25s, border-color .25s, opacity .3s; }
.cur-ring.on { width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-color: rgba(0,240,255,0.9); }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary,
body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
body.has-cursor label { cursor: none; }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } }

/* ---------- cookie consent bar ---------- */
#cookiebar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 240; width: min(560px, calc(100vw - 28px));
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: rgba(8,8,16,0.92); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  animation: cb-in .5s cubic-bezier(.16,1,.3,1); }
#cookiebar[hidden] { display: none; }
@keyframes cb-in { from { opacity: 0; transform: translateX(-50%) translateY(16px); } }
#cookiebar p { color: var(--muted); font-size: .84rem; font-weight: 300; line-height: 1.55; }
#cookiebar p a { color: var(--cyan); text-decoration: none; }
#cookiebar p a:hover { text-decoration: underline; }
.cb-actions { display: flex; gap: 10px; flex: none; }
.cb-btn { font-family: "Orbitron", sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  border: none; transition: all .3s; }
.cb-accept { background: linear-gradient(100deg, var(--cyan), var(--blue)); color: var(--black); }
.cb-accept:hover { box-shadow: 0 0 22px rgba(0,240,255,0.45); }
.cb-ghost { background: rgba(255,255,255,0.05); color: var(--muted);
  border: 1px solid var(--line); }
.cb-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
@media (max-width: 560px) { #cookiebar { flex-direction: column; align-items: stretch; text-align: center; }
  .cb-actions { justify-content: center; } }
.legal-sep { margin: 0 10px; color: var(--faint); }

/* ---------- load intro ---------- */
#intro { position: fixed; inset: 0; z-index: 300; background: var(--black);
  display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center;
  transition: opacity .55s ease; }
#intro.done { opacity: 0; pointer-events: none; }
.intro-name { font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2.1rem); letter-spacing: .42em; padding-left: .42em; color: #fff; }
.intro-bar { width: 130px; height: 2px; background: rgba(255,255,255,0.12);
  border-radius: 2px; overflow: hidden; position: relative; }
.intro-bar::after { content: ""; position: absolute; inset: 0;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  animation: introbar .85s ease forwards .1s; }
@keyframes introbar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } }

html { scrollbar-width: none; scroll-behavior: auto; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--black);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: "Orbitron", sans-serif; }

/* unified particle field — one fixed canvas behind the entire page */
#fx-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}

/* ---------- Fixed HUD nav ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(18px, 4vw, 44px);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(3,3,7,0.7), rgba(3,3,7,0));
  transition: background .4s;
}
.hud-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hud-brand svg { width: 34px; height: 34px; transition: transform .5s; }
.hud-brand:hover svg { transform: rotate(8deg) scale(1.05); }
.hud-brand .name {
  font-family: "Orbitron", sans-serif; font-weight: 800; font-size: 18px;
  letter-spacing: 0.32em; color: #fff;
}
.hud-nav { display: flex; gap: clamp(18px, 3vw, 38px); }
.hud-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.hud-nav a:hover { color: #fff; }
.hud-cta {
  font-family: "Orbitron", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; color: var(--cyan); text-decoration: none;
  padding: 10px 22px; border: 1px solid rgba(0,240,255,0.3); border-radius: 999px;
  transition: all .3s;
}
.hud-cta:hover { background: var(--cyan); color: var(--black);
  box-shadow: 0 0 24px rgba(0,240,255,0.45); }
.hud-right { display: flex; align-items: center; gap: 12px; }

/* mobile burger + dropdown menu.
   Lines use block flow + explicit width (NOT flex gap/stretch) — iOS Safari
   doesn't reliably lay out flex children inside <button>, which rendered
   the burger as an empty square on iPhone. */
.hud-burger { display: none; position: relative; width: 40px; height: 40px; padding: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.hud-burger .bars { position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); width: 18px; }
.hud-burger .bars span { display: block; width: 18px; height: 2px; margin-top: 5px;
  border-radius: 2px; background: #fff;
  transition: transform .3s, opacity .3s; }
.hud-burger .bars span:first-child { margin-top: 0; }
.hud-burger[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hud-burger[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.hud-burger[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hud-menu { position: fixed; top: 74px; left: 14px; right: 14px; z-index: 59;
  display: flex; flex-direction: column; padding: 10px;
  background: rgba(6,6,14,0.92); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s, transform .3s; }
.hud-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.hud-menu a { padding: 15px 18px; border-radius: 12px; text-decoration: none;
  font-family: "Orbitron", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hud-menu a:active, .hud-menu a:hover { background: rgba(0,240,255,0.08); color: var(--cyan); }

@media (max-width: 860px) {
  .hud-nav { display: none; }
  .hud-burger { display: flex; }
  .hud-cta { white-space: nowrap; font-size: 11px; padding: 9px 16px; }
  .hud-brand .name { font-size: 15px; letter-spacing: 0.22em; }
}
@media (min-width: 861px) { .hud-menu { display: none; } }

/* ---------- Cinematic scroll section ---------- */
.cinematic { position: relative; }
.cinematic.hero  { height: 480vh; }
.cinematic.showcase { height: 430vh; }
.sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  overflow: hidden; display: grid; place-items: center; background: var(--black);
}
.frame-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    radial-gradient(120% 95% at 50% 42%, transparent 42%, rgba(3,3,7,0.78) 100%),
    linear-gradient(180deg, rgba(3,3,7,0.55) 0%, transparent 22%, transparent 60%, rgba(3,3,7,0.96) 100%);
}

/* ---------- Overlay copy ---------- */
.overlay { position: absolute; inset: 0; z-index: 10; text-align: center; padding: 0 24px; }
.eyebrow {
  position: absolute; left: 50%; top: 26%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Orbitron", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--violet);
  padding: 7px 18px; border: 1px solid rgba(123,44,191,0.3);
  background: rgba(123,44,191,0.12); border-radius: 999px; white-space: nowrap;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.line {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: 92vw;
  font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(2rem, 8vw, 6.5rem); letter-spacing: 0.01em; line-height: 1.02;
  opacity: 0; will-change: opacity, transform;
}
.line .grad-cyan {
  background: linear-gradient(100deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.line .grad-warm {
  background: linear-gradient(100deg, var(--purple), #f43f5e, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.line .white { color: #fff; }

/* corner telemetry */
.telemetry {
  position: absolute; z-index: 12; font-family: "Orbitron", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; color: rgba(0,240,255,0.75);
}
.telemetry b { color: #fff; }
.tl { top: 92px; left: 28px; } .tr { top: 92px; right: 28px; }
.bl { bottom: 64px; left: 28px; } .br { bottom: 64px; right: 28px; }

.progress {
  position: absolute; left: 28px; right: 28px; bottom: 40px; height: 2px;
  background: rgba(255,255,255,0.1); z-index: 12; border-radius: 2px;
}
.progress-fill { height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 12px var(--cyan); border-radius: 2px; }
.scroll-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 12;
  font-family: "Orbitron", sans-serif; font-size: 10px; letter-spacing: 0.4em;
  color: rgba(248,250,252,0.55); animation: bob 1.8s ease-in-out infinite; transition: opacity .4s;
}

/* ============================================================
   Particle hero — USTA-style: left copy, particle raven right,
   starfield + mouse parallax
   ============================================================ */
.hero-p { position: relative; height: 100vh; min-height: 640px; overflow: hidden;
  background: transparent; z-index: 1; }
.hero-p-inner { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding: 90px clamp(20px, 5vw, 40px) 40px; pointer-events: none; }
.hero-p-inner a { pointer-events: auto; }

.eyebrow-s { display: inline-flex; align-items: center; gap: 9px;
  font-family: "Orbitron", sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--violet);
  padding: 7px 18px; border: 1px solid rgba(123,44,191,0.3);
  background: rgba(123,44,191,0.12); border-radius: 999px; white-space: nowrap;
  margin-bottom: 34px; }
.eyebrow-s .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }

.hp-line { font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(2.4rem, 6.6vw, 5.6rem); line-height: 1.04; letter-spacing: 0.01em;
  color: #fff; }
.hp-outline { color: transparent; -webkit-text-stroke: 2px rgba(248,250,252,0.92);
  text-stroke: 2px rgba(248,250,252,0.92); }
.hp-grad { background: linear-gradient(100deg, var(--cyan), var(--blue), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.hp-sub { margin-top: 30px; max-width: 460px; color: var(--muted);
  font-weight: 300; font-size: clamp(0.98rem, 1.3vw, 1.12rem); line-height: 1.75; }
.hp-sub b { color: #fff; font-weight: 600; }

.hp-cta { margin-top: 38px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hp-offer { font-family: "Orbitron", sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }

/* staggered load-in (offset past the intro overlay) */
.hero-p-inner > * { opacity: 0; transform: translateY(26px);
  animation: hp-in .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero-p-inner > *:nth-child(1) { animation-delay: .85s }
.hero-p-inner > *:nth-child(2) { animation-delay: .95s }
.hero-p-inner > *:nth-child(3) { animation-delay: 1.07s }
.hero-p-inner > *:nth-child(4) { animation-delay: 1.19s }
.hero-p-inner > *:nth-child(5) { animation-delay: 1.35s }
.hero-p-inner > *:nth-child(6) { animation-delay: 1.48s }
@keyframes hp-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-p-inner > * { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero-p { min-height: 560px; }
  .hero-p-inner { justify-content: flex-end; padding-bottom: 110px; }
  .hp-sub { max-width: 92%; }
  .hp-cta { gap: 16px; }
  /* phone: much smaller eyebrow pill (desktop keeps the big one) */
  .eyebrow-s { font-size: 9px; letter-spacing: .16em; padding: 5px 12px; gap: 6px;
    margin-bottom: 22px; }
  .eyebrow-s .dot { width: 4px; height: 4px; }
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ---------- Generic section shell ---------- */
.sec { position: relative; z-index: 5; padding: clamp(80px,12vh,160px) clamp(20px,5vw,40px);
  border-top: 1px solid var(--line); }
.wrap { max-width: 1200px; margin: 0 auto; }
.kicker {
  font-family:"Orbitron",sans-serif; font-size: 12px; font-weight:600;
  letter-spacing:.3em; text-transform:uppercase; color: var(--cyan); margin-bottom: 18px;
}
.h2 { font-family:"Orbitron",sans-serif; font-weight:900;
  font-size: clamp(1.9rem, 5vw, 3.4rem); letter-spacing:.02em; line-height:1.08; color:#fff; }
.rule { height: 3px; width: 76px; border-radius: 3px; margin: 22px 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.lead { color: var(--muted); font-size: clamp(1rem,1.4vw,1.18rem); font-weight: 300;
  line-height: 1.7; max-width: 640px; }

/* manifesto big text — words type on with scroll */
.manifesto { text-align: center; }
.manifesto p {
  font-family:"Orbitron",sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 3rem); line-height: 1.25; letter-spacing: .01em;
  max-width: 1000px; margin: 0 auto; color: rgba(248,250,252,0.92);
}
.manifesto .mw { opacity: 0.08; filter: blur(5px);
  transition: opacity .45s ease, filter .45s ease; }
.manifesto .mw.on { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .manifesto .mw { opacity: 1; filter: none; transition: none; }
}
.manifesto p .hot {
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  -webkit-background-clip:text; background-clip:text; color: transparent;
}

/* capabilities grid */
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 56px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: rgba(10,10,20,0.5); border: 1px solid var(--line);
  border-radius: 24px; padding: 36px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s, border-color .4s, box-shadow .4s; overflow: hidden;
}
.card::after { content:""; position:absolute; inset:0;
  background: radial-gradient(420px circle at 50% 0%, var(--glow,rgba(0,240,255,0.07)), transparent 60%);
  opacity: 0; transition: opacity .5s; pointer-events:none; }
.card:hover { transform: translateY(-6px); border-color: var(--edge,rgba(0,240,255,0.3)); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 26px; border: 1px solid var(--edge,rgba(0,240,255,0.25));
  background: var(--tint,rgba(0,240,255,0.08)); color: var(--edge,var(--cyan)); transition: all .4s;
}
.card:hover .ic { background: var(--edge,var(--cyan)); color: var(--black); box-shadow: 0 0 22px var(--edge,var(--cyan)); }
.card h3 { font-family:"Orbitron",sans-serif; font-weight:800; font-size: 1.18rem;
  letter-spacing:.04em; color:#fff; margin-bottom: 14px; }
.card p { color: var(--muted); font-weight: 300; line-height: 1.65; font-size: .98rem; }
.card .foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center;
  font-size:.85rem; font-weight:500; color: var(--edge,var(--cyan)); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 28px 12px; border: 1px solid var(--line);
  border-radius: 20px; background: rgba(10,10,20,0.4); }
.stat .num { font-family:"Orbitron",sans-serif; font-weight:900;
  font-size: clamp(1.8rem,4vw,2.8rem);
  background: linear-gradient(100deg,var(--cyan),var(--violet));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .lbl { margin-top: 8px; font-size: 11px; letter-spacing:.18em; text-transform:uppercase;
  color: var(--faint); font-weight:600; }

/* split showcase row */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
@media (max-width: 880px){ .split{ grid-template-columns:1fr; gap:36px; } }
.minic { display:flex; gap:14px; align-items:flex-start; margin-top:22px; }
.minic .b { width:38px;height:38px;flex:none;border-radius:11px;display:grid;place-items:center;
  background:rgba(0,240,255,0.08); border:1px solid rgba(0,240,255,0.2); color:var(--cyan); font-size:15px; }
.minic h4 { font-family:"Orbitron",sans-serif; font-size:.98rem; color:#fff; margin-bottom:4px; letter-spacing:.03em;}
.minic p { color:var(--muted); font-weight:300; font-size:.92rem; line-height:1.6; }
.showvid { border-radius: 22px; overflow:hidden; border:1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); aspect-ratio: 16/10; background:#06060e; }
.showvid video { width:100%; height:100%; object-fit:cover; display:block; }

/* work strip */
.work { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 52px; }
@media (max-width: 900px){ .work{ grid-template-columns: repeat(2,1fr);} }
.work .tile { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); }
.work .tile video { width:100%; height:100%; object-fit: cover; display:block;
  transition: transform .5s; }
.work .tile:hover video { transform: scale(1.05); }
.work .tile .tag { position:absolute; left:10px; bottom:10px; z-index:2;
  font-family:"Orbitron",sans-serif; font-size:10px; letter-spacing:.12em;
  text-transform:uppercase; color:#fff; padding:5px 10px; border-radius:999px;
  background: rgba(3,3,7,0.6); border:1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); }
.work .tile::before { content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, transparent 55%, rgba(3,3,7,0.7)); pointer-events:none; }

/* websites — clickable live-site cards with loop previews */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
@media (max-width: 980px) { .sites { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; } }
.site-card { display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: rgba(10,10,20,0.5);
  transition: transform .4s, border-color .4s, box-shadow .4s; }
.site-card:hover { transform: translateY(-6px); border-color: rgba(0,240,255,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.site-vid { position: relative; aspect-ratio: 3024 / 1642; background: #06060e; overflow: hidden; }
.site-vid video { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s; }
.site-card:hover .site-vid video { transform: scale(1.03); }
.site-vid .tag { position: absolute; left: 10px; top: 10px; z-index: 2;
  font-family: "Orbitron", sans-serif; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 999px;
  background: rgba(3,3,7,0.6); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); }
.site-meta { padding: 20px 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; }
.site-meta h3 { font-family: "Orbitron", sans-serif; font-weight: 800; font-size: .98rem;
  letter-spacing: .05em; color: #fff; margin-bottom: 6px; }
.site-meta p { color: var(--muted); font-weight: 300; font-size: .85rem; line-height: 1.5; }
.site-link { flex: none; display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.site-card:hover .site-link { text-decoration: underline; }

/* CTA */
.cta { text-align:center; }
.cta .h2 { margin-bottom: 18px; }
.cta .sub { color: var(--muted); font-weight: 300; max-width: 560px; margin: 0 auto 14px; line-height:1.7; }
.cta .promise { color: rgba(255,255,255,0.55); font-size:.92rem; margin-bottom: 40px; }
.btn-row { display:flex; gap: 18px; justify-content:center; flex-wrap: wrap; }
.btn {
  font-family:"Orbitron",sans-serif; font-weight:700; font-size: .92rem; letter-spacing:.08em;
  padding: 16px 38px; border-radius: 999px; text-decoration:none; transition: all .3s;
  display:inline-flex; align-items:center; gap:10px; cursor:pointer; border:none;
}
.btn-primary { background: linear-gradient(100deg,var(--cyan),var(--blue)); color: var(--black);
  box-shadow: 0 0 0 rgba(0,240,255,0); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 36px rgba(0,240,255,0.5); }
.btn-ghost { border:1px solid rgba(255,255,255,0.14); color:#fff; background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: rgba(0,240,255,0.4); background: rgba(255,255,255,0.08); }

/* footer */
.footer { position: relative; z-index:5; border-top:1px solid var(--line);
  padding: 44px clamp(20px,5vw,40px); background: transparent; }
.footer .row { max-width:1200px; margin:0 auto; display:flex; align-items:center;
  justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer .name { font-family:"Orbitron",sans-serif; font-weight:800; letter-spacing:.28em; color:#fff; }
.footer .copy { color: var(--faint); font-size:.85rem; }
.footer .social { display:flex; gap:22px; }
.footer .social a { color: var(--faint); font-size: 18px; transition: color .25s; text-decoration:none; }
.footer .social a:hover { color: var(--cyan); }
.footer .legal { max-width: 1200px; margin: 26px auto 0; padding-top: 20px;
  border-top: 1px solid var(--line); text-align: center;
  color: var(--faint); font-size: .8rem; font-weight: 300; }
.footer .legal a { color: var(--faint); text-decoration: none; transition: color .25s; }
.footer .legal a:hover { color: var(--cyan); }
.form-privacy { text-align: center; margin-top: 8px; color: var(--faint); font-size: .78rem; font-weight: 300; }
.form-privacy a { color: var(--faint); text-decoration: underline; }
.form-privacy a:hover { color: var(--cyan); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.1s } .reveal[data-d="2"]{ transition-delay:.2s }
.reveal[data-d="3"]{ transition-delay:.3s }

@media (max-width: 600px) {
  .telemetry { font-size: 9px; letter-spacing:.14em; }
  .tl,.tr { top: 118px; } .progress { left:16px; right:16px; }
  .eyebrow { top: 22%; font-size: 10px; }
}

/* ============================================================
   Additions — portfolio wide tiles, process, FAQ, form, founder
   ============================================================ */
.wrap-narrow { max-width: 820px; }

/* portfolio: landscape tiles span two columns */
.work { grid-auto-flow: dense; }
.work .tile.wide { grid-column: span 2; aspect-ratio: 16/9; }
/* feature tiles: double-size 9:16 anchors, keep the grid hole-free */
.work .tile.feature { grid-column: span 2; grid-row: span 2; }
@media (min-width: 901px) {
  .work .tile.feature { aspect-ratio: auto; }
  /* video must not add intrinsic height, or it would inflate the grid rows */
  .work .tile.feature video { position: absolute; inset: 0; }
}
@media (max-width: 900px) {
  .work { grid-template-columns: repeat(2,1fr); }
  .work .tile.wide { grid-column: span 2; }
  .work .tile.feature { grid-row: auto; }
}
.card { text-decoration: none; color: inherit; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 56px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; border: 1px solid var(--line); border-radius: 24px;
  padding: 36px; background: rgba(10,10,20,0.5); overflow: hidden; }
.step .n { font-family:"Orbitron",sans-serif; font-weight:900; font-size: 2.6rem;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85; margin-bottom: 18px; }
.step h3 { font-family:"Orbitron",sans-serif; font-weight:800; font-size: 1.05rem;
  letter-spacing:.05em; color:#fff; margin-bottom: 12px; }
.step p { color: var(--muted); font-weight:300; line-height:1.65; font-size:.95rem; }

/* FAQ accordion */
.faq { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px;
  background: rgba(10,10,20,0.5); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(0,240,255,0.3); }
.faq-item summary { list-style: none; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; font-weight: 600; font-size: 1.02rem; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .svgi { color: var(--cyan); width: .85rem; height: .85rem; flex: none;
  transition: transform .35s; }
.faq-item[open] summary .svgi { transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px; }
.faq-a p { color: var(--muted); font-weight: 300; line-height: 1.7; font-size: .97rem; }

/* contact form */
#lead-form { max-width: 640px; margin: 44px auto 0; text-align: left; }
#lead-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { #lead-form .frow { grid-template-columns: 1fr; } }
#lead-form label { display: block; margin-bottom: 18px; }
#lead-form label span { display: block; font-family:"Orbitron",sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 8px; }
#lead-form input, #lead-form select, #lead-form textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; font: inherit; color: #fff;
  background: rgba(255,255,255,0.045); border: 1px solid var(--line);
  outline: none; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; }
#lead-form select { background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
  linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; }
#lead-form select option { background: var(--dark); color: #fff; }
#lead-form input::placeholder, #lead-form textarea::placeholder { color: var(--faint); }
#lead-form input:focus, #lead-form select:focus, #lead-form textarea:focus {
  border-color: rgba(0,240,255,0.5); box-shadow: 0 0 0 3px rgba(0,240,255,0.12); }
#lead-form textarea { resize: vertical; min-height: 110px; }
#lead-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; margin-top: 18px; color: var(--faint); font-size: .9rem; }
.form-note a { color: var(--cyan); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }
.form-status { text-align: center; margin-top: 14px; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--cyan); }
.form-status.err { color: #f43f5e; }

/* founder note */
.founder { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line);
  text-align: center; }
.founder p { color: var(--muted); font-weight: 300; line-height: 1.7;
  max-width: 520px; margin: 0 auto 16px; font-size: .97rem; }
.founder p b { color: #fff; font-weight: 600; }
.founder a { display: inline-flex; align-items: center; gap: 9px;
  color: var(--cyan); text-decoration: none; font-size: .92rem; font-weight: 600;
  padding: 10px 20px; border: 1px solid rgba(0,240,255,0.3); border-radius: 999px;
  transition: all .3s; }
.founder a:hover { background: rgba(0,240,255,0.1); box-shadow: 0 0 18px rgba(0,240,255,0.2); }

/* reduced motion: skip smooth scroll effects gracefully */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   The Edge — horizontal scroll section + decode typography
   ============================================================ */
.hscroll { position: relative; height: 420vh; z-index: 5; }
.hscroll .sticky { display: block; background: transparent; }
.hs-head { position: absolute; top: 14vh; left: 0; right: 0; z-index: 5; text-align: center; padding: 0 20px; }
.hs-head .h2 { font-size: clamp(1.5rem, 3.6vw, 2.6rem); }
.hs-track { position: absolute; top: 50%; left: 0; z-index: 5; display: flex; gap: 26px;
  padding: 0 clamp(20px, 6vw, 80px); transform: translateY(-42%); will-change: transform; }
.hs-card { flex: none; width: min(340px, 78vw); border-radius: 24px; padding: 34px 30px;
  background: rgba(6,6,14,0.58); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.hs-cat { font-family:"Orbitron",sans-serif; font-size: 10px; letter-spacing:.3em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.hs-num { font-family:"Orbitron",sans-serif; font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem);
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-num.small { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.hs-lbl { margin-top: 8px; font-size: 11px; letter-spacing:.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; }
.hs-card ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hs-card ul li { color: var(--muted); font-weight: 300; font-size: .92rem; padding-left: 18px; position: relative; }
.hs-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--edge, var(--cyan)); }
.svc-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 18px; margin-bottom: 20px; color: var(--edge, var(--cyan));
  border: 1px solid var(--edge, rgba(0,240,255,0.3)); background: rgba(255,255,255,0.04); }
.svc-card { border-color: color-mix(in srgb, var(--edge, #00F0FF) 30%, transparent); }
@media (max-width: 600px) { .hs-head { top: 12vh; } .hs-track { transform: translateY(-38%); } }

/* decode / scramble typography */
.reveal-line, .hs-num, .manifesto p { font-variant-ligatures: none; }
.line .typed-caret::after { content: "_"; color: var(--cyan); animation: pulse 1s infinite; }
