/*
 * VANGLAM Delivery System page.
 * Adds factory proof imagery and a glass editorial layer around the 8-step delivery system.
 */
html.vanglam-delivery-system-page .vanglam-v1-page {
  background:
    radial-gradient(circle at 86% 6%, rgba(255, 255, 255, .82), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f3efe7 46%, #f7f4ed 100%);
}

html.vanglam-delivery-system-page .vanglam-page-hero {
  position: relative;
  min-height: 420px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .62fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(247, 245, 241, .96), rgba(247, 245, 241, .74)),
    url("/vanglam/qili-factory-delivery-wall-original-20260611.webp") right center / auto 100% no-repeat;
}

html.vanglam-delivery-system-page .vanglam-page-hero > div {
  align-self: center;
}

html.vanglam-delivery-system-page .vanglam-delivery-back-link {
  position: absolute;
  top: clamp(20px, 2.8vw, 34px);
  left: clamp(20px, 4.8vw, 90px);
  z-index: 4;
  width: max-content;
  min-height: 44px;
  margin: 0;
  padding: 0 18px 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(40, 40, 40, .14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(250, 247, 240, .58)),
    rgba(255, 255, 255, .35);
  color: #284039;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  backdrop-filter: blur(14px) saturate(1.16);
  box-shadow: 0 12px 26px rgba(38, 32, 25, .08);
  transition:
    border-color .18s ease,
    color .18s ease,
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

html.vanglam-delivery-system-page .vanglam-delivery-back-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

html.vanglam-delivery-system-page .vanglam-delivery-back-link:hover,
html.vanglam-delivery-system-page .vanglam-delivery-back-link:focus-visible {
  border-color: rgba(176, 138, 66, .45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(251, 248, 241, .74)),
    rgba(255, 255, 255, .42);
  color: #9a7433;
  outline: none;
  transform: translateX(-2px);
  box-shadow: 0 16px 30px rgba(38, 32, 25, .11);
}

html.vanglam-delivery-system-page .vanglam-page-hero h1 {
  max-width: 840px;
}

html.vanglam-delivery-system-page .vanglam-page-hero aside {
  align-self: center;
}

html.vanglam-delivery-system-page .vanglam-v11-trust-aside {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-color: rgba(255, 255, 255, .58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(248, 244, 235, .54)),
    rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 22px 48px rgba(34, 31, 26, .12);
}

html.vanglam-delivery-system-page .vanglam-delivery-factory-wall,
html.vanglam-delivery-system-page .vanglam-delivery-assurance,
html.vanglam-delivery-system-page .vanglam-v11-delivery-steps {
  width: min(100%, var(--vanglam-max));
  margin: 0 auto;
  padding-left: 90px;
  padding-right: 90px;
}

html.vanglam-delivery-system-page .vanglam-delivery-factory-wall {
  padding-top: 54px;
  padding-bottom: 34px;
  background: #fffdf8;
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(40, 40, 40, .12);
  background: #e7e2d8;
  box-shadow: 0 26px 58px rgba(36, 31, 25, .13);
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 24, .5), rgba(12, 28, 24, .12) 54%, rgba(255, 255, 255, .08)),
    linear-gradient(180deg, transparent 58%, rgba(12, 28, 24, .28));
  pointer-events: none;
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-copy {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(430px, calc(100% - 56px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(248, 244, 235, .62)),
    rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(20px) saturate(1.22);
  backdrop-filter: blur(20px) saturate(1.22);
  box-shadow: 0 18px 44px rgba(10, 20, 18, .23);
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-copy span,
html.vanglam-delivery-system-page .vanglam-delivery-assurance-card span {
  color: var(--vanglam-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-copy h2 {
  margin: 12px 0 14px;
  color: #172a25;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.02;
}

html.vanglam-delivery-system-page .vanglam-delivery-wall-copy p {
  margin: 0;
  color: #33413c;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.58;
}

html.vanglam-delivery-system-page .vanglam-delivery-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  border: 1px solid rgba(40, 40, 40, .12);
  border-top: 0;
  background: rgba(40, 40, 40, .14);
}

html.vanglam-delivery-system-page .vanglam-delivery-metric {
  min-height: 104px;
  padding: 18px 20px;
  display: grid;
  align-content: end;
  gap: 8px;
  background: #f9f6ef;
}

html.vanglam-delivery-system-page .vanglam-delivery-metric strong {
  color: #173f35;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

html.vanglam-delivery-system-page .vanglam-delivery-metric span {
  color: #5d574f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance {
  padding-top: 0;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
  gap: 1px;
  background: #fffdf8;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-intro,
html.vanglam-delivery-system-page .vanglam-delivery-assurance-card {
  border: 1px solid rgba(40, 40, 40, .12);
  background: #faf8f4;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-intro {
  padding: 32px;
  display: grid;
  align-content: center;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-intro h2 {
  margin: 0;
  color: var(--vanglam-ink);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.02;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(40, 40, 40, .12);
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-card {
  min-height: 154px;
  padding: 24px;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-card h3 {
  margin: 11px 0 8px;
  color: #173f35;
  font-family: "Source Sans 3", Noto Sans SC, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.16;
}

html.vanglam-delivery-system-page .vanglam-delivery-assurance-card p {
  margin: 0;
  color: #625d55;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

html.vanglam-delivery-system-page .vanglam-v11-delivery-steps {
  padding-top: 62px;
  padding-bottom: 72px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f4f0e8;
}

html.vanglam-delivery-system-page .vanglam-v11-delivery-steps article {
  min-height: 286px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(250, 248, 244, .92));
  box-shadow: 0 16px 34px rgba(40, 40, 40, .08);
}

html.vanglam-delivery-system-page .vanglam-v11-delivery-steps span {
  width: 42px;
  height: 42px;
  background: #173f35;
  border-color: #173f35;
  color: #f8f4eb;
}

html.vanglam-delivery-system-page .vanglam-v11-delivery-steps h2 {
  color: #172a25;
  font-family: "Source Sans 3", Noto Sans SC, sans-serif;
  font-size: 19px;
  font-weight: 900;
}

html.vanglam-delivery-system-page .vanglam-v11-delivery-steps p {
  color: #5f584f;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 1100px) {
  html.vanglam-delivery-system-page .vanglam-page-hero,
  html.vanglam-delivery-system-page .vanglam-delivery-assurance {
    grid-template-columns: 1fr;
  }

  html.vanglam-delivery-system-page .vanglam-delivery-factory-wall,
  html.vanglam-delivery-system-page .vanglam-delivery-assurance,
  html.vanglam-delivery-system-page .vanglam-v11-delivery-steps {
    padding-left: 34px;
    padding-right: 34px;
  }

  html.vanglam-delivery-system-page .vanglam-v11-delivery-steps,
  html.vanglam-delivery-system-page .vanglam-delivery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html.vanglam-delivery-system-page .vanglam-page-hero {
    background:
      linear-gradient(180deg, rgba(247, 245, 241, .96), rgba(247, 245, 241, .84)),
      url("/vanglam/qili-factory-delivery-wall-original-20260611.webp") center bottom / auto 54% no-repeat;
  }

  html.vanglam-delivery-system-page .vanglam-delivery-factory-wall,
  html.vanglam-delivery-system-page .vanglam-delivery-assurance,
  html.vanglam-delivery-system-page .vanglam-v11-delivery-steps {
    padding-left: 20px;
    padding-right: 20px;
  }

  html.vanglam-delivery-system-page .vanglam-delivery-wall-frame {
    min-height: 520px;
  }

  html.vanglam-delivery-system-page .vanglam-delivery-wall-copy {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 18px;
  }

  html.vanglam-delivery-system-page .vanglam-delivery-metrics,
  html.vanglam-delivery-system-page .vanglam-delivery-assurance-grid,
  html.vanglam-delivery-system-page .vanglam-v11-delivery-steps {
    grid-template-columns: 1fr;
  }
}
