:root {
  --bg: #06090b;
  --bg-soft: #0b1013;
  --panel: rgba(13, 20, 24, 0.72);
  --ink: #f4f7f2;
  --muted: #94a0a7;
  --faint: #69747b;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --acid: #c8ff5c;
  --cyan: #78eaf5;
  --orange: #ff9257;
  --page-gutter: clamp(20px, 5vw, 78px);
  --header-height: 78px;
  --radius: 30px;
  --mouse-x: 50%;
  --mouse-y: 45%;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scrollbar-color: var(--acid) var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 28%, rgba(120, 234, 245, 0.045), transparent 25%),
    radial-gradient(circle at 86% 72%, rgba(200, 255, 92, 0.04), transparent 25%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  display: block;
  max-width: 100%;
}

::selection {
  color: #071005;
  background: var(--acid);
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 28px;
  align-content: center;
  background: #06090b;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
}

.loader::before {
  width: 1px;
  inset-block: 0;
  inset-inline-start: 50%;
}

.loader::after {
  height: 1px;
  inset-inline: 0;
  inset-block-start: 50%;
}

body.is-ready .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 27px;
  color: #081007;
  background: var(--acid);
  box-shadow: 0 0 70px rgba(200, 255, 92, 0.16);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.08em;
  transform: rotate(-8deg);
}

.loader__copy {
  position: relative;
  z-index: 1;
  width: min(270px, 70vw);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-align: center;
}

.loader__copy i {
  height: 2px;
  display: block;
  margin-top: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.loader__copy b {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-header {
  position: fixed;
  z-index: 80;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: max(10px, env(safe-area-inset-top)) var(--page-gutter) 0;
  background: linear-gradient(180deg, rgba(6, 9, 11, 0.82), transparent);
  transition: transform 0.45s ease, background 0.35s ease;
}

.site-header.is-compact {
  background: rgba(6, 9, 11, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.brand__pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.45; transform: scale(0.75); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 15, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #a8b1b6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.language-switcher {
  justify-self: end;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 15, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-switcher button {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #859098;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-switcher button.is-active {
  color: #071005;
  background: var(--acid);
}

.document-progress {
  position: fixed;
  z-index: 90;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.document-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  box-shadow: 0 0 15px rgba(120, 234, 245, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero-sequence {
  position: relative;
  z-index: 2;
  height: 430svh;
  background: var(--bg);
}

.hero-sticky {
  position: sticky;
  inset-block-start: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-video,
.hero-fallback,
.hero-shade,
.hero-grid,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background: #05080a;
}

.hero-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.82) contrast(1.1) brightness(0.72);
  transform: translate3d(0, 0, 0) scale(1.055);
  transform-origin: center center;
  will-change: transform, filter;
}

.video-failed .hero-video {
  display: none;
}

.hero-fallback {
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(120, 234, 245, 0.28), transparent 20%),
    conic-gradient(from 180deg at 55% 45%, #071012, #0d1e24, #09100c, #071012);
  transition: opacity 0.4s ease;
}

.video-failed .hero-fallback {
  opacity: 1;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.93) 0%, rgba(3, 6, 8, 0.62) 32%, rgba(3, 6, 8, 0.05) 58%, rgba(3, 6, 8, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 6, 8, 0.38) 0%, transparent 25%, transparent 58%, rgba(3, 6, 8, 0.92) 100%);
}

.hero-grid {
  z-index: 3;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(120, 234, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 234, 245, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), #000 0%, transparent 63%);
  -webkit-mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), #000 0%, transparent 63%);
}

.hero-noise {
  z-index: 4;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scanner-line {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  inset-block-start: calc(var(--sequence-progress, 0) * 100%);
  height: 1px;
  opacity: 0.55;
  background: linear-gradient(90deg, transparent 8%, var(--cyan) 50%, transparent 92%);
  box-shadow: 0 0 23px rgba(120, 234, 245, 0.75);
  pointer-events: none;
  will-change: top;
}

.hero-coordinates {
  position: absolute;
  z-index: 8;
  inset-block-start: 104px;
  inset-inline: var(--page-gutter);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.chapter {
  position: absolute;
  z-index: 10;
  width: min(640px, calc(100vw - 40px));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 35px, 0) scale(0.985);
  transform-origin: left center;
  will-change: opacity, transform;
}

.chapter--intro {
  inset-inline-start: var(--page-gutter);
  inset-block-end: clamp(110px, 15vh, 170px);
  opacity: 1;
}

.has-js .chapter--intro {
  opacity: 0;
}

.chapter--right {
  width: min(520px, 42vw);
  inset-inline-end: var(--page-gutter);
  inset-block-start: 23vh;
}

.chapter--left {
  width: min(560px, 44vw);
  inset-inline-start: var(--page-gutter);
  inset-block-start: 24vh;
}

.chapter--final {
  width: min(530px, 44vw);
  inset-inline-end: var(--page-gutter);
  inset-block-end: clamp(118px, 17vh, 190px);
}

.chapter.is-active {
  pointer-events: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(120, 234, 245, 0.33);
  border-radius: 9px;
  background: rgba(7, 15, 18, 0.45);
  font-size: 8px;
}

.eyebrow b {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.06em;
}

.chapter h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(62px, 8.6vw, 138px);
  font-weight: 940;
  line-height: 0.78;
}

.chapter h1 .outlined {
  color: transparent;
  -webkit-text-stroke: 1.15px rgba(244, 247, 242, 0.74);
}

.chapter h2 {
  font-size: clamp(48px, 5.7vw, 92px);
  font-weight: 900;
  line-height: 0.88;
}

.chapter h2 span {
  color: var(--acid);
}

.chapter > p:not(.eyebrow),
.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #b2bcc1;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.65;
}

.hero-lead {
  max-width: 520px;
}

.hero-actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button i,
.text-link i,
.project-card__top i {
  font-style: normal;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #071005;
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 16px 50px rgba(200, 255, 92, 0.12);
}

.button--glass {
  background: rgba(8, 13, 16, 0.53);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.button--glass:hover {
  border-color: rgba(120, 234, 245, 0.42);
  background: rgba(15, 24, 29, 0.72);
}

.text-link {
  width: fit-content;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link i {
  color: var(--acid);
  transition: transform 0.25s ease;
}

.text-link:hover i {
  transform: translate(3px, -3px);
}

.sequence-rail {
  position: absolute;
  z-index: 11;
  inset-inline: var(--page-gutter);
  inset-block-end: max(28px, env(safe-area-inset-bottom));
}

.sequence-rail__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sequence-rail__meta span:first-child {
  color: var(--acid);
}

.sequence-rail__track {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.sequence-rail__track i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  box-shadow: 0 0 18px rgba(120, 234, 245, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.section-shell {
  position: relative;
  z-index: 4;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.statement {
  min-height: 92svh;
  display: grid;
  grid-template-columns: 0.18fr 1.15fr 0.8fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  padding-block: clamp(110px, 16vw, 240px);
}

.section-index {
  align-self: start;
  padding-top: 8px;
  color: var(--faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.statement h2,
.section-heading h2,
.security__copy h2,
.contact h2 {
  font-size: clamp(52px, 6.7vw, 108px);
  font-weight: 900;
  line-height: 0.9;
}

.statement h2 em,
.section-heading h2 em,
.security__copy h2 em,
.contact h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(244, 247, 242, 0.6);
}

.statement__body > p {
  margin: 0;
  color: #aab5bb;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.75;
}

.profile-facts {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts span,
.profile-facts b {
  font-size: 9px;
  line-height: 1.5;
}

.profile-facts span {
  color: var(--faint);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-facts b {
  color: #c7ced2;
  font-weight: 700;
}

.work {
  padding-block: clamp(110px, 14vw, 210px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr;
  gap: clamp(30px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 100px);
}

.section-heading > p {
  max-width: 410px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(310px, 1fr);
  gap: 16px;
}

.project-card {
  --rx: 0deg;
  --ry: 0deg;
  --reveal-y: 0px;
  position: relative;
  min-height: 310px;
  grid-column: span 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.8vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mouse-local-x, 50%) var(--mouse-local-y, 45%), rgba(120, 234, 245, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(16, 24, 29, 0.92), rgba(8, 12, 15, 0.84));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  transform: perspective(1200px) translate3d(0, var(--reveal-y), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: opacity 0.8s ease, transform 0.18s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.project-card:hover {
  border-color: rgba(120, 234, 245, 0.34);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.42), 0 0 70px rgba(120, 234, 245, 0.05);
}

.project-card--wide {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 636px;
  background:
    radial-gradient(circle at 70% 25%, rgba(200, 255, 92, 0.12), transparent 31%),
    linear-gradient(145deg, #10181a, #080c0e 72%);
}

.project-card__top,
.project-card__copy,
.project-card__mark,
.menu-orbit,
.signal-copy {
  position: relative;
  z-index: 3;
  transform: translateZ(32px);
}

.project-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #86939a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.project-card__top i:not(.live-dot) {
  color: var(--acid);
  font-size: 19px;
}

.project-card__mark {
  align-self: center;
  color: #e8eee7;
  font-size: clamp(150px, 18vw, 286px);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.7;
  text-shadow: 0 0 80px rgba(200, 255, 92, 0.08);
}

.project-card__mark span {
  color: var(--acid);
}

.project-card__copy h3 {
  font-size: clamp(34px, 4vw, 65px);
  font-weight: 900;
}

.project-card__copy p {
  max-width: 530px;
  margin: 14px 0 0;
  color: #9da9af;
  font-size: 13px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #839097;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.menu-orbit {
  width: clamp(150px, 15vw, 230px);
  aspect-ratio: 1;
  align-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 234, 245, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(120, 234, 245, 0.07), inset 0 0 40px rgba(120, 234, 245, 0.04);
  animation: orbitFloat 6s ease-in-out infinite;
}

.menu-orbit::before,
.menu-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-orbit::before { inset: 17%; }
.menu-orbit::after { inset: 34%; border-color: rgba(200, 255, 92, 0.28); }

.menu-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 17px var(--cyan);
}

.menu-orbit i:first-child { inset-block-start: 10%; inset-inline-start: 48%; }
.menu-orbit i:nth-child(2) { inset-block-end: 21%; inset-inline-end: 8%; background: var(--acid); box-shadow: 0 0 17px var(--acid); }

.menu-orbit b {
  color: var(--ink);
  font-size: clamp(23px, 3vw, 42px);
  letter-spacing: -0.08em;
}

@keyframes orbitFloat {
  50% { transform: translateY(-8px) rotate(4deg); }
}

.project-card--signal {
  padding: 0;
  isolation: isolate;
  background: #080b0d;
}

.project-card--signal::after {
  z-index: 2;
}

.project-card--signal video,
.signal-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-card--signal video {
  z-index: -2;
  max-width: none;
  object-fit: cover;
  object-position: center 57%;
  filter: saturate(0.76) contrast(1.13) brightness(0.76);
  transform: scale(1.035);
}

.signal-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 10, 0.25), transparent 32%, rgba(5, 8, 10, 0.94) 91%),
    linear-gradient(90deg, rgba(5, 8, 10, 0.36), transparent);
}

.project-card--signal .project-card__top {
  padding: clamp(22px, 2.8vw, 38px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 15px var(--acid);
}

.signal-copy {
  margin-top: auto;
  padding: clamp(22px, 2.8vw, 38px);
}

.signal-copy > span {
  color: var(--cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.signal-copy h3 {
  margin-top: 10px;
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 900;
  line-height: 0.9;
}

.signal-copy p {
  max-width: 390px;
  margin: 14px 0 0;
  color: #aab5ba;
  font-size: 12px;
  line-height: 1.55;
}

.security {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 9vw, 150px);
  align-items: center;
  padding-block: clamp(120px, 16vw, 240px);
  border-top: 1px solid var(--line);
}

.security__copy > p:not(.section-kicker) {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.security-console {
  --rx: 0deg;
  --ry: 0deg;
  --reveal-y: 0px;
  position: relative;
  min-height: 650px;
  padding: clamp(22px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 39%, rgba(120, 234, 245, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(15, 23, 28, 0.93), rgba(7, 11, 13, 0.9));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
  transform: perspective(1200px) translate3d(0, var(--reveal-y), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: opacity 0.8s ease, transform 0.18s ease-out;
}

.security-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(120, 234, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 234, 245, 0.04) 1px, transparent 1px);
  background-size: 37px 37px;
}

.console-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #7d8990;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.console-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 15px var(--acid);
}

.console-radar {
  position: relative;
  z-index: 2;
  width: min(380px, 75%);
  aspect-ratio: 1;
  margin: 15px auto 20px;
  display: grid;
  place-items: center;
  transform: translateZ(26px);
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(120, 234, 245, 0.22);
  border-radius: 50%;
}

.radar-ring--one { inset: 6%; }
.radar-ring--two { inset: 24%; border-color: rgba(255, 255, 255, 0.15); }
.radar-ring--three { inset: 39%; border-color: rgba(200, 255, 92, 0.27); }

.radar-sweep {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(from 0deg, transparent 0 82%, rgba(120, 234, 245, 0.23) 96%, transparent 100%);
  animation: radarSweep 5s linear infinite;
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

.console-radar b {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 255, 92, 0.35);
  border-radius: 22px;
  color: #071005;
  background: var(--acid);
  box-shadow: 0 0 45px rgba(200, 255, 92, 0.13);
  font-size: 17px;
  letter-spacing: -0.07em;
}

.radar-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.radar-node--one { inset-block-start: 22%; inset-inline-start: 24%; }
.radar-node--two { inset-block-start: 36%; inset-inline-end: 12%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
.radar-node--three { inset-block-end: 13%; inset-inline-start: 45%; background: var(--acid); box-shadow: 0 0 16px var(--acid); }

.skill-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  transform: translateZ(20px);
}

.skill-list div {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 5px 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 10, 12, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skill-list span {
  color: var(--cyan);
  font-size: 8px;
  font-weight: 900;
}

.skill-list b {
  justify-self: end;
  font-size: 12px;
}

.skill-list small {
  grid-column: 1 / -1;
  color: #68757c;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.contact {
  min-height: 94svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(130px, 18vw, 260px);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact__glow {
  position: absolute;
  width: min(900px, 100vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 234, 245, 0.12), rgba(200, 255, 92, 0.04) 29%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.contact .section-kicker,
.contact h2,
.contact__lead,
.contact__actions {
  position: relative;
  z-index: 2;
}

.contact .section-kicker {
  justify-content: center;
}

.contact h2 {
  font-size: clamp(58px, 9vw, 145px);
}

.contact__lead {
  max-width: 670px;
  margin: 29px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.7;
}

.contact__actions {
  justify-content: center;
}

.site-footer {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 24px var(--page-gutter) max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: #66737a;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.site-footer a {
  justify-self: end;
  color: #9aa5ab;
}

.reveal-on-scroll {
  --reveal-y: 62px;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

.tilt-card.reveal-on-scroll {
  transform: perspective(1200px) translate3d(0, var(--reveal-y), 0) rotateX(var(--rx)) rotateY(var(--ry));
}

.noscript {
  position: fixed;
  z-index: 300;
  inset-inline: 20px;
  inset-block-end: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101619;
  color: var(--ink);
  font-size: 13px;
}

[dir="rtl"] .chapter,
[dir="rtl"] .section-heading,
[dir="rtl"] .security__copy,
[dir="rtl"] .statement__copy,
[dir="rtl"] .statement__body {
  text-align: right;
}

[dir="rtl"] .chapter {
  transform-origin: right center;
}

[dir="rtl"] .document-progress i,
[dir="rtl"] .loader__copy b,
[dir="rtl"] .sequence-rail__track i {
  transform-origin: right center;
}

@media (max-width: 1050px) {
  .statement {
    grid-template-columns: 0.1fr 1fr 0.8fr;
    gap: 38px;
  }

  .project-card--wide {
    grid-column: span 7;
  }

  .security {
    gap: 50px;
  }

  .skill-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
    --page-gutter: 18px;
    --radius: 24px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-sticky {
    min-height: 560px;
  }

  .hero-video {
    object-position: center center;
    filter: saturate(0.8) contrast(1.1) brightness(0.65);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 6, 8, 0.35), rgba(3, 6, 8, 0.02) 31%, rgba(3, 6, 8, 0.2) 48%, rgba(3, 6, 8, 0.96) 83%),
      linear-gradient(90deg, rgba(3, 6, 8, 0.6), transparent 70%);
  }

  .hero-grid {
    background-size: 44px 44px;
  }

  .hero-coordinates {
    inset-block-start: 90px;
  }

  .chapter,
  .chapter--right,
  .chapter--left,
  .chapter--final {
    width: auto;
    inset-inline: var(--page-gutter);
    inset-block-start: auto;
    inset-block-end: 105px;
  }

  .chapter h1 {
    font-size: clamp(58px, 17vw, 98px);
  }

  .chapter h2 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .chapter > p:not(.eyebrow),
  .hero-lead {
    max-width: 540px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 46px;
  }

  .sequence-rail {
    inset-block-end: max(18px, env(safe-area-inset-bottom));
  }

  .sequence-rail__meta {
    margin-bottom: 8px;
  }

  .statement {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 120px;
  }

  .section-index {
    display: none;
  }

  .statement h2,
  .section-heading h2,
  .security__copy h2,
  .contact h2 {
    font-size: clamp(47px, 14vw, 78px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .project-card,
  .project-card--wide {
    min-height: 440px;
    grid-column: auto;
    grid-row: auto;
  }

  .project-card--wide {
    min-height: 560px;
  }

  .project-card__mark {
    font-size: clamp(140px, 45vw, 250px);
  }

  .security {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .security-console {
    min-height: 580px;
  }

  .contact {
    min-height: 85svh;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 9px;
  }

  .language-switcher button {
    width: 31px;
    height: 28px;
  }

  .hero-sequence {
    height: 400svh;
  }

  .hero-coordinates span:last-child {
    display: none;
  }

  .chapter h1 {
    line-height: 0.82;
  }

  .chapter h2 {
    line-height: 0.92;
  }

  .chapter--intro {
    inset-block-end: 105px;
  }

  .hero-actions .button {
    padding-inline: 14px;
    font-size: 9px;
  }

  .statement,
  .work,
  .security {
    padding-block: 105px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .project-card,
  .project-card--wide {
    min-height: 430px;
  }

  .project-card--wide {
    min-height: 520px;
  }

  .project-card__copy h3 {
    font-size: 38px;
  }

  .security-console {
    min-height: 540px;
    padding: 20px;
  }

  .console-radar {
    width: 88%;
  }

  .skill-list div {
    min-height: 82px;
    padding: 11px;
  }

  .skill-list b {
    font-size: 10px;
  }

  .contact__actions {
    width: 100%;
  }

  .contact__actions .button {
    flex: 1 1 calc(50% - 10px);
  }

  .contact__actions .button:first-child {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-sequence {
    height: 100svh;
  }

  .hero-sticky {
    position: relative;
  }

  .has-js .chapter {
    display: none;
  }

  .has-js .chapter--intro {
    display: block;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  .hero-video {
    transform: scale(1.03) !important;
  }

  .scanner-line {
    display: none;
  }

  .reveal-on-scroll {
    --reveal-y: 0px;
    opacity: 1;
  }

  .tilt-card,
  .tilt-card.reveal-on-scroll {
    --rx: 0deg !important;
    --ry: 0deg !important;
  }
}
