:root {
  --paper: #f4f3ef;
  --paper-2: #e8ebea;
  --ink: #0c1216;
  --muted: #5c686e;
  --line: #c9cdcb;
  --blue: #00a8d2;
  --blue-dark: #087e9d;
  --white: #ffffff;
  --rail: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
body.intro-active { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[data-content] { white-space: pre-line; }
.project-description { white-space: pre-line; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.section { margin-left: var(--rail); }
main > section.section {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}
main > section.section > * { position: relative; z-index: 1; }
main > section.section::before,
main > section.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: geometryFloat 18s ease-in-out infinite alternate;
}
main > section.section::before {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -220px;
  border: 1px solid rgba(8,126,157,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(0,168,210,.018), 0 0 0 140px rgba(0,168,210,.012);
}
main > section.section::after {
  width: clamp(280px, 29vw, 520px);
  height: clamp(390px, 43vw, 730px);
  left: 5%;
  bottom: -18%;
  background: url("assets/icon-on-light.svg") center / contain no-repeat;
  opacity: .035;
  transform: rotate(-10deg);
  animation-delay: -7s;
}
.statement::before, .process::before, .contact::before { right: auto; left: -200px; }
.statement::after, .process::after, .contact::after { left: auto; right: 5%; }
.projects::before, .process::before, .about::before { border-color: rgba(0,168,210,.18); }
.projects::after, .process::after, .about::after {
  background-image: url("assets/icon-on-dark.svg");
  opacity: .045;
}
main > section.about::after {
  left: auto;
  right: 4%;
  background-image: url("assets/icon-on-dark.svg");
  opacity: .045;
}
@keyframes geometryFloat {
  to { transform: translate3d(20px,-28px,0) rotate(24deg); }
}
.site-intro {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  clip-path: inset(0);
  transition: clip-path .72s var(--ease), opacity .72s var(--ease), visibility .72s;
}
.site-intro[hidden], body.modal-open .site-intro { display: none !important; }
.intro-mark {
  position: relative;
  width: 82px;
  height: 108px;
  display: grid;
  place-items: center;
  animation: introMarkIn .8s var(--ease) both;
}
.intro-mark img {
  position: relative;
  z-index: 1;
  width: 64px;
  max-height: 86px;
  filter: drop-shadow(0 0 22px rgba(0,168,210,.28));
}
.intro-mark i {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(0,168,210,.35);
  border-radius: 50%;
  animation: introPulse 1.2s ease-out infinite;
}
body.intro-exit .site-intro {
  clip-path: inset(0 0 100% 0);
  opacity: .86;
}
body.intro-complete .site-intro { visibility: hidden; pointer-events: none; }
@keyframes introMarkIn {
  from { opacity: 0; transform: translateY(18px) scale(.72); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes introPulse {
  from { opacity: .75; transform: scale(.55); }
  to { opacity: 0; transform: scale(1.35); }
}
.page-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
}
.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s var(--ease);
}
.button-dark { min-width: 205px; color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button span { display: inline-block; transition: transform .3s var(--ease); }
.button:hover span { transform: translate(4px,-3px); }
.text-link {
  position: relative;
  display: inline-block;
  padding: 8px 4px 8px 0;
  font-size: 14px;
  font-weight: 600;
  transition: color .3s, transform .3s var(--ease);
}
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform-origin: right; transition: transform .35s var(--ease); }
.text-link:hover { color: var(--blue-dark); transform: translateX(4px); }
.text-link:hover::after { transform: scaleX(.28); }

/* navigation */
.side-rail {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  width: var(--rail);
  color: var(--white);
  background: var(--ink);
  border-right: 1px solid #273138;
  display: flex;
  flex-direction: column;
}
.side-rail nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.rail-mark {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 50%;
  width: 34px;
  height: 42px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.rail-mark img { width: 30px; max-height: 39px; }
body.past-start .rail-mark {
  opacity: .95;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.rail-mark:hover { opacity: .65; transform: translate(-50%, -2px); }
.side-rail nav a {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #9ba6ac;
  transition: .3s;
}
.side-rail nav a i {
  width: 7px;
  height: 7px;
  border: 1px solid #718087;
  border-radius: 50%;
}
.side-rail nav a b {
  position: absolute;
  left: 55px;
  min-width: max-content;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid #334047;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: .3s var(--ease);
}
.side-rail nav a:hover b { opacity: 1; transform: translateX(0); }
.side-rail nav a:hover { border-color: #3b474e; background: #182127; }
.side-rail nav a.active { border-color: #3b474e; background: #1b252b; }
.side-rail nav a.active i { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(0,168,210,.12); }
.rail-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  color: #7f8c92;
  font: 500 10px "JetBrains Mono", monospace;
  letter-spacing: .24em;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  user-select: none;
}
.topbar {
  position: absolute;
  z-index: 90;
  top: 0;
  left: var(--rail);
  right: 0;
  height: 80px;
  padding: 0 clamp(28px, 4vw, 70px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(12,18,22,.13);
}
.brand { width: 220px; }
.menu-button, .mobile-nav { display: none; }

/* hero */
.hero {
  min-height: 100svh;
  padding: 122px clamp(28px, 5vw, 88px) 72px;
  display: grid;
  grid-template-columns: minmax(430px, .88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,18,22,.045) 1px, transparent 1px),
    linear-gradient(rgba(12,18,22,.045) 1px, transparent 1px);
  background-size: 74px 74px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 710px;
  margin-bottom: 28px;
  font-size: clamp(42px, 4vw, 60px);
}
.hero h1 em { display: block; margin-top: 7px; color: var(--blue-dark); font-style: normal; }
.hero-lead { max-width: 610px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-visual { position: relative; min-width: 0; }
.hero-mechanism {
  position: absolute;
  z-index: 0;
  width: min(49vw, 680px);
  aspect-ratio: 1;
  top: 50%;
  right: -11%;
  transform: translateY(-50%);
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(12,18,22,.09);
  border-radius: 50%;
  animation: orbitTurn 19s linear infinite;
}
.orbit-ring i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(0,168,210,.09);
}
.orbit-ring i:nth-child(1) { top: 8%; left: 28%; }
.orbit-ring i:nth-child(2) { top: 54%; right: -4px; }
.orbit-ring i:nth-child(3) { bottom: 5%; left: 24%; width: 5px; height: 5px; }
@keyframes orbitTurn { to { transform: rotate(360deg); } }

/* laptop */
.laptop { position: relative; z-index: 2; width: min(100%, 760px); margin: auto; perspective: 1200px; }
.laptop-lid {
  position: relative;
  padding: 13px;
  aspect-ratio: 1.55;
  border: 1px solid #202b32;
  border-radius: 16px 16px 7px 7px;
  background: #151d22;
  box-shadow: 0 32px 60px rgba(12,18,22,.24);
  transform: rotateY(-3deg) rotateX(1deg);
}
.camera { position: absolute; z-index: 2; top: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #58636a; }
.code-window { position: relative; height: 100%; overflow: hidden; border-radius: 7px; color: #c6d3da; background: #0d141a; }
.code-window > header {
  height: 38px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #28343c;
  background: #151e24;
  font: 400 10px "JetBrains Mono", monospace;
}
.code-window > header > span { display: flex; gap: 5px; }
.code-window > header i { width: 7px; height: 7px; border-radius: 50%; background: #49565e; }
.code-window > header b { color: #8e9aa2; font-weight: 400; }
.code-window > header em { justify-self: end; color: #48cf98; font-style: normal; }
.editor { height: calc(100% - 64px); display: grid; grid-template-columns: 48px 1fr; }
.line-numbers {
  padding: 21px 13px;
  color: #42515b;
  border-right: 1px solid #202c34;
  font: 400 12px/1.85 "JetBrains Mono", monospace;
  text-align: right;
}
.code-mask { position: relative; overflow: hidden; }
.code-track { position: absolute; inset: 0; animation: codeLoop 14s linear infinite; }
.code-track pre { height: 365px; margin: 0; padding: 18px 24px; white-space: pre-wrap; }
.code-track code { color: #bac8cf; font: 400 clamp(10px, 1vw, 14px)/1.72 "JetBrains Mono", monospace; }
.c-purple { color: #c792ea; }
.c-blue { color: #65c7f7; }
.c-green { color: #7bd88f; }
.c-orange { color: #f6b26b; }
@keyframes codeLoop {
  0%, 10% { transform: translateY(0); }
  90%, 100% { transform: translateY(-365px); }
}
.code-window > footer {
  height: 26px;
  padding: 0 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  color: #70808a;
  border-top: 1px solid #28343c;
  background: #121a20;
  font: 400 9px "JetBrains Mono", monospace;
}
.code-window > header,
.code-window > .editor,
.code-window > footer {
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.code-window:not(.screen-code) > header,
.code-window:not(.screen-code) > .editor,
.code-window:not(.screen-code) > footer {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.laptop-scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  color: #c6d3da;
  background: #0e161c;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.screen-process .process-screen,
.screen-app .app-screen { opacity: 1; transform: translateY(0) scale(1); }
.scene-bar {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #82919a;
  background: #151e24;
  border-bottom: 1px solid #28343c;
  font: 400 10px "JetBrains Mono", monospace;
}
.scene-bar b { font-weight: 400; }
.scene-bar span { color: #48cf98; }
.flow-heading {
  padding: clamp(18px, 2vw, 28px) clamp(20px, 2.5vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flow-heading div { display: flex; flex-direction: column; gap: 5px; }
.flow-heading small, .app-heading small, .app-metrics small { color: #6f808a; font: 500 9px "JetBrains Mono", monospace; }
.flow-heading strong { color: #e3eaed; font: 600 clamp(15px, 1.4vw, 20px) "Inter", sans-serif; }
.flow-heading em {
  padding: 6px 9px;
  color: #69d6b0;
  background: rgba(72,207,152,.09);
  border: 1px solid rgba(72,207,152,.24);
  border-radius: 20px;
  font: 500 9px "JetBrains Mono", monospace;
  font-style: normal;
}
.flow-track {
  position: relative;
  margin: 5px clamp(20px, 2.5vw, 38px) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.flow-track::before {
  content: "";
  position: absolute;
  height: 1px;
  left: 9%;
  right: 9%;
  top: 19px;
  background: linear-gradient(90deg, var(--blue) 0 58%, #31414a 58%);
}
.flow-track article { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; color: #75848c; }
.flow-track article i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #081116;
  background: #27363e;
  border: 5px solid #0e161c;
  border-radius: 50%;
  font: 700 12px "Inter", sans-serif;
}
.flow-track article.done i { background: var(--blue); }
.flow-track article.current { color: var(--white); }
.flow-track article.current i { background: #48cf98; box-shadow: 0 0 0 7px rgba(72,207,152,.1); animation: flowPulse 1.5s ease-in-out infinite; }
.flow-track article span { font-size: clamp(9px, .9vw, 12px); }
.flow-track article small { color: #56656d; font: 400 8px "JetBrains Mono", monospace; }
@keyframes flowPulse { 50% { box-shadow: 0 0 0 13px rgba(72,207,152,0); } }
.flow-meta {
  margin: clamp(18px, 2vw, 28px) clamp(20px, 2.5vw, 38px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #26343c;
}
.flow-meta p { margin: 0; padding: 13px 15px; display: flex; flex-direction: column; border-right: 1px solid #26343c; }
.flow-meta p:last-child { border-right: 0; }
.flow-meta span { color: #65757e; font-size: 9px; }
.flow-meta b { color: #c4cfd4; font-size: 11px; font-weight: 500; }
.app-screen { display: grid; grid-template-columns: 64px 1fr; }
.app-sidebar { padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; background: #111b21; border-right: 1px solid #26343c; }
.app-sidebar img { width: 26px; height: 34px; object-fit: contain; margin-bottom: 8px; }
.app-sidebar i { width: 22px; height: 5px; border-radius: 4px; background: #31414a; }
.app-sidebar i:nth-of-type(2) { background: var(--blue); }
.app-dashboard { padding: clamp(16px, 2vw, 27px); overflow: hidden; }
.app-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(14px, 1.7vw, 24px); }
.app-heading > div { display: flex; flex-direction: column; gap: 4px; }
.app-heading strong { color: #e7ecef; font-size: clamp(15px, 1.45vw, 21px); }
.app-heading > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #071218; background: var(--blue); font: 700 9px "Inter", sans-serif; }
.app-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-metrics article { position: relative; min-height: 78px; padding: 13px; display: flex; flex-direction: column; background: #162229; border: 1px solid #293941; }
.app-metrics strong { color: #edf2f3; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.25; }
.app-metrics i { position: absolute; top: 12px; right: 12px; color: #48cf98; font-size: 10px; font-style: normal; }
.app-orders { margin-top: 12px; border: 1px solid #293941; }
.app-orders header, .app-orders p { min-height: 33px; margin: 0; padding: 0 12px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; border-bottom: 1px solid #26343c; font-size: 9px; }
.app-orders header { color: #788991; background: #121c22; }
.app-orders header b { grid-column: 1 / 3; font-weight: 500; }
.app-orders p:last-child { border-bottom: 0; }
.app-orders p i { color: #65757e; font: 400 8px "JetBrains Mono", monospace; font-style: normal; }
.app-orders p b { color: #c8d1d5; font-weight: 500; }
.app-orders p span { padding: 4px 7px; border-radius: 12px; color: #99a9b0; background: #223139; }
.app-orders p .status-progress { color: #6ed8f2; background: rgba(0,168,210,.12); }
.app-orders p .status-ready { color: #72d9b4; background: rgba(72,207,152,.11); }
.laptop-base {
  position: relative;
  left: 50%;
  width: 108%;
  height: 18px;
  background: linear-gradient(#cbd0d1, #8b9498);
  border-radius: 2px 2px 20px 20px;
  transform: translateX(-50%);
  box-shadow: 0 14px 20px rgba(12,18,22,.2);
}
.laptop-base::after { content: ""; position: absolute; inset: 0 7%; border-top: 1px solid #f4f5f4; }
.laptop-base i { position: absolute; left: 43%; width: 14%; height: 6px; background: #818b8f; border-radius: 0 0 6px 6px; }

/* statement */
.statement {
  padding: 92px clamp(28px, 7vw, 118px);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.statement > div { max-width: 1040px; margin: auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(44px, 8vw, 120px); align-items: end; }
.statement h2 { font-size: clamp(34px, 3.4vw, 50px); }
.statement div > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* services */
.services { padding: 90px clamp(28px, 5vw, 88px) 100px; display: flex; flex-direction: column; justify-content: center; }
.services-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.services-intro h2 { max-width: 700px; font-size: clamp(36px, 3.4vw, 50px); }
.services-intro p { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card {
  position: relative;
  min-height: 430px;
  padding: clamp(30px, 3vw, 46px);
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 45px rgba(12,18,22,.1); }
.application-card { color: var(--white); background: var(--ink); border-color: var(--ink); }
.service-illustration {
  width: 120px;
  height: 92px;
  margin-bottom: 30px;
  color: #72838b;
}
.service-illustration svg { width: 100%; height: 100%; overflow: visible; }
.service-illustration rect,
.service-illustration path,
.service-illustration circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: .45s var(--ease);
}
.service-illustration .accent { color: var(--blue-dark); stroke: currentColor; fill: rgba(0,168,210,.08); }
.application-card .service-illustration { color: #82929a; }
.application-card .service-illustration .accent { color: var(--blue); }
.service-card:hover .service-illustration rect:first-child { transform: translateY(-3px); }
.service-card:hover .service-illustration .accent { transform: translate(4px,-3px); }
.service-card h3 { margin-bottom: 18px; font-size: clamp(27px, 2.3vw, 34px); }
.service-card > p { max-width: 610px; margin-bottom: 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.application-card > p { color: #a8b2b7; }
.service-card ul { margin: 0 0 32px; padding: 0; list-style: none; }
.service-card li { padding: 8px 0; border-bottom: 1px solid #dfe1df; font-size: 14px; }
.application-card li { color: #c7cfd3; border-color: #2c373d; }
.service-card li::before { content: "✓"; margin-right: 11px; color: var(--blue-dark); font-weight: 700; }
.application-card li::before { color: var(--blue); }
.service-card > a {
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 18px 12px 0 0;
  border-top: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  transition: color .3s, padding .3s var(--ease);
}
.service-card > a span { transition: transform .3s var(--ease); }
.service-card > a:hover { color: var(--blue-dark); padding-left: 10px; }
.application-card > a:hover { color: var(--blue); }
.service-card > a:hover span { transform: translate(4px,-4px); }

/* projects */
.projects { padding: 88px 0 82px; color: var(--white); background: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.projects-head {
  padding: 0 clamp(28px, 5vw, 88px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.projects-head h2 { font-size: clamp(36px, 3.5vw, 52px); }
.projects-head > div > p { margin: 12px 0 0; color: #9eaaaf; font-size: 16px; }
.project-controls { display: flex; align-items: center; gap: 14px; }
.project-controls button {
  width: 44px;
  height: 44px;
  color: var(--white);
  background: transparent;
  border: 1px solid #465159;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
}
.project-controls button:hover { color: var(--ink); background: var(--blue); border-color: var(--blue); }
.project-controls p { margin: 0 4px; color: #aeb8bc; font-size: 13px; }
.project-viewport { overflow: hidden; }
.project-track { display: flex; will-change: transform; transition: transform .75s var(--ease); }
.project-card {
  flex: 0 0 100%;
  padding: 0 clamp(28px, 5vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .55fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
}
.project-image {
  position: relative;
  min-width: 0;
  height: min(48vw, 470px);
  overflow: hidden;
  background: #172027;
}
.project-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.project-image img { width: calc(100% + 12px); max-width: none; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease), filter .4s; }
.project-image:hover img { transform: scale(1.02); filter: brightness(.82); }
.project-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: .3s var(--ease);
}
.project-image:hover .project-open { opacity: 1; transform: translateY(0); }
.project-label { margin-bottom: 15px; color: var(--blue); font-size: 12px; font-weight: 500; }
.project-meta h3 { margin-bottom: 19px; font-size: clamp(34px, 3.5vw, 52px); }
.project-description { max-width: 420px; color: #a6b0b5; font-size: 16px; line-height: 1.7; }
.project-tags { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.project-tags li { padding: 7px 9px; border: 1px solid #3c484f; font-size: 10px; }
.project-progress { height: 1px; margin: 42px clamp(28px, 5vw, 88px) 0; background: #354047; }
.project-progress i { display: block; width: 33.333%; height: 1px; background: var(--blue); transition: transform .75s var(--ease); transform-origin: left; }

/* process */
.process { padding: 90px clamp(28px, 5vw, 88px); color: var(--white); background: #172127; display: flex; flex-direction: column; justify-content: center; }
.process-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 44px;
}
.process-head h2 { max-width: 720px; font-size: clamp(36px, 3.4vw, 50px); }
.process-head > p { max-width: 430px; margin: 0; color: #a0aaaf; }
.process-grid { display: grid; grid-template-columns: .84fr 1.16fr; min-height: 500px; border: 1px solid #36434a; }
.process-stage {
  position: relative;
  padding: clamp(32px, 4vw, 60px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 62px 62px;
}
.process-stage::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -120px;
  right: -150px;
  border: 1px solid #344851;
  border-radius: 50%;
  transition: transform .22s var(--ease);
}
.process-stage.changed::before { transform: scale(.84) rotate(30deg); }
.process-visuals { position: absolute; z-index: 0; inset: 0 0 34%; overflow: hidden; }
.process-graphic { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .16s ease-out, transform .22s var(--ease); }
.process-graphic.active { opacity: 1; transform: scale(1); }
.process-stage > p, .process-stage > strong, .process-stage > span { position: relative; z-index: 2; }
.discovery::before,
.discovery::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: 38px;
  left: 50%;
  border: 1px solid #38515c;
  border-radius: 50%;
  transform: translateX(-50%);
}
.discovery::after { width: 126px; height: 126px; top: 80px; }
.discovery i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(0,168,210,.1); animation: nodePulse 2.6s ease-in-out infinite; }
.discovery i:nth-child(1) { top: 46px; left: 49%; }
.discovery i:nth-child(2) { top: 143px; left: 25%; animation-delay: -.8s; }
.discovery i:nth-child(3) { top: 170px; right: 24%; animation-delay: -1.6s; }
.discovery span { position: absolute; width: 34px; height: 34px; top: 126px; left: calc(50% - 17px); border: 1px solid var(--blue); transform: rotate(45deg); }
@keyframes nodePulse { 50% { transform: scale(1.5); opacity: .55; } }
.architecture i { position: absolute; width: 68px; height: 38px; border: 1px solid #48606a; border-radius: 5px; background: #1a282f; }
.architecture i:nth-child(1) { top: 42px; left: calc(50% - 34px); border-color: var(--blue); }
.architecture i:nth-child(2) { top: 142px; left: 14%; }
.architecture i:nth-child(3) { top: 142px; left: calc(50% - 34px); }
.architecture i:nth-child(4) { top: 142px; right: 14%; }
.architecture span { position: absolute; display: block; background: #49606a; }
.architecture span:nth-of-type(1) { width: 1px; height: 43px; top: 80px; left: 50%; }
.architecture span:nth-of-type(2) { width: 58%; height: 1px; top: 122px; left: 21%; }
.architecture span:nth-of-type(3) { width: 1px; height: 20px; top: 122px; left: 21%; box-shadow: calc(29vw - 110px) 0 #49606a; }
.design i { position: absolute; border: 1px solid #40565f; background: #142128; box-shadow: 0 16px 35px rgba(0,0,0,.25); }
.design i:nth-child(1) { width: 58%; height: 150px; top: 48px; left: 21%; }
.design i:nth-child(2) { width: 32%; height: 96px; top: 82px; left: 10%; transform: rotate(-7deg); }
.design i:nth-child(3) { width: 26%; height: 116px; top: 68px; right: 9%; transform: rotate(7deg); }
.design span { position: absolute; z-index: 2; left: 31%; height: 7px; background: #344b56; border-radius: 4px; }
.design span:nth-of-type(1) { width: 26%; top: 88px; background: var(--blue); }
.design span:nth-of-type(2) { width: 38%; top: 110px; }
.launch i { position: absolute; top: 35px; left: 50%; border: 1px solid #3d5661; border-radius: 50%; transform: translateX(-50%); }
.launch i:nth-child(1) { width: 190px; height: 190px; }
.launch i:nth-child(2) { width: 122px; height: 122px; top: 69px; border-color: rgba(0,168,210,.5); }
.launch span { position: absolute; width: 42px; height: 42px; top: 109px; left: calc(50% - 21px); border-radius: 50%; background: var(--blue); box-shadow: 0 0 35px rgba(0,168,210,.45); animation: launchPulse 2s ease-in-out infinite; }
.launch b { position: absolute; width: 210px; height: 3px; top: 238px; left: calc(50% - 105px); background: linear-gradient(90deg,var(--blue) 72%,#32454e 72%); }
@keyframes launchPulse { 50% { box-shadow: 0 0 60px rgba(0,168,210,.7); transform: scale(1.12); } }
.process-stage p { color: var(--blue); font: 500 12px "JetBrains Mono", monospace; }
.process-stage strong { margin-bottom: 15px; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.035em; }
.process-stage span { max-width: 390px; color: #a5b0b5; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li {
  min-height: 25%;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  border-bottom: 1px solid #36434a;
  cursor: pointer;
  transition: color .1s ease-out, background .1s ease-out, border-color .1s ease-out;
}
.process-list li:last-child { border-bottom: 0; }
.process-list li > span { color: #8c999f; font: 500 12px "JetBrains Mono", monospace; }
.process-list strong { display: block; margin-bottom: 5px; font-size: 20px; letter-spacing: -.02em; }
.process-list p { max-width: 560px; margin: 0; color: #96a1a6; font-size: 14px; }
.process-list li.active { color: var(--ink); background: var(--blue); }
.process-list li.active > span, .process-list li.active p { color: #17424e; }

/* about */
.about {
  padding: 92px clamp(28px, 8vw, 132px);
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(440px, 1.1fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
  color: var(--white);
  background: #0f171c;
}
.about-photo {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: rgba(0,168,210,.08);
  cursor: pointer;
}
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 42%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  opacity: .58;
  filter: grayscale(100%) contrast(1.05);
  transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease);
}
.about-photo:hover img { opacity: 1; filter: grayscale(0%) contrast(1.02); transform: scale(1.035); }
.about-photo span {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(12,18,22,.78);
  border: 1px solid #34434a;
  font-size: 11px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.about-copy h2 { max-width: 700px; margin-bottom: 24px; font-size: clamp(36px, 3.5vw, 52px); }
.about-copy > p { max-width: 650px; margin-bottom: 30px; color: #a7b2b7; font-size: 17px; line-height: 1.75; }
.about .text-link:hover { color: var(--blue); }

/* contact */
.contact {
  padding: 90px clamp(28px, 7vw, 118px);
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
  background: var(--paper-2);
}
.contact-copy h2 { max-width: 620px; margin-bottom: 22px; font-size: clamp(36px, 3.5vw, 52px); }
.contact-copy > p { max-width: 540px; color: var(--muted); font-size: 17px; }
.contact-details {
  width: min(100%, 520px);
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #b8c0bd;
}
.contact-details a {
  width: 100%;
  min-height: 54px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #b8c0bd;
  font-size: 17px;
  font-weight: 600;
  transition: color .3s, padding .35s var(--ease), background .3s;
}
.contact-details a i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid #9da8a4;
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
  transition: color .3s, border-color .3s, background .3s, transform .35s var(--ease);
}
.contact-details a:hover,
.contact-details a:focus-visible {
  padding-inline: 10px 4px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.34);
}
.contact-details a:hover i,
.contact-details a:focus-visible i {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: rotate(45deg);
}
.contact-copy address { margin-top: 44px; color: var(--muted); font-size: 14px; font-style: normal; }
.contact-copy address strong { display: block; margin-bottom: 4px; color: var(--ink); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  border: 1px solid #b9c0bd;
  border-radius: 0;
  outline: 0;
  transition: .25s;
}
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { padding: 13px 14px; resize: vertical; min-height: 128px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-dark); box-shadow: 0 0 0 3px rgba(0,168,210,.1); }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-note { align-self: center; margin: 0; color: var(--muted); font-size: 12px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.footer {
  min-height: 360px;
  padding: 64px clamp(28px, 5vw, 88px) 28px;
  color: #9ca7ac;
  background: var(--ink);
  display: grid;
  grid-template-columns: 1.2fr .85fr .55fr 1fr;
  align-items: start;
  gap: clamp(32px, 5vw, 74px);
  border-top: 1px solid #263139;
  font-size: 13px;
}
.footer h2 { margin: 0 0 18px; color: #ecf0f1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer p { margin: 0; }
.footer-brand img { width: min(100%, 230px); margin-bottom: 22px; }
.footer-brand p { max-width: 330px; line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact address { margin-bottom: 18px; color: #9ca7ac; font-style: normal; line-height: 1.7; }
.footer-contact address strong { display: block; color: #dce2e4; font-weight: 600; }
.footer-contact a, .footer-nav a, .footer-info-note a, .footer-bottom a { transition: color .25s, transform .25s var(--ease); }
.footer-contact a { padding: 4px 0; color: #dce2e4; }
.footer-contact a:hover, .footer-nav a:hover, .footer-info-note a:hover, .footer-bottom a:hover { color: var(--blue); transform: translateX(3px); }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a { padding: 3px 0; }
.footer-info-note {
  max-width: 330px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.footer-info-note p { line-height: 1.7; }
.footer-info-note a { display: inline-block; margin-top: 18px; color: #dce2e4; }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid #2a353c;
  color: #718087;
  font-size: 11px;
}
.footer-bottom span:nth-child(2) { justify-self: center; }
.footer-bottom a { justify-self: end; color: #b9c2c6; }

/* modal */
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,9,12,.78); backdrop-filter: blur(8px); opacity: 0; animation: modalFade .3s forwards; }
.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 46px;
  color: var(--ink);
  background: var(--paper);
  border-top: 4px solid var(--blue);
  box-shadow: 0 35px 90px rgba(0,0,0,.4);
  transform: translateY(24px) scale(.98);
  opacity: 0;
  animation: modalIn .45s var(--ease) forwards;
}
.modal-close { position: absolute; top: 13px; right: 15px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; transition: .3s; }
.modal-close:hover { color: var(--white); background: var(--ink); transform: rotate(90deg); }
.modal-symbol { width: 48px; height: 48px; margin-bottom: 28px; border: 1px solid var(--blue-dark); border-radius: 50%; position: relative; }
.modal-symbol::before, .modal-symbol::after { content: ""; position: absolute; background: var(--blue-dark); }
.modal-symbol::before { width: 16px; height: 2px; left: 15px; top: 24px; }
.modal-symbol::after { width: 2px; height: 16px; left: 22px; top: 17px; }
.modal.success .modal-symbol::before { width: 17px; left: 12px; top: 25px; transform: rotate(42deg); }
.modal.success .modal-symbol::after { width: 2px; height: 24px; left: 29px; top: 12px; transform: rotate(42deg); }
.modal-card h2 { margin-bottom: 14px; font-size: 30px; }
.modal-card > p { margin-bottom: 30px; color: var(--muted); }
body.modal-open { overflow: hidden; }
@keyframes modalFade { to { opacity: 1; } }
@keyframes modalIn { to { opacity: 1; transform: translateY(0) scale(1); } }

/* legal information */
.info-layer[hidden] { display: none; }
.info-layer:target { display: grid; }
.info-layer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.info-layer-backdrop { position: absolute; inset: 0; background: rgba(4,9,12,.84); backdrop-filter: blur(10px); opacity: 1; }
.info-layer-card {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--ink);
  background: var(--paper);
  border-top: 4px solid var(--blue);
  box-shadow: 0 35px 100px rgba(0,0,0,.46);
  transform: none;
  opacity: 1;
}
.info-layer-card > header { padding: 38px 48px 26px; border-bottom: 1px solid var(--line); }
.info-layer-card > header span { color: var(--blue-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info-layer-card > header h2 { margin: 8px 50px 8px 0; font-size: clamp(30px, 4vw, 44px); }
.info-layer-card > header p { margin: 0; color: var(--muted); font-size: 12px; }
.info-layer-close { position: absolute; z-index: 2; top: 22px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; text-decoration: none; cursor: pointer; transition: .3s; }
.info-layer-close:hover { color: var(--white); background: var(--ink); transform: rotate(90deg); }
.info-layer-content { padding: 10px 48px 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--blue-dark) #d9dddb; }
.info-layer-content section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-layer-content section:last-child { border-bottom: 0; }
.info-layer-content h3 { margin-bottom: 10px; font-size: 17px; }
.info-layer-content p { margin: 0; color: var(--muted); line-height: 1.75; }
.info-layer-content p + p { margin-top: 10px; }
.info-layer-content a, .info-layer-card > footer a:not(.button) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.info-layer-card > footer { padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.info-layer-card > footer a { font-size: 13px; }
.info-layer-card > footer .button { flex: 0 0 auto; color: var(--white); text-decoration: none; }

/* reveal */
.reveal {
  --reveal-y: 32px;
  opacity: 0;
  transform: translateY(var(--reveal-y));
}
.reveal.from-top { --reveal-y: -32px; }
.reveal.reveal-reset { animation: none !important; }
.reveal.visible {
  animation: revealIn .78s var(--ease) var(--reveal-delay, 140ms) both;
}
.intro-active .hero .reveal.visible {
  animation-play-state: paused;
  opacity: 0;
  transform: translateY(var(--reveal-y));
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(var(--reveal-y)); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .hero { grid-template-columns: .9fr 1.1fr; }
  .project-card { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); }
  .contact { gap: 65px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-info-note { max-width: 420px; }
}

@media (max-width: 900px) {
  :root { --rail: 0px; }
  .side-rail { display: none; }
  .section { margin-left: 0; }
  .topbar {
    position: absolute;
    z-index: 112;
    left: 0;
    height: 74px;
    padding: 0 20px;
  }
  .brand { width: 192px; }
  .menu-button {
    position: fixed;
    z-index: 115;
    top: 15px;
    right: 20px;
    width: 43px;
    height: 43px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: rgba(244,243,239,.8);
    box-shadow: 0 8px 28px rgba(12,18,22,.08);
    backdrop-filter: blur(12px);
  }
  .menu-button i { width: 16px; height: 1px; background: var(--ink); transition: .3s; }
  .menu-open .topbar { border-color: transparent; pointer-events: none; }
  .menu-open .topbar .brand { opacity: 0; }
  .menu-open .menu-button { pointer-events: auto; border-color: #66747a; background: rgba(12,18,22,.86); }
  .menu-open .menu-button i { background: var(--white); }
  .menu-open .menu-button i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-button i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    z-index: 110;
    inset: 0;
    padding: 24px;
    color: var(--white);
    background: var(--ink);
    display: flex;
    flex-direction: column;
    transform: translateY(-101%);
    transition: transform .65s var(--ease);
  }
  .menu-open .mobile-nav { transform: translateY(0); }
  .mobile-nav > img { width: 175px; }
  .mobile-nav > div { margin: auto 0; }
  .mobile-nav > div a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #334047;
    font-size: clamp(21px, 5.8vw, 27px);
    font-weight: 500;
    letter-spacing: -.025em;
    transition: color .25s, padding-left .25s var(--ease);
  }
  .mobile-nav > div a:hover,
  .mobile-nav > div a:focus-visible { color: var(--blue); padding-left: 8px; }
  .mobile-mail { color: #a3afb4; font-size: 14px; }
  .hero { min-height: auto; padding: 112px 24px 80px; grid-template-columns: 1fr; gap: 65px; }
  .hero h1 { max-width: 760px; font-size: clamp(40px, 7vw, 58px); }
  .hero-visual { width: min(100%, 720px); margin: auto; }
  .hero-mechanism { width: min(125vw, 620px); right: -34%; }
  .statement { padding: 78px 24px; }
  .statement > div { grid-template-columns: 1fr; gap: 26px; }
  .services, .process { padding: 78px 24px; }
  .services-intro, .process-head { align-items: flex-start; flex-direction: column; }
  .service-card { min-height: 420px; }
  .projects { padding-block: 78px 70px; }
  .projects-head { padding-inline: 24px; }
  .project-card { padding-inline: 24px; grid-template-columns: 1fr; }
  .project-image { height: min(64vw, 500px); }
  .project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .project-meta h3 { grid-column: 1 / -1; }
  .project-tags { margin-top: 0; align-content: start; }
  .project-progress { margin-inline: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-stage { min-height: 390px; }
  .about { padding: 80px 48px; grid-template-columns: .78fr 1.22fr; gap: 65px; }
  .contact { padding: 80px 48px; grid-template-columns: 1fr; gap: 54px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding: 104px 20px 64px; gap: 48px; background-size: 54px 54px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(36px, 10vw, 44px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .laptop-lid { padding: 8px; border-radius: 10px 10px 5px 5px; }
  .code-window > header { height: 30px; padding-inline: 8px; font-size: 7px; }
  .editor { height: calc(100% - 50px); grid-template-columns: 30px 1fr; }
  .line-numbers { padding: 12px 7px; font-size: 8px; }
  .code-track pre { height: 235px; padding: 11px 12px; }
  .code-track code { font-size: 8px; }
  @keyframes codeLoop {
    0%, 10% { transform: translateY(0); }
    90%, 100% { transform: translateY(-235px); }
  }
  .code-window > footer { height: 20px; gap: 8px; font-size: 6px; }
  .laptop-base { height: 11px; }
  .scene-bar { height: 28px; padding-inline: 8px; font-size: 6px; }
  .flow-heading { padding: 8px 10px 5px; }
  .flow-heading div { gap: 1px; }
  .flow-heading small, .app-heading small, .app-metrics small { font-size: 5px; }
  .flow-heading strong { font-size: 10px; }
  .flow-heading em { padding: 3px 5px; font-size: 5px; }
  .flow-track { margin: 0 10px; }
  .flow-track::before { top: 12px; }
  .flow-track article { gap: 2px; }
  .flow-track article i { width: 24px; height: 24px; border-width: 3px; font-size: 7px; }
  .flow-track article span { font-size: 6px; }
  .flow-track article small { font-size: 5px; }
  .flow-meta { margin: 7px 10px 0; }
  .flow-meta p { padding: 6px; }
  .flow-meta span { font-size: 5px; }
  .flow-meta b { font-size: 6px; }
  .app-screen { grid-template-columns: 38px 1fr; }
  .app-sidebar { padding: 8px 0; gap: 10px; }
  .app-sidebar img { width: 18px; height: 22px; margin-bottom: 2px; }
  .app-sidebar i { width: 15px; height: 3px; }
  .app-dashboard { padding: 8px; }
  .app-heading { margin-bottom: 6px; }
  .app-heading > div { gap: 1px; }
  .app-heading strong { font-size: 9px; }
  .app-heading > span { width: 20px; height: 20px; font-size: 6px; }
  .app-metrics { gap: 4px; }
  .app-metrics article { min-height: 47px; padding: 6px; }
  .app-metrics strong { font-size: 14px; }
  .app-metrics i { top: 5px; right: 5px; font-size: 6px; }
  .app-orders { margin-top: 5px; }
  .app-orders header, .app-orders p { min-height: 19px; padding-inline: 6px; grid-template-columns: 34px 1fr auto; font-size: 5px; }
  .app-orders p i { font-size: 5px; }
  .app-orders p span { padding: 2px 4px; }
  .hero-mechanism { width: 128vw; right: -42%; opacity: .7; }
  .statement { padding: 64px 20px; }
  .statement h2 { font-size: 32px; }
  .statement div > p { font-size: 16px; }
  .services, .process { padding: 64px 20px; }
  .services-intro h2, .process-head h2, .projects-head h2 { font-size: 34px; }
  .services-intro { margin-bottom: 32px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; padding: 30px 24px; }
  .service-illustration { width: 105px; height: 80px; margin-bottom: 24px; }
  .service-card h3 { font-size: 28px; }
  .projects { padding-top: 64px; }
  .projects-head { align-items: flex-start; flex-direction: column; padding-inline: 20px; margin-bottom: 34px; }
  .project-controls { align-self: flex-end; }
  .project-card { padding-inline: 20px; gap: 28px; }
  .project-image { height: 260px; }
  .project-meta { display: block; }
  .project-meta h3 { font-size: 34px; }
  .project-description { font-size: 15px; }
  .project-tags { margin-top: 22px; }
  .project-progress { margin: 34px 20px 0; }
  .project-open { opacity: 1; transform: none; right: 10px; bottom: 10px; }
  .process-grid { min-height: 0; }
  .process-stage { min-height: 330px; padding: 28px; }
  .process-visuals { bottom: 38%; }
  .process-stage strong { font-size: 32px; }
  .process-list li { min-height: 138px; padding: 20px 18px; grid-template-columns: 34px 1fr; }
  .process-list strong { font-size: 18px; }
  .about { padding: 64px 20px; grid-template-columns: 1fr; gap: 52px; }
  .about-photo { width: min(88vw, 430px); }
  .about-copy h2 { font-size: 34px; }
  .about-copy > p { font-size: 16px; }
  .contact { padding: 64px 20px; }
  .contact-copy h2 { font-size: 34px; }
  .contact-copy > p { font-size: 16px; }
  .contact-details { margin: 34px 0; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form label:nth-child(3), .contact-form label:nth-child(4) { grid-column: 1; }
  .form-note { font-size: 11px; }
  .footer { min-height: 0; padding: 52px 20px 26px; grid-template-columns: 1fr; gap: 38px; }
  .footer-info-note { max-width: none; }
  .footer-info-note h2 { margin-bottom: 14px; }
  .footer-info-note a { margin-top: 14px; white-space: normal; }
  .footer-brand img { width: 200px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom span:nth-child(2), .footer-bottom a { justify-self: start; }
  main > section.section::before { width: 260px; height: 260px; right: -170px; }
  main > section.section::after {
    width: 220px;
    height: 330px;
    bottom: -12%;
    opacity: .03;
  }
  .modal-card { padding: 38px 28px 30px; }
  .info-layer { padding: 10px; }
  .info-layer-card { max-height: 94vh; }
  .info-layer-card > header { padding: 30px 24px 20px; }
  .info-layer-card > header h2 { font-size: 30px; }
  .info-layer-close { top: 15px; right: 15px; }
  .info-layer-content { padding: 4px 24px 18px; }
  .info-layer-content section { padding: 20px 0; }
  .info-layer-card > footer { padding: 16px 24px 20px; align-items: flex-start; flex-direction: column; }
}

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