@font-face{font-family:"Archivo";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),url("/assets/fonts/archivo-var.woff2") format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/fonts/geist-var.woff2") format("woff2-variations"),url("/assets/fonts/geist-var.woff2") format("woff2")}
@font-face{font-family:"Geist Mono";font-style:normal;font-display:swap;font-weight:400;src:url("/assets/fonts/geist-mono-400.woff2") format("woff2")}
@font-face{font-family:"Geist Mono";font-style:normal;font-display:swap;font-weight:500;src:url("/assets/fonts/geist-mono-500.woff2") format("woff2")}

/* Vexel-x. Layout: pinned film stage with chapters scrolling over it, then a calm grid of content blocks on the same midnight ground. */
:root {
  --void: #050B1A;
  --deep: #0A1530;
  --panel: #0F1E44;
  --navy: #16306B;
  --signal: #2F7BFF;
  --signal-soft: rgba(47, 123, 255, .14);
  --white: #FFFFFF;
  --ink: #E8EEFB;
  --mist: #9AABD3;
  --line: rgba(154, 171, 211, .18);
  --live: #3DDC97;
  --amber: #F2B84B;
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--void); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.kicker .dot { width: 7px; height: 7px; background: var(--signal); transform: rotate(30deg); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: 0 0 12px var(--signal); }
.display { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(38px, 8.4vw, 116px); line-height: .92; letter-spacing: -.02em; margin: 0; text-wrap: balance; color: var(--white); }
.display em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.headline { font-family: var(--f-display); font-stretch: 118%; font-weight: 700; font-size: clamp(32px, 4.6vw, 64px); line-height: 1; letter-spacing: -.015em; margin: 14px 0 0; text-wrap: balance; color: var(--white); }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ink); max-width: 34ch; margin: 22px 0 0; }
.body { color: var(--mist); font-size: 17px; max-width: 46ch; margin: 18px 0 0; }
.body.narrow { max-width: 36ch; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 11, 26, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { max-width: 1240px; margin: 0 auto; height: 72px; display: flex; align-items: center; gap: 28px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--mist); font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
/* nav CTA: hexagon-cut pill that fills from the left */
.nav-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 20px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--white); border: 1px solid var(--signal); overflow: hidden; isolation: isolate; }
.nav-cta::before { content: ""; position: absolute; inset: 0; background: var(--signal); transform: translateX(-101%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.nav-cta:hover::before { transform: none; }
.nav-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } .nav-in { height: 64px; } .nav-logo img { height: 28px; } }

/* ---------- journey ---------- */
.journey { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--void); }
.stage-poster img, .stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-video { opacity: 0; transition: opacity .4s; }
.stage-video.ready { opacity: 1; }
.stage-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 11, 26, .78) 0%, rgba(5, 11, 26, .25) 45%, rgba(5, 11, 26, .25) 55%, rgba(5, 11, 26, .7) 100%),
  linear-gradient(180deg, rgba(5, 11, 26, .55) 0%, transparent 22%, transparent 70%, var(--void) 100%); }
.stage-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); }

.chapters { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; }
.chapter { min-height: 64vh; min-height: 64svh; display: flex; align-items: center; }
.chapter-1 { min-height: 92vh; min-height: 92svh; }
.chapter-in { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 4vw); padding-block: 56px; }
.chapter-in.right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.chapter-in.right .body { margin-left: auto; }
.chapter-in.right .tags { justify-content: flex-end; }
.chapter .body { color: #C6D2EE; }
.chapter .headline, .chapter .display, .chapter .body, .chapter .lede { text-shadow: 0 2px 18px rgba(5, 11, 26, .95), 0 0 42px rgba(5, 11, 26, .8); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.tags li { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border: 1px solid var(--line); background: rgba(10, 21, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 36px; }
/* hero CTA: solid signal slab with an arrow that drops on hover */
.cta-solid { display: inline-flex; align-items: center; gap: 12px; background: var(--signal); color: var(--white); text-decoration: none; font-weight: 600; padding: 15px 22px; box-shadow: 0 0 0 0 var(--signal-soft); transition: box-shadow .3s, transform .3s; }
.cta-solid svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s; }
.cta-solid:hover { box-shadow: 0 0 0 8px var(--signal-soft); }
.cta-solid:hover svg { transform: translateY(3px); }
/* secondary: underline that sweeps */
.cta-line { color: var(--white); font-weight: 500; text-decoration: none; background: linear-gradient(var(--white), var(--white)) left bottom / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .3s; }
.cta-line:hover { background-size: 30% 1px; }
/* chapter 4 CTA: mono label with sliding arrow */
.cta-arrow { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.cta-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--signal); stroke-width: 1.8; transition: transform .3s; }
.cta-arrow:hover svg { transform: translateX(6px); }

.scroll-cue { margin: 56px 0 0; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--signal), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.rail { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 40; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; transition: opacity .3s; }
.rail.off { opacity: 0; pointer-events: none; }
.rail li { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: transparent; }
.rail li::after { content: ""; width: 14px; height: 1px; background: var(--mist); transition: width .3s, background .3s; }
.rail li.on { color: var(--white); }
.rail li.on::after { width: 30px; background: var(--signal); }
@media (min-width: 761px) { .chapter-in { padding-right: max(96px, env(safe-area-inset-right, 0px), 4vw); } }
@media (max-width: 760px) { .display { font-stretch: 108%; font-size: clamp(38px, 11vw, 64px); } .rail { display: none; } .chapter-in.right { align-items: flex-start; text-align: left; } .chapter-in.right .body { margin-left: 0; } .chapter-in.right .tags { justify-content: flex-start; } }

/* ---------- blocks ---------- */
.block { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.contact .headline { font-size: clamp(30px, 3.8vw, 50px); }
.block-head { margin-bottom: clamp(40px, 5vw, 64px); }
.block-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* services: 2x2 grid with hairline separators */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 36px 36px 40px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 36px; padding-right: 0; }
.service-ic { width: 44px; height: 44px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.service h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.2; margin: 8px 0 0; color: var(--white); }
.service p { margin: 0; color: var(--mist); max-width: 42ch; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service, .service:nth-child(even) { padding: 30px 0; border-right: 0 !important; } }

/* portfolio */
.portfolio { background: linear-gradient(180deg, var(--void), var(--deep) 30%, var(--deep) 70%, var(--void)); }
.brands { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.brand-live { grid-row: span 2; display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.brand-live:hover { border-color: rgba(47, 123, 255, .6); }
.brand-media { aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: #12060A; }
.brand-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.brand-live:hover .brand-media img { transform: scale(1.04); }
.brand-body { padding: 28px; display: grid; gap: 8px; }
.brands h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 700; font-size: 28px; line-height: 1.1; margin: 6px 0 0; color: var(--white); }
.brands p { margin: 0; color: var(--mist); }
.visit { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--white); }
.visit svg { width: 15px; height: 15px; fill: none; stroke: var(--signal); stroke-width: 1.8; transition: transform .3s; }
.brand-live:hover .visit svg { transform: translate(3px, -3px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.status span { width: 8px; height: 8px; border-radius: 50%; }
.status.live { color: var(--live); }
.status.live span { background: var(--live); box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); animation: ping 2s infinite; }
.status.build { color: var(--amber); }
.status.build span { background: transparent; border: 1.5px dashed var(--amber); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }
.brand-next { padding: 28px; border: 1px dashed rgba(154, 171, 211, .35); display: grid; gap: 8px; align-content: start; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(154, 171, 211, .035) 14px 15px); }
.meter { margin-top: 16px; height: 4px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--navy), var(--signal)); }
@media (max-width: 860px) { .brands { grid-template-columns: 1fr; } .brand-live { grid-row: auto; } }

/* approach: horizontal sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 26px; }
.steps li:first-child::before { background: linear-gradient(90deg, var(--signal), var(--line)); }
.step-n { font-family: var(--f-mono); font-size: 12px; color: var(--signal); letter-spacing: .1em; }
.steps h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 26px; margin: 10px 0 8px; color: var(--white); }
.steps p { margin: 0; color: var(--mist); max-width: 28ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* contact */
.contact { border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 50% at 85% 20%, rgba(47, 123, 255, .12), transparent 70%), var(--void); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-facts { margin: 36px 0 0; display: grid; gap: 18px; }
.contact-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding-top: 3px; }
.contact-facts dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.contact-facts a { text-decoration: none; border-bottom: 1px solid var(--signal); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--deep); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .topics legend { font-size: 13px; font-weight: 500; color: var(--ink); }
.field i { font-style: normal; color: var(--mist); font-weight: 400; }
.field input, .field textarea { width: 100%; background: var(--void); border: 1px solid var(--line); color: var(--white); font: inherit; padding: 12px 14px; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.field.bad input, .field.bad textarea { border-color: #FF6B7A; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { margin-bottom: 8px; padding: 0; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; color: var(--mist); transition: all .2s; }
.topics input:checked + span { border-color: var(--signal); color: var(--white); background: var(--signal-soft); }
.topics input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 0; font-size: 13px; color: var(--mist); }
.consent a { color: var(--ink); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
/* send CTA: white block with a signal pulse that runs while sending */
.cta-send { position: relative; overflow: hidden; border: 0; cursor: pointer; background: var(--white); color: var(--void); font: inherit; font-weight: 600; padding: 15px 26px; transition: transform .2s; }
.cta-send:hover { transform: translateY(-2px); }
.cta-send .pulse { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--signal); }
.cta-send.busy { cursor: progress; }
.cta-send.busy .pulse { animation: sendbar 1.1s ease-in-out infinite; }
@keyframes sendbar { 0% { width: 0; left: 0; } 50% { width: 100%; left: 0; } 100% { width: 0; left: 100%; } }
.form-status { margin: 0; font-size: 14px; color: var(--mist); min-height: 1.4em; }
.form-status.ok { color: var(--live); }
.form-status.err { color: #FF8F9B; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); background: var(--void); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr; gap: 40px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { color: var(--mist); margin: 16px 0 0; }
.foot p { font-size: 14px; }
.foot-legal p { margin: 12px 0 0; color: var(--mist); }
.foot-legal strong { color: var(--white); font-weight: 600; letter-spacing: .04em; }
.foot-legal a, .foot-links a { color: var(--ink); text-decoration: none; }
.foot-links { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot-links .kicker { margin-bottom: 2px; }
.foot-legal a:hover, .foot-links a:hover { color: var(--signal); }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mist); }
.foot-base p { margin: 0; font-size: 13px; }
.to-top { color: var(--mist); text-decoration: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter-r) 90px var(--gutter-l); }
.doc h1 { font-family: var(--f-display); font-stretch: 118%; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; color: var(--white); margin: 12px 0 28px; }
.doc h2 { font-family: var(--f-display); font-stretch: 112%; font-size: 21px; color: var(--white); margin: 36px 0 8px; }
.doc p, .doc li { color: #C6D2EE; }
