/* ========== TSL Group — Design System ========== */
:root {
  --tsl-red: #a21615;
  --tsl-red-deep: #7d0f0e;
  --tsl-red-bright: #c92221;
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --paper: #ffffff;
  --paper-warm: #ffffff;
  --cream: #ffffff;
  --muted: #6b6660;
  --line: rgba(13, 13, 13, 0.14);
  --line-strong: rgba(13, 13, 13, 0.35);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #d4772a;

  --f-display: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

::selection { background: var(--tsl-red); color: var(--paper); }

/* ========== Navigation ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-transform: none; }
.nav__logo { height: 22px; width: auto; display: block; }
.nav__brand-mark {
  width: 34px; height: 34px; border-radius: 2px;
  background: var(--tsl-red); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.02em;
}
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a { position: relative; padding: 4px 0; opacity: 0.85; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex; gap: 8px; align-items: center;
}

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }
}

/* ========== Hero ========== */
.hero {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.hero__visual {
  width: 100%;
  height: 100%;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Live ticker ========== */
.ticker {
  position: relative;
  background: #111;
  color: #FFD740;
  overflow: hidden;
  padding: 18px 0;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  font-family: "Courier New", "VT323", "JetBrains Mono", monospace;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}
.ticker::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.ticker__track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  width: max-content;
  text-shadow: 0 0 6px rgba(255, 215, 64, 0.5), 0 0 12px rgba(255, 215, 64, 0.2);
  will-change: transform;
}
.ticker__item {
  font-size: 15px;
  letter-spacing: 0.15em;
  display: inline-flex; gap: 18px; align-items: center;
  text-transform: uppercase;
}
.ticker__item .dot {
  width: 8px; height: 8px;
  border-radius: 0;
  background: #FFD740;
  box-shadow: 0 0 6px #FFD740;
}
.ticker__item .label {
  color: rgba(255, 215, 64, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}
/* ========== 3D model gallery ========== */
/* Four framed cards. One <canvas> per model with its own Three.js scene
   and OrbitControls — drag to rotate, scroll to zoom, auto-rotates when idle. */
.gallery {
  position: relative;
  background: var(--paper);
  padding: 120px 40px 140px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery__header {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.gallery__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.gallery__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.gallery__title .accent { color: var(--tsl-red); font-style: italic; }
.gallery__lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}

.gallery__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.model-frame {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}
.model-frame:hover { border-color: var(--line-strong); }

.model-frame__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}
.model-frame__canvas:active { cursor: grabbing; }

.model-frame__header {
  position: absolute;
  top: 20px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  pointer-events: none;
  z-index: 2;
}
.model-frame__num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.model-frame__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2px;
}
.model-frame__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tsl-red);
  padding: 4px 8px;
  border: 1px solid rgba(162, 22, 21, 0.35);
  border-radius: 2px;
  white-space: nowrap;
}

.model-frame__footer {
  position: absolute;
  bottom: 18px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.model-frame__status {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}
.model-frame__hint-icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--muted);
}

/* Loading state — subtle stripe pattern behind the model */
.model-frame:not(.is-loaded) .model-frame__canvas {
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(13, 13, 13, 0.025) 12px 13px
    ),
    var(--paper-warm);
}
.model-frame.is-error .model-frame__status { color: var(--tsl-red); }

@media (max-width: 900px) {
  .gallery { padding: 80px 20px 100px; }
  .gallery__header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  .model-frame { aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== Big-type intro ========== */
.intro {
  padding: 140px 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  max-width: 1600px;
  margin: 0 auto;
}
.intro__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.intro__label::before { content: "00 "; color: var(--tsl-red); margin-right: 6px; }

.intro__headline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.intro__headline .accent { color: var(--tsl-red); font-style: italic; font-weight: 400; }

.intro__body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
}
.intro__body p + p { margin-top: 20px; }

/* ========== Services (scroll-storytelling) ========== */
.services {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0 180px;
  position: relative;
}
.services__header {
  padding: 0 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  max-width: 1600px; margin: 0 auto;
}
.services__eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.services__eyebrow::before { content: "00 "; color: var(--tsl-red-bright); margin-right: 6px; }
.services__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.services__title .accent { color: var(--tsl-red-bright); font-style: italic; font-weight: 400; }

.service {
  padding: 80px 40px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
  transition: background 0.4s;
}
.service:hover { background: rgba(162, 22, 21, 0.04); }
.service__num {
  font-family: var(--f-display); font-weight: 400;
  font-size: 80px; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tsl-red-bright);
}
.service__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.service__meta {
  display: flex; flex-direction: column; gap: 18px;
}
.service__desc {
  font-size: 16px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
  margin-bottom: 8px;
}
.service__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px;
  padding-top: 20px; border-top: 1px solid var(--line-light);
}
.service__stat-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.service__stat-value {
  font-family: var(--f-display); font-weight: 500; font-size: 18px;
  letter-spacing: -0.01em;
}
.service__cta {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tsl-red-bright);
  align-self: start;
  width: fit-content;
  transition: gap 0.2s;
}
.service__cta:hover { gap: 18px; }

@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 20px; padding: 50px 20px; }
  .service__num { font-size: 56px; }
  .services__header { grid-template-columns: 1fr; padding: 0 20px 40px; }
}

/* ========== Stats strip ========== */
.stats {
  background: var(--tsl-red);
  color: var(--paper);
  padding: 100px 40px;
  border-top: 1px solid var(--tsl-red-deep);
}
.stats__inner { max-width: 1600px; margin: 0 auto; }
.stats__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}
.stats__label::before { content: "00 "; color: var(--paper); margin-right: 6px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}
.stat__number {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 8px;
}
.stat__number sup { font-size: 0.4em; vertical-align: super; font-weight: 400; }
.stat__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stats { padding: 60px 20px; }
}

/* ========== About ========== */
.about {
  padding: 140px 40px;
  background: var(--paper);
}
.about__inner { max-width: 1600px; margin: 0 auto; }
.about__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}
.about__label::before { content: "00 "; color: var(--tsl-red); margin-right: 6px; }

.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.about__headline {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.about__headline .accent { color: var(--tsl-red); font-style: italic; font-weight: 400; }
.about__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 18px;
  align-self: end;
}

.about__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
}
.about__tile {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: 4px;
}
.about__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.about__tile:hover img { transform: scale(1.05); }
.about__tile:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.about__tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.about__tile:nth-child(3) { grid-column: 3; grid-row: 1; }
.about__tile:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.about__tile-label {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper);
  padding: 6px 10px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 2px;
}

/* ========== Group of Companies ========== */
.group {
  background: var(--paper-warm);
  padding: 140px 40px;
  border-top: 1px solid var(--line);
}
.group__inner { max-width: 1600px; margin: 0 auto; }
.group__header { margin-bottom: 60px; }
.group__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 30px;
}
.group__label::before { content: "00 "; color: var(--tsl-red); margin-right: 6px; }
.group__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 900px;
}
.group__title .accent { color: var(--tsl-red); font-style: italic; font-weight: 400; }

.group__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.company {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 520px;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.company:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(13, 13, 13, 0.08); }
.company__img { height: 260px; overflow: hidden; background: var(--cream); }
.company__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.company:hover .company__img img { transform: scale(1.06); }
.company__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.company__index {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tsl-red); margin-bottom: 14px;
}
.company__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.company__desc {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 20px;
}
.company__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tsl-red);
  align-self: start;
  transition: gap 0.2s;
}
.company__link:hover { gap: 16px; }

@media (max-width: 900px) {
  .group__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .about__tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .about__tile:nth-child(2) { grid-column: 1; grid-row: 2; }
  .about__tile:nth-child(3) { grid-column: 2; grid-row: 2; }
  .about__tile:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .intro { padding: 60px 20px; }
  .intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .about { padding: 60px 20px; }
  .group { padding: 60px 20px; }
}

/* ========== Client logos ========== */
.clients {
  background: var(--paper);
  padding: 100px 40px;
  border-top: 1px solid var(--line);
}
.clients__inner { max-width: 1600px; margin: 0 auto; }
.clients__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.clients__label::before { content: "00 Trusted by"; color: var(--tsl-red); margin-right: 6px; }
.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: var(--f-display);
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  text-align: center;
}
.client__wordmark {
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.client:hover { color: var(--ink); background: rgba(162, 22, 21, 0.03); }
@media (max-width: 900px) {
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .clients { padding: 60px 20px; }
}

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 40px 40px;
  position: relative;
  overflow: hidden;
}
.footer__inner { max-width: 1600px; margin: 0 auto; position: relative; z-index: 2; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer__brand {
  font-family: var(--f-display); font-weight: 500;
  font-size: 42px; line-height: 0.95;
  letter-spacing: -0.03em;
}
.footer__brand .accent { color: var(--tsl-red-bright); font-style: italic; font-weight: 400; }
.footer__tag {
  margin-top: 20px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li a { font-size: 14px; opacity: 0.85; transition: opacity 0.2s, padding 0.2s; }
.footer__col li a:hover { opacity: 1; padding-left: 4px; color: var(--tsl-red-bright); }

.footer__wordmark {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(80px, 22vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  color: transparent;
  margin: 40px 0 -20px;
  user-select: none;
  pointer-events: none;
}
.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer { padding: 60px 20px 30px; }
}

/* ========== Utility ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== Marquee big-text section (novelty) ========== */
.marquee-band {
  background: var(--paper);
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-band__track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.marquee-band__track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-band__track .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--tsl-red); }
.marquee-band__track em { font-style: italic; color: var(--tsl-red); font-weight: 400; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Image-led logistics journey ========== */
.journey-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #ffffff;
}
.journey-stage__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  clip-path: inset(4% 8% 4% 8% round 8px);
  transform: scale(0.96);
  transition: opacity 0.7s var(--ease-out-expo), transform 1s var(--ease-out-expo), clip-path 1s var(--ease-out-expo);
}
.journey-stage__visual.is-active {
  opacity: 1;
  clip-path: inset(0 round 0);
  transform: scale(1);
}
.journey-stage__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 50%, transparent 38%, rgba(255,255,255,.28) 100%);
}
.journey-stage__visual img {
  width: min(70vw, 940px);
  height: min(70vh, 650px);
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(0, 12px, 0) scale(.97);
  will-change: transform;
}
.journey-stage__visual.is-active img { animation: visual-arrive 1.25s var(--ease-out-expo) both; }
@keyframes visual-arrive {
  0% { opacity: 0; transform: translate3d(34px, 28px, 0) scale(.91) rotate(-.6deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

.hero__network-visual {
  position: absolute;
  top: clamp(128px, 17vh, 190px);
  right: clamp(12px, 3vw, 56px);
  width: min(66vw, 1050px);
  z-index: 1 !important;
  opacity: 1;
  pointer-events: none;
  transform: translateX(3vw);
}
.hero__network-visual img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.04);
  animation: hero-network-arrive 1.4s var(--ease-out-expo) .15s both;
}
.hero > div:first-child,
.hero__bottom { z-index: 2; }
@keyframes hero-network-arrive {
  from { opacity: 0; transform: translate3d(56px, 24px, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 900px) {
  .journey-stage__visual img { width: 84vw; height: 56vh; }
  .hero__network-visual { top: 26vh; right: -18vw; width: 118vw; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-stage__visual,
  .journey-stage__visual img,
  .hero__network-visual img { animation: none; transition: none; transform: none; }
}

/* ========== Chapter ========== */
.chapter {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  pointer-events: none;
}
.chapter__content {
  max-width: 520px;
  pointer-events: auto;
}
.chapter__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tsl-red);
  display: block;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.chapter.in-view .chapter__num { opacity: 1; transform: none; }
.chapter__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.chapter.in-view .chapter__title { opacity: 1; transform: none; }
.chapter__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 400px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
.chapter.in-view .chapter__sub { opacity: 1; transform: none; }
.chapter__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}
.chapter.in-view .chapter__stat { opacity: 1; transform: none; }
.chapter__stat-value {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  color: var(--tsl-red);
  line-height: 1;
}
.chapter__stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero overlay on canvas */
.hero {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Bring sections above canvas */
.gallery,
.services,
.stats,
.about,
.group,
.clients,
.footer {
  position: relative;
  z-index: 1;
}

/* ========== Immersive experience refinement ========== */
:root {
  --paper: #ffffff;
  --paper-warm: #ffffff;
  --cream: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --page-gutter: clamp(20px, 3.2vw, 52px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  overscroll-behavior-y: none;
}

body.is-loading { overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--page-gutter);
  background: var(--ink);
  color: var(--paper);
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}
.is-ready .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark {
  margin-bottom: auto;
  font-family: var(--f-display);
  font-size: clamp(68px, 15vw, 220px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.07em;
}
.preloader__mark span { color: var(--tsl-red-bright); }
.preloader__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.preloader__bar { height: 1px; background: rgba(255, 255, 255, 0.18); }
.preloader__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--tsl-red-bright);
  transition: width 0.35s ease;
}

.experience-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 2px;
  pointer-events: none;
}
.experience-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tsl-red-bright);
  transform: scaleX(0);
  transform-origin: left center;
}

.nav {
  top: 14px;
  left: var(--page-gutter);
  right: var(--page-gutter);
  width: auto;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 40px rgba(13, 13, 13, 0.07);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: transform 0.5s var(--ease-out-expo), background 0.3s ease;
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__brand { min-height: 40px; gap: 0; }
.nav__logo {
  width: 96px;
  height: auto;
  aspect-ratio: 265 / 130;
  object-fit: contain;
}
.nav__brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out-expo);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__cta {
  min-height: 42px;
  padding: 10px 18px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav__cta:hover { background: var(--tsl-red); transform: translateY(-1px); }
.nav__menu { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--page-gutter) 44px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 0.4s ease, visibility 0.4s, transform 0.5s var(--ease-out-expo);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__links { display: grid; }
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--f-display);
  font-size: clamp(28px, 9vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.mobile-menu__links span,
.mobile-menu p {
  font-family: var(--f-mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}
.mobile-menu p { margin-top: 36px; }

.hero {
  min-height: 100svh;
  padding: clamp(124px, 17vh, 180px) var(--page-gutter) clamp(36px, 6vh, 72px);
  background:
    radial-gradient(circle at 78% 30%, rgba(162, 22, 21, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 28%, transparent 85%);
}
.hero > * { position: relative; z-index: 1; }
.hero__eyebrow-side { margin-left: auto; }
.hero__title {
  max-width: 1500px;
  font-size: clamp(58px, 10.5vw, 170px);
  text-wrap: balance;
  transform-origin: left top;
  will-change: transform;
}
.hero__index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--tsl-red);
  text-transform: uppercase;
}
.hero__bottom {
  grid-template-columns: minmax(260px, 1.2fr) 1fr auto;
  padding-top: clamp(28px, 5vh, 60px);
}
.hero__cta { min-height: 64px; }

.journey-stage { opacity: 0; transition: opacity 0.6s ease; }
.is-ready .journey-stage { opacity: 1; }

.scene-status {
  position: fixed;
  left: var(--page-gutter);
  bottom: 22px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.is-journey .scene-status { opacity: 1; transform: none; }
.scene-status__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tsl-red-bright);
  box-shadow: 0 0 0 5px rgba(201, 34, 33, 0.12);
}

.journey-rail {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 9px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translate(18px, -50%);
  transition: opacity 0.35s ease, visibility 0.35s, transform 0.45s var(--ease-out-expo);
}
.is-journey .journey-rail { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.journey-rail__label,
.journey-rail__hint {
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.journey-rail__steps { display: grid; gap: 7px; }
.journey-rail__steps a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.journey-rail__steps a:hover,
.journey-rail__steps a.is-active {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.08);
}

.chapter {
  min-height: 100svh;
  height: auto;
  padding: 18vh max(74px, var(--page-gutter)) 12vh var(--page-gutter);
  align-items: center;
  isolation: isolate;
}
.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 48%);
}
.chapter--right { justify-content: flex-end; }
.chapter--right::before { background: linear-gradient(270deg, rgba(255, 255, 255, 0.32), transparent 48%); }
.chapter__content {
  width: min(100%, 500px);
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 3px;
  background: var(--surface-glass);
  box-shadow: 0 24px 80px rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.chapter__title { text-wrap: balance; }
.chapter__stat {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.ticker,
.marquee-band,
.intro { position: relative; z-index: 2; }
.ticker__track,
.marquee-band__track { will-change: transform; }
.ticker:hover .ticker__track { opacity: 0.85; }

.intro,
.about,
.group,
.clients { background: var(--paper); }
.group { background: var(--paper-warm); }
.services { overflow: clip; }
.service { position: relative; }
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 34, 33, 0.08), transparent 45%);
  opacity: 0;
  transform: scaleX(0.8);
  transform-origin: left;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.service:hover::before { opacity: 1; transform: scaleX(1); }
.service > * { position: relative; z-index: 1; }
.company,
.about__tile { transform: translateZ(0); }
.company:focus-visible,
.hero__cta:focus-visible,
.nav a:focus-visible,
.journey-rail a:focus-visible {
  outline: 2px solid var(--tsl-red-bright);
  outline-offset: 4px;
}

.reveal {
  transition-timing-function: var(--ease-out-expo);
  transition-duration: 1s;
}

@media (max-width: 900px) {
  .nav {
    top: 10px;
    left: 12px;
    right: 12px;
    padding: 7px 7px 7px 12px;
  }
  .nav__brand { font-size: 16px; }
  .nav__logo { width: 82px; }
  .nav__cta { display: none; }
  .nav__menu {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border-radius: 50%;
    background: var(--ink);
  }
  .nav__menu span {
    width: 17px;
    height: 1px;
    background: var(--paper);
    transition: transform 0.3s ease;
  }
  .nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero {
    padding: 112px 20px 32px;
    min-height: 100svh;
  }
  .hero__eyebrow { gap: 12px; margin-bottom: 8vh; }
  .hero__eyebrow-side { display: none; }
  .hero__title { font-size: clamp(54px, 17vw, 112px); line-height: 0.88; }
  .hero__bottom {
    grid-template-columns: 1fr auto;
    gap: 24px 16px;
    margin-top: 8vh;
    padding-top: 24px;
  }
  .hero__lede-wrap { grid-column: 1 / -1; }
  .hero__meta { font-size: 9px; }
  .hero__cta { justify-self: end; padding: 12px 14px 12px 18px; min-height: 54px; font-size: 13px; }
  .hero__cta .arrow { width: 30px; height: 30px; }

  .chapter,
  .chapter--right {
    min-height: 100svh;
    padding: 48vh 16px 24px;
    align-items: flex-end;
    justify-content: stretch;
  }
  .chapter::before,
  .chapter--right::before {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), transparent 62%);
  }
  .chapter__content {
    max-width: none;
    padding: 22px;
    backdrop-filter: blur(16px) saturate(110%);
  }
  .chapter__title { font-size: clamp(34px, 10.5vw, 54px); margin-bottom: 12px; }
  .chapter__sub { margin-bottom: 18px; }
  .chapter__stat-value { font-size: 30px; }

  .journey-rail {
    top: auto;
    right: 50%;
    bottom: 12px;
    flex-direction: row;
    padding: 6px 8px;
    transform: translate(50%, 16px);
  }
  .is-journey .journey-rail { transform: translate(50%, 0); }
  .journey-rail__label,
  .journey-rail__hint { display: none; }
  .journey-rail__steps { display: flex; gap: 3px; }
  .journey-rail__steps a { width: 34px; height: 34px; }
  .scene-status { display: none; }

  .services { padding-top: 80px; padding-bottom: 100px; }
  .service { padding-top: 54px; padding-bottom: 54px; }
  .service__stats { gap: 18px 14px; }
  .company { min-height: 0; }
}

/* Portrait phones: give the hero artwork its own visual zone and keep controls clear of safe areas. */
@media (max-width: 700px) and (orientation: portrait) {
  .nav {
    top: max(10px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
  }
  .hero {
    min-height: 100svh;
    padding: max(96px, calc(env(safe-area-inset-top) + 76px)) 20px max(24px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: auto minmax(180px, 1fr) auto;
    gap: 12px;
  }
  .hero__title { font-size: clamp(50px, 15.5vw, 82px); }
  .hero__eyebrow { margin-bottom: 5vh; }
  .hero__network-visual {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: min(35svh, 320px);
    display: grid;
    place-items: center;
    align-self: center;
    transform: none;
  }
  .hero__network-visual img {
    width: min(122%, 720px);
    max-width: none;
  }
  .hero__bottom {
    grid-row: 3;
    margin-top: 0;
    padding-top: 18px;
    gap: 18px;
  }
  .hero__lede { font-size: 15px; }
  .hero__cta {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px 12px 20px;
  }
  .chapter,
  .chapter--right {
    min-height: 100svh;
    padding: 46svh 16px max(20px, env(safe-area-inset-bottom));
  }
  .chapter__content {
    max-height: min(48svh, 440px);
    overflow-y: auto;
    padding: 20px;
  }
  .journey-stage__visual img {
    width: 92vw;
    height: 52svh;
    transform: translate3d(0, -5vh, 0) scale(.96);
  }
  .journey-rail {
    bottom: max(10px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }
  .journey-rail__steps { max-width: 100%; }
  .journey-rail__steps a { width: 32px; height: 32px; }
}

@media (max-width: 560px) {
  .hero__eyebrow { font-size: 8px; letter-spacing: 0.1em; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__meta { display: none; }
  .hero__cta { justify-self: start; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__grid > div { padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
  .about__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -20px; padding-right: 20px; }
  .about__tile,
  .about__tile:nth-child(n) { flex: 0 0 82vw; height: 420px; scroll-snap-align: start; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (hover: none) and (pointer: coarse) {
  .company:hover,
  .about__tile:hover img,
  .hero__cta:hover { transform: none; }
  a, button { -webkit-tap-highlight-color: transparent; }
}

body.menu-open { overflow: hidden; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .site-grain { display: none; }
}

