:root {
  color-scheme: light;
  --bg: #fdfcf8;
  --paper: #ffffff;
  --ink: #1a1b1e;
  --muted: #45556c;
  --soft: #90a1b9;
  --line: #d1d5db;
  --blue: #3859ff;
  --signal: #4c7f70;
  --mist: #eef4f1;
  --card: rgba(253, 252, 248, 0.62);
  --max: 1440px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-transform: lowercase;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(26, 27, 30, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 27, 30, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

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

::selection { background: rgba(56, 89, 255, 0.16); }

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.35vw, 3rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  isolation: isolate;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 248, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  transition: transform 240ms ease;
}

.brand:hover .brand-mark { transform: rotate(90deg); }

.brand-mark span {
  border: 2px solid var(--blue);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: -0.025em;
}

.nav-links a { transition: color 180ms ease; }
.nav-links a:hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.5rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #2545f5; }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.58); color: var(--ink); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.button:active { transform: translateY(1px); }
.button-large { min-height: 44px; padding-inline: 1.35rem; }

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

.hero-inner {
  min-height: 642px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  padding-inline: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 3rem);
  border-right: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.project-title p,
.project-meta,
.service-card p,
.service-card small,
.site-footer h2,
.site-footer p,
.site-footer a,
.email-field input,
.signal-row,
.services-strip p,
.section-note,
.proof-grid span,
.floating-cta {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span { width: 32px; height: 1px; background: currentColor; }

.hero h1,
.section-heading h2,
.process h2,
.cta h2,
.proof h2,
.philosophy h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.hero h1 { max-width: 850px; font-size: 6rem; line-height: 0.96; }

.hero-animated-line {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.14em;
  line-height: 0.9;
  white-space: nowrap;
  vertical-align: top;
}

.hero-line-word {
  display: inline-block;
  line-height: 0.9;
  vertical-align: top;
}

.type-target {
  position: relative;
  display: inline-block;
  width: var(--type-width, 7.45ch);
  min-width: var(--type-width, 7.45ch);
  color: var(--blue);
  contain: layout paint;
  line-height: inherit;
  white-space: nowrap;
  vertical-align: baseline;
}


.system-bar {
  min-height: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-bar span {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-bar span:last-child {
  color: var(--signal);
}

.system-bar span:last-child::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(76, 127, 112, 0.55);
}

.compile-line::before {
  content: "> ";
  color: #8fa2ff;
}


.hero-lede {
  max-width: 560px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.625;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.signal-row dt {
  margin: 0 0 0.35rem;
  color: var(--soft);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: -0.025em;
}

.hero-media {
  position: relative;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  background: #e7e5e4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.035);
  animation: hero-drift 14s ease-in-out infinite alternate;
  will-change: transform, filter;
}

@keyframes hero-drift {
  0% { transform: scale(1.035) translate3d(-0.7%, -0.5%, 0); filter: saturate(0.92) contrast(1); }
  100% { transform: scale(1.075) translate3d(1.1%, 0.8%, 0); filter: saturate(1.08) contrast(1.04); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.14));
}

.scan-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(143, 162, 255, 0.22) 50%, transparent 53% 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  animation: scan-pass 7s linear infinite;
}

@keyframes scan-pass {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.pixel-cursor {
  position: absolute;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  z-index: 2;
  width: 96px;
  height: 96px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(90deg, rgba(56, 89, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(56, 89, 255, 0.5) 1px, transparent 1px),
    radial-gradient(circle, rgba(143, 162, 255, 0.45), transparent 62%);
  background-size: 8px 8px, 8px 8px, 100% 100%;
  image-rendering: pixelated;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  transition: opacity 180ms ease;
}

.hero-media:hover .pixel-cursor { opacity: 1; }

.interface-grid {
  position: absolute;
  inset: 1.5rem 1.5rem auto auto;
  z-index: 3;
  width: 132px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.interface-grid span {
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  animation: swatch-float 5.8s ease-in-out infinite;
}

.interface-grid span:nth-child(2) { animation-delay: 0.35s; }
.interface-grid span:nth-child(3) { animation-delay: 0.7s; }
.interface-grid span:nth-child(4) { animation-delay: 1.05s; }

@keyframes swatch-float {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-7px); opacity: 1; }
}

.interface-grid span:nth-child(2) { background: rgba(56, 89, 255, 0.72); }
.interface-grid span:nth-child(3) { background: rgba(76, 127, 112, 0.62); }

.hero-media figcaption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(6px);
}

.hero-media figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-media strong { font-size: 1.125rem; letter-spacing: -0.025em; }

.section { border-bottom: 1px solid var(--line); padding-block: 5rem; }

.services-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(238, 244, 241, 0.42);
}

.services-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: 0;
}

.services-strip article {
  min-height: 220px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  background: rgba(253, 252, 248, 0.5);
}

.services-strip article:first-child { border-left: 1px solid var(--line); }
.service-visual {
  position: relative;
  margin: 0 0 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 48px rgba(49, 65, 88, 0.1);
}

.service-image-card {
  aspect-ratio: 1 / 1;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.006);
  transition: transform 360ms ease, filter 260ms ease;
}

.services-strip article:hover .service-image-card img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.services-strip p { margin: 0 0 1.25rem; color: var(--blue); font-size: 0.625rem; letter-spacing: 0.12em; }
.services-strip h2 { margin: 0 0 0.65rem; font-size: 1.15rem; letter-spacing: -0.04em; }
.services-strip span { color: var(--muted); font-size: 0.9rem; line-height: 1.55; text-transform: none; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.section-kicker { margin: 0 0 0.5rem; color: var(--blue); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section-heading h2, .process h2, .proof h2, .philosophy h2 { font-size: 2.25rem; line-height: 1.1; }
.section-note { max-width: 340px; margin: 0; color: var(--soft); font-size: 0.6875rem; line-height: 1.55; text-transform: uppercase; }

.project-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 450px));
  gap: 2rem;
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-inline: clamp(1.25rem, 3.35vw, 3rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.project-card { min-width: 0; scroll-snap-align: start; }

.project-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: #e7e5e4;
  isolation: isolate;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 260ms ease, transform 420ms ease;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(26, 27, 30, 0.42));
  transition: opacity 260ms ease;
}

.project-image span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.project-card:hover .project-image img { filter: grayscale(0.35); transform: scale(1.045); }
.project-card:hover .project-image::after, .project-card:hover .project-image span { opacity: 1; transform: translateY(0); }

.project-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 1rem;
}

.project-title p { margin: 0 0 0.25rem; color: var(--blue); font-size: 0.625rem; letter-spacing: -0.05em; text-transform: uppercase; }
.project-title h3 { margin: 0; font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.05em; }
.project-title a { font-size: 1.5rem; line-height: 1; transition: color 180ms ease, transform 180ms ease; }
.project-title a:hover { color: var(--blue); transform: translate(2px, -2px); }

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta div { display: flex; gap: 0.25rem; }
.project-meta dt, .project-meta dd { margin: 0; }

.proof { background: var(--paper); }
.proof-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: end; }
.proof h2 { max-width: 560px; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.proof-grid div { min-height: 154px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(253,252,248,0.68); }
.proof-grid strong { display: block; margin-bottom: 1rem; font-size: 1.05rem; letter-spacing: -0.04em; }
.proof-grid span { color: var(--muted); font-size: 0.72rem; line-height: 1.55; text-transform: uppercase; }

.process { padding-block: 5rem; content-visibility: auto; contain-intrinsic-size: 560px; }
.process-inner { max-width: 1056px; }
.process-intro { margin-bottom: 2rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); backdrop-filter: blur(4px); transition: background 180ms ease, transform 180ms ease; }
.service-card:hover { background: rgba(238, 244, 241, 0.72); transform: translateY(-2px); }
.service-card p { margin: 0 0 1rem; color: var(--blue); font-size: 0.75rem; font-weight: 700; letter-spacing: -0.05em; text-transform: uppercase; }
.service-card h3 { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.service-card span { color: #314158; font-size: 0.875rem; font-weight: 500; line-height: 1.625; text-transform: none; }
.service-card footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; color: rgba(56, 89, 255, 0.28); }
.service-card footer span { color: inherit; font-size: 2.5rem; line-height: 1; }
.service-card small { color: var(--soft); font-size: 0.5625rem; letter-spacing: 0.1em; }

.philosophy { background: rgba(238, 244, 241, 0.42); }
.philosophy-inner { max-width: 940px; }
.philosophy h2 { font-size: 3.75rem; max-width: 760px; }
.philosophy p:not(.section-kicker) { max-width: 720px; margin: 2rem 0 0; color: var(--muted); font-size: 1.25rem; font-weight: 500; line-height: 1.65; text-transform: none; }

.cta { padding-block: 8rem 0; text-align: center; }
.cta h2 { max-width: 780px; margin-inline: auto; font-size: 3.75rem; line-height: 1.08; }
.cta a { display: inline-block; margin-top: 3rem; padding-bottom: 0.625rem; color: var(--blue); border-bottom: 2px solid transparent; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 3rem; line-height: 1; opacity: 0.72; text-transform: none; transition: opacity 180ms ease, border-color 180ms ease; }
.cta a:hover { opacity: 1; border-color: currentColor; }

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: calc(100vw - 2rem);
  padding: 0.72rem 0.88rem;
  border: 1px solid rgba(56, 89, 255, 0.26);
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.88);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(26, 27, 30, 0.16), 0 0 22px rgba(56, 89, 255, 0.12);
  transform: translateY(120%);
  transition: transform 220ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.floating-cta span { color: #8fa2ff; }
.floating-cta strong {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  transition: max-width 240ms ease, opacity 180ms ease;
}
.floating-cta:hover {
  border-color: rgba(143, 162, 255, 0.58);
  box-shadow: 0 16px 40px rgba(26, 27, 30, 0.18), 0 0 30px rgba(56, 89, 255, 0.18);
}
.floating-cta:hover strong { max-width: 15rem; opacity: 1; }
body.has-scrolled .floating-cta { transform: translateY(0); }

.site-footer { margin-top: 0; content-visibility: auto; contain-intrinsic-size: 360px; padding-block: 5rem; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h2 { margin: 0 0 1.5rem; color: var(--soft); font-size: 0.5625rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; }
.site-footer p, .site-footer a { display: block; margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.site-footer a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.15em; }
.footer-brand p { margin-top: 2rem; color: var(--soft); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hq { margin-top: 2rem; color: var(--blue) !important; font-size: 0.625rem !important; letter-spacing: -0.05em; text-transform: uppercase; }
.email-field { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.5625rem; border-bottom: 1px solid var(--line); }
.email-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 0.75rem; text-transform: lowercase; }
.email-field input::placeholder { color: var(--line); }
.email-field button { border: 0; padding: 0; background: transparent; color: var(--blue); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 640ms ease, transform 640ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero h1 { font-size: 4.75rem; }
  .system-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0.8rem; }
  .services-strip-inner, .service-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta h2, .philosophy h2 { font-size: 3rem; }
  .cta a { font-size: 2.25rem; }
}

@media (max-width: 760px) {
  .nav { min-height: 72px; }
  .nav-links { display: none; }
  .button { padding-inline: 1rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero h1 { font-size: 4rem; }
  .system-bar { grid-template-columns: 1fr; gap: 0.45rem; align-items: start; padding-block: 0.9rem; }
  .hero-lede { font-size: 1rem; }
  .hero-media { min-height: 420px; }
  .signal-row { grid-template-columns: 1fr; margin-top: 2rem; }
  .services-strip-inner, .service-grid, .footer-grid, .proof-grid { grid-template-columns: 1fr; }
  .services-strip article:first-child { border-left: 0; }
  .services-strip article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 4rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .project-rail { grid-template-columns: repeat(3, minmax(280px, 86vw)); gap: 1.25rem; margin-top: 1.5rem; }
  .section-heading h2, .process h2, .proof h2 { font-size: 2rem; }
  .service-card { min-height: 260px; }
  .cta { padding-top: 5rem; }
  .cta h2, .philosophy h2 { font-size: 2.5rem; }
  .cta a { overflow-wrap: anywhere; font-size: 1.85rem; }
  .floating-cta { display: none; }
}

@media (max-width: 430px) {
  .brand { gap: 0.5rem; font-size: 0.95rem; }
  .brand-mark { width: 24px; height: 24px; }
  .button { min-height: 30px; padding-inline: 0.75rem; font-size: 0.6875rem; }
  .hero h1 { font-size: 3.25rem; letter-spacing: -0.06em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .eyebrow { align-items: flex-start; white-space: normal; }
  .interface-grid { width: 104px; }
  .cta h2, .philosophy h2 { font-size: 2.2rem; }
  .cta a { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img,
  .scan-layer,
  .interface-grid span {
    animation: none !important;
  }
  .pixel-cursor { display: none; }
}

/* Service module structure */
.services-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.services-strip-inner {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.services-strip article {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.55rem 2rem 2.75rem;
  background: rgba(255, 255, 255, 0.78);
}

.services-strip article:first-child { border-left: 0; }

.service-visual {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1.35rem;
  border: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow: none;
}

.service-image-card {
  aspect-ratio: 1 / 0.68;
}

.service-image-card img {
  border-radius: inherit;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.015);
}

.services-strip article:hover .service-image-card img {
  transform: scale(1.045);
  filter: saturate(1.03) contrast(1.02);
}

.services-strip p {
  margin: 0 0 1.85rem;
  color: var(--blue);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: lowercase;
}

.services-strip h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.services-strip span {
  max-width: 28ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-transform: none;
}

@media (max-width: 1100px) {
  .services-strip article { min-height: 500px; }
  .service-visual { max-width: 360px; }
}

@media (max-width: 760px) {
  .services-strip-inner {
    border-left: 0;
    border-right: 0;
  }

  .services-strip article {
    min-height: 0;
    padding: 1.5rem 1.25rem 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-visual {
    max-width: 420px;
    margin-bottom: 1.15rem;
  }

  .service-image-card { aspect-ratio: 1 / 0.72; }
  .services-strip p { margin-bottom: 1.4rem; }
  .services-strip h2 { font-size: 1.45rem; }
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle::before {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.theme-toggle:active { transform: translateY(1px); }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080a12;
  --paper: #0a0d16;
  --ink: #f6f8ff;
  --muted: #c7d1e4;
  --soft: #7f8ca8;
  --line: rgba(151, 166, 204, 0.24);
  --blue: #8fa2ff;
  --signal: #68d7b7;
  --mist: #111827;
  --card: rgba(13, 18, 31, 0.74);
}

:root[data-theme="dark"] body::before {
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(143, 162, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 162, 255, 0.075) 1px, transparent 1px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(10, 13, 22, 0.78);
}

:root[data-theme="dark"] .button-primary {
  color: #081026;
}

:root[data-theme="dark"] .button-primary:hover {
  background: #a8b6ff;
}

:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .theme-toggle {
  background: rgba(15, 21, 36, 0.72);
}

:root[data-theme="dark"] .theme-toggle::before {
  background: var(--blue);
  box-shadow: inset 0 0 0 2px var(--paper), 0 0 12px rgba(143, 162, 255, 0.42);
}

:root[data-theme="dark"] .hero-media,
:root[data-theme="dark"] .project-image {
  background: #121827;
}

:root[data-theme="dark"] .services-strip,
:root[data-theme="dark"] .proof,
:root[data-theme="dark"] .site-footer {
  background: var(--paper);
}

:root[data-theme="dark"] .services-strip article {
  background: rgba(10, 13, 22, 0.74);
}

:root[data-theme="dark"] .service-visual {
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.34));
}

:root[data-theme="dark"] .service-image-card img {
  filter: saturate(0.94) brightness(0.9) contrast(1.04);
}

:root[data-theme="dark"] .services-strip article:hover .service-image-card img {
  filter: saturate(1.04) brightness(0.96) contrast(1.05);
}

:root[data-theme="dark"] .proof-grid div,
:root[data-theme="dark"] .service-card {
  background: var(--card);
}

:root[data-theme="dark"] .service-card:hover,
:root[data-theme="dark"] .philosophy {
  background: rgba(17, 24, 39, 0.76);
}

:root[data-theme="dark"] .service-card span {
  color: var(--muted);
}

:root[data-theme="dark"] .floating-cta {
  background: rgba(246, 248, 255, 0.9);
  color: #111827;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 26px rgba(143, 162, 255, 0.18);
}

:root[data-theme="dark"] .floating-cta strong {
  color: rgba(17, 24, 39, 0.72);
}

@media (max-width: 760px) {
  .nav-actions { gap: 0.45rem; }
  .theme-toggle { min-height: 30px; padding-inline: 0.7rem; }
}

@media (max-width: 420px) {
  .nav { gap: 0.75rem; }
  .theme-toggle {
    width: 30px;
    justify-content: center;
    padding-inline: 0;
  }
  .theme-toggle span { display: none; }
  .nav-actions .button-primary { padding-inline: 0.85rem; }
}
