:root {
  --bg: #0b0f14;
  --surface: #171e28;
  --surface-2: #1e2632;
  --border: #2a3340;
  --text: #e8edf4;
  --muted: #8b9bb0;
  --faint: #5c6b7e;
  --orange: #FFA766;
  --pink: #fe3476;
  --coral: #ff735e;
  --peak-pearl: #E8EDF4;
  --peak-teal: #2DD4BF;
  --peak-violet: #8B5CF6;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --pad-x: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --filament: var(--peak-pearl);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Atmospheric field — not flat void */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 18% -10%, rgba(232, 237, 244, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 88% 28%, rgba(45, 212, 191, 0.04), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 72%, rgba(139, 92, 246, 0.035), transparent 55%),
    linear-gradient(180deg, #0b0f14 0%, #0d1219 42%, #0b0f14 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

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

.skip-link {
  position: absolute;
  left: var(--pad-x);
  top: -100px;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

.skip-link:focus {
  top: 0.75rem;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* Progress filament */
.filament {
  position: fixed;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}

.filament__track {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--border) 55%, transparent);
}

.filament__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--filament);
  transform-origin: top center;
  box-shadow: 0 0 12px color-mix(in srgb, var(--filament) 35%, transparent);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.site-nav.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav-brand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-brand .labs,
.hero-brand .labs {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after,
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Main */
main {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(5rem, 12vh, 8.5rem) var(--pad-x);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1.25rem;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

/* Hero — brand + copy; background motion only */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding:
    calc(var(--nav-h) + clamp(2rem, 6vh, 4rem))
    var(--pad-x)
    clamp(3.5rem, 10vh, 6rem);
  position: relative;
  overflow: hidden;
}

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

.hero-bg__field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(232, 237, 244, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 45% at 88% 30%, rgba(45, 212, 191, 0.06), transparent 50%),
    radial-gradient(ellipse 45% 40% at 70% 85%, rgba(254, 52, 118, 0.05), transparent 55%),
    radial-gradient(ellipse 40% 35% at 25% 75%, rgba(255, 167, 102, 0.04), transparent 50%);
}

/* Horizontal SDLC pipeline — centered in open band above hero copy */
.hero-bg__pipeline {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--nav-h);
  bottom: clamp(15rem, 40vh, 27rem);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-x);
  opacity: 1;
}

.pipeline {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.pipeline__rail {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 38px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--border) 95%, transparent) 8%,
    color-mix(in srgb, var(--border) 95%, transparent) 92%,
    transparent 100%
  );
}

.pipeline__signal {
  position: absolute;
  top: 34px;
  width: 64px;
  height: 8px;
  margin-left: -32px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--peak-pearl) 70%, transparent),
    color-mix(in srgb, var(--peak-teal) 55%, transparent),
    color-mix(in srgb, var(--orange) 40%, transparent),
    transparent
  );
  filter: blur(0.5px);
  left: calc((0.5 / 7) * 100%);
  opacity: 1;
  animation: pipeline-signal 14s linear infinite;
  will-change: left, opacity;
}

.pipeline__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.pipeline__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  opacity: 0.48;
  animation: pipeline-step 14s linear infinite;
}

.pipeline__glyph {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--surface-2) 88%, transparent),
      color-mix(in srgb, var(--surface) 70%, transparent)
    );
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--bg) 55%, transparent) inset,
    0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  animation: pipeline-glyph 14s linear infinite;
}

.pipeline__glyph svg {
  width: 40px;
  height: 40px;
}

.pipeline__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.66rem, 0.9vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: color-mix(in srgb, var(--muted) 82%, transparent);
}

/*
  One 14s cycle, 7 equal beats (~14.285% each).
  Marker parks on each icon center; that icon lights in the same window.
*/
@keyframes pipeline-signal {
  0% {
    left: calc((0.5 / 7) * 100%);
    opacity: 0;
  }
  2%,
  10% {
    left: calc((0.5 / 7) * 100%);
    opacity: 1;
  }
  14.285%,
  24.285% {
    left: calc((1.5 / 7) * 100%);
    opacity: 1;
  }
  28.57%,
  38.57% {
    left: calc((2.5 / 7) * 100%);
    opacity: 1;
  }
  42.855%,
  52.855% {
    left: calc((3.5 / 7) * 100%);
    opacity: 1;
  }
  57.14%,
  67.14% {
    left: calc((4.5 / 7) * 100%);
    opacity: 1;
  }
  71.425%,
  81.425% {
    left: calc((5.5 / 7) * 100%);
    opacity: 1;
  }
  85.71%,
  94% {
    left: calc((6.5 / 7) * 100%);
    opacity: 1;
  }
  97%,
  100% {
    left: calc((6.5 / 7) * 100%);
    opacity: 0;
  }
}

@keyframes pipeline-step {
  0%,
  10% {
    opacity: 1;
  }
  14.285%,
  100% {
    opacity: 0.48;
  }
}

@keyframes pipeline-glyph {
  0%,
  10% {
    color: var(--peak-pearl);
    border-color: color-mix(in srgb, var(--peak-pearl) 45%, var(--border));
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--peak-pearl) 12%, transparent) inset,
      0 0 22px color-mix(in srgb, var(--peak-pearl) 16%, transparent),
      0 12px 32px rgba(0, 0, 0, 0.24);
  }
  14.285%,
  100% {
    color: color-mix(in srgb, var(--muted) 88%, var(--text));
    border-color: color-mix(in srgb, var(--border) 90%, transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--bg) 55%, transparent) inset,
      0 12px 32px rgba(0, 0, 0, 0.24);
  }
}

.pipeline__steps li:nth-child(1),
.pipeline__steps li:nth-child(1) .pipeline__glyph {
  animation-delay: 0s;
}
.pipeline__steps li:nth-child(2),
.pipeline__steps li:nth-child(2) .pipeline__glyph {
  animation-delay: 2s;
}
.pipeline__steps li:nth-child(3),
.pipeline__steps li:nth-child(3) .pipeline__glyph {
  animation-delay: 4s;
}
.pipeline__steps li:nth-child(4),
.pipeline__steps li:nth-child(4) .pipeline__glyph {
  animation-delay: 6s;
}
.pipeline__steps li:nth-child(5),
.pipeline__steps li:nth-child(5) .pipeline__glyph {
  animation-delay: 8s;
}
.pipeline__steps li:nth-child(6),
.pipeline__steps li:nth-child(6) .pipeline__glyph {
  animation-delay: 10s;
}
.pipeline__steps li:nth-child(7),
.pipeline__steps li:nth-child(7) .pipeline__glyph {
  animation-delay: 12s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.hero-brand {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.35rem;
  color: var(--text);
  max-width: none;
}

.hero-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2.25rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.cta {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 550;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.cta--solid {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.35rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 4px;
}

.cta--solid:hover,
.cta--solid:focus-visible {
  background: #fff;
  color: var(--bg);
}

.cta--ghost {
  color: var(--muted);
  padding-bottom: 0.15rem;
}

.cta--ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  opacity: 0.5;
}

.cta--ghost:hover,
.cta--ghost:focus-visible {
  color: var(--text);
}

.cta--ghost:hover::after,
.cta--ghost:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding-top: clamp(2rem, 4vh, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.product {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.product-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.product-mark svg {
  width: 100%;
  height: 100%;
}

.product-mark .peak-layer {
  opacity: 1;
  fill: var(--peak);
}

.product h3,
.product-name {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

.product-name .alpha {
  color: var(--peak);
}

.product--desk {
  --peak: #2DD4BF;
}

.product--ship {
  --peak: #8B5CF6;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 26rem;
}

.product-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  width: fit-content;
  margin-top: 0.35rem;
  position: relative;
  padding-bottom: 0.12rem;
}

.product-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.2);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.product-link:hover::after,
.product-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.product--desk .product-link {
  color: var(--peak-teal);
}

.product--ship .product-link {
  color: var(--peak-violet);
}

/* Advisory */
.advisory-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  margin: 0 0 2rem;
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 28rem;
}

.focus-list li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
  border-left: 1px solid var(--border);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
}

.contact-closing {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 22rem;
  margin: 1.25rem 0 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--text);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 45%, transparent);
  padding: 0.4rem 0;
  cursor: pointer;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 550;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.form-submit:hover,
.form-submit:focus-visible {
  border-bottom-color: var(--text);
}

.form-submit.is-sent {
  color: var(--muted);
  border-bottom-color: var(--border);
  pointer-events: none;
}

.form-submit:disabled,
.form-submit.is-sending {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

.form-submit.is-error {
  color: color-mix(in srgb, var(--coral) 85%, var(--text));
  border-bottom-color: color-mix(in srgb, var(--coral) 55%, var(--border));
}

.form-status {
  margin: 0.35rem 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.form-status--ok {
  color: var(--peak-teal);
}

.form-status--error {
  color: color-mix(in srgb, var(--coral) 80%, var(--text));
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem var(--pad-x) 3rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

/* Reveal helpers (JS sets initial state when motion on) */
.reveal {
  will-change: transform, opacity;
}

/* Reduced motion: fully readable static page */
@media (prefers-reduced-motion: reduce) {
  .filament {
    display: none;
  }

  .hero-bg__pipeline .pipeline__signal,
  .hero-bg__pipeline .pipeline__steps li,
  .hero-bg__pipeline .pipeline__glyph {
    animation: none !important;
  }

  .hero-bg__pipeline .pipeline__signal {
    opacity: 0 !important;
  }

  .hero-bg__pipeline .pipeline__steps li {
    opacity: 0.72;
  }

  .product-mark .peak-layer {
    opacity: 1 !important;
    transform: none !important;
  }

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

/* Mobile */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--pad-x) 1.25rem;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-bg__pipeline {
    top: var(--nav-h);
    bottom: clamp(17rem, 48vh, 30rem);
    height: auto;
    padding-bottom: 0;
  }

  .pipeline {
    width: 100%;
  }

  .pipeline__steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .pipeline__glyph {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .pipeline__glyph svg {
    width: 30px;
    height: 30px;
  }

  .pipeline__label {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }

  .pipeline__rail {
    top: 28px;
  }

  .pipeline__signal {
    top: 24px;
    width: 44px;
  }
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .hero-bg__pipeline {
    bottom: clamp(18rem, 52vh, 32rem);
  }

  .pipeline__label {
    display: none;
  }

  .pipeline__glyph {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .pipeline__glyph svg {
    width: 26px;
    height: 26px;
  }

  .pipeline__rail {
    top: 24px;
  }

  .pipeline__signal {
    top: 20px;
    width: 36px;
  }
}

:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--text) 50%, transparent);
  outline-offset: 3px;
}
