/* LSL Logistics Network — "Suspended Order" redesign mock. Desktop canvas: 1440px. */
:root {
  --red: #3E6670;
  --mint: #7CC9A5;
  --mint-deep: #4FAE85;
  --red-deep: #2E525B;
  --black: #0E0E0E;
  --paper: #FFFFFF;
  --mist: #F4F4F2;
  --ink-2: #6E6E6B;
  --ink-3: #A8A8A4;
  --line: #E7E7E3;
  --sans: 'Inter Tight', 'Inter', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* ---------- shared ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 24px;
  font: 500 14px/1 var(--sans); letter-spacing: -0.005em;
  border: 0; cursor: pointer;
}
.btn span { font-size: 15px; }
.btn-black { background: var(--black); color: #fff; }
.btn-red { background: var(--red); color: #fff; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.label i {
  width: 9px; height: 13px; background: currentColor;
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
}
.label-light { color: #fff; }
.mono-sm { font: 400 11.5px/1.6 var(--mono); letter-spacing: 0.04em; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { position: relative; height: 900px; overflow: hidden; }
.nav {
  position: absolute; z-index: 10; inset: 0 0 auto 0;
  height: 96px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 220px 1fr auto; align-items: center;
}
.logo svg { display: block; height: 34px; width: auto; }
.nav-links { display: flex; gap: 44px; padding-left: 0; font-size: 14.5px; }
.nav-links a:hover { color: var(--red); }

.display {
  position: absolute; z-index: 1;
  font-weight: 500; letter-spacing: -0.062em; line-height: 0.8;
  font-size: 236px; color: var(--black); white-space: nowrap;
}
.display-top { left: 44px; top: 150px; }
.display-bottom { right: 50px; bottom: 74px; z-index: 3; }

.hero .container-svg {
  position: absolute; z-index: 2; left: 50%; top: 0;
  width: 1180px; height: 820px; transform: translateX(-50%);
}

.hero-left { position: absolute; z-index: 4; left: var(--gutter); top: 452px; }
.watch { display: block; width: 116px; height: 116px; margin-top: 40px; }
.watch svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.watch text { font: 500 9.5px var(--mono); letter-spacing: 0.18em; fill: var(--black); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-right { position: absolute; z-index: 4; right: var(--gutter); top: 128px; width: 230px; }
.proof-card {
  display: grid; grid-template-columns: 1fr 92px; gap: 0;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(0,0,0,.25);
  border: 1px solid var(--line);
}
.proof-text { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.proof-text svg { height: 12px; width: auto; }
.proof-text strong { font-size: 13.5px; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.proof-text span { font-size: 10.5px; line-height: 1.35; color: var(--ink-2); }
.proof-card img { width: 92px; height: 100%; object-fit: cover; object-position: 60% 30%; filter: saturate(.9); }

.stats { margin-top: 128px; text-align: right; display: grid; gap: 26px; }
.stats dt { font-size: 36px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats dd { font-size: 12px; color: var(--ink-2); margin-top: 6px; }

.hero-cta { position: absolute; z-index: 4; left: var(--gutter); bottom: 74px; height: 52px; padding: 0 28px; }

/* ---------- about ---------- */
.about {
  background: var(--red); color: #fff; text-align: center;
  padding: 150px var(--gutter) 160px;
  display: flex; flex-direction: column; align-items: center;
}
.statement {
  max-width: 1060px; margin: 30px 0 54px;
  font-size: 56px; font-weight: 500; line-height: 1.12; letter-spacing: -0.035em;
}
.fade-1 { opacity: 0.62; }
.fade-2 { opacity: 0.32; }

/* ---------- mission ---------- */
.mission { position: relative; padding: 96px var(--gutter) 40px; }
.mission-head { display: grid; grid-template-columns: 300px 300px 1fr; align-items: start; }
.mission-kicker { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.mission-copy { font-size: 20px; line-height: 1.4; letter-spacing: -0.015em; max-width: 520px; justify-self: end; }
.mission-copy em { font-style: italic; }
.mission .container-svg { display: block; width: 1328px; height: 760px; margin: 6px auto 0; }
.callout { font: 500 14px var(--sans); fill: var(--black); letter-spacing: -0.01em; }

/* ---------- process ---------- */
.process {
  position: relative; height: 860px; overflow: hidden;
  background: #2b2d30 url('img/stacks-person.jpg') center 78% / cover no-repeat;
}
.process::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.42) 0%, rgba(10,10,12,.10) 38%, rgba(10,10,12,0) 60%),
              linear-gradient(180deg, rgba(10,10,12,.30) 0%, rgba(10,10,12,0) 20%);
}
.process-label { position: absolute; z-index: 2; left: var(--gutter); top: 56px; }

.cards { position: absolute; z-index: 2; left: 120px; top: 150px; width: 380px; height: 620px; }
.card {
  position: absolute; left: 0; width: 360px; height: 470px;
  padding: 30px 32px; color: #fff; background: var(--red);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.card .num { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.card h3 { margin-top: 18px; font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.c1 { top: 0;    transform: rotate(3deg);    transform-origin: 0 0; }
.c2 { top: 52px; transform: rotate(-5deg);   transform-origin: 0 0; background: rgba(62,102,112,.9); }
.c3 { top: 104px; transform: rotate(-2.5deg); transform-origin: 0 0; }
.c4 {
  top: 158px; transform: rotate(-3.5deg); transform-origin: 0 0;
  background: rgba(62,102,112,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
}
.card-icon { width: 128px; height: 86px; margin: 48px auto 0; }
.c4 p { margin-top: auto; font-size: 16px; line-height: 1.38; letter-spacing: -0.01em; max-width: 280px; }

.rail {
  position: absolute; z-index: 2; right: 210px; top: 150px; height: 520px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.rail::before { content: ''; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 1px; background: rgba(255,255,255,.5); }
.rail li {
  position: relative; width: 28px; height: 28px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.rail li::after { content: ''; position: absolute; inset: 9px; background: #fff; }
.rail li.done { background: var(--red); border-color: var(--red); }

.chevrons { position: absolute; z-index: 2; right: 0; bottom: 0; width: 300px; height: 240px; }

/* ---------- services ---------- */
.services { padding: 120px var(--gutter) 130px; }
.services-head { display: grid; grid-template-columns: 1fr 760px; align-items: start; }
.services-head h2 { font-size: 52px; font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; margin-bottom: 32px; }
.svc-list { margin-top: 96px; border-bottom: 1px solid var(--line); }
.svc-list li {
  position: relative; height: 104px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 568px 1fr 40px; align-items: center;
  color: var(--ink-3);
}
.svc-name { font-size: 28px; font-weight: 500; letter-spacing: -0.035em; }
.tags { display: flex; gap: 10px; }
.tags em {
  font: 400 11px/1 var(--mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px;
}
.arrow { font-size: 18px; text-align: right; }
.svc-list li.active { color: var(--black); }
.svc-list li.active .tags em { border-color: #CFCFCB; }
.svc-photo {
  position: absolute; z-index: 2; left: 300px; top: -46px; width: 220px; height: 270px; object-fit: cover;
  transform: rotate(5deg); box-shadow: 0 30px 50px -24px rgba(0,0,0,.45);
}

/* ---------- track + reach ---------- */
.track {
  display: grid; grid-template-columns: 1fr 1fr; gap: 120px;
  padding: 110px var(--gutter) 130px; background: var(--mist);
}
.track h2 { font-size: 52px; font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; margin: 26px 0 44px; max-width: 560px; }
.awb label { display: block; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.awb-row { display: flex; }
.awb input {
  flex: 1; height: 60px; padding: 0 20px; border: 1px solid #DADAD6; border-right: 0; background: #fff;
  font: 400 22px var(--mono); letter-spacing: 0.06em; color: var(--black); outline: none;
}
.awb .btn { height: 60px; padding: 0 30px; }
.awb .mono-sm { margin-top: 14px; }
.reach { margin-top: 34px; border-top: 1px solid #DADAD6; }
.reach li {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline;
  padding: 17px 0; border-bottom: 1px solid #DADAD6;
}
.reach b { font: 500 13px var(--mono); color: var(--red); letter-spacing: 0.06em; }
.reach span { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.reach i { font: 400 11px var(--mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { position: relative; height: 760px; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #4FA6E3 0%, #7DC0EE 45%, #B7DDF5 100%); }
.cloud { position: absolute; background: #fff; border-radius: 50%; filter: blur(26px); opacity: .75; }
.c-a { width: 520px; height: 120px; left: 120px; top: 70px; }
.c-b { width: 380px; height: 90px; right: 160px; top: 40px; opacity: .6; }
.c-c { width: 300px; height: 70px; left: 760px; top: 210px; opacity: .5; }
.giant {
  position: absolute; z-index: 1; left: 34px; top: -46px;
  font-size: 430px; font-weight: 600; letter-spacing: -0.07em; line-height: 1; color: #fff;
}
.footer-stack { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.baseline {
  display: flex; justify-content: space-between; padding: 22px var(--gutter);
  background: var(--black); color: #9b9b97; font: 400 11.5px var(--mono); letter-spacing: 0.06em;
}

/* ---------- mobile-only pieces, hidden on desktop ---------- */
.menu-btn, .menu-panel, .container-svg-m, .callouts-m, .footer-stack-m, .mobile-bar { display: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .watch svg { animation: none; }
}

/* =====================================================================
   Phones and tablets (< 1024px): single-column layout.
   Desktop keeps the 1440px composition, scaled to the window by script.
   ===================================================================== */
@media (max-width: 1023px) {
  :root { --gutter: 20px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  /* nav + menu */
  .nav { height: 68px; grid-template-columns: auto 1fr auto; }
  .logo svg { height: 28px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    grid-column: 3; width: 44px; height: 44px; padding: 0 10px;
    background: var(--black); border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; height: 1.5px; background: #fff; transition: transform .25s ease; }
  .menu-open .menu-btn span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-panel:not([hidden]) {
    display: flex; flex-direction: column; position: absolute; z-index: 9; inset: 68px 0 auto 0;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .menu-panel a:not(.btn) { padding: 16px 0; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
  .menu-panel .btn { margin-top: 20px; justify-content: space-between; height: 52px; }

  /* hero */
  .hero { height: auto; padding: 92px var(--gutter) 36px; display: flex; flex-direction: column; }
  .display { position: relative; inset: auto; font-size: clamp(64px, 23vw, 200px); line-height: 0.82; }
  .display-top { left: -0.04em; }
  .hero .container-svg { display: none; }
  .hero .container-svg-m {
    display: block; position: relative; z-index: 2; height: auto;
    width: calc(100% + 2 * var(--gutter)); max-width: none; margin: -26% calc(-1 * var(--gutter)) 0;
  }
  .display-bottom { right: auto; bottom: auto; align-self: flex-end; margin-top: -13%; }
  .hero-left { position: static; display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
  .watch { margin-top: 0; width: 88px; height: 88px; }
  .hero-right { position: static; width: auto; margin-top: 28px; }
  .proof-card { grid-template-columns: 1fr 110px; }
  .proof-card img { width: 110px; }
  .stats {
    margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left;
  }
  .stats dt { font-size: 30px; }
  .stats dd { font-size: 11.5px; line-height: 1.3; }
  .hero-cta { position: static; margin-top: 28px; width: 100%; justify-content: space-between; }

  /* about */
  .about { padding: 88px var(--gutter) 96px; }
  .statement { font-size: clamp(30px, 7.6vw, 48px); line-height: 1.12; margin: 24px 0 40px; text-wrap: balance; }

  /* mission */
  .mission { padding: 72px var(--gutter) 56px; }
  .mission-head { grid-template-columns: 1fr; gap: 14px; }
  .mission-copy { justify-self: start; font-size: 19px; max-width: none; }
  .mission .container-svg { display: none; }
  .mission .container-svg-m { display: block; width: calc(100% + 2 * var(--gutter)); margin: 12px calc(-1 * var(--gutter)) 0; height: auto; }
  .callouts-m { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .callouts-m li {
    display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px;
    background: #fff; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25;
  }
  .callouts-m li::before { content: ''; flex: none; width: 12px; height: 12px; border: 1px solid var(--black); background: var(--red); }

  /* process */
  .process { height: auto; padding: 64px var(--gutter) 72px; background-position: 64% 72%; }
  .process-label { position: relative; left: 0; top: 0; z-index: 2; }
  .cards { position: relative; left: 0; top: 0; width: 100%; max-width: 380px; height: 560px; margin-top: 36px; }
  .card { width: 100%; height: 420px; padding: 24px 26px; }
  .card h3 { font-size: 40px; }
  .c1 { top: 0; transform: rotate(2deg); }
  .c2 { top: 44px; transform: rotate(-3deg); }
  .c3 { top: 88px; transform: rotate(-1.5deg); }
  .c4 { top: 132px; transform: rotate(-2deg); }
  .card-icon { margin-top: 32px; }
  .c4 p { font-size: 15px; }
  .rail { display: none; }
  .chevrons { width: 150px; height: 120px; }

  /* services */
  .services { padding: 80px var(--gutter) 88px; }
  .services-head { grid-template-columns: 1fr; gap: 22px; }
  .services-head h2 { font-size: clamp(32px, 8vw, 48px); margin-bottom: 24px; text-wrap: balance; }
  .svc-list { margin-top: 48px; }
  .svc-list li { height: auto; padding: 20px 0; grid-template-columns: minmax(0, 1fr) 28px; row-gap: 14px; }
  .svc-name { font-size: 22px; }
  .tags { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 8px; }
  .tags em { padding: 8px 12px; font-size: 10px; }
  .arrow { grid-column: 2; grid-row: 1; }
  .svc-photo { display: none; }

  /* track + reach */
  .track { grid-template-columns: 1fr; gap: 64px; padding: 80px var(--gutter) 88px; }
  .track h2 { font-size: clamp(32px, 8vw, 48px); margin: 22px 0 32px; }
  .awb input { min-width: 0; font-size: 18px; height: 56px; padding: 0 14px; }
  .awb .btn { height: 56px; padding: 0 20px; }
  .reach li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; padding: 15px 0; }
  .reach span { font-size: 17px; }
  .reach i { font-size: 10px; }

  /* footer */
  .footer { height: auto; }
  .footer-stack { display: none; }
  .footer-stack-m { display: block; position: relative; z-index: 2; width: 100%; height: auto; }
  .giant { left: 12px; top: -2.5vw; font-size: 46vw; }
  .c-a { width: 70%; left: 4%; top: 6%; }
  .c-b { width: 50%; right: 4%; top: 2%; }
  .c-c { display: none; }
  .baseline { flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px var(--gutter); }

  /* sticky quick actions */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 20; inset: auto 0 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--black);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px;
    font: 500 15px var(--sans); color: #fff;
  }
  .mobile-bar a.q { background: var(--red); }
}

@media (max-width: 380px) {
  .stats dt { font-size: 26px; }
  .callouts-m { grid-template-columns: 1fr; }
}


/* Grid children that hold text must be allowed to shrink below their content width. */
.track > *, .reach li > *, .awb, .awb-row { min-width: 0; }
@media (max-width: 1023px) {
  .awb .mono-sm { overflow-wrap: anywhere; }
  .reach i { white-space: nowrap; }
}

/* =====================================================================
   Interactive process cards: earlier steps stay as tabs above the
   active card; later steps wait below, hidden.
   ===================================================================== */
.cards { height: 616px; }
.card {
  top: calc((var(--i) - 1) * 44px); height: 440px; padding: 14px 30px 28px;
  display: flex; flex-direction: column;
  transform: rotate(var(--r)); transform-origin: 0 0;
  transition: opacity .25s ease, transform .32s cubic-bezier(.2,.7,.2,1);
}
.card[data-i="1"] { --i: 1; --r: 3deg; z-index: 1; }
.card[data-i="2"] { --i: 2; --r: -4deg; z-index: 2; background: #476F79; }
.card[data-i="3"] { --i: 3; --r: -2deg; z-index: 3; }
.card[data-i="4"] { --i: 4; --r: 2.5deg; z-index: 4; background: #476F79; }
.card[data-i="5"] { --i: 5; --r: -3deg; z-index: 5; }
.card.is-next { opacity: 0; transform: translateY(70px) rotate(var(--r)); pointer-events: none; }
.card-tab {
  display: block; width: 100%; height: 30px; padding: 0; text-align: left;
  background: none; border: 0; color: #fff; font: inherit; cursor: pointer;
}
.card.is-active .card-tab { cursor: default; }
.card .num { font-size: 22px; line-height: 30px; }
.card h3 { margin-top: 22px; }
.card-icon { width: 128px; height: 86px; margin: 40px auto 0; }
.card p { margin-top: auto; font-size: 16px; line-height: 1.38; letter-spacing: -0.01em; max-width: 280px; }
.card.is-past .card-tab:hover .num { text-decoration: underline; text-underline-offset: 4px; }

.rail li { width: auto; height: auto; padding: 0; background: none; border: 0; backdrop-filter: none; }
.rail li::after { content: none; }
.rail button {
  position: relative; display: block; width: 28px; height: 28px; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .3s ease, border-color .3s ease;
}
.rail button::after { content: ''; position: absolute; inset: 9px; background: #fff; }
.rail button.done { background: var(--red); border-color: var(--red); }
.rail button[aria-current="step"] { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }

.step-ctrl {
  position: absolute; z-index: 2; right: 186px; top: 712px;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.step-ctrl button {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); background: rgba(14,14,14,.35);
  color: #fff; font-size: 16px; cursor: pointer; backdrop-filter: blur(6px);
}
.step-ctrl button:hover { background: var(--red); border-color: var(--red); }
.step-count { font: 500 12px var(--mono); letter-spacing: .1em; min-width: 64px; text-align: center; }

/* =====================================================================
   Interactive services list: one open row, its own photo and summary.
   ===================================================================== */
.svc-list li { display: block; height: auto; padding: 0; transition: color .25s ease; }
.svc-head {
  display: grid; grid-template-columns: 568px 1fr 40px; align-items: center;
  width: 100%; height: 104px; padding: 0; margin: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.svc-list li:not(.active):hover { color: var(--ink-2); }
.svc-desc {
  margin: 0 0 0 568px; max-width: 520px; max-height: 0; overflow: hidden; opacity: 0;
  font-size: 16px; line-height: 1.45; color: var(--ink-2);
  transition: max-height .4s ease, opacity .3s ease, padding .4s ease;
}
.svc-list li.active .svc-desc { max-height: 90px; opacity: 1; padding-bottom: 28px; }
.arrow { transition: transform .3s ease; }
.svc-list li.active .arrow { transform: rotate(-45deg); }
.svc-photo {
  display: block; opacity: 0; pointer-events: none;
  transform: rotate(5deg) translateY(14px) scale(.96);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
.svc-list li.active .svc-photo { opacity: 1; transform: rotate(5deg); }

@media (max-width: 1023px) {
  .cards { height: 560px; }
  .card { top: calc((var(--i) - 1) * 40px); height: 400px; padding: 12px 24px 24px; }
  .card[data-i] { --r: 0deg; }
  .card[data-i="1"], .card[data-i="3"], .card[data-i="5"] { --r: -1.5deg; }
  .card[data-i="2"], .card[data-i="4"] { --r: 1.5deg; }
  .card-icon { margin-top: 28px; }
  .card p { font-size: 15px; }
  .step-ctrl { position: relative; right: auto; top: auto; margin-top: 24px; }

  .svc-head { grid-template-columns: minmax(0, 1fr) 28px; height: auto; padding: 20px 0; row-gap: 14px; }
  .svc-head .tags { grid-column: 1 / -1; grid-row: 2; }
  .svc-head .arrow { grid-column: 2; grid-row: 1; }
  .svc-desc { margin: 0; max-width: none; }
  .svc-list li.active .svc-desc { padding-bottom: 16px; }
  .svc-photo {
    position: static; display: none; width: 100%; height: 200px; object-fit: cover;
    transform: none; box-shadow: none;
  }
  .svc-list li.active .svc-photo { display: block; opacity: 1; transform: none; margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .svc-photo, .svc-desc, .arrow { transition: none; }
}

/* Only the active card shows its body; stacked cards show just their step number. */
.card:not(.is-active) h3, .card:not(.is-active) .card-icon, .card:not(.is-active) p { visibility: hidden; }
@media (min-width: 1024px) {
  .step-ctrl { right: auto; left: 120px; top: 790px; }
}

/* =====================================================================
   Client logo and hero motion
   ===================================================================== */
.logo img { display: block; height: 46px; width: auto; }
.nav { grid-template-columns: 240px 1fr auto; }
.proof-text svg { height: 18px; width: auto; }

/* The rig sways from the hoist line; the whole render sinks a little as the page scrolls. */
.hero .swing { transform-box: view-box; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-0.55deg); } 50% { transform: rotate(0.55deg); } }
.hero .container-svg { transform: translateX(-50%) translateY(var(--py, 0px)); }
.hero .container-svg-m { transform: translateY(calc(var(--py, 0px) * 0.5)); }
.display-top { transform: translateY(var(--ty, 0px)); }
.lens-c { will-change: auto; }
.still .hero .swing, .still .watch svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero .swing { animation: none; } }
@media (max-width: 1023px) {
  .logo img { height: 36px; }
  .nav { grid-template-columns: auto 1fr auto; }
}

/* The hero container stays anchored on scroll so it never slides into the hero's bottom edge. */
.hero .container-svg { transform: translateX(-50%); }
.hero .container-svg-m { transform: none; }
.display-top { transform: none; }

/* =====================================================================
   Scroll travel: the hero container rides above the red band and lands
   on the mission container. Positions come from the page script.
   ===================================================================== */
.hero { overflow-x: clip; overflow-y: visible; }
.about, .mission { position: relative; z-index: 1; }
.about { z-index: 0; }
.hero .container-svg, .hero .container-svg-m { z-index: 6; will-change: transform; }
.hero .container-svg {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) translateX(-50%) scale(var(--ts, 1));
}
.hero .container-svg-m { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ts, 1)); }
/* While the traveller is active, the mission's own container steps aside (its callouts stay). */
.travel-on .mission .swing { visibility: hidden; }

/* The red band passes in front of the travelling container: it slides behind the band
   and re-emerges below it, onto the mission section. */
.about { z-index: 7; }

/* Links painted on the footer container: ribs and frame must not swallow clicks. */
.footer svg rect, .footer svg polygon { pointer-events: none; }
.footer svg a.face-link, .footer svg a.face-link * { pointer-events: auto; cursor: pointer; }
.footer svg a.face-link:hover text { opacity: 1; text-decoration: underline; }
.footer svg a.face-link:focus-visible { outline: 2px solid #fff; }

/* =====================================================================
   Quote form
   ===================================================================== */
.quote {
  display: grid; grid-template-columns: 1fr 820px; gap: 80px;
  padding: 120px var(--gutter) 130px; background: var(--paper); border-top: 1px solid var(--line);
}
.quote h2 { margin: 26px 0 20px; font-size: 52px; font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; max-width: 440px; }
.quote-lede { font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 400px; }
.quote-points { margin-top: 40px; display: grid; gap: 14px; }
.quote-points li { display: flex; gap: 14px; align-items: baseline; font-size: 15px; line-height: 1.4; }
.quote-points li::before {
  content: ''; flex: none; width: 9px; height: 13px; background: var(--red);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%); transform: translateY(1px);
}
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.qf { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qf-wide { grid-column: 1 / -1; }
.qf > span { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.qf input, .qf select, .qf textarea {
  width: 100%; min-width: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #CFCFCB; border-radius: 0;
  background: transparent; color: var(--black); font: 400 18px var(--sans); letter-spacing: -0.01em; outline: none;
  transition: border-color .2s ease;
}
.qf select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--black) 50%) right 6px center / 7px 7px no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--black) 50%) right 0 center / 7px 7px no-repeat;
}
.qf textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.qf input::placeholder, .qf textarea::placeholder { color: var(--ink-3); }
.qf input:focus, .qf select:focus, .qf textarea:focus { border-bottom-color: var(--black); }
.qf input:focus-visible, .qf select:focus-visible, .qf textarea:focus-visible { outline: none; border-bottom: 2px solid var(--red); }
.qf-count { align-self: flex-end; font: 400 11px var(--mono); color: var(--ink-3); }
.qf-error > span { color: var(--red); }
.qf-error input, .qf-error select, .qf-error textarea { border-bottom: 2px solid var(--red); }
.qf-foot { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.qf-submit { height: 56px; padding: 0 30px; }
.qf-status { font-size: 14px; line-height: 1.45; max-width: 460px; }
.qf-status.is-error { color: var(--red); }
.qf-status.is-ok { color: var(--black); padding-left: 14px; border-left: 2px solid var(--red); }
@media (max-width: 1023px) {
  .quote { grid-template-columns: 1fr; gap: 48px; padding: 80px var(--gutter) 88px; }
  .quote h2 { font-size: clamp(32px, 8vw, 48px); }
  .qf-grid { grid-template-columns: 1fr; gap: 22px; }
  .qf input, .qf select, .qf textarea { font-size: 17px; }
  .qf-submit { width: 100%; justify-content: space-between; }
}

/* Service photo sits in the gap between the longest name and the tags column. */
@media (min-width: 1024px) {
  .svc-photo { left: 372px; top: -40px; width: 180px; height: 222px; }
}

/* =====================================================================
   Client palette: slate teal carries the brand fields (set through --red
   above); the logo's mint marks small accents.
   ===================================================================== */
.label i { background: var(--mint-deep); }
.label-light i { background: var(--mint); }
.quote-points li::before { background: var(--mint-deep); }
.rail button.done { background: var(--red); border-color: var(--mint); }
.rail button[aria-current="step"] { box-shadow: 0 0 0 4px rgba(124,201,165,.45); }
.svc-list li.active .arrow { color: var(--mint-deep); }
.reach b { color: var(--red); }
.fade-1 { opacity: 0.7; }
.fade-2 { opacity: 0.42; }
.qf-status.is-ok { border-left-color: var(--mint-deep); }
.step-ctrl button:hover { background: var(--red); border-color: var(--mint); }

/* Tint the process photo into the brand palette so its red containers do not fight the teal cards. */
.process { background-color: #2E525B; background-blend-mode: luminosity; }
.process::before {
  background: linear-gradient(90deg, rgba(14,30,34,.55) 0%, rgba(14,30,34,.18) 42%, rgba(14,30,34,.05) 70%),
              linear-gradient(180deg, rgba(14,30,34,.35) 0%, rgba(14,30,34,0) 22%);
}

/* Step cards stand off the tinted photo: opaque teal with a mint top edge. */
.card[data-i] { background: var(--red); box-shadow: inset 0 3px 0 var(--mint), 0 30px 60px -28px rgba(0,0,0,.6); }
.card[data-i="2"], .card[data-i="4"] { background: #476F79; }

/* Process photo back in full colour; the cards and rail carry the brand palette. */
.process { background-color: #2b2d30; background-blend-mode: normal; }
.process::before {
  background: linear-gradient(90deg, rgba(10,10,12,.42) 0%, rgba(10,10,12,.10) 38%, rgba(10,10,12,0) 60%),
              linear-gradient(180deg, rgba(10,10,12,.30) 0%, rgba(10,10,12,0) 20%);
}
