:root {
  --black: #111614;
  --white: #f1f3ee;
  --gold: #e7c848;
  --gold-soft: #f1d969;
  --gold-dark: #b89d2f;
  --surface: #171d1b;
  --surface-raised: #202725;
  --surface-light: #e7e9e3;
  --text-light: #eef0eb;
  --text-muted: rgba(238, 240, 235, 0.66);
  --text-dark: #151a18;
  --text-muted-dark: rgba(21, 26, 24, 0.62);
  --line: rgba(238, 240, 235, 0.16);
  --line-gold: rgba(21, 26, 24, 0.18);
  --page-gutter: clamp(20px, 5vw, 80px);
  --content-width: 1440px;
  --radius-large: 16px;
  --radius-control: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--black);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track { background: var(--black); }
html::-webkit-scrollbar-thumb { background: var(--gold); }
html.is-loading { overflow: hidden; }

body {
  overflow-x: clip;
  background: var(--black);
  color: var(--text-light);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
}

body > main { view-transition-name: page-main; }
.brand-mark { view-transition-name: brand-mark; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111614;
  color: #eef0eb;
  transition: transform 720ms var(--ease-out), visibility 720ms;
}

.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/hero-logistics-v2.webp") center / cover no-repeat;
  opacity: 0.12;
  transform: scale(1.04);
}

.site-loader-inner {
  position: relative;
  width: min(360px, calc(100vw - 48px));
}

.site-loader-track {
  height: 2px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(238, 240, 235, 0.15);
}

.site-loader-track::after {
  content: "";
  display: block;
  width: 48%;
  height: 100%;
  background: var(--gold);
  animation: yjh-loader 900ms var(--ease-out) infinite;
}

.site-loader.is-leaving {
  transform: translateY(-100%);
  visibility: hidden;
}

@keyframes yjh-loader {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--gold);
  transform: translateY(102%);
  transition: transform 520ms var(--ease-out);
}

.page-curtain.is-active { transform: translateY(0); }

.site-header {
  min-height: 76px;
  padding: 12px var(--page-gutter);
  background: rgba(17, 22, 20, 0.84);
  border-bottom: 1px solid rgba(238, 240, 235, 0.12);
  color: var(--text-light);
  backdrop-filter: blur(18px) saturate(120%);
  transition: min-height 280ms var(--ease-out), background 280ms ease, border-color 280ms ease;
}

.site-header.is-compact {
  min-height: 58px;
  padding: 7px var(--page-gutter);
  background: rgba(17, 22, 20, 0.96);
  border-bottom-color: rgba(231, 200, 72, 0.26);
}

.brand { gap: 12px; }

.brand-mark,
.site-header.is-compact .brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.brand strong,
.site-header.is-compact .brand-name {
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.site-header.is-compact .brand-sub { display: none; }

.site-nav,
.site-header.is-compact .site-nav {
  gap: clamp(13px, 1.45vw, 24px);
  color: var(--text-muted);
  font-size: 12px;
}

.site-nav a {
  position: relative;
  border: 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current { color: var(--text-light); border: 0; }

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

.lang-toggle,
.site-header.is-compact .lang-toggle {
  min-height: 34px;
  padding: 6px 10px;
  border-color: var(--line);
  border-radius: 10px;
  background: rgba(238, 240, 235, 0.05);
  color: var(--text-light);
}

.lang-dropdown {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.lang-option { color: var(--text-light); }

.menu-toggle {
  border-color: var(--line);
  border-radius: 10px;
}

.menu-toggle span:not(.sr-only) { background: var(--gold); }

.section-full {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: clamp(96px, 11vw, 172px) var(--page-gutter);
  overflow: clip;
}

.section-wrap {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(28px, 7vw, 110px);
  margin-bottom: clamp(42px, 7vw, 88px);
}

.section-heading h2,
.section-black h2,
.section-gold h2 {
  max-width: 850px;
  margin: 0;
  color: inherit;
  font-size: clamp(2.25rem, 5.6vw, 5.75rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: inherit;
  opacity: 0.68;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.85;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  padding: clamp(150px, 18vh, 210px) var(--page-gutter) clamp(54px, 8vh, 92px);
  background: #111614;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media { overflow: hidden; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045) translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
  transition: transform 220ms ease-out;
}

.hero-shade { background: rgba(8, 12, 11, 0.56); }

.hero-shade::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: rgba(8, 12, 11, 0.42);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--content-width), 100%);
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: clamp(42px, 10vw, 160px);
  margin: 0 auto;
}

.hero-copy-wrap { max-width: 820px; }

.hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--text-light);
  font-size: clamp(3rem, 7vw, 7.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin: clamp(24px, 4vw, 42px) 0 0;
  color: rgba(238, 240, 235, 0.78);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn,
.quote-btn,
.cta-secondary,
.tms-key-btn {
  min-height: 48px;
  border-radius: var(--radius-control);
  font-weight: 740;
  transition: transform 220ms var(--ease-out), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn { padding: 13px 20px; }

.btn-primary,
.quote-btn {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--black);
}

.btn-secondary,
.cta-secondary {
  border: 1px solid rgba(238, 240, 235, 0.42);
  background: rgba(17, 22, 20, 0.32);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.btn:hover,
.quote-btn:hover:not(:disabled),
.cta-secondary:hover,
.tms-key-btn:hover {
  transform: translateY(-3px);
}

.hero-services {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(238, 240, 235, 0.38);
  list-style: none;
}

.hero-services li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(238, 240, 235, 0.2);
  color: rgba(238, 240, 235, 0.82);
  font-size: 13px;
}

.hero-scroll-cue {
  position: absolute;
  right: var(--page-gutter);
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(238, 240, 235, 0.55);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 58px;
  background: var(--gold);
  animation: yjh-scroll-line 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes yjh-scroll-line {
  0%, 100% { transform: scaleY(0.2); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.services-section {
  background: var(--surface-light);
  color: var(--text-dark);
}

.services-section .eyebrow { color: #89751e; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.service-card,
.service-visual {
  min-height: 250px;
  border: 1px solid rgba(21, 26, 24, 0.13);
  border-radius: var(--radius-large);
}

.service-visual { margin: 0; }

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3.5vw, 48px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.36);
  color: var(--text-dark);
  transition: transform 360ms var(--ease-out), background 360ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.7);
}

.service-card:nth-of-type(1) { grid-column: span 7; min-height: 340px; }
.service-card:nth-of-type(2) { grid-column: span 5; min-height: 340px; }
.service-card:nth-of-type(n + 3) { grid-column: span 4; }

.service-card .card-index {
  color: rgba(21, 26, 24, 0.52);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.service-card h3,
.section-black .service-card h3 {
  max-width: 420px;
  margin: 42px 0 10px;
  color: var(--text-dark);
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.16;
}

.service-card p,
.section-black .service-card p {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 14px;
  line-height: 1.75;
}

.service-visual {
  grid-column: span 12;
  min-height: 470px;
  overflow: hidden;
  background: var(--surface);
}

.service-visual img,
.advantage-media img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
  transition: transform 420ms var(--ease-out);
}

.services-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 2px 2px;
  color: var(--text-muted-dark);
  font-size: 12px;
}

.services-note::after {
  content: "";
  width: min(360px, 30vw);
  height: 1px;
  background: rgba(21, 26, 24, 0.2);
}

.advantages-section {
  background: var(--black);
  color: var(--text-light);
}

.advantage-band {
  display: grid;
  width: min(var(--content-width), 100%);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(42px, 8vw, 130px);
  margin: 0 auto;
}

.advantage-copy { min-width: 0; }

.advantage-copy h2 {
  margin: 0 0 28px;
  color: var(--text-light);
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.advantage-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
}

.advantage-media {
  position: relative;
  height: clamp(390px, 48vw, 680px);
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.advantage-media::after {
  content: "Ocean / Air / Land";
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(17, 22, 20, 0.78);
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.advantage-list {
  display: block;
  align-self: center;
  border-top: 1px solid var(--line);
}

.advantage-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 6px 20px;
  padding: 28px 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.advantage-list span {
  grid-row: span 2;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.advantage-list strong {
  color: var(--text-light);
  font-size: clamp(18px, 2vw, 27px);
}

.advantage-list p,
.section-black .advantage-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.routes-section {
  background: var(--surface-light);
  color: var(--text-dark);
}

.routes-section .eyebrow { color: #89751e; }

.route-table {
  border: 0;
  border-top: 1px solid rgba(21, 26, 24, 0.24);
  border-radius: 0;
}

.route-row,
.route-head,
.section-gold .route-row {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(21, 26, 24, 0.16);
  transition: background 240ms ease, padding 240ms var(--ease-out);
}

.route-row:not(.route-head):hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.46);
}

.route-row span,
.section-gold .route-row span {
  padding: 22px 18px;
  border-right: 0;
  color: var(--text-muted-dark);
  font-size: clamp(13px, 1.15vw, 16px);
}

.route-row span:first-child { color: var(--text-dark); }

.route-head span,
.section-gold .route-head span {
  color: #786718;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-section {
  background: var(--gold);
  color: var(--text-dark);
}

.process-section .eyebrow { color: rgba(21, 26, 24, 0.64); }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(21, 26, 24, 0.35);
}

.process-list li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 70px clamp(18px, 2.5vw, 38px) 30px;
  border: 0;
  border-right: 1px solid rgba(21, 26, 24, 0.28);
  border-radius: 0;
  background: transparent;
}

.process-list li:last-child { border-right: 0; }

.process-list li::before {
  top: 26px;
  left: clamp(18px, 2.5vw, 38px);
  color: rgba(21, 26, 24, 0.45);
  font-size: 12px;
}

.process-list li:hover { transform: none; background: rgba(255, 255, 255, 0.16); }

.process-list strong {
  color: var(--text-dark);
  font-size: clamp(19px, 2vw, 28px);
}

.process-list span,
.section-gold .process-list span {
  margin-top: 12px;
  color: var(--text-muted-dark);
  font-size: 13px;
  line-height: 1.7;
}

.about-section {
  background: var(--surface);
  color: var(--text-light);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
}

.about-media {
  height: clamp(460px, 58vw, 760px);
  overflow: hidden;
  border-radius: var(--radius-large);
}

.about-content .section-heading {
  display: block;
  margin-bottom: 46px;
}

.about-content .section-heading p:not(.eyebrow) { margin-top: 24px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-card {
  display: grid;
  grid-template-columns: 48px 0.45fr 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.about-card:hover { transform: none; }

.about-card .about-num {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
}

.about-card h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 18px;
}

.about-card p,
.section-black .about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-section {
  min-height: auto;
  padding: clamp(82px, 10vw, 130px) var(--page-gutter) 34px;
  background: #0d1210;
  color: var(--text-light);
}

.footer-inner {
  position: relative;
  width: min(var(--content-width), 100%);
  padding: 0;
}

.footer-wordmark {
  margin: 0 0 clamp(54px, 9vw, 120px);
  color: var(--text-light);
  font-size: clamp(3.3rem, 12vw, 12rem);
  font-weight: 850;
  line-height: 0.74;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.footer-main {
  align-items: flex-end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-logo { align-items: center; }

.footer-mark {
  display: block;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.footer-logo strong { color: var(--text-light); }
.footer-logo p { color: var(--text-muted); }

.footer-top {
  padding: 12px 16px;
  border-color: var(--line);
  border-radius: var(--radius-control);
  color: var(--text-light);
}

.footer-top:hover,
.footer-top:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.footer-media-list { gap: 12px; }

.footer-media-item {
  border-color: var(--line);
  border-radius: var(--radius-large);
  background: var(--surface-raised);
}

.footer-legal {
  padding-top: 24px;
  border-top-color: transparent;
  color: var(--text-muted);
}

.footer-filing-link { color: var(--text-muted); }

/* Shared online-tool layout */
.quote-page {
  min-height: 100svh;
  padding-top: 76px;
  background: var(--surface-light);
  color: var(--text-dark);
}

.quote-page .site-header { background: rgba(17, 22, 20, 0.95); }

.quote-main {
  display: grid;
  width: min(1320px, 100%);
  max-width: none;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  column-gap: clamp(34px, 6vw, 92px);
  row-gap: 16px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) var(--page-gutter) 72px;
}

.quote-hero {
  position: sticky;
  top: 120px;
  grid-column: 1;
  grid-row: 1 / span 10;
  align-self: start;
  margin: 0;
}

.quote-hero::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 30px;
  background: var(--gold-dark);
}

.quote-hero .eyebrow { color: #89751e; }

.quote-hero h1 {
  color: var(--text-dark);
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.quote-hero p {
  max-width: 430px;
  margin-top: 20px;
  color: var(--text-muted-dark);
  font-size: 15px;
  line-height: 1.85;
}

.tms-key-row,
.quote-tabs,
.quote-panel,
.quote-main > .quote-form,
.quote-main > .result-card,
.quote-footer {
  grid-column: 2;
}

.tms-key-row {
  margin: 0 0 16px;
  border-color: rgba(21, 26, 24, 0.16);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.42);
}

.tms-key-btn {
  border-color: #8a7620;
  background: transparent;
  color: #6f5e11;
}

.tms-key-state { color: var(--text-muted-dark); }

.quote-tabs {
  margin: 0 0 16px;
  border-color: rgba(21, 26, 24, 0.16);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.36);
}

.quote-tab { color: var(--text-muted-dark); border-radius: 7px; }
.quote-tab:hover,
.quote-tab:focus-visible { color: var(--text-dark); }
.quote-tab.is-active { background: var(--text-dark); color: var(--text-light); }

.quote-panel.is-active { display: grid; gap: 18px; }

.quote-form,
.result-card,
.quote-recent {
  border: 1px solid rgba(21, 26, 24, 0.15);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.55);
}

.quote-form { padding: clamp(20px, 3vw, 34px); }

.form-field label { color: var(--text-dark); }

.form-field select,
.form-field input {
  min-height: 48px;
  border-color: rgba(21, 26, 24, 0.18);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
}

.form-field select:focus,
.form-field input:focus {
  border-color: #8a7620;
  box-shadow: 0 0 0 3px rgba(184, 157, 47, 0.14);
}

.form-field select option { background: var(--white); color: var(--text-dark); }

.quote-btn { color: var(--text-dark); }

.result-card {
  min-height: 150px;
  margin: 0;
  padding: clamp(20px, 3vw, 34px);
  color: var(--text-dark);
  transition: min-height 320ms var(--ease-out), background 320ms ease;
}

.result-card[aria-busy="true"] { background: rgba(255, 255, 255, 0.76); }

.result-card h2,
.result-card h3,
.quote-result-price,
.result-price,
.quote-page .product-meta strong,
.quote-page .report-table th,
.quote-page .competitor-price,
.quote-page .common-words span {
  color: #6f5e11;
}

.result-empty,
.result-meta,
.quote-result-meta,
.result-note,
.quote-page .product-meta p,
.quote-page .competitor-meta,
.quote-page .common-words {
  color: var(--text-muted-dark);
}

.quote-result-item,
.quote-recent-item {
  border-color: rgba(21, 26, 24, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-dark);
}

.quote-result-item,
.tracking-event,
.quote-page .competitor-item,
.quote-page .report-table tr,
.quote-page .term-tag {
  animation: yjh-result-in 520ms var(--ease-out) both;
  animation-delay: var(--result-delay, 0ms);
}

@keyframes yjh-result-in {
  from { opacity: 0; transform: translateY(16px); }
}

.quote-formula,
.tracking-timeline,
.quote-page .product-meta,
.quote-page .competitor-item,
.quote-page .report-table th,
.quote-page .report-table td {
  border-color: rgba(21, 26, 24, 0.14);
}

.quote-formula summary,
.tracking-timeline h4,
.quote-page .term-tag,
.quote-page .competitor-link {
  color: #6f5e11;
}

.tracking-event { border-left-color: var(--gold-dark); }

.quote-recent { padding: 24px; }

.quote-footer {
  margin-top: 16px;
  border-top-color: rgba(21, 26, 24, 0.16);
}

.quote-footer a { color: #6f5e11; }

.quote-page .upload-zone {
  min-height: 260px;
  border-color: rgba(21, 26, 24, 0.22);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.5);
}

.quote-page .upload-zone:hover,
.quote-page .upload-zone.is-dragover {
  border-color: #8a7620;
  background: rgba(231, 200, 72, 0.11);
}

.quote-page .upload-hint,
.quote-page .competitor-title,
.quote-page .report-table td,
.quote-page .verdict-box p {
  color: var(--text-dark);
}

.quote-page .upload-preview {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
}

.quote-page .term-tag {
  border-radius: 7px;
  background: rgba(184, 157, 47, 0.13);
}

.quote-page .verdict-box {
  border-left-color: var(--gold-dark);
  background: rgba(184, 157, 47, 0.1);
}

.quote-page .competitor-link,
.quote-page .cta-secondary {
  border-color: #8a7620;
  background: transparent;
  color: #6f5e11;
}

.quote-page .competitor-link:hover,
.quote-page .cta-secondary:hover {
  background: var(--text-dark);
  color: var(--text-light);
}

.progress-shell {
  display: grid;
  gap: 22px;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-page .progress-steps li {
  position: relative;
  padding: 28px 10px 10px 0;
  border-top: 2px solid rgba(21, 26, 24, 0.16);
  color: var(--text-muted-dark);
}

.quote-page .progress-steps li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-dark);
}

.quote-page .progress-steps li.is-active { color: var(--text-dark); }

.quote-page .progress-steps li.is-active::before {
  width: 100%;
  animation: yjh-indeterminate 1.6s ease-in-out infinite;
}

.quote-page .progress-steps li.is-done::before { width: 100%; }

@keyframes yjh-indeterminate {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.result-skeleton {
  display: grid;
  gap: 12px;
}

.skeleton-line,
.skeleton-block,
.skeleton-card {
  position: relative;
  overflow: hidden;
  background: rgba(21, 26, 24, 0.1);
}

.skeleton-line { width: 72%; height: 12px; border-radius: 4px; }
.skeleton-line.is-short { width: 38%; }
.skeleton-block { height: 84px; border-radius: 10px; }
.skeleton-card { height: 104px; border-radius: 10px; }

.skeleton-line::after,
.skeleton-block::after,
.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-100%);
  animation: yjh-shimmer 1.4s ease-in-out infinite;
}

@keyframes yjh-shimmer { to { transform: translateX(100%); } }

@media (prefers-color-scheme: light) {
  :root { color-scheme: light; }
}

@media (max-width: 1100px) {
  .site-nav { gap: 12px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr); gap: 44px; }
  .advantage-band { grid-template-columns: 1fr 0.82fr; gap: 54px; }
  .about-layout { gap: 54px; }
}

@media (max-width: 900px) {
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-services { display: none; }
  .hero h1 { max-width: 720px; }
  .service-card:nth-of-type(n) { grid-column: span 6; min-height: 280px; }
  .service-card:nth-of-type(1) { grid-column: span 12; }
  .advantage-band,
  .about-layout { grid-template-columns: 1fr; }
  .advantage-list { align-self: auto; }
  .advantage-media { height: 520px; }
  .about-media { height: 560px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li { border-bottom: 1px solid rgba(21, 26, 24, 0.28); }
  .quote-main { grid-template-columns: 1fr; }
  .quote-hero { position: static; grid-column: 1; grid-row: auto; }
  .tms-key-row,
  .quote-tabs,
  .quote-panel,
  .quote-main > .quote-form,
  .quote-main > .result-card,
  .quote-footer { grid-column: 1; }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-compact { min-height: 64px; padding: 10px 20px; }
  .brand small { display: none; }
  .site-nav {
    top: 64px;
    right: 12px;
    left: 12px;
    width: auto;
    height: auto;
    max-height: calc(100svh - 76px);
    padding: 18px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: rgba(17, 22, 20, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 280ms var(--ease-out), visibility 220ms;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a { padding: 11px 4px; }
  .lang-wrap { width: 100%; }
  .lang-toggle { width: 100%; justify-content: space-between; }
  .lang-dropdown { position: static; width: 100%; margin-top: 8px; }
  .hero { min-height: 92svh; padding-top: 130px; }
  .hero-media img { object-position: 61% center; }
  .hero-shade { background: rgba(8, 12, 11, 0.66); }
  .hero-scroll-cue { display: none; }
  .footer-wordmark { white-space: normal; }
  .route-row,
  .route-head { grid-template-columns: 0.8fr 1.2fr; }
  .route-row span:nth-child(3) { display: none; }
  .about-card { grid-template-columns: 36px 0.42fr 1fr; }
  .quote-page { padding-top: 64px; }
}

@media (max-width: 580px) {
  .section-full { padding-top: 86px; padding-bottom: 86px; }
  .hero { padding-top: 128px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .hero-copy { line-height: 1.7; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .service-card:nth-of-type(n),
  .service-card:nth-of-type(1) { grid-column: span 12; min-height: 230px; }
  .service-visual { min-height: 330px; }
  .advantage-media,
  .about-media { height: 390px; }
  .advantage-list div { grid-template-columns: 54px 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 220px; border-right: 0; }
  .about-card { grid-template-columns: 34px 1fr; }
  .about-card p { grid-column: 2; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-top { margin-top: 20px; }
  .route-row,
  .route-head { grid-template-columns: 1fr; }
  .route-row span { padding: 8px 12px; }
  .route-row span:nth-child(2) { padding-bottom: 18px; }
  .route-head { display: none; }
  .quote-main { padding-top: 44px; }
  .tms-key-row { align-items: stretch; flex-direction: column; }
  .tms-key-state { text-align: left; }
  .progress-steps { grid-template-columns: 1fr; }
  .quote-page .progress-steps li { padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .hero-media img,
  .service-visual img,
  .advantage-media img,
  .about-media img { transform: none; }
}

/* Immersive logistics journey V2.1 */

:root {
  --journey-bg: #0d1210;
  --journey-surface: #171d1a;
  --journey-surface-2: #222a26;
  --journey-line: rgba(235, 238, 231, 0.16);
  --journey-text: #ecefe9;
  --journey-muted: rgba(236, 239, 233, 0.66);
  --journey-yellow: #e7c848;
  --z-header: 1200;
  --z-widget: 9000;
  --z-dialog: 20000;
  --z-loader: 2147483000;
}

body {
  background: var(--journey-bg);
  color: var(--journey-text);
}

.journey-main {
  overflow: clip;
  background: var(--journey-bg);
}

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

.journey-main h2 {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--journey-text);
  font-size: clamp(2.45rem, 5.6vw, 5.8rem);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.journey-main h3 { color: var(--journey-text); }

.site-header { z-index: var(--z-header); }
.lang-modal { z-index: var(--z-dialog); }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  color: var(--journey-text);
  pointer-events: auto;
  visibility: visible;
  transform: none;
  transition: visibility 0s linear 0s;
}

.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.25%;
  opacity: 1;
  background-color: #111714;
  background-image:
    linear-gradient(90deg, transparent 0 8%, rgba(236, 239, 233, 0.07) 8% 8.6%, transparent 8.6% 91.4%, rgba(236, 239, 233, 0.07) 91.4% 92%, transparent 92%),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(236, 239, 233, 0.045) 12% 12.6%);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 233, 0.09);
  transition: transform 860ms var(--ease-out);
  will-change: transform;
}

.site-loader::before { left: 0; transform: translate3d(0, 0, 0); }
.site-loader::after { right: 0; transform: translate3d(0, 0, 0); }

.site-loader-inner {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100vw - 48px));
  opacity: 1;
  transition: opacity 280ms ease, transform 620ms var(--ease-out);
}

.site-loader-track {
  position: relative;
  height: 34px;
  margin-top: 28px;
  overflow: visible;
  background: linear-gradient(var(--journey-yellow), var(--journey-yellow)) center / 100% 2px no-repeat;
}

.site-loader-track::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 58px;
  height: 20px;
  border: 1px solid rgba(13, 18, 16, 0.4);
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(13, 18, 16, 0.18) 13px 14px),
    var(--journey-yellow);
  animation: yjh-container-route 1.6s var(--ease-out) infinite;
}

.site-loader-track::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--journey-yellow);
  animation: yjh-route-scan 1.6s ease-in-out infinite;
  transform-origin: left;
}

.site-loader.is-opening::before { transform: translate3d(-101%, 0, 0); }
.site-loader.is-opening::after { transform: translate3d(101%, 0, 0); }
.site-loader.is-opening .site-loader-inner { opacity: 0; transform: scale(0.96); }
.site-loader.is-dormant { visibility: hidden; pointer-events: none; transition-delay: 0s; }
.site-loader.is-closing { visibility: visible; pointer-events: auto; }
.site-loader.is-closing .site-loader-inner { animation: yjh-loader-copy-in 420ms var(--ease-out) both; }
.site-loader.is-arrival .site-loader-inner { transform: scale(0.98); }

.page-curtain { display: none !important; }

@keyframes yjh-container-route {
  0% { transform: translate3d(-12%, 0, 0); }
  70%, 100% { transform: translate3d(800%, 0, 0); }
}

@keyframes yjh-route-scan {
  0% { transform: scaleX(0); opacity: 0.45; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.15; }
}

@keyframes yjh-loader-copy-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.hero-journey {
  position: relative;
  min-height: 165dvh;
  background: var(--journey-bg);
  view-timeline-name: --hero-journey;
  view-timeline-axis: block;
}

.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: clip;
  background:
    linear-gradient(115deg, rgba(13, 18, 16, 0.98) 0 38%, rgba(13, 18, 16, 0.18) 66%, rgba(13, 18, 16, 0.62) 100%),
    #111714;
}

.hero-geometry {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.hero-door {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 27%;
  border: 1px solid rgba(236, 239, 233, 0.16);
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, transparent 0 15%, rgba(236, 239, 233, 0.055) 15% 15.7%),
    #27302b;
  box-shadow: inset 0 0 0 10px rgba(13, 18, 16, 0.12);
  animation-duration: 1ms;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-door-left {
  right: 27.5%;
  transform-origin: right center;
  animation-name: yjh-hero-door-left;
}

.hero-door-right {
  right: 0;
  transform-origin: left center;
  animation-name: yjh-hero-door-right;
}

.hero-container-stack {
  position: absolute;
  right: 4vw;
  bottom: 9vh;
  width: min(54vw, 860px);
  height: 54vh;
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: yjh-stack-depth 1ms linear both;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-container-stack span {
  position: absolute;
  width: 56%;
  height: 23%;
  border: 1px solid rgba(236, 239, 233, 0.2);
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 16%, rgba(236, 239, 233, 0.08) 16% 16.7%),
    var(--journey-surface-2);
  box-shadow: 0 34px 70px rgba(3, 7, 5, 0.22);
}

.hero-container-stack span:nth-child(1) { right: 4%; bottom: 0; }
.hero-container-stack span:nth-child(2) { right: 42%; bottom: 0; background-color: #313a35; }
.hero-container-stack span:nth-child(3) { right: 8%; bottom: 25%; background-color: #303a35; }
.hero-container-stack span:nth-child(4) { right: 46%; bottom: 25%; background-color: #1c2420; }
.hero-container-stack span:nth-child(5) { right: 12%; bottom: 50%; background-color: #3b433d; }

.hero-rail {
  position: absolute;
  right: -8vw;
  bottom: 6vh;
  width: 74vw;
  height: 2px;
  background: var(--journey-yellow);
  transform: rotate(-6deg);
  transform-origin: right center;
  animation: yjh-hero-rail 1ms linear both;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-rail span {
  position: absolute;
  top: -7px;
  left: 34%;
  width: 48px;
  height: 16px;
  border-radius: 4px;
  background: var(--journey-yellow);
}

.hero-crane {
  position: absolute;
  top: 12vh;
  right: 8vw;
  width: 46vw;
  height: 38vh;
  opacity: 0.48;
  border-top: 2px solid rgba(236, 239, 233, 0.4);
  border-right: 2px solid rgba(236, 239, 233, 0.4);
  transform: skewX(-12deg);
}

.hero-crane span {
  position: absolute;
  top: 0;
  width: 2px;
  height: 68%;
  background: rgba(236, 239, 233, 0.32);
}

.hero-crane span:first-child { left: 25%; }
.hero-crane span:last-child { left: 62%; height: 94%; }

.hero-copy-wrap {
  position: absolute;
  z-index: 3;
  top: clamp(132px, 18vh, 190px);
  left: var(--page-gutter);
  width: min(760px, calc(100vw - var(--page-gutter) - var(--page-gutter)));
  max-width: 52vw;
  animation: yjh-hero-copy-shift 1ms linear both;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-journey h1 {
  max-width: 760px;
  margin: 0;
  color: var(--journey-text);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 820;
  line-height: 0.91;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-journey .hero-copy {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(236, 239, 233, 0.76);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
}

@keyframes yjh-hero-door-left {
  from { transform: translate3d(0, 0, 100px) rotateY(0); }
  to { transform: translate3d(-20vw, 0, -40px) rotateY(9deg); }
}

@keyframes yjh-hero-door-right {
  from { transform: translate3d(0, 0, 90px) rotateY(0); }
  to { transform: translate3d(20vw, 0, -60px) rotateY(-9deg); }
}

@keyframes yjh-stack-depth {
  from { transform: translate3d(12vw, 8vh, -120px) rotateY(-12deg) rotateX(3deg) scale(0.82); }
  to { transform: translate3d(-1vw, -3vh, 80px) rotateY(-5deg) rotateX(1deg) scale(1.06); }
}

@keyframes yjh-hero-rail {
  from { transform: rotate(-6deg) scaleX(0.45); }
  to { transform: rotate(-2deg) scaleX(1); }
}

@keyframes yjh-hero-copy-shift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  to { transform: translate3d(-1.5vw, -8vh, 0) scale(0.84); opacity: 0.32; }
}

.journey-heading {
  display: block;
  width: min(760px, 100%);
  margin: 0;
}

.journey-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--journey-muted);
  font-size: 16px;
  line-height: 1.8;
}

.services-journey {
  position: relative;
  min-height: 640dvh;
  background: #101613;
  view-timeline-name: --services-journey;
  view-timeline-axis: block;
}

.services-sticky {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: clip;
  padding: clamp(90px, 11vh, 130px) var(--page-gutter) 5vh;
}

.services-sticky .journey-heading {
  position: relative;
  z-index: 3;
  width: min(620px, 42vw);
}

.services-sticky .journey-heading h2 { font-size: clamp(2.4rem, 4.6vw, 5rem); }

.service-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-track {
  position: absolute;
  top: 31vh;
  left: 0;
  display: flex;
  width: max-content;
  gap: clamp(18px, 2vw, 32px);
  padding: 0 var(--page-gutter) 0 42vw;
  animation: yjh-service-pan 1ms linear both;
  animation-timeline: --services-journey;
  animation-range: entry 100% exit 0%;
  will-change: transform;
}

.service-unit {
  --unit-accent: #2b3530;
  position: relative;
  flex: 0 0 min(64vw, 960px);
  height: 61dvh;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(236, 239, 233, 0.17);
  border-radius: 12px;
  outline: none;
  background: var(--journey-surface);
  box-shadow: 0 36px 90px rgba(3, 7, 5, 0.26);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: border-color 260ms ease, transform 320ms var(--ease-out), box-shadow 320ms ease;
}

.service-unit-air { --unit-accent: #35413b; flex-basis: min(56vw, 840px); }
.service-unit-commerce { --unit-accent: #262f2b; flex-basis: min(68vw, 1020px); }
.service-unit-customs { --unit-accent: #3a3e34; flex-basis: min(58vw, 870px); }
.service-unit-warehouse { --unit-accent: #26332f; flex-basis: min(66vw, 990px); }
.service-unit-supply { --unit-accent: #343b35; flex-basis: min(62vw, 930px); }

.service-unit:hover,
.service-unit:focus-within,
.service-unit:focus-visible,
.service-unit.is-current {
  border-color: rgba(231, 200, 72, 0.66);
  box-shadow: 0 42px 100px rgba(3, 7, 5, 0.34), inset 0 0 0 1px rgba(231, 200, 72, 0.12);
}

.service-shape {
  position: absolute;
  inset: 7% 5% 9% 38%;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(236, 239, 233, 0.08) 12% 12.7%),
    var(--unit-accent);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 233, 0.16);
  transform: translateZ(30px) skewY(-2deg);
  transition: transform 640ms var(--ease-out), inset 640ms var(--ease-out), opacity 360ms ease;
}

.service-shape::before,
.service-shape::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(236, 239, 233, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 16, 0.48);
}

.service-shape::before { inset: 10% 8% 58% 46%; }
.service-shape::after { inset: 58% 52% 8% 8%; }

.service-shape span {
  position: absolute;
  left: 8%;
  height: 2px;
  background: rgba(231, 200, 72, 0.72);
  transform-origin: left;
  transition: transform 620ms var(--ease-out);
}

.service-shape span:nth-child(1) { top: 26%; width: 58%; }
.service-shape span:nth-child(2) { top: 52%; width: 78%; }
.service-shape span:nth-child(3) { top: 76%; width: 42%; }

.service-unit-air .service-shape { inset: 12% 4% 6% 32%; transform: translateZ(34px) skewY(3deg); }
.service-unit-commerce .service-shape { inset: 5% 8% 18% 42%; transform: translateZ(32px) rotate(-2deg); }
.service-unit-customs .service-shape { inset: 14% 6% 5% 36%; transform: translateZ(36px) skewX(-3deg); }
.service-unit-warehouse .service-shape { inset: 8% 3% 12% 46%; transform: translateZ(28px) rotate(2deg); }
.service-unit-supply .service-shape { inset: 6% 8% 7% 33%; transform: translateZ(30px) skewY(-3deg); }

.service-summary {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 5%;
  width: min(39%, 360px);
  transform: translate3d(var(--label-x, 0), -50%, 70px);
  transition: transform 480ms var(--ease-out), opacity 320ms ease;
}

.service-summary h3 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-summary p {
  margin: 24px 0 0;
  color: var(--journey-muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-detail {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: 5%;
  bottom: 8%;
  display: flex;
  width: 49%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 42px);
  border-radius: 10px;
  background: rgba(13, 18, 16, 0.94);
  opacity: 0;
  clip-path: inset(0 0 0 100% round 10px);
  transform: translate3d(32px, 0, 90px);
  transition: clip-path 520ms var(--ease-out), opacity 260ms ease, transform 520ms var(--ease-out);
  pointer-events: none;
}

.service-detail dl { display: grid; gap: 18px; margin: 0; }
.service-detail dl > div { display: grid; grid-template-columns: minmax(92px, 0.34fr) 1fr; gap: 18px; }
.service-detail dt { color: var(--journey-yellow); font-size: 12px; font-weight: 780; }
.service-detail dd { margin: 0; color: rgba(236, 239, 233, 0.78); font-size: 13px; line-height: 1.65; }
.service-detail a { width: fit-content; color: var(--journey-text); font-weight: 760; text-decoration: underline; text-decoration-color: var(--journey-yellow); text-underline-offset: 6px; pointer-events: auto; }

@media (hover: hover) and (pointer: fine) {
  .service-unit:hover .service-detail,
  .service-unit:focus-within .service-detail,
  .service-unit:focus-visible .service-detail {
    opacity: 1;
    clip-path: inset(0 round 10px);
    transform: translate3d(0, 0, 90px);
    pointer-events: auto;
  }

  .service-unit:hover .service-shape,
  .service-unit:focus-within .service-shape,
  .service-unit:focus-visible .service-shape {
    inset: 12% 45% 12% 27%;
    opacity: 0.46;
    transform: translateZ(16px) skewY(0);
  }

  .service-unit:hover .service-summary,
  .service-unit:focus-within .service-summary,
  .service-unit:focus-visible .service-summary { transform: translate3d(var(--label-x, 0), -50%, 70px) scale(0.94); }
}

@keyframes yjh-service-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100% + 100vw - var(--page-gutter)), 0, 0); }
}

.coordination-section {
  position: relative;
  padding: clamp(110px, 13vw, 190px) var(--page-gutter);
  background: #0d1210;
}

.coordination-shell {
  display: grid;
  width: min(var(--content-width), 100%);
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(54px, 9vw, 150px);
  margin: 0 auto;
}

.coordination-visual {
  position: sticky;
  top: 12vh;
  height: 76dvh;
  overflow: hidden;
  border-radius: 12px;
  background: var(--journey-surface);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 233, 0.14);
}

.coordination-stack {
  position: absolute;
  inset: 10% 10% 22%;
  transform: translateY(var(--active-shift, 0%)) rotate(-3deg);
  transition: transform 800ms var(--ease-out);
}

.coordination-stack span {
  position: absolute;
  width: 72%;
  height: 24%;
  border: 1px solid rgba(236, 239, 233, 0.16);
  border-radius: 10px;
  background: repeating-linear-gradient(90deg, #2a332e 0 15%, #323b36 15% 15.8%);
  box-shadow: 0 24px 50px rgba(3, 7, 5, 0.22);
}

.coordination-stack span:nth-child(1) { top: 0; left: 6%; }
.coordination-stack span:nth-child(2) { top: 24%; left: 22%; }
.coordination-stack span:nth-child(3) { top: 48%; left: 2%; }
.coordination-stack span:nth-child(4) { top: 72%; left: 18%; }

.coordination-route {
  position: absolute;
  right: 9%;
  bottom: 12%;
  left: 9%;
  height: 2px;
  background: rgba(236, 239, 233, 0.14);
  transform: rotate(-9deg);
}

.coordination-route span {
  display: block;
  width: var(--active-route, 25%);
  height: 100%;
  background: var(--journey-yellow);
  transition: width 760ms var(--ease-out);
}

.coordination-scan {
  position: absolute;
  top: var(--active-scan, 12%);
  right: 0;
  left: 0;
  height: 1px;
  background: var(--journey-yellow);
  box-shadow: 0 0 0 1px rgba(231, 200, 72, 0.05);
  transition: top 760ms var(--ease-out);
}

.coordination-copy > header {
  max-width: 700px;
  padding-top: 5vh;
}

.coordination-copy > header p {
  margin: 28px 0 0;
  color: var(--journey-muted);
  line-height: 1.8;
}

.coordination-list { margin-top: 12vh; }

.coordination-item {
  position: relative;
  display: grid;
  min-height: 67dvh;
  align-content: center;
  padding-left: clamp(24px, 4vw, 68px);
  opacity: 0.34;
  outline: none;
  transition: opacity 360ms ease, transform 520ms var(--ease-out);
}

.coordination-item::before {
  content: "";
  position: absolute;
  top: 30%;
  bottom: 30%;
  left: 0;
  width: 3px;
  background: var(--journey-yellow);
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 280ms ease, transform 520ms var(--ease-out);
}

.coordination-item.is-current,
.coordination-item:hover,
.coordination-item:focus-visible { opacity: 1; transform: translateX(10px); }
.coordination-item.is-current::before,
.coordination-item:hover::before,
.coordination-item:focus-visible::before { opacity: 1; transform: scaleY(1); }
.coordination-item h3 { max-width: 620px; margin: 0; font-size: clamp(2rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -0.05em; }
.coordination-item p { max-width: 560px; margin: 24px 0 0; color: var(--journey-muted); font-size: 16px; line-height: 1.8; }

.dispatch-section {
  padding: clamp(110px, 13vw, 190px) var(--page-gutter);
  background: #121815;
}

.dispatch-section .journey-heading { margin-bottom: clamp(54px, 7vw, 96px); }
.dispatch-list { display: grid; gap: 16px; }

.dispatch-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border-radius: 12px;
  outline: none;
  background: #19201d;
  box-shadow: inset 0 0 0 1px rgba(236, 239, 233, 0.13);
  transition: background 320ms ease, box-shadow 320ms ease, transform 420ms var(--ease-out);
}

.dispatch-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--journey-yellow);
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 260ms ease, transform 520ms var(--ease-out);
}

.dispatch-item:hover,
.dispatch-item:focus-visible,
.dispatch-item.is-current { background: #202824; box-shadow: inset 0 0 0 1px rgba(231, 200, 72, 0.24); }
.dispatch-item:hover::before,
.dispatch-item:focus-visible::before,
.dispatch-item.is-current::before { opacity: 1; transform: scaleY(1); }

.dispatch-summary {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.95fr;
  gap: clamp(24px, 5vw, 78px);
}

.dispatch-summary > div { display: grid; align-content: start; gap: 13px; }
.dispatch-summary span,
.dispatch-detail span { color: var(--journey-muted); font-size: 11px; font-weight: 760; }
.dispatch-summary strong { color: var(--journey-text); font-size: clamp(1.2rem, 2vw, 2.25rem); line-height: 1.25; }

.dispatch-detail {
  position: absolute;
  right: clamp(28px, 4vw, 54px);
  bottom: clamp(28px, 4vw, 46px);
  left: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 300ms ease, transform 480ms var(--ease-out);
  pointer-events: none;
}

.dispatch-detail p { max-width: 560px; margin: 9px 0 0; color: rgba(236, 239, 233, 0.72); font-size: 14px; line-height: 1.65; }

@media (hover: hover) and (pointer: fine) {
  .dispatch-item:hover .dispatch-detail,
  .dispatch-item:focus-visible .dispatch-detail,
  .dispatch-item:focus-within .dispatch-detail { opacity: 1; transform: translateY(0); }
}

.transit-section {
  padding: clamp(120px, 14vw, 210px) var(--page-gutter);
  background: #0d1210;
  view-timeline-name: --transit-journey;
  view-timeline-axis: block;
}

.transit-shell {
  position: relative;
  width: min(1180px, 100%);
  margin: 12vh auto 0;
}

.transit-line {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 2px;
  overflow: hidden;
  background: rgba(236, 239, 233, 0.12);
  transform: rotate(4deg);
}

.transit-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--journey-yellow);
  transform: scaleY(0);
  transform-origin: top;
  animation: yjh-transit-progress 1ms linear both;
  animation-timeline: --transit-journey;
  animation-range: entry 30% exit 70%;
}

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

.transit-list li {
  position: relative;
  display: grid;
  width: 42%;
  min-height: 54dvh;
  align-content: center;
  opacity: 0.28;
  transition: opacity 320ms ease, transform 520ms var(--ease-out);
}

.transit-list li:nth-child(even) { margin-left: auto; }
.transit-list li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -21%;
  width: 18%;
  height: 2px;
  background: var(--journey-line);
}
.transit-list li:nth-child(even)::after { right: auto; left: -21%; }
.transit-list li.is-current { opacity: 1; transform: translateY(-8px); }
.transit-list strong { color: var(--journey-text); font-size: clamp(2rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -0.05em; }
.transit-list span { max-width: 520px; margin-top: 24px; color: var(--journey-muted); font-size: 16px; line-height: 1.8; }

@keyframes yjh-transit-progress { to { transform: scaleY(1); } }

.delivery-section {
  position: relative;
  min-height: 150dvh;
  overflow: hidden;
  background: #111714;
  view-timeline-name: --delivery-journey;
  view-timeline-axis: block;
}

.delivery-geometry {
  position: absolute;
  inset: 0;
  perspective: 1200px;
}

.delivery-geometry span {
  position: absolute;
  width: 42vw;
  height: 22vh;
  border: 1px solid rgba(236, 239, 233, 0.16);
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, transparent 0 14%, rgba(236, 239, 233, 0.07) 14% 14.7%),
    #27302b;
  box-shadow: 0 30px 70px rgba(3, 7, 5, 0.26);
  animation: yjh-delivery-stack 1ms linear both;
  animation-timeline: --delivery-journey;
  animation-range: entry 100% exit 0%;
}

.delivery-geometry span:nth-child(1) { top: 10%; right: -8%; --dx: -18vw; --dy: 4vh; }
.delivery-geometry span:nth-child(2) { top: 32%; right: 12%; --dx: -10vw; --dy: -2vh; background-color: #343d38; }
.delivery-geometry span:nth-child(3) { top: 54%; right: -4%; --dx: -22vw; --dy: -6vh; background-color: #202824; }
.delivery-geometry span:nth-child(4) { top: 20%; left: -18%; --dx: 16vw; --dy: 8vh; background-color: #303934; }
.delivery-geometry span:nth-child(5) { top: 62%; left: -10%; --dx: 20vw; --dy: -8vh; background-color: #1b231f; }
.delivery-geometry span:nth-child(6) { bottom: -8%; left: 28%; --dx: 0; --dy: -16vh; background-color: #3a413b; }

.delivery-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 150dvh;
  grid-template-columns: 0.9fr 1.1fr;
  align-content: center;
  gap: clamp(48px, 10vw, 160px);
  padding: 16vh 0;
}

.delivery-content header { align-self: center; }
.delivery-content header p { max-width: 560px; margin: 28px 0 0; color: var(--journey-muted); font-size: 17px; line-height: 1.8; }

.delivery-values {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-content: center;
  gap: 20px;
}

.delivery-values article {
  min-height: 210px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 12px;
  background: rgba(13, 18, 16, 0.82);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 233, 0.14);
}

.delivery-values article:first-child { grid-row: span 2; min-height: 440px; align-content: end; display: grid; }
.delivery-values h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 3.5rem); letter-spacing: -0.04em; }
.delivery-values p { margin: 18px 0 0; color: var(--journey-muted); line-height: 1.75; }

@keyframes yjh-delivery-stack {
  from { transform: translate3d(0, 18vh, -140px) rotateY(-7deg) scale(0.78); opacity: 0.24; }
  to { transform: translate3d(var(--dx), var(--dy), 40px) rotateY(0) scale(1.08); opacity: 0.92; }
}

.journey-main .footer-section {
  min-height: 0;
  padding: clamp(72px, 9vw, 120px) var(--page-gutter) 34px;
  background: #0a0f0d;
}

.journey-main .footer-inner { min-height: 0; }
.journey-main .footer-main { margin: 0; padding-bottom: 40px; border-bottom: 1px solid var(--journey-line); }
.journey-main .footer-media-list { margin-top: 30px; }
.journey-main .footer-legal { margin-top: 30px; }

.quote-reference-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 13px;
  line-height: 1.6;
}

.quote-reference-status:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin: 0 9px 3px 0;
  background: var(--gold-dark);
  animation: yjh-reference-pulse 800ms ease-in-out infinite alternate;
}

.quote-reference-status.is-error { color: #9d342c; }

@keyframes yjh-reference-pulse { to { transform: scaleX(1.8); opacity: 0.42; } }

@media (max-width: 1100px) {
  .site-nav { gap: 12px; font-size: 11px; }
  .services-sticky .journey-heading { width: 50vw; }
  .service-unit { flex-basis: 72vw; }
  .coordination-shell { grid-template-columns: 0.85fr 1.15fr; gap: 54px; }
}

@media (max-width: 780px) {
  .journey-main h2 { font-size: clamp(2.25rem, 11vw, 4rem); }

  .hero-journey { min-height: 128dvh; }
  .hero-stage { min-height: 100dvh; }
  .hero-copy-wrap {
    top: 112px;
    left: 20px;
    width: calc(100vw - 40px);
    max-width: none;
  }
  .hero-journey h1 { max-width: 92vw; font-size: clamp(3rem, 15vw, 5.4rem); }
  .hero-journey .hero-copy { max-width: 88vw; margin-top: 22px; font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { width: auto; min-height: 46px; }
  .hero-door { top: 38%; bottom: 5%; width: 44%; }
  .hero-door-left { right: 44.5%; }
  .hero-door-right { right: 0; }
  .hero-container-stack { right: -18vw; bottom: 7vh; width: 100vw; height: 44vh; opacity: 0.78; }
  .hero-crane { top: 40vh; right: -18vw; width: 88vw; height: 28vh; }
  .hero-rail { width: 120vw; bottom: 5vh; }

  .services-journey { min-height: auto; padding: 100px 20px; }
  .services-sticky { position: relative; min-height: 0; overflow: visible; padding: 0; }
  .services-sticky .journey-heading { width: 100%; }
  .service-viewport { position: relative; inset: auto; overflow: visible; margin-top: 64px; }
  .service-track {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    width: 100%;
    gap: 20px;
    padding: 0;
    animation: none;
    transform: none !important;
  }
  .service-unit,
  .service-unit-air,
  .service-unit-commerce,
  .service-unit-customs,
  .service-unit-warehouse,
  .service-unit-supply {
    width: 100%;
    min-height: 620px;
    height: 76dvh;
  }
  .service-shape,
  .service-unit-air .service-shape,
  .service-unit-commerce .service-shape,
  .service-unit-customs .service-shape,
  .service-unit-warehouse .service-shape,
  .service-unit-supply .service-shape { inset: 5% 5% 52%; transform: none; }
  .service-summary { top: 47%; left: 6%; width: 88%; transform: none; }
  .service-summary h3 { font-size: clamp(2.2rem, 12vw, 4rem); }
  .service-summary p { margin-top: 16px; font-size: 14px; }
  .service-detail {
    top: auto;
    right: 5%;
    bottom: 4%;
    left: 5%;
    width: auto;
    height: 42%;
    padding: 20px;
    opacity: 0;
    clip-path: inset(16% 0 0 round 10px);
    transform: translateY(16px);
  }
  .service-detail dl { gap: 11px; }
  .service-detail dl > div { grid-template-columns: 82px 1fr; gap: 11px; }
  .service-detail dt { font-size: 10px; }
  .service-detail dd { font-size: 11px; line-height: 1.5; }
  .service-unit.is-current .service-detail { opacity: 1; clip-path: inset(0 round 10px); transform: translateY(0); pointer-events: auto; }
  .service-unit.is-current .service-summary { opacity: 0.24; transform: translateY(-16px); }

  .coordination-section { padding: 100px 20px; }
  .coordination-shell { display: block; }
  .coordination-visual { position: relative; top: auto; height: 48dvh; min-height: 360px; }
  .coordination-copy > header { padding-top: 68px; }
  .coordination-list { margin-top: 48px; }
  .coordination-item { min-height: 56dvh; padding-left: 24px; opacity: 0.36; }
  .coordination-item h3 { font-size: clamp(2.2rem, 11vw, 4rem); }

  .dispatch-section { padding: 100px 20px; }
  .dispatch-item { min-height: 570px; padding: 26px 22px; }
  .dispatch-summary { grid-template-columns: 1fr; gap: 20px; }
  .dispatch-summary > div { gap: 7px; }
  .dispatch-summary strong { font-size: 1.25rem; }
  .dispatch-detail { right: 22px; bottom: 26px; left: 22px; grid-template-columns: 1fr; gap: 18px; opacity: 0; transform: translateY(14px); }
  .dispatch-item.is-current .dispatch-detail { opacity: 1; transform: translateY(0); }

  .transit-section { padding: 100px 20px; }
  .transit-shell { margin-top: 60px; }
  .transit-line { left: 10px; transform: none; }
  .transit-list li,
  .transit-list li:nth-child(even) { width: auto; min-height: 48dvh; margin-left: 38px; }
  .transit-list li::after,
  .transit-list li:nth-child(even)::after { top: 50%; right: auto; left: -28px; width: 18px; }
  .transit-list strong { font-size: clamp(2.2rem, 11vw, 4rem); }

  .delivery-section { min-height: auto; padding: 110px 20px; }
  .delivery-geometry span { width: 78vw; height: 17vh; opacity: 0.34; }
  .delivery-content { display: block; min-height: 0; padding: 0; }
  .delivery-values { grid-template-columns: 1fr; margin-top: 70px; }
  .delivery-values article,
  .delivery-values article:first-child { grid-row: auto; min-height: 210px; }
  .journey-main .footer-section { padding: 72px 20px 28px; }
}

@media (hover: none), (pointer: coarse) {
  .service-unit { transform: none; }
  .service-unit.is-current .service-detail { opacity: 1; clip-path: inset(0 round 10px); transform: translate3d(0, 0, 0); pointer-events: auto; }
  .dispatch-item.is-current .dispatch-detail { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader::before { transform: translateX(-101%); }
  .site-loader::after { transform: translateX(101%); }
  .site-loader-inner { opacity: 0; }
  .hero-journey,
  .services-journey,
  .delivery-section { min-height: auto; }
  .hero-stage,
  .services-sticky,
  .coordination-visual { position: relative; top: auto; }
  .hero-stage { min-height: 100dvh; }
  .hero-door,
  .hero-container-stack,
  .hero-rail,
  .hero-copy-wrap,
  .service-track,
  .transit-line span,
  .delivery-geometry span { animation: none !important; transform: none !important; }
  .services-journey { padding: 100px var(--page-gutter); }
  .services-sticky { min-height: auto; padding: 0; overflow: visible; }
  .service-viewport { position: relative; overflow-x: auto; margin-top: 60px; }
  .service-track { position: relative; top: auto; left: auto; padding: 0; }
  .coordination-item,
  .transit-list li { opacity: 1; transform: none; }
}

/* Keep translated brand and hero copy composed at compact desktop widths. */
.brand-name,
.brand-sub {
  white-space: nowrap;
}

html[lang="en"] .hero-copy-wrap,
html[lang="pt-BR"] .hero-copy-wrap {
  max-width: 58vw;
}

html[lang="en"] .hero-journey h1,
html[lang="pt-BR"] .hero-journey h1 {
  font-size: clamp(3.25rem, 5.15vw, 5.4rem);
}

@media (max-width: 1380px) and (min-width: 821px) {
  .brand-sub {
    display: none;
  }
}

@media (max-width: 820px) {
  html[lang="en"] .hero-copy-wrap,
  html[lang="pt-BR"] .hero-copy-wrap {
    max-width: none;
  }

  html[lang="en"] .hero-journey h1,
  html[lang="pt-BR"] .hero-journey h1 {
    font-size: clamp(2.75rem, 11vw, 4.1rem);
  }

  .ai-chat-widget {
    top: auto;
    bottom: 16px;
    height: min(560px, calc(100dvh - 88px));
    transform: translate(calc(100vw - 80px), 0);
  }

  .ai-chat-widget:hover,
  .ai-chat-widget:focus-within {
    transform: translate(calc(100vw - 80px), 0);
  }

  .ai-chat-widget.is-open,
  .ai-chat-widget.is-open:hover,
  .ai-chat-widget.is-open:focus-within {
    transform: translate(0, 0);
  }
}

/* V2.2 — restrained industrial storytelling */

/* One full-screen conveyor transition replaces the split curtain. */
.site-loader {
  display: grid;
  place-items: center;
  background: #0b100e;
  transform: translate3d(0, 0, 0);
  transition: visibility 0s linear 0s, transform 720ms var(--ease-out);
}

.site-loader::before,
.site-loader::after {
  content: none;
}

.site-loader-inner {
  width: min(760px, calc(100vw - 40px));
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease;
}

.site-loader-track {
  display: grid;
  height: auto;
  gap: 12px;
  margin-top: 0;
  overflow: hidden;
  background: none;
}

.site-loader-track::before,
.site-loader-track::after {
  content: none;
}

.loader-belt {
  position: relative;
  display: block;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(236, 239, 233, 0.15);
  background:
    repeating-linear-gradient(90deg, #171e1a 0 40px, #202824 40px 42px),
    #171e1a;
}

.loader-belt::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: rgba(231, 200, 72, 0.7);
}

.loader-belt i {
  position: absolute;
  top: 8px;
  left: -92px;
  width: 70px;
  height: 28px;
  border: 1px solid rgba(13, 18, 16, 0.5);
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(13, 18, 16, 0.18) 15px 16px),
    var(--journey-yellow);
  animation: yjh-loader-cargo 1.7s linear infinite;
  will-change: transform;
}

.loader-belt i:nth-child(2) {
  width: 54px;
  animation-delay: -0.56s;
}

.loader-belt i:nth-child(3) {
  width: 82px;
  animation-delay: -1.12s;
}

.loader-belt-b i { animation-duration: 1.95s; }
.loader-belt-c i { animation-duration: 2.18s; }

.loader-scanner {
  position: absolute;
  z-index: 4;
  top: 26px;
  bottom: -8px;
  left: 63%;
  width: 2px;
  background: var(--journey-yellow);
  box-shadow: 0 0 0 6px rgba(231, 200, 72, 0.06);
  animation: yjh-loader-scan 980ms ease-in-out infinite alternate;
}

.site-loader.is-opening {
  transform: translate3d(0, -101%, 0);
}

.site-loader.is-opening .site-loader-inner,
.site-loader.is-arrival .site-loader-inner {
  opacity: 1;
  transform: none;
}

.site-loader.is-closing {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.site-loader.is-closing .site-loader-inner {
  animation: none;
}

.site-loader.is-dormant {
  visibility: hidden;
  pointer-events: none;
}

@keyframes yjh-loader-cargo {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(min(760px, 100vw - 40px) + 190px), 0, 0); }
}

@keyframes yjh-loader-scan {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

/* The hero now reads as one loading-bay door, not stacked scenery. */
.hero-journey {
  min-height: 126dvh;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(430px, 48%) 1fr;
  background: #0d1210;
}

.hero-copy-wrap {
  top: 50%;
  width: min(680px, calc(48vw - var(--page-gutter)));
  max-width: none;
  animation: none;
  transform: translateY(-50%);
}

.has-js .hero-copy-wrap[data-reveal] {
  transform: translate3d(0, calc(-50% + 24px), 0);
}

.has-js .hero-copy-wrap[data-reveal].is-visible {
  transform: translate3d(0, -50%, 0);
}

.hero-journey h1,
html[lang="en"] .hero-journey h1,
html[lang="pt-BR"] .hero-journey h1 {
  max-width: 680px;
  font-size: clamp(3.5rem, 5.4vw, 6.1rem);
  line-height: 0.94;
}

.hero-journey .hero-copy {
  max-width: 610px;
  margin-top: 24px;
  line-height: 1.72;
}

.hero-geometry {
  top: 86px;
  right: 0;
  bottom: 0;
  left: 47%;
  perspective: 1300px;
}

.hero-bay {
  position: absolute;
  inset: 7% 5% 8% 4%;
  overflow: hidden;
  border: 12px solid #29322d;
  border-bottom-width: 18px;
  background: #141b17;
  box-shadow:
    inset 0 0 0 2px rgba(236, 239, 233, 0.08),
    0 30px 90px rgba(3, 7, 5, 0.36);
}

.hero-bay-header {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 20px;
  border-bottom: 1px solid rgba(236, 239, 233, 0.16);
  background:
    repeating-linear-gradient(135deg, var(--journey-yellow) 0 14px, #151b18 14px 28px);
}

.hero-bay-cargo {
  position: absolute;
  right: 10%;
  bottom: 7%;
  left: 10%;
  display: flex;
  height: 43%;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  animation: yjh-bay-cargo 1ms linear both;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-bay-cargo span {
  display: block;
  width: 28%;
  height: 62%;
  border: 1px solid rgba(236, 239, 233, 0.2);
  background:
    repeating-linear-gradient(90deg, transparent 0 21%, rgba(236, 239, 233, 0.08) 21% 22%),
    #303a34;
}

.hero-bay-cargo span:nth-child(2) { height: 92%; background-color: #3a433d; }
.hero-bay-cargo span:nth-child(3) { height: 74%; background-color: #242d28; }

.hero-door-set {
  position: absolute;
  z-index: 3;
  inset: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  perspective: 1200px;
}

.hero-door {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: auto;
  border: 1px solid rgba(236, 239, 233, 0.2);
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(236, 239, 233, 0.075) 12% 12.8%),
    repeating-linear-gradient(0deg, transparent 0 31%, rgba(13, 18, 16, 0.28) 31% 31.6%),
    #29322d;
  box-shadow: inset 0 0 0 8px rgba(13, 18, 16, 0.14);
  animation-duration: 1ms;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-timeline: --hero-journey;
  animation-range: entry 100% exit 0%;
}

.hero-door-left {
  transform-origin: left center;
  animation-name: yjh-bay-door-left;
}

.hero-door-right {
  transform-origin: right center;
  animation-name: yjh-bay-door-right;
}

.hero-door-lock {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 7px;
  border: 1px solid rgba(236, 239, 233, 0.24);
  background: #161d19;
}

.hero-door-left .hero-door-lock { right: 12%; }
.hero-door-right .hero-door-lock { left: 12%; }

.hero-door-lock::before,
.hero-door-lock::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 25px;
  height: 9px;
  border: 1px solid rgba(236, 239, 233, 0.3);
  background: #202824;
  transform: translateX(-50%);
}

.hero-door-lock::before { top: 24%; }
.hero-door-lock::after { bottom: 24%; }

.hero-door-hinges {
  position: absolute;
  top: 17%;
  width: 20px;
  height: 8px;
  border: 1px solid rgba(236, 239, 233, 0.24);
  background: #161d19;
  box-shadow: 0 26vh 0 #161d19, 0 52vh 0 #161d19;
}

.hero-door-left .hero-door-hinges { left: 1.5%; }
.hero-door-right .hero-door-hinges { right: 1.5%; }

.hero-bay-threshold {
  position: absolute;
  z-index: 6;
  right: -2%;
  bottom: 0;
  left: -2%;
  height: 24px;
  border-top: 2px solid rgba(236, 239, 233, 0.2);
  background:
    repeating-linear-gradient(135deg, var(--journey-yellow) 0 16px, #151b18 16px 32px);
}

.hero-bay-threshold i {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 46%;
  height: 4px;
  background: rgba(236, 239, 233, 0.24);
  transform: translateX(-50%);
}

@keyframes yjh-bay-door-left {
  from { transform: translate3d(0, 0, 0) rotateY(0); }
  to { transform: translate3d(-88%, 0, 0) rotateY(10deg); }
}

@keyframes yjh-bay-door-right {
  from { transform: translate3d(0, 0, 0) rotateY(0); }
  to { transform: translate3d(88%, 0, 0) rotateY(-10deg); }
}

@keyframes yjh-bay-cargo {
  from { transform: translate3d(10%, 8%, -90px) scale(0.9); opacity: 0.38; }
  to { transform: translate3d(0, 0, 30px) scale(1); opacity: 1; }
}

/* Services are a directory plus one stable detail panel on desktop. */
.services-journey {
  min-height: auto;
  padding: clamp(110px, 12vw, 170px) var(--page-gutter);
}

.services-sticky {
  position: relative;
  top: auto;
  width: min(var(--content-width), 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

.services-sticky .journey-heading {
  width: min(720px, 100%);
}

.services-sticky .journey-heading h2 {
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.service-viewport {
  position: relative;
  inset: auto;
  margin-top: clamp(54px, 7vw, 92px);
  overflow: visible;
}

.service-track {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  grid-template-rows: repeat(6, minmax(92px, auto));
  column-gap: clamp(44px, 6vw, 90px);
  padding: 0;
  animation: none;
  transform: none;
  will-change: auto;
}

.service-unit {
  display: contents;
}

.service-summary {
  position: relative;
  z-index: 5;
  top: auto;
  left: auto;
  display: grid;
  width: auto;
  min-height: 92px;
  align-content: center;
  padding: 18px 22px;
  border-top: 1px solid rgba(236, 239, 233, 0.13);
  background: transparent;
  transform: none;
  transition: color 220ms ease, background-color 220ms ease, padding-left 300ms var(--ease-out);
}

.service-unit:nth-child(1) .service-summary { grid-row: 1; }
.service-unit:nth-child(2) .service-summary { grid-row: 2; }
.service-unit:nth-child(3) .service-summary { grid-row: 3; }
.service-unit:nth-child(4) .service-summary { grid-row: 4; }
.service-unit:nth-child(5) .service-summary { grid-row: 5; }
.service-unit:nth-child(6) .service-summary { grid-row: 6; border-bottom: 1px solid rgba(236, 239, 233, 0.13); }

.service-summary::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  background: var(--journey-yellow);
  opacity: 0;
  transform: scaleY(0.25);
  transition: opacity 220ms ease, transform 300ms var(--ease-out);
}

.service-summary h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.service-summary p {
  margin: 8px 0 0;
  color: var(--journey-muted);
  font-size: 12px;
  line-height: 1.5;
}

.service-shape,
.service-detail {
  grid-column: 2;
  grid-row: 1 / 7;
}

.service-shape,
.service-unit-air .service-shape,
.service-unit-commerce .service-shape,
.service-unit-customs .service-shape,
.service-unit-warehouse .service-shape,
.service-unit-supply .service-shape {
  position: relative;
  z-index: 1;
  inset: auto;
  min-height: 590px;
  border-radius: 8px;
  opacity: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(236, 239, 233, 0.06) 11% 11.8%),
    var(--unit-accent);
  transform: translate3d(20px, 0, 0);
  transition: opacity 280ms ease, transform 420ms var(--ease-out);
}

.service-detail {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: auto;
  display: flex;
  width: auto;
  min-height: 590px;
  justify-content: center;
  padding: clamp(42px, 6vw, 82px);
  border: 1px solid rgba(236, 239, 233, 0.15);
  border-radius: 8px;
  background: rgba(13, 18, 16, 0.86);
  opacity: 0;
  clip-path: none;
  transform: translate3d(20px, 0, 0);
  transition: opacity 280ms ease, transform 420ms var(--ease-out);
  pointer-events: none;
}

.service-detail dl {
  align-content: center;
  gap: 28px;
}

.service-detail dl > div {
  grid-template-columns: minmax(112px, 0.3fr) 1fr;
  gap: 24px;
}

.service-detail a {
  margin-top: 38px;
}

.service-unit.is-current .service-summary,
.service-unit:focus-within .service-summary {
  padding-left: 30px;
  background: #19211d;
}

.service-unit.is-current .service-summary::before,
.service-unit:focus-within .service-summary::before {
  opacity: 1;
  transform: scaleY(1);
}

.service-unit.is-current .service-shape,
.service-unit.is-current .service-detail,
.service-unit:focus-within .service-shape,
.service-unit:focus-within .service-detail {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-unit.is-current .service-detail,
.service-unit:focus-within .service-detail {
  pointer-events: auto;
}

/* Route rows use the same reveal language and unique detail copy. */
.dispatch-section .journey-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(54px, 7vw, 92px);
}

.dispatch-list {
  display: grid;
  grid-template-columns: minmax(390px, 0.88fr) minmax(480px, 1.12fr);
  grid-template-rows: repeat(4, minmax(132px, auto));
  column-gap: clamp(44px, 6vw, 90px);
}

.dispatch-item {
  display: contents;
}

.dispatch-item::before {
  content: none;
}

.dispatch-summary {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 12px 26px;
  align-content: center;
  padding: 22px 24px;
  border-top: 1px solid rgba(236, 239, 233, 0.13);
  background: transparent;
  transition: background-color 220ms ease, padding-left 300ms var(--ease-out);
}

.dispatch-item:nth-child(1) .dispatch-summary { grid-row: 1; }
.dispatch-item:nth-child(2) .dispatch-summary { grid-row: 2; }
.dispatch-item:nth-child(3) .dispatch-summary { grid-row: 3; }
.dispatch-item:nth-child(4) .dispatch-summary { grid-row: 4; border-bottom: 1px solid rgba(236, 239, 233, 0.13); }

.dispatch-summary::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  background: var(--journey-yellow);
  opacity: 0;
  transform: scaleY(0.25);
  transition: opacity 220ms ease, transform 300ms var(--ease-out);
}

.dispatch-summary > div:first-child {
  grid-column: 1 / -1;
}

.dispatch-summary > div {
  gap: 6px;
}

.dispatch-summary strong {
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  line-height: 1.25;
}

.dispatch-detail {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 100%;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 38px;
  padding: clamp(44px, 6vw, 82px);
  border: 1px solid rgba(236, 239, 233, 0.14);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 13%, rgba(236, 239, 233, 0.035) 13% 13.6%),
    #19211d;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: opacity 280ms ease, transform 420ms var(--ease-out);
  pointer-events: none;
}

.dispatch-detail p {
  max-width: 620px;
  margin-top: 12px;
  font-size: 15px;
}

.dispatch-item.is-current .dispatch-summary,
.dispatch-item:focus-within .dispatch-summary {
  padding-left: 32px;
  background: #202824;
}

.dispatch-item.is-current .dispatch-summary::before,
.dispatch-item:focus-within .dispatch-summary::before {
  opacity: 1;
  transform: scaleY(1);
}

.dispatch-item.is-current .dispatch-detail,
.dispatch-item:focus-within .dispatch-detail {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

/* About is static editorial content; no drifting background or card collage. */
.delivery-section {
  min-height: auto;
  overflow: visible;
  padding: clamp(110px, 13vw, 180px) var(--page-gutter);
}

.delivery-content {
  min-height: 0;
  grid-template-columns: minmax(320px, 0.84fr) minmax(460px, 1.16fr);
  align-content: start;
  align-items: start;
  gap: clamp(56px, 9vw, 140px);
  padding: 0;
}

.delivery-content header {
  align-self: start;
}

.delivery-content header h2 {
  max-width: 680px;
}

.delivery-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.delivery-values article,
.delivery-values article:first-child {
  display: block;
  min-height: 0;
  padding: 30px 0;
  border-top: 1px solid rgba(236, 239, 233, 0.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.delivery-values article:last-child {
  border-bottom: 1px solid rgba(236, 239, 233, 0.15);
}

.delivery-values h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
}

.delivery-values p {
  max-width: 620px;
  margin-top: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .service-unit:hover .service-detail,
  .service-unit:focus-within .service-detail,
  .service-unit:focus-visible .service-detail,
  .service-unit:hover .service-shape,
  .service-unit:focus-within .service-shape,
  .service-unit:focus-visible .service-shape,
  .dispatch-item:hover .dispatch-detail,
  .dispatch-item:focus-visible .dispatch-detail,
  .dispatch-item:focus-within .dispatch-detail {
    opacity: 1;
    clip-path: none;
    transform: translate3d(0, 0, 0);
  }

  .service-unit:hover .service-summary,
  .service-unit:focus-within .service-summary,
  .service-unit:focus-visible .service-summary {
    padding-left: 30px;
    transform: none;
    background: #19211d;
  }

  .dispatch-item:hover .dispatch-summary,
  .dispatch-item:focus-visible .dispatch-summary,
  .dispatch-item:focus-within .dispatch-summary {
    padding-left: 32px;
    background: #202824;
  }

  .service-unit:hover .service-summary::before,
  .service-unit:focus-within .service-summary::before,
  .service-unit:focus-visible .service-summary::before,
  .dispatch-item:hover .dispatch-summary::before,
  .dispatch-item:focus-visible .dispatch-summary::before,
  .dispatch-item:focus-within .dispatch-summary::before {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .service-unit:not(.is-current) .service-shape,
  .service-unit:not(.is-current) .service-detail,
  .dispatch-item:not(.is-current) .dispatch-detail {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    pointer-events: none;
  }
}

/* Tablet and phone use disclosure by layout, never hover. */
@media (max-width: 900px) {
  .ai-chat-widget,
  .ai-chat-widget:hover,
  .ai-chat-widget:focus-within {
    top: auto;
    bottom: 16px;
    align-items: flex-end;
    height: 56px;
    transform: translate(calc(100vw - 80px), 0);
  }

  .ai-chat-widget.is-open,
  .ai-chat-widget.is-open:hover,
  .ai-chat-widget.is-open:focus-within {
    height: min(560px, calc(100dvh - 88px));
    transform: translate(0, 0);
  }

  .ai-chat-panel {
    height: min(560px, calc(100dvh - 88px));
  }

  .hero-journey {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-stage {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 72px 20px 46px;
    overflow: hidden;
  }

  .hero-copy-wrap,
  html[lang="en"] .hero-copy-wrap,
  html[lang="pt-BR"] .hero-copy-wrap {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    animation: none;
    transform: none;
    order: 1;
  }

  .has-js .hero-copy-wrap[data-reveal],
  .has-js .hero-copy-wrap[data-reveal].is-visible {
    transform: none;
  }

  .hero-journey h1,
  html[lang="en"] .hero-journey h1,
  html[lang="pt-BR"] .hero-journey h1 {
    max-width: 680px;
    font-size: clamp(2.65rem, 12vw, 4.5rem);
    line-height: 0.96;
  }

  .hero-geometry {
    position: relative;
    inset: auto;
    height: clamp(250px, 62vw, 480px);
    margin-top: 46px;
    order: 2;
  }

  .hero-bay {
    inset: 0 0 18px;
    border-width: 8px 8px 14px;
  }

  .hero-door,
  .hero-bay-cargo {
    animation: none;
    transform: none;
  }

  .hero-door-hinges {
    box-shadow: 0 18vw 0 #161d19, 0 36vw 0 #161d19;
  }

  .services-journey,
  .dispatch-section,
  .delivery-section {
    padding: 92px 20px;
  }

  .services-sticky .journey-heading h2 {
    font-size: clamp(2.45rem, 10vw, 4.2rem);
  }

  .dispatch-section h2,
  .delivery-content h2 {
    font-size: clamp(2.1rem, 9.2vw, 3rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .service-track,
  .dispatch-list {
    display: block;
  }

  .service-unit,
  .dispatch-item {
    display: block;
    height: auto;
    min-height: 0;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid rgba(236, 239, 233, 0.14);
    border-radius: 8px;
    background: #171e1a;
    box-shadow: none;
    transform: none;
  }

  .service-summary,
  .dispatch-summary {
    min-height: 0;
    padding: 22px 20px;
    border: 0;
    background: transparent;
  }

  .service-unit.is-current .service-summary,
  .service-unit:focus-within .service-summary,
  .dispatch-item.is-current .dispatch-summary,
  .dispatch-item:focus-within .dispatch-summary {
    padding-left: 20px;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .service-summary::before,
  .dispatch-summary::before,
  .service-shape {
    display: none;
  }

  .service-summary h3 {
    font-size: 1.55rem;
  }

  .service-summary p {
    margin-top: 10px;
    font-size: 13px;
  }

  .service-detail,
  .dispatch-detail,
  .service-unit.is-current .service-detail,
  .dispatch-item.is-current .dispatch-detail {
    position: relative;
    inset: auto;
    display: block;
    width: auto;
    min-height: 0;
    padding: 0 20px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1 !important;
    clip-path: none;
    transform: none;
    pointer-events: auto;
  }

  .service-detail dl {
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 239, 233, 0.12);
  }

  .service-detail dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .service-detail a {
    margin-top: 24px;
  }

  .dispatch-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dispatch-summary > div:first-child {
    grid-column: auto;
  }

  .dispatch-detail {
    padding-top: 20px;
    border-top: 1px solid rgba(236, 239, 233, 0.12);
  }

  .dispatch-detail > div + div {
    margin-top: 20px;
  }

  .delivery-content {
    display: block;
  }

  .delivery-content header {
    margin-bottom: 50px;
  }

  .delivery-values article,
  .delivery-values article:first-child {
    padding: 24px 0;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .hero-journey {
    min-height: 700px;
  }

  .hero-stage {
    position: relative;
    min-height: 700px;
  }

  .hero-door,
  .hero-bay-cargo {
    animation: none;
    transform: none;
  }

  .coordination-visual {
    position: relative;
    top: auto;
    height: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader {
    transition-duration: 1ms;
  }

  .loader-belt i,
  .loader-scanner,
  .hero-door,
  .hero-bay-cargo {
    animation: none !important;
  }

  .site-loader.is-opening {
    transform: translate3d(0, -101%, 0);
  }
}

/* V2.3: scroll-led selection and a single 2.5D conveyor transition. */
.site-loader-track {
  position: relative;
  display: block;
  height: 238px;
  margin-top: 24px;
  overflow: hidden;
  background: #101613;
  perspective: 900px;
}

.loader-world {
  position: absolute;
  inset: 16px 0 8px;
  display: block;
  transform-style: preserve-3d;
}

.loader-conveyor {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 22px;
  left: 2%;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(236, 239, 233, 0.2);
  background: #1b231f;
  box-shadow: 0 28px 38px rgba(2, 6, 4, 0.42);
  transform: rotateX(58deg) rotateZ(-4deg);
  transform-origin: center bottom;
}

.loader-conveyor::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background: var(--journey-yellow);
  opacity: 0.72;
}

.loader-conveyor b {
  position: absolute;
  inset: -18px -28%;
  display: block;
  background: repeating-linear-gradient(
    90deg,
    #171e1a 0 30px,
    #303a34 30px 34px,
    #171e1a 34px 64px
  );
  transform: translate3d(-4%, 0, 0);
  will-change: transform;
}

.loader-parcel,
.loader-parcel-shadow {
  position: absolute;
  left: 0;
  will-change: transform, opacity;
}

.loader-parcel {
  z-index: 5;
  bottom: 78px;
  width: 82px;
  height: 58px;
  border: 1px solid rgba(13, 18, 16, 0.72);
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(13, 18, 16, 0.16) 43% 57%, transparent 57%),
    #d8bb40;
  box-shadow: inset -8px 0 rgba(13, 18, 16, 0.08);
  transform: translate3d(-42px, 22px, 0);
}

.loader-parcel::before,
.loader-parcel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(13, 18, 16, 0.58);
}

.loader-parcel::before {
  right: -1px;
  bottom: 100%;
  left: 9px;
  height: 20px;
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(13, 18, 16, 0.13) 40% 55%, transparent 55%),
    #ecd45f;
  transform: skewX(-38deg);
  transform-origin: left bottom;
}

.loader-parcel::after {
  top: -10px;
  bottom: -1px;
  left: 100%;
  width: 16px;
  background: #9d8428;
  transform: skewY(-32deg);
  transform-origin: left top;
}

.loader-parcel b {
  position: absolute;
  right: 11px;
  bottom: 10px;
  width: 17px;
  height: 12px;
  border: 1px solid rgba(13, 18, 16, 0.42);
  background: rgba(236, 239, 233, 0.32);
}

.loader-parcel-shadow {
  z-index: 3;
  bottom: 55px;
  width: 92px;
  height: 18px;
  border-radius: 50%;
  background: rgba(2, 6, 4, 0.58);
  filter: blur(5px);
  transform: translate3d(-42px, 22px, 0) skewX(-20deg);
}

.loader-scan-gate {
  position: absolute;
  z-index: 6;
  bottom: 57px;
  left: 64%;
  display: block;
  width: 4px;
  height: 118px;
  background: #39443e;
  box-shadow: 72px 0 #39443e;
}

.loader-scan-gate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 4px;
  background: #39443e;
}

.loader-scan-gate b {
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  width: 68px;
  height: 106px;
  border-right: 1px solid rgba(231, 200, 72, 0.74);
  border-left: 1px solid rgba(231, 200, 72, 0.74);
  background: linear-gradient(90deg, transparent, rgba(231, 200, 72, 0.14), transparent);
  transform-origin: center top;
}

.site-loader.is-animating .loader-conveyor b {
  animation: yjh-loader-rollers 760ms linear infinite;
}

.site-loader.is-animating .loader-parcel {
  animation: yjh-loader-parcel-25d 1.62s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.site-loader.is-animating .loader-parcel-shadow {
  animation: yjh-loader-shadow-25d 1.62s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.site-loader.is-animating .loader-scan-gate b {
  animation: yjh-loader-gate 810ms ease-in-out infinite alternate;
}

.site-loader.is-dormant .loader-conveyor b,
.site-loader.is-dormant .loader-parcel,
.site-loader.is-dormant .loader-parcel-shadow,
.site-loader.is-dormant .loader-scan-gate b {
  animation-play-state: paused;
}

@keyframes yjh-loader-rollers {
  from { transform: translate3d(-4%, 0, 0); }
  to { transform: translate3d(2%, 0, 0); }
}

@keyframes yjh-loader-parcel-25d {
  0% { opacity: 0.25; transform: translate3d(-42px, 22px, 0); }
  6% { opacity: 1; }
  48% { transform: translate3d(calc(min(380px, 50vw - 20px) - 41px), -3px, 0); }
  52% { transform: translate3d(calc(min(380px, 50vw - 20px) - 5px), -7px, 0); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(calc(min(760px, 100vw - 40px) + 150px), -38px, 0); }
}

@keyframes yjh-loader-shadow-25d {
  0% { opacity: 0.16; transform: translate3d(-42px, 22px, 0) skewX(-20deg) scale(0.72); }
  8% { opacity: 0.55; }
  52% { opacity: 0.32; }
  92% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(calc(min(760px, 100vw - 40px) + 150px), -38px, 0) skewX(-20deg) scale(0.84); }
}

@keyframes yjh-loader-gate {
  from { opacity: 0.34; transform: scaleY(0.28); }
  to { opacity: 1; transform: scaleY(1); }
}

@media (min-width: 901px) {
  .service-shape {
    display: none;
  }

  .service-track {
    grid-template-rows: repeat(6, minmax(40dvh, 350px));
  }

  .service-summary,
  .dispatch-summary {
    min-height: 100%;
    align-self: stretch;
  }

  .service-detail {
    position: sticky;
    top: clamp(96px, 13dvh, 132px);
    height: min(68dvh, 610px);
    min-height: 480px;
    align-self: start;
  }

  .dispatch-list {
    grid-template-rows: repeat(4, minmax(42dvh, 360px));
  }

  .dispatch-detail {
    position: sticky;
    top: clamp(96px, 13dvh, 132px);
    height: min(64dvh, 570px);
    min-height: 470px;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .site-loader-inner {
    width: min(640px, calc(100vw - 32px));
  }

  .site-loader-track {
    height: 198px;
  }

  .loader-world {
    top: 10px;
  }

  .loader-conveyor {
    right: 0;
    left: 0;
    height: 78px;
  }

  .loader-parcel {
    bottom: 70px;
    width: 70px;
    height: 50px;
  }

  .loader-parcel-shadow {
    bottom: 50px;
    width: 78px;
  }

  .loader-scan-gate {
    bottom: 52px;
    left: 62%;
    height: 104px;
    box-shadow: 62px 0 #39443e;
  }

  .loader-scan-gate::before {
    width: 66px;
  }

  .loader-scan-gate b {
    width: 58px;
    height: 92px;
  }

  .service-unit,
  .dispatch-item {
    position: relative;
    isolation: isolate;
    margin-bottom: 22px;
    transition: border-color 280ms ease, background-color 280ms ease, transform 420ms var(--ease-out);
  }

  .service-unit {
    min-height: clamp(490px, 72dvh, 620px);
  }

  .dispatch-item {
    min-height: clamp(540px, 70dvh, 620px);
  }

  .service-unit.is-current,
  .dispatch-item.is-current {
    border-color: rgba(231, 200, 72, 0.72);
    background: #19211d;
    transform: translate3d(0, -3px, 0);
  }

  .service-summary,
  .dispatch-summary {
    position: relative;
    z-index: 3;
  }

  .service-summary::before,
  .dispatch-summary::before {
    display: block;
  }

  .service-unit.is-current .service-summary,
  .service-unit:focus-within .service-summary,
  .dispatch-item.is-current .dispatch-summary,
  .dispatch-item:focus-within .dispatch-summary {
    padding-left: 28px;
  }

  .service-shape,
  .service-unit-air .service-shape,
  .service-unit-commerce .service-shape,
  .service-unit-customs .service-shape,
  .service-unit-warehouse .service-shape,
  .service-unit-supply .service-shape {
    position: absolute;
    z-index: 1;
    inset: 142px 18px 18px;
    display: block;
    min-height: 0;
    border-radius: 6px;
    opacity: 0.38;
    transform: translate3d(0, 14px, 0) skewY(-2deg);
    transition: opacity 320ms ease, transform 520ms var(--ease-out);
  }

  .service-unit.is-current .service-shape,
  .service-unit:focus-within .service-shape {
    opacity: 0.14;
    transform: translate3d(-10px, 0, 0) scale(0.96);
  }

  .service-unit .service-detail,
  .dispatch-item .dispatch-detail {
    position: absolute;
    z-index: 4;
    right: 16px;
    bottom: auto;
    left: 16px;
    display: flex;
    width: auto;
    min-height: 0;
    padding: 22px;
    border: 1px solid rgba(236, 239, 233, 0.14);
    border-radius: 6px;
    background: rgba(13, 18, 16, 0.94);
    opacity: 0 !important;
    visibility: hidden;
    transform: translate3d(0, 24px, 0);
    transition: opacity 260ms ease, transform 440ms var(--ease-out), visibility 0s linear 440ms;
    pointer-events: none;
  }

  .service-unit .service-detail {
    top: 158px;
    justify-content: space-between;
  }

  .dispatch-item .dispatch-detail {
    top: 256px;
    display: grid;
    align-content: center;
    gap: 20px;
    padding-top: 22px;
  }

  .service-unit.is-current .service-detail,
  .service-unit:focus-within .service-detail,
  .dispatch-item.is-current .dispatch-detail,
  .dispatch-item:focus-within .dispatch-detail {
    position: absolute;
    right: 16px;
    bottom: auto;
    left: 16px;
    opacity: 1 !important;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .service-unit.is-current .service-detail,
  .service-unit:focus-within .service-detail {
    top: 158px;
  }

  .dispatch-item.is-current .dispatch-detail,
  .dispatch-item:focus-within .dispatch-detail {
    top: 256px;
  }

  .service-detail dl {
    gap: 12px;
    padding-top: 0;
    border-top: 0;
  }

  .service-detail dl > div {
    gap: 3px;
  }

  .service-detail a {
    margin-top: 16px;
  }

  .dispatch-item::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 28px;
    left: 20px;
    height: 180px;
    border: 1px solid rgba(236, 239, 233, 0.1);
    background:
      linear-gradient(135deg, transparent 0 32%, rgba(231, 200, 72, 0.56) 32.2% 32.8%, transparent 33%),
      linear-gradient(35deg, transparent 0 59%, rgba(236, 239, 233, 0.16) 59.2% 59.8%, transparent 60%);
    opacity: 0.76;
    transform: translate3d(0, 0, 0);
    transition: opacity 280ms ease, transform 520ms var(--ease-out);
  }

  .dispatch-item.is-current::after,
  .dispatch-item:focus-within::after {
    opacity: 0.12;
    transform: translate3d(-18px, 0, 0);
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero-door-left {
    animation: yjh-mobile-bay-left 1080ms var(--ease-out) 120ms both;
    animation-timeline: auto;
    animation-range: normal;
  }

  .hero-door-right {
    animation: yjh-mobile-bay-right 1080ms var(--ease-out) 120ms both;
    animation-timeline: auto;
    animation-range: normal;
  }

  .hero-bay-cargo {
    animation: yjh-mobile-bay-cargo 980ms var(--ease-out) 260ms both;
    animation-timeline: auto;
    animation-range: normal;
  }

  .service-unit.is-current .service-shape span,
  .service-unit:focus-within .service-shape span {
    animation: yjh-mobile-service-line 620ms var(--ease-out) both;
  }

  .service-unit.is-current .service-shape span:nth-child(2),
  .service-unit:focus-within .service-shape span:nth-child(2) {
    animation-delay: 70ms;
  }

  .service-unit.is-current .service-shape span:nth-child(3),
  .service-unit:focus-within .service-shape span:nth-child(3) {
    animation-delay: 140ms;
  }
}

@keyframes yjh-mobile-bay-left {
  from { transform: translate3d(0, 0, 0) rotateY(0); }
  to { transform: translate3d(-30%, 0, 0) rotateY(8deg); }
}

@keyframes yjh-mobile-bay-right {
  from { transform: translate3d(0, 0, 0) rotateY(0); }
  to { transform: translate3d(30%, 0, 0) rotateY(-8deg); }
}

@keyframes yjh-mobile-bay-cargo {
  from { opacity: 0.25; transform: translate3d(9%, 10%, -70px) scale(0.92); }
  to { opacity: 1; transform: translate3d(0, 0, 20px) scale(1); }
}

@keyframes yjh-mobile-service-line {
  from { opacity: 0.2; transform: scaleX(0.2); }
  to { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-conveyor b,
  .loader-parcel,
  .loader-parcel-shadow,
  .loader-scan-gate b,
  .service-unit,
  .dispatch-item,
  .service-shape,
  .service-detail,
  .dispatch-detail {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  .loader-parcel {
    opacity: 1;
    transform: translate3d(calc(50vw - 110px), -4px, 0);
  }

  .loader-parcel-shadow {
    opacity: 0.42;
    transform: translate3d(calc(50vw - 110px), -4px, 0) skewX(-20deg);
  }
}

/* V2.4: flat looping conveyor and reduced mobile decoration. */
.site-loader-track {
  height: 154px;
  background: transparent;
  perspective: none;
}

.loader-world {
  inset: 14px 0 4px;
  overflow: hidden;
  transform-style: flat;
}

.loader-conveyor {
  right: 0;
  bottom: 18px;
  left: 0;
  height: 76px;
  border: 1px solid rgba(236, 239, 233, 0.18);
  background: #171e1a;
  box-shadow: none;
  transform: none;
}

.loader-conveyor::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--journey-yellow);
  opacity: 1;
}

.loader-conveyor > b {
  inset: auto -50% 8px;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    #28322d 0 24px,
    #3a453f 24px 28px,
    #28322d 28px 52px
  );
  transform: translate3d(0, 0, 0);
}

.loader-cargo-loop {
  position: absolute;
  z-index: 4;
  bottom: 48px;
  left: 0;
  display: flex;
  width: 200%;
  height: 48px;
  will-change: transform;
}

.loader-cargo-group {
  display: flex;
  width: 50%;
  flex: 0 0 50%;
  align-items: flex-end;
  justify-content: space-around;
}

.loader-cargo-group b {
  display: block;
  width: clamp(54px, 9vw, 78px);
  height: 40px;
  border: 1px solid rgba(13, 18, 16, 0.56);
  border-radius: 2px;
  background: var(--journey-yellow);
  box-shadow: inset 0 -7px rgba(13, 18, 16, 0.08);
}

.loader-cargo-group b:nth-child(2) {
  width: clamp(42px, 7vw, 62px);
  height: 30px;
  background: #bfa638;
}

.loader-cargo-group b:nth-child(3) {
  width: clamp(64px, 11vw, 92px);
  height: 46px;
  background: #e2c84b;
}

.site-loader.is-animating .loader-conveyor > b {
  animation: yjh-loader-belt-2d 820ms linear infinite;
}

.site-loader.is-animating .loader-cargo-loop {
  animation: yjh-loader-cargo-2d 1.9s linear infinite;
}

.site-loader.is-dormant .loader-conveyor > b,
.site-loader.is-dormant .loader-cargo-loop {
  animation-play-state: paused;
}

@keyframes yjh-loader-belt-2d {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-52px, 0, 0); }
}

@keyframes yjh-loader-cargo-2d {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 900px) {
  .hero-geometry,
  .coordination-visual {
    display: none;
  }

  .hero-stage {
    padding-bottom: 68px;
  }

  .coordination-copy > header {
    padding-top: 0;
  }

  .site-loader-track {
    height: 136px;
  }

  .loader-world {
    top: 8px;
  }

  .loader-conveyor {
    height: 68px;
  }

  .loader-cargo-loop {
    bottom: 44px;
    height: 42px;
  }

  .loader-cargo-group b {
    height: 35px;
  }

  .loader-cargo-group b:nth-child(2) {
    height: 27px;
  }

  .loader-cargo-group b:nth-child(3) {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-conveyor > b,
  .loader-cargo-loop {
    animation: none !important;
  }
}
