﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --black: #070b16;
  --navy: #101b30;
  --blue: #087dff;
  --cyan: #51dfff;
  --white: #f4f8ff;
  --steel: #8498b8;
  --line: rgba(132, 152, 184, .2);
  --display: 'Space Grotesk', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 6%, rgba(8, 125, 255, .11), transparent 32%),
    radial-gradient(ellipse at 12% 43%, rgba(81, 223, 255, .035), transparent 28%),
    linear-gradient(180deg, var(--black), var(--navy) 56%, var(--black));
}
body > .world-layer { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .66; }
.world-layer #universe { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-fallback { position: absolute; inset: 0; overflow: hidden; opacity: 0; }
.world-fallback::before, .world-fallback::after {
  position: absolute; left: 73%; top: 48%; width: min(54vw, 690px); aspect-ratio: 1;
  content: ''; border: 1px solid rgba(81, 223, 255, .28); border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-22deg) scaleY(.68);
  box-shadow: 0 0 44px rgba(8, 125, 255, .14), inset 0 0 42px rgba(8, 125, 255, .08);
}
.world-fallback::after {
  width: min(66vw, 820px); border-color: rgba(8, 125, 255, .22);
  transform: translate(-50%, -50%) rotate(25deg) scaleY(.48);
}
.world-layer.scene-fallback #universe { display: none; }
.world-layer.scene-fallback .world-fallback { opacity: 1; }
header, main, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%);
  background: var(--cyan); color: var(--black); padding: 10px 16px;
}
.skip-link:focus { transform: none; }

/* Shared navigation and brand */
.site-header {
  height: 82px; position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 22, .78); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(132, 152, 184, .12);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 18px/1 var(--display); letter-spacing: .15em; }
.brand-mark {
  width: 34px; height: 34px; position: relative; display: grid; place-items: center;
  border: 1px solid rgba(81, 223, 255, .58); color: var(--cyan); font-size: 21px;
  letter-spacing: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 0 8px rgba(8, 125, 255, .4));
}
.brand-mark span { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.brand-type { display: grid; gap: 4px; }
.brand-type small { font: 500 7px/1 var(--body); letter-spacing: .24em; color: var(--steel); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 11px; font-weight: 500; color: rgba(244, 248, 255, .78); }
.nav-links a { position: relative; padding: 8px 0; transition: color .22s ease; }
.nav-links a:not(.nav-contact)::after {
  position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: '';
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .28s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-contact {
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(81, 223, 255, .36); padding: 9px 14px !important;
  color: var(--white) !important; transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav-contact:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(8, 125, 255, .2); }
.nav-contact span { margin-left: 10px; color: var(--cyan); }
.menu-toggle { display: none; }

/* Hero / 3D experience */
.hero {
  min-height: min(850px, calc(100svh - 82px)); min-height: max(700px, min(850px, calc(100svh - 82px)));
  position: relative; display: flex; align-items: center; padding-block: 100px 112px;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none;
  background: radial-gradient(ellipse at 64% 48%, rgba(16, 27, 48, .16), transparent 56%);
}
.hero-content { width: min(820px, 76%); position: relative; z-index: 2; }
.eyebrow, .section-kicker, .card-index, .section-meta {
  color: var(--steel); font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(81, 223, 255, .8); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 6.15vw, 82px); margin: 30px 0 25px; }
h1 span { display: block; }
.accent-line { color: var(--cyan); text-shadow: 0 0 32px rgba(81, 223, 255, .25); }
.hero-copy { max-width: 570px; color: rgba(244, 248, 255, .72); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-index { position: absolute; right: 0; bottom: 26px; left: 0; display: flex; justify-content: space-between; color: rgba(132, 152, 184, .68); font-size: 9px; letter-spacing: .17em; }

/* Buttons and links */
.button {
  --magnet-x: 0px; --magnet-y: 0px; --light-x: 50%; --light-y: 50%;
  min-height: 49px; position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; justify-content: center; align-items: center; gap: 22px;
  padding: 0 20px; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  transition: transform .26s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s, background .25s;
  transform: translate(var(--magnet-x), var(--magnet-y));
}
.button::before, .nav-contact::before {
  position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; opacity: 0;
  background: radial-gradient(150px circle at var(--light-x, 50%) var(--light-y, 50%), rgba(81, 223, 255, .28), transparent 72%);
  transition: opacity .25s;
}
.cursor-aware:hover::before { opacity: 1; }
.button:hover { box-shadow: 0 10px 36px rgba(8, 125, 255, .2); }
.button:active { transform: translate(var(--magnet-x), var(--magnet-y)) scale(.975); }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 35px rgba(8, 125, 255, .24); }
.button-primary:hover { background: #087dff; box-shadow: 0 10px 42px rgba(8, 125, 255, .34); }
.button-outline { border: 1px solid rgba(132, 152, 184, .38); color: var(--white); }
.button-outline:hover { border-color: var(--cyan); background: rgba(81, 223, 255, .055); }
.button-light { background: var(--white); color: var(--black); }
.button span, .text-link span { color: var(--cyan); font-size: 16px; }
.button-light span { color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(132, 152, 184, .3); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--cyan); border-color: var(--cyan); }

/* Sections / content */
.section { position: relative; padding-block: 118px; }
.section::before { position: absolute; z-index: -1; inset: 0; content: ''; pointer-events: none; opacity: .48; background: radial-gradient(ellipse at 92% 14%, rgba(8, 125, 255, .055), transparent 35%); }
.section-rule { border-block: 1px solid var(--line); background: linear-gradient(110deg, rgba(16, 27, 48, .5), rgba(7, 11, 22, .34)); }
.section-kicker { margin-bottom: 31px; }
.section-kicker span { color: var(--cyan); padding-inline: 7px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12%; align-items: start; }
.intro h2, .section-heading h2, .page-hero h1 { margin: 0; font-size: clamp(36px, 5.3vw, 66px); }
.muted { color: rgba(132, 152, 184, .68); }
.intro-grid > div { padding-top: 4px; color: rgba(244, 248, 255, .67); font-size: 14px; }
.lead { color: rgba(244, 248, 255, .9); font-size: 17px; line-height: 1.75; }
.intro-grid .text-link { margin-top: 17px; color: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.section-heading .section-kicker { margin-bottom: 25px; }
.section-heading > p { max-width: 350px; margin: 0 0 3px; color: rgba(244, 248, 255, .66); font-size: 13px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 35px; }
.service-row {
  --light-x: 50%; --light-y: 50%;
  min-height: 248px; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(220px circle at var(--light-x) var(--light-y), rgba(81, 223, 255, .09), transparent 78%), linear-gradient(145deg, rgba(16, 27, 48, .84), rgba(7, 11, 22, .64));
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.2,.8,.2,1);
}
.service-row:hover { border-color: rgba(81, 223, 255, .42); box-shadow: 0 16px 44px rgba(7, 11, 22, .2), 0 0 24px rgba(8, 125, 255, .08); }
.row-number { color: var(--cyan); font-size: 12px; }
.service-row h3 { margin: 35px 0 10px; font-size: 17px; letter-spacing: .04em; }
.service-row p { max-width: 620px; margin: 0; color: rgba(244, 248, 255, .67); font-size: 13px; }
.row-arrow { position: absolute; top: 19px; right: 22px; color: var(--cyan); font-size: 20px; transition: transform .25s; }
.service-row:hover .row-arrow { transform: translate(3px, -3px); }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; perspective: 1100px; }
.package-card {
  --light-x: 50%; --light-y: 50%;
  min-height: 270px; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 25px 24px 20px;
  border: 1px solid var(--line);
  background: radial-gradient(210px circle at var(--light-x) var(--light-y), rgba(81, 223, 255, .075), transparent 78%), linear-gradient(145deg, rgba(16, 27, 48, .86), rgba(9, 16, 29, .53));
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: border-color .3s, transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.package-card:hover { border-color: rgba(81, 223, 255, .48); box-shadow: 0 18px 50px rgba(7, 11, 22, .18), 0 0 30px rgba(8, 125, 255, .08); }
.package-featured { border-color: rgba(8, 125, 255, .56); background: radial-gradient(220px circle at var(--light-x) var(--light-y), rgba(81, 223, 255, .1), transparent 78%), linear-gradient(145deg, rgba(8, 125, 255, .14), rgba(16, 27, 48, .64)); }
.card-index { color: var(--cyan); }
.package-card h3 { margin: 35px 0 10px; font-size: 24px; letter-spacing: .01em; }
.package-card p { max-width: 280px; color: rgba(244, 248, 255, .65); font-size: 13px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: rgba(244, 248, 255, .84); font-size: 11px; }
.card-bottom a { color: var(--cyan); font-size: 18px; transition: transform .2s; }
.card-bottom a:hover { transform: translate(3px, -3px); }

.brand-section { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 27, 48, .52), rgba(7, 11, 22, .28)); }
.section-meta { padding-bottom: 10px; }
.identity-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8%; align-items: center; }
.identity-visual {
  min-height: 350px; position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.38;
  border: 1px solid rgba(132, 152, 184, .2);
  background: radial-gradient(ellipse at 52% 50%, rgba(8, 125, 255, .19), transparent 46%), linear-gradient(145deg, var(--navy), var(--black));
}
.identity-orbit { position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(81, 223, 255, .24); border-radius: 50%; transform: scaleY(.56) rotate(-22deg); }
.identity-orbit-a { box-shadow: 0 0 22px rgba(8, 125, 255, .08), inset 0 0 22px rgba(8, 125, 255, .045); }
.identity-orbit-b { width: 88%; border-color: rgba(8, 125, 255, .28); transform: scaleY(.42) rotate(25deg); }
.identity-orbit-c { width: 61%; border-style: dashed; border-color: rgba(81, 223, 255, .18); transform: scaleY(.78) rotate(68deg); }
.identity-core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.identity-symbol { color: rgba(81, 223, 255, .58); font: 500 66px/.9 var(--display); text-shadow: 0 0 30px rgba(8, 125, 255, .3); }
.identity-wordmark { font: 700 21px/1 var(--display); letter-spacing: .22em; }
.identity-descriptor { color: var(--steel); font-size: 8px; letter-spacing: .25em; }
.identity-coordinate { position: absolute; right: 19px; bottom: 17px; color: var(--steel); font-size: 8px; letter-spacing: .16em; }
.identity-signal { position: absolute; top: 19%; left: 25%; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 3px rgba(81, 223, 255, .42); }
.identity-copy .eyebrow { color: var(--cyan); }
.identity-copy h3 { margin: 23px 0 16px; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
.identity-copy > p:not(.eyebrow) { margin-bottom: 23px; color: rgba(244, 248, 255, .67); font-size: 13px; line-height: 1.85; }
.portfolio-empty { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 8%; }
.portfolio-empty-art {
  min-height: 350px; position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.38;
  border: 1px solid rgba(132, 152, 184, .2);
  background: radial-gradient(ellipse at 52% 50%, rgba(8, 125, 255, .16), transparent 46%), linear-gradient(145deg, var(--navy), var(--black));
}
.empty-index, .empty-coordinate { position: absolute; z-index: 2; color: var(--steel); font-size: 8px; letter-spacing: .17em; }
.empty-index { top: 20px; left: 22px; }
.empty-coordinate { right: 20px; bottom: 18px; }
.empty-orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(81, 223, 255, .22); border-radius: 50%; transform: scaleY(.55) rotate(-24deg); }
.empty-orbit-a { box-shadow: 0 0 26px rgba(8, 125, 255, .1); }
.empty-orbit-b { width: 90%; border-color: rgba(8, 125, 255, .28); transform: scaleY(.43) rotate(26deg); }
.empty-orbit-c { width: 60%; border-style: dashed; border-color: rgba(81, 223, 255, .17); transform: scaleY(.8) rotate(68deg); }
.empty-brand { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font: 700 22px/1 var(--display); letter-spacing: .2em; }
.empty-brand small { color: var(--steel); font: 500 8px/1 var(--body); letter-spacing: .24em; }
.portfolio-empty-copy .eyebrow { color: var(--cyan); }
.portfolio-empty-copy h2 { margin: 20px 0 15px; font-size: clamp(25px, 3vw, 36px); line-height: 1.2; }
.portfolio-empty-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 25px; color: rgba(244, 248, 255, .67); font-size: 13px; line-height: 1.85; }
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 37px; border-top: 1px solid var(--line); }
.steps-grid::before { position: absolute; top: 31px; right: 7%; left: 7%; height: 1px; content: ''; background: linear-gradient(90deg, rgba(8, 125, 255, .18), rgba(81, 223, 255, .68), rgba(8, 125, 255, .18)); }
.steps-grid article {
  --light-x: 50%; --light-y: 50%;
  position: relative; padding: 23px 23px 15px 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(160px circle at var(--light-x) var(--light-y), rgba(81, 223, 255, .055), transparent 80%);
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .3s, background .3s;
}
.steps-grid article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.steps-grid article > span { position: relative; z-index: 1; display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(81, 223, 255, .42); border-radius: 50%; background: var(--black); color: var(--cyan); font-size: 10px; box-shadow: 0 0 18px rgba(8, 125, 255, .16); }
.steps-grid h3 { margin: 24px 0 10px; font-size: 13px; letter-spacing: .04em; }
.steps-grid p { margin: 0; color: rgba(244, 248, 255, .62); font-size: 12px; line-height: 1.75; }
.tilt-card { will-change: transform; }

.contact-band { position: relative; overflow: hidden; border-block: 1px solid rgba(81, 223, 255, .2); background: linear-gradient(110deg, rgba(8, 125, 255, .13), rgba(16, 27, 48, .68) 65%, rgba(16, 27, 48, .5)); }
.contact-band::after {
  position: absolute; top: -240px; right: -130px; width: 570px; height: 570px; content: '';
  border: 1px solid rgba(81, 223, 255, .15); border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(81, 223, 255, .025), 0 0 0 110px rgba(81, 223, 255, .02); pointer-events: none;
}
.contact-band-inner { position: relative; z-index: 1; padding-block: 90px; }
.contact-band .section-kicker { margin-bottom: 22px; color: var(--cyan); }
.contact-band h2 { max-width: 790px; margin-bottom: 18px; font-size: clamp(30px, 4.2vw, 52px); }
.contact-band p { max-width: 550px; margin-bottom: 26px; color: rgba(244, 248, 255, .72); font-size: 14px; }
.site-footer { position: relative; z-index: 1; padding: 60px 0 20px; background: rgba(7, 11, 22, .9); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; padding-bottom: 48px; }
.footer-brand p { margin-top: 19px; color: rgba(132, 152, 184, .86); font-size: 12px; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: rgba(244, 248, 255, .63); font-size: 11px; }
.footer-col h2 { margin-bottom: 10px; color: var(--white); font: 600 11px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: rgba(132, 152, 184, .82); font-size: 10px; }
.footer-bottom a:hover { color: var(--cyan); }

/* Supporting pages */
.page-hero {
  position: relative; overflow: hidden; padding: 118px 0 75px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 82% 28%, rgba(8, 125, 255, .14), transparent 43%), linear-gradient(110deg, rgba(16, 27, 48, .3), transparent 70%);
}
.page-hero::after {
  position: absolute; top: -190px; right: 4%; width: 420px; aspect-ratio: 1; content: '';
  border: 1px solid rgba(81, 223, 255, .09); border-radius: 50%; transform: scaleY(.62) rotate(-22deg);
  box-shadow: 0 0 0 25px rgba(81, 223, 255, .015), 0 0 0 66px rgba(8, 125, 255, .025); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 25px; color: var(--cyan); }
.page-hero h1 { max-width: 920px; }
.page-hero > .wrap > p:last-child { max-width: 660px; margin: 23px 0 0; color: rgba(244, 248, 255, .7); font-size: 15px; line-height: 1.8; }
.page-content { padding-block: 74px 110px; }
.content-block { max-width: 850px; margin-bottom: 68px; }
.content-block h2 { margin-bottom: 20px; font-size: clamp(25px, 3vw, 36px); }
.content-block p, .content-block li { color: rgba(244, 248, 255, .68); font-size: 14px; line-height: 1.9; }
.content-block ul { padding-left: 20px; }
.detail-list { border-top: 1px solid var(--line); }
.detail-item { display: grid; grid-template-columns: 85px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-item > span { color: var(--cyan); font-size: 12px; }
.detail-item h2, .detail-item h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: .01em; }
.detail-item p { max-width: 680px; margin: 0; color: rgba(244, 248, 255, .65); font-size: 13px; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px; border: 1px solid var(--line); background: radial-gradient(260px circle at 85% 50%, rgba(8, 125, 255, .11), transparent 80%), rgba(16, 27, 48, .5); }
.page-cta h2 { margin: 0; font-size: 22px; }
.legal-note { padding: 22px; border-left: 2px solid var(--cyan); background: rgba(16, 27, 48, .55); color: rgba(244, 248, 255, .78); font-size: 14px; }
.form-shell { max-width: 720px; padding: 32px; border: 1px solid var(--line); background: rgba(16, 27, 48, .52); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: rgba(244, 248, 255, .84); font-size: 11px; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(132, 152, 184, .34); border-radius: 0; background: rgba(7, 11, 22, .76); padding: 12px; color: var(--white); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(81, 223, 255, .08); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }
.form-note { margin: 20px 0; color: rgba(132, 152, 184, .9); font-size: 11px; }
.form-shell button:disabled { opacity: .55; cursor: not-allowed; }
.form-shell [role="status"] { color: var(--cyan); font-size: 12px; }
.contact-alternative { padding: 22px; border: 1px solid var(--line); color: rgba(244, 248, 255, .67); font-size: 13px; }
.contact-alternative strong { display: block; margin-bottom: 6px; color: var(--white); }
.about-mark { padding: 55px 0; color: rgba(81, 223, 255, .11); font: 700 clamp(90px, 18vw, 210px)/.8 var(--display); letter-spacing: -.1em; text-align: center; }

/* Scroll reveals remain opt-in and content is never hidden without motion support. */
.reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .72s ease var(--reveal-delay, 0ms), transform .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (max-width: 900px) {
  .nav-links { gap: 19px; }
  .nav-links a { font-size: 10px; }
  .hero { min-height: 650px; }
  .hero-content { width: 82%; }
  body > .world-layer { opacity: .56; }
  .section { padding-block: 90px; }
  .intro-grid { gap: 7%; }
  .identity-grid, .portfolio-empty { gap: 5%; }
  .footer-main { gap: 25px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 70px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px solid var(--line); background: transparent; color: var(--white); }
  .menu-toggle i { width: 17px; height: 1px; display: block; background: var(--white); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .js .nav-links {
    position: absolute; top: 69px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; visibility: hidden; padding: 0 20px;
    background: rgba(7, 11, 22, .97); border-bottom: 1px solid transparent;
    opacity: 0; transform: translateY(-10px); transition: max-height .38s ease, opacity .25s ease, transform .3s ease, visibility .3s;
  }
  .js .nav-links.is-open { max-height: 440px; visibility: visible; padding: 13px 20px 24px; border-color: var(--line); opacity: 1; transform: translateY(0); }
  .js .nav-links a { padding: 13px 4px; border-bottom: 1px solid rgba(132, 152, 184, .12); font-size: 13px; }
  .js .nav-links .nav-contact { margin-top: 12px; padding: 12px; border: 1px solid rgba(81, 223, 255, .36); }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .nav { height: auto; min-height: 70px; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-links { position: static; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px 10px; width: 100%; padding: 8px 0 0; background: transparent; border: 0; }
  html:not(.js) .nav-links a { padding: 5px 2px; border: 0; }
  html:not(.js) .nav-links .nav-contact { margin: 0; padding: 5px 8px; }
  html:not(.js) .menu-toggle { display: none; }
  .hero { min-height: max(650px, calc(100svh - 70px)); padding-block: 85px 105px; }
  .hero-content { width: 100%; }
  body > .world-layer { opacity: .46; }
  .world-fallback::before, .world-fallback::after { left: 72%; width: min(88vw, 500px); }
  .world-fallback::after { width: min(106vw, 610px); }
  h1 { margin: 25px 0 22px; font-size: clamp(39px, 10.2vw, 66px); }
  .hero-copy { max-width: 500px; font-size: 14px; }
  .hero-index { bottom: 20px; font-size: 8px; }
  .section { padding-block: 76px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-list { grid-template-columns: 1fr; }
  .service-row { min-height: 210px; }
  .intro h2, .section-heading h2, .page-hero h1 { font-size: clamp(34px, 9vw, 54px); }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 20px; }
  .section-heading > .text-link, .section-meta { display: inline-flex; margin-top: 20px; }
  .package-grid { grid-template-columns: 1fr; gap: 10px; }
  .package-card { min-height: 230px; }
  .package-card h3 { margin-top: 28px; }
  .identity-grid, .portfolio-empty { grid-template-columns: 1fr; gap: 32px; }
  .identity-visual, .portfolio-empty-art { min-height: 280px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .steps-grid article { padding: 20px 12px 20px 0; }
  .steps-grid article + article { padding-left: 14px; }
  .steps-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-band-inner { padding-block: 69px; }
  .contact-band h2 { font-size: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 33px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  .page-hero { padding: 80px 0 55px; }
  .page-content { padding-block: 54px 80px; }
  .detail-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .page-cta { align-items: flex-start; flex-direction: column; }
  .form-shell { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 16px; }
  .brand-type small { font-size: 6px; }
  .hero { min-height: 650px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-index span:last-child { max-width: 180px; text-align: right; }
  .steps-grid h3 { font-size: 11px; }
  .contact-band h2 { font-size: 30px; }
  .footer-bottom { font-size: 9px; }
}

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

/* Separate ambient Three.js worlds for the eight supporting pages. */
body > .page-world-layer {
  position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none;
  opacity: .42; transition: opacity .5s ease;
}
.page-world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-world-fallback { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .4s ease; }
.page-world-layer.is-fallback .page-world-canvas { display: none; }
.page-world-layer.is-fallback .page-world-fallback { opacity: 1; }
.page-world-layer.is-engaged { opacity: .68; }
.page-world-layer[data-world="shield"],
.page-world-layer[data-world="framework"] { opacity: .2; }
.page-world-layer[data-world="shield"].is-engaged,
.page-world-layer[data-world="framework"].is-engaged { opacity: .2; }
.page-world-fallback::before,
.page-world-fallback::after {
  position: absolute; left: 74%; top: 48%; width: min(50vw, 650px); aspect-ratio: 1;
  content: ''; border: 1px solid rgba(81, 223, 255, .24); opacity: .85;
  transform: translate(-50%, -50%);
}
.page-world-layer[data-world="architecture"] .page-world-fallback::before {
  border-radius: 8px; transform: translate(-50%, -50%) rotate(32deg) scaleY(.62);
  box-shadow: inset 0 0 50px rgba(8,125,255,.08), 0 0 48px rgba(8,125,255,.12);
}
.page-world-layer[data-world="architecture"] .page-world-fallback::after {
  width: min(34vw, 430px); border-color: rgba(8,125,255,.25); transform: translate(-50%,-50%) rotate(32deg) scaleY(.62);
}
.page-world-layer[data-world="vault"] .page-world-fallback::before,
.page-world-layer[data-world="vault"] .page-world-fallback::after,
.page-world-layer[data-world="core"] .page-world-fallback::before,
.page-world-layer[data-world="core"] .page-world-fallback::after,
.page-world-layer[data-world="connection"] .page-world-fallback::before,
.page-world-layer[data-world="connection"] .page-world-fallback::after { border-radius: 50%; }
.page-world-layer[data-world="vault"] .page-world-fallback::before { box-shadow: inset 0 0 65px rgba(8,125,255,.13), 0 0 42px rgba(81,223,255,.12); transform: translate(-50%,-50%) scaleY(.68); }
.page-world-layer[data-world="vault"] .page-world-fallback::after { width: min(38vw,490px); border-color: rgba(8,125,255,.27); transform: translate(-50%,-50%) rotate(44deg) scaleY(.68); }
.page-world-layer[data-world="journey"] .page-world-fallback::before { width: min(37vw, 480px); height: 160vh; aspect-ratio: auto; border-radius: 50%; transform: translate(-50%,-50%) perspective(500px) rotateX(4deg) scaleY(.62); box-shadow: 0 0 45px rgba(8,125,255,.14); }
.page-world-layer[data-world="journey"] .page-world-fallback::after { width: min(30vw,390px); height: 140vh; aspect-ratio: auto; border-radius: 50%; border-color: rgba(81,223,255,.16); transform: translate(-50%,-50%) perspective(500px) rotateX(4deg) scaleY(.62); }
.page-world-layer[data-world="gallery"] .page-world-fallback::before { width: min(58vw, 750px); height: min(39vw, 500px); aspect-ratio: auto; transform: translate(-50%,-50%) perspective(700px) rotateY(-16deg); box-shadow: 0 0 36px rgba(8,125,255,.1); }
.page-world-layer[data-world="gallery"] .page-world-fallback::after { width: min(21vw,270px); height: min(34vw,435px); aspect-ratio: auto; transform: translate(8%,-50%) perspective(700px) rotateY(-16deg); border-color: rgba(81,223,255,.35); }
.page-world-layer[data-world="core"] .page-world-fallback::before { box-shadow: inset 0 0 58px rgba(8,125,255,.15), 0 0 42px rgba(81,223,255,.12); transform: translate(-50%,-50%) rotate(-24deg) scaleY(.58); }
.page-world-layer[data-world="core"] .page-world-fallback::after { width: min(62vw,800px); border-color: rgba(8,125,255,.18); transform: translate(-50%,-50%) rotate(34deg) scaleY(.42); }
.page-world-layer[data-world="connection"] .page-world-fallback::before { width: min(40vw,520px); aspect-ratio: .72; box-shadow: 0 0 52px rgba(8,125,255,.17), inset 0 0 48px rgba(81,223,255,.08); }
.page-world-layer[data-world="connection"] .page-world-fallback::after { width: min(31vw,400px); aspect-ratio: .72; border-color: rgba(8,125,255,.33); }
.page-world-layer[data-world="shield"] .page-world-fallback::before { width: min(32vw,410px); clip-path: polygon(50% 0,100% 22%,91% 72%,50% 100%,9% 72%,0 22%); box-shadow: 0 0 45px rgba(8,125,255,.1); }
.page-world-layer[data-world="shield"] .page-world-fallback::after { width: min(26vw,330px); clip-path: polygon(50% 0,100% 22%,91% 72%,50% 100%,9% 72%,0 22%); border-color: rgba(8,125,255,.18); }
.page-world-layer[data-world="framework"] .page-world-fallback::before { width: min(41vw,530px); height: min(34vw,440px); aspect-ratio: auto; transform: translate(-50%,-50%) perspective(700px) rotateY(-14deg); box-shadow: inset 0 0 35px rgba(8,125,255,.06); }
.page-world-layer[data-world="framework"] .page-world-fallback::after { width: min(32vw,420px); height: min(27vw,350px); aspect-ratio: auto; transform: translate(-50%,-50%) perspective(700px) rotateY(-14deg); border-color: rgba(132,152,184,.18); }
@media (max-width: 760px) {
  body > .page-world-layer { opacity: .3; }
  .page-world-layer[data-world="shield"], .page-world-layer[data-world="framework"] { opacity: .14; }
  .page-world-fallback::before { left: 82%; width: min(72vw, 440px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-world-layer { transition: none; }
}

/* The language choice stays visible beside the menu, including on small screens. */
.language-picker { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin-left: clamp(12px, 1.5vw, 20px); white-space: nowrap; }
.language-option { min-width: 22px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; color: rgba(244,248,255,.62); font: 600 10px/1 var(--body); letter-spacing: .1em; transition: color .2s, text-shadow .2s; }
.language-option:hover, .language-option:focus-visible, .language-option[aria-current="page"] { color: var(--cyan); }
.language-option[aria-current="page"] { font-weight: 700; text-shadow: 0 0 14px rgba(81,223,255,.3); }
.language-option:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; }
.language-divider { color: rgba(132,152,184,.48); font-size: 11px; }
@media (max-width: 900px) {
  .site-header { height: 70px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px solid var(--line); background: transparent; color: var(--white); }
  .menu-toggle i { width: 17px; height: 1px; display: block; background: var(--white); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .js .nav-links { position: absolute; top: 69px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden; visibility: hidden; padding: 0 20px; background: rgba(7,11,22,.97); border-bottom: 1px solid transparent; opacity: 0; transform: translateY(-10px); transition: max-height .38s ease, opacity .25s ease, transform .3s ease, visibility .3s; }
  .js .nav-links.is-open { max-height: 440px; visibility: visible; padding: 13px 20px 24px; border-color: var(--line); opacity: 1; transform: translateY(0); }
  .js .nav-links a { padding: 13px 4px; border-bottom: 1px solid rgba(132,152,184,.12); font-size: 13px; }
  .js .nav-links .nav-contact { margin-top: 12px; padding: 12px; border: 1px solid rgba(81,223,255,.36); }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .nav { height: auto; min-height: 70px; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-links { position: static; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px 10px; width: 100%; padding: 8px 0 0; background: transparent; border: 0; }
  html:not(.js) .nav-links a { padding: 5px 2px; border: 0; }
  html:not(.js) .nav-links .nav-contact { margin: 0; padding: 5px 8px; }
  html:not(.js) .menu-toggle { display: none; }
  .language-picker { margin-left: auto; }
}
@media (max-width: 420px) {
  .language-picker { gap: 5px; }
  .language-option { min-width: 20px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-picker *, .language-picker *::before, .language-picker *::after { animation: none !important; transition: none !important; }
}
