@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #07111f;
  --ink-deep: #040b14;
  --surface: #0b1829;
  --surface-raised: #102238;
  --surface-soft: #142a43;
  --text: #f2f7ff;
  --text-soft: #b9c8db;
  --text-muted: #8398b0;
  --line: rgba(176, 205, 237, 0.16);
  --line-strong: rgba(176, 205, 237, 0.28);
  --accent: #0080ff;
  --accent-strong: #2492ff;
  --danger: #ff7b84;
  --shadow: 0 28px 80px rgba(0, 44, 88, 0.28);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 88rem;
  --header-height: 4.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 30;
  --z-menu: 40;
  --z-dialog: 80;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 128, 255, 0.1), transparent 28rem),
    var(--ink);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

figure,
p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: #00162b;
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-130%);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--accent);
  color: #001a33;
  font-weight: 750;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 10rem);
}

.section-tight {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.eyebrow {
  margin-bottom: 1.4rem;
  color: var(--accent-strong);
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  max-width: 42rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.mono {
  font-family: "Geist Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 11, 20, 0.82);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 12.4rem;
  min-height: 2.85rem;
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-sm);
  background: #f6f9fd;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(1, 18, 36, 0.08);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  color: var(--text-soft);
  font-size: 0.91rem;
  font-weight: 580;
  text-decoration: none;
  transition: color 220ms var(--ease), background-color 220ms var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0.35rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 220ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-action {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #00192f;
  box-shadow: 0 12px 30px rgba(0, 128, 255, 0.22);
}

.btn-primary:hover {
  background: #1b8dff;
  box-shadow: 0 16px 38px rgba(0, 128, 255, 0.32);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(16, 34, 56, 0.72);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(0, 128, 255, 0.62);
  background: var(--surface-raised);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 700;
  text-decoration-color: var(--accent);
  transition: color 200ms var(--ease);
}

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

.hero {
  --hero-x: 0;
  --hero-y: 0;
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: calc(100dvh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 128, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(0, 128, 255, 0.05) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, black, transparent 60%);
  opacity: 0.6;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 50% 0 0;
  pointer-events: none;
  background: radial-gradient(circle at 68% 48%, rgba(0, 128, 255, 0.12), transparent 23rem);
  opacity: 0.75;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  width: min(100%, 110rem);
  min-height: inherit;
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(5rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--container)) / 2));
}

.hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 1.7rem;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-title i {
  display: inline-block;
  font-style: normal;
  transform-origin: left bottom;
}

.hero-copy .lede {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: var(--surface);
  border-left: 1px solid var(--line);
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(calc(var(--hero-x) * -0.45rem), calc(var(--hero-y) * -0.35rem), 0) scale(1.025);
  transition: transform 900ms var(--ease);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-media::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.48), transparent 28%),
    linear-gradient(0deg, rgba(4, 11, 20, 0.58), transparent 36%);
}

.hero-media::after {
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(181, 215, 255, 0.025) 6px);
  mix-blend-mode: screen;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform-origin: 54% 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    animation: hero-clip-reveal 1100ms var(--ease) 120ms both;
  }

  .hero-media img {
    animation: hero-zoom 34s linear 400ms both;
  }

  .hero-title i {
    animation: hero-word-in 850ms var(--ease) both;
  }

  .hero-title span:first-child i:nth-child(1) {
    animation-delay: 80ms;
  }

  .hero-title span:first-child i:nth-child(2) {
    animation-delay: 170ms;
  }

  .hero-title span:last-child i {
    animation-delay: 260ms;
  }

  .hero-copy > .eyebrow,
  .hero-copy > .lede,
  .hero-copy > .hero-actions {
    animation: hero-copy-in 720ms var(--ease) both;
  }

  .hero-copy > .eyebrow {
    animation-delay: 40ms;
  }

  .hero-copy > .lede {
    animation-delay: 360ms;
  }

  .hero-copy > .hero-actions {
    animation-delay: 440ms;
  }
}

@keyframes hero-clip-reveal {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0.4;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes hero-word-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.15em, 0) rotate(1.5deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.095) translate3d(-0.6%, -0.25%, 0);
  }
}

.hero-blueprint {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blueprint-axis,
.blueprint-frame,
.blueprint-stroke,
.pressure-signal {
  position: absolute;
  display: block;
}

.blueprint-axis {
  background: rgba(129, 193, 255, 0.34);
}

.blueprint-axis-x {
  top: 42%;
  right: 0;
  left: 0;
  height: 1px;
}

.blueprint-axis-y {
  top: 0;
  bottom: 0;
  left: 63%;
  width: 1px;
}

.blueprint-frame {
  top: 31%;
  right: 8%;
  bottom: 17%;
  left: 10%;
  border: 1px solid rgba(149, 206, 255, 0.38);
  border-top-color: rgba(36, 146, 255, 0.76);
}

.blueprint-frame::before,
.blueprint-frame::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  border-color: var(--accent-strong);
  border-style: solid;
}

.blueprint-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.blueprint-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.blueprint-stroke {
  top: 48%;
  right: 12%;
  left: 14%;
  height: 19%;
  border: 1px solid rgba(187, 222, 255, 0.5);
  background: linear-gradient(180deg, rgba(0, 128, 255, 0.05), transparent 60%);
}

.blueprint-stroke i {
  position: absolute;
  inset: 0 38%;
  border-inline: 1px solid rgba(36, 146, 255, 0.68);
}

.pressure-signal {
  height: 1px;
  overflow: hidden;
  background: rgba(151, 205, 255, 0.46);
  transform-origin: left center;
}

.pressure-signal i {
  position: absolute;
  top: -1px;
  left: 0;
  width: 3.2rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
}

.pressure-signal-a {
  top: 24%;
  left: 6%;
  width: 44%;
  transform: rotate(18deg);
}

.pressure-signal-b {
  right: 5%;
  bottom: 25%;
  width: 38%;
  transform: rotate(-21deg);
}

.hero-process {
  position: absolute;
  z-index: 4;
  inset: auto 1.5rem 4.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(180, 218, 255, 0.32);
  background: rgba(4, 11, 20, 0.76);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.hero-process span {
  min-width: 0;
  padding: 0.85rem 0.9rem;
}

.hero-process span + span {
  border-left: 1px solid rgba(180, 218, 255, 0.2);
}

.hero-process small,
.hero-process strong {
  display: block;
}

.hero-process small {
  margin-bottom: 0.18rem;
  color: #a5bcd4;
  font-family: "Geist Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-process strong {
  overflow: hidden;
  color: #f1f7ff;
  font-size: 0.79rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .blueprint-stroke {
    animation: press-stroke 7.5s var(--ease) 1.1s infinite alternate;
  }

  .pressure-signal i {
    animation: signal-flow 3.4s ease-in-out infinite;
  }

  .pressure-signal-b i {
    animation-delay: 1.35s;
  }
}

@keyframes press-stroke {
  0%,
  18% {
    transform: translate3d(0, -0.35rem, 0);
  }
  74%,
  100% {
    transform: translate3d(0, 0.95rem, 0);
  }
}

@keyframes signal-flow {
  from {
    transform: translate3d(-3.2rem, 0, 0);
  }
  to {
    transform: translate3d(28rem, 0, 0);
  }
}

.hero-caption {
  position: absolute;
  z-index: 3;
  inset: auto 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  margin: 0;
  color: #f1f7ff;
  font-size: 0.83rem;
}

.hero-caption span:last-child {
  color: #d6e8fa;
  font-family: "Geist Mono", monospace;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.guarantee-grid h2 {
  max-width: 8ch;
  margin-bottom: 0;
}

.guarantee-copy {
  max-width: 47rem;
  padding-top: 0.75rem;
}

.guarantee-copy > p {
  margin-bottom: 3rem;
  color: var(--text-soft);
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  line-height: 1.5;
}

.promise-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.promise-rail div {
  min-height: 8.5rem;
  padding: 1.4rem 1rem 1rem 0;
}

.promise-rail div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.promise-rail strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.promise-rail span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.flow-story {
  overflow: clip;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 128, 255, 0.035) 1px, transparent 1px),
    var(--ink-deep);
  background-size: 7rem 100%;
}

.flow-story-grid {
  display: grid;
  grid-template-columns: minmax(24rem, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 9rem);
}

.flow-story-visual {
  position: sticky;
  top: calc(var(--header-height) + 2.5rem);
  min-height: clamp(34rem, 60vw, 48rem);
}

.flow-story-main,
.flow-story-inset {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.flow-story-main {
  inset: 0 13% 8% 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.flow-story-inset {
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 4 / 5;
  border: 0.45rem solid var(--ink-deep);
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(0, 44, 88, 0.34);
}

.flow-story-main img,
.flow-story-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 300ms var(--ease);
}

.flow-story-main img {
  object-position: 51% 49%;
}

.flow-story-inset img {
  object-position: center;
}

.flow-story-visual:hover .flow-story-main img {
  transform: scale(1.025);
  filter: contrast(1.035);
}

.flow-story-visual:hover .flow-story-inset img {
  transform: scale(1.04);
}

.flow-story-schematic {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: 5%;
  width: 28%;
  aspect-ratio: 1;
  border-top: 1px solid rgba(36, 146, 255, 0.7);
  border-right: 1px solid rgba(151, 205, 255, 0.42);
  pointer-events: none;
}

.flow-story-schematic span {
  position: absolute;
  display: block;
  background: rgba(151, 205, 255, 0.46);
}

.flow-story-schematic span:nth-child(1) {
  top: 32%;
  right: 0;
  left: -30%;
  height: 1px;
}

.flow-story-schematic span:nth-child(2) {
  top: 0;
  bottom: -22%;
  left: 48%;
  width: 1px;
}

.flow-story-schematic span:nth-child(3) {
  right: -18%;
  bottom: 17%;
  width: 54%;
  height: 1px;
  transform: rotate(-38deg);
  transform-origin: right center;
}

.flow-story-copy {
  padding-top: clamp(1rem, 4vw, 4rem);
}

.flow-story-copy h2 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
}

.flow-story-lede {
  max-width: 40rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.flow-sequence {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 2.25rem;
}

.flow-sequence::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.35rem;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(0, 128, 255, 0.08));
}

.flow-step {
  position: relative;
  padding: 0 0 2.6rem;
}

.flow-step + .flow-step {
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: -2.25rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  background: var(--ink-deep);
}

.flow-step + .flow-step::before {
  top: 3.15rem;
}

.flow-step h3 {
  max-width: 24ch;
  margin-bottom: 0.7rem;
}

.flow-step p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(20rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.service-intro {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.service-intro h2 {
  max-width: 8ch;
  margin-bottom: 1.5rem;
}

.service-intro p {
  max-width: 31rem;
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.service-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.service-index li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  min-height: 5.6rem;
  border-bottom: 1px solid var(--line);
}

.service-index .mono {
  color: var(--accent-strong);
  font-size: 0.78rem;
}

.service-index a,
.service-index span:last-child {
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 610;
  text-decoration: none;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}

.service-index a:hover {
  color: var(--accent-strong);
  transform: translateX(0.3rem);
}

.project-teaser {
  overflow: hidden;
  background: var(--ink-deep);
  border-block: 1px solid var(--line);
}

.project-teaser-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-teaser-head h2 {
  max-width: 8ch;
  margin-bottom: 0;
}

.project-strip {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.95fr 0.7fr;
  grid-template-rows: repeat(2, minmax(12rem, 18vw));
  gap: 0.8rem;
}

.project-strip figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.project-strip figure:first-child {
  grid-row: 1 / 3;
}

.project-strip figure:nth-child(3) {
  grid-column: 3 / 5;
}

.project-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 300ms var(--ease);
}

.project-strip figure:hover img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.press-feature {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.press-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #eef3f8;
  box-shadow: var(--shadow);
}

.press-visual img {
  width: 100%;
  height: auto;
}

.press-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
}

.press-copy p {
  max-width: 37rem;
  color: var(--text-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: end;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(0, 128, 255, 0.38);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 128, 255, 0.2), transparent 24rem),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.cta-panel p {
  max-width: 32rem;
  color: var(--text-soft);
}

.page-hero {
  position: relative;
  min-height: 34rem;
  display: grid;
  align-items: end;
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 25%, rgba(0, 128, 255, 0.13), transparent 28rem),
    linear-gradient(90deg, rgba(0, 128, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 6rem 100%;
}

.page-hero-content {
  position: relative;
  max-width: 68rem;
}

.inner-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1.12fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.inner-hero-grid .page-hero-content {
  max-width: 48rem;
}

.inner-hero-media {
  position: relative;
  height: clamp(19rem, 31vw, 28rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.inner-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 11, 20, 0.42), transparent 46%);
}

.inner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .inner-hero-media {
    animation: hero-clip-reveal 900ms var(--ease) 80ms both;
  }

  .inner-hero-media img {
    animation: inner-hero-drift 28s ease-in-out 300ms both;
  }

  .page-hero-content > .eyebrow,
  .page-hero-content > h1,
  .page-hero-content > .lede {
    animation: hero-copy-in 700ms var(--ease) both;
  }

  .page-hero-content > h1 {
    animation-delay: 90ms;
  }

  .page-hero-content > .lede {
    animation-delay: 180ms;
  }
}

@keyframes inner-hero-drift {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.075) translate3d(-0.5%, -0.35%, 0);
  }
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.page-hero .lede {
  margin-bottom: 0;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.44fr) minmax(0, 1.56fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.service-detail-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  margin: 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line-strong);
  list-style: none;
}

.service-detail-nav a {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.service-detail-nav a:hover,
.service-detail-nav a:focus-visible {
  color: var(--text);
  transform: translateX(0.25rem);
}

.service-detail-list {
  max-width: 62rem;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: 2rem;
  padding-block: clamp(2.8rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.service-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-detail h2 {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  overflow-wrap: anywhere;
}

.service-detail-copy p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.service-detail-copy p:last-child {
  margin-bottom: 0;
}

.gallery-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(11rem, 16vw));
  gap: 0.8rem;
  margin-top: 3rem;
}

.gallery-intro-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery-intro-grid .gallery-intro-main {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.gallery-intro-grid .gallery-intro-wide {
  grid-column: 8 / 13;
  grid-row: 1;
}

.gallery-intro-grid .gallery-intro-detail {
  z-index: 1;
  grid-column: 9 / 13;
  grid-row: 2;
  margin: -1.4rem 1.2rem 1.2rem -1.4rem;
  border: 0.4rem solid var(--ink);
}

.gallery-intro-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-intro-grid figure {
    animation: hero-clip-reveal 900ms var(--ease) both;
  }

  .gallery-intro-grid .gallery-intro-main {
    animation-delay: 100ms;
  }

  .gallery-intro-grid .gallery-intro-wide {
    animation-delay: 220ms;
  }

  .gallery-intro-grid .gallery-intro-detail {
    animation-delay: 340ms;
  }

  .gallery-intro-grid img {
    animation: gallery-hero-drift 32s ease-in-out 500ms both;
  }
}

@keyframes gallery-hero-drift {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.06) translate3d(-0.35%, -0.25%, 0);
  }
}

.gallery-intro-main img {
  object-position: center 47%;
}

.gallery-intro-detail img {
  object-position: center 45%;
}

.gallery-intro-signal {
  position: absolute;
  z-index: 2;
  inset: 8% 3% auto auto;
  width: 30%;
  height: 22%;
  pointer-events: none;
}

.gallery-intro-signal span {
  position: absolute;
  display: block;
  background: rgba(151, 205, 255, 0.55);
}

.gallery-intro-signal span:nth-child(1) {
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
}

.gallery-intro-signal span:nth-child(2) {
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
}

.gallery-intro-signal span:nth-child(3) {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 1px;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.gallery-heading h2 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
}

.gallery-heading p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

.gallery-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--line);
}

.gallery-facts div {
  min-width: 8rem;
  padding: 1rem 1.15rem;
  background: var(--ink);
}

.gallery-facts dt {
  color: var(--text-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-facts dd {
  margin: 0.1rem 0 0;
  color: var(--text);
  font-size: 1.85rem;
  font-weight: 660;
  letter-spacing: -0.05em;
  line-height: 1;
}

.gallery-toolbar {
  position: sticky;
  z-index: 8;
  top: calc(var(--header-height) + 0.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 -0.75rem 2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(4, 11, 20, 0.9);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  min-height: 2.8rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.filter-button:hover {
  color: var(--text);
  border-color: rgba(0, 128, 255, 0.55);
}

.filter-button:active {
  transform: scale(0.98);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #00192f;
}

.gallery-count {
  margin: 0;
  color: var(--text-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
  white-space: nowrap;
}

.gallery-grid {
  display: block;
  columns: 4 17rem;
  column-gap: 0.8rem;
}

.gallery-item {
  width: 100%;
  margin: 0 0 0.8rem;
  break-inside: avoid;
}

.gallery-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-image {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, var(--surface) 18%, var(--surface-raised) 45%, var(--surface) 72%);
  background-size: 180% 100%;
}

.gallery-item:nth-child(9n + 1) .gallery-image,
.gallery-item:nth-child(9n + 6) .gallery-image {
  aspect-ratio: 16 / 10;
}

.gallery-item:nth-child(6n + 2) .gallery-image {
  aspect-ratio: 1;
}

.gallery-item:nth-child(10n + 4) .gallery-image {
  aspect-ratio: 3 / 4;
}

.gallery-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(182, 220, 255, 0.18), transparent 32%);
  opacity: 0;
  transition: opacity 260ms var(--ease);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 260ms var(--ease);
}

.gallery-card:hover .gallery-image img,
.gallery-card:focus-visible .gallery-image img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.04);
}

.gallery-card:hover .gallery-image::after,
.gallery-card:focus-visible .gallery-image::after {
  opacity: 1;
}

.gallery-card figcaption {
  padding: 0.75rem 0.2rem 1.2rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-empty {
  display: none;
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-soft);
  text-align: center;
}

.gallery-empty.is-visible {
  display: block;
}

.press-archive {
  display: grid;
  grid-template-columns: minmax(16rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line-strong);
}

.press-archive img {
  width: 100%;
  border-radius: var(--radius);
  background: #edf3f8;
}

.press-archive h2 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
}

.press-archive p {
  max-width: 39rem;
  color: var(--text-soft);
}

.lightbox {
  width: min(94vw, 88rem);
  max-width: none;
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-deep);
  color: var(--text);
  box-shadow: 0 36px 120px rgba(0, 16, 34, 0.68);
}

.lightbox[open] {
  animation: lightbox-enter 300ms var(--ease) both;
}

@keyframes lightbox-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.lightbox::backdrop {
  background: rgba(2, 8, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(94dvh, 62rem);
}

.lightbox-head,
.lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.65rem 1rem;
  border-color: var(--line);
}

.lightbox-head {
  border-bottom: 1px solid var(--line);
}

.lightbox-foot {
  border-top: 1px solid var(--line);
}

.lightbox-title,
.lightbox-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
}

.lightbox-stage::before {
  content: "";
  position: absolute;
  inset: 20% 15%;
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--surface) 18%, var(--surface-raised) 45%, var(--surface) 72%);
  background-size: 180% 100%;
  opacity: 0;
}

.lightbox.is-loading .lightbox-stage::before {
  opacity: 1;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -180% 0;
  }
}

.lightbox-image {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 180ms ease-out, transform 220ms var(--ease);
}

.lightbox.is-loading .lightbox-image,
.lightbox.is-changing .lightbox-image {
  opacity: 0;
  transform: scale(0.985);
}

.lightbox-button {
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 650;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.lightbox-button:hover {
  border-color: rgba(0, 128, 255, 0.58);
  background: var(--surface-raised);
}

.lightbox-button:active {
  transform: scale(0.98);
}

.lightbox-nav {
  display: flex;
  gap: 0.55rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-copy h2 {
  max-width: 9ch;
  margin-bottom: 1.4rem;
}

.contact-copy > p {
  max-width: 32rem;
  color: var(--text-soft);
}

.contact-data {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.5rem;
}

.contact-data div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-data dt {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-data dd {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.contact-data a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration-color: var(--accent);
}

.mail-form {
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mail-form h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-note {
  max-width: 44rem;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.required-label {
  margin-left: 0.35rem;
  color: var(--text-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.64rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--ink-deep);
  color: var(--text);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #748ba5;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(176, 205, 237, 0.42);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.22);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.3rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.8rem;
}

.bot-challenge {
  min-width: 0;
  margin: 0.25rem 0 0;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, rgba(0, 128, 255, 0.055) 1px, transparent 1px),
    var(--ink-deep);
  background-size: 3rem 100%;
}

.bot-challenge legend {
  padding-inline: 0.45rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 680;
}

.bot-challenge-row {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(5.5rem, 0.38fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.bot-challenge-row label {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.bot-challenge-row input {
  text-align: center;
  font-family: "Geist Mono", monospace;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.bot-refresh {
  min-height: 3.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.bot-refresh:hover {
  border-color: rgba(0, 128, 255, 0.62);
  background: var(--surface-soft);
}

.bot-refresh:active {
  transform: scale(0.98);
}

.bot-help {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.bot-challenge .field-error {
  margin-top: 0.4rem;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.3rem;
}

.form-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.form-status.is-error {
  color: var(--danger);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.legal-nav p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-soft);
  font-weight: 650;
}

.legal-copy {
  max-width: 55rem;
}

.legal-copy section {
  padding-block: 2.2rem;
  border-top: 1px solid var(--line);
}

.legal-copy section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  letter-spacing: -0.025em;
}

.legal-copy h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.legal-copy p,
.legal-copy li,
.legal-copy address {
  color: var(--text-soft);
}

.legal-copy address {
  font-style: normal;
}

.legal-copy a {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.legal-copy ul {
  padding-left: 1.3rem;
}

.legal-meta {
  color: var(--text-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - var(--header-height));
  padding: 4rem 1.5rem;
}

.error-card {
  width: min(100%, 58rem);
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.error-code {
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-family: "Geist Mono", monospace;
  font-size: 0.85rem;
}

.error-card h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.error-card p {
  max-width: 38rem;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) repeat(2, minmax(10rem, 0.4fr));
  gap: 3rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.footer-brand .brand {
  margin-bottom: 1.4rem;
}

.footer-brand p {
  max-width: 29rem;
  color: var(--text-muted);
}

.footer-column h2 {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-family: "Geist Mono", monospace;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-soft);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  filter: blur(0.35rem);
}

.has-js .reveal.reveal-ready[data-reveal-direction="left"] {
  transform: translate3d(-2.2rem, 1rem, 0);
}

.has-js .reveal.reveal-ready[data-reveal-direction="right"] {
  transform: translate3d(2.2rem, 1rem, 0);
}

.has-js .reveal.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease), filter 600ms var(--ease);
}

.has-js .reveal-delay-1.is-visible {
  transition-delay: 80ms;
}

.has-js .reveal-delay-2.is-visible {
  transition-delay: 150ms;
}

@media (max-width: 72rem) {
  .header-inner {
    gap: 1rem;
  }

  .primary-nav a {
    padding-inline: 0.58rem;
    font-size: 0.85rem;
  }

  .primary-nav a::after {
    inset-inline: 0.58rem;
  }

  .header-action {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
  }

  .gallery-item {
    grid-column: span 4;
  }

  .gallery-item:nth-child(7n + 1),
  .gallery-item:nth-child(7n + 5) {
    grid-column: span 8;
  }
}

@media (max-width: 56rem) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav {
    position: fixed;
    z-index: var(--z-menu);
    inset: var(--header-height) 0 auto;
    max-height: calc(100dvh - var(--header-height));
    padding: 1rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    border-bottom: 1px solid var(--line-strong);
    background: rgba(4, 11, 20, 0.98);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 0.3rem;
  }

  .primary-nav a {
    width: 100%;
    min-height: 3.25rem;
    padding-inline: 1rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 30rem;
    padding: 4.5rem 1rem 4rem;
  }

  .hero-media {
    min-height: min(72dvh, 42rem);
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-media::before {
    background: linear-gradient(0deg, rgba(4, 11, 20, 0.6), transparent 40%);
  }

  .guarantee-grid,
  .flow-story-grid,
  .service-showcase,
  .press-feature,
  .cta-panel,
  .inner-hero-grid,
  .service-detail-layout,
  .contact-layout,
  .legal-layout,
  .press-archive {
    grid-template-columns: 1fr;
  }

  .flow-story-visual {
    position: relative;
    top: auto;
    min-height: min(44rem, 92vw);
  }

  .inner-hero-media {
    height: 24rem;
  }

  .guarantee-grid h2,
  .service-intro h2,
  .press-copy h2,
  .cta-panel h2,
  .contact-copy h2,
  .press-archive h2 {
    max-width: 13ch;
  }

  .service-intro,
  .service-detail-nav,
  .contact-copy,
  .legal-nav {
    position: static;
  }

  .service-detail-nav {
    columns: 2;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-detail h2 {
    position: static;
  }

  .gallery-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(24rem, 54vw) minmax(14rem, 30vw);
  }

  .gallery-intro-grid figure {
    min-height: 0;
  }

  .gallery-intro-grid .gallery-intro-main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-intro-grid .gallery-intro-wide {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-intro-grid .gallery-intro-detail {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    border-width: 0;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-strip {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 15rem);
  }

  .project-strip figure:first-child {
    grid-row: 1 / 3;
  }

  .project-strip figure:nth-child(3) {
    grid-column: auto;
  }

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

  .gallery-item,
  .gallery-item:nth-child(7n + 1),
  .gallery-item:nth-child(7n + 5) {
    grid-column: span 6;
  }

  .gallery-item:nth-child(7n + 1) .gallery-image,
  .gallery-item:nth-child(7n + 5) .gallery-image {
    aspect-ratio: 4 / 5;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 38rem) {
  :root {
    --header-height: 4.25rem;
  }

  body {
    font-size: 1rem;
  }

  .brand {
    width: 10.25rem;
    min-height: 2.55rem;
  }

  .menu-toggle {
    min-width: 4.25rem;
  }

  .section {
    padding-block: 5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .hero-copy {
    min-height: 28rem;
    padding-top: 3.6rem;
  }

  .hero-copy h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 34rem;
  }

  .hero-process {
    inset-inline: 1rem;
    bottom: 4.15rem;
  }

  .hero-process span {
    padding: 0.7rem 0.65rem;
  }

  .hero-process small {
    font-size: 0.59rem;
  }

  .hero-process strong {
    font-size: 0.72rem;
  }

  .hero-caption {
    grid-template-columns: 1fr;
  }

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

  .promise-rail {
    grid-template-columns: 1fr;
  }

  .promise-rail div {
    min-height: auto;
  }

  .promise-rail div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-index li {
    grid-template-columns: 2.7rem 1fr;
  }

  .project-strip {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 18rem);
  }

  .project-strip figure:first-child {
    grid-row: auto;
  }

  .cta-panel {
    padding: 1.5rem;
  }

  .page-hero {
    min-height: 28rem;
  }

  .service-detail-nav {
    columns: 1;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
    top: calc(var(--header-height) + 0.3rem);
    margin-inline: -0.25rem;
    padding: 0.6rem;
  }

  .gallery-count {
    order: -1;
  }

  .gallery-filters {
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .gallery-grid {
    gap: 0.65rem;
  }

  .gallery-item,
  .gallery-item:nth-child(7n + 1),
  .gallery-item:nth-child(7n + 5) {
    grid-column: 1 / -1;
  }

  .lightbox {
    width: 100vw;
    max-height: 100dvh;
    border-width: 0;
    border-radius: 0;
  }

  .lightbox-layout {
    height: 100dvh;
  }

  .lightbox-head,
  .lightbox-foot {
    padding-inline: 0.7rem;
  }

  .lightbox-title {
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lightbox-button {
    min-width: 4.7rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .bot-challenge-row {
    grid-template-columns: 1fr minmax(5rem, 0.42fr);
  }

  .bot-refresh {
    grid-column: 1 / -1;
  }

  .field-full {
    grid-column: auto;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-height: 31rem) and (orientation: landscape) and (max-width: 56rem) {
  .primary-nav {
    padding-block: 0.5rem;
  }

  .primary-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-nav a {
    min-height: 2.7rem;
    font-size: 0.86rem;
  }

  .hero-copy {
    min-height: auto;
    padding-block: 2.8rem;
  }
}

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

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

  .has-js .reveal.reveal-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .primary-nav,
  .hero-process,
  .gallery-toolbar,
  .lightbox::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header,
  .primary-nav,
  .hero-process,
  .gallery-toolbar {
    background: var(--ink-deep);
  }
}
