@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #05070d;
  --bg-soft: #0a0f19;
  --ink: #f3f6fc;
  --muted: #a5afc0;
  --muted-dark: #6e7788;
  --blue: #9ac3ff;
  --blue-bright: #c2dcff;
  --purple: #aa9eff;
  --line: rgba(224, 235, 255, 0.18);
  --line-soft: rgba(224, 235, 255, 0.1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--bg);
  background: var(--blue-bright);
}

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

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

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem 0.9rem;
  color: var(--bg);
  background: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex-shrink: 0;
}

.brand__name {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
}

.brand__name em {
  color: var(--blue);
  font-style: normal;
}

.brand__mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 19px;
  height: 18px;
}

.brand__mark span {
  display: block;
  width: 5px;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(154, 195, 255, 0.45);
}

.brand__mark span:nth-child(1) {
  height: 8px;
  opacity: 0.58;
}

.brand__mark span:nth-child(2) {
  height: 13px;
  opacity: 0.8;
}

.brand__mark span:nth-child(3) {
  height: 18px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 3vw, 3rem);
  margin-left: auto;
  margin-right: clamp(1.6rem, 4vw, 4.4rem);
}

.primary-nav a,
.header-cta,
.text-link,
.eyebrow,
.section-index,
.hero__footer,
.scroll-cue,
.tag-list,
.contact-card__label,
.contact__microcopy,
.site-footer__copyright {
  font-family: 'DM Mono', 'Cascadia Mono', monospace;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.7rem;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--blue-bright);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.header-cta .arrow {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
}

.header-cta:hover .arrow,
.header-cta:focus-visible .arrow {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  margin-left: auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(7, 11, 19, 0.58);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 5px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded='true'] span:not(.sr-only):first-of-type {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:not(.sr-only):last-of-type {
  transform: translateY(-3px) rotate(-45deg);
}

.image-section {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 980px);
  overflow: hidden;
  background-color: var(--bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(67, 105, 174, 0.13), transparent 29%),
    linear-gradient(120deg, transparent 30%, rgba(127, 109, 255, 0.035) 100%);
  content: '';
  pointer-events: none;
}

.image-section__veil,
.hero__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.87) 0%, rgba(3, 5, 10, 0.48) 39%, rgba(3, 5, 10, 0.12) 68%, rgba(3, 5, 10, 0.42) 100%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.78) 0%, transparent 31%, rgba(3, 5, 10, 0.2) 100%);
  pointer-events: none;
}

.hero {
  min-height: 100svh;
  background-image: url('./assets/hero.webp');
  background-position: center center;
}

.hero__wash {
  background:
    radial-gradient(circle at 25% 44%, rgba(31, 56, 97, 0.11), transparent 34%),
    linear-gradient(90deg, rgba(3, 5, 10, 0.9) 0%, rgba(3, 5, 10, 0.58) 42%, rgba(3, 5, 10, 0.1) 74%, rgba(3, 5, 10, 0.3) 100%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.62) 0%, transparent 35%, rgba(3, 5, 10, 0.18) 100%);
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: clamp(5rem, 12vh, 8rem);
  padding-bottom: 7rem;
}

.hero__copy {
  width: min(100%, 630px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.45rem;
  color: var(--blue);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__line {
  display: block;
  width: 2.7rem;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

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

h1,
h2 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 7.25rem);
}

h2 {
  font-size: clamp(2.7rem, 5.1vw, 5.5rem);
}

h1 span,
h2 span {
  color: var(--blue-bright);
}

.hero__lede,
.service-panel__copy > p,
.outcomes__copy > p,
.contact__copy > p,
.intro__content > p {
  max-width: 49ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.35vw, 1.08rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.35rem;
  padding: 0.8rem 1.35rem 0.8rem 1.5rem;
  border: 1px solid transparent;
  font-family: 'DM Mono', 'Cascadia Mono', monospace;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.button--solid {
  color: var(--bg);
  background: var(--blue-bright);
}

.button--solid:hover,
.button--solid:focus-visible {
  color: var(--bg);
  background: #fff;
  transform: translateY(-2px);
}

.button__arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link span {
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  gap: 0.9rem;
}

.text-link--light {
  color: var(--ink);
}

.hero__footer {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-dark);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__footer-line {
  display: block;
  width: clamp(3rem, 10vw, 9rem);
  height: 1px;
  background: var(--line);
}

.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted-dark);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.scroll-cue span:last-child {
  color: var(--blue);
  font-size: 1rem;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--ink);
}

.intro {
  position: relative;
  min-height: min(78svh, 720px);
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 26%, rgba(88, 75, 185, 0.12), transparent 28%),
    radial-gradient(circle at 20% 100%, rgba(34, 72, 126, 0.15), transparent 34%),
    var(--bg-soft);
}

.intro::before {
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--line-soft), transparent);
  content: '';
  opacity: 0.55;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 9rem);
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(6rem, 14vh, 10rem);
}

.intro__grid > .eyebrow {
  align-self: start;
  color: var(--muted-dark);
}

.intro__content h2 {
  max-width: 10ch;
  margin-bottom: 2rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5.2rem);
  border-top: 1px solid var(--line);
}

.principle {
  padding-top: 1.25rem;
  border-right: 1px solid var(--line-soft);
  padding-right: clamp(0.85rem, 2vw, 2rem);
}

.principle:last-child {
  border-right: 0;
}

.principle__number {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-family: 'DM Mono', 'Cascadia Mono', monospace;
  font-size: 0.65rem;
}

.principle h3 {
  margin-bottom: 0.45rem;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle p {
  max-width: 19ch;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.65;
}

.image-section--automation {
  background-image: url('./assets/automation.webp');
  background-position: center;
}

.image-section--website {
  background-image: url('./assets/website.webp');
  background-position: center;
}

.image-section--integration {
  background-image: url('./assets/integration.webp');
  background-position: center;
}

.image-section--outcomes {
  background-image: url('./assets/outcomes.webp');
  background-position: center;
}

.image-section--closing {
  background-image: url('./assets/closing.webp');
  background-position: center;
}

.service-panel__inner,
.outcomes__inner,
.contact__inner {
  position: relative;
  display: flex;
  min-height: min(100svh, 980px);
  padding-top: 8rem;
  padding-bottom: clamp(5rem, 12vh, 8.5rem);
}

.section-index {
  position: absolute;
  top: 7.4rem;
  right: var(--gutter);
  color: var(--muted-dark);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.service-panel__copy {
  align-self: flex-end;
  max-width: 630px;
}

.service-panel__copy h2,
.outcomes__copy h2,
.contact__copy h2 {
  max-width: 10ch;
}

.service-panel__copy > p,
.outcomes__copy > p,
.contact__copy > p {
  max-width: 45ch;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  padding: 0;
  margin: 1.7rem 0 1.85rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-list li {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(7, 11, 19, 0.25);
}

.outcomes__inner,
.contact__inner {
  justify-content: flex-end;
}

.outcomes__copy,
.contact__copy {
  align-self: flex-end;
  width: min(100%, 570px);
  padding-bottom: 0.5rem;
}

.outcomes .image-section__veil,
.contact .image-section__veil {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.08) 0%, rgba(3, 5, 10, 0.17) 34%, rgba(3, 5, 10, 0.82) 68%, rgba(3, 5, 10, 0.93) 100%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.8) 0%, transparent 42%, rgba(3, 5, 10, 0.24) 100%);
}

.outcomes__note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 31ch;
  margin-top: 2rem;
  color: var(--muted);
  font-family: 'DM Mono', 'Cascadia Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.outcomes__note-mark {
  display: grid;
  flex: 0 0 1.9rem;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1rem;
}

.contact__copy {
  max-width: 590px;
}

.contact__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 7.1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.42);
  backdrop-filter: blur(10px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(194, 220, 255, 0.65);
  background: rgba(20, 28, 48, 0.58);
  transform: translateY(-3px);
}

.contact-card__label {
  margin-bottom: 0.55rem;
  color: var(--blue);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card strong {
  max-width: 13ch;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-card__detail {
  display: block;
  max-width: 18ch;
  margin-top: 0.3rem;
  color: var(--muted);
  font-family: 'DM Mono', 'Cascadia Mono', monospace;
  font-size: 0.61rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-card__arrow {
  position: absolute;
  right: 1.15rem;
  bottom: 0.9rem;
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
}

.contact__microcopy {
  margin: 1.25rem 0 0;
  color: var(--muted-dark);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7rem;
}

.brand--footer .brand__name {
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.75rem;
}

.site-footer__copyright {
  font-size: 0.63rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .primary-nav {
    gap: 1.6rem;
    margin-right: 1.8rem;
  }

  .hero__copy {
    max-width: 560px;
  }

  .intro__grid {
    gap: 3rem;
  }

  .service-panel__inner,
  .outcomes__inner,
  .contact__inner {
    min-height: 840px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1.35rem;
  }

  .site-header__inner {
    height: var(--header-height);
  }

  .brand__name {
    font-size: 0.74rem;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 0;
    padding: 0.4rem;
    margin: 0;
    border: 1px solid var(--line);
    background: rgba(5, 7, 13, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.65rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .primary-nav a {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.66rem;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

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

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .image-section {
    min-height: 800px;
  }

  .hero {
    min-height: max(760px, 100svh);
    background-position: 70% center;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(3, 5, 10, 0.32) 0%, rgba(3, 5, 10, 0.56) 43%, rgba(3, 5, 10, 0.93) 88%),
      linear-gradient(90deg, rgba(3, 5, 10, 0.72) 0%, rgba(3, 5, 10, 0.18) 78%);
  }

  .hero__inner {
    align-items: flex-start;
    min-height: max(760px, 100svh);
    padding-top: clamp(8.6rem, 19vh, 11rem);
    padding-bottom: 8.5rem;
  }

  .hero__copy {
    max-width: 34rem;
  }

  .eyebrow {
    margin-bottom: 1.1rem;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.15rem, 13vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.65rem, 12.5vw, 4.1rem);
  }

  .hero__lede,
  .service-panel__copy > p,
  .outcomes__copy > p,
  .contact__copy > p,
  .intro__content > p {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.9rem;
  }

  .hero__footer {
    right: var(--gutter);
    bottom: 2rem;
    left: var(--gutter);
    justify-content: space-between;
    gap: 0.7rem;
    font-size: 0.55rem;
  }

  .hero__footer-line {
    width: 2.4rem;
  }

  .scroll-cue {
    display: none;
  }

  .intro {
    min-height: auto;
  }

  .intro__grid {
    display: block;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }

  .intro__grid > .eyebrow {
    margin-bottom: 2.8rem;
  }

  .intro__content h2 {
    max-width: 9ch;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3.7rem;
  }

  .principle,
  .principle:last-child {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    column-gap: 1rem;
    padding: 1.15rem 0 1.15rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle__number {
    grid-row: span 2;
    margin: 0;
  }

  .principle h3,
  .principle p {
    grid-column: 2;
  }

  .principle h3 {
    margin-bottom: 0.2rem;
  }

  .principle p {
    max-width: none;
  }

  .service-panel__inner,
  .outcomes__inner,
  .contact__inner {
    display: block;
    min-height: 900px;
    padding-top: 6.25rem;
    padding-bottom: 4rem;
  }

  .section-index {
    top: 6.3rem;
    right: var(--gutter);
    font-size: 0.57rem;
  }

  .service-panel__copy,
  .outcomes__copy,
  .contact__copy {
    position: absolute;
    right: var(--gutter);
    bottom: 4rem;
    left: var(--gutter);
    width: auto;
    max-width: none;
    padding: 0;
  }

  .service-panel__copy h2,
  .outcomes__copy h2,
  .contact__copy h2 {
    max-width: 9ch;
  }

  .image-section--automation {
    background-position: 65% center;
  }

  .image-section--website {
    background-position: 66% center;
  }

  .image-section--integration {
    background-position: 64% center;
  }

  .image-section--outcomes,
  .image-section--closing {
    background-position: 42% center;
  }

  .image-section__veil {
    background:
      linear-gradient(180deg, rgba(3, 5, 10, 0.08) 0%, rgba(3, 5, 10, 0.18) 38%, rgba(3, 5, 10, 0.9) 72%, rgba(3, 5, 10, 0.98) 100%),
      linear-gradient(90deg, rgba(3, 5, 10, 0.38) 0%, rgba(3, 5, 10, 0.08) 60%, rgba(3, 5, 10, 0.38) 100%);
  }

  .outcomes .image-section__veil,
  .contact .image-section__veil {
    background:
      linear-gradient(180deg, rgba(3, 5, 10, 0.06) 0%, rgba(3, 5, 10, 0.1) 31%, rgba(3, 5, 10, 0.83) 66%, rgba(3, 5, 10, 0.98) 100%),
      linear-gradient(90deg, rgba(3, 5, 10, 0.18) 0%, rgba(3, 5, 10, 0.54) 100%);
  }

  .tag-list {
    margin-top: 1.35rem;
    margin-bottom: 1.55rem;
    font-size: 0.56rem;
  }

  .tag-list li {
    padding: 0.34rem 0.5rem;
  }

  .contact__actions {
    margin-top: 1.8rem;
  }

  .contact-card {
    min-height: 6.5rem;
    padding: 0.9rem;
  }

  .contact-card__arrow {
    right: 0.8rem;
    bottom: 0.75rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Each scene stays in the viewport while its interface scrolls past. */
.image-section {
  --scene-position: center;
  overflow: visible;
  background-image: none;
}

.image-section .scene-backdrop {
  position: sticky;
  z-index: 0;
  top: 0;
  display: block;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  background-color: var(--bg);
  background-image: var(--scene-image);
  background-position: var(--scene-position);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.scene-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(3, 5, 10, 0.96) 0%, rgba(3, 5, 10, 0.67) 24%, transparent 64%),
    linear-gradient(90deg, rgba(3, 5, 10, 0.55), transparent 62%);
  content: '';
}

.hero .scene-backdrop::after {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.91) 0%, rgba(3, 5, 10, 0.58) 42%, rgba(3, 5, 10, 0.09) 76%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.72), transparent 40%);
}

.outcomes .scene-backdrop::after,
.contact .scene-backdrop::after {
  background:
    linear-gradient(0deg, rgba(3, 5, 10, 0.96) 0%, rgba(3, 5, 10, 0.68) 24%, transparent 64%),
    linear-gradient(270deg, rgba(3, 5, 10, 0.65), transparent 66%);
}

.image-section .hero__wash,
.image-section .image-section__veil {
  display: none;
}

.image-section > .container,
.image-section > .scroll-cue {
  position: relative;
  z-index: 1;
}

.hero {
  --scene-image: url('./assets/hero.webp');
  min-height: 140svh;
}

.image-section--automation { --scene-image: url('./assets/automation.webp'); }
.image-section--website { --scene-image: url('./assets/website.webp'); }
.image-section--integration { --scene-image: url('./assets/integration.webp'); }
.image-section--outcomes { --scene-image: url('./assets/outcomes.webp'); }
.image-section--closing { --scene-image: url('./assets/closing.webp'); }

.hero__inner {
  align-items: flex-start;
  min-height: 140svh;
  padding-top: clamp(10rem, 22svh, 15rem);
  padding-bottom: 14svh;
}

.service-panel,
.service-panel__inner,
.outcomes,
.outcomes__inner {
  min-height: 170svh;
}

.contact,
.contact__inner {
  min-height: 180svh;
}

.service-panel__inner,
.outcomes__inner,
.contact__inner {
  padding-top: 100svh;
  padding-bottom: 12svh;
}

.contact__inner {
  padding-bottom: 6svh;
}

.service-panel__copy h2,
.outcomes__copy h2,
.contact__copy h2 {
  max-width: 15ch;
}

.contact__copy h2 {
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
}

.service-panel__copy > p:not(.eyebrow),
.outcomes__copy > p:not(.eyebrow),
.contact__copy > p:not(.eyebrow) {
  max-width: 38ch;
}

/* Varied, quiet entrance treatments; scrolling supplies the main motion. */
.reveal {
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-scale: 1;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 850ms var(--ease),
    filter 900ms var(--ease),
    transform 1000ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.intro__content { --reveal-x: 32px; --reveal-y: 0px; }
.image-section--automation .service-panel__copy { --reveal-y: 42px; }
.image-section--website .service-panel__copy { --reveal-x: -32px; --reveal-y: 0px; }
.image-section--integration .service-panel__copy { --reveal-x: 32px; --reveal-y: 0px; }
.outcomes__copy { --reveal-x: 36px; --reveal-y: 0px; }
.contact__copy { --reveal-y: 24px; --reveal-scale: 0.97; }

@media (max-width: 680px) {
  .hero { --scene-position: 70% center; }
  .image-section--automation { --scene-position: 65% center; }
  .image-section--website { --scene-position: 66% center; }
  .image-section--integration { --scene-position: 64% center; }
  .image-section--outcomes,
  .image-section--closing { --scene-position: 42% center; }

  .hero,
  .hero__inner {
    min-height: 135svh;
  }

  .hero__inner {
    padding-top: clamp(8.6rem, 19svh, 11rem);
    padding-bottom: 12svh;
  }

  .service-panel,
  .service-panel__inner,
  .outcomes,
  .outcomes__inner {
    min-height: 155svh;
  }

  .contact,
  .contact__inner {
    min-height: 165svh;
  }

  .service-panel__inner,
  .outcomes__inner,
  .contact__inner {
    display: flex;
    align-items: flex-end;
    padding-top: 100svh;
    padding-bottom: 5svh;
  }

  .service-panel__copy,
  .outcomes__copy,
  .contact__copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-self: flex-end;
    width: 100%;
    padding: 0;
  }

  .reveal {
    --reveal-x: 0px;
    --reveal-y: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 680px) {
  .image-section .reveal,
  .intro .reveal { --reveal-x: 0px; }
}

/* Scene overlay and scroll-scrub refinements. */
.image-section--automation .scene-backdrop::after,
.image-section--website .scene-backdrop::after,
.image-section--integration .scene-backdrop::after {
  background:
    linear-gradient(90deg, #080b12 0%, #080b12 52%, rgba(8, 11, 18, 0.82) 59%, transparent 72%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.84) 0%, transparent 50%, rgba(3, 5, 10, 0.25) 100%);
}

.image-section--outcomes .scene-backdrop::after,
.image-section--closing .scene-backdrop::after {
  background:
    linear-gradient(270deg, #080a10 0%, #080a10 47%, rgba(8, 10, 16, 0.88) 55%, transparent 70%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.86) 0%, transparent 50%, rgba(3, 5, 10, 0.24) 100%);
}

.image-section:not(.hero) {
  --scene-opacity: 0;
  --scene-x: 0px;
  --scene-y: 90px;
  --scene-scale: 0.98;
  --scene-blur: 8px;
}

.image-section:not(.hero) .service-panel__copy.reveal,
.image-section:not(.hero) .outcomes__copy.reveal,
.image-section:not(.hero) .contact__copy.reveal {
  opacity: var(--scene-opacity, 0);
  filter: blur(var(--scene-blur, 8px));
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 90px), 0) scale(var(--scene-scale, 0.98));
  transition: none;
  will-change: opacity, filter, transform;
}

@media (prefers-reduced-motion: reduce) {
  .image-section:not(.hero) .service-panel__copy.reveal,
  .image-section:not(.hero) .outcomes__copy.reveal,
  .image-section:not(.hero) .contact__copy.reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 680px) {
  .hero__lede {
    color: #eef3fc;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  }
}

