/* ==========================================================================
   Frame Robotics — landing page
   Ported from "Landing Page.dc.html" (Claude Design project b18903c4).
   Design tokens transcribed from the source; no values re-decided.
   ========================================================================== */

:root {
  /* surfaces */
  --bg:            #050505;
  --surface-1:     #090909;
  --surface-2:     #0a0a0a;
  --surface-3:     #0e0e0e;
  --surface-4:     #121212;

  /* borders */
  --line:          #1a1a1a;
  --line-2:        #141414;
  --line-3:        #1e1e1e;
  --line-4:        #232323;
  --line-5:        #262626;
  --line-6:        #2c2c2c;
  --line-7:        #3a3a3a;

  /* text */
  --fg:            #f5f5f5;
  --fg-2:          #d9d9d9;
  --fg-3:          #c9c9c9;
  --fg-4:          #b9b9b9;
  --fg-muted:      #9a9a9a;
  --fg-muted-2:    #8a8a8a;
  --fg-dim:        #6a6a6a;
  --fg-dimmer:     #4a4a4a;

  /* type */
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* signature metal gradients */
  --metal-heading: linear-gradient(168deg, #ffffff 10%, #d4d8de 45%, #8a8f97 75%, #f4f6f8 95%);
  --metal-hero:    linear-gradient(168deg, #ffffff 8%, #d4d8de 38%, #9aa0a8 62%, #f4f6f8 92%);
  --metal-cta:     linear-gradient(168deg, #ffffff 8%, #d4d8de 40%, #83888f 64%, #f4f6f8 92%);
  --metal-1t:      linear-gradient(170deg, #ffffff 5%, #c7cbd2 40%, #6f747d 68%, #eef0f3 95%);
  --metal-card:    linear-gradient(150deg, #ffffff 20%, #b9bdc4 90%);
  --metal-button:  linear-gradient(160deg, #ffffff 0%, #c9cdd4 55%, #eef0f3 100%);

  /* layout */
  --gutter: 56px;
  --nav-h: 73px;
}

/* --- reset ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: #ffffff; }

img { max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, p, blockquote, figure { margin: 0; }

:focus-visible { outline: 2px solid #ffffff80; outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- shared primitives ---------------------------------------------------- */

/* gradient-filled text: the site's signature heading treatment */
.metal {
  background: var(--metal-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* small monospace eyebrow above every section heading */
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--fg-dim);
  margin-bottom: 14px;
}

.section {
  padding: 88px var(--gutter);
  border-top: 1px solid var(--line);
}

.section__head {
  text-align: center;
  margin-bottom: 52px;
}

.section__title {
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -.025em;
}

/* pill used for status chips throughout */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--fg-3);
  border: 1px solid #ffffff2a;
  border-radius: 99px;
  padding: 6px 13px;
  background: #0a0a0a80;
  backdrop-filter: blur(6px);
}

.pill--quiet {
  color: var(--fg-muted);
  border-color: #ffffff1a;
}

/* the white "live" dot */
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #fff;
  flex: none;
}

/* primary button: brushed-metal fill on near-black text */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: #050505;
  background: var(--metal-button);
  padding: 14px 28px;
  border-radius: 99px;
  box-shadow: 0 0 30px #ffffff38, inset 0 -1px 2px #00000030;
  transition: box-shadow .25s ease, transform .25s ease;
}
.btn:hover {
  color: #050505;
  box-shadow: 0 0 42px #ffffff55, inset 0 -1px 2px #00000030;
  transform: translateY(-1px);
}
.btn:disabled { opacity: .65; cursor: wait; transform: none; }

.btn--sm { font-size: 12.5px; padding: 10px 20px; box-shadow: 0 0 18px #ffffff26; }
.btn--lg { padding: 14px 30px; box-shadow: 0 0 34px #ffffff40; }

.btn-ghost {
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
  padding: 14px 26px;
  border-radius: 99px;
  border: 1px solid #ffffff2e;
  background: #0e0e0eb0;
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, background .25s ease;
}
.btn-ghost:hover { border-color: #ffffff55; background: #161616b0; }

/* --- nav ------------------------------------------------------------------ */

/* Keep the FAQ heading clear of the sticky navigation when following its link. */
#faq { scroll-margin-top: 96px; }

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 700px;
  overflow: hidden;
}

.hero__scene { display: block; position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__poster { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* fades the 3D lab into the page top and bottom */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #050505 3%, transparent 42%),
    linear-gradient(180deg, #05050580 0%, transparent 18%);
  pointer-events: none;
}

.hero__status-left  { position: absolute; top: 26px; left: var(--gutter); }
.hero__readout {
  margin: 0;
  font: 12px/1.8 var(--mono);
  color: var(--fg-muted);
  text-shadow: 0 1px 4px #050505;
  pointer-events: none;
}
.hero__readout code { font: inherit; }
.hero__readout-call, .hero__readout-value { color: var(--fg-2); }
.hero__status-right { position: absolute; top: 26px; right: var(--gutter); }

.hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  text-align: center;
  padding: 0 var(--gutter);
}

.hero__label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--fg);
  text-shadow: 0 1px 4px #050505;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__label::before,
.hero__label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--fg-3);
}

.hero__label-separator { color: var(--fg-3); }

.hero__title {
  margin: 0 auto;
  /* Let the text gradient cover descenders without shifting the hero layout. */
  padding-bottom: .15em;
  margin-bottom: -.15em;
  max-width: 900px;
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -.028em;
  text-wrap: pretty;
  background: var(--metal-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 24px #05050590);
}

.hero__sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-4);
  margin: 18px auto 0;
  max-width: 540px;
  text-shadow: 0 1px 12px #050505;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --- hardware logos ------------------------------------------------------- */

.logos { padding: 36px var(--gutter) 56px; text-align: center; }

.logos__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--fg-dim);
  margin-bottom: 24px;
}

.logos__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.logos__row img {
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
}

/* --- mission ------------------------------------------------------------- */

.mission { text-align: center; }

.mission__figure {
  font-weight: 800;
  font-size: 150px;
  line-height: .9;
  letter-spacing: -.04em;
  background: var(--metal-1t);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mission__copy {
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-3);
  max-width: 560px;
  margin: 18px auto 0;
  line-height: 1.45;
  text-wrap: pretty;
}

/* --- ecosystem ------------------------------------------------------------ */

.eco {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.eco__col { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.module {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 26px;
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: linear-gradient(180deg, #0e0e0e, #090909);
  transition: border-color .25s ease, background .25s ease;
}
.module:hover {
  border-color: #3f3f3f;
  background: linear-gradient(180deg, #131313, #0a0a0a);
}

/* hairline highlight along the top edge of each card */
.module::before,
.eco__core::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff30, transparent);
}

.module__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module__index {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--fg-dim);
}

.module__arrow { font-family: var(--mono); font-size: 11px; color: var(--fg-dimmer); }

.module__name {
  font-weight: 700;
  font-size: 17px;
  background: var(--metal-card);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.module__desc { font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; }

.eco__core {
  flex: 1.15;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-5);
  border-radius: 14px;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #191a1c 0%, #090909 78%);
  overflow: hidden;
  min-height: 320px;
}

.eco__core::before { left: 25%; right: 25%; background: linear-gradient(90deg, transparent, #ffffff45, transparent); }

.eco__core img {
  width: 74%;
  max-width: 290px;
}

.eco__core-label {
  position: absolute;
  bottom: 22px;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--fg-muted);
  border-color: var(--line-5);
  background: var(--surface-2);
  backdrop-filter: none;
}

/* --- how it works --------------------------------------------------------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 1020px;
  margin: 0 auto;
}

.step { display: flex; gap: 56px; align-items: center; }
.step--reverse { flex-direction: row-reverse; }

.step__panel { flex: 1; }
.step__body  { flex: 1; }

.step__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

.step__title { font-weight: 700; font-size: 28px; letter-spacing: -.02em; }

.step__copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 14px 0 0;
}

/* shared chrome for the three mock UI panels */
.panel {
  border: 1px solid var(--line-4);
  border-radius: 14px;
  background: var(--surface-2);
  overflow: hidden;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-muted);
}

.panel__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--fg-muted);
}

.row--total { border-top: 1px solid var(--line); padding-top: 12px; }

.row__value { color: var(--fg); }

.meter { display: flex; flex-direction: column; gap: 6px; }

.meter__track { height: 3px; background: #1c1c1c; border-radius: 2px; }

.meter__fill {
  height: 100%;
  background: linear-gradient(90deg, #8a8f97, #ffffff);
  border-radius: 2px;
  box-shadow: 0 0 10px #ffffff60;
}

/* step 2 — chat transcript */
.chat {
  border: 1px solid var(--line-4);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat__msg {
  max-width: 82%;
  padding: 13px 17px;
  font-size: 13.5px;
  line-height: 1.5;
}

.chat__msg--out {
  align-self: flex-end;
  background: linear-gradient(160deg, #f5f6f8, #c9cdd4);
  color: #0a0a0a;
  border-radius: 16px 16px 4px 16px;
}

.chat__msg--in {
  align-self: flex-start;
  background: var(--surface-4);
  border: 1px solid var(--line-4);
  color: var(--fg-2);
  border-radius: 16px 16px 16px 4px;
}

.chat__msg--in .muted { color: var(--fg-muted-2); }

.chat__stamp {
  align-self: flex-end;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--fg-dim);
}

.chat__status {
  align-self: flex-start;
  font-size: 10px;
  color: var(--fg);
  border-color: var(--line-6);
  background: var(--surface-3);
  letter-spacing: normal;
  backdrop-filter: none;
}

/* step 3 — fleet activity feed */
.panel__tabs { display: flex; gap: 8px; font-family: var(--mono); font-size: 9px; }

.panel__tab {
  color: var(--fg-muted);
  border: 1px solid var(--line-3);
  border-radius: 99px;
  padding: 3px 9px;
}
.panel__tab[aria-selected="true"] { color: var(--fg); border-color: var(--line-6); }

.feed { display: flex; flex-direction: column; }

.feed li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
}
.feed li:last-child { border-bottom: 0; }

.feed .dot { box-shadow: 0 0 6px #ffffffb0; }

/* --- case study ----------------------------------------------------------- */

.cases {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}

.case {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-4);
}

.case--tall { grid-row: 1 / span 2; }

.case img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.case--tall img { min-height: 420px; }
.case--short img { height: 200px; }

/* scrim so the caption stays readable over the photo */
.case__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #050505e0 0%, transparent 55%);
}
.case--short .case__scrim { background: linear-gradient(0deg, #050505c0 0%, transparent 60%); }

.case__caption { position: absolute; bottom: 20px; left: 22px; right: 22px; }

.case__title { font-weight: 700; font-size: 22px; letter-spacing: -.015em; text-wrap: pretty; }

.case__meta { font-family: var(--mono); font-size: 10px; color: var(--fg-muted); margin-top: 8px; }

.case__tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
}

.stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: linear-gradient(180deg, #0e0e0e, #090909);
  padding: 26px;
}

.stats__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-muted);
}

.stats__value { color: var(--fg); font-size: 15px; }

.stats__rule { height: 1px; background: var(--line); }

/* --- founder quote -------------------------------------------------------- */

.quote {
  position: relative;
  padding: 110px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.quote__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, #141517 0%, transparent 75%);
}

.quote__inner { position: relative; max-width: 820px; margin: 0 auto; }

.quote__mark {
  font-family: var(--mono);
  font-size: 64px;
  line-height: 0;
  color: #2e2e2e;
  margin-bottom: 34px;
}

.quote__text {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.quote__by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.quote__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-6);
  object-fit: cover;
  flex: none;
}

.quote__name { display: block; font-weight: 600; font-size: 14px; color: var(--fg); text-align: left; }

.quote__org {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--fg-dim);
  margin-top: 3px;
  text-align: left;
}

/* --- comparison ----------------------------------------------------------- */

.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}

.compare__card {
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: var(--surface-1);
  padding: 30px;
}

.compare__card--with {
  border-color: var(--line-7);
  background: linear-gradient(180deg, #101010, #0a0a0a);
  box-shadow: 0 0 40px #ffffff10;
}

.compare__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.compare__card--with .compare__label { color: var(--fg); }

.compare__list { list-style: none; margin: 0; padding: 0; }

.compare__list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--fg-muted-2);
  line-height: 1.5;
}

.compare__list li::before { content: "—"; color: var(--fg-dimmer); flex: none; }

.compare__card--with .compare__list li {
  border-bottom-color: var(--line);
  color: var(--fg-2);
}
.compare__card--with .compare__list li::before { content: "✓"; color: var(--fg); }

/* the VS chip pinned between the two columns */
.compare__vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #050505;
  background: linear-gradient(160deg, #ffffff, #c9cdd4);
  border-radius: 99px;
  padding: 9px 15px;
  box-shadow: 0 0 24px #ffffff40;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line-3);
  border-radius: 12px;
  background: var(--surface-1);
  overflow: hidden;
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s ease;
}
.faq__q:hover { background: var(--surface-3); }

.faq__icon { font-family: var(--mono); color: var(--fg-dim); font-size: 14px; flex: none; }

.faq__a {
  padding: 0 22px 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.faq__a[hidden] { display: none; }

/* --- closing CTA ---------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  padding: 110px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta::before {
  z-index: -2;
  background: url('ref/cta-fragmented.png') center 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.1) brightness(1.45);
  opacity: .92;
}

.cta::after {
  z-index: -1;
  background: linear-gradient(0deg, #050505d9 0%, transparent 48%, #05050573 100%);
}

.cta__inner { position: relative; }

.cta__title {
  margin: 0 auto;
  max-width: 760px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: pretty;
  background: var(--metal-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__action { margin-top: 30px; }

/* --- footer --------------------------------------------------------------- */

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
}

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

.footer__mark {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer__tag,
.footer__legal {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--fg-muted);
}

.footer__legal { letter-spacing: normal; color: var(--fg-dim); }
.footer__links { display: contents; }
.footer__legal { justify-self: center; }
.footer__social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; color: var(--fg-muted); }
.footer__social svg { width: 14px; height: 14px; }
.footer__social { justify-self: end; }

/* ==========================================================================
   Responsive. The source artboard is fixed-width desktop (min-width:1100px);
   these breakpoints carry the same design down to tablet and phone.
   ========================================================================== */

@media (max-width: 1040px) {
  :root { --gutter: 32px; }

  .hero__title   { font-size: 46px; }
  .section__title { font-size: 34px; }
  .cta__title    { font-size: 40px; }
  .quote__text   { font-size: 27px; }
  .mission__figure { font-size: 112px; }

  /* stack the ecosystem: cards first, core mark last */
  .eco { flex-direction: column; }
  .eco__col { flex-direction: row; }
  .eco__core { order: 3; min-height: 260px; }

  .step, .step--reverse { flex-direction: column; gap: 32px; }
  .step__panel, .step__body { width: 100%; }

  .logos__row { gap: 40px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .section { padding: 64px var(--gutter); }
  .quote, .cta { padding: 80px var(--gutter); }

  .hero {
    --mobile-scene-h: clamp(380px, 62svh, 520px);
    height: calc(100svh - var(--nav-h));
    min-height: 700px;
    padding-bottom: 0;
  }
  .hero__scene {
    position: relative;
    inset: auto;
    height: var(--mobile-scene-h) !important;
    min-height: 0 !important;
  }
  .hero__scene canvas, .hero__poster img { transform: scale(1.06); transform-origin: 50% 44%; }
  .hero__scrim {
    height: calc(var(--mobile-scene-h) + 2px);
    min-height: 0;
    inset: 0 0 auto 0;
    background:
      linear-gradient(0deg, #050505 0%, #050505 10%, #050505b8 26%, transparent 50%),
      linear-gradient(180deg, #05050566 0%, transparent 16%);
  }
  .hero__status-left, .hero__status-right { display: none; }

  .hero__copy { position: absolute; bottom: 24px; padding: 0 var(--gutter); }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 15px; }
  .hero__sub br { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .hero__actions .btn-ghost { text-align: center; }

  .mission__figure { font-size: 84px; }
  .mission__copy { font-size: 18px; }

  .section__title { font-size: 28px; }
  .cta__title { font-size: 32px; }
  .quote__text { font-size: 21px; }
  .step__title { font-size: 23px; }

  .eco__col { flex-direction: column; }

  .cases { grid-template-columns: 1fr; }
  .case--tall { grid-row: auto; }
  .case--tall img { min-height: 300px; }

  .compare { grid-template-columns: 1fr; }
  .compare__vs { position: static; transform: none; justify-self: center; margin: -6px 0; }

  .logos__row { gap: 28px 36px; }

  .footer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__links { display: flex; width: 100%; justify-content: space-between; align-items: center; }
  .footer__legal { justify-self: auto; }

}

/* Placeholder shown when a local image fails to load. */
.asset-missing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 26px;
  padding: 6px 10px;
  border: 1px dashed var(--line-6);
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #101010 0 6px, #0b0b0b 6px 12px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--fg-dim);
  text-align: center;
}
.case .asset-missing { width: 100%; height: 100%; min-height: 200px; border-radius: 0; }
.eco__core .asset-missing { width: 74%; min-height: 160px; }
