/* Homepage specific styles */
.hero {
  position: relative;
  isolation: isolate;
  background: #253a47;
  color: #fff;
  min-height: 600px;
  display: flex;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 47%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #081d35ed 0%, #0c233ace 23%, #0e253a78 48%, #0b1b2d00 75%),
    linear-gradient(0deg, #091c337d 0%, transparent 30%);
}
.hero-content {
  position: relative;
  padding: 72px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 46px;
}
.hero-copy { max-width: 610px; }
.hero .eyebrow { font-size: 9px; color: #e4ebf2; }
.hero h1 { font-size: clamp(50px, 5.6vw, 82px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; margin: 24px 0; }
.hero h1 em { font-style: normal; color: #c6def1; }
.hero-intro { font-size: 15px; line-height: 1.7; color: #e2e9ee; }
.hero .primary { margin-top: 28px; width: 100%; max-width: 360px; }
.hero-secondary { font-size: 11px; display: inline-flex; align-items: center; gap: 22px; margin-top: 19px; flex-wrap: wrap; }
.hero-secondary:hover { color: #f6c87f; }
.hero-secondary .zh { width: 100%; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .12em; color: #d5e1e9; }
.scene-label { font-size: 8px; letter-spacing: .08em; color: #fff; background: #0a223a9c; padding: 7px 9px; line-height: 1.4; white-space: nowrap; }
.hero-bottom .scene-label { background: #0a223a7d; }

.buyer-band { background: #102b46; color: #e3eaf0; }
.buyer-band-inner { display: flex; gap: 25px; align-items: center; justify-content: space-between; min-height: 78px; padding: 18px 0; }
.band-label { font-size: 9px; font-weight: 600; letter-spacing: .1em; color: #a9bdce; }
.buyer-band-inner p { font-size: 13px; letter-spacing: .01em; }
.buyer-band-inner p > span:not(.zh) { padding: 0 13px; color: #667f96; }
.buyer-band-inner > a { font-size: 22px; }

.who { padding: 96px 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.who h2 { margin: 22px 0 24px; }
.body-copy { max-width: 455px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.buyer-details { margin: 27px 0 21px; max-width: 440px; }
.buyer-details > div { display: flex; gap: 22px; padding: 13px 0; border-top: 1px solid var(--line); align-items: start; }
.buyer-details > div > span { color: #85939d; font-size: 10px; padding-top: 3px; }
.buyer-details p { font-size: 12px; }
.who-image { position: relative; align-self: stretch; min-height: 520px; }
.who-image > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 44% 12%; }
.who-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px;
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
  background: linear-gradient(0deg, #0c243acc, transparent);
}

.settings { background: var(--soft); padding: 80px 0 54px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: end; margin-bottom: 40px; }
.section-heading h2 { margin-top: 17px; }
.section-intro { max-width: 340px; margin-left: auto; font-size: 13px; color: var(--muted); line-height: 1.85; }
.scene-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 42px; align-items: start; }
.scene-card figure { height: 370px; position: relative; overflow: hidden; }
.scene-card figure img { height: 100%; object-fit: cover; object-position: 50% 50%; }
.scene-card figure > .scene-label { position: absolute; bottom: 15px; right: 15px; }
.warehouse { padding-top: 70px; }
.warehouse figure { height: 390px; }
.warehouse figure img { object-position: 50% 47%; }
.warehouse figure > .scene-label { top: 15px; bottom: auto; }
.scene-copy { padding: 25px 0 0; }
.scene-index { font-size: 9px; font-weight: 500; letter-spacing: .12em; color: #748490; line-height: 1.6; }
.scene-copy h3 { font-size: 32px; line-height: 1.1; letter-spacing: -.04em; font-weight: 500; margin: 13px 0 16px; }
.scene-copy > p:not(.zh) { font-size: 13px; color: var(--muted); max-width: 400px; }
.scene-copy .text-link { margin-top: 18px; }

.more-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 62px; }
.more-settings article { border-top: 1px solid #c9d5da; padding-top: 22px; }
.more-settings h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; margin: 14px 0 15px; }
.more-settings p:not(.zh) { font-size: 12px; color: var(--muted); line-height: 1.9; }
.arrow-link { padding: 0; margin-top: 19px; font-size: 11px; display: inline-flex; align-items: center; gap: 20px; line-height: 1.6; flex-wrap: wrap; font-weight: 600; }
.arrow-link .zh { width: 100%; }
.arrow-link:hover { color: var(--blue); }
.settings-note { font-size: 10px; color: #6b7e8c; margin-top: 38px; }

.routes { padding: 85px 0 64px; }
.routes .section-heading { margin-bottom: 34px; }
.routes h2 { font-size: 43px; }
.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.route-card { display: flex; flex-direction: column; }
.route-image { background: #f2f4f5; height: 205px; margin-bottom: 18px; overflow: hidden; }
.route-image img { height: 100%; object-fit: contain; padding: 15px; mix-blend-mode: multiply; transition: transform .25s ease; }
.route-card:hover .route-image img { transform: translateY(-4px); }
.route-no { font-size: 9px; color: #81909a; }
.route-grid h3 { font-size: 17px; font-weight: 500; letter-spacing: -.035em; margin: 8px 0 9px; }
.route-grid p { font-size: 11px; color: var(--muted); line-height: 1.8; }
.route-card-link { margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.route-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.route-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.route-detail-link img { flex: 0 0 auto; width: 54px; }
.route-detail-link:hover { color: var(--blue); }
.routes-bottom { display: flex; justify-content: space-between; align-items: center; gap: 40px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 33px; }
.routes-bottom p { max-width: 550px; font-size: 11px; color: #677784; }
.routes-bottom a { font-size: 12px; white-space: nowrap; }

.conversation { background: #eaf0f4; padding: 70px 0; }
.conversation-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 95px; align-items: start; }
.conversation h2 { font-size: 39px; margin: 22px 0; }
.conversation-intro { max-width: 390px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 25px; padding: 20px 0; border-top: 1px solid #c2d1dc; }
.steps li:first-child { padding-top: 0; border: 0; }
.steps li > span { font-size: 10px; color: #6f8799; padding-top: 4px; }
.steps h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { font-size: 12px; color: var(--muted); line-height: 1.8; }

.partners { padding: 65px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 45px; }
.partners h2 { font-size: 28px; line-height: 1.18; margin-top: 19px; }
.partner-route { border-top: 1px solid var(--line); padding-top: 14px; }
.partner-route h3 { font-weight: 500; font-size: 18px; letter-spacing: -.025em; margin: 12px 0; }
.partner-route p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.partner-route .text-link { font-size: 11px; gap: 15px; margin-top: 15px; }

.closing { background: #102d4d; color: #fff; padding: 68px 0; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 65px; }
.closing .eyebrow { color: #b1c4d5; margin-bottom: 22px; }
.closing h2 { font-size: 43px; }
.closing-inner > div:last-child { max-width: 390px; }
.closing p:not(.eyebrow):not(.zh) { font-size: 13px; color: #c4d0db; line-height: 1.8; margin-bottom: 24px; }
.closing .primary { width: 100%; }

.show-zh .hero .zh { color: #d7e2eb; }
.show-zh .hero .primary .zh { color: var(--ink); }
.show-zh .buyer-band .zh { color: #b1c2cf; }
.show-zh .closing .zh { color: #c3d1dd; }
.show-zh .closing .primary .zh { color: var(--ink); }
.show-zh .section-zh { font-size: 15px; }
.show-zh .hero-zh { font-size: 17px; max-width: 490px; }
.show-zh .hero-bottom .zh { font-size: 10px; }
.show-zh .route-detail-link .zh { margin-top: 2px; font-size: 11px; }

@media (min-width: 1051px) {
  .warehouse figure { height: auto; aspect-ratio: 4 / 3; }
}
@media (min-width: 1600px) { .hero { min-height: 660px; } }
@media (max-width: 1050px) {
  .hero h1 { font-size: 64px; }
  .who { gap: 50px; }
  .who-image { min-height: 480px; }
  .section-heading { gap: 40px; }
  .scene-grid { gap: 30px; }
  .scene-card figure { height: 300px; }
  .warehouse figure { height: 345px; }
  .more-settings { gap: 28px; }
  .route-grid { gap: 18px; }
  .route-image { height: 180px; }
  .conversation-inner { gap: 48px; }
  .partners { gap: 30px; }
  .closing { padding: 57px 0; }
  .closing h2 { font-size: 38px; }
}
@media (max-width: 720px) {
  .hero, .show-zh .hero { display: flex; flex-direction: column; min-height: 0; background: #102d4d; }
  .hero-image { position: relative; inset: auto; order: 0; height: 280px; object-position: 90% 35%; z-index: auto; }
  .hero-shade { display: none; }
  .hero-content { order: 1; padding: 34px 0 24px; gap: 31px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 58px); margin: 20px 0; }
  .hero .primary { max-width: 100%; padding: 15px 16px; }
  .hero-bottom { flex-direction: column; align-items: start; gap: 14px; }
  .hero-bottom .scene-label { align-self: flex-start; background: #ffffff14; }
  .buyer-band-inner { padding: 20px 0; flex-wrap: wrap; gap: 12px; }
  .band-label { width: 100%; }
  .who { padding: 56px 0; grid-template-columns: 1fr; gap: 33px; }
  .who-image { height: 360px; min-height: 0; }
  .who-image > img { object-position: 50% 46%; }
  .settings { padding: 48px 0 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 29px; }
  .section-intro { max-width: 100%; margin-left: 0; }
  .scene-grid { grid-template-columns: 1fr; gap: 36px; }
  .scene-card figure { height: 250px; }
  .warehouse { padding-top: 0; }
  .warehouse figure { height: 340px; }
  .more-settings { grid-template-columns: 1fr; gap: 28px; margin-top: 38px; }
  .routes { padding: 52px 0 38px; }
  .routes h2 { font-size: 34px; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 27px; }
  .route-image { height: 168px; }
  .routes-bottom { flex-direction: column; align-items: start; gap: 16px; }
  .conversation { padding: 47px 0; }
  .conversation-inner { grid-template-columns: 1fr; gap: 31px; }
  .partners { padding: 43px 0; grid-template-columns: 1fr; gap: 30px; }
  .closing { padding: 46px 0; }
  .closing-inner { display: block; }
  .closing-inner > div:last-child { margin-top: 24px; max-width: 100%; }
}
