:root {
  color-scheme: light;
  --navy: #08192e;
  --navy-deep: #061221;
  --line-dark: #2a4059;
  --ice: #f0f7fc;
  --paper: #f7fafc;
  --ink: #132b45;
  --muted: #435e78;
  --quiet: #b2c9e1;
  --line: #cddce8;
  --blue: #0757b8;
  --sky: #79cdf6;
  --pink: #ff668e;
  --gutter: clamp(20px, 5.5vw, 84px);
  --font: system-ui, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-start: 1.2rem; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.mast :focus-visible, .hero :focus-visible, .chapter-packaging :focus-visible, .closing :focus-visible { outline-color: var(--sky); }
.shell { max-inline-size: 1536px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; z-index: 12; inset: .75rem auto auto .75rem; transform: translateY(-170%);
  background: white; color: var(--navy); padding: .6rem .9rem;
}
.skip-link:focus { transform: none; }
.read-progress { display: none; }
.mast { position: relative; z-index: 2; background: var(--navy-deep); color: var(--ice); }
.mast-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-block-size: 80px; }
.wordmark { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; white-space: nowrap; }
.wordmark-logo { display: block; inline-size: 110px; padding: 4px 6px; border-radius: 4px; background: white; }
.wordmark-logo img { inline-size: 100%; }
.wordmark-name { font-size: .87rem; font-weight: 700; letter-spacing: .1em; }
.mast-links { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.mast-links a { display: inline-flex; align-items: center; min-block-size: 44px; font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mast-home { color: var(--quiet); }
.mast-home:hover { color: white; text-decoration: underline; text-underline-offset: .25em; }
.mast-contact { gap: .4rem; padding: .4rem .85rem; border: 1px solid #42607a; border-radius: 4px; }
.mast-contact:hover { border-color: var(--sky); }
.mast-contact span { color: var(--sky); }

.hero {
  color: var(--ice); position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(ellipse at 90% 8%, #123861 0, transparent 66%), linear-gradient(145deg, var(--navy-deep) 14%, var(--navy) 63%);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%; pointer-events: none;
  background: repeating-linear-gradient(90deg, #55a6de12 0 1px, transparent 1px 68px);
  mask-image: linear-gradient(to right, transparent, #000 60%, transparent);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(22px, 4vw, 70px); padding-block: clamp(68px, 9vw, 135px) clamp(48px, 7vw, 94px);
}
.hero-copy { position: relative; z-index: 1; }
.context, .chapter-label {
  display: flex; align-items: center; gap: .68rem; font-size: .84rem; font-weight: 680; letter-spacing: .14em;
}
.context { color: var(--sky); margin-block-end: clamp(22px, 3vw, 36px); }
.context > span { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px #ff668e22; }
.hero h1, .chapter h2, .closing h2 { font-weight: 770; line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 { font-size: clamp(44px, 5.5vw, 85px); color: white; }
.hero h1 span { color: var(--sky); }
.hero-lede { max-inline-size: 29em; margin-block-start: 1.5rem; color: var(--quiet); font-size: clamp(16px, 1.3vw, 19px); }
.hero-link {
  display: inline-flex; align-items: center; gap: 1.6rem; min-block-size: 50px; margin-block-start: 1.85rem;
  padding: .65rem 1.1rem; color: var(--navy); background: var(--ice); font-weight: 760; text-decoration: none; border-radius: 4px;
}
.hero-link span { color: var(--blue); }
.hero-link:hover, .closing-contact:hover { background: var(--sky); }
.hero-photo { position: relative; min-inline-size: 0; }
.hero-photo::before {
  content: ""; position: absolute; z-index: -1; inset: 9% -2.3% 16% 7%; border: 1px solid #79cdf64d; transform: translateY(-1.55rem);
}
.hero-frame {
  position: relative; overflow: hidden; border: 1px solid #507391;
  background: #173656; box-shadow: 0 22px 70px #0006;
}
.hero-frame img { inline-size: 100%; aspect-ratio: 1.21; object-fit: cover; object-position: 53% 50%; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 36px #07172a55;
}
.hero-corners {
  color: #f0f7fcee; position: absolute; inset: 13px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) top left / 20px 1px,
    linear-gradient(currentColor, currentColor) top left / 1px 20px,
    linear-gradient(currentColor, currentColor) bottom right / 20px 1px,
    linear-gradient(currentColor, currentColor) bottom right / 1px 20px;
  background-repeat: no-repeat;
}
.hero-photo figcaption, .feature-figure figcaption {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem;
  padding-block-start: .7rem; font-size: .76rem; letter-spacing: .05em;
}
.hero-photo figcaption { color: var(--quiet); }
.chapter-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-start: 1px solid var(--line-dark); }
.chapter-index a {
  display: flex; align-items: center; justify-content: flex-start; gap: clamp(6px, 1.5vw, 20px);
  min-block-size: 66px; padding-inline: clamp(8px, 1.6vw, 20px); color: var(--ice); font-weight: 680; text-decoration: none;
}
.chapter-index a + a { border-inline-start: 1px solid var(--line-dark); }
.chapter-index a:hover { background: #ffffff10; }
.chapter-index a span:first-child { color: var(--sky); font-size: .75rem; font-variant-numeric: tabular-nums; }
.chapter-index a span:last-child { margin-inline-start: auto; color: var(--sky); }

.chapter { padding-block: clamp(70px, 9.5vw, 143px); }
.chapter-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 105px); align-items: center;
}
.chapter-label { color: var(--blue); margin-block-end: clamp(16px, 2vw, 27px); }
.chapter-label > span {
  display: grid; place-items: center; min-inline-size: 2rem; min-block-size: 1.55rem;
  border: 1px solid currentColor; font-size: .72rem; letter-spacing: .03em;
}
.chapter h2, .closing h2 { font-size: clamp(36px, 4.65vw, 67px); }
.chapter-copy > p:not(.chapter-label) { max-inline-size: 31em; margin-block-start: 1.4rem; color: var(--muted); }
.spec-list, .delivery-list { margin-block: 1.65rem 1.3rem; padding: 0; border-block-start: 1px solid var(--line); }
.spec-list > div, .delivery-list li {
  display: grid; grid-template-columns: minmax(5.4em, .32fr) minmax(0, .68fr);
  gap: .45rem 1rem; padding-block: .72rem; border-block-end: 1px solid var(--line);
}
.spec-list dt, .delivery-list strong { font-weight: 740; font-size: .94rem; }
.spec-list dd, .delivery-list li span { color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: .45em; min-block-size: 44px; color: var(--blue); font-weight: 690; text-underline-offset: .26em; }
.text-link:hover { text-decoration-thickness: 2px; }
.feature-media { position: relative; overflow: hidden; background: #dcecf6; }
.feature-media img { inline-size: 100%; aspect-ratio: 1.35; object-fit: cover; }
.feature-figure figcaption { color: var(--muted); border-block-end: 1px solid var(--line); padding-block-end: .65rem; }

.chapter-packaging { color: var(--ice); background: #0b2340; }
.chapter-packaging .chapter-label, .chapter-packaging .text-link { color: var(--sky); }
.packaging-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 1.5rem 3rem; align-items: end; margin-block-end: 2.6rem;
}
.packaging-intro > p { max-inline-size: 26em; margin-block-end: .35rem; color: var(--quiet); }
.package-explorer { container-type: inline-size; }
.package-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-tabs button {
  position: relative; min-inline-size: 0; min-block-size: 76px; padding: .8rem clamp(.5rem, 2vw, 1.6rem);
  border: 1px solid #405f7d; border-block-end: 0; background: #102c4e; color: var(--ice);
  text-align: start; cursor: pointer;
}
.package-tabs button + button { border-inline-start: 0; }
.package-tabs button > span { display: block; font-weight: 750; }
.package-tabs button small { display: block; color: var(--quiet); font-size: .78rem; }
.package-tabs button:hover { background: #193c62; }
.package-tabs button[aria-selected="true"] { background: var(--ice); color: var(--ink); }
.package-tabs button[aria-selected="true"] small { color: var(--muted); }
.package-tabs button[aria-selected="true"]::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #258bdb; }
.package-tabs button:focus-visible { z-index: 1; outline-offset: -5px; }
.package-tabs button[aria-selected="true"]:focus-visible { outline-color: var(--blue); }
.package-panel {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: stretch;
  background: var(--ice); color: var(--ink);
}
.package-tabs[hidden] + .package-panels .package-panel + .package-panel { margin-block-start: 1rem; }
.package-panel :focus-visible { outline-color: var(--blue); }
.package-panel figure { display: grid; min-inline-size: 0; }
.package-photo {
  position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden;
  min-block-size: clamp(250px, 38vw, 510px); padding: clamp(22px, 4vw, 58px);
  background: radial-gradient(ellipse at 54% 36%, #fff9, transparent 62%), var(--photo-bg, #dcebf7);
}
.package-cn { --photo-bg: #eacfdc; }
.package-en { --photo-bg: #e6ddeb; }
.package-th { --photo-bg: #c4dff1; }
.package-photo img {
  inline-size: auto; block-size: auto; max-block-size: clamp(205px, 28vw, 400px); object-fit: contain;
  border-radius: 3px; box-shadow: 0 12px 32px #132b4539;
}
.package-photo > span {
  position: absolute; inset: auto .8rem .8rem auto; padding: .4rem .68rem; background: var(--navy); color: white;
  font-size: .79rem; font-weight: 650; border-radius: 4px;
}
.package-photo > span span { color: var(--sky); }
.package-photo:hover > span { text-decoration: underline; text-underline-offset: .2em; }
.package-photo:focus-visible { outline-offset: -5px; }
.package-copy { align-self: center; padding: clamp(22px, 4vw, 66px); }
.package-copy h3 { font-size: clamp(26px, 3.2vw, 53px); line-height: 1.19; font-weight: 760; letter-spacing: -.035em; }
.package-copy p { max-inline-size: 22em; margin-block: 1.25rem .7rem; color: var(--muted); }
.chapter-packaging .package-copy .text-link { color: var(--blue); }
.packaging-more { margin-block-start: 1.05rem; }

.chapter-delivery { background: #eaf3fa; }
.delivery-list { list-style: none; }
.delivery-media { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 4px; background: transparent; overflow: visible; }
.delivery-media img { aspect-ratio: auto; block-size: 100%; }
.delivery-media img:first-child { aspect-ratio: .98; object-position: 58% center; }
.delivery-media img:last-child { object-position: center; }
.closing {
  padding-block: clamp(52px, 7vw, 102px); background: radial-gradient(ellipse at 78% 82%, #12518c, transparent 70%), var(--navy);
  color: var(--ice);
}
.closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: end; }
.closing p { max-inline-size: 32em; margin-block-start: 1rem; color: #d0e4f6; }
.closing-links { display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; }
.closing-contact {
  display: inline-flex; align-items: center; gap: 2rem; min-block-size: 52px; padding: .65rem 1rem;
  background: var(--ice); color: var(--navy); border-radius: 4px; text-decoration: none; font-weight: 740;
}
.closing-contact span { color: var(--blue); }
.closing-links .text-link { color: #bde8ff; }
.footer { background: var(--navy-deep); color: var(--quiet); font-size: .85rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-block: .8rem; }
.footer a { display: inline-flex; align-items: center; gap: .5em; min-block-size: 44px; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer a:focus-visible { outline-color: var(--sky); }

.image-dialog { inline-size: min(920px, calc(100% - 32px)); max-block-size: calc(100% - 32px); border: 0; padding: 0; background: var(--ice); color: var(--ink); }
.image-dialog::backdrop { background: #061221da; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .35rem .8rem .35rem 1rem; font-weight: 700; }
.dialog-bar button { min-block-size: 44px; border: 0; background: transparent; cursor: pointer; }
.dialog-bar button:hover { text-decoration: underline; }
.dialog-bar button span { font-size: 1.22em; }
.image-dialog img { inline-size: 100%; max-block-size: min(76dvh, 980px); object-fit: contain; background: #e0eaf2; }

@container (max-width: 630px) {
  .package-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .hero-inner, .chapter-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 40px; padding-block-start: 52px; }
  .hero-frame img { aspect-ratio: 1.53; }
  .hero-photo::before { inset-inline-end: -1.3%; transform: translateY(-.9rem); }
  .chapter-grid { gap: 34px; }
  .feature-media img { aspect-ratio: 1.5; }
  .delivery-media img { aspect-ratio: auto; }
}
@media (max-width: 560px) {
  .mast-inner { min-block-size: 64px; }
  .mast-home { display: none !important; }
  .wordmark { gap: .5rem; }
  .wordmark-logo { inline-size: 87px; }
  .wordmark-name { font-size: .76rem; letter-spacing: .04em; }
  .mast-contact { font-size: .8rem; padding-inline: .55rem; }
  .hero h1 { font-size: clamp(38px, 10.1vw, 54px); }
  .hero-photo figcaption, .feature-figure figcaption { font-size: .72rem; }
  .chapter-index a { min-block-size: 56px; justify-content: center; padding-inline: 2px; font-size: .8rem; white-space: nowrap; }
  .chapter-index a span:last-child { display: none; }
  .packaging-intro { grid-template-columns: minmax(0, 1fr); margin-block-end: 1.6rem; }
  .package-panel { grid-template-columns: minmax(0, 1fr); }
  .package-tabs button { min-block-size: 73px; line-height: 1.4; font-size: .86rem; }
  .package-tabs button small { margin-block-start: .25rem; font-size: .69rem; }
  .closing-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .wordmark-name { display: none; }
  .spec-list > div, .delivery-list li { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: hero-entry 720ms cubic-bezier(.2,.65,.28,1) both; }
  .hero-frame img { animation: photo-entry 1150ms cubic-bezier(.2,.65,.28,1) both; }
  .package-panel:not([hidden]) .package-copy { view-transition-name: package-info; }
  .package-panel:not([hidden]) .package-photo { view-transition-name: package-image; }
  .package-panels::view-transition { pointer-events: none; }
  .package-panels::view-transition-group(*) { animation-duration: 235ms; }
  @supports ((animation-timeline: scroll()) and (animation-range: entry)) {
    .read-progress {
      position: fixed; z-index: 5; display: block; inset: 0 0 auto; block-size: 3px; background: var(--sky);
      pointer-events: none; transform-origin: left; animation: fill-progress linear both; animation-timeline: scroll(root block);
    }
    .chapter-selection .feature-media, .delivery-media {
      animation: media-entry linear both; animation-timeline: view(); animation-range: entry 5% entry 84%;
    }
  }
}
@keyframes hero-entry { from { opacity: .25; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-entry { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fill-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes media-entry { from { opacity: .72; clip-path: inset(4% 0 4% 0); } to { opacity: 1; clip-path: inset(0); } }
