:root {
  color-scheme: light;
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --paper: hsl(150, 20%, 96%);
  --panel: hsl(150, 22%, 91%);
  --ink: hsl(150, 28%, 20%);
  --accent: hsl(150, 32%, 34%);
  --muted: hsl(150, 20%, 36%);
  --line: hsl(150, 18%, 66%);
  --soft: hsl(150, 20%, 87%);
  background: var(--paper);
  color: var(--ink);
  --x: 0;
  --y: 0;
  --progress: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Hide browser chrome only; keep native wheel/touch/keyboard scrolling and snap. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
body { margin: 0; overflow-x: clip; isolation: isolate; }
.viewport-measure, .viewport-extent { position: fixed; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; contain: strict; }
.viewport-extent { height: 100lvh; }
.journey > section { scroll-snap-align: start; scroll-snap-stop: always; }
.ambient {
  position: fixed;
  inset: 0;
  bottom: auto;
  height: var(--viewport-height, 100dvh);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 72%, var(--soft) 0%, var(--paper) 68%);
}
.journey { position: relative; z-index: 1; margin: 0; padding-bottom: var(--viewport-tail, 0px); overflow-anchor: none; }
.scene {
  position: relative;
  height: 100vh;
  height: var(--page-height, var(--viewport-height, 100dvh));
  min-height: 0;
  overflow: hidden;
}
#field, .shade { position: absolute; inset: 0; width: 100%; height: 100%; }
#field { position: fixed; z-index: 3; height: var(--viewport-height, 100dvh); pointer-events: none; }
.shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, hsl(150 20% 96% / .38), transparent 68%, hsl(150 20% 96% / .50)),
    radial-gradient(ellipse at 50% 45%, hsl(150 20% 96% / .50) 0%, transparent 48%);
}
.slogan {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  font-size: calc(clamp(18px, 3.8vw, 80px) * var(--hero-scale, 1));
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.5;
  text-shadow: 0 2px 32px var(--paper);
  transform: translate3d(calc(var(--x) * -7px), calc(var(--y) * -5px - var(--progress) * 14px + var(--hero-float, 0px)), 0);
  user-select: text;
}
.thought { display: block; white-space: nowrap; }
.slogan { opacity: var(--hero-entry-opacity, 1); will-change: transform, opacity; }
.hero-fragments { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.hero-fragment { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; contain: strict; will-change: transform, opacity; }
.brand { font-weight: 600; letter-spacing: -.035em; }
.accent { color: var(--accent); }
.frame { position: absolute; z-index: 2; inset: clamp(22px, 4.2vw, 72px); pointer-events: none; opacity: .38; }
.frame i { position: absolute; width: 16px; height: 16px; border: 1px solid var(--line); }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.about, .delivery, .cases {
  --reading-pad: clamp(14px, calc(4 * var(--viewport-unit, 1svh)), 64px);
  --reading-fraction: 1;
  --body-size: clamp(12px, min(1.55vw, calc(3.8 * var(--viewport-unit, 1svh))), 22px);
  height: 100vh;
  height: var(--page-height, var(--viewport-height, 100dvh));
  min-height: 0;
  overflow: visible;
  display: grid;
  align-items: center;
  padding: max(var(--reading-pad), env(safe-area-inset-top)) max(clamp(16px, 4vw, 56px), env(safe-area-inset-right)) max(var(--reading-pad), env(safe-area-inset-bottom)) max(clamp(16px, 4vw, 56px), env(safe-area-inset-left));
}
.about-inner, .delivery-inner, .cases-inner {
  --reading-scale: 1;
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: calc(clamp(24px, 5vw, 88px) * var(--reading-scale));
  align-items: start;
  min-height: 0;
  overflow: visible;
}
.about h2, .delivery h2, .cases h2 { margin: 0; font-size: calc(clamp(24px, 3vw, 58px) * var(--reading-scale)); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; white-space: nowrap; }
.about-copy, .delivery-copy, .cases-copy { color: var(--muted); font-size: calc(var(--body-size) * var(--reading-scale)); line-height: 1.75; }
.about-copy p, .delivery-copy p, .cases-copy p { text-align: justify; text-align-last: start; text-justify: inter-character; overflow-wrap: break-word; }
.phrase { white-space: nowrap; overflow-wrap: normal; }
.reveal h2 { transform: translate3d(0, var(--idle-y, 0px), 0); }
.about-copy p, .cases-copy p { margin: 0; }
.about-copy p + p, .cases-copy p + p { margin-top: 1.5em; }
.about-copy .principle { color: var(--muted); font-size: 1.04em; }
.principle strong { color: var(--accent); font-size: 1.8em; line-height: 1; font-weight: 500; margin-right: .12em; }
.about-copy .vision { padding: .2em 0 .2em 1em; border-left: 3px solid var(--line); color: var(--accent); font-weight: 600; font-size: 1.1em; line-height: 1.6; }
.delivery-copy p { margin: 0; }
.delivery-copy .delivery-item, .case-details p {
  margin-top: 1.5em;
  padding: .2em 0 .2em 1em;
  border-left: 2px solid var(--line);
  color: var(--accent);
  margin-inline-start: 1.25em;
  font-size: inherit;
}
.delivery-item strong { color: var(--accent); font-weight: 600; font-size: inherit; }
.case-repository { display: flex; align-items: center; gap: .35em; color: var(--accent); font-weight: 600; }
.case-details { margin: 0; }
.case-link { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; flex-shrink: 0; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; font-size: inherit; line-height: inherit; white-space: nowrap; }
.case-link:hover { color: var(--accent); }
.case-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.offer-copy .offer-promise { color: var(--accent); font-weight: 600; font-size: 1.25em; line-height: 1.65; }
.offer-copy .offer-invitation { line-height: 2.3; }
.offer .about-inner { grid-template-columns: minmax(0, 1fr); gap: max(12px, calc(clamp(12px, calc(2 * var(--viewport-unit, 1svh)), 24px) * var(--reading-scale))); text-align: center; }
.offer-copy { width: min(100%, 900px); margin-inline: auto; }
.offer-copy p { text-align: center; text-align-last: center; }
.offer-copy p + p { margin-top: 1em; }
.contact-cluster { display: block; width: max-content; max-width: 100%; margin: max(8px, 1.1em) auto 0; padding: .9em 1em; border: 1px solid var(--line); border-radius: .8em; background: var(--panel); color: var(--ink); font-size: .92em; }
.contact-organization, .contact-person { display: grid; gap: .9em; align-content: start; min-width: 0; text-align: left; }
.contact-person { padding-left: max(6px, 1.2em); border-left: 1px solid var(--line); }
.contact-heading { margin: 0; color: var(--accent); font-size: .95em; font-weight: 600; line-height: 1.4; }
.personal-contact-body { min-width: 0; }
.offer-contact { display: grid; gap: .55em; width: 100%; max-width: 100%; margin: 0; color: var(--ink); font-size: inherit; font-style: normal; line-height: 1.5; text-align: left; }
.offer { position: relative; }
.closing-qr-art { position: fixed; z-index: 4; visibility: hidden; left: 50%; transform: translateX(-50%); bottom: 24px; width: 180px; max-width: calc(100% - 32px); margin: 0; text-align: center; }
.wechat-qr-link { position: relative; display: block; border-radius: .3em; }
.wechat-qr-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wechat-qr { display: block; width: 100%; height: auto; opacity: 0; }
.qr-avatar-frame { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18.367347%; aspect-ratio: 1; background: var(--paper); }
.qr-avatar { display: block; width: 77.777778%; height: auto; margin: 11.111111%; }
.closing-qr-art figcaption { margin-top: 5px; color: var(--accent); font-size: 11px; line-height: 16px; white-space: nowrap; }
.offer.about { --reading-fraction: .74; }
.contact-row { display: flex; align-items: center; gap: .65em; min-width: 0; }
.contact-cluster .contact-row { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); }
.contact-cluster .contact-link { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.contact-icon { flex: none; width: 1.2em; height: 1.2em; color: var(--accent); }
.contact-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; min-width: 0; }
.contact-link { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.contact-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.contact-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.personal-site-domain { display: block; margin-top: .05em; color: var(--muted); font-size: .85em; font-weight: 400; }
.contact-note { color: var(--muted); font-size: .9em; white-space: nowrap; }
.contact-cluster .contact-note { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.site-language { position: fixed; z-index: 5; top: max(8px, env(safe-area-inset-top)); right: max(36px, calc(env(safe-area-inset-right) + 20px)); font-size: 11px; line-height: 16px; }
.site-language a { display: block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--accent); text-decoration: none; }
.site-language a:focus-visible, .service-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.service-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.2em; margin-top: .8em; font-size: .8em; line-height: 1.5; }
.service-links a { color: var(--accent); text-underline-offset: .2em; }
html[lang="en"] .about-copy p, html[lang="en"] .delivery-copy p, html[lang="en"] .cases-copy p { text-justify: auto; }
.week-emphasis, .duration-emphasis { display: inline-block; margin-inline: .12em; padding: 0 .16em; color: var(--accent); background: var(--panel); border-bottom: 2px solid var(--accent); font-size: 1.65em; font-weight: 700; line-height: 1.2; vertical-align: -.08em; }
.reveal { opacity: 1; transform: none; }
@media (min-width: 1024px) and (orientation: landscape) {
  .slogan { bottom: 30%; }
}
@media (orientation: portrait) {
  :root { --viewport-height: 100svh; --page-height: 100lvh; }
  /* Keep the lvh page spacing, but not an oversized native snap area: Chrome
     otherwise permits resting anywhere in the extra browser-toolbar space. */
  .journey > section { scroll-margin-block-end: calc(var(--viewport-height) - var(--page-height)); }
  .slogan { bottom: auto; height: calc(var(--viewport-height) * .70); flex-direction: column; gap: 16px; font-size: calc(clamp(16px, 5.4vw, 44px) * var(--hero-scale, 1)); line-height: 1.65; }
  .brand { font-size: calc(clamp(38px, 12vw, 90px) * var(--hero-scale, 1)); line-height: 1.25; }
  .punctuation { display: none; }
  .frame { inset: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .frame i { width: 12px; height: 12px; }
  .about, .delivery, .cases { --body-size: clamp(11px, min(4.25vw, calc(2.65 * var(--viewport-unit, 1svh))), 23px); --reading-fraction: .60; align-items: start; padding-top: max(var(--reading-pad), 42px, calc(env(safe-area-inset-top) + 26px)); }
  .about-inner, .delivery-inner, .cases-inner { width: min(100%, 760px); grid-template-columns: 1fr; gap: calc(clamp(12px, calc(3 * var(--viewport-unit, 1svh)), 32px) * var(--reading-scale)); }
  .about h2, .delivery h2, .cases h2 { font-size: calc(clamp(26px, min(8vw, calc(7 * var(--viewport-unit, 1svh))), 52px) * var(--reading-scale)); }
}
@media (max-width: 600px) and (orientation: landscape) {
  .about, .delivery, .cases { --body-size: clamp(9px, min(3vw, calc(3.6 * var(--viewport-unit, 1svh))), 16px); --reading-pad: clamp(8px, calc(3 * var(--viewport-unit, 1svh)), 20px); --reading-fraction: .60; align-items: start; padding-top: max(34px, var(--reading-pad), calc(env(safe-area-inset-top) + 26px)); }
  .about-inner, .delivery-inner, .cases-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-inner, .delivery-inner, .cases-inner { gap: calc(8px * var(--reading-scale)); }
  .about h2, .delivery h2, .cases h2 { font-size: calc(clamp(18px, calc(5 * var(--viewport-unit, 1svh)), 28px) * var(--reading-scale)); }
  .about-copy p + p, .cases-copy p + p, .delivery-copy .delivery-item, .case-details p { margin-top: .7em; }
}
@media (max-height: 560px) and (orientation: portrait) {
  .about, .delivery, .cases { --reading-pad: clamp(10px, calc(3 * var(--viewport-unit, 1svh)), 18px); }
  .about-copy, .delivery-copy, .cases-copy { line-height: 1.5; }
  .about-copy p + p, .cases-copy p + p, .delivery-copy .delivery-item, .case-details p { margin-top: .9em; }
  .principle strong { font-size: 1.5em; }
  .about-copy .vision { font-size: 1.05em; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  .slogan { transform: none; }
  .reveal h2 { transform: none; }
  .has-motion .reveal { opacity: 1; transform: none; transition: none; }
}
@media (orientation: landscape) {
  /* Leave a small rounding margin inside the 52% text/illustration boundary. */
  .offer { --reading-fraction: .74; align-items: start; padding-top: max(28px, calc(8 * var(--viewport-unit, 1svh)), env(safe-area-inset-top)); }
}
@media (max-width: 300px) {
  .contact-cluster { gap: .65em; padding: .65em; }
  .contact-cluster .contact-link { white-space: normal; overflow-wrap: anywhere; }
  .contact-person { padding-left: .65em; }
}
@media (max-width: 600px) {
  .contact-cluster { font-size: .84em; gap: max(6px, .9em); }
  .contact-person { padding-left: max(6px, .9em); }
  .contact-cluster .contact-link { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .contact-cluster .contact-row { align-items: start; }
}
@media (forced-colors: active) {
  canvas, .shade, .frame { display: none; }
  .accent { color: CanvasText; }
  .about, .about-copy, .principle strong, .about-copy .vision,
  .delivery, .delivery-copy, .delivery-copy .delivery-item, .delivery-item strong,
  .cases, .cases-copy, .case-link, .offer-copy .offer-promise, .week-emphasis, .duration-emphasis,
  .offer-contact, .contact-icon, .contact-link, .contact-note { background: Canvas; color: CanvasText; }
}
