:root {
  --bg: #020817;
  --panel: #061027;
  --ink: #f7f8fc;
  --muted: #aeb7ca;
  --blue: #1774ff;
  --accent: #1774ff;
  --cyan: #68d9ff;
  --line: rgba(122, 160, 232, .22);
  --soft-line: rgba(255, 255, 255, .14);
  --max: 1440px;
  --pad: 42px;
  --page-max: 1120px;
--page-pad: clamp(36px, 8vw, 120px);
--page-shell: min(var(--page-max), calc(100vw - 32px - (var(--page-pad) * 2)));
  --container: var(--page-shell);
  --hero-container: var(--page-shell);
  --hero-side-width: clamp(186px, 25vw, 300px);
  --hero-bottom-y: clamp(36px, 4.833vw, 58px);
  --hero-side-bottom-gap: 0px;
  --screen-card-height: min(calc(100svh - 32px), calc((100vw - 32px) * 1.05));
  --btn-h: clamp(32px, 3.583vw, 43px);
  --btn-x: clamp(14px, 1.833vw, 22px);
  --btn-fs: 11px;
  --site-container-width: var(--page-shell);
  --thank-card: clamp(223px, 30vw, 360px);
  --thank-copy-offset: clamp(160px, 18vw, 260px);
  --thank-qr-offset: clamp(238px, 25vw, 360px);
  --section-y-sm: clamp(40px, 5.333vw, 64px);
  --section-y-md: clamp(55px, 7.333vw, 88px);
  --section-y-lg: clamp(70px, 9.333vw, 112px);
  --font-en: "Arimo Local", Arial, sans-serif;
  --font-zh: "Noto Sans SC Local", "Noto Sans SC", Arial, sans-serif;
  --logo-width-desktop: 200px;
  --logo-width-tablet: 170px;
  --logo-width-mobile: 140px;
  --logo-width: var(--logo-width-desktop);
  --thank-hand-font: "Brush Script MT", "Segoe Script", cursive;
  --fs-label: 12px;
  --fs-body-en: 13px;
  --fs-body-zh: 12px;
  --fs-lead-en: 20px;
  --fs-display-en: 58px;
  --fs-heading-en: 40px;
  --fs-heading-en-sm: 32px;
  --fs-subhead-en: 18px;
  --fs-service-en: 42px;
  --fs-project-zh: 22px;
  --fs-caption-zh: 11px;
  --fs-meta: 12px;
  --fw-regular: 400;
  --fw-text: 500;
  --fw-title: 560;
  --lh-tight: 1.08;
  --lh-title: 1.14;
  --lh-body: 1.72;
  --tracking-en: 0;
  --tracking-zh: 0;
  --ease-out-soft: cubic-bezier(.16, 1, .3, 1);
  --ease-hover: cubic-bezier(.22, .61, .36, 1);
  --motion-long: 980ms;
  --motion-mid: 680ms;
  --motion-fast: 320ms;
}

@font-face { font-family:"Arimo Local"; src:url("assets/fonts/arimo-latin.woff2") format("woff2"); font-style:normal; font-weight:400 700; font-display:swap; }
@font-face { font-family:"Noto Sans SC Local"; src:url("assets/fonts/noto-sans-sc-subset.woff2") format("woff2"); font-style:normal; font-weight:400 700; font-display:swap; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: #f4f5f1;
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.edit-entry {
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(23, 116, 255, .24);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.t-label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
}

.t-display-en {
  font-family: var(--font-en);
  font-size: var(--fs-display-en);
  font-weight: var(--fw-title);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-en);
}

.t-heading-en {
  font-family: var(--font-en);
  font-size: var(--fs-heading-en);
  font-weight: 520;
  line-height: var(--lh-title);
  letter-spacing: var(--tracking-en);
}

.t-subhead-en {
  font-family: var(--font-en);
  font-size: var(--fs-subhead-en);
  font-weight: var(--fw-title);
  line-height: 1.36;
  letter-spacing: var(--tracking-en);
}

.t-service-en {
  font-family: var(--font-en);
  font-size: var(--fs-service-en);
  font-weight: 520;
  line-height: 1;
  letter-spacing: var(--tracking-en);
}

.t-lead-en {
  font-family: var(--font-en);
  font-size: var(--fs-lead-en);
  font-weight: var(--fw-regular);
  line-height: 1.4;
  letter-spacing: var(--tracking-en);
}

.t-body-zh,
.t-caption-zh,
.t-project-zh {
  font-family: var(--font-zh);
  letter-spacing: var(--tracking-zh);
}

.t-body-zh {
  font-size: var(--fs-body-zh);
  font-weight: var(--fw-text);
  line-height: var(--lh-body);
}

.t-caption-zh {
  font-size: var(--fs-caption-zh);
  font-weight: var(--fw-text);
  line-height: 1.55;
}

.t-project-zh {
  font-size: var(--fs-project-zh);
  font-weight: var(--fw-title);
  line-height: 1.18;
}

.t-meta-en {
  font-family: var(--font-en);
  font-size: var(--fs-meta);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
}

.ref-hero {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1700px;
  min-height: var(--screen-card-height);
  height: var(--screen-card-height);
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
}

.ref-hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: blur(4px) saturate(.74) brightness(.82);
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
  opacity: .88;
}

.ref-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .26) 44%, rgba(0, 0, 0, .68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .46));
}

.site-container,
.content-container {
  width: var(--site-container-width);
  margin-inline: auto;
}

.content-frame {
  width: var(--page-shell);
  max-width: var(--page-max);
  margin-inline: auto;
}

.ref-nav {
  position: relative;
  z-index: 3;
  width: var(--hero-container);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.ref-brand {
  display: inline-flex;
  align-items: center;
  width: var(--logo-width);
  min-width: var(--logo-width);
  max-width: none;
}

.ref-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.ref-brand-logo-dark {
  display: none;
}

.case-nav .ref-brand-logo-light {
  display: none;
}

.case-nav .ref-brand-logo-dark,
.case-page.is-dark-detail .case-nav .ref-brand-logo-light,
.case-page.case-page-dark .case-nav .ref-brand-logo-light {
  display: block;
}

.case-page.is-dark-detail .case-nav .ref-brand-logo-dark,
.case-page.case-page-dark .case-nav .ref-brand-logo-dark {
  display: none;
}

@media (max-width: 1100px) {
  :root {
    --logo-width: var(--logo-width-tablet);
  }
}

@media (max-width: 760px) {
  :root {
    --logo-width: var(--logo-width-mobile);
  }
}

.ref-nav nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.ref-nav nav a {
  position: relative;
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 560;
  letter-spacing: var(--tracking-en);
}

.ref-nav nav a.active {
  color: var(--accent);
}

.nav-menu-toggle {
  display: none;
}

.ref-nav nav b {
  position: absolute;
  top: -18px;
  right: -24px;
  min-width: 27px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}

.ref-book {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, .833vw, 10px);
  padding: clamp(5px, .667vw, 8px) clamp(10px, 1.333vw, 16px) clamp(5px, .667vw, 8px) clamp(5px, .667vw, 8px);
  border-radius: 999px;
  color: #080b0b;
  background: #fff;
  font-size: var(--btn-fs);
  font-weight: 650;
  letter-spacing: var(--tracking-en);
}

.ref-book img {
  width: clamp(22px, 3vw, 36px);
  height: clamp(22px, 3vw, 36px);
  border-radius: 50%;
  object-fit: cover;
}

.ref-hero .hero-content {
  position: relative;
  z-index: 2;
  width: var(--hero-container);
  margin: 92px auto 0;
}

.ref-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 32px;
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
}

.ref-kicker i {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: var(--accent);
}

.ref-hero h1 {
.hero-title-fixed {
  display: block;
}

.hero-title-fixed span {
  display: block;
  white-space: nowrap;
}

  display: block;
  width: min(880px, 62vw);
  margin: 0;
  color: #fff;
  font-size: var(--fs-display-en);
  font-weight: var(--fw-title);
  line-height: 1.16;
  letter-spacing: var(--tracking-en);
  text-transform: none;
}

.ref-hero-side {
  position: absolute;
  z-index: 2;

  /* 跟随首屏容器右边界，不写死 */
  right: calc((100% - var(--hero-container)) / 2);

  /* 跟随底部那三个英文的基准线，不写死 */
  bottom: calc(var(--hero-bottom-y) + var(--hero-side-bottom-gap));

  width: var(--hero-side-width);
  text-align: left;
}
.ref-hero-side h2 {
  margin: 0 0 30px;
  color: #fff;
  font-size: var(--fs-subhead-en);
  font-weight: var(--fw-title);
  line-height: 1.36;
  letter-spacing: var(--tracking-en);
  text-transform: none;
}

.ref-actions {
  display: flex;
  justify-content: flex-start;
  gap: clamp(9px, 1.167vw, 14px);
}
.ref-actions a {
  display: inline-flex;
  align-items: center;
  min-height: var(--btn-h);
  padding: 0 var(--btn-x);
  border-radius: 999px;
  color: #0b0d0d;
  background: #fff;
  font-size: var(--btn-fs);
  font-weight: 650;
  line-height: 1;
  letter-spacing: var(--tracking-en);
}

.ref-actions a.primary {
  color: #fff;
  background: var(--accent);
}

.ref-hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: var(--hero-bottom-y);
  left: 50%;
  width: var(--hero-container);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 84px);
  padding-right: calc(var(--hero-side-width) + 36px);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: var(--tracking-en);
  transform: translateX(-50%);
}

.ref-hero-bottom span {
  min-width: 0;
  white-space: nowrap;
}

.logo-showcase {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-y-sm) 0 54px;
  color: #0d1110;
}

.logo-showcase p {
  margin: 0 0 22px;
  color: rgba(13, 17, 16, .56);
  font-size: 14px;
  font-weight: 650;
}

.logo-window {
  overflow: hidden;
  border-block: 1px solid rgba(13, 17, 16, .16);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 18px 0;
}

.logo-track span {
  min-width: 180px;
  display: grid;
  place-items: center;
  padding: 20px 28px;
  border: 1px solid rgba(13, 17, 16, .12);
  border-radius: 999px;
  color: rgba(13, 17, 16, .82);
  background: rgba(255, 255, 255, .5);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.accent-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #0d1110;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
}

.accent-label i {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  display: inline-block;
  border-radius: 2px;
  background: var(--accent);
}

.editable-label-text {
  white-space: pre-line;
}

.feature-slider-mock,
.numbers-section,
.services-visual,
.creative-works,
.thank-you-section {
  width: 100%;
  margin: 0 auto;
  color: #0d1110;
}

.feature-slider-mock {
  display: block;
  padding: var(--section-y-md) 0 var(--section-y-lg);
}

.feature-copy {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 420px);
  gap: clamp(26px, 3.5vw, 42px);
  align-items: end;
}

.feature-copy h2,
.creative-head h2,
.thank-you-section h2 {
  margin: 0;
  max-width: 760px;
  color: #0d1110;
  font-size: var(--fs-heading-en);
  font-weight: 520;
  line-height: var(--lh-title);
  letter-spacing: var(--tracking-en);
  text-transform: none;
}

.numbers-head h2 {
  margin: 0;
  max-width: 640px;
  color: #0d1110;
  font-size: var(--fs-heading-en-sm);
  font-weight: 520;
  line-height: var(--lh-title);
  letter-spacing: var(--tracking-en);
  text-transform: none;
}

.feature-copy > p:last-child {
  width: 100%;
  max-width: none;
  margin: 0;
  color: rgba(13, 17, 16, .62);
  font-size: var(--fs-body-zh);
  font-weight: var(--fw-text);
  line-height: var(--lh-body);
  justify-self: stretch;
  text-align: right;
}

.slider-stage {
  position: relative;
  min-height: 0;
  display: flex;
  gap: clamp(14px, 1.833vw, 22px);
  margin-top: clamp(42px, 5.667vw, 68px);
  padding-right: 120px;
  padding-bottom: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.slider-stage::-webkit-scrollbar {
  display: none;
}

.slider-stage.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.slider-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: #0d1110;
  box-shadow: 0 24px 70px rgba(13, 17, 16, .18);
  color: inherit;
  text-decoration: none;
}

.slider-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 282.35%;
  height: 119.05%;
  object-fit: contain;
  transform: translate(-50%, -50%) translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
  transition:
    transform var(--motion-mid) var(--ease-out-soft),
    filter var(--motion-mid) var(--ease-out-soft);
}

.slider-card.is-front {
  z-index: 1;
  flex: 0 0 clamp(220px, 28vw, 360px);
  height: auto;
  transform: none;
}

.slider-card.is-middle {
  z-index: 1;
  flex: 0 0 clamp(220px, 28vw, 360px);
  height: auto;
  transform: none;
}

.slider-card.is-back {
  z-index: 1;
  flex: 0 0 clamp(220px, 28vw, 360px);
  height: auto;
  transform: none;
}

.slider-card.is-loop-copy {
  z-index: 1;
  flex: 0 0 clamp(220px, 28vw, 360px);
  height: auto;
  margin-left: 0;
  transform: none;
}

.slider-progress {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 100vw;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13, 17, 16, .14);
}

.slider-progress i {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.numbers-section {
  padding: clamp(25px, 3.333vw, 40px) 0 clamp(37px, 5vw, 60px);
  border-top: 1px solid rgba(13, 17, 16, .14);
}

.numbers-head {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 420px);
  gap: clamp(26px, 3.5vw, 42px);
  align-items: end;
  margin-bottom: clamp(21px, 2.833vw, 34px);
}

.numbers-head > div {
  min-width: 0;
}

.numbers-head .accent-label {
  margin-left: 0;
  white-space: nowrap;
}

.numbers-head h2 {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.numbers-description {
  width: 100%;
  max-width: none;
  margin: 0;
  color: rgba(13, 17, 16, .62);
  font-size: var(--fs-body-zh);
  font-weight: var(--fw-text);
  line-height: var(--lh-body);
  justify-self: stretch;
  text-align: right;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(13, 17, 16, .14);
  border-left: 1px solid rgba(13, 17, 16, .14);
}

.numbers-grid article {
  min-height: clamp(88px, 11.833vw, 142px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 1.833vw, 22px) clamp(17px, 2.333vw, 28px);
  border-right: 1px solid rgba(13, 17, 16, .14);
  border-bottom: 1px solid rgba(13, 17, 16, .14);
}

.numbers-grid strong {
  color: var(--accent);
  font-size: 42px;
  font-weight: 520;
  line-height: .9;
}

.numbers-grid span {
  color: rgba(13, 17, 16, .64);
  font-size: var(--fs-meta);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: var(--tracking-en);
}

.services-visual {
  width: 100%;
  margin: 0;
  padding: var(--section-y-md) 0;
  color: #fff;
  background: #080908;
  border-top: 0;
}

.services-frame {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(55px, 7.333vw, 88px);
}

.services-visual .accent-label {
  color: #fff;
}

.service-list {
  margin-top: clamp(26px, 3.5vw, 42px);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.service-list a {
  display: block;
  padding: clamp(24px, 3.2vw, 38px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.service-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.service-list strong {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-service-en);
  font-weight: 520;
  line-height: 1;
  letter-spacing: var(--tracking-en);
}

.service-list strong span {
  position: absolute;
  top: 2px;
  right: clamp(-54px, -4.5vw, -33px);
  color: rgba(255, 255, 255, .44);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}

.service-list em {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .48);
  font-size: var(--fs-caption-zh);
  font-style: normal;
  font-weight: var(--fw-text);
  line-height: 1.55;
  letter-spacing: var(--tracking-zh);
}

.service-list a.active strong,
.service-list a:hover strong,
.service-list a:focus-visible strong {
  color: #fff;
}

.service-list a.active strong span,
.service-list a:hover strong span,
.service-list a:focus-visible strong span {
  color: var(--accent);
}

.service-list a.active em,
.service-list a:hover em,
.service-list a:focus-visible em {
  color: rgba(255, 255, 255, .72);
}

.service-preview-space {
  align-self: start;
  position: sticky;
  top: clamp(68px, 9.167vw, 110px);
  min-height: 0;
  width: clamp(260px, 32vw, 480px);
  padding-top: clamp(46px, 6.167vw, 74px);
  padding-left: clamp(55px, 7.333vw, 88px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  border: 0;
  isolation: isolate;
}

.service-preview-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.service-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
  border-radius: 14px;
  box-shadow: none;
}

.service-preview-space p {
  max-width: 310px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: var(--direction-desc-size, 17px);
  font-weight: var(--direction-desc-weight, 560);
  line-height: var(--direction-desc-line, 1.45);
  letter-spacing: var(--direction-desc-spacing, var(--tracking-en));
}

.service-preview-space > span {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, .44);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: var(--tracking-en);
}

.creative-works {
  padding: var(--section-y-lg) 0 clamp(87px, 11.667vw, 140px);
  border-top: 1px solid rgba(13, 17, 16, .14);
  overflow: hidden;
}

.creative-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(9px, 1.167vw, 14px);
  margin-bottom: clamp(46px, 6.167vw, 74px);
  text-align: center;
  opacity: 1;
}

.creative-head .accent-label {
  margin-bottom: 0;
  justify-content: center;
  color: #0d1110;
}

.creative-head h2 {
  max-width: 760px;
  text-align: center;
}

.creative-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(30px, 4vw, 48px);
  row-gap: clamp(79px, 10.667vw, 128px);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.creative-card {
  display: block;
  color: #0d1110;
}

.creative-card.card-large {
  grid-column: 1 / span 6;
  width: 100%;
}

.creative-card.card-offset {
  grid-column: 9 / span 4;
  width: 100%;
  margin-top: 0;
}

.creative-card:not(.card-large):not(.card-offset) {
  grid-column: 4 / span 6;
  width: 100%;
  margin-top: 0;
}

.creative-card img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(13, 17, 16, .12);
}

.creative-card.card-large img {
  aspect-ratio: 16 / 9;
}

.creative-card.card-offset img {
  aspect-ratio: 16 / 9;
}

.creative-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 0 18px;
}

.creative-card span {
  color: rgba(13, 17, 16, .52);
  font-size: var(--fs-meta);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
  text-align: right;
  text-transform: uppercase;
}

.creative-card strong {
  color: #0d1110;
  font-size: var(--fs-project-zh);
  font-weight: var(--fw-title);
  line-height: 1.18;
  letter-spacing: var(--tracking-zh);
}

.creative-card p {
  display: none;
}

.work-category-list {
  display: grid;
  gap: clamp(77px, 10.333vw, 124px);
}

.work-category {
  scroll-margin-top: 92px;
  padding-top: 2px;
}

.work-category-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(11px, 1.5vw, 18px);
  margin-bottom: clamp(64px, 8.667vw, 104px);
  text-align: center;
}

.work-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0d1110;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: var(--tracking-en);
}

.work-kicker i {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 3px;
  background:
    linear-gradient(#fff, #fff) 50% 50% / 8px 2px no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 2px 8px no-repeat,
    var(--accent);
}

.work-category-head h3 {
  margin: 0;
  color: #0d1110;
  font-size: 76px;
  font-weight: 760;
  line-height: .98;
  letter-spacing: var(--tracking-en);
}

.work-category-head p {
  max-width: 640px;
  margin: clamp(20px, 2.667vw, 32px) auto 0;
  color: rgba(13, 17, 16, .66);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: var(--tracking-zh);
}

.work-thumb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(30px, 4vw, 48px);
  row-gap: clamp(60px, 8vw, 96px);
  align-items: start;
}

.work-thumb-card {
  display: block;
  color: #0d1110;
}

.work-thumb-card:nth-child(5n + 1),
.work-thumb-card:nth-child(5n + 4) {
  grid-column: 1 / span 6;
}

.work-thumb-card:nth-child(5n + 2),
.work-thumb-card:nth-child(5n + 5) {
  grid-column: 9 / span 4;
}

.work-thumb-card:nth-child(5n + 3) {
  grid-column: 4 / span 6;
}

.work-thumb-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(13, 17, 16, .08);
  box-shadow: 0 22px 60px rgba(13, 17, 16, .12);
}

.work-thumb-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%))
    scale(var(--media-zoom, 1));
  transform-origin: center;
  border-radius: 0;
  box-shadow: none;
}

.work-thumb-card .creative-meta {
  margin-top: 22px;
}

.work-thumb-card span {
  color: rgba(13, 17, 16, .58);
  font-size: var(--fs-meta);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: var(--tracking-en);
  text-align: right;
  text-transform: uppercase;
}

.work-thumb-card strong {
  color: #0d1110;
  font-size: var(--fs-project-zh);
  font-weight: var(--fw-title);
  line-height: 1.18;
  letter-spacing: var(--tracking-zh);
}

.thank-you-section {
  position: relative;
  overflow: hidden;
  width: calc(100% - 32px);
  max-width: 1700px;
  min-height: var(--screen-card-height);
  height: var(--screen-card-height);
  margin: 0 auto 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  color: #fff;
  background: #02050b;
}

.thank-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit:  contain;
  filter: blur(8px) saturate(.72) brightness(.86);
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
  opacity: .88;
}

.thank-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .32) 44%, rgba(0, 0, 0, .76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .58));
}

.thank-nav {
  position: relative;
  z-index: 3;
  width: var(--hero-container);
  margin: 0 auto;
  padding-top: clamp(35px, 4.667vw, 56px);
}

.thank-nav-spacer {
  width: clamp(118px, 15.833vw, 190px);
  height: 1px;
}

.qr-logo {
  display: inline-block;
  background:
    radial-gradient(circle at 28% 28%, var(--accent) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 28%, var(--accent) 0 5px, transparent 6px),
    radial-gradient(circle at 28% 72%, var(--accent) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 72%, var(--accent) 0 5px, transparent 6px);
  transform: rotate(-26deg);
}

.thank-hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(clamp(422px, 56.667vw, 680px), calc(50% - clamp(60px, 8vw, 96px)));
  display: grid;
  height: calc(var(--thank-card) + clamp(43px, 5.833vw, 70px));
  align-content: space-between;
  transform: translate(calc(-50% - var(--thank-copy-offset)), -50%);
}

.thank-hero-content h2 {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: var(--fs-display-en);
  font-weight: var(--fw-title);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-en);
}

.thank-hero-content h2 span {
  color: var(--accent);
}

.thank-title-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--thank-card);
}

.thank-handwritten {
  position: absolute;
  right: clamp(-124px, -8.611vw, -77px);
  bottom: 0;
  color: var(--accent);
  font-family: var(--thank-hand-font);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transform: rotate(-9deg);
  pointer-events: none;
}

.thank-hero-content > p:not(.ref-kicker) {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 20px;
  font-weight: var(--fw-regular);
  line-height: 1.36;
  letter-spacing: var(--tracking-en);
}

.thank-title-wrap > p:not(.ref-kicker) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: var(--fs-lead-en);
  font-weight: var(--fw-regular);
  line-height: 1.4;
  letter-spacing: var(--tracking-en);
}

.thank-hero-side {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: var(--thank-card);
  display: grid;
  height: calc(var(--thank-card) + clamp(43px, 5.833vw, 70px));
  align-content: space-between;
  gap: clamp(11px, 1.5vw, 18px);
  transform: translate(calc(-50% + var(--thank-qr-offset)), -50%);
}

.qr-card {
  padding: clamp(10px, 1.333vw, 16px);
  border: 2px solid rgba(23, 116, 255, .92);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, .42),
    0 0 0 8px rgba(23, 116, 255, .08),
    0 0 34px rgba(23, 116, 255, .5);
}

.qr-real-image {
  aspect-ratio: 1;
  object-fit: contain;
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
  border-radius: 8px;
}

.qr-pattern {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    repeating-conic-gradient(#111 0 25%, transparent 0 50%) 0 0 / 18px 18px,
    #fff;
}

.finder {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 10px solid #111;
  background: #fff;
}

.finder::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: #111;
}

.finder-a {
  top: 0;
  left: 0;
}

.finder-b {
  top: 0;
  right: 0;
}

.finder-c {
  right: 0;
  bottom: 0;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(-26deg);
}

.thank-email {
  display: inline-flex;
  align-items: flex-end;
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: var(--fs-body-en);
  font-weight: var(--fw-text);
  line-height: 1;
  letter-spacing: var(--tracking-en);
}

.thank-email span {
  display: none;
}

.thank-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  min-height: clamp(32px, 4.333vw, 52px);
  padding: clamp(5px, .667vw, 8px) clamp(15px, 2vw, 24px);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(23, 116, 255, .3);
  font-size: var(--btn-fs);
  font-weight: 650;
  line-height: 1;
  letter-spacing: var(--tracking-en);
  text-transform: none;
}

.motion-ready .ref-nav,
.motion-ready .ref-hero .hero-content,
.motion-ready .ref-hero-side,
.motion-ready .ref-hero-bottom {
  opacity: 0;
  filter: blur(10px);
  translate: 0 22px;
}

.motion-ready.is-loaded .ref-nav {
  animation: reveal-soft var(--motion-long) var(--ease-out-soft) .08s both;
}

.motion-ready.is-loaded .ref-hero .hero-content {
  animation: reveal-soft var(--motion-long) var(--ease-out-soft) .22s both;
}

.motion-ready.is-loaded .ref-hero-side {
  animation: reveal-soft var(--motion-long) var(--ease-out-soft) .38s both;
}

.motion-ready.is-loaded .ref-hero-bottom {
  animation: reveal-soft var(--motion-long) var(--ease-out-soft) .52s both;
}

.motion-ready .reveal-item {
  opacity: 0;
  filter: blur(10px);
  translate: 0 34px;
  transition:
    opacity var(--motion-long) var(--ease-out-soft),
    filter var(--motion-long) var(--ease-out-soft),
    translate var(--motion-long) var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
}

.ref-nav nav a,
.ref-book,
.ref-actions a,
.thank-home,
.edit-entry {
  transition:
    color var(--motion-fast) var(--ease-hover),
    background-color var(--motion-fast) var(--ease-hover),
    border-color var(--motion-fast) var(--ease-hover),
    box-shadow var(--motion-fast) var(--ease-hover),
    transform var(--motion-fast) var(--ease-hover);
}

.ref-nav nav a:hover,
.ref-nav nav a:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.ref-book:hover,
.ref-book:focus-visible,
.ref-actions a:hover,
.ref-actions a:focus-visible,
.thank-home:hover,
.thank-home:focus-visible,
.edit-entry:hover,
.edit-entry:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(23, 116, 255, .28);
}

.ref-actions a.primary:hover,
.ref-actions a.primary:focus-visible,
.thank-home:hover,
.thank-home:focus-visible,
.edit-entry:hover,
.edit-entry:focus-visible {
  background: #2d82ff;
}

.slider-card {
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow var(--motion-fast) var(--ease-hover), outline-color var(--motion-fast) var(--ease-hover);
}

.work-thumb-card img {
  transition:
    transform var(--motion-mid) var(--ease-out-soft),
    filter var(--motion-mid) var(--ease-out-soft),
    box-shadow var(--motion-mid) var(--ease-out-soft),
    outline-color var(--motion-fast) var(--ease-hover);
  will-change: transform;
}

.slider-card:hover,
.slider-card:focus-visible {
  outline: 2px solid rgba(23, 116, 255, .84);
  outline-offset: -2px;
  box-shadow: 0 30px 82px rgba(13, 17, 16, .24), 0 0 34px rgba(23, 116, 255, .18);
}

.slider-card:hover img,
.slider-card:focus-visible img {
  transform: translate(-50%, -50%) translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(calc(var(--media-zoom, 1) * 1.04));
  filter: brightness(1.04);
}

.slider-progress i {
  width: 20%;
  transform-origin: left center;
  transition: transform var(--motion-fast) var(--ease-hover), width var(--motion-fast) var(--ease-hover);
}

.service-list a {
  transition: border-color var(--motion-fast) var(--ease-hover);
}

.motion-ready .service-list a.reveal-item {
  transition:
    opacity var(--motion-long) var(--ease-out-soft),
    filter var(--motion-long) var(--ease-out-soft),
    translate var(--motion-long) var(--ease-out-soft),
    border-color var(--motion-fast) var(--ease-hover);
}

.service-list a.active,
.service-list a:hover,
.service-list a:focus-visible {
  border-bottom-color: rgba(23, 116, 255, .6);
}

.service-list strong,
.service-list strong span,
.service-list em {
  transition:
    color var(--motion-fast) var(--ease-hover),
    opacity var(--motion-fast) var(--ease-hover);
}

.service-list a.active strong,
.service-list a:hover strong,
.service-list a:focus-visible strong {
  transform: none;
}

.service-preview-space img,
.service-preview-space span,
.service-preview-space p {
  filter: blur(0);
  opacity: 1;
}

.work-thumb-card .creative-meta {
  transition: opacity var(--motion-fast) var(--ease-hover), transform var(--motion-fast) var(--ease-hover);
}

.work-thumb-card:hover .work-thumb-media,
.work-thumb-card:focus-visible .work-thumb-media {
  outline: 2px solid rgba(23, 116, 255, .78);
  outline-offset: -2px;
  box-shadow: 0 28px 72px rgba(13, 17, 16, .18),
    0 0 34px rgba(23, 116, 255, .14);
}

.work-thumb-card:hover .creative-meta,
.work-thumb-card:focus-visible .creative-meta {
  transform: translateY(-4px);
}

.motion-ready .case-nav {
  opacity: 0;
  filter: blur(10px);
  translate: 0 24px;
}

.motion-ready.is-loaded .case-nav {
  animation: reveal-soft var(--motion-long) var(--ease-out-soft) .06s both;
}

.motion-ready .case-cover.reveal-item,
.motion-ready .case-pair-gallery figure.reveal-item,
.motion-ready .case-image-stack figure.reveal-item,
.motion-ready .case-after-quote-gallery figure.reveal-item,
.motion-ready .case-other-card.reveal-item {
  scale: .985;
  transition:
    opacity var(--motion-long) var(--ease-out-soft),
    filter var(--motion-long) var(--ease-out-soft),
    translate var(--motion-long) var(--ease-out-soft),
    scale var(--motion-long) var(--ease-out-soft);
}

.motion-ready .case-cover.reveal-item.is-visible,
.motion-ready .case-pair-gallery figure.reveal-item.is-visible,
.motion-ready .case-image-stack figure.reveal-item.is-visible,
.motion-ready .case-after-quote-gallery figure.reveal-item.is-visible,
.motion-ready .case-other-card.reveal-item.is-visible {
  scale: 1;
}

.case-other-card,
.case-other-media img {
  transition:
    transform var(--motion-mid) var(--ease-out-soft),
    filter var(--motion-mid) var(--ease-out-soft),
    box-shadow var(--motion-mid) var(--ease-out-soft),
    outline-color var(--motion-fast) var(--ease-hover),
    background-color var(--motion-fast) var(--ease-hover);
}

.case-other-card:hover .case-other-media img,
.case-other-card:focus-visible .case-other-media img {
  outline: 2px solid rgba(23, 116, 255, .78);
  outline-offset: -2px;
  transform:
    translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%))
    scale(calc(var(--media-zoom, 1) * 1.018));
  filter: brightness(1.045);
  box-shadow: 0 28px 72px rgba(13, 17, 16, .18), 0 0 34px rgba(23, 116, 255, .16);
}

.case-nav .ref-book:hover,
.case-nav .ref-book:focus-visible {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(23, 116, 255, .28);
}

.qr-card {
  transition: transform var(--motion-fast) var(--ease-hover), box-shadow var(--motion-fast) var(--ease-hover);
}

.qr-card:hover,
.qr-card:focus-within {
  transform: translateY(-6px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, .48),
    0 0 0 8px rgba(23, 116, 255, .1),
    0 0 46px rgba(23, 116, 255, .62);
}

@keyframes reveal-soft {
  from {
    opacity: 0;
    filter: blur(10px);
    translate: 0 22px;
  }
  to {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .motion-ready .ref-nav,
  .motion-ready .ref-hero .hero-content,
  .motion-ready .ref-hero-side,
  .motion-ready .ref-hero-bottom,
  .motion-ready .case-nav,
  .motion-ready .reveal-item {
    opacity: 1;
    filter: none;
    translate: 0 0;
    scale: 1;
  }
}

@media (max-width: 900px) {
  :root {
    --mobile-frame-inset: 52px;
  }

  .site-nav {
    width: var(--hero-container);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(10px, 2vw, 18px);
    margin-top: 30px;
  }

  .site-nav .ref-brand {
    min-width: var(--logo-width);
  }

  .site-nav nav {
    position: absolute;
    top: 50%;
    right: 46px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(7, 10, 16, .78);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .34);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity .22s var(--ease-hover), transform .22s var(--ease-hover);
  }

  .site-nav.nav-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
  }

  .case-nav.site-nav nav {
    border-color: rgba(13, 17, 16, .12);
    background: rgba(244, 245, 241, .9);
    box-shadow: 0 18px 52px rgba(13, 17, 16, .14);
  }

  .case-page.is-dark-detail .case-nav.site-nav nav,
  .case-page.case-page-dark .case-nav.site-nav nav {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(7, 10, 16, .78);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .34);
  }

  .site-nav nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-nav nav a:hover,
  .site-nav nav a:focus-visible {
    background: rgba(23, 116, 255, .16);
  }

  .site-nav nav b {
    position: static;
    margin-left: 6px;
  }

  .nav-menu-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: var(--tracking-en);
    cursor: pointer;
  }

  .case-nav .nav-menu-toggle {
    border-color: rgba(13, 17, 16, .18);
    color: #0d1110;
    background: rgba(13, 17, 16, .06);
  }

  .case-page.is-dark-detail .case-nav .nav-menu-toggle,
  .case-page.case-page-dark .case-nav .nav-menu-toggle {
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  .nav-menu-toggle:hover,
  .nav-menu-toggle:focus-visible,
  .site-nav.nav-open .nav-menu-toggle {
    border-color: rgba(23, 116, 255, .64);
    background: rgba(23, 116, 255, .2);
    outline: none;
  }

  .ref-hero {
    min-height: var(--screen-card-height);
    height: var(--screen-card-height);
    padding-bottom: 34px;
  }

  .ref-hero .hero-content {
    width: var(--hero-container);
    margin-top: 76px;
  }

  .ref-hero h1 {
    width: 100%;
  }

  .ref-hero-side {
    position: relative;
    right: auto;
    bottom: auto;
    width: var(--hero-container);
    margin: 24px auto 0;
  }

  .ref-actions {
    flex-wrap: wrap;
  }

  .ref-hero-bottom {
    position: relative;
    bottom: auto;
    left: auto;
    width: var(--hero-container);
    grid-template-columns: repeat(3, max-content);
    gap: 16px 28px;
    justify-content: start;
    padding-right: 0;
    margin: 42px auto 0;
    transform: none;
  }

  .thank-you-section {
    min-height: var(--screen-card-height);
    height: var(--screen-card-height);
  }

  .thank-nav {
    width: calc(100% - (var(--mobile-frame-inset) * 2));
  }

  .thank-nav {
    padding-top: 30px;
  }

  .thank-hero-content {
    position: absolute;
    top: 108px;
    left: var(--mobile-frame-inset);
    width: 330px;
    height: auto;
    margin: 0;
    gap: 22px;
    transform: none;
  }

  .thank-hero-content h2 {
    font-size: 56px;
  }

  .thank-handwritten {
    right: -54px;
    bottom: 2px;
    font-size: 38px;
  }

  .thank-title-wrap {
    height: auto;
    gap: 18px;
  }

  .thank-title-wrap > p:not(.ref-kicker) {
    font-size: 16px;
    line-height: 1.38;
  }

  .thank-email {
    font-size: 12px;
  }

  .thank-hero-side {
    position: absolute;
    right: var(--mobile-frame-inset);
    bottom: 132px;
    top: auto;
    left: auto;
    width: 220px;
    height: auto;
    margin: 0;
    transform: none;
  }

  .thank-hero-side .qr-card {
    border-radius: 14px;
  }

  .thank-home {
    justify-self: stretch;
    width: 100%;
    min-height: 38px;
  }
}

@media (max-width: 1180px) {
  .numbers-head h2 {
    white-space: normal;
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  :root {
    --hero-container: calc(100% - 40px);
    --container: calc(100% - 40px);
    --mobile-frame-inset: 36px;
  }

  .ref-hero {
    min-height: var(--screen-card-height);
    height: var(--screen-card-height);
    padding-bottom: 34px;
  }

  .ref-hero .hero-content {
    width: var(--hero-container);
    margin-top: 76px;
  }

  .ref-hero h1 {
    width: 100%;
  }

  .ref-hero-side {
    position: relative;
    right: auto;
    bottom: auto;
    width: var(--hero-container);
    margin: 24px auto 0;
  }

  .ref-actions {
    flex-wrap: wrap;
  }

  .motion-ready .reveal-item {
    filter: blur(0);
    translate: 0 22px;
  }

  .motion-ready .case-cover.reveal-item,
  .motion-ready .case-pair-gallery figure.reveal-item,
  .motion-ready .case-image-stack figure.reveal-item,
  .motion-ready .case-after-quote-gallery figure.reveal-item,
  .motion-ready .case-other-card.reveal-item {
    scale: 1;
  }

  .ref-hero-bottom {
    position: relative;
    bottom: auto;
    left: auto;
    width: var(--hero-container);
    grid-template-columns: repeat(3, max-content);
    gap: 16px 28px;
    justify-content: start;
    padding-right: 0;
    margin: 42px auto 0;
    transform: none;
  }

  .ref-hero-bottom span {
    white-space: normal;
  }

  .feature-slider-mock {
    padding-top: clamp(42px, 8vw, 58px);
  }

  .feature-copy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: clamp(12px, 4vw, 24px);
    align-items: end;
  }

  .feature-copy h2 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.12;
  }

  .feature-copy > p:last-child {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: end;
  }

  @media (max-width: 1110px) {
  .numbers-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: clamp(12px, 4vw, 24px);
    align-items: end;
  }

  .numbers-head h2 {
    max-width: 100%;
    white-space: normal;
    font-size: 30px;
    line-height: 1.12;
  }

  .numbers-description {
    width: 100%;
    max-width: none;
    justify-self: end;
  }
}

  .slider-stage {
    gap: 10px;
    margin-top: clamp(54px, 9vw, 70px);
    padding-right: 40px;
    padding-bottom: 26px;
  }

  .slider-card,
  .slider-card.is-front,
  .slider-card.is-middle,
  .slider-card.is-back,
  .slider-card.is-loop-copy {
    flex-basis: clamp(279px, 37.5vw, 450px);
    height: auto;
    border-radius: 22px;
  }

  .slider-card.is-front {
    margin-left: 0;
  }

  .services-visual {
    grid-template-columns: minmax(0, 1.12fr) minmax(210px, .88fr);
    gap: clamp(24px, 4vw, 36px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-list {
    margin-top: clamp(26px, 5vw, 42px);
  }

  .service-list a {
    padding: clamp(24px, 4.8vw, 34px) 0;
  }

  .service-list strong {
    max-width: calc(100% - 48px);
    font-size: 38px;
    line-height: 1.16;
  }

  .service-list strong span {
    top: 4px;
    right: clamp(-44px, -6vw, -34px);
    font-size: 16px;
  }

  .service-preview-space {
    position: sticky;
    top: clamp(22px, 4vw, 36px);
    padding-top: clamp(64px, 13vw, 96px);
    padding-left: 0;
  }

  .service-preview-image {
    width: min(224px, 100%);
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
  }

  .service-preview-space > span {
    margin-top: 18px;
    font-size: 13px;
  }

  .service-preview-space p {
    max-width: 240px;
    font-size: 15px;
    line-height: 1.48;
  }

  .work-category-list {
    gap: 72px;
  }

  .work-category-head {
    gap: 16px;
    margin-bottom: 64px;
  }

  .work-kicker {
    font-size: 16px;
  }

  .work-category-head h3 {
    font-size: 48px;
  }

  .work-category-head p {
    margin-top: 22px;
  }

  .work-thumb-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .work-thumb-card:nth-child(n) {
    grid-column: auto;
  }

  .creative-meta {
    gap: 10px;
    padding: 0 4px;
  }

  .work-thumb-card span,
  .creative-card span {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .thank-you-section {
    min-height: var(--screen-card-height);
    height: var(--screen-card-height);
  }

  .thank-nav {
    width: calc(100% - (var(--mobile-frame-inset) * 2));
  }

  .thank-nav {
    padding-top: 24px;
  }

  .thank-hero-content {
    position: absolute;
    top: 76px;
    left: var(--mobile-frame-inset);
    width: 260px;
    height: auto;
    margin: 0;
    gap: 18px;
    transform: none;
  }

  .thank-hero-content h2 {
    font-size: 46px;
  }

  .thank-handwritten {
    right: -44px;
    bottom: 2px;
    font-size: 34px;
  }

  .thank-title-wrap {
    height: auto;
    gap: 12px;
  }

  .thank-hero-content > p:not(.ref-kicker) {
    font-size: var(--fs-lead-en);
  }

  .thank-title-wrap > p:not(.ref-kicker) {
    font-size: 13px;
    line-height: 1.38;
  }

  .thank-hero-side {
    position: absolute;
    right: var(--mobile-frame-inset);
    bottom: 70px;
    top: auto;
    left: auto;
    width: 190px;
    height: auto;
    margin: 0;
    transform: none;
  }

  .thank-hero-side .qr-card {
    border-radius: 14px;
  }

  .thank-home {
    justify-self: stretch;
    width: 100%;
    min-height: 34px;
  }

  .thank-email {
    font-size: 11px;
  }

  .edit-entry {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 520px) {
  :root {
    --mobile-frame-inset: 20px;
  }

  .feature-copy > p:last-child {
    width: 100%;
    justify-self: end;
  }

  .services-visual {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-list strong span {
    position: static;
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
  }

  .service-preview-space {
    position: relative;
    top: auto;
    padding-top: 0;
  }

  .service-preview-image {
    width: min(260px, 100%);
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
  }

  .thank-hero-content {
    top: 58px;
    width: 220px;
  }

  .thank-hero-content h2 {
    font-size: 36px;
  }

  .thank-handwritten {
    right: -34px;
    font-size: 28px;
  }

  .thank-title-wrap {
    gap: 10px;
  }

  .thank-title-wrap > p:not(.ref-kicker) {
    max-width: 220px;
    font-size: 11px;
    line-height: 1.34;
  }

  .thank-email {
    font-size: 9px;
  }

  .thank-hero-side {
    bottom: 20px;
    width: 160px;
    gap: 10px;
  }

  .thank-home {
    min-height: 30px;
    font-size: 9px;
  }
}

.ref-kicker,
.accent-label,
.ref-hero-bottom,
.work-thumb-card span,
.creative-card span {
  font-size: 12px;
}

.ref-hero h1,
.thank-hero-content h2 {
  font-size: 58px;
}

.ref-hero-side h2 {
  font-size: 18px;
}

.ref-actions a,
.thank-home,
.ref-book {
  font-size: 11px;
}

.feature-copy h2,
.creative-head h2 {
  font-size: 40px;
}

.numbers-head h2 {
  font-size: 32px;
}

.feature-copy > p:last-child,
.t-body-zh {
  font-size: 12px;
}

.numbers-grid strong {
  font-size: 42px;
}

.numbers-grid span,
.t-meta-en {
  font-size: 12px;
}

.service-list strong {
  font-size: 42px;
}

.service-list strong span {
  font-size: 14px;
}

.service-list em,
.t-caption-zh {
  font-size: 11px;
}

.service-preview-space p {
  font-size: var(--direction-desc-size, 17px);
}

.service-preview-space > span,
.work-kicker,
.work-category-head p {
  font-size: 14px;
}

.work-category-head h3 {
  font-size: 76px;
}

.work-thumb-card strong,
.creative-card strong,
.t-project-zh {
  font-size: 22px;
}

.thank-handwritten {
  font-size: 38px;
}

.thank-title-wrap > p:not(.ref-kicker) {
  font-size: 14px;
}

.thank-email {
  font-size: 11px;
}

.ref-hero {
  height: min(820px, calc(100svh - 40px));
  min-height: 720px;
  margin-top: 12px;
  border-radius: 16px;
}

.ref-hero-bg {
  filter: blur(4px) saturate(.74) brightness(.82);
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  object-fit: contain;
  object-position: center;
}

.ref-hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .20) 46%, rgba(0, 0, 0, .62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .54));
}

.ref-hero > .ref-nav {
  width: var(--page-shell);
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ref-hero > .ref-nav nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.ref-hero > .ref-nav nav a {
  font-size: 12px;
  font-weight: 650;
}

.ref-hero > .ref-nav .ref-book {
  min-height: 36px;
  padding: 5px 14px 5px 5px;
  font-size: 11px;
}

.ref-hero > .ref-nav .ref-book img {
  width: 28px;
  height: 28px;
}

.ref-hero .hero-content {
  width: var(--site-container-width);
  margin-top: 58px;
}

.ref-hero .ref-kicker {
  margin-bottom: 28px;
  font-size: 12px;
}

.ref-hero h1 {
  width: min(760px, 70%);
  font-size: 72px;
  font-weight: 560;
  line-height: 1.16;
}

.ref-hero-side {
  position: absolute;
  right: max(36px, calc((100% - var(--site-container-width)) / 2));
  bottom: 44px;
  width: 310px;
  margin: 0;
}

.ref-hero-side h2 {
  margin: 0 0 26px;
  font-size: 23px;
  line-height: 1.36;
}

.ref-actions {
  gap: 12px;
}

.ref-actions a {
  min-height: 36px;
  padding: 0 18px;
  font-size: 11px;
}

.ref-hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: var(--site-container-width);
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(120px, 13vw, 220px);
  padding-right: 360px;
  margin: 0;
  font-size: 12px;
  transform: translateX(-50%);
}

.logo-showcase {
  margin-top: 0;
}

@media (max-width: 1200px) {
  :root {
    --site-container-width: calc(100% - 64px);
  }

  .ref-hero {
    height: min(820px, calc(100svh - 40px));
  }

  .ref-hero > .ref-nav,
  .ref-hero .hero-content,
  .ref-hero-bottom {
    width: var(--page-shell)
  }

  .ref-hero > .ref-nav {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }

  .ref-hero > .ref-nav nav {
    gap: 24px;
  }

  .ref-hero .hero-content {
    margin-top: 56px;
  }

  .ref-hero h1 {
    width: min(700px, 76%);
    font-size: 70px;
  }

  .ref-hero-side {
    right: 44px;
    bottom: 44px;
    width: 300px;
  }

  .ref-hero-bottom {
    bottom: 48px;
    gap: clamp(96px, 13vw, 180px);
    padding-right: 340px;
  }
}

@media (max-width: 900px) {
  :root {
    --site-container-width: calc(100% - 64px);
  }

  .ref-hero {
    height: min(820px, calc(100svh - 32px));
  min-height: 720px;
    padding-bottom: 0;
  }

  .site-nav,
  .ref-hero .hero-content,
  .ref-hero-bottom {
    width: var(--page-shell)
  }

  .site-nav {
    grid-template-columns: minmax(190px, max-content) minmax(0, 1fr);
    gap: 18px;
    margin-top: 34px;
  }

  .site-nav .ref-brand {
    min-width: var(--logo-width);
  }

  .ref-hero .hero-content {
    margin-top: 48px;
  }

  .ref-hero h1 {
    width: 100%;
    font-size: 68px;
  }

  .ref-hero-side {
    position: absolute;
    right: 84px;
    bottom: 44px;
    width: 300px;
  }

  .ref-hero-side h2 {
    font-size: 24px;
  }

  .ref-hero-bottom {
    position: absolute;
    bottom: 48px;
    left: 32px;
    width: min(360px, calc(100% - 420px));
    grid-template-columns: repeat(3, max-content);
    gap: 48px;
    padding-right: 0;
    margin: 0;
    transform: none;
  }
}

@media (max-width: 760px) {
  :root {
    --site-container-width: calc(100% - 60px);
  }

  .ref-hero {
    width: calc(100% - 24px);
    height: auto;
    min-height: 540px;
    border-radius: 12px;
    padding: 20px 0 36px;
  }

  .site-nav,
  .ref-hero .hero-content,
  .ref-hero-bottom,
  .ref-hero-side {
    width: var(--page-shell)
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    margin-top: 0;
  }

  .nav-menu-toggle {
    width: 32px;
    min-height: 32px;
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    box-shadow: none;
  }

  .nav-menu-toggle::before {
    content: "";
    width: 29px;
    height: 18px;
    display: block;
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 50% / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 100% / 100% 3px no-repeat;
  }

  .case-nav .nav-menu-toggle::before {
    background:
      linear-gradient(#0d1110, #0d1110) 0 0 / 100% 3px no-repeat,
      linear-gradient(#0d1110, #0d1110) 0 50% / 100% 3px no-repeat,
      linear-gradient(#0d1110, #0d1110) 0 100% / 100% 3px no-repeat;
  }

  .case-page.is-dark-detail .case-nav .nav-menu-toggle::before,
  .case-page.case-page-dark .case-nav .nav-menu-toggle::before {
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 50% / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 100% / 100% 3px no-repeat;
  }

  .ref-hero .hero-content {
    margin-top: 44px;
  }

  .ref-hero .ref-kicker {
    margin-bottom: 24px;
  }

  .ref-hero h1 {
    width: 100%;
    font-size: 42px;
    line-height: 1.14;
  }

  .ref-hero-bottom {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(3, max-content);
    gap: 30px;
    margin: 44px auto 0;
    transform: none;
  }

  .ref-hero-side {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 34px auto 0;
  }

  .ref-hero-side h2 {
    margin-bottom: 24px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --site-container-width: calc(100% - 30px);
  }

  .ref-hero {
    min-height: 540px;
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .ref-hero > .ref-nav,
  .ref-hero .hero-content,
  .ref-hero-bottom,
  .ref-hero-side {
    width: var(--page-shell)
  }

  .ref-hero > .ref-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ref-hero h1 {
    font-size: 40px;
  }

  .ref-hero-bottom {
    gap: 26px;
  }

  .ref-hero-side h2 {
    font-size: 24px;
  }
}

.thank-you-section {
  --thank-frame-top: clamp(32px, 4vw, 56px);
  --thank-layout-gap: clamp(44px, 5.4vw, 86px);
  --thank-title-size: 72px;
  --thank-hand-size: 44px;
  --thank-copy-size: 18px;
  --thank-email-size: 14px;
  --thank-qr-size: clamp(260px, 19vw, 340px);
  --thank-button-width: var(--thank-qr-size);
  --thank-button-height: clamp(36px, 3vw, 48px);
  height: var(--matched-hero-height, min(820px, calc(100svh - 40px)));
  min-height: 720px;
  padding: 0;
}

.thank-you-section .thank-hero-bg {
  width: 100%;
  height: 100%;
}

.thank-you-section .thank-nav {
  position: relative;
  z-index: 3;
  width: var(--page-shell);
  max-width: var(--page-max);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: var(--thank-frame-top);
  margin: 0 auto;
}

.thank-you-section .thank-nav-spacer {
  display: none;
}

.thank-layout {
  position: relative;
  z-index: 2;
  width: var(--site-container-width);
  height: calc(100% - var(--thank-frame-top) - 104px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--thank-qr-size);
  align-items: center;
  column-gap: var(--thank-layout-gap);
  margin: clamp(22px, 3.2vh, 42px) auto 0;
}

.thank-you-section .thank-hero-content,
.thank-you-section .thank-hero-side {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  transform: none;
}

.thank-you-section .thank-hero-content {
  max-width: 470px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 26px);
}

.thank-you-section .thank-title-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(18px, 2.1vw, 28px);
}

.thank-you-section .thank-hero-content h2 {
  position: relative;
  width: max-content;
  max-width: 100%;
  font-size: var(--thank-title-size);
  line-height: .98;
  letter-spacing: 0;
}

.thank-you-section .thank-title-line {
  display: block;
  color: #fff;
}

.thank-you-section .thank-title-line span {
  color: var(--accent);
}

.thank-you-section .thank-handwritten {
  right: clamp(-108px, -7.2vw, -72px);
  bottom: .08em;
  font-size: var(--thank-hand-size);
}

.thank-you-section .thank-title-wrap > p:not(.ref-kicker) {
  max-width: 460px;
  color: rgba(255, 255, 255, .78);
  font-size: var(--thank-copy-size);
  line-height: 1.45;
}

.thank-you-section .thank-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: var(--thank-email-size);
}

.thank-you-section .thank-email::before {
  content: "";
  width: 15px;
  height: 11px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 45%, var(--accent) 46% 54%, transparent 55%) 0 0 / 50% 100% no-repeat,
    linear-gradient(225deg, transparent 45%, var(--accent) 46% 54%, transparent 55%) 100% 0 / 50% 100% no-repeat;
}

.thank-you-section .thank-hero-side {
  width: min(var(--thank-qr-size), 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(24px, 2vw, 28px);
  justify-self: end;
  transform: none;
}

.thank-you-section .qr-card {
  width: 100%;
  position: relative;
  top: -16px;
  height: auto;
  aspect-ratio: 1;
  padding: clamp(10px, 1.1vw, 16px);
  border-radius: clamp(14px, 1.4vw, 22px);
  overflow: hidden;
}

.thank-you-section .qr-real-image,
.thank-you-section .qr-pattern {
  width: 100%;
  height: 100%;
}

.thank-you-section .finder {
  width: 24%;
  height: 24%;
  border-width: clamp(7px, .66vw, 10px);
}

.thank-you-section .finder::after {
  inset: 24%;
}

.thank-you-section .qr-logo {
  width: 26%;
  height: 26%;
  border-radius: clamp(9px, .9vw, 14px);
}

.thank-you-section .thank-home {
  width: 100%;
  min-height: var(--thank-button-height);
  font-size: 12px;
}

@media (min-width: 1101px) {
  .thank-layout {
    grid-template-columns: minmax(360px, 1fr) var(--thank-qr-size);
  }
}

/* 尾屏桌面布局：标题与二维码居中；邮箱与按钮独立落在底部安全线 */
@media (min-width: 1101px) {
  .thank-you-section .thank-layout {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--page-shell);
    height: 100%;
    margin: 0;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--thank-qr-size);
    align-items: center;
    column-gap: var(--thank-layout-gap);
  }

  /* 同一水平位置：首屏、尾屏的蓝点小标签 */
  .thank-you-section .thank-kicker {
    position: absolute;
    top: var(--thank-kicker-offset, 124px);
    left: 0;
    margin: 0;
    white-space: nowrap;
  }

  /* 沿用首屏底部 48px 安全线 */
  .thank-you-section .thank-email {
    position: absolute;
    left: 0;
    bottom: 48px;
    z-index: 3;
  }

  #contact .thank-home {
    position: absolute;
    right: 0;
    bottom: 48px;
    z-index: 3;
    width: var(--thank-qr-size);
    max-width: none;
  }

  /* 取消旧的 6px 人工偏移，让二维码与按钮共用右侧安全线 */
  #contact .qr-card {
    right: 0;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .thank-you-section {
    --thank-layout-gap: clamp(42px, 6vw, 72px);
    --thank-title-size: 60px;
    --thank-hand-size: 36px;
    --thank-copy-size: 15px;
    --thank-qr-size: clamp(250px, 26vw, 290px);
    --thank-button-height: clamp(34px, 3.6vw, 40px);
  }

  .thank-you-section .thank-hero-content {
    max-width: 360px;
  }

  .thank-you-section .thank-title-wrap {
    gap: 24px;
  }

  .thank-you-section .thank-title-wrap > p:not(.ref-kicker) {
    max-width: 260px;
  }
}

/* 尾屏窄版：按 DOM 视觉顺序重新排列，确保标题 / 二维码 / 邮箱 / 按钮互不遮挡 */
@media (min-width: 761px) and (max-width: 900px) {
  .ref-hero > .ref-nav { margin-top: 44px; }
  .ref-hero .ref-hero-side { bottom: 44px; }
  .thank-you-section {
    --thank-title-size: clamp(40px, 5.8vw, 52px);
    --thank-qr-size: clamp(185px, 26vw, 230px);
    --thank-button-height: 38px;
  }
  .thank-you-section .thank-nav { margin-top: 44px; }
}

@media (max-width: 1100px) {
  .thank-you-section { display: flex; flex-direction: column; padding-bottom: 44px; }
  .thank-you-section .thank-layout {
    position: relative;
    width: var(--page-shell);
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding-top: 48px;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    justify-items: center;
    row-gap: 0;
    text-align: center;
  }
  .thank-you-section .thank-hero-content,
  .thank-you-section .thank-hero-side { display: contents; }
  .thank-you-section .thank-kicker {
    position: static;
    justify-self: start;
    margin: 0;
    white-space: nowrap;
  }
  .thank-you-section .thank-title-wrap {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    gap: 8px;
    margin: 0;
  }
  /* 窄版标题装饰沿标题中心定位，不受左侧桌面定位影响 */
  #contact .thank-title-wrap::before {
  display: block;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 80%;
  height: clamp(75px, 18vw, 120px);
  transform: translate(-50%, -50%) rotate(14deg);
}
  .thank-you-section .thank-title-wrap::after {
    display: block;
    top: 56%;
    right: 0;
    font-size: 16px;
  }
  .thank-you-section .thank-hero-content h2 {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    text-align: center;
    font-size: var(--thank-title-size);
    line-height: 1.04;
  }
  .thank-you-section .thank-title-line { display: block; }
  .thank-you-section .thank-title-line + .thank-title-line::before { content: ''; }
  .thank-you-section .thank-handwritten { display: none; }
  .thank-you-section .thank-email {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: var(--thank-qr-size);
    max-width: 100%;
    margin: 0 0 38px;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.3;
  }
  .thank-you-section .thank-email::before {
    display: block;
    content: "";
    flex: 0 0 15px;
  }
  .thank-you-section .qr-card {
    position: relative;
    top: -16px;
    width: var(--thank-qr-size);
    max-width: 100%;
    height: auto;
    justify-self: center;
    margin: 0 0 22px;
    padding: 12px;
    aspect-ratio: 1;
  }
  #contact .thank-home {
  position: static;
  width: var(--thank-qr-size);
  min-width: var(--thank-qr-size);
  max-width: var(--thank-qr-size);
  box-sizing: border-box;
  min-height: var(--thank-button-height);
  margin: 0;
  justify-self: center;
  align-self: center;
}
}

@media (max-width: 760px) {
  .ref-hero { padding-top: 32px; padding-bottom: 32px; }
  .ref-hero > .ref-nav { margin-top: 0; }
  .thank-you-section {
    --thank-title-size: clamp(38px, 10.5vw, 56px);
    --thank-qr-size: clamp(192px, 52vw, 236px);
    --thank-button-height: 38px;
    width: calc(100% - 24px);
    height: var(--matched-hero-height, auto);
    min-height: var(--matched-hero-height, 540px);
    padding: 32px 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }
  .thank-you-section .thank-nav {
    margin-top: 0;
    padding-top: 0;
    flex: 0 0 auto;
    justify-items: stretch;
  }
  .thank-you-section .thank-nav .ref-brand { justify-self: start; }
  .thank-you-section .thank-kicker { display: none; }
  .thank-you-section .thank-layout {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    padding-top: 12px;
    padding-bottom: 0;
  }
  .thank-you-section .thank-title-wrap > p:not(.ref-kicker) { max-width: 280px; }
  .thank-you-section .thank-title-line { display: block; }
  .thank-you-section .thank-title-line + .thank-title-line::before { content: ''; }
  .thank-you-section .thank-email { font-size: 12px; }
}

@media (max-width: 520px) {
  .ref-hero { padding-top: 32px; padding-bottom: 32px; }
  .thank-you-section { padding-top: 32px; padding-bottom: 32px; }
  .thank-you-section {
    --thank-title-size: clamp(34px, 10.7vw, 48px);
    --thank-qr-size: clamp(188px, 53vw, 220px);
  }
  .thank-you-section .thank-layout { padding-top: 8px; }
  .thank-you-section .thank-title-wrap { transform: translateY(8px); }
  .thank-you-section .thank-title-wrap::before { width: 96%; height: 105px; }
  .thank-you-section .thank-title-wrap::after { right: 0; top: 56%; }
  .thank-you-section .thank-title-wrap > p:not(.ref-kicker) { font-size: 11px; }
}
/* 尾页：小于 899px 时标题固定两行 */
@media (max-width: 898px) {
  #contact .thank-hero-content h2 .thank-title-line {
    display: block !important;
    white-space: nowrap;
  }
}
.case-page {
  padding-bottom: 90px;
  color: #0d1110;
  background: #f4f5f1;
}

.case-page.is-dark-detail,
.case-page.case-page-dark {
  color: #fff;
  background: #080908;
}

.case-page.is-dark-detail .case-hero,
.case-page.case-page-dark .case-hero {
  color: #fff;
  background: #080908;
}

.case-page.is-dark-detail .case-nav nav a,
.case-page.is-dark-detail .case-nav nav a.active,
.case-page.is-dark-detail .case-copy-text h2,
.case-page.is-dark-detail .case-quote blockquote,
.case-page.is-dark-detail .case-quote-author strong,
.case-page.is-dark-detail .case-other-head h2,
.case-page.is-dark-detail .case-other-card strong,
.case-page.case-page-dark .case-nav nav a,
.case-page.case-page-dark .case-nav nav a.active,
.case-page.case-page-dark .case-copy-text h2,
.case-page.case-page-dark .case-quote blockquote,
.case-page.case-page-dark .case-quote-author strong,
.case-page.case-page-dark .case-other-head h2,
.case-page.case-page-dark .case-other-card strong {
  color: #fff;
}

.case-page.is-dark-detail .case-copy-text p,
.case-page.is-dark-detail .case-quote-author em,
.case-page.is-dark-detail .case-other-head > p,
.case-page.is-dark-detail .case-other-card span,
.case-page.case-page-dark .case-copy-text p,
.case-page.case-page-dark .case-quote-author em,
.case-page.case-page-dark .case-other-head > p,
.case-page.case-page-dark .case-other-card span {
  color: rgba(255, 255, 255, .66);
}

.case-page.is-dark-detail .case-copy-block,
.case-page.is-dark-detail .case-proof,
.case-page.is-dark-detail .case-other-projects,
.case-page.case-page-dark .case-copy-block,
.case-page.case-page-dark .case-proof,
.case-page.case-page-dark .case-other-projects {
  border-color: rgba(255, 255, 255, .18);
}

.case-page.is-dark-detail .case-quote blockquote,
.case-page.case-page-dark .case-quote blockquote {
  border-color: rgba(255, 255, 255, .22);
}

.case-hero {
  position: relative;
  display: flow-root;
  width: 100%;
  max-width: none;
  min-height: auto;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 96px) 0 0;
  overflow: visible;
  border-radius: 0;
  color: #0d1110;
  background: #f4f5f1;
}

.case-hero::before {
  content: none;
}

.case-nav {
  position: relative;
  z-index: 3;
  width: var(--container);
  margin-top: 0;
  color: #0d1110;
}

/* Detail navigation shares the same page-shell safety line as the content. */
.case-page .case-nav { width:var(--page-shell); max-width:var(--page-max); margin-inline:auto; }
.case-page .case-nav nav { margin-left:auto; }


.case-nav nav a {
  color: #0d1110;
}

.case-nav nav a.active {
  color: #0d1110;
}

.case-nav .ref-book {
  color: #fff;
  background: #0d1110;
}

.case-cover,
.case-copy-block,
.case-pair-gallery,
.case-image-stack,
.case-proof,
.case-after-quote-gallery,
.case-other-projects {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.case-cover {
  padding: clamp(28px, 5vw, 72px) 0;
}

.case-cover,
.case-pair-gallery,
.case-image-stack,
.case-after-quote-gallery {
  width: min(94vw, 1480px);
  max-width: calc(100vw - 32px);
}

.case-cover img,
.case-pair-gallery img,
.case-image-stack img,
.case-after-quote-gallery img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(13, 17, 16, .12);
}

.case-copy-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 760px);
  gap: 76px;
  justify-content: start;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid rgba(13, 17, 16, .15);
}

.case-copy-block.is-solution {
  padding-top: 72px;
}

.case-copy-text {
  max-width: 760px;
}

.case-copy-text h2 {
  max-width: 760px;
  margin: 0;
  color: #0d1110;
  font-family: var(--font-zh);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: var(--tracking-zh);
}

.case-copy-text p {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(13, 17, 16, .58);
  font-family: var(--font-zh);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: var(--tracking-zh);
}

.case-pair-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 44px 0 var(--section-y-lg);
}

.case-pair-gallery figure,
.case-image-stack figure {
  margin: 0;
}

.case-detail-gallery {
  width: min(94vw, 1480px);
  max-width: calc(100vw - 32px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 44px);
  align-items: start;
  justify-content: center;
  padding: 56px 0 var(--section-y-lg);
}

.case-detail-gallery .case-detail-figure {
  grid-column: span 3;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  overflow: hidden;
  border-radius: 22px;
  margin: 0;
}

.case-detail-gallery .case-detail-figure.is-wide {
  grid-column: 1 / -1;
}

.case-detail-gallery .case-detail-figure.is-small {
  grid-column: 1 / -1;
}

.case-detail-gallery .case-detail-figure.is-auto {
  grid-column: span 3;
}

.case-detail-gallery img,
.case-detail-gallery video,
.case-cover img {
  object-fit: contain;
  transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
  transform-origin: center;
}

.case-detail-gallery img {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  object-fit: contain;
  cursor: zoom-in;
}

.case-cover video,
.case-detail-gallery video {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  background: #111;
  border-radius: inherit;
  box-shadow: 0 24px 70px rgba(13, 17, 16, .12);
}

.case-detail-gallery .case-detail-figure.media-video {
  overflow: hidden;
}

.case-detail-gallery .is-wide img,
.case-detail-gallery .is-half img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.case-detail-gallery .is-small img {
  aspect-ratio: 3 / 4;
  height: auto;
}

.case-detail-gallery .is-auto img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.case-detail-gallery .case-detail-figure.image-mode-natural {
  grid-column: 1 / -1;
  overflow: visible;
}

.case-detail-gallery .case-detail-figure.image-mode-natural img,
.case-cover.image-mode-natural img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transform: none;
}

.case-detail-gallery .case-seamless-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(13, 17, 16, .12);
}

.case-detail-gallery .case-seamless-group > figure {
  margin: 0;
  border-radius: 0;
}

.case-detail-gallery .case-seamless-group > figure + figure {
  margin-top: -1px;
}

.case-detail-gallery .case-seamless-group .case-detail-figure {
  grid-column: auto;
  overflow: hidden;
  border-radius: 0;
}

.case-detail-gallery .case-seamless-group img {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.case-detail-gallery .case-seamless-group img {
  aspect-ratio: 16 / 9;
}

@media (max-width: 760px) {
  .case-detail-gallery {
    width: min(100%, calc(100vw - 32px));
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 var(--section-y-md);
  }

  .case-detail-gallery .case-detail-figure,
  .case-detail-gallery .case-detail-figure.is-wide,
  .case-detail-gallery .case-detail-figure.is-half,
  .case-detail-gallery .case-detail-figure.is-small,
  .case-detail-gallery .case-detail-figure.is-auto {
    grid-column: 1 / -1;
  }

}

.case-cover,
.case-detail-gallery,
.case-pair-gallery,
.case-image-stack,
.case-after-quote-gallery {
  justify-items: stretch;
  align-items: stretch;
}

.case-pair-gallery figure,
.case-image-stack figure,
.case-after-quote-gallery figure,
.case-detail-gallery picture,
.case-pair-gallery picture {
  width: 100%;
  max-width: none;
}

.case-cover img,
.case-cover video,
.case-detail-gallery img,
.case-detail-gallery video,
.case-pair-gallery img,
.case-image-stack img,
.case-after-quote-gallery img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  background: rgba(0, 0, 0, .82);
}

.is-lightbox-open {
  overflow: hidden;
}

.image-lightbox-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 0;
}

.image-lightbox-item {
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 10px 8px;
}

.image-lightbox-item img {
  width: auto;
  max-width: min(100%, 1680px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .4);
  cursor: zoom-out;
}

.image-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #0d1110;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.case-image-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 42px 0 var(--section-y-lg);
}

.case-image-stack:has(+ .case-proof) {
  padding-bottom: 0;
}

.case-image-stack figure:nth-child(1),
.case-image-stack figure:nth-child(4) {
  grid-column: 1 / -1;
}

.case-proof {
  padding: var(--section-y-lg) 0;
  border-top: 1px solid rgba(13, 17, 16, .15);
}

.case-quote {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.case-quote blockquote::before,
.case-quote blockquote::after {
  position: absolute;
  top: -.14em;
  color: var(--accent);
  font-size: 1.18em;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.case-quote blockquote::before {
  content: "“";
  left: .18em;
  translate: -100% 0;
}

.case-quote blockquote::after {
  content: "”";
  right: .18em;
  translate: 100% 0;
}

.case-quote blockquote {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 clamp(28px, 4vw, 48px) 34px;
  border-bottom: 1px dashed rgba(13, 17, 16, .2);
  color: #0d1110;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.3;
}

.case-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.case-quote-author img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
}

.case-quote-author strong,
.case-quote-author em {
  display: block;
}

.case-quote-author strong {
  color: #0d1110;
  font-size: 24px;
  font-weight: 500;
}

.case-quote-author em {
  margin-top: 4px;
  color: rgba(13, 17, 16, .44);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.case-after-quote-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0 0 var(--section-y-lg);
}

.case-after-quote-gallery figure {
  margin: 0;
}

.case-after-quote-gallery figure:first-child {
  grid-column: 1 / -1;
}

.case-other-projects {
  padding: var(--section-y-lg) 0 130px;
  border-top: 1px solid rgba(13, 17, 16, .15);
}

.case-other-head {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.case-other-head h2 {
  margin: 0;
  color: #0d1110;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.02;
  text-transform: none;
}

.case-other-head > p {
  width: 100%;
  margin: 0;
  color: rgba(13, 17, 16, .62);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  justify-self: stretch;
  text-align: right;
}

.case-other-head > div:has(h2[style*="display: none"]) .accent-label {
  margin-bottom: 0;
}

.case-other-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.case-other-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
}

.case-other-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform:
    translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%))
    scale(var(--media-zoom, 1));
  transform-origin: center;
}

.case-other-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-top: 24px;
}

.case-other-card strong {
  color: #0d1110;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.case-other-card span {
  color: rgba(13, 17, 16, .62);
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

/* Unified page content frame */
.site-container,
.content-container,
.content-frame,
.ref-nav,
.ref-hero .hero-content,
.ref-hero-bottom,
.thank-nav,
.thank-layout,
.case-nav {
  width: var(--page-shell);
  max-width: var(--page-max);
  margin-inline: auto;
}

.feature-slider-mock {
  width: min(var(--page-max), calc(100% - var(--page-pad) * 2));
  margin-inline: auto;
}
.creative-works {
  width: 100%;
}

.feature-copy,
.numbers-section,
.work-category-list {
  max-width: var(--page-max);
}

.slider-stage {
  width: 100vw;
  max-width: none;
  margin-left: calc((100vw - var(--container)) / -2);
}

.slider-card.is-front {
  margin-left: 0;
}

.services-visual {
  display: block;
  width: 100%;
  padding-inline: 0;
}

.services-frame {
  width: var(--page-shell);
  max-width: var(--page-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(55px, 7.333vw, 88px);
}

.case-nav {
  width: var(--page-shell);
}

/* Detail-page shared safety line: matches the homepage content frame. */
.case-cover,
.case-copy-block,
.case-pair-gallery,
.case-detail-gallery,
.case-image-stack,
.case-after-quote-gallery,
.case-other-projects {
  width: var(--page-shell);
  max-width: var(--page-max);
}

@media (max-width: 900px) {
  .services-frame {
    grid-template-columns: 1fr;
  }

  .case-hero {
    padding: clamp(24px, 6vw, 48px) 0 0;
  }

}

/* Detail and home responsive adjustments: scoped to the affected modules only. */
@media (max-width: 900px) {
  .numbers-grid article {
    min-width: 0;
    min-height: clamp(82px, 16vw, 112px);
    padding: clamp(10px, 2.2vw, 16px);
  }

  .numbers-grid strong {
    font-size: clamp(22px, 4.8vw, 34px);
  }

  .numbers-grid span {
    font-size: clamp(9px, 1.65vw, 12px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .case-other-media {
    border-radius: 16px;
  }

  .case-copy-block {
    grid-template-columns: minmax(150px, .36fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 48px);
    padding-block: clamp(48px, 7vw, 64px);
  }

  .case-copy-text h2 {
    font-size: clamp(28px, 4.2vw, 38px);
  }

  .case-copy-text p {
    font-size: 16px;
  }

  .case-detail-gallery,
  .case-pair-gallery,
  .case-image-stack,
  .case-after-quote-gallery {
    gap: 18px;
  }

  .case-detail-gallery .case-detail-figure,
  .case-cover img,
  .case-pair-gallery img,
  .case-image-stack img,
  .case-after-quote-gallery img,
  .case-other-media {
    border-radius: 16px;
  }

  .case-proof {
    padding-block: clamp(56px, 8vw, 76px);
  }

  .case-quote blockquote {
    padding-bottom: 24px;
    font-size: clamp(32px, 4.8vw, 40px);
  }

  .case-quote-author {
    margin-top: 20px;
  }

  .case-quote-author img {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
}

@media (max-width: 760px) {
  .slider-stage {
    gap: 10px;
    padding-right: 0;
  }

  .slider-card,
  .slider-card.is-front,
  .slider-card.is-middle,
  .slider-card.is-back,
  .slider-card.is-loop-copy {
    flex-basis: calc((100vw - 48px) / 2.35);
    border-radius: 14px;
  }

  .numbers-grid article {
  min-height: 64px;
  padding: 10px 8px;
  justify-content: flex-start;
  gap: 10px;
}

  .numbers-grid strong {
    font-size: clamp(15px, 5.5vw, 24px);
    line-height: 1;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .numbers-grid span {
    font-size: clamp(7px, 2.15vw, 10px);
    line-height: 1.3;
  }

  .case-nav {
    width: var(--container);
  }

  .case-other-media {
    border-radius: 12px;
  }

  .case-nav .nav-menu-toggle::before {
    width: 24px;
    height: 15px;
    background-size: 100% 2px, 100% 2px, 100% 2px;
  }

  .case-copy-block {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 42px;
  }

  .case-copy-block.is-solution {
    padding-top: 42px;
  }

  .case-copy-text h2 {
    font-size: clamp(25px, 7.2vw, 32px);
    line-height: 1.25;
  }

  .case-copy-text p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .case-detail-gallery {
    gap: 14px;
    padding-block: 30px var(--section-y-sm);
  }

  .case-detail-gallery .case-detail-figure,
  .case-cover img,
  .case-pair-gallery img,
  .case-image-stack img,
  .case-after-quote-gallery img,
  .case-other-media {
    border-radius: 12px;
  }

  .case-proof {
    padding: 32px 0 28px;
  }

  .case-quote > span {
    height: 20px;
    font-size: 44px;
  }

  .case-quote blockquote {
    padding-bottom: 18px;
    font-size: clamp(28px, 8vw, 34px);
  }

  .case-quote-author {
    gap: 12px;
    margin-top: 16px;
  }

  .case-quote-author img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .case-quote-author strong {
    font-size: 18px;
  }

  .case-quote-author em {
    font-size: 12px;
  }

  .case-other-projects {
    padding: 56px 0 72px;
  }

  .case-other-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: clamp(12px, 4vw, 24px);
    margin-bottom: 32px;
  }

  .case-other-head > div {
    min-width: 0;
  }

  .case-other-head h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .case-other-head > p {
    width: 100%;
    min-width: 0;
    max-width: 32rem;
    font-size: 14px;
    line-height: 1.5;
    justify-self: end;
  }

  .case-other-grid {
    gap: 24px;
  }

  .case-other-meta {
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
  }

  .case-other-card strong {
    min-width: 0;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.12;
  }

  .case-other-card span {
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1.3;
  }
}

@media (max-width: 900px) {
  .services-frame {
    display: block;
  }

  .service-list a {
    padding: 18px 0;
  }

  .service-list strong {
    max-width: none;
    font-size: clamp(26px, 6vw, 36px);
  }

  .service-list strong span {
    position: static;
    display: inline-block;
    margin-left: 8px;
    vertical-align: top;
    font-size: 12px;
  }

}
/* 仅放大 Brand Visual 中的 PANDA JOJO 项目 */
.work-thumb-card[data-project-id="elf-sack"] {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  justify-self: center;
}
/* 首页首屏右侧文案与内容边界对齐 */
@media (min-width: 901px) {
  .ref-hero .ref-hero-side h2 {
    text-align: right;
  }
}
/* 首页首屏：导航菜单右对齐 */
.ref-hero > .ref-nav nav {
  justify-content: flex-end;
}

/* 首页首屏：两个按钮右对齐 */
.ref-hero .ref-actions {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

/* 隐藏右下角悬浮的 Edit 按钮 */
.edit-entry {
  display: none !important;
}

/* Thank You 尾屏设计恢复：仅还原 17:00 版视觉元素，保持现有外框和响应式高度。 */
.thank-you-section .thank-nav { padding-top: 0; margin-top: 36px; }
@media (max-width: 900px) {
  .thank-you-section .thank-nav { margin-top: 44px; }
}
@media (max-width: 760px) {
  .thank-you-section .thank-nav { margin-top: 0; flex: 0 0 auto; }
}

.thank-you-section .thank-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.thank-you-section .thank-nav nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(22px, 2.7vw, 34px);
}

.thank-you-section .thank-kicker {
  margin: 0;
}

.thank-you-section .thank-title-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(-54px, -3.8vw, -36px);
  left: clamp(-30px, -2.5vw, -15px);
  width: clamp(310px, 39vw, 560px);
  height: clamp(155px, 18vw, 260px);
  border: 1px solid rgba(214, 225, 244, .23);
  border-radius: 50%;
  transform: rotate(14deg);
  pointer-events: none;
}

.thank-you-section .thank-title-wrap::after {
  content: "✦";
  position: absolute;
  top: 30%;
  right: clamp(-30px, -2.5vw, -15px);
  color: rgba(255, 255, 255, .82);
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 400;
  pointer-events: none;
}

.thank-you-section .thank-hero-bottom { display: none; }

@media (max-width: 900px) {
  .thank-you-section .thank-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 640px) {
  .thank-you-section .thank-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }
  .thank-you-section .thank-nav .ref-brand { justify-self: start; }
  .thank-you-section .thank-nav .nav-menu-toggle { display: inline-flex; justify-self: end; }
  .thank-you-section .thank-nav nav { display: none; }
  /* 手机端：三条杠缩小 */
  .ref-hero .nav-menu-toggle::before,
  .thank-you-section .nav-menu-toggle::before {
    width: 24px;
    height: 14px;
    background-size: 100% 2px, 100% 2px, 100% 2px;
  }
}
/* 特窄屏：位置可换行，Logo 与 Menu 的字号/尺寸不缩小 */
@media (max-width: 340px) {
  .thank-you-section .thank-nav {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
  }
  .thank-you-section .thank-nav .nav-menu-toggle { grid-row: 2; }
}
/* 首屏与尾屏：统一内容安全宽度 */
.ref-hero > .ref-nav,
.ref-hero .hero-content,
.ref-hero .ref-hero-bottom,
.thank-you-section .thank-nav,
.thank-you-section .thank-layout {
  width: var(--page-shell);
  max-width: var(--page-max);
}

.ref-hero > .ref-nav,
.thank-you-section .thank-nav,
.thank-you-section .thank-layout {
  margin-left: auto;
  margin-right: auto;
}

/* 横向布局：统一左右对齐基准 */
@media (min-width: 761px) {
  /* 首屏右上角导航 */
  .ref-hero > .ref-nav nav {
    justify-self: end;
    justify-content: flex-end;
  }

  /* 首屏右下角文案和按钮 */
  .ref-hero .ref-hero-side {
    right: calc((100% - var(--page-shell)) / 2);
    text-align: right;
  }

  .ref-hero .ref-hero-side h2 {
    text-align: right;
  }

  .ref-hero .ref-actions {
    justify-content: flex-end;
  }

  /* 首屏左下三个英文标签 */
  .ref-hero .ref-hero-bottom {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}/* 尾屏宽屏布局：二维码右边缘对齐安全线 */
@media (min-width: 901px) {
  .thank-you-section .qr-card {
    position: relative;
    right: 6px;
  }
}
/* 隐藏首页 Logo 展示条 */
#showcase {
  display: none !important;
}

/* RP-01: preserve the established desktop composition and make its content
   frame usable on tablets and phones. */
@media (max-width: 760px) {
  :root {
    /* Mobile ordinary-content safety line: 40px on each side. */
    --mobile-content-inset: 34px;
    --page-shell: calc(100vw - (var(--mobile-content-inset) * 2));
  }
  
  .case-page .case-nav {
    width: var(--page-shell);
    max-width: var(--page-max);
  }
}

@media (max-width: 900px) {
  .site-nav .ref-brand {
    min-width: var(--logo-width);
  }

  .nav-menu-toggle {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 12px;
  }
}

/* Tablet and phone directions: every category keeps its own text / image row.
   The desktop shared preview remains untouched above this breakpoint. */

@media (max-width: 1100px) {
  .services-frame {
    display: block;
  }

  .service-preview-space {
    display: none;
  }

  .service-list {
    margin-top: clamp(24px, 3.6vw, 36px);
  }

  .service-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(148px, 29vw, 250px);
    gap: clamp(18px, 3.2vw, 34px);
    align-items: center;
    padding-block: clamp(22px, 3.3vw, 32px);
  }

  .direction-copy {
    min-width: 0;
  }

  .service-list strong {
    max-width: 100%;
    font-size: clamp(28px, 4.25vw, 38px);
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-list strong span {
    top: .06em;
    right: clamp(-34px, -3.4vw, -22px);
    font-size: clamp(11px, 1.5vw, 13px);
  }

  .direction-inline-description {
    display: block;
    max-width: 34rem;
    margin-top: clamp(12px, 1.8vw, 16px);
    color: rgba(255, 255, 255, .72);
    font-size: clamp(11px, 1.45vw, 13px);
    font-style: normal;
    font-weight: var(--fw-text);
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .direction-inline-preview {
    display: block;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
  }

  .direction-inline-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: translate(var(--media-shift-x, 0%), var(--media-shift-y, 0%)) scale(var(--media-zoom, 1));
    transform-origin: center;
  }

  .case-cover,
  .case-detail-gallery,
  .case-pair-gallery,
  .case-image-stack,
  .case-after-quote-gallery,
  .case-other-projects {
    width: var(--page-shell);
    max-width: var(--page-max);
  }
}

@media (max-width: 520px) {
    /* 黑色板块顶部距离 */
  .services-visual {
    padding-top: 28px;
  }

  /* 小标题自身的下边距 */
  .services-visual .accent-label {
    margin-bottom: 2;
  }

  /* 小标题与 Live Visual 列表的间距 */
  .service-list {
    margin-top: 12px;
  }.service-list a {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 31vw, 136px);
    gap: 12px;
    padding-block: 20px;
  }

  .service-list strong {
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: 1.08;
  }

  .service-list strong span {
    position: static;
    display: inline-block;
    margin-left: 7px;
    vertical-align: top;
    font-size: 10px;
  }

  .direction-inline-description {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .direction-inline-preview {
    border-radius: 10px;
  }
}

/* Keep the closing signature centered inside the same safe content line. */
.case-proof .case-quote {
  width: min(100%, 750px);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .case-proof {
    width: var(--page-shell);
    max-width: var(--page-max);
    margin-inline: auto;
  }

  .case-quote blockquote {
    max-width: 100%;
    padding-inline: clamp(28px, 7vw, 52px);
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
  }

  .case-quote blockquote::before {
    left: clamp(7px, 1.6vw, 12px);
    translate: 0 -.12em;
  }

  .case-quote blockquote::after {
    right: clamp(7px, 1.6vw, 12px);
    translate: 0 -.12em;
  }

  .case-quote-author {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* RP-02: confirmed phone, tablet and desktop adjustments. */
@media (min-width: 1101px) {
  .service-list .direction-inline-description,
  .service-list .direction-inline-preview {
    display: none;
  }

  .service-preview-space > span {
    margin-top: 30px;
  }
}

@media (max-width: 1100px) {
  .numbers-head {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 40%);
  }

  .direction-copy {
    min-height: clamp(111px, 21.75vw, 188px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .direction-inline-description {
    margin-bottom: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .feature-copy {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
    align-items: end;
  }

  .feature-copy h2 {
    max-width: 100%;
    font-size: clamp(32px, 4.4vw, 46px);
    line-height: 1.1;
  }

  .feature-copy > p:last-child {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    justify-self: end;
  }

  .work-thumb-card .creative-meta {
    gap: clamp(8px, 1.6vw, 14px);
    padding-inline: clamp(2px, 1vw, 10px);
  }

  .work-thumb-card strong {
    min-width: 0;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.2;
    word-break: keep-all;
  }

  .work-thumb-card span {
    flex: 0 1 48%;
    min-width: 0;
    font-size: clamp(9px, 1.1vw, 11px);
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .thank-you-section {
    --thank-title-size: clamp(42px, 5.5vw, 50px);
    --thank-qr-size: clamp(250px, 34vw, 285px);
    --thank-button-height: 40px;
  }

  .thank-you-section .thank-layout {
  padding-top: 34px;
  grid-template-rows: repeat(5, auto);
  align-content: center;
  row-gap: 12px;
}

  .thank-you-section .thank-email {
    margin-top: 22px;
    margin-bottom: 12px;
  }
  
  .thank-you-section .qr-card {
    top: 12px;
    margin-bottom: 0px;
  }
}

@media (max-width: 760px) {
  .nav-menu-toggle {
    width: 30px;
    min-height: 30px;
  }

  .nav-menu-toggle::before {
    width: 22px;
    height: 13px;
    background-size: 100% 2px, 100% 2px, 100% 2px;
  }

  .ref-hero .hero-content {
    margin-top: 44px;
  }

  .ref-hero .ref-kicker {
    margin-bottom: 24px;
  }

  .ref-hero-side {
    margin-top: 34px;
  }

  .ref-hero-side h2 {
    font-size: clamp(16px, 4.6vw, 20px);
    line-height: 1.34;
  }

  .ref-actions {
    gap: 8px;
  }

  .ref-actions a {
    min-height: 32px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .feature-copy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: clamp(12px, 4vw, 24px);
    align-items: end;
  }

  .feature-copy h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.12;
    white-space: nowrap;
  }

  .feature-copy > p:last-child {
    width: 100%;
    font-size: 11px;
    line-height: 1.5;
    justify-self: end;
  }

  .numbers-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: clamp(12px, 4vw, 24px);
    align-items: end;
  }

  .numbers-description {
    width: 100%;
    max-width: none;
    justify-self: end;
  }

  .work-category-head {
    margin-bottom: clamp(36px, 8vw, 52px);
  }

  .work-category-head h3 {
    max-width: 100%;
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
  }

  .work-category-head p {
    max-width: min(100%, 310px);
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.5;
  }

  .work-thumb-card .creative-meta {
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding-inline: 2px;
  }

  .work-thumb-card strong {
    font-size: clamp(16px, 5vw, 20px);
  }

  .work-thumb-card span {
    font-size: 9px;
    line-height: 1.35;
  }

  .case-copy-block {
    gap: 14px;
    padding-block: 32px;
  }

  .case-copy-text h2 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.28;
  }

  .case-copy-text p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.68;
  }

  .case-proof {
    padding-block: 30px;
  }

  .case-quote blockquote {
    padding-bottom: 14px;
    font-size: clamp(23px, 6.8vw, 30px);
    line-height: 1.25;
  }

  .case-quote-author {
    gap: 10px;
    margin-top: 14px;
  }

  .case-quote-author img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .case-quote-author strong {
    font-size: 16px;
  }

  .case-quote-author em {
    margin-top: 2px;
    font-size: 11px;
  }

  .case-other-projects {
    padding-block: 42px 54px;
  }

  .case-other-grid {
    gap: 16px;
  }

  .case-other-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    margin-top: 10px;
  }

  .case-other-card strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: normal;
    word-break: normal;
  }

  .case-other-card span {
    flex: 0 0 auto;
    text-align: right;
  }
}

@media (max-width: 520px) {
  .nav-menu-toggle {
    width: 28px;
    min-height: 28px;
    min-width: 28px;
    padding-inline: 6px;
    font-size: 10px;
  }

  .nav-menu-toggle::before {
    width: 21px;
    height: 12px;
    background-size: 100% 2px, 100% 2px, 100% 2px;
  }

  .ref-hero .hero-content {
    margin-top: 44px;
  }

  .ref-hero-bottom {
    gap: 26px;
    margin-top: 44px;
    font-size: 10px;
  }

  .service-list a {
    grid-template-columns: minmax(0, 1fr) clamp(92px, 30vw, 118px);
    gap: 10px;
    padding-block: 17px;
  }

  .direction-copy {
    min-height: clamp(72px, 22.5vw, 88px);
  }

  .service-list strong {
    font-size: clamp(21px, 6.6vw, 26px);
  }

  .direction-inline-description {
    font-size: 10px;
    line-height: 1.45;
  }

  .thank-you-section {
    --thank-title-size: clamp(28px, 8.8vw, 36px);
    --thank-qr-size: clamp(172px, 48vw, 202px);
    --thank-button-height: 34px;
    padding-block: 24px;
  }

  .thank-you-section .thank-layout {
    padding-top: 4px;
  }

  .thank-you-section .thank-title-wrap {
    transform: none;
  }

  .thank-you-section .thank-email {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .thank-you-section .qr-card {
    top: 0;
    margin-bottom: 28px;
    padding: 10px;
  }

  .case-copy-text h2 {
    font-size: clamp(21px, 6vw, 25px);
  }

  .case-copy-text p {
    font-size: 13px;
    line-height: 1.65;
  }

  .case-proof {
    padding-block: 28px;
  }

  .case-quote blockquote {
    padding-inline: 24px;
    font-size: clamp(21px, 6.6vw, 26px);
  }

  .case-quote blockquote::before,
  .case-quote blockquote::after {
    font-size: 1em;
  }
}

@media (max-width: 340px) {
  .thank-you-section .thank-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }

  .thank-you-section .thank-nav .nav-menu-toggle {
    grid-row: auto;
  }
}

/* 电脑端 */
@media (min-width: 1101px) {
  .case-proof {
    padding-block: clamp(64px, 5vw, 72px) 20px;
  }
}

/* iPad 端 */
@media (min-width: 761px) and (max-width: 1100px) {
  .case-proof {
    padding-block: 48px 10px;
  }
}

/* 手机端 */
@media (max-width: 760px) {
  .case-proof {
    padding-block: 28px 4px;
  }
}
/* Design Directions：说明文字收窄，底部与图片对齐 */
@media (max-width: 1100px) {
  #directions .service-list a {
    align-items: stretch;
  }

  #directions .direction-copy {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #directions .direction-inline-description {
    width: 85%;
    max-width: 85%;
    margin-bottom: 0;
  }

  #directions .direction-inline-preview {
    align-self: end;
  }
}

/* Selected Projects：清除底部阴影与多余空间 */
#selected .slider-stage {
  padding-bottom: 0;
}

#selected .slider-card,
#selected .slider-card:hover,
#selected .slider-card:focus-visible {
  box-shadow: none;
}

#selected .slider-progress {
  display: none;
}
