/* ==========================================================================
   GBixels — site styles
   Brand system v1.0: Deep Indigo 60% · Electric Cyan 25% · Warm Accent ≤5%
   Inter (display / heading / body) · JetBrains Mono (labels)
   ========================================================================== */

:root {
  --indigo: #1B1B3A;
  --indigo-900: #12122B;
  --indigo-950: #0D0D20;
  --indigo-700: #24244F;
  --indigo-500: #3A3A6B;
  --muted: #8F92B0;
  --soft: #C6C9DC;
  --white: #F7F8FA;
  --cyan: #00D8FF;
  --cyan-hover: #67E8FF;
  --warm: #FF6B4A;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --u: 8px; /* one brand pixel unit */
  --radius: 4px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--indigo);
  color: var(--soft);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--indigo); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--indigo); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.label {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.label--muted { color: var(--muted); }
.display {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(44px, 7.4vw, 96px);
}
.h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); max-width: 60ch; }
.wm { font-family: var(--font); letter-spacing: -0.04em; color: var(--white); white-space: nowrap; }
.wm b { font-weight: 700; }
.wm span { font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cyan); color: var(--indigo); }
.btn--primary:hover { background: var(--cyan-hover); }
.btn--ghost { border-color: var(--indigo-500); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--dark { background: var(--indigo); color: var(--white); }
.btn--dark:hover { background: var(--indigo-700); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* pixel arrow used in links */
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }
.arrow--ne { transform: none; }
a:hover .arrow--ne { transform: translate(3px, -3px); }

/* ---------- Pixel patterns (brand section 07) ---------- */
.pat-grid {
  background-image:
    linear-gradient(var(--indigo-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--indigo-700) 1px, transparent 1px);
  background-size: 48px 48px;
}
.checker {
  height: 16px;
  background:
    conic-gradient(var(--cyan) 25%, var(--indigo-900) 0 50%, var(--cyan) 0 75%, var(--indigo-900) 0)
    0 0 / 16px 16px;
}
.checker--thin { height: 8px; background-size: 8px 8px; }
.dots {
  background-image: radial-gradient(var(--warm) 1.5px, transparent 1.6px);
  background-size: 16px 16px;
}

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .nav.is-open { background: rgba(18, 18, 43, .92); border-bottom-color: var(--indigo-700); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; }
.brand svg { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--soft); position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; position: relative; }
.nav__toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; width: 14px; background: var(--cyan); }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  /* backdrop-filter would become the containing block of the fixed menu panel */
  .nav.is-solid, .nav.is-open { background: var(--indigo-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px;
    background: var(--indigo-900);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { font-size: 26px; font-weight: 600; color: var(--white); padding: 16px 0; border-bottom: 1px solid var(--indigo-700); letter-spacing: -0.02em; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 24px; --bh: 56px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--deep { background: var(--indigo-900); }
.section--light { background: var(--white); color: var(--indigo); }
.section--light h2, .section--light h3 { color: var(--indigo); }
.section--light .label { color: var(--indigo-500); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .label { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.sec-head .label::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.sec-head p { color: var(--soft); max-width: 52ch; }
.section--light .sec-head p { color: var(--indigo-500); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 56px; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 30% 50%, var(--indigo) 30%, transparent 100%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border: 1px solid var(--indigo-500); border-radius: var(--radius); background: rgba(18,18,43,.6); margin-bottom: 32px; }
.hero__status i { width: 8px; height: 8px; background: var(--warm); animation: blink 1.6s steps(2, jump-none) infinite; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.hero__art rect { transition: transform 1.1s var(--ease), opacity .8s var(--ease); }
.js .hero__art rect { opacity: 0; }
.hero__meta { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--indigo-700); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll i { width: 4px; height: 4px; background: var(--cyan); animation: drop 1.8s var(--ease) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes drop { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 260px; }
  .hero__meta, .hero__scroll { display: none; }
}

/* ---------- Clients strip ---------- */
.clients { border-top: 1px solid var(--indigo-700); border-bottom: 1px solid var(--indigo-700); background: var(--indigo-900); }
.clients__in { display: flex; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.clients__label { flex: none; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__set { display: flex; gap: 48px; padding-right: 48px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.client { display: flex; align-items: center; gap: 12px; color: var(--soft); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; transition: color .2s; }
.client:hover { color: var(--white); }
.client__tile { width: 44px; height: 44px; padding: 7px; border-radius: 3px; flex: none; }
.client__tile img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .clients__in { flex-direction: column; align-items: flex-start; gap: 20px; } .marquee { width: 100%; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--indigo-700); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--indigo-700); }
.stat b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--white); margin-bottom: 12px; }
.stat b sup { font-size: .45em; color: var(--cyan); vertical-align: top; margin-left: 2px; }
.stat > span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { padding-bottom: 24px; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--indigo-700); border: 1px solid var(--indigo-700); }
.service { position: relative; background: var(--indigo); padding: 40px 32px 36px; display: flex; flex-direction: column; min-height: 100%; transition: background .3s var(--ease); overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { background: var(--indigo-900); }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 48px; height: 48px; margin-bottom: 32px; }
.service__num { position: absolute; top: 40px; right: 32px; color: var(--indigo-500); }
.service h3 { font-size: 23px; margin-bottom: 12px; }
.service p { font-size: 16px; margin-bottom: 24px; }
.service ul { margin-top: auto; display: grid; gap: 8px; }
.service li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.service li::before { content: ""; width: 6px; height: 6px; background: var(--indigo-500); flex: none; transition: background .3s; }
.service:hover li::before { background: var(--cyan); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service { padding: 32px 24px; } .service__num { top: 32px; right: 24px; } }

/* whole service card is clickable via the heading link */
.service__link { color: inherit; }
.service__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service:hover .service__link { color: var(--cyan); }
.service .card__more { margin-top: 16px; padding-top: 0; }
.service ul + .card__more { margin-top: 20px; }

.services--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .services--2 { grid-template-columns: 1fr; } }

.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 24px; padding: 28px 32px; border: 1px dashed var(--indigo-500); }
.services-cta p { color: var(--white); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.services-cta p span { color: var(--muted); font-weight: 400; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .work-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .work-grid, .work-grid--3 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: var(--indigo-900); border: 1px solid var(--indigo-700); transition: border-color .3s var(--ease), transform .4s var(--ease); }
.card:hover { border-color: var(--indigo-500); transform: translateY(-4px); }
.card[hidden] { display: none; }
.card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 26px; letter-spacing: -0.03em; }
.card p { font-size: 16px; }
.card__more { margin-top: auto; padding-top: 12px; color: var(--white); font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.card__more .arrow { color: var(--cyan); }

.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--indigo); display: grid; place-items: center; isolation: isolate; }
.cover.pat-grid { background-size: 32px 32px; background-position: center; }
.cover__px { position: absolute; width: 32px; height: 32px; background: var(--cyan); z-index: -1; transition: transform .6s var(--ease); }
.cover__px:nth-of-type(1) { right: 32px; top: 32px; }
.cover__px:nth-of-type(2) { right: 0; top: 0; }
.cover__px--muted { background: var(--indigo-500); }
.cover__tile { position: relative; width: 60%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.06); transition: transform .5s var(--ease); }
.cover__tile img { position: absolute; inset: 13% 11%; width: 78%; height: 74%; object-fit: contain; }
.card:hover .cover__tile { transform: scale(1.04); }
.card:hover .cover__px:nth-of-type(1) { transform: translate(-32px, 0); }
.cover__type { position: absolute; left: 16px; bottom: 14px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px/1 var(--mono); letter-spacing: .04em; padding: 7px 10px; border: 1px solid var(--indigo-700); color: var(--soft); border-radius: 2px; background: rgba(27,27,58,.5); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; background: transparent; border: 1px solid var(--indigo-500); color: var(--soft); border-radius: var(--radius); cursor: pointer; transition: all .2s var(--ease); }
.filter:hover { border-color: var(--cyan); color: var(--white); }
.filter[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--indigo); }
.filter sup { font-size: 10px; margin-left: 4px; opacity: .7; }

/* ---------- Process (light) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; }
.step__bar { display: flex; gap: 4px; margin-bottom: 28px; }
.step__bar i { height: 8px; flex: 1; background: #DDE0EC; transition: background .4s var(--ease); }
.step.is-in .step__bar i.on { background: var(--indigo); }
.step.is-in .step__bar i.on:last-child { background: var(--cyan); }
.step .label { margin-bottom: 12px; display: block; }
.step h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -0.03em; }
.step p { color: var(--indigo-500); font-size: 16px; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; gap: 48px 24px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Engagement ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px 32px; border: 1px solid var(--indigo-700); background: var(--indigo); position: relative; }
.plan--featured { border-color: var(--cyan); }
.plan__flag { position: absolute; top: -1px; right: 24px; transform: translateY(-50%); background: var(--cyan); color: var(--indigo); padding: 6px 10px; }
.plan h3 { font-size: 26px; margin: 16px 0 12px; letter-spacing: -0.03em; }
.plan > p { margin-bottom: 28px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--indigo-700); }
.plan li { display: flex; gap: 12px; align-items: baseline; color: var(--white); font-size: 16px; }
.plan li::before { content: ""; width: 8px; height: 8px; background: var(--cyan); flex: none; transform: translateY(-1px); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Stack ---------- */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--indigo-700); }
.stack__col { padding: 32px 28px; }
.stack__col + .stack__col { border-left: 1px solid var(--indigo-700); }
.stack__col .label { margin-bottom: 20px; display: block; }
.stack__col li { font-size: 17px; color: var(--white); padding: 8px 0; border-bottom: 1px dashed var(--indigo-700); font-weight: 500; }
.stack__col li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr 1fr; } .stack__col:nth-child(3) { border-left: 0; } .stack__col:nth-child(n+3) { border-top: 1px solid var(--indigo-700); } }
@media (max-width: 520px) { .stack { grid-template-columns: 1fr; } .stack__col + .stack__col { border-left: 0; border-top: 1px solid var(--indigo-700); } }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.principle svg { width: 40px; height: 40px; margin-bottom: 24px; }
.principle h3 { font-size: 24px; margin-bottom: 10px; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-wrap .sec-head { grid-template-columns: 1fr; margin-bottom: 0; align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq details { border-bottom: 1px solid var(--indigo-700); }
.faq details:first-child { border-top: 1px solid var(--indigo-700); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--cyan); left: 0; top: 7px; width: 16px; height: 2px; transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 48px 28px 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 40px; } .faq-wrap .sec-head { position: static; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.contact__info .h2 { margin: 16px 0 24px; }
.contact__info .lead { margin-bottom: 40px; }
.contact__list { display: grid; gap: 0; border-top: 1px solid var(--indigo-700); }
.contact__list a, .contact__list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--indigo-700); color: var(--white); font-weight: 500; transition: color .2s; min-width: 0; }
.contact__list a span:last-child { overflow: hidden; text-overflow: ellipsis; }
.contact__list a:hover { color: var(--cyan); }
.contact__list .label { color: var(--muted); flex: none; }
.form { background: var(--indigo-900); border: 1px solid var(--indigo-700); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field__title { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--indigo); border: 1px solid var(--indigo-500); border-radius: var(--radius);
  padding: 14px 16px; color: var(--white); font-size: 16px; transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; position: relative; }
.field .pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 14px; border: 1px solid var(--indigo-500); border-radius: var(--radius); font: 500 14px/1 var(--font); color: var(--soft); text-transform: none; letter-spacing: 0; transition: all .2s; }
.pills input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--indigo); }
.pills input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { grid-column: 1 / -1; font-size: 15px; color: var(--white); padding: 14px 16px; border-left: 3px solid var(--cyan); background: var(--indigo); }
.form__status[hidden] { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { margin-top: 20px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero.pat-grid { background-position: center top; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--indigo) 100%); pointer-events: none; }
.page-hero > .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--muted); }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: var(--cyan); }
.page-hero .display { font-size: clamp(40px, 6.4vw, 84px); margin: 16px 0 24px; max-width: 16ch; }

/* ---------- Project page ---------- */
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 64px; align-items: end; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { border: 1px solid var(--indigo-700); background: rgba(18,18,43,.7); }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 16px 20px; }
.facts div + div { border-top: 1px solid var(--indigo-700); }
.facts dt { font: 500 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--white); font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.facts dd a { color: var(--cyan); }
.facts dd a:hover { color: var(--cyan-hover); }
@media (max-width: 900px) { .p-hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.showcase { padding-bottom: clamp(56px, 8vw, 96px); }
.browser { border: 1px solid var(--indigo-500); border-radius: 6px; overflow: hidden; background: var(--indigo-900); }
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--indigo-700); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; background: var(--indigo-500); }
.browser__dots i:first-child { background: var(--warm); }
.browser__url { flex: 1; min-width: 0; font: 500 13px/1 var(--mono); color: var(--muted); padding: 8px 12px; background: var(--indigo); border-radius: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__url:hover { color: var(--cyan); }
.browser > img { width: 100%; height: auto; }
.browser .cover { aspect-ratio: 16 / 7; }
.browser .cover__tile { width: 36%; }
@media (max-width: 600px) { .browser .cover { aspect-ratio: 4 / 3; } .browser .cover__tile { width: 64%; } }

.p-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; margin-top: 56px; display: flex; align-items: center; gap: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: ""; width: 10px; height: 10px; background: var(--cyan); flex: none; }
.prose p { font-size: 18px; max-width: 68ch; }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--indigo-700); }
.ticks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--indigo-700); color: var(--white); font-size: 17px; }
.ticks li span { font: 500 13px/1.9 var(--mono); color: var(--cyan); }
.side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 24px; }
.side__box { border: 1px solid var(--indigo-700); padding: 24px; }
.side__box .label { display: block; margin-bottom: 16px; }
.side__list li { padding: 8px 0; color: var(--white); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.side__list li::before { content: ""; width: 6px; height: 6px; background: var(--cyan); flex: none; }
.side__cta { background: var(--cyan); color: var(--indigo); padding: 28px 24px; }
.side__cta h3 { color: var(--indigo); font-size: 22px; margin-bottom: 8px; }
.side__cta p { font-size: 15px; margin-bottom: 20px; color: var(--indigo-700); }
.side__cta .label { color: var(--indigo); }
@media (max-width: 960px) { .p-body { grid-template-columns: 1fr; gap: 56px; } .side { position: static; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--indigo-700); border-bottom: 1px solid var(--indigo-700); }
.pager a { padding: 40px var(--gutter); display: grid; gap: 10px; transition: background .25s; }
.pager a:hover { background: var(--indigo-900); }
.pager a + a { border-left: 1px solid var(--indigo-700); text-align: right; }
.pager strong { color: var(--white); font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager a + a { border-left: 0; border-top: 1px solid var(--indigo-700); text-align: left; } }

/* ---------- Founders ---------- */
.founders { display: grid; gap: clamp(56px, 8vw, 104px); }
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--indigo-700); }
.founder:last-child { border-bottom: 0; padding-bottom: 0; }
.founder__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.founder__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border: 1px solid var(--indigo-700); border-radius: var(--radius); background: var(--indigo-900); }
.founder__photo--empty { display: grid; place-content: center; gap: 16px; justify-items: center; background: var(--indigo-900) linear-gradient(0deg, rgba(0,216,255,.04), rgba(0,216,255,.04)); }
.founder__photo--empty svg { width: 96px; height: auto; opacity: .5; }
.founder__photo--empty span { font: 700 40px/1 var(--font); letter-spacing: -0.04em; color: var(--indigo-500); }
.founder__body h2 { margin-top: 12px; }
.founder__text { margin-top: 20px; display: grid; gap: 8px; }
.founder__headline { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--cyan); max-width: 32ch; }
.founder__stat { display: flex; align-items: center; gap: 16px; margin: 20px 0 16px; padding: 16px 20px; border: 1px solid var(--indigo-700); border-left: 3px solid var(--cyan); background: var(--indigo-900); width: fit-content; max-width: 100%; }
.founder__stat b { font-size: clamp(40px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--white); white-space: nowrap; }
.founder__stat > span { color: var(--soft); font-size: 16px; line-height: 1.4; max-width: 24ch; }
.founder__block { margin-top: 32px; }
.founder__block > .label { display: block; margin-bottom: 16px; }
.founder__links { display: flex; flex-wrap: wrap; gap: 8px; }
.founder__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--indigo-500); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--white);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.founder__link:hover { border-color: var(--cyan); color: var(--cyan); background: var(--indigo-900); }
.founder__link .arrow { color: var(--cyan); }

.timeline { display: grid; border-top: 1px solid var(--indigo-700); }
.timeline li { padding: 18px 0; border-bottom: 1px solid var(--indigo-700); display: grid; gap: 6px; }
.timeline li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.timeline strong { color: var(--white); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.timeline li > div span { color: var(--cyan); font-size: 15px; font-weight: 500; }
.timeline p { font-size: 16px; }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder__side { position: static; max-width: 220px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--indigo-950); padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 64px; }
.footer__brand .brand { font-size: 28px; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; color: var(--muted); font-size: 15px; }
.footer h2 { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--soft); font-size: 15px; transition: color .2s; overflow-wrap: anywhere; }
.footer li a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--indigo-700); color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.notfound .display { font-size: clamp(96px, 20vw, 220px); }
.notfound p { margin: 16px auto 32px; max-width: 44ch; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@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; }
  .marquee__track { animation: none; }
}
