:root {
  color-scheme: dark;
  --paper: #050914;
  --surface: #0a1222;
  --ink: #050914;
  --page-text: #f4f7ff;
  --muted: #93a1b8;
  --text-secondary: #c5d0df;
  --text-tertiary: #9baac0;
  --text-accent: #a7e2ff;
  --text-highlight: #f0f5ff;
  --line: rgba(132, 167, 226, 0.2);
  --line-dark: #20304c;
  --lime: #8ed4ff;
  --blue: #4c78ff;
  --coral: #8ed4ff;
  --amber: #dce9ff;
  --dark: #030711;
  --shell: min(1360px, calc(100vw - 48px));
  --radius: 6px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #01040b;
  color: var(--page-text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  -ms-overflow-style: none;
}

body:has(dialog[open]) { overflow: hidden; }

.site-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  pointer-events: none;
}

.site-grid span { border-right: 1px solid rgba(142, 212, 255, 0.075); }
.site-grid span:first-child { border-left: 1px solid rgba(142, 212, 255, 0.075); }

.site-grid::before,
.site-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(142, 212, 255, 0.09);
}

.site-grid::before { top: 48%; }
.site-grid::after {
  top: -4%;
  border-color: rgba(220, 233, 255, 0.28);
  animation: site-scan 15s linear infinite;
}

main,
.site-footer { position: relative; z-index: 1; }

@keyframes site-scan {
  from { top: -4%; }
  to { top: 104%; }
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.text-bright { color: #f8fbff; }
.text-accent {
  color: #b7e8ff;
  text-shadow: 0 0 20px rgba(167, 226, 255, 0.18);
}
.text-signal {
  color: #78f0a2;
  text-shadow: 0 0 18px rgba(87, 239, 138, 0.18);
}

p .text-bright,
p .text-accent,
p .text-signal { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  transition: top 160ms ease;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 72px;
  padding-inline: max(24px, calc((100vw - 1360px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 244, 241, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #404743;
  font-size: 13px;
  font-weight: 600;
}

.nav a, .header-link, .site-footer a { transition: color 160ms ease; }
.nav a:hover, .header-link:hover, .site-footer a:hover { color: var(--blue); }

.header-link {
  justify-self: end;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.hero {
  position: relative;
  height: calc(100svh - 96px);
  min-height: 560px;
  max-height: 800px;
  overflow: hidden;
  color: #fff;
  background: var(--paper);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  pointer-events: none;
}

.hero-grid span {
  border-right: 1px solid rgba(142, 212, 255, 0.13);
  animation: grid-breathe 7s ease-in-out infinite;
}

.hero-grid span:nth-child(even) { animation-delay: -3.5s; }
.hero-grid span:first-child { border-left: 1px solid rgba(142, 212, 255, 0.13); }

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(142, 212, 255, 0.16);
}

.hero-grid::before {
  top: 12%;
  border-color: var(--amber);
  animation: scan-grid 7s ease-in-out infinite;
}
.hero-grid::after { top: 66.666%; }

@keyframes scan-grid {
  0%, 100% { top: 12%; opacity: 0; }
  14%, 86% { opacity: 0.8; }
  50% { top: 82%; opacity: 0.8; }
}

@keyframes grid-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-block: 54px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-main {
  max-width: 840px;
  margin-bottom: 34px;
}

.hero-main > * {
  animation: hero-rise 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-main > :nth-child(2) { animation-delay: 80ms; }
.hero-main > :nth-child(3) { animation-delay: 150ms; }
.hero-main > :nth-child(4) { animation-delay: 220ms; }
.hero-main > :nth-child(5) { animation-delay: 290ms; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.availability {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-discipline {
  margin: 0 0 14px;
  color: var(--amber);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 122, 112, 0.16);
}

.hero h1 {
  margin: 0 0 22px;
  max-width: 840px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 76px;
  font-weight: 600;
  line-height: 0.96;
}

.hero-role {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--ink); background: var(--lime); }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.42); background: rgba(8, 11, 9, 0.28); }
.button-dark { color: #fff; background: var(--ink); }

.hero-proof {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.72);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.hero-proof strong { color: #fff; font-weight: 500; }

.showcase-section {
  padding: 112px 0 92px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
}

.section-heading > p {
  justify-self: end;
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.showcase {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(350px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
}

.showcase-media {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
  background: #dfe3df;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 180ms ease, transform 400ms ease;
}

.showcase.is-changing .showcase-media img {
  opacity: 0.12;
  transform: scale(0.995);
}

.showcase-media-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.showcase-media-meta span,
.dialog-counter {
  min-height: 28px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(12, 15, 13, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.showcase-copy {
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.showcase-copy h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  line-height: 1.08;
}

.showcase-copy > div > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  min-height: 26px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #4e5752;
  background: #f8f9f7;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.showcase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.text-link {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover { color: var(--blue); }

.showcase-controls {
  display: flex;
  gap: 6px;
}

.icon-button,
.gallery-arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease;
}

.icon-button:hover,
.gallery-arrow:hover { color: var(--lime); background: var(--ink); }

.showcase-dots {
  min-height: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding-block: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-dots::-webkit-scrollbar { display: none; }

.image-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b3bab5;
  cursor: pointer;
}

.image-dot.active { width: 24px; flex-basis: 24px; border-radius: 8px; background: var(--blue); }

.showcase-progress-track {
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.showcase-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
}

.showcase-progress-track span.is-running { animation: showcase-progress var(--showcase-delay) linear forwards; }

@keyframes showcase-progress { to { width: 100%; } }

.showcase-rail-wrap {
  margin-top: 14px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-rail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-rail::-webkit-scrollbar { display: none; }

.rail-item {
  min-width: 185px;
  height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 11px;
}

.rail-item span { color: #949c97; font-family: "DM Mono", monospace; }
.rail-item:hover { color: var(--ink); }
.rail-item.active { color: var(--ink); background: var(--lime); }
.rail-item.active span { color: var(--ink); }

.capabilities {
  padding: 118px 0;
  color: #fff;
  background: var(--dark);
}

.capabilities .section-kicker { color: var(--lime); }
.capabilities .section-heading > p { color: #aeb7b1; }

.capability-list { border-top: 1px solid var(--line-dark); }

.capability-item {
  min-height: 116px;
  display: grid;
  grid-template-columns: 64px minmax(230px, 0.7fr) 1fr;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line-dark);
}

.capability-item > span {
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.capability-item h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

.capability-item p {
  justify-self: end;
  max-width: 620px;
  margin: 0;
  color: #aeb7b1;
  font-size: 14px;
}

.about {
  padding: 128px 0;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 80px;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  filter: saturate(0.78);
}

.about-portrait span {
  margin-top: 12px;
  display: block;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 830px;
  font-size: 54px;
}

.about-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.about-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.contact {
  padding: 112px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.contact-inner { text-align: center; }
.contact h2 { margin-bottom: 32px; font-size: 66px; }

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.project-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.36);
}

.project-dialog::backdrop {
  background: rgba(8, 10, 9, 0.78);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: fixed;
  top: max(20px, calc(5vh + 12px));
  right: max(22px, calc((100vw - min(1180px, calc(100vw - 28px))) / 2 + 12px));
  z-index: 5;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(12, 15, 13, 0.82);
  font-size: 24px;
}

.dialog-layout {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
}

.dialog-gallery {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
  background: #171a18;
}

.dialog-gallery img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(12, 15, 13, 0.78);
  transform: translateY(-50%);
}

.gallery-previous { left: 14px; }
.gallery-next { right: 14px; }
.dialog-counter { position: absolute; left: 14px; bottom: 14px; }

.dialog-copy {
  min-width: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}

.dialog-copy h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  line-height: 1.08;
}

.dialog-copy p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 14px; }
.dialog-copy .showcase-dots { margin-bottom: 22px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero h1 { font-size: 68px; }
  .showcase { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
  .showcase, .showcase-media { min-height: 490px; }
  .about { gap: 50px; }
  .about-copy h2 { font-size: 46px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 1360px); }
  .site-header { height: 66px; padding-inline: 16px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { height: calc(100svh - 86px); min-height: 530px; }
  .hero-content { padding-block: 38px 24px; }
  .hero-main { max-width: 680px; margin-bottom: 28px; }
  .hero h1 { font-size: 62px; }
  .hero-role { max-width: 560px; font-size: 17px; }
  .hero-proof { gap: 8px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-heading > p { justify-self: start; }
  .section-heading h2, .contact h2 { font-size: 46px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase, .showcase-media { min-height: 0; }
  .showcase-media { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .showcase-copy { min-height: 390px; }
  .capability-item { grid-template-columns: 48px 1fr; padding: 24px 0; align-items: start; gap: 6px 18px; }
  .capability-item p { grid-column: 2; justify-self: start; }
  .about { grid-template-columns: 0.72fr 1.28fr; gap: 34px; }
  .about-copy h2 { font-size: 38px; }
  .about-copy > p:not(.section-kicker) { font-size: 15px; }
  .dialog-layout { min-height: 0; grid-template-columns: 1fr; overflow-y: auto; max-height: 90vh; }
  .dialog-gallery { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .dialog-gallery img { max-height: none; }
  .dialog-copy { min-height: 350px; }
}

@media (max-width: 580px) {
  :root { --shell: min(100% - 24px, 1360px); }
  .hero { height: calc(100svh - 80px); min-height: 500px; }
  .hero-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-grid span:nth-child(n + 5) { display: none; }
  .hero-content { padding-block: 28px 18px; }
  .hero-main { margin-bottom: 22px; }
  .hero-main .availability { margin-bottom: 16px; }
  .availability { font-size: 10px; }
  .hero-discipline { margin-bottom: 10px; font-size: 9px; }
  .hero h1 { margin-bottom: 16px; font-size: 48px; line-height: 1; }
  .hero-role { font-size: 15px; }
  .hero-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .button { min-height: 44px; padding: 0 12px; gap: 10px; font-size: 11px; }
  .hero-proof { font-size: 9px; gap: 6px 14px; }
  .showcase-section, .capabilities, .about, .contact { padding-top: 82px; padding-bottom: 82px; }
  .section-heading h2, .contact h2 { font-size: 38px; }
  .showcase-copy { min-height: 360px; padding: 24px; }
  .showcase-copy h3 { font-size: 30px; }
  .showcase-actions { align-items: flex-end; }
  .icon-button, .gallery-arrow { width: 38px; height: 38px; flex-basis: 38px; }
  .rail-item { min-width: 165px; }
  .capability-item { grid-template-columns: 36px 1fr; }
  .capability-item h3 { font-size: 23px; }
  .capability-item p { font-size: 13px; }
  .about { grid-template-columns: 1fr; }
  .about-portrait { width: 68%; }
  .about-copy h2 { font-size: 37px; }
  .contact h2 { margin-bottom: 26px; }
  .site-footer { min-height: 120px; padding: 24px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
  .dialog-close { top: 20px; right: 20px; }
  .dialog-gallery { aspect-ratio: 16 / 11; }
  .dialog-copy { min-height: 330px; padding: 24px; }
  .dialog-copy h3 { font-size: 30px; }
}

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

/* Kinetic editorial portfolio system */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(760px, calc(100% - 32px));
  height: 64px;
  padding: 6px;
  grid-template-columns: 1fr auto;
  color: var(--page-text);
  border-bottom-color: var(--line);
  background: rgba(3, 8, 19, 0.92);
  border: 1px solid rgba(142, 212, 255, 0.3);
  border-radius: 6px;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.5), inset 0 1px rgba(220, 233, 255, 0.16), 0 0 38px rgba(76, 120, 255, 0.13);
  transform: translateX(-50%);
}

.nav { justify-content: flex-start; gap: 3px; color: #c3cee0; }
.nav a {
  position: relative;
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 3px;
  transition: color 180ms ease, background 180ms ease;
}
.nav a span { color: var(--text-accent); font-family: "DM Mono", monospace; font-size: 8px; font-weight: 500; }
.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 1px;
  background: var(--text-accent);
  box-shadow: 0 0 10px rgba(167, 226, 255, 0.6);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav a:hover,
.nav a.is-active { color: #fff; background: rgba(142, 212, 255, 0.08); }
.nav a.is-active::after { opacity: 1; transform: scaleX(1); }

.header-actions {
  height: 100%;
  padding-left: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-left: 1px solid rgba(142, 212, 255, 0.18);
}

.header-link {
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  border-radius: 3px;
}
.header-link svg { width: 15px; height: 15px; fill: currentColor; }
.header-link:hover { color: #fff; background: rgba(142, 212, 255, 0.08); }

.header-link--linkedin {
  position: relative;
  color: #b7e8ff;
}

.header-link--linkedin::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(167, 226, 255, 0.52);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.header-link--linkedin:hover::after { opacity: 1; transform: scaleX(1); }

.header-cta {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 3px;
  background: var(--text-highlight);
  font-size: 10px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.header-cta:hover,
.header-cta.is-active { color: #001408; background: #a7e2ff; transform: translateY(-1px); }

.nav-progress {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: -1px;
  height: 2px;
  background: var(--text-accent);
  box-shadow: 0 0 12px rgba(167, 226, 255, 0.7);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.site-footer a:hover { color: var(--lime); }

.hero {
  color: #fff;
  height: calc(100svh - 20px);
  min-height: 650px;
  max-height: 880px;
  border-bottom: 1px solid rgba(142, 212, 255, 0.36);
  background: #07152c;
  box-shadow: inset 0 -1px rgba(220, 233, 255, 0.12), inset 0 42px 70px rgba(255, 255, 255, 0.015);
}

.hero-discipline { color: var(--text-accent); }
.hero-role { color: var(--text-secondary); }
.hero-proof { color: var(--text-tertiary); }
.availability span {
  background: #57ef8a;
  box-shadow: 0 0 0 5px rgba(87, 239, 138, 0.14), 0 0 20px rgba(87, 239, 138, 0.62);
  animation: availability-signal 2.6s ease-in-out infinite;
}
.hero h1 { width: fit-content; max-width: 100%; text-shadow: 0 0 32px rgba(142, 212, 255, 0.2), 0 1px 0 #fff; }
.button-accent { color: var(--ink); background: var(--amber); }
.button-ghost { color: #fff; border-color: rgba(142, 212, 255, 0.48); background: rgba(5, 9, 20, 0.42); }

.showcase-section {
  position: relative;
  scroll-margin-top: 90px;
  border-bottom-color: var(--line);
  background: rgba(5, 9, 20, 0.9);
  backdrop-filter: blur(3px);
}

.showcase-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(142, 212, 255, 0.22);
  pointer-events: none;
  animation: section-scan 14s linear infinite;
}

@keyframes section-scan {
  from { left: 0; }
  to { left: 100%; }
}

@keyframes availability-signal {
  0%, 100% { box-shadow: 0 0 0 5px rgba(87, 239, 138, 0.12), 0 0 14px rgba(87, 239, 138, 0.42); }
  50% { box-shadow: 0 0 0 8px rgba(87, 239, 138, 0.06), 0 0 28px rgba(87, 239, 138, 0.78); }
}

.section-heading {
  padding-left: 22px;
  border-left: 3px solid var(--coral);
}

.section-kicker { color: var(--text-accent); }
.showcase-section > .section-shell > .section-heading .section-kicker { color: var(--lime); }

.section-heading h2,
.about-copy h2 {
  color: var(--page-text);
  text-shadow: 0 0 24px rgba(142, 212, 255, 0.12);
}

.section-heading > p,
.about-copy > p:not(.section-kicker) { color: var(--text-secondary); }

.showcase {
  color: var(--page-text);
  border-color: #293d60;
  background: var(--surface);
  box-shadow: 12px 12px 0 #14295e, inset 0 1px rgba(220, 233, 255, 0.16), 0 26px 70px rgba(0, 0, 0, 0.28);
}

.showcase-media {
  width: 100%;
  padding: 0;
  appearance: none;
  text-align: left;
  color: inherit;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-right-color: #293d60;
  background: var(--dark);
  cursor: zoom-in;
}

.showcase-media:focus-visible {
  z-index: 2;
  outline-color: var(--amber);
  outline-offset: -5px;
}

.showcase-gallery-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 30px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: var(--amber);
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.showcase-copy > div > p:not(.section-kicker) { color: var(--text-secondary); }
.showcase-copy { color: var(--page-text); }
.showcase-copy .section-kicker { color: var(--lime); }
.showcase-copy .text-link { color: var(--text-highlight); }
.showcase-copy h3 { text-shadow: 0 0 20px rgba(142, 212, 255, 0.14); }

.tag {
  color: #ced8e7;
  border-color: #2d4164;
  background: #071020;
}

.showcase .icon-button {
  color: var(--page-text);
  border-color: #5b6771;
}

.showcase .icon-button:hover { color: #fff; background: var(--blue); }
.showcase .image-dot { background: #a9b7b3; }
.showcase .image-dot.active { background: var(--coral); }

.showcase-rail-wrap {
  margin-top: 26px;
  border-color: #293d60;
  background: #070d1a;
}

.rail-item {
  color: #bdc9da;
  border-right-color: var(--line);
}

.rail-item span { color: #8799b4; }
.rail-item:hover { color: #fff; background: #0d1930; }
.rail-item.active { color: #fff; background: var(--blue); }
.rail-item.active span { color: #fff; }

.capabilities {
  color: #fff;
  scroll-margin-top: 90px;
  border-top: 1px solid #1b2b49;
  border-bottom: 1px solid #1b2b49;
  background: rgba(3, 7, 17, 0.94);
  backdrop-filter: blur(3px);
}

.capabilities .section-heading { border-left-color: var(--lime); }
.capabilities .section-kicker { color: var(--lime); }
.capabilities .section-heading h2 { color: #fff; }

.capabilities .section-heading > p,
.capability-item p { color: var(--text-secondary); }

.value-flow {
  position: relative;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #29436e;
  background: rgba(7, 18, 38, 0.76);
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.16), 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 42px rgba(76, 120, 255, 0.07);
}

.value-flow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70px;
  z-index: 2;
  width: 54px;
  background: rgba(220, 233, 255, 0.045);
  pointer-events: none;
  animation: gloss-pass 9s ease-in-out infinite;
}

.value-flow::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 3;
  width: 64px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(142, 212, 255, 0.8);
  animation: flow-signal 6s ease-in-out infinite alternate;
}

@keyframes gloss-pass {
  0%, 18% { left: -70px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  82%, 100% { left: calc(100% + 70px); opacity: 0; }
}

@keyframes flow-signal {
  from { left: 0; }
  to { left: calc(100% - 64px); }
}

.flow-stage {
  min-width: 0;
  min-height: 270px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: background 220ms ease;
}

.flow-stage:hover { background: rgba(76, 120, 255, 0.08); }

.flow-index,
.flow-kicker,
.matrix-label {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.flow-index { align-self: flex-end; color: var(--text-tertiary); }
.flow-kicker { margin: 14px 0 12px; color: var(--text-accent); }

.flow-stage h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.08;
  text-shadow: 0 0 20px rgba(142, 212, 255, 0.12);
}

.flow-stage > p:not(.flow-kicker) {
  margin: 18px 0 30px;
  color: #bdc9da;
  font-size: 13px;
}

.flow-stage strong {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #29436e;
  color: var(--text-highlight);
  font-size: 12px;
  font-weight: 600;
}

.flow-stage:nth-of-type(4) strong {
  color: #78f0a2;
  text-shadow: 0 0 18px rgba(87, 239, 138, 0.16);
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--lime);
  border-left: 1px solid #20375d;
  border-right: 1px solid #20375d;
  font-family: "DM Mono", monospace;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(142, 212, 255, 0.6);
}

.matrix-label {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-tertiary);
}

.capability-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #24375a;
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.1), 0 18px 54px rgba(0, 0, 0, 0.22);
}

.capability-list::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  pointer-events: none;
  opacity: 0;
  background: #a7e2ff;
  box-shadow: 0 0 16px rgba(167, 226, 255, 0.76);
}

.capability-list.is-engaged::before { animation: matrix-scan 8s ease-in-out infinite; }

.capability-item {
  position: relative;
  z-index: 1;
  min-height: 286px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid #24375a;
  border-bottom: 1px solid #24375a;
  transition: background 240ms ease, box-shadow 240ms ease;
}

.capability-item:nth-child(even) { border-right: 0; }
.capability-item:nth-child(n + 3) { border-bottom: 0; }

.capability-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.capability-item:hover {
  background: #0b1730;
  box-shadow: inset 0 0 42px rgba(76, 120, 255, 0.08);
}
.capability-item:hover::after { transform: scaleX(1); }

.capability-number {
  position: absolute;
  top: 30px;
  right: 30px;
  width: auto;
  height: auto;
  color: var(--text-accent);
  border: 0;
  font-size: 11px;
}

.capability-item:nth-child(even) .capability-number {
  color: var(--text-accent);
}

.capability-item h3 {
  max-width: calc(100% - 54px);
  margin-top: 82px;
  font-size: 32px;
  text-shadow: 0 0 22px rgba(142, 212, 255, 0.12);
  transition: color 220ms ease, transform 220ms ease, text-shadow 220ms ease;
}

.capability-item h3 span {
  color: #b7e8ff;
  text-shadow: 0 0 20px rgba(167, 226, 255, 0.2);
}

.capability-item:hover h3 {
  color: #fff;
  text-shadow: 0 0 26px rgba(167, 226, 255, 0.24);
  transform: translateX(4px);
}

.capability-item p {
  justify-self: auto;
  max-width: 500px;
  margin: 24px 0 0;
  color: #bdc9da;
  font-size: 14px;
}

.capability-visual {
  position: absolute;
  top: 32px;
  left: 34px;
  width: 76px;
  height: 44px;
  color: var(--text-accent);
  opacity: 0.78;
  transition: opacity 220ms ease, transform 220ms ease;
}

.capability-item:hover .capability-visual {
  opacity: 1;
  transform: scale(1.06);
}

.capability-visual span {
  position: absolute;
  display: block;
}

.capability-visual--vision span {
  width: 15px;
  height: 15px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0;
}
.capability-visual--vision span:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.capability-visual--vision span:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.capability-visual--vision span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.capability-visual--vision span:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.capability-visual--vision::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 29px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(167, 226, 255, 0.48);
}
.capability-visual--vision::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: 1px;
  background: #57ef8a;
  box-shadow: 0 0 10px rgba(87, 239, 138, 0.62);
}
.capability-list.is-engaged .capability-visual--vision::after { animation: vision-scan 3.8s ease-in-out infinite; }

.capability-visual--platform::before,
.capability-visual--platform::after {
  content: "";
  position: absolute;
  background: rgba(167, 226, 255, 0.38);
}
.capability-visual--platform::before { top: 21px; left: 6px; right: 6px; height: 1px; }
.capability-visual--platform::after { top: 5px; bottom: 5px; left: 37px; width: 1px; }
.capability-visual--platform span {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  background: #08152d;
  box-shadow: 0 0 10px rgba(167, 226, 255, 0.18);
}
.capability-visual--platform span:nth-child(1) { top: 0; left: 0; }
.capability-visual--platform span:nth-child(2) { top: 0; right: 0; }
.capability-visual--platform span:nth-child(3) { bottom: 0; left: 0; }
.capability-visual--platform span:nth-child(4) { right: 0; bottom: 0; }
.capability-list.is-engaged .capability-visual--platform span { animation: platform-node 2.8s ease-in-out infinite; }
.capability-list.is-engaged .capability-visual--platform span:nth-child(2) { animation-delay: 0.35s; }
.capability-list.is-engaged .capability-visual--platform span:nth-child(3) { animation-delay: 0.7s; }
.capability-list.is-engaged .capability-visual--platform span:nth-child(4) { animation-delay: 1.05s; }

.capability-visual--product::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: rgba(167, 226, 255, 0.34);
}
.capability-visual--product span {
  top: 15px;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  background: #08152d;
}
.capability-visual--product span:nth-child(1) { left: 0; }
.capability-visual--product span:nth-child(2) { left: 21px; }
.capability-visual--product span:nth-child(3) { left: 42px; }
.capability-visual--product span:nth-child(4) { right: 0; }
.capability-list.is-engaged .capability-visual--product span { animation: product-step 3.2s ease-in-out infinite; }
.capability-list.is-engaged .capability-visual--product span:nth-child(2) { animation-delay: 0.4s; }
.capability-list.is-engaged .capability-visual--product span:nth-child(3) { animation-delay: 0.8s; }
.capability-list.is-engaged .capability-visual--product span:nth-child(4) { animation-delay: 1.2s; }

.capability-visual--edge span {
  bottom: 4px;
  width: 7px;
  border: 1px solid currentColor;
  background: rgba(167, 226, 255, 0.12);
  transform-origin: bottom;
}
.capability-visual--edge span:nth-child(1) { left: 7px; height: 10px; }
.capability-visual--edge span:nth-child(2) { left: 26px; height: 19px; }
.capability-visual--edge span:nth-child(3) { left: 45px; height: 28px; }
.capability-visual--edge span:nth-child(4) { left: 64px; height: 38px; }
.capability-list.is-engaged .capability-visual--edge span { animation: edge-signal 2.6s ease-in-out infinite; }
.capability-list.is-engaged .capability-visual--edge span:nth-child(2) { animation-delay: 0.2s; }
.capability-list.is-engaged .capability-visual--edge span:nth-child(3) { animation-delay: 0.4s; }
.capability-list.is-engaged .capability-visual--edge span:nth-child(4) { animation-delay: 0.6s; }

@keyframes matrix-scan {
  0%, 100% { left: 0; opacity: 0; }
  9%, 91% { opacity: 0.24; }
  50% { left: calc(100% - 1px); opacity: 0.48; }
}

@keyframes vision-scan {
  0%, 100% { left: 3px; opacity: 0.35; }
  50% { left: 72px; opacity: 1; }
}

@keyframes platform-node {
  0%, 72%, 100% { background: #08152d; box-shadow: 0 0 8px rgba(167, 226, 255, 0.14); }
  18% { background: #a7e2ff; box-shadow: 0 0 16px rgba(167, 226, 255, 0.58); }
}

@keyframes product-step {
  0%, 70%, 100% { background: #08152d; transform: translateY(0); }
  20% { background: #57ef8a; transform: translateY(-4px); box-shadow: 0 0 14px rgba(87, 239, 138, 0.42); }
}

@keyframes edge-signal {
  0%, 100% { opacity: 0.38; transform: scaleY(0.72); }
  45% { opacity: 1; transform: scaleY(1); box-shadow: 0 0 12px rgba(167, 226, 255, 0.4); }
}

.about {
  color: var(--page-text);
  scroll-margin-top: 90px;
  background: rgba(5, 9, 20, 0.9);
  backdrop-filter: blur(3px);
}

.about-portrait img {
  border-color: #2b4065;
  box-shadow: 14px 14px 0 #14295e;
}

.about-portrait span { color: var(--text-tertiary); }
.about-copy { padding-left: 28px; border-left: 3px solid var(--blue); }
.about-copy .section-kicker { color: var(--text-accent); }
.about-copy .text-link { color: var(--text-highlight); }
.about-copy .linkedin-text-link { color: #b7e8ff; }

.contact {
  color: #fff;
  scroll-margin-top: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(7, 21, 44, 0.92);
  backdrop-filter: blur(3px);
}

.contact .section-kicker { color: var(--lime); }
.contact h2 { color: #fff; text-shadow: 0 0 28px rgba(142, 212, 255, 0.18); }
.contact .button-accent { color: var(--ink); background: var(--amber); }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: start;
  gap: 80px;
  text-align: left;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin: 28px 0 24px;
  color: var(--text-secondary);
}

.contact-copy .text-link { color: var(--text-highlight); }

.inquiry-form {
  position: relative;
  padding: 32px;
  display: grid;
  gap: 26px;
  border: 1px solid #38517c;
  border-radius: 4px;
  background: rgba(3, 10, 23, 0.72);
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.11), 10px 10px 0 rgba(76, 120, 255, 0.11), 0 24px 64px rgba(0, 0, 0, 0.24);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.inquiry-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  width: 92px;
  height: 2px;
  background: #b7e8ff;
  box-shadow: 0 0 16px rgba(167, 226, 255, 0.52);
}

.inquiry-form::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 18px;
  height: 18px;
  border-right: 2px solid #78f0a2;
  border-bottom: 2px solid #78f0a2;
  pointer-events: none;
}

.inquiry-form:focus-within {
  border-color: #6385bd;
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.14), 10px 10px 0 rgba(76, 120, 255, 0.16), 0 24px 70px rgba(0, 0, 0, 0.3);
}

.form-heading {
  min-width: 0;
  padding-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #29436e;
}

.form-heading-copy { display: grid; gap: 7px; }

.form-heading-copy > span,
.form-route {
  color: var(--text-accent);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.form-heading-copy strong {
  color: #f8fbff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  line-height: 1.05;
}

.form-route {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #c9d5e6;
  border: 1px solid #29436e;
  background: #071327;
}

.form-route i {
  width: 7px;
  height: 7px;
  background: #78f0a2;
  box-shadow: 0 0 10px rgba(87, 239, 138, 0.56);
  animation: form-route-signal 2.6s ease-in-out infinite;
}

@keyframes form-route-signal {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 7px rgba(87, 239, 138, 0.32); }
  50% { opacity: 1; box-shadow: 0 0 14px rgba(87, 239, 138, 0.72); }
}

.form-honey {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 9px;
  color: var(--text-accent);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 0;
  color: var(--page-text);
  border: 0;
  border-bottom: 1px solid #38517c;
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea { min-height: 146px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--lime);
  box-shadow: 0 10px 20px -18px rgba(142, 212, 255, 0.9);
}

.file-field {
  min-height: 78px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #38517c;
  border-radius: 4px;
  color: var(--page-text);
  background: rgba(5, 9, 20, 0.42);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.file-field:hover,
.file-field:has(.file-input:focus-visible) {
  border-color: var(--lime);
  background: rgba(10, 25, 51, 0.78);
  box-shadow: 0 0 24px rgba(142, 212, 255, 0.08);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.file-symbol {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 3px;
  background: var(--lime);
  font-size: 20px;
}

.file-field strong { display: block; font-size: 13px; }
.file-field small { display: block; margin-top: 3px; color: var(--text-secondary); font-size: 11px; }

.form-submit-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-status {
  margin: 0;
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
}

.form-submit-row .button { flex: 0 0 auto; cursor: pointer; }

.site-footer {
  padding-right: 84px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--line);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
}

.back-to-top span {
  color: var(--text-accent);
  font-size: 14px;
  transition: transform 180ms ease;
}

.back-to-top:hover span { transform: translateY(-3px); }

.whatsapp-link {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 34px);
  z-index: 24;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #03170c;
  border: 1px solid #9af4bc;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 26px rgba(37, 211, 102, 0.24), inset 0 1px rgba(255, 255, 255, 0.5);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  isolation: isolate;
}

.whatsapp-link::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, 0.56);
  border-radius: 50%;
  animation: whatsapp-signal 2.8s ease-out infinite;
}

.whatsapp-link svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.whatsapp-link > span {
  position: absolute;
  right: calc(100% + 13px);
  width: max-content;
  padding: 8px 10px;
  color: #eafff1;
  border: 1px solid rgba(94, 232, 145, 0.42);
  border-radius: 4px;
  background: #06180f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(7px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  color: #001408;
  background: #35e978;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48), 0 0 34px rgba(37, 211, 102, 0.4), inset 0 1px rgba(255, 255, 255, 0.58);
  transform: translateY(-3px);
}

.whatsapp-link:hover > span,
.whatsapp-link:focus-visible > span {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-signal {
  0% { opacity: 0.78; transform: scale(0.82); }
  70%, 100% { opacity: 0; transform: scale(1.3); }
}

.project-dialog {
  color: var(--page-text);
  border-color: #293d60;
  background: var(--surface);
}

.dialog-copy .section-kicker { color: var(--lime); }
.dialog-copy p:not(.section-kicker) { color: var(--text-secondary); }
.dialog-copy .tag { color: #ced8e7; border-color: #2d4164; background: #071020; }
.dialog-copy .button-dark { color: #fff; background: var(--blue); }

.hero-agent-map {
  position: absolute;
  z-index: 1;
  top: 72px;
  right: max(24px, calc((100vw - 1360px) / 2));
  width: 620px;
  height: 440px;
  pointer-events: none;
  opacity: 0.94;
  animation: agent-map-enter 900ms 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.agent-map-meta {
  height: 40px;
  padding: 0 4px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(183, 232, 255, 0.74);
  border-bottom: 1px solid rgba(167, 226, 255, 0.18);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

.agent-map-meta span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
  background: #78f0a2;
  box-shadow: 0 0 12px rgba(87, 239, 138, 0.62);
  animation: agent-node-beat 2.6s ease-in-out infinite;
}

.agent-map-stage {
  position: relative;
  width: 620px;
  height: 400px;
}

.agent-wires {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.agent-wire {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
}

.agent-wire--dim {
  stroke: rgba(117, 170, 226, 0.34);
  stroke-width: 1;
  stroke-dasharray: 4 10;
  animation: agent-wire-flow 8s linear infinite;
}

.agent-wire--dim:nth-child(2) { animation-direction: reverse; animation-duration: 10s; }

.agent-wire--main {
  stroke: rgba(183, 232, 255, 0.72);
  stroke-width: 1.3;
  stroke-dasharray: 14 8 2 8;
  filter: drop-shadow(0 0 5px rgba(167, 226, 255, 0.5));
  animation: agent-wire-flow 4.8s linear infinite;
}

.agent-wire--branch {
  stroke: rgba(87, 239, 138, 0.42);
  stroke-width: 1;
  stroke-dasharray: 2 8;
  animation: agent-wire-flow 6.4s linear infinite reverse;
}

.agent-node {
  position: absolute;
  z-index: 2;
  width: 92px;
  min-height: 52px;
  padding: 9px 10px 8px 20px;
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(167, 226, 255, 0.5);
  border-bottom: 1px solid rgba(167, 226, 255, 0.2);
  background: rgba(5, 15, 33, 0.82);
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.06), 0 12px 26px rgba(0, 0, 0, 0.18);
}

.agent-node::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 1px solid #b7e8ff;
  border-right: 1px solid #b7e8ff;
}

.agent-node i {
  position: absolute;
  top: 21px;
  left: 7px;
  width: 6px;
  height: 6px;
  background: #b7e8ff;
  box-shadow: 0 0 10px rgba(167, 226, 255, 0.62);
  animation: agent-node-beat 3s ease-in-out infinite;
}

.agent-node strong,
.agent-node small {
  display: block;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
}

.agent-node strong { color: #f8fbff; font-size: 9px; line-height: 1.1; }
.agent-node small { margin-top: 4px; color: #8294ae; font-size: 7px; line-height: 1.1; }
.agent-node--signal { top: 186px; left: 0; }
.agent-node--memory { top: 300px; left: 0; }
.agent-node--vision { top: 58px; left: 397px; }
.agent-node--tools { top: 300px; left: 419px; }
.agent-node--action { top: 186px; right: 0; }
.agent-node--memory i { animation-delay: -0.6s; }
.agent-node--vision i { animation-delay: -1.2s; }
.agent-node--tools i { animation-delay: -1.8s; }
.agent-node--action i { background: #78f0a2; box-shadow: 0 0 12px rgba(87, 239, 138, 0.62); animation-delay: -2.4s; }

.agent-core {
  position: absolute;
  z-index: 3;
  top: 164px;
  left: 260px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}

.agent-core-frame {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(183, 232, 255, 0.56);
  box-shadow: 0 0 22px rgba(76, 120, 255, 0.12);
  animation: agent-core-turn 15s linear infinite;
}

.agent-core-frame:nth-child(2) {
  inset: 22px;
  border-color: rgba(87, 239, 138, 0.5);
  animation-direction: reverse;
  animation-duration: 9s;
}

.agent-core > div {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  text-align: center;
  background: #081831;
  box-shadow: inset 0 1px rgba(220, 233, 255, 0.14), 0 0 28px rgba(76, 120, 255, 0.2);
}

.agent-core strong {
  color: #f8fbff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1;
}

.agent-core small {
  margin-top: 4px;
  color: #b7e8ff;
  font-family: "DM Mono", monospace;
  font-size: 6px;
  text-transform: uppercase;
}

.agent-runner {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  offset-path: path("M 42 102 C 132 102 126 212 260 212 C 374 212 342 326 460 326 C 536 326 506 212 590 212");
  offset-distance: 0%;
  offset-rotate: 0deg;
  animation: agent-route 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.agent-runner > svg {
  position: absolute;
  top: -13px;
  left: -8px;
  width: 21px;
  height: 28px;
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(167, 226, 255, 0.92));
}

.agent-runner > svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-runner > span {
  position: absolute;
  top: 13px;
  left: 10px;
  width: max-content;
  padding: 4px 6px;
  color: #061120;
  background: #b7e8ff;
  font-family: "DM Mono", monospace;
  font-size: 6px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(167, 226, 255, 0.34);
}

.agent-packet {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #78f0a2;
  box-shadow: 0 0 10px rgba(87, 239, 138, 0.68);
  offset-rotate: 0deg;
}

.agent-packet--one {
  offset-path: path("M 42 326 C 176 326 154 212 260 212 C 370 212 350 84 438 84 C 526 84 492 212 590 212");
  animation: agent-packet-route 7s linear infinite;
}

.agent-packet--two {
  background: #b7e8ff;
  offset-path: path("M 42 212 C 130 212 172 212 260 212 C 374 212 474 212 590 212");
  animation: agent-packet-route 5.4s 1.4s linear infinite;
}

.agent-packet--three {
  width: 4px;
  height: 4px;
  offset-path: path("M 310 256 C 350 292 388 326 460 326");
  animation: agent-packet-route 3.8s 0.8s linear infinite;
}

.agent-coordinate {
  position: absolute;
  color: rgba(137, 159, 190, 0.66);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.agent-coordinate--top { top: 28px; right: 0; }
.agent-coordinate--bottom { right: 0; bottom: 18px; }

@keyframes agent-map-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 0.94; transform: translateY(0); }
}

@keyframes agent-wire-flow { to { stroke-dashoffset: -88; } }

@keyframes agent-node-beat {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 1; }
}

@keyframes agent-core-turn { to { transform: rotate(360deg); } }

@keyframes agent-route {
  0% { offset-distance: 0%; opacity: 0; }
  6%, 88% { opacity: 1; }
  94%, 100% { offset-distance: 100%; opacity: 0; }
}

@keyframes agent-packet-route {
  0% { offset-distance: 0%; opacity: 0; }
  8%, 90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (max-width: 1300px) {
  .hero-agent-map { top: -32px; right: 0; transform-origin: top right; }
}

@media (max-width: 1200px) {
  .hero-agent-map { top: 36px; right: 12px; scale: 0.8; }
  @keyframes agent-map-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 0.82; transform: translateY(0); }
  }
}

@media (max-width: 820px) {
  .hero-agent-map { top: 42px; right: -18px; scale: 0.59; opacity: 0.82; }
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 58px;
    padding: 6px;
    grid-template-columns: 1fr auto;
  }
  .nav { display: flex; gap: 2px; font-size: 10px; }
  .nav a { min-height: 38px; padding-inline: 9px; }
  .header-link-label, .header-cta-label { display: none; }
  .header-link, .header-cta { width: 38px; min-height: 38px; padding: 0; }
  .hero { height: calc(100svh - 16px); min-height: 600px; }
  .showcase { box-shadow: 8px 8px 0 var(--blue); }
  .showcase-media { border-right: 0; border-bottom-color: var(--ink); }
  .value-flow { grid-template-columns: 1fr; }
  .flow-stage { min-height: 210px; }
  .flow-arrow {
    height: 38px;
    border: 0;
    border-top: 1px solid #20375d;
    border-bottom: 1px solid #20375d;
    transform: rotate(90deg);
  }
  .capability-list { grid-template-columns: 1fr; }
  .capability-item:nth-child(n) { min-height: 252px; border-right: 0; border-bottom: 1px solid #24375a; }
  .capability-item:last-child { border-bottom: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 580px) {
  .hero-agent-map { top: 36px; right: 0; scale: 0.56; }
  .site-header { width: calc(100% - 16px); }
  .nav { gap: 0; }
  .nav a { gap: 0; padding-inline: 7px; font-size: 9px; }
  .nav a span { display: none; }
  .header-link { display: none; }
  .header-actions { padding-left: 5px; }
  .hero { min-height: 560px; }
  .section-heading { padding-left: 15px; }
  .showcase { box-shadow: 6px 6px 0 var(--blue); }
  .showcase-gallery-hint { top: 9px; right: 9px; }
  .value-flow { margin-bottom: 44px; }
  .flow-stage { min-height: 194px; padding: 24px; }
  .flow-stage h3 { font-size: 22px; }
  .matrix-label { align-items: flex-start; flex-direction: column; gap: 5px; }
  .capability-item { min-height: 236px; padding: 24px; }
  .capability-number { top: 24px; right: 24px; }
  .capability-visual { top: 24px; left: 24px; }
  .capability-item h3 { margin-top: 72px; font-size: 26px; }
  .capability-item p { margin-top: 22px; font-size: 13px; }
  .about-copy { padding-left: 18px; }
  .site-grid { grid-template-columns: repeat(4, 1fr); }
  .site-grid span:nth-child(n + 5) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 22px; box-shadow: inset 0 1px rgba(220, 233, 255, 0.11), 6px 6px 0 rgba(76, 120, 255, 0.11); }
  .inquiry-form::before { left: 22px; width: 72px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .button { width: 100%; }
  .hero-proof { padding-right: 64px; }
  .whatsapp-link { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-link svg { width: 26px; height: 26px; }
  .whatsapp-link > span { display: none; }
}
