:root {
  color-scheme: light;
  --ink: #15201c;
  --muted: #5b6762;
  --paper: #f7f6f0;
  --paper-deep: #ebeee7;
  --panel: #ffffff;
  --line: #d5dbd4;
  --accent: #0f8178;
  --accent-bright: #28a79b;
  --accent-dark: #075b55;
  --gold: #d49a35;
  --gold-soft: #efc777;
  --night: #0b1210;
  --night-soft: #121c19;
  --white: #f8faf8;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 90px rgba(10, 18, 15, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.is-running {
  cursor: progress;
}

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

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

::selection {
  background: var(--gold);
  color: var(--night);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition:
    color 300ms ease,
    padding 300ms ease,
    background 300ms ease,
    border-color 300ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-bottom: 1px solid transparent;
  background: rgba(11, 18, 16, 0);
  backdrop-filter: blur(0);
  transition: inherit;
}

.site-header.is-scrolled {
  padding-block: 13px;
}

.site-header.is-scrolled::before {
  border-color: rgba(247, 246, 240, 0.1);
  background: rgba(11, 18, 16, 0.82);
  backdrop-filter: blur(20px);
}

.brand,
.nav-cta,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand {
  width: max-content;
}

.console-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.brand-lockup {
  width: 158px;
  height: auto;
}

.console-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 760;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.nav-cta:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.hero {
  position: relative;
  perspective: 1200px;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 132px clamp(20px, 5vw, 76px) 130px;
  color: var(--white);
  background: var(--night);
}

.hero-media,
.hero-scrim,
.hero-grid,
.hero-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
  transform-origin: center;
  animation: hero-breathe 11s ease-in-out 1.6s infinite alternate;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform:
    translate3d(var(--hero-x, 0), var(--hero-y, 0), 0)
    rotateX(var(--hero-rotate-x, 0deg))
    rotateY(var(--hero-rotate-y, 0deg))
    scale(var(--hero-scale, 1.1));
  will-change: transform;
  animation: hero-arrive 1600ms var(--ease) both;
  transition: transform 500ms var(--ease);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 11, 9, 0.97) 0%, rgba(6, 11, 9, 0.8) 36%, rgba(6, 11, 9, 0.18) 73%),
    linear-gradient(0deg, rgba(6, 11, 9, 0.78) 0%, transparent 48%),
    linear-gradient(180deg, rgba(6, 11, 9, 0.55) 0%, transparent 25%);
}

.hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
  animation: grid-drift 16s linear infinite;
}

.hero-ambient {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-light-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -34%;
  width: 24%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(239, 199, 119, 0.22), rgba(255, 255, 255, 0.15), transparent);
  filter: blur(12px);
  transform: skewX(-12deg);
  animation: ambient-sweep 9s 1.8s ease-in-out infinite;
}

.hero-glint {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.5;
  background: var(--gold-soft);
  box-shadow:
    0 0 8px rgba(239, 199, 119, 0.8),
    0 0 28px rgba(239, 199, 119, 0.5);
  animation: ambient-glint 3.4s ease-in-out infinite;
}

.glint-one {
  top: 29%;
  left: 47%;
}

.glint-two {
  top: 52%;
  left: 68%;
  animation-delay: 1.4s;
}

.glint-three {
  top: 38%;
  left: 82%;
  animation-delay: 2.7s;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation: particle-rise 7s linear infinite;
}

.particle-one {
  top: 68%;
  left: 58%;
}

.particle-two {
  top: 78%;
  left: 72%;
  animation-delay: 1.8s;
  animation-duration: 9s;
}

.particle-three {
  top: 58%;
  left: 84%;
  animation-delay: 3.4s;
  animation-duration: 6s;
}

.particle-four {
  top: 72%;
  left: 94%;
  animation-delay: 4.6s;
  animation-duration: 8s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 68vw);
}

.hero-title {
  margin: 0 0 34px;
  font-size: clamp(5.4rem, 12.4vw, 12rem);
  line-height: 0.72;
  letter-spacing: 0;
}

.title-line {
  display: block;
  animation: title-reveal 1200ms var(--ease) both;
}

.title-line:first-child {
  animation-name: title-reveal-descender;
}

.title-line-offset {
  width: max-content;
  margin-left: 0.48em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.72);
  animation-delay: 100ms;
}

.hero-title-statement {
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.hero-title-statement .title-line-offset {
  width: auto;
  margin-left: 0.32em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  max-width: 730px;
  animation-delay: 250ms;
}

.hero-message {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.62;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-location span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(214, 174, 86, 0.54);
}

.hero-actions {
  align-self: end;
  display: grid;
  gap: 15px;
  min-width: 190px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 240ms var(--ease),
    background 180ms ease,
    color 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--night);
}

.button-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.text-link,
.inline-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 720;
}

.text-link {
  color: rgba(255, 255, 255, 0.75);
}

.text-link span,
.inline-link span,
.nav-cta span:last-child,
.button span:last-child {
  transition: transform 250ms var(--ease);
}

.text-link:hover span,
.inline-link:hover span,
.nav-cta:hover span:last-child,
.button:hover span:last-child {
  transform: translate(3px, -3px);
}

.hero-rail {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 64px);
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-rail div {
  min-width: 170px;
  padding: 15px 25px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 650;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 33px;
  left: clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 36px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  transform: translateX(-100%);
  animation: scroll-line 2s ease-in-out infinite;
}

.section-shell {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 76px);
}

.section-index {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-index-light {
  color: var(--gold);
}

.statement {
  display: grid;
  grid-template-columns: 0.42fr 1.35fr 0.68fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(100px, 14vw, 190px);
  padding-bottom: clamp(110px, 15vw, 200px);
}

.statement-small {
  margin-bottom: 16px;
  color: var(--muted);
}

.statement h2,
.services-heading h2,
.process-sticky h2,
.contact-copy h2,
.workflow-intro h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.statement-note {
  padding-top: 54px;
}

.statement-note p {
  margin-bottom: 32px;
  color: var(--muted);
  line-height: 1.72;
}

.inline-link {
  color: var(--accent-dark);
}

.workflow-section {
  padding: clamp(92px, 12vw, 160px) 0;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.workflow-intro {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.workflow-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.72;
}

.workflow-intro .section-index {
  margin-bottom: 24px;
}

.workflow-console {
  width: calc(100% - clamp(40px, 8vw, 120px));
  max-width: 1320px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 40%), rgba(40, 167, 155, 0.09), transparent 28%),
    #0d1513;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.35);
}

.opportunities {
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(110px, 15vw, 190px);
}

.opportunities-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.1fr 0.68fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: 72px;
}

.opportunities-heading h2,
.controls-copy h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
  line-height: 0.96;
}

.opportunities-heading > p,
.faq-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.friction-item {
  min-height: 270px;
  padding: 28px 28px 34px 0;
  border-bottom: 1px solid var(--line);
}

.friction-item:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.friction-item span,
.example-label,
.pilot-kicker {
  display: block;
  margin-bottom: 46px;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 840;
  text-transform: uppercase;
}

.friction-item h3 {
  max-width: 340px;
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

.friction-item p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.example-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin: 100px 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.example-heading p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 790;
}

.example-heading span {
  max-width: 490px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: right;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.example-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    transform 350ms var(--ease),
    border-color 250ms ease,
    box-shadow 350ms ease;
}

.example-card:hover {
  border-color: rgba(15, 129, 120, 0.55);
  box-shadow: 0 24px 70px rgba(10, 18, 15, 0.11);
  transform: translateY(-7px);
}

.example-card h3 {
  margin: 38px 0 16px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.example-card p {
  margin: 0 0 34px;
  color: var(--muted);
  line-height: 1.68;
}

.example-card strong {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.78rem;
}

.example-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  height: 52px;
}

.example-route::before {
  position: absolute;
  right: 8px;
  left: 8px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.example-route i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--panel);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.example-route i:last-child {
  justify-self: end;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.console-topbar,
.console-tabs,
.console-body {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 0 20px;
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-mark {
  width: 38px;
  height: 38px;
}

.console-brand strong,
.console-brand small {
  display: block;
}

.console-brand strong {
  font-size: 0.9rem;
}

.console-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

.run-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease;
}

.run-button:hover {
  background: var(--accent-bright);
}

.run-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.console-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}

.console-tab {
  padding: 9px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.console-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.console-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 520px;
  border-bottom: 0;
}

.flow-canvas {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
  stroke-dasharray: 5 8;
  vector-effect: non-scaling-stroke;
}

.workflow-console.is-running .flow-lines path {
  stroke: rgba(40, 167, 155, 0.46);
  animation: dash 1.5s linear infinite;
}

.flow-node {
  position: absolute;
  z-index: 2;
  width: 176px;
  min-height: 98px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(18, 28, 25, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition:
    border-color 250ms ease,
    background 250ms ease,
    transform 250ms var(--ease),
    box-shadow 250ms ease;
}

.flow-node:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 154, 53, 0.5);
}

.flow-node.is-active {
  border-color: var(--gold);
  background: #17231f;
  box-shadow: 0 0 0 4px rgba(212, 154, 53, 0.08), 0 18px 40px rgba(0, 0, 0, 0.4);
}

.flow-node.is-complete {
  border-color: var(--accent);
}

.flow-node.is-complete::after {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  content: "✓";
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
}

.node-type {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 850;
  text-transform: uppercase;
}

.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.flow-node small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.67rem;
}

.node-trigger {
  top: 40%;
  left: 3%;
}

.node-context {
  top: 10%;
  left: 27%;
}

.node-rules {
  bottom: 10%;
  left: 27%;
}

.node-ai {
  top: 40%;
  left: 49%;
  border-color: rgba(212, 154, 53, 0.35);
}

.node-review {
  top: 14%;
  right: 3%;
}

.node-action {
  right: 3%;
  bottom: 12%;
}

.signal {
  position: absolute;
  z-index: 3;
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.workflow-console.is-running .signal {
  display: block;
}

.signal-a {
  top: 47%;
  left: 12%;
  animation: signal-a 3.2s linear infinite;
}

.signal-b {
  top: 47%;
  left: 55%;
  animation: signal-b 3.2s 1.6s linear infinite;
}

.activity-panel {
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 12, 10, 0.64);
}

.activity-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 780;
  text-transform: uppercase;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-bright);
}

.live-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.activity-log {
  display: grid;
  min-height: 350px;
  align-content: start;
}

.activity-log div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  animation: log-in 350ms var(--ease) both;
}

.activity-log time {
  color: rgba(255, 255, 255, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
}

.activity-log p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  line-height: 1.4;
}

.console-metric {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-metric span {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.68rem;
}

.console-metric strong {
  color: var(--gold);
  font-size: 1.25rem;
}

.software {
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(110px, 15vw, 190px);
  border-top: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 0;
}

.product-card h3 {
  margin-top: 0;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.product-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 750;
}

.services {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 9vw, 150px);
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(110px, 15vw, 190px);
}

.services-heading {
  align-self: start;
}

.services-heading .section-index,
.process-sticky .section-index {
  margin-bottom: 28px;
}

.services-heading h2 {
  font-size: clamp(3rem, 5.4vw, 6rem);
}

.services-heading p {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-list {
  border-top: 1px solid var(--ink);
}

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

.service-toggle {
  display: grid;
  grid-template-columns: 42px 1fr minmax(160px, 0.75fr) 24px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 25px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.service-number {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.service-name {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 780;
}

.service-meta {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.service-icon {
  font-size: 1.5rem;
  font-weight: 300;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 500ms var(--ease),
    opacity 300ms ease;
}

.service-row.is-open .service-detail {
  max-height: 280px;
  opacity: 1;
}

.service-detail p {
  max-width: 600px;
  margin: 0 0 22px 58px;
  color: var(--muted);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px 58px;
}

.service-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 750;
}

.principles {
  position: relative;
  overflow: hidden;
  background: var(--accent-dark);
  color: var(--white);
}

.principles::after {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
}

.principles-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(100px, 13vw, 170px);
  padding-bottom: clamp(100px, 13vw, 170px);
}

.principle-statement {
  margin: 60px 0 110px;
  font-size: clamp(3.2rem, 8.5vw, 9.2rem);
  font-weight: 820;
  line-height: 0.88;
}

.principle-statement span {
  display: block;
}

.principle-statement .muted-line {
  color: rgba(255, 255, 255, 0.28);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.principle-grid article {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.principle-grid span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
}

.principle-grid h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.principle-grid p {
  max-width: 330px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 160px);
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(110px, 15vw, 190px);
}

.process-sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-sticky h2 {
  font-size: clamp(3rem, 5.2vw, 5.8rem);
}

.process-sticky p {
  max-width: 430px;
  margin-top: 30px;
  color: var(--muted);
  line-height: 1.72;
}

.process-steps {
  border-top: 1px solid var(--ink);
}

.process-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 34px 0 70px;
  border-bottom: 1px solid var(--line);
}

.step-number,
.step-time {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 820;
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.process-step p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.pilot-output {
  margin-top: 44px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}

.pilot-output .pilot-kicker {
  margin-bottom: 24px;
}

.pilot-output h3 {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.02;
}

.pilot-output ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-output li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(21, 32, 28, 0.13);
  color: var(--muted);
  line-height: 1.5;
}

.pilot-output li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.controls {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.controls::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background:
    radial-gradient(circle at 17% 20%, rgba(40, 167, 155, 0.24), transparent 29%),
    linear-gradient(120deg, transparent 42%, rgba(212, 154, 53, 0.06) 50%, transparent 58%);
}

.controls-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 10vw, 160px);
  padding-top: clamp(110px, 14vw, 180px);
  padding-bottom: clamp(110px, 14vw, 180px);
}

.controls-copy .section-index {
  margin-bottom: 28px;
}

.controls-copy h2 {
  font-size: clamp(3rem, 5.5vw, 6rem);
}

.controls-copy p {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.72;
}

.control-list {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.control-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.control-list article > span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 840;
}

.control-list h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
}

.control-list p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.68;
}

.faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 10vw, 160px);
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(110px, 15vw, 190px);
}

.faq-heading {
  align-self: start;
}

.faq-heading .section-index {
  margin-bottom: 28px;
}

.faq-heading h2 {
  font-size: clamp(3rem, 5.2vw, 5.8rem);
}

.faq-heading > p {
  max-width: 470px;
  margin-top: 32px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  font-weight: 760;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--accent-dark);
  font-size: 1.45rem;
  font-weight: 400;
  transition: transform 250ms var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 690px;
  margin: 0;
  padding: 0 48px 30px 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 10vw, 160px);
  align-items: center;
  min-height: 760px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.contact-copy .section-index {
  margin-bottom: 30px;
}

.contact-copy h2 {
  font-size: clamp(3.2rem, 6vw, 6.8rem);
}

.contact-copy > p {
  max-width: 520px;
  margin: 32px 0 50px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.contact-direct {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
}

.contact-direct span {
  color: rgba(255, 255, 255, 0.42);
}

.contact-direct a {
  color: var(--gold);
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 13px 0;
  outline: 0;
  background: transparent;
  color: #fff;
  resize: vertical;
  transition: border-color 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.form-footer p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.55;
}

.form-status,
.form-privacy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: #8ed3c7;
}

.form-status.is-error {
  color: #f0c77a;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy {
  color: rgba(255, 255, 255, 0.4);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  min-height: 100px;
  padding: 20px clamp(20px, 5vw, 76px);
  border-top: 1px solid #27302d;
  background: var(--night);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-lockup {
  width: 145px;
}

.site-footer p {
  margin: 0;
}

.site-footer > a {
  justify-self: end;
  color: var(--gold);
  font-weight: 750;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-self: end;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .footer-top {
  color: var(--gold);
  font-weight: 750;
}

.example-page {
  background: var(--paper);
}

.example-page .site-header {
  background: rgba(11, 18, 16, 0.86);
  backdrop-filter: blur(18px);
}

.example-back {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.example-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(820px, 90svh);
  overflow: hidden;
  padding: 170px clamp(20px, 5vw, 76px) 100px;
  background: var(--night);
  color: var(--white);
}

.example-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.48;
  background:
    linear-gradient(90deg, rgba(6, 11, 9, 0.96), rgba(6, 11, 9, 0.35)),
    url("assets/lazybird-ai-workflows-hero.png") center / cover;
  transform: scale(1.04);
  animation: hero-breathe 11s ease-in-out infinite alternate;
}

.example-page .example-hero::before {
  background-image:
    linear-gradient(90deg, rgba(6, 11, 9, 0.97), rgba(6, 11, 9, 0.42)),
    url("../assets/lazybird-ai-workflows-hero.png");
}

.example-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.example-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1050px);
}

.example-eyebrow {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.example-hero h1 {
  max-width: 1000px;
  margin-bottom: 34px;
  font-size: clamp(4rem, 9vw, 10rem);
  line-height: 0.86;
}

.example-hero-copy {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.demo-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.demo-notice::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.example-story {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}

.story-lead {
  display: grid;
  grid-template-columns: 0.36fr 1.05fr 0.72fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  margin-bottom: 110px;
}

.story-lead h2,
.demo-workflow h2,
.responsibility-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 6rem);
  line-height: 0.97;
}

.story-lead p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.demo-workflow {
  padding: clamp(30px, 5vw, 64px);
  border-radius: 8px;
  background: var(--night);
  color: var(--white);
  box-shadow: var(--shadow);
}

.demo-workflow-header {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: end;
  margin-bottom: 62px;
}

.demo-workflow-header h2 {
  max-width: 760px;
  font-size: clamp(2.5rem, 4.6vw, 5.1rem);
}

.demo-workflow-header p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.demo-flow article {
  position: relative;
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.demo-flow article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  width: 13px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.demo-flow span {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-flow h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.responsibility {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 10vw, 150px);
  padding-top: clamp(110px, 14vw, 180px);
  padding-bottom: clamp(110px, 14vw, 180px);
}

.responsibility-heading p {
  max-width: 500px;
  margin-top: 32px;
  color: var(--muted);
  line-height: 1.7;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}

.responsibility-grid article {
  padding: 28px 26px 34px 0;
  border-bottom: 1px solid var(--line);
}

.responsibility-grid article:nth-child(even) {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.responsibility-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 840;
  text-transform: uppercase;
}

.responsibility-grid h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.responsibility-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.example-cta {
  background: var(--accent-dark);
  color: var(--white);
}

.example-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  min-height: 440px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.example-cta h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 7rem);
  line-height: 0.92;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

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

.reveal-up {
  animation: reveal-up 900ms 500ms var(--ease) both;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translate3d(0, 0, 0) scale(1.12); }
  to {
    opacity: 1;
    transform:
      translate3d(var(--hero-x, 0), var(--hero-y, 0), 0)
      rotateX(var(--hero-rotate-x, 0deg))
      rotateY(var(--hero-rotate-y, 0deg))
      scale(var(--hero-scale, 1.1));
  }
}

@keyframes hero-breathe {
  0% { transform: translate3d(-0.7%, -0.35%, 0) scale(1); }
  45% { transform: translate3d(0.65%, 0.25%, 0) scale(1.018); }
  100% { transform: translate3d(-0.15%, 0.65%, 0) scale(1.008); }
}

@keyframes ambient-sweep {
  0%, 34% { left: -34%; opacity: 0; }
  43% { opacity: 0.82; }
  78% { left: 116%; opacity: 0.28; }
  100% { left: 116%; opacity: 0; }
}

@keyframes ambient-glint {
  0%, 100% { opacity: 0.2; transform: scale(0.65); }
  45% { opacity: 1; transform: scale(1.65); }
  62% { opacity: 0.46; transform: scale(0.95); }
}

@keyframes grid-drift {
  to { background-position: 88px 44px, 44px 88px; }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.6); }
  18% { opacity: 0.8; }
  80% { opacity: 0.45; }
  100% { opacity: 0; transform: translate3d(32px, -190px, 0) scale(1.2); }
}

@keyframes title-reveal {
  from { opacity: 0; transform: translateY(55px); clip-path: inset(0 0 100%); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

@keyframes title-reveal-descender {
  from { opacity: 0; transform: translateY(55px); clip-path: inset(0 0 100%); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 -0.16em); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes dash {
  to { stroke-dashoffset: -26; }
}

@keyframes signal-a {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translate(250px, -155px); }
  75% { transform: translate(450px, 0); }
  100% { transform: translate(530px, 0); opacity: 0; }
}

@keyframes signal-b {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  55% { transform: translate(210px, -145px); }
  100% { transform: translate(290px, -145px); opacity: 0; }
}

@keyframes log-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero-content {
    width: min(760px, 78vw);
  }

  .statement {
    grid-template-columns: 0.3fr 1.2fr 0.65fr;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    display: none;
  }

  .flow-canvas {
    min-height: 500px;
  }

  .services,
  .process,
  .faq,
  .responsibility {
    gap: 60px;
  }

  .demo-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-flow article:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 940px;
    align-items: start;
    padding-top: 150px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(5rem, 20vw, 8rem);
  }

  .hero-title-statement {
    font-size: clamp(3rem, 8.4vw, 4.6rem);
  }

  .hero-bottom,
  .workflow-intro,
  .statement,
  .opportunities-heading,
  .services,
  .process,
  .controls-inner,
  .faq,
  .story-lead,
  .responsibility,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .friction-grid,
  .example-grid {
    grid-template-columns: 1fr 1fr;
  }

  .friction-item:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .friction-item:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .example-card:last-child {
    grid-column: 1 / -1;
  }

  .controls-copy,
  .faq-heading,
  .responsibility-heading {
    max-width: 690px;
  }

  .demo-workflow-header {
    display: grid;
    align-items: start;
  }

  .hero-bottom {
    max-width: 560px;
    gap: 28px;
  }

  .hero-actions {
    width: min(100%, 280px);
  }

  .hero-location {
    margin-top: 0;
  }

  .hero-rail {
    right: 20px;
    bottom: 30px;
    left: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-rail div {
    min-width: 0;
  }

  .scroll-cue {
    display: none;
  }

  .statement {
    gap: 36px;
  }

  .statement-note {
    max-width: 540px;
    padding-top: 0;
  }

  .workflow-intro {
    gap: 30px;
  }

  .workflow-console {
    width: calc(100% - 32px);
  }

  .console-topbar {
    grid-template-columns: 1fr auto;
  }

  .services-heading,
  .process-sticky {
    position: static;
    max-width: 650px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .principle-grid span {
    margin-bottom: 22px;
  }

  .principle-statement {
    margin-bottom: 80px;
  }

  .contact-inner {
    gap: 60px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    max-width: 136px;
  }

  .brand-lockup {
    width: 136px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .example-page .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .example-page .nav-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .example-page .example-back {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 860px;
    padding: 130px 16px 166px;
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(6, 11, 9, 0.96) 0%, rgba(6, 11, 9, 0.74) 75%, rgba(6, 11, 9, 0.44) 100%),
      linear-gradient(0deg, rgba(6, 11, 9, 0.88) 0%, transparent 50%);
  }

  .hero-title {
    margin-bottom: 40px;
    font-size: clamp(4.5rem, 23vw, 6.7rem);
    line-height: 0.76;
  }

  .title-line-offset {
    margin-left: 0;
  }

  .hero-title-statement {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    line-height: 1;
  }

  .hero-title-statement .title-line-offset {
    margin-left: 0;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-rail {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .hero-rail div {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section-shell {
    padding-inline: 16px;
  }

  .statement h2,
  .opportunities-heading h2,
  .services-heading h2,
  .process-sticky h2,
  .controls-copy h2,
  .faq-heading h2,
  .story-lead h2,
  .responsibility-heading h2,
  .contact-copy h2,
  .workflow-intro h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .friction-grid,
  .example-grid,
  .product-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .friction-item,
  .friction-item:nth-child(even),
  .friction-item:not(:nth-child(3n + 1)),
  .responsibility-grid article,
  .responsibility-grid article:nth-child(even) {
    min-height: auto;
    padding: 26px 0 34px;
    border-left: 0;
  }

  .friction-item span {
    margin-bottom: 28px;
  }

  .example-heading {
    display: grid;
    align-items: start;
  }

  .example-heading span {
    text-align: left;
  }

  .example-card,
  .example-card:last-child {
    grid-column: auto;
    min-height: 410px;
  }

  .demo-flow {
    grid-template-columns: 1fr;
  }

  .demo-flow article {
    min-height: 110px;
  }

  .demo-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 28px;
    width: 1px;
    height: 13px;
  }

  .demo-flow article:nth-child(3)::after {
    display: block;
  }

  .demo-flow span {
    margin-bottom: 24px;
  }

  .example-hero {
    min-height: 780px;
    padding: 150px 16px 80px;
  }

  .example-hero h1 {
    font-size: clamp(3.7rem, 18vw, 6.5rem);
  }

  .example-cta-inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .workflow-section {
    padding-block: 80px;
  }

  .workflow-intro {
    margin-bottom: 38px;
  }

  .console-topbar {
    min-height: 64px;
    padding: 0 12px;
  }

  .console-brand small {
    display: none;
  }

  .run-button {
    padding-inline: 11px;
  }

  .run-button span:first-child {
    display: none;
  }

  .console-tabs {
    overflow-x: auto;
  }

  .console-tab {
    flex: 0 0 auto;
  }

  .flow-canvas {
    min-height: 690px;
  }

  .flow-lines,
  .signal {
    display: none !important;
  }

  .flow-node {
    position: relative;
    inset: auto !important;
    width: calc(100% - 32px);
    min-height: 84px;
    margin: 16px;
  }

  .flow-node + .flow-node {
    margin-top: 8px;
  }

  .flow-node::before {
    position: absolute;
    top: -14px;
    left: 24px;
    width: 1px;
    height: 14px;
    content: "";
    background: rgba(255, 255, 255, 0.18);
  }

  .flow-node:first-of-type::before {
    display: none;
  }

  .service-toggle {
    grid-template-columns: 32px 1fr 24px;
    gap: 10px;
  }

  .service-meta {
    display: none;
  }

  .service-detail p,
  .service-tags {
    margin-left: 42px;
  }

  .principle-statement {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .process-step {
    grid-template-columns: 32px 1fr;
    padding-bottom: 50px;
  }

  .step-time {
    grid-column: 2;
  }

  .contact-inner {
    min-height: auto;
    padding-block: 90px;
  }

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

  .form-row {
    display: grid;
  }

  .form-footer {
    display: grid;
  }

  .form-footer .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 28px;
  }

  .footer-links {
    justify-self: start;
    justify-content: flex-start;
  }
}

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

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

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