/* Homepage revision informed by the YF U-Shine LinkedIn brand and company copy. */
:root {
  --navy-950: #0a243a;
  --navy-900: #0e3150;
  --navy-800: #16476d;
  --navy-700: #16608e;
  --brass-600: #176fa9;
  --brass-500: #278ac4;
  --brass-400: #4aa3d5;
  --brass-300: #a4daf1;
  --font-sans: "Manrope", "Noto Sans TC", "Noto Sans SC", sans-serif;
  --font-display: "Manrope", "Noto Sans TC", "Noto Sans SC", sans-serif;
}

/* Show content even when an intersection observer never fires. */
.reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
.reveal-stagger.in-view > * { animation: none !important; }

.hero {
  color: var(--navy-950);
  background: linear-gradient(125deg, #ffffff 0%, #f4f9fc 70%, #e7f3fa 100%);
  min-height: 0;
  padding: calc(var(--nav-h) + clamp(4rem, 7vw, 7rem)) 0 clamp(4rem, 6vw, 6rem);
}
.hero-bg, .hero-stats { display: none; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.hero-content { max-width: 760px; padding: 0; }
.hero-badge { color: var(--brass-600); margin-bottom: 1.65rem; letter-spacing: .14em; }
.hero-badge::before { background: var(--brass-600); }
.hero h1 {
  color: var(--navy-950);
  font-size: clamp(3.5rem, 4.65vw, 5.2rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 em { color: var(--brass-600); font-style: normal; }
.hero-sub {
  max-width: 60ch;
  color: #365268;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.75;
}
.hero-actions { margin-top: 2rem; }
.hero .btn-gold { background: #147cba; color: #fff; box-shadow: none; }
.hero .btn-gold:hover { background: #0d679f; box-shadow: none; }
.hero .btn-ghost-light { color: var(--navy-900); border-color: #91b8ce; }
.hero .btn-ghost-light:hover { background: #e1f1f9; border-color: var(--navy-700); }

.hero-service-index {
  background: #0e3655;
  color: #fff;
  padding: clamp(1.6rem, 3vw, 3rem);
  border-top: 5px solid #45a7db;
  box-shadow: 0 28px 55px rgb(9 43 66 / .14);
}
.hero-index-kicker {
  color: #a9dbf3;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .73rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero-service-index a {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  min-height: 70px;
  gap: .75rem;
  border-top: 1px solid rgb(255 255 255 / .2);
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 700;
  transition: color .2s ease, padding-left .2s ease;
}
.hero-service-index a:hover { color: #a9dbf3; padding-left: .4rem; }
.hero-service-index a:focus-visible { outline: 3px solid #a9dbf3; outline-offset: 3px; }
.hero-index-num { color: #92c7e4; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-service-index p { border-top: 1px solid rgb(255 255 255 / .2); padding-top: 1.25rem; color: #c6d9e5; font-size: .88rem; line-height: 1.65; }

.creds { background: #fff; }
.services { background: #f9fbfc; }
.services-grid { margin-top: 2.4rem; }
.svc-card { grid-template-areas: "num title text" "num title tags" "num title link"; row-gap: .3rem; }
.svc-card::before { background: var(--brass-500); }
.svc-card:hover { background: #eaf5fa; }
.svc-link {
  grid-area: link;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  margin-top: .7rem;
  color: var(--navy-800);
  font-weight: 800;
  border-bottom: 1px solid var(--brass-600);
}
.svc-link:hover { color: var(--brass-600); }
.svc-link:focus-visible, .footer-contact-link:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 4px; }

.footer-contact-copy { color: #d1e0e8; font-size: .9rem; line-height: 1.65; margin-bottom: 1rem; }
.footer-contact-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: #9fdbf7; font-weight: 700; border-bottom: 1px solid currentColor; }
.footer-contact-link:hover { color: #fff; }
.footer-wordmark em { color: #6eb9e0; }
.upd-card-text { background: transparent; border: 0; border-top: 1px solid #b7cdda; border-radius: 0; box-shadow: none; }
.upd-card-text:hover { transform: none; box-shadow: none; }
.upd-card-text .upd-body { padding: 1.5rem 0; }
.upd-card-text .upd-title { max-width: 24ch; }

/* Geographic world map and concise region index. */
.coverage-grid { display: block; border: 1px solid #c7d8e2; background: #fff; }
.coverage-map { min-width: 0; overflow: hidden; background: #eaf4f8; }
.coverage-world-map { display: block; width: 100%; height: auto; }
.coverage-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1rem 2rem; gap: 0 1.5rem; }
.coverage-region { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: start; gap: .7rem; padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid #d7e3e9; }
.coverage-region:nth-last-child(-n+2) { border-bottom: 0; }
.coverage-region-index { color: #268bc1; font-size: .74rem; font-weight: 800; letter-spacing: .08em; padding-top: .2rem; }
.coverage-region-name { font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.coverage-region-markets { margin-top: .35rem; line-height: 1.55; font-size: .82rem; }
.coverage-region-arrow { display: none; }

.updates-more { display: inline-flex; align-items: center; gap: .55rem; margin-top: 2rem; min-height: 44px; color: var(--navy-800); font-weight: 800; border-bottom: 1px solid #2f8fc1; }
.updates-more:hover { color: #126fa5; }
.updates-more:focus-visible { outline: 3px solid #4aa3d5; outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-service-index { max-width: 650px; }
  .coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding: calc(var(--nav-h) + 2.6rem) 0 3.5rem; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); letter-spacing: -.04em; }
  .hero-sub { line-height: 1.7; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; min-height: 48px; }
  .hero-service-index { padding: 1.5rem; }
  .hero-service-index a { min-height: 62px; }
  .svc-card { grid-template-areas: "num" "title" "text" "tags" "link"; }
  .coverage-list { grid-template-columns: 1fr; padding: .4rem 1.4rem; }
  .coverage-region, .coverage-region:nth-last-child(-n+2) { grid-template-columns: 1.8rem minmax(0, 1fr); gap: .55rem; border-bottom: 1px solid #d7e3e9; }
  .coverage-region:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-service-index a { transition: none; }
}

/* Door-to-door shipment figure (Anatomy isometric model, embedded same-origin). */
.shipment { background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%); border-top: 1px solid var(--hairline); }
.shipment-figure { margin: 0 auto; max-width: 1180px; }
.shipment-figure iframe { display: block; width: 100%; height: 520px; border: 0; background: transparent; }
@media (max-width: 640px) { .shipment-figure iframe { height: 300px; } }
.shipment-stages {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}
.shipment-stage { min-width: 0; padding-top: 1.1rem; border-top: 2px solid #c9dfee; }
.shipment-stage:nth-child(3), .shipment-stage:nth-child(5) { border-top-color: var(--brass-500); }
.shipment-days {
  display: block;
  color: var(--brass-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.shipment-stage h3 { margin: .45rem 0 .35rem; color: var(--navy-950); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.shipment-stage p { margin: 0; color: var(--ink-500); font-size: .86rem; line-height: 1.6; }
.shipment-note { margin: 2rem 0 0; max-width: 72ch; color: var(--ink-500); font-size: .82rem; line-height: 1.6; }
@media (max-width: 980px) { .shipment-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .shipment-stages { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .shipment-figure { margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2.5rem)); }
}
