/* GWXTS · site styles
   Sun red, indigo, coral and charcoal from the company letterhead. Chinese text uses the fonts
   already on the device; Poppins (self-hosted) only for Latin headings and labels. */

@layer reset, tokens, base, layout, components, pages, utilities;

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}

/* ------------------------------------------------------------------ reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, ul, ol, figure, dialog { margin: 0; }
  ul[class], ol[class], nav ul, .foot ul { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  input, select, textarea, button { font: inherit; color: inherit; }
  button { cursor: pointer; }
  [hidden] { display: none !important; }
}

/* ------------------------------------------------------------------ tokens */
@layer tokens {
  :root {
    --sun: #d81732;
    --sun-deep: #b5102a;
    --indigo: #3d365f;
    --indigo-deep: #2c2747;
    --indigo-soft: #e9e7f1;
    --coral: #ef3a5d;
    --charcoal: #1c201f;
    --mist: #f5f4f8;
    --paper: #ffffff;
    --text: #2a2d36;
    --muted: #615e74;
    --rule: rgb(61 54 95 / 0.14);
    --rule-strong: rgb(61 54 95 / 0.28);

    --han: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
    --ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --head: 'Poppins', var(--ui);

    --shell: 76rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --radius: 10px;
    --radius-lg: 22px;
    --bar: 0px; /* height of the phone contact bar, set below */
  }
}

/* ------------------------------------------------------------------ base */
@layer base {
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
  body {
    background: var(--paper);
    color: var(--text);
    font: 400 1.0625rem/1.7 var(--ui);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    padding-bottom: var(--bar);
  }
  body.is-zh { font-family: var(--han); line-height: 1.85; }
  h1, h2, h3 { color: var(--indigo); font-family: var(--head); font-weight: 600; line-height: 1.2; text-wrap: balance; }
  .is-zh :is(h1, h2, h3) { font-family: 'Poppins', var(--han); font-weight: 700; letter-spacing: 0.01em; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
  p { text-wrap: pretty; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: var(--indigo); color: #fff; }
}

/* ------------------------------------------------------------------ layout */
@layer layout {
  .shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
  .block { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
  .block--mist { background: var(--mist); }
  .block--indigo { background: var(--indigo); color: #e7e5f0; }
  .block--indigo :is(h2, h3) { color: #fff; }
  .block__head { display: grid; gap: 0.9rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
  .split { display: grid; gap: 2rem; }
  @media (min-width: 60rem) {
    .split { grid-template-columns: 5fr 7fr; align-items: start; gap: 4rem; }
    .split .block__head { margin-bottom: 0; }
  }
}

/* ------------------------------------------------------------------ components */
@layer components {
  /* type */
  .kicker { display: inline-flex; align-items: center; gap: 0.6rem; font: 500 0.82rem/1.4 var(--head); letter-spacing: 0.08em; color: var(--sun); }
  .is-en .kicker { text-transform: uppercase; letter-spacing: 0.12em; }
  .kicker::before { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--sun); flex: none; }
  .display { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.02em; }
  .is-zh .display { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: 0.02em; }
  .headline { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); letter-spacing: -0.015em; }
  .is-zh .headline { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); letter-spacing: 0.02em; }
  .headline--sm { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
  .intro { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); max-width: 40em; }
  .lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--text); }
  .block--indigo .intro { color: #cfcbe2; }

  /* buttons: squared corners, unlike the round pills common elsewhere */
  .button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    min-height: 3rem; padding: 0 1.4rem; border: 1.5px solid transparent; border-radius: 8px;
    font: 600 0.98rem/1 var(--head); text-decoration: none; white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
  }
  .is-zh .button { font-family: 'Poppins', var(--han); font-weight: 600; letter-spacing: 0.04em; }
  .button:active { transform: translateY(1px); }
  .button--sun { background: var(--sun); color: #fff; }
  .button--sun:hover { background: var(--sun-deep); }
  .button--line { border-color: var(--rule-strong); color: var(--indigo); background: var(--paper); }
  .button--line:hover { border-color: var(--indigo); }
  .button--ghost { border-color: rgb(255 255 255 / 0.4); color: #fff; background: transparent; }
  .button--ghost:hover { border-color: #fff; }
  .button--small { min-height: 2.5rem; padding: 0 1rem; font-size: 0.9rem; }
  .button--full { width: 100%; }
  .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .linklike { border: 0; background: none; padding: 0; text-align: start; }

  /* header */
  .skiplink { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--indigo); color: #fff; border-radius: 8px; }
  .skiplink:focus { top: 1rem; }
  .topbar { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.97); border-bottom: 1px solid var(--rule); }
  .topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.75rem; }
  .topbar__brand img { height: 2.5rem; width: auto; }
  .topnav ul { display: flex; gap: 0.25rem; }
  .topnav a { display: block; padding: 0.5rem 0.9rem; text-decoration: none; font-weight: 500; color: var(--text); border-bottom: 2px solid transparent; }
  .is-en .topnav a { font-family: var(--head); font-size: 0.95rem; }
  .topnav a:hover { color: var(--indigo); }
  .topnav a[aria-current='page'] { color: var(--indigo); border-bottom-color: var(--sun); }
  .topbar__tools { display: flex; align-items: center; gap: 0.6rem; }
  .langlink { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0 0.75rem; border-radius: 8px; text-decoration: none; font: 500 0.92rem/1 var(--head); color: var(--indigo); }
  .is-en .langlink { font-family: var(--han); }
  .langlink:hover { background: var(--mist); }
  .topbar__menu { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--paper); color: var(--indigo); }
  .drawer { border-top: 1px solid var(--rule); background: var(--paper); padding-block: 0.5rem 1.5rem; }
  .drawer li a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 1.15rem; font-weight: 600; color: var(--indigo); }
  .drawer li a[aria-current='page'] { color: var(--sun); }
  .drawer__cta { width: 100%; margin-top: 1.25rem; }
  @media (max-width: 63.99rem) {
    .topnav, .topbar__cta { display: none; }
    .topbar__menu { display: inline-flex; }
    .topbar__row { min-height: 4rem; }
    .topbar__brand img { height: 2rem; }
  }
  @media (max-width: 26rem) {
    .topbar__brand img { height: 1.65rem; }
    .langlink span { display: none; }
  }

  /* service cards */
  .cards { display: grid; gap: 1rem; }
  @media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
  /* Five services: 2 per row on tablets (last one full width), 3 + 2 on wide screens */
  @media (min-width: 40rem) and (max-width: 71.99rem) { .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
  @media (min-width: 72rem) {
    .cards { grid-template-columns: repeat(6, 1fr); }
    .cards > * { grid-column: span 2; }
    .cards > :nth-child(4):nth-last-child(2), .cards > :nth-child(5):last-child { grid-column: span 3; }
  }
  .card { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); background: var(--paper); transition: border-color .25s, box-shadow .25s; }
  .card:hover { border-color: var(--indigo); box-shadow: 0 18px 40px -28px rgb(61 54 95 / 0.55); }
  .card p { color: var(--muted); flex: 1; }
  .card__title { font-size: 1.2rem; }
  .card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--sun); color: #fff; flex: none; }
  .card__icon--lg { width: 4rem; height: 4rem; }
  .card__link { display: inline-flex; align-items: center; gap: 0.4rem; font: 600 0.95rem/1.4 var(--head); color: var(--indigo); text-decoration: none; }
  .card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
  .card:hover .card__link .ico { transform: translateX(3px); }
  .card__link .ico { transition: transform .2s; }

  /* facts on indigo */
  .facts { display: grid; gap: 1px; background: rgb(255 255 255 / 0.14); border-radius: var(--radius-lg); overflow: hidden; }
  @media (min-width: 52rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
  .fact { display: grid; gap: 0.7rem; align-content: start; padding: 2rem 1.75rem; background: var(--indigo); }
  .fact h3 { font-size: 1.2rem; }
  .fact__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--coral); color: var(--coral); }

  /* process as a shipping route */
  .route { display: grid; gap: 1.5rem; position: relative; counter-reset: stop; }
  .route__stop { position: relative; display: grid; gap: 0.35rem; padding-left: 3.75rem; }
  .route__stop h3 { font-size: 1.1rem; }
  .route__stop p { color: var(--muted); font-size: 0.98rem; }
  .route__dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--indigo); color: #fff; font: 600 1rem/1 var(--head); z-index: 1; }
  .route__stop:not(:last-child)::before { content: ''; position: absolute; left: 1.25rem; top: 2.6rem; bottom: -1.5rem; border-left: 2px dashed var(--coral); }
  .route__stop:last-child .route__dot { background: var(--sun); }
  @media (min-width: 60rem) {
    .route { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
    .route__stop { padding-left: 0; padding-top: 3.75rem; }
    .route__stop:not(:last-child)::before { left: 2.6rem; right: -1.25rem; top: 1.3rem; bottom: auto; border-left: 0; border-top: 2px dashed var(--coral); }
  }

  /* product ranges */
  .ranges { display: grid; gap: 1rem; }
  @media (min-width: 52rem) { .ranges { grid-template-columns: repeat(3, 1fr); } }
  .range { display: grid; gap: 0.9rem; align-content: start; padding: 1.75rem; border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); background: var(--paper); border: 1px solid var(--rule); }
  .range h3 { font-size: 1.25rem; }
  .range__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--indigo); color: #fff; }
  .range .ticks { gap: 0.55rem; }
  .range--open { border-style: dashed; border-color: var(--rule-strong); background: transparent; }
  .range--open .range__icon { background: var(--sun); }
  .range--open p { color: var(--muted); }

  /* call to action: the letterhead's dark block with one rounded corner */
  .callout { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
  .callout__box {
    position: relative; overflow: hidden;
    display: grid; gap: 1.5rem; align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
    border-radius: 64px 14px 14px 14px; background: var(--indigo); color: #dcd8ea;
  }
  .callout__box h2 { color: #fff; }
  .callout__box p { margin-top: 0.5rem; }
  .callout__box::after { content: ''; position: absolute; right: -4.5rem; top: -4.5rem; width: 13rem; height: 13rem; border-radius: 50%; background: var(--sun); opacity: 0.9; pointer-events: none; }
  .callout__box > * { position: relative; z-index: 1; }
  @media (min-width: 56rem) { .callout__box { grid-template-columns: 1fr auto; gap: 3rem; } }
  @media (max-width: 55.99rem) { .callout__box::after { width: 8rem; height: 8rem; right: -3rem; top: -3rem; } }

  /* page title band */
  .pagehead { position: relative; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--rule); }
  .pagehead::after { content: ''; position: absolute; right: max(-7rem, calc((100vw - var(--shell)) / 2 - 7rem)); top: 50%; width: 15rem; height: 15rem; translate: 0 -50%; border-radius: 50%; background: var(--sun); }
  .pagehead__inner { position: relative; z-index: 1; display: grid; gap: 0.9rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); padding-right: clamp(var(--gutter), 18vw, 16rem); }
  @media (max-width: 40rem) { .pagehead::after { width: 7rem; height: 7rem; right: -3rem; top: 1.5rem; translate: none; } }
  .crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.92rem; color: var(--muted); }
  .crumbs a { text-decoration: none; }
  .crumbs a:hover { color: var(--indigo); text-decoration: underline; }

  /* lists */
  .ticks { display: grid; gap: 0.8rem; }
  @media (min-width: 40rem) { .ticks:not(.ticks--compact, .ticks--stack) { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
  .ticks li { position: relative; padding-left: 1.4rem; }
  .ticks li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--sun); }
  .ticks--compact { gap: 0.35rem; font-size: 0.98rem; color: var(--muted); }

  /* form */
  .field { display: grid; gap: 0.4rem; }
  .field > span { font-weight: 600; color: var(--indigo); font-size: 0.95rem; }
  .field em { font-style: normal; font-weight: 400; color: var(--muted); }
  .field input, .field select, .field textarea {
    width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1.5px solid var(--rule-strong); border-radius: 8px; background: var(--paper);
    transition: border-color .2s, box-shadow .2s;
  }
  .field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
  .field :is(input, select, textarea):focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
  .field :is(input, select, textarea):user-invalid { border-color: var(--sun); }

  /* quick contact */
  .reach { position: fixed; z-index: 40; display: flex; }
  .reach__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
    border: 0; background: none; color: #fff; text-decoration: none; font: 500 0.72rem/1.2 var(--head);
  }
  .is-zh .reach__item { font-family: var(--han); font-size: 0.78rem; }
  @media (min-width: 64rem) {
    .reach { right: 0; top: 50%; translate: 0 -50%; flex-direction: column; background: var(--indigo); border-radius: 14px 0 0 14px; overflow: hidden; box-shadow: 0 16px 40px -20px rgb(28 32 31 / 0.6); }
    .reach__item { width: 4.25rem; height: 4.25rem; transition: background-color .2s; }
    .reach__item + .reach__item { border-top: 1px solid rgb(255 255 255 / 0.12); }
    .reach__item:hover { background: var(--sun); }
  }
  @media (max-width: 63.99rem) {
    :root { --bar: calc(3.75rem + env(safe-area-inset-bottom, 0px)); }
    .reach { left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--indigo); }
    .reach__item { flex: 1; height: 3.75rem; }
    .reach__item + .reach__item { border-left: 1px solid rgb(255 255 255 / 0.12); }
    .reach__item--wechat { background: var(--sun); }
  }

  /* WeChat card */
  .wxcard { width: min(22rem, calc(100vw - 2rem)); padding: 1.5rem; border: 0; border-radius: 18px; background: var(--paper); color: var(--text); box-shadow: 0 30px 80px -24px rgb(28 32 31 / 0.55); text-align: center; }
  .wxcard[open] { margin: auto; }
  .wxcard::backdrop { background: rgb(28 32 31 / 0.55); }
  .wxcard__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; text-align: start; }
  .wxcard__head h2 { font-size: 1.15rem; }
  .wxcard__badge { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--sun); color: #fff; }
  .wxcard__close { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: var(--mist); color: var(--indigo); }
  .wxcard__qrslot:empty { display: none; }
  .wxcard__qr { margin: 1.25rem auto 0; width: 13.75rem; border-radius: 12px; border: 1px solid var(--rule); }
  .wxcard__hint { margin-top: 1rem; color: var(--muted); }
  .wxcard__id { display: grid; gap: 0.6rem; justify-items: center; margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--mist); }
  .wxcard__id span { font-size: 0.9rem; color: var(--muted); }
  .wxcard__id strong { font: 600 1.35rem/1.2 var(--head); color: var(--indigo); letter-spacing: 0.02em; }
  @media (max-width: 40rem) {
    .wxcard[open] { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  }

  /* footer: the letterhead band, then charcoal */
  .foot { margin-top: clamp(3rem, 7vw, 5rem); }
  .foot__band { position: relative; height: 3.5rem; }
  .foot__strip { position: absolute; left: 0; bottom: 0; width: 38%; height: 1.15rem; background: var(--coral); }
  .foot__block { position: absolute; right: 0; bottom: 0; width: 66%; height: 3.5rem; background: var(--charcoal); border-top-left-radius: 3.5rem; }
  .foot__body { background: var(--charcoal); color: #b8bcc0; padding-top: clamp(2rem, 5vw, 3.5rem); }
  .foot__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
  @media (min-width: 52rem) { .foot__grid { grid-template-columns: 1.4fr 1fr 1.1fr; gap: 3rem; } }
  .foot__about { display: grid; gap: 1.1rem; align-content: start; }
  .foot__about img { height: 2.4rem; width: auto; }
  .foot__about p { max-width: 26rem; }
  .foot__col h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
  .is-zh .foot__col h2 { letter-spacing: 0.08em; font-size: 0.95rem; }
  .foot__col ul { display: grid; gap: 0.55rem; }
  .foot__col a, .foot__col button { text-decoration: none; color: inherit; }
  .foot__col a:hover, .foot__col button:hover { color: #fff; }
  .foot__reach li > * { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.25rem; }
  .foot__reach .ico { color: var(--coral); flex: none; }
  .foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.88rem; }
  .foot__base a { color: inherit; }
}

/* ------------------------------------------------------------------ pages */
@layer pages {
  /* hero */
  .hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
  .hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
  @media (min-width: 64rem) { .hero__grid { grid-template-columns: 7fr 5fr; } }
  .hero__copy { display: grid; gap: 1.25rem; justify-items: start; }
  .hero__copy .actions { margin-top: 0.5rem; }
  .hero__points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 0.75rem; color: var(--indigo); font-weight: 500; }
  .hero__points li { display: inline-flex; align-items: center; gap: 0.45rem; }
  .hero__points .ico { color: var(--sun); }
  .hero__art { position: relative; aspect-ratio: 1 / 0.92; max-width: 34rem; width: 100%; margin-inline: auto; }
  .hero__sun { position: absolute; right: 4%; top: 0; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
  .hero__panel { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; border-radius: 72px 16px 16px 16px; background: var(--indigo); overflow: hidden; box-shadow: 0 30px 60px -36px rgb(28 32 31 / 0.7); }
  .hero__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__origin { position: absolute; left: 1.5rem; bottom: 1.25rem; display: grid; gap: 0.1rem; color: #fff; }
  .hero__origin strong { font-size: 1.35rem; }
  .hero__origin span { font: 500 0.72rem/1 var(--head); letter-spacing: 0.18em; color: #b9b4d4; }

  /* services list */
  .svclist { display: grid; gap: 1rem; }
  .svclist__item { display: grid; gap: 1.25rem; padding: 1.75rem; border: 1px solid var(--rule); border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); }
  .svclist__main { display: grid; gap: 0.75rem; }
  .svclist__main > p { color: var(--muted); }
  @media (min-width: 52rem) { .svclist__item { grid-template-columns: auto 1fr auto; align-items: start; gap: 2rem; padding: 2.25rem; } }

  /* service detail */
  .detail { display: grid; gap: 2.5rem; }
  .detail__main { display: grid; gap: 1.75rem; align-content: start; }
  .detail__aside { display: grid; gap: 1.25rem; align-content: start; padding: 2rem; border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); background: var(--mist); }
  @media (min-width: 60rem) { .detail { grid-template-columns: 1fr 22rem; gap: 4rem; } .detail__aside { position: sticky; top: 6.5rem; } }
  .deliver { display: grid; gap: 0.8rem; }
  .deliver li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--indigo); font-weight: 500; }
  .deliver .ico { flex: none; color: var(--sun); margin-top: 0.2em; }
  .others { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
  @media (min-width: 48rem) { .others { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 72rem) { .others { grid-template-columns: repeat(4, 1fr); } }
  .others a { display: flex; align-items: center; gap: 0.75rem; min-height: 4rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--rule); text-decoration: none; font-weight: 600; color: var(--indigo); }
  .others a span { flex: 1; }
  .others a:hover { border-color: var(--indigo); }
  .others .ico:first-child { color: var(--sun); }

  /* about */
  .story { display: grid; gap: 2.5rem; align-items: start; }
  @media (min-width: 60rem) { .story { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
  .story__text { display: grid; gap: 1.25rem; }
  .namecard { display: grid; gap: 1.25rem; padding: 2rem; border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); background: var(--mist); }
  .namecard img { width: 7rem; }
  .namecard figcaption { display: grid; gap: 0.6rem; }
  .principles { display: grid; gap: 1rem; margin-top: 2rem; }
  @media (min-width: 40rem) { .principles { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 72rem) { .principles { grid-template-columns: repeat(4, 1fr); } }
  .principles li { display: grid; gap: 0.6rem; align-content: start; padding: 1.75rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--rule); }
  .principles .fact__icon { border-color: var(--sun); color: var(--sun); }
  .principles p { color: var(--muted); }

  /* contact */
  .contact { display: grid; gap: 2.5rem; align-items: start; }
  @media (min-width: 64rem) { .contact { grid-template-columns: 1.6fr 1fr; gap: 3.5rem; } }
  .enquiry { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--rule); border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); }
  .enquiry__grid { display: grid; gap: 1.1rem; }
  @media (min-width: 40rem) { .enquiry__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
  .enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
  .enquiry__foot p { color: var(--muted); font-size: 0.92rem; }
  .enquiry__status { padding: 0.9rem 1.1rem; border-radius: 8px; font-weight: 600; }
  .enquiry__status[data-state='ok'] { background: #e6f3ea; color: #18603a; }
  .enquiry__status[data-state='error'] { background: #fde8ec; color: var(--sun-deep); }
  .channels { display: grid; gap: 0.85rem; }
  .channels .headline { margin-bottom: 0.25rem; }
  .channel { display: grid; gap: 0.5rem; justify-items: start; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--mist); text-decoration: none; color: var(--text); }
  a.channel:hover { background: var(--indigo-soft); }
  .channel__label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--indigo); }
  .channel__label .ico { color: var(--sun); }
  .channel strong { font: 600 1.15rem/1.3 var(--head); color: var(--indigo); }
  .channel--wechat img { border-radius: 10px; border: 1px solid var(--rule); background: #fff; }

  /* privacy */
  .prose { display: grid; gap: 0.75rem; max-width: 48rem; }
  .prose h2 { font-size: 1.25rem; margin-top: 1.25rem; }

  /* 404 */
  .lost__inner { display: grid; gap: 1rem; justify-items: start; padding-block: clamp(4rem, 12vw, 8rem); }
  .lost__inner img { width: 6rem; margin-bottom: 1rem; }
}

/* ------------------------------------------------------------------ utilities */
@layer utilities {
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  }
}
