:root {
  --bg: #07080a;
  --surface: #101215;
  --ink: #eef0f4;
  --muted: #8a909b;
  --line: #1c2028;
  --accent: #6ea8ff;
  --radius: 10px;
  --wrap: 1180px;
  --font: "Figtree", system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(110, 168, 255, 0.28);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 40;
  background: var(--surface);
  padding: 8px 12px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0 0;
  background: transparent;
  border-bottom: 0;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px 8px 8px 20px;
  background: #10141c;
  border: 1px solid #2a3140;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.logo {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent);
  font-weight: 700;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang a {
  color: var(--muted);
  padding: 8px 9px;
  border-radius: 8px;
}

.lang a:hover,
.lang a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
}

.lang a[aria-current="page"] {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav a {
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: #1a2030;
}

.nav-cta {
  color: #07080a !important;
  background: var(--accent);
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-cta:hover {
  background: #8bbcff;
  border-color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0 72px;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
}

.hero h1 em {
  font-style: normal;
  color: var(--muted);
}

.lede {
  margin-top: 22px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}

.lede strong,
.section-head p strong,
.about p strong,
.care p strong,
.services p strong {
  color: var(--ink);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-fill {
  background: var(--ink);
  color: #07080a;
}

.btn-fill:hover {
  background: var(--accent);
  color: #07080a;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.hero-viz {
  min-height: 0;
}

.viz-window {
  position: relative;
  background: #0c0e12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(110, 168, 255, 0.08),
    0 0 48px rgba(110, 168, 255, 0.07);
  animation: viz-float 6.5s ease-in-out infinite;
}

.viz-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(110, 168, 255, 0.06) 50%, transparent 62%);
  background-size: 220% 100%;
  animation: viz-sheen 9s ease-in-out infinite;
}

.viz-bar,
.viz-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.viz-bar {
  border-bottom: 1px solid var(--line);
  background: #0f1218;
}

.viz-dots {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3f4a;
  box-shadow: 16px 0 0 #3a3f4a, 32px 0 0 #3a3f4a;
  margin-right: 36px;
  flex-shrink: 0;
}

.viz-title {
  font-variant-numeric: tabular-nums;
}

.viz-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3dd68c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.viz-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 8px #3dd68c;
  animation: viz-blink 1.8s ease-in-out infinite;
}

.viz-body {
  padding: 8px 10px 0;
}

.viz-body svg {
  width: 100%;
  height: auto;
  display: block;
}

.viz-spoke {
  stroke: #6ea8ff;
  stroke-width: 1;
  opacity: 0.14;
}

.viz-radar {
  fill: none;
  stroke: #6ea8ff;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-radar 4.2s ease-out infinite;
}

.viz-radar-2 {
  animation-delay: 1.4s;
}

.viz-core {
  fill: #6ea8ff;
  animation: viz-core 2.4s ease-in-out infinite;
}

.viz-hub-label {
  fill: #6a7382;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-anchor: middle;
}

.viz-node {
  fill: #101215;
  stroke: #1c2028;
  animation: viz-node-on 7s linear infinite;
}

.viz-step-1 .viz-node {
  animation-delay: 0s;
}

.viz-step-2 .viz-node {
  animation-delay: 0.9s;
}

.viz-step-3 .viz-node {
  animation-delay: 1.8s;
}

.viz-step-4 .viz-node {
  animation-delay: 2.7s;
}

.viz-step-5 .viz-node {
  animation-name: viz-node-hold;
  animation-delay: 0s;
}

.viz-num,
.viz-label {
  text-anchor: middle;
  font-family: var(--font);
}

.viz-num {
  fill: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.viz-label {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.flow-base,
.flow-draw {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-base {
  stroke: #243044;
  stroke-dasharray: 5 7;
  animation: flow-dash 18s linear infinite;
}

.flow-draw {
  stroke: url(#viz-flow);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: flow-draw 7s ease-in-out infinite;
}

.flow-dot {
  fill: #d7e8ff;
}

.flow-glow {
  fill: #6ea8ff;
  opacity: 0.28;
}

.flow-trail {
  fill: #6ea8ff;
  opacity: 0.35;
}

.viz-foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.viz-foot-k {
  flex: 1;
}

.viz-cycle {
  position: relative;
  min-width: 9.5em;
  height: 1.1em;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.viz-cycle span {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  animation: viz-cycle 7s linear infinite;
}

.viz-cycle span:nth-child(1) {
  animation-delay: 0s;
}

.viz-cycle span:nth-child(2) {
  animation-delay: 0.9s;
}

.viz-cycle span:nth-child(3) {
  animation-delay: 1.8s;
}

.viz-cycle span:nth-child(4) {
  animation-delay: 2.7s;
}

.viz-cycle span:nth-child(5) {
  animation-name: viz-cycle-hold;
  animation-delay: 0s;
}

.viz-ok {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 10px #3dd68c;
  flex-shrink: 0;
}

@keyframes viz-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes viz-sheen {
  0%,
  55% {
    background-position: 120% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@keyframes viz-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes viz-radar {
  0% {
    transform: scale(0.45);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes viz-core {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@keyframes viz-node-on {
  0%,
  3% {
    stroke: #1c2028;
    fill: #101215;
  }
  6%,
  16% {
    stroke: #6ea8ff;
    fill: #141c28;
  }
  22%,
  100% {
    stroke: #1c2028;
    fill: #101215;
  }
}

@keyframes viz-node-hold {
  0%,
  52% {
    stroke: #1c2028;
    fill: #101215;
  }
  55%,
  78% {
    stroke: #6ea8ff;
    fill: #141c28;
  }
  84%,
  100% {
    stroke: #1c2028;
    fill: #101215;
  }
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes flow-draw {
  0% {
    stroke-dashoffset: 100;
  }
  58% {
    stroke-dashoffset: 0;
  }
  78% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 100;
  }
}

@keyframes viz-cycle {
  0%,
  4% {
    opacity: 0;
  }
  8%,
  16% {
    opacity: 1;
  }
  22%,
  100% {
    opacity: 0;
  }
}

@keyframes viz-cycle-hold {
  0%,
  52% {
    opacity: 0;
  }
  56%,
  78% {
    opacity: 1;
  }
  84%,
  100% {
    opacity: 0;
  }
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 88px;
}

.strip article {
  background: var(--bg);
  padding: 22px 20px;
}

.strip b {
  display: block;
  font-family: var(--font);
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 8px 0 88px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.section-head p {
  max-width: 28em;
  color: var(--muted);
  font-size: 15px;
}

.section-head p a {
  color: var(--ink);
}

.section-head p a:hover {
  color: var(--accent);
}

.services,
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process {
  grid-template-columns: repeat(5, 1fr);
}

.process-wrap {
  --step: 0;
  --count: 5;
}

.section-head .process-status {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.process-rail {
  display: none;
  position: relative;
  height: 16px;
  margin: 0 0 10px;
}

.process-rail-base,
.process-rail-fill {
  position: absolute;
  left: 10%;
  top: 7px;
  height: 2px;
  border-radius: 2px;
}

.process-rail-base {
  width: 80%;
  background: var(--line);
}

.process-rail-fill {
  width: calc(var(--step) / 4 * 80%);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.35);
  transition: width 0.45s ease;
}

.process-rail-dot {
  position: absolute;
  top: 4px;
  left: calc(10% + var(--step) / 4 * 80%);
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #d7e8ff;
  box-shadow: 0 0 14px #6ea8ff;
  transition: left 0.45s ease;
}

@media (min-width: 1101px) {
  .process-rail {
    display: block;
  }
}

.services article,
.process article {
  background: var(--bg);
  padding: 28px 24px 32px;
}

.process article {
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.process article:hover,
.process article:focus-visible {
  background: #0c1016;
  outline: none;
}

.process article.is-active {
  background: #111820;
  box-shadow: inset 0 2px 0 var(--accent);
}

.process article.is-active span {
  text-shadow: 0 0 12px rgba(110, 168, 255, 0.45);
}

.services span,
.process span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.services h3,
.process h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.services p,
.process p {
  color: var(--muted);
  font-size: 15px;
}

.care {
  margin-top: 12px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.care h3 {
  font-size: 28px;
  margin: 8px 0 12px;
}

.care p:last-child {
  color: var(--muted);
  max-width: 46em;
}

.facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.facts dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 280px;
  border: 1px solid var(--line);
}

.card-img {
  position: absolute;
  inset: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.72);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.card:hover img {
  transform: scale(1.03);
  filter: saturate(0.95) brightness(0.86);
}

.card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 10, 0.92) 70%);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  z-index: 1;
}

.card h3 {
  font-size: 22px;
}

.card .tags {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(0.25) contrast(1.08);
}

.about .kicker {
  margin-bottom: 12px;
}

.about h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 18px;
}

.about p {
  color: var(--muted);
  font-size: 17px;
}

.about p + p {
  margin-top: 12px;
}

.about-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  gap: 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}

.social a:hover {
  color: var(--ink);
}

.contact {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: end;
}

.contact .kicker {
  margin-bottom: 8px;
}

.contact h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  max-width: 18ch;
}

.contact .lede {
  margin-top: 8px;
  font-size: 15px;
  max-width: 36em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.contact-links a {
  display: block;
  font-family: var(--font);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.contact-links a:hover {
  color: var(--accent);
}

.site-footer {
  color: var(--muted);
  padding: 48px 0 28px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) 1fr;
  gap: 28px 48px;
  padding-bottom: 28px;
}

.footer-logo {
  display: inline-block;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.footer-firm {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-note {
  max-width: 28em;
}

.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 0;
}

.footer-legal div {
  display: grid;
  gap: 2px;
}

.footer-legal dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7382;
}

.footer-legal dd {
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.footer-nav button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.legal {
  padding: 36px 0 80px;
  max-width: 44em;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 8px 0 12px;
}

.legal .lede {
  margin: 0 0 28px;
}

.legal h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p + p,
.legal ul {
  margin-top: 10px;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal ul {
  padding-left: 1.2em;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--accent);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 8px;
}

.legal th,
.legal td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 10px 0;
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-bar,
.cookie-dialog {
  background: #10141c;
  border: 1px solid #2a3140;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.cookie-bar {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 960px;
  margin-inline: auto;
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 46em;
}

.cookie-bar a,
.cookie-dialog a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 24px;
  color: var(--ink);
}

.cookie-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.cookie-dialog h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.cookie-dialog > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.cookie-opt {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cookie-opt p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cookie-opt input {
  margin-top: 4px;
}

.cookie-dialog .cookie-actions {
  margin-top: 18px;
}

.project-hero {
  padding: 40px 0 20px;
}

.project-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-top: 8px;
}

.project-hero .summary {
  margin-top: 16px;
  max-width: 40em;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  gap: 10px;
  padding: 12px 0 28px;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.project-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 8px 0 96px;
}

.project-body .tags {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.project-body p {
  color: var(--muted);
  font-size: 16px;
}

.project-body p + p {
  margin-top: 14px;
}

.back {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.back:hover {
  color: var(--ink);
}

.cv {
  padding: 36px 0 80px;
}

.cv h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 8px 0 12px;
}

.cv .lede {
  max-width: 38em;
  margin-bottom: 12px;
}

.cv-section {
  margin-top: 48px;
}

.cv-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

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

.cv-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cv-item .cv-dates {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.cv-item h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.cv-item h3 a {
  color: inherit;
}

.cv-item h3 a:hover {
  color: var(--accent);
}

.cv-item .cv-role {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.cv-item p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

.page-404 {
  padding: 80px 0 140px;
}

.page-404 h1 {
  font-size: clamp(40px, 7vw, 76px);
  margin: 8px 0 16px;
}

.page-404 p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero,
  .about,
  .work-grid,
  .strip,
  .services,
  .process,
  .facts,
  .project-body {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
    gap: 28px;
  }

  .hero-viz {
    order: -1;
    min-height: 0;
    max-width: 520px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-links {
    align-items: flex-start;
  }

  .footer-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
  }

  .cv-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 8px);
    background: #10141c;
    border: 1px solid #2a3140;
    border-radius: 14px;
    flex-direction: column;
    padding: 10px;
    gap: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }

  .nav.open {
    display: flex;
  }

  .header {
    position: sticky;
  }

  .header-inner {
    position: relative;
    width: min(var(--wrap), calc(100% - 40px));
    margin-inline: auto;
  }

  .card {
    min-height: 240px;
  }
}

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

  .card img {
    transition: none;
  }

  .flow-draw,
  .flow-dot,
  .flow-glow,
  .flow-trail,
  .flow-base,
  .viz-window,
  .viz-window::after,
  .viz-live i,
  .viz-radar,
  .viz-core,
  .viz-node,
  .viz-cycle span {
    animation: none;
  }

  .flow-draw {
    stroke-dashoffset: 0;
  }

  .flow-dot,
  .flow-glow,
  .flow-trail {
    opacity: 0;
  }

  .viz-window {
    transform: none;
  }

  .viz-window::after {
    content: none;
  }

  .viz-radar {
    opacity: 0.18;
  }

  .viz-cycle span {
    opacity: 0;
  }

  .viz-cycle span:last-child {
    opacity: 1;
  }
}
