:root {
  --bg: #ffffff;
  --bg-soft: #f3f3f1;
  --ink: #0a0a0a;
  --muted: #5c5c5c;
  --line: rgba(10, 10, 10, 0.12);
  --font-display: "Satoshi", "Helvetica Neue", sans-serif;
  --font-body: "General Sans", "Helvetica Neue", sans-serif;
  --wrap: min(1200px, calc(100% - 3rem));
  --header-h: 84px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip; /* not overflow-x:hidden on body — that breaks position:sticky */
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
.brand span,
.stats strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header — UC */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 1;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(300px, 70vw);
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.brand span {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.brand-ai {
  font-weight: 900;
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-desktop a:hover {
  color: var(--ink);
}

.btn-work {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-work:hover {
  background: var(--ink);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #222;
}

.btn-line {
  border-color: var(--ink);
  background: transparent;
}

.btn-line:hover {
  background: var(--ink);
  color: #fff;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding-top: var(--header-h);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg);
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  font-weight: 900;
  max-width: 8ch;
}

.hero-lede {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.hero-visual {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: #ddd;
}

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

/* About */
.about {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.about h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 14ch;
}

.about h2 em {
  font-style: normal;
  color: var(--muted);
}

.about-grid > p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.stats strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Film — tall scroll track, sticky video scrubbed by scroll */
.film {
  position: relative;
  height: 320vh;
  background: #111;
  color: #fff;
}

.film-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.film-canvas,
.film-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.film-canvas {
  z-index: 0;
}

.film-fallback {
  z-index: 0;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.film.is-ready .film-fallback {
  opacity: 0;
  pointer-events: none;
}

.film-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.film-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 36rem;
}

.film-step {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.film-step span {
  color: #fff;
}

.film-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.25s ease;
}

.film-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  color: #fff;
  max-width: 14ch;
  transition: opacity 0.25s ease;
}

.film-body {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 34ch;
  line-height: 1.5;
  min-height: 3.2em;
  transition: opacity 0.25s ease;
}

.film-copy.is-swapping .film-kicker,
.film-copy.is-swapping h2,
.film-copy.is-swapping .film-body {
  opacity: 0;
}

.film-progress {
  margin-top: 1.35rem;
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.film-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: #fff;
}

/* Services — scroll storytelling */
.services {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  overflow: clip;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 16ch;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

/* Journey sticky */
.journey {
  height: 280vh;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background: var(--bg);
}

.journey-media {
  position: relative;
  overflow: hidden;
  background: #111;
}

.journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.25));
}

.journey-media-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.journey-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  align-content: center;
  gap: 0.65rem;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
}

.journey-heading {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  max-width: 14ch;
  min-height: 2.4em;
  transition: opacity 0.2s ease;
}

.journey-body {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 32ch;
  min-height: 2.8em;
  transition: opacity 0.2s ease;
}

.journey-panel.is-swapping .journey-heading,
.journey-panel.is-swapping .journey-body {
  opacity: 0;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.journey-step {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  opacity: 0.38;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.journey-step span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.journey-step strong {
  display: block;
  font-size: 0.98rem;
}

.journey-step em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

.journey-step.is-active {
  opacity: 1;
  transform: translateX(0);
  background: #fff;
  border-color: var(--line);
}

.journey-step.is-done {
  opacity: 0.72;
  transform: translateX(0);
}

.journey-bar {
  margin-top: 1rem;
  height: 2px;
  background: rgba(10, 10, 10, 0.12);
  overflow: hidden;
}

.journey-bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ink);
}

/* Horizontal capability rail */
.hscroll {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.hscroll-pin {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  padding: 1.5rem 0 1.75rem;
  box-sizing: border-box;
}

.hscroll-head h3 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hscroll-viewport {
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.hscroll-track {
  display: flex;
  gap: 1.1rem;
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem);
  width: max-content;
  will-change: transform;
}

.h-card {
  width: min(78vw, 340px);
  flex: 0 0 auto;
  min-height: 340px;
  padding: 1.5rem 1.4rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 0.65rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.h-card span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.h-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.h-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.h-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(10, 10, 10, 0.06);
  padding: 0.05em 0.3em;
}

.h-card ul {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.h-card li {
  font-size: 0.88rem;
  padding: 0.45rem 0.6rem;
  background: #fff;
  border-left: 2px solid var(--ink);
}

.h-card-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.h-card-dark span,
.h-card-dark p {
  color: rgba(255, 255, 255, 0.65);
}

.h-card-dark li {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #fff;
  color: #fff;
}

.hscroll-progress {
  height: 2px;
  background: rgba(10, 10, 10, 0.1);
  margin-top: 0.75rem;
  overflow: hidden;
}

.hscroll-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ink);
}

/* Desk strip */
.desk-strip {
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.desk-strip-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.desk-strip-label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.desk-strip-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.desk-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.desk-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.15rem 1.1rem;
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.desk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.desk-card span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.desk-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.desk-card em {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.desk-card-ai {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.desk-card-ai span,
.desk-card-ai em {
  color: rgba(255, 255, 255, 0.65);
}

/* Reliability */
.reliability {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--ink);
  color: #fff;
}

.reliability h2 {
  margin: 0 0 2.5rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.reli-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}

.reli-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.reli-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  max-width: 30ch;
}

/* Demo */
.demo {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.demo h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.demo p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34ch;
}

.demo-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
}

.demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.demo-card:hover img {
  transform: scale(1.04);
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #0a0a0a;
}

/* Contact */
.contact {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(180deg, #f7f6f3 0%, #efeee9 100%);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding-top: 0.35rem;
}

.contact-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-intro h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.contact-lede {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-aside {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-aside li {
  display: grid;
  gap: 0.25rem;
}

.contact-aside span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-aside a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s ease;
}

.contact-aside a:hover {
  border-bottom-color: var(--ink);
}

.contact-form {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.55rem 1.35rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.contact-form .field > span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form .field-message {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  padding: 0.55rem 0 0.7rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-bottom-color: rgba(10, 10, 10, 0.35);
}

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

.captcha-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.captcha-field {
  flex: 1;
  min-width: 0;
}

.captcha-inline {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  padding-bottom: 0.15rem;
}

.captcha-inline::after {
  content: "=";
  order: 1;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}

.captcha-q {
  order: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--ink);
}

.captcha-inline input {
  order: 2;
  border: 0 !important;
  padding: 0.55rem 0 0.55rem !important;
  max-width: 5.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.captcha-refresh {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.captcha-refresh:hover {
  color: var(--ink);
  transform: rotate(-20deg);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.85rem;
}

.contact-actions .btn[disabled] {
  opacity: 0.65;
  pointer-events: none;
}

.form-status {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status[data-kind="ok"] {
  color: #1f6b3a;
}

.form-status[data-kind="error"] {
  color: #8f2a2a;
}

.contact-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-intro {
    position: static;
  }

  .contact-lede {
    max-width: 42ch;
  }
}

@media (max-width: 640px) {
  .contact-fields {
    grid-template-columns: 1fr;
  }

  .captcha-line {
    align-items: stretch;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-logo,
.footer-brand img.footer-logo {
  width: auto;
  height: 44px;
  max-width: 220px;
  margin-top: 0;
  object-fit: contain;
}

.footer-container {
  display: block;
  width: auto;
  height: 56px;
  max-width: 150px;
  margin-top: 0.35rem;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}

.footer-grid strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-grid p,
.footer-grid span {
  color: var(--muted);
  margin: 0;
}

.footer-grid > div > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .site-header {
    --header-h: 64px;
  }

  .brand-logo {
    height: 34px;
    max-width: min(168px, 52vw);
  }

  .hero,
  .about-grid,
  .section-intro,
  .demo-grid,
  .journey-sticky,
  .desk-cards,
  .reli-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 45vh;
  }

  .services {
    padding-top: 2.75rem;
    overflow: visible;
  }

  .services-intro {
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    align-items: start;
  }

  .section-intro h2 {
    max-width: none;
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    line-height: 1.05;
  }

  .section-intro p {
    max-width: none;
    font-size: 0.98rem;
  }

  .journey {
    height: auto;
    margin: 0;
  }

  .journey-sticky {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .journey-media {
    min-height: 220px;
    max-height: none;
    height: min(42vh, 320px);
    flex: 0 0 auto;
  }

  .journey-media-shade {
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.45));
  }

  .journey-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.35rem 1.15rem 1.6rem;
    gap: 0.5rem;
  }

  .journey-heading {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    max-width: none;
    min-height: 0;
  }

  .journey-body {
    max-width: none;
    min-height: 0;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
  }

  .journey-steps {
    gap: 0.25rem;
  }

  .journey-step {
    padding: 0.55rem 0.65rem;
    transform: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 2px;
  }

  .journey-step.is-active {
    transform: none;
  }

  .journey-step.is-done {
    transform: none;
  }

  .journey-bar {
    margin-top: 0.75rem;
  }

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

  .hscroll-pin {
    height: auto;
    padding: 1.35rem 0 1.5rem;
    display: block;
  }

  .hscroll-head {
    padding-inline: 0;
    margin-bottom: 0.85rem;
  }

  .hscroll-head h3 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    max-width: 18ch;
  }

  .hscroll-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    margin: 0;
    padding: 0.15rem 0 0.5rem;
  }

  .hscroll-viewport::-webkit-scrollbar {
    display: none;
  }

  .hscroll-track {
    will-change: auto;
    transform: none !important;
    gap: 0.85rem;
    padding: 0.25rem 1.15rem 0.35rem;
  }

  .h-card {
    width: min(78vw, 300px);
    min-height: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .h-card:hover {
    transform: none;
    box-shadow: none;
  }

  .hscroll-progress {
    width: var(--wrap);
    margin: 0.85rem auto 0;
  }

  .desk-strip-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .film {
    height: 220vh;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .desk-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .film {
    height: 100vh;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)),
      url("../assets/photos/cargo-ship.jpg") center / cover;
  }

  .film-canvas {
    display: none;
  }

  .film-fallback {
    opacity: 1 !important;
  }

  .demo-card img {
    transition: none !important;
  }
}
