/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4
 * macrostructure: Long Document · genre: modern-minimal editorial
 * theme: preserved XHS custom · nav: existing compact dot menu
 * footer: existing next-project band · enrichment: paper collage + visual archive
 * contrast: pass (40-41) · honest: pass (46) · chrome: pass (47)
 * responsive: pass (34, 49-56) · typography: pass (38a)
 */
:root {
  --bg: #ffffff;
  --fg: #11110f;
  --muted: rgba(17, 17, 15, 0.56);
  --line: rgba(17, 17, 15, 0.12);
  --panel: rgba(246, 244, 238, 0.82);
  --shadow: 0 24px 80px rgba(38, 35, 28, 0.12);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --gold: #e7ba46;
  --blue: #3758f2;
  --pink: #f59db8;
  --green: #7cbf87;
  --coffee: #92664d;
  --red: #e35b4f;
  color-scheme: light;
}

@font-face {
  font-family: "ZXW Relaxed Script";
  src: url("./assets/fonts/zhi-mang-xing-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root.dark {
  --bg: #ffffff;
  --fg: #11110f;
  --muted: rgba(17, 17, 15, 0.56);
  --line: rgba(17, 17, 15, 0.12);
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 80px rgba(38, 35, 28, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  letter-spacing: 0;
  transition: background-color 240ms ease, color 240ms ease;
}

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

section,
article {
  scroll-margin-top: 118px;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 18px 28px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.08);
  transform: translateY(0);
  animation: softHeaderIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 360ms ease;
}

.brand-mark,
.header-actions,
.menu-panel {
  pointer-events: auto;
}

.brand-mark {
  width: auto;
  height: 52px;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  transform: none;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.icon-button,
.dot-menu {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.brand-mark:focus-visible,
.icon-button:focus-visible,
.dot-menu:focus-visible,
.assistant-trigger:focus-visible {
  outline: 1px solid rgba(17, 17, 15, 0.34);
  outline-offset: 6px;
}

.moon-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: none;
}

.dot-menu {
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 6px;
}

.dot-menu span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 200ms ease;
}

.dot-menu[aria-expanded="true"] span:nth-child(odd) {
  transform: scale(0.45);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 28px;
  display: grid;
  gap: 6px;
  min-width: 250px;
  padding: 14px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 35px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
}

.menu-panel a:hover {
  color: var(--blue);
}

.hero-scroll {
  height: 250vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 86px 22px 54px;
}

.project-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(var(--tilt-y, 0));
  will-change: transform;
}

.project-sphere {
  --x: 0px;
  --y: 0px;
  --scale: 1;
  position: absolute;
  width: clamp(76px, 6.6vw, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #11110f;
  background: #f5f5f5;
  box-shadow: none;
  transform: translate(var(--x), var(--y)) scale(var(--scale));
  will-change: transform;
}

body:not(.home-page).is-project-transitioning {
  overflow: hidden;
}

body.is-project-transitioning .hero-copy {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-project-transitioning .assistant-widget {
  animation: assistantWidgetOut 420ms cubic-bezier(0.45, 0, 0.55, 1) both;
  pointer-events: none;
  will-change: opacity, transform;
}

@keyframes assistantWidgetOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.98);
  }
}

body.is-project-transitioning .project-sphere {
  opacity: 0.08;
  transition: opacity 260ms ease;
}

body.is-project-transitioning .project-sphere.is-selected {
  opacity: 0;
}

.project-transition-card {
  --transition-card-duration: 920ms;
  --transition-card-ease: cubic-bezier(0.76, 0, 0.24, 1);
  position: fixed;
  z-index: 999;
  overflow: hidden;
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow: none;
  pointer-events: none;
  transform-origin: center;
  transition:
    left var(--transition-card-duration) var(--transition-card-ease),
    top var(--transition-card-duration) var(--transition-card-ease),
    width var(--transition-card-duration) var(--transition-card-ease),
    height var(--transition-card-duration) var(--transition-card-ease),
    border-radius var(--transition-card-duration) var(--transition-card-ease),
    opacity 260ms ease;
  will-change: left, top, width, height, border-radius, opacity;
}

.project-transition-card.is-stage-two {
  --transition-card-duration: 1120ms;
}

.project-transition-card.is-direct-handoff {
  transform-origin: 0 0;
  backface-visibility: hidden;
  contain: layout paint;
  transition:
    transform 820ms cubic-bezier(0.76, 0, 0.24, 1),
    border-radius 820ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 240ms ease;
  will-change: transform, opacity;
}

.project-transition-card.is-complete {
  transition: opacity 260ms ease;
}

.project-transition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.project-transition-card.is-coffee-handoff > img {
  position: absolute;
  inset: 0;
  transition: opacity 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-transition-card.is-coffee-handoff > img:first-child {
  opacity: 1;
}

.project-transition-card.is-coffee-handoff > .project-transition-target-image {
  opacity: 0;
}

.project-transition-card.is-coffee-handoff.is-stage-one > img:first-child,
.project-transition-card.is-coffee-handoff.is-stage-two > img:first-child {
  opacity: 0;
}

.project-transition-card.is-coffee-handoff.is-stage-one > .project-transition-target-image,
.project-transition-card.is-coffee-handoff.is-stage-two > .project-transition-target-image {
  opacity: 1;
}

.project-sphere img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.project-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-sphere:hover {
  box-shadow: none;
}

.project-sphere:hover::after,
.project-sphere:focus-visible::after {
  opacity: 1;
}

.project-sphere strong {
  position: relative;
  z-index: 2;
  max-width: 9em;
  padding: 0 12px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.18;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  color: #fff;
}

.project-sphere:hover strong,
.project-sphere:focus-visible strong {
  opacity: 1;
  transform: translateY(0);
}

.placeholder-noise,
.image-placeholder::before,
.card-image::before,
.assistant-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: overlay;
  opacity: 0.8;
}

.sphere-gold,
.sphere-blue,
.sphere-pink,
.sphere-ink,
.sphere-coffee,
.sphere-red {
  color: #fff;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(520px, 82vw);
  text-align: center;
  pointer-events: none;
}

.kicker {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: none;
  color: color-mix(in srgb, var(--fg) 86%, transparent);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.55;
  font-weight: 800;
}

.hero-meta {
  margin: 18px auto 0;
  max-width: 36em;
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.86vw, 14px);
  line-height: 1.75;
  color: var(--muted);
}

.project-caption {
  display: none;
}

.project-caption.visible {
  opacity: 0;
}

.intro-section,
.catalog,
.work-band,
.others-section,
.contact-section {
  position: relative;
  z-index: 5;
  background: var(--bg);
}

.intro-section {
  padding: 104px clamp(20px, 5vw, 72px) 78px;
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 7vw, 96px);
}

.intro-grid h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.16;
  font-weight: 560;
}

.intro-copy {
  align-self: end;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.82;
  color: var(--fg);
}

.intro-copy p {
  margin: 0 0 18px;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.keyword-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  font-size: 13px;
  line-height: 1;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-item {
  min-height: 170px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  border-right: 1px solid var(--line);
}

.catalog-item:last-child {
  border-right: 0;
}

.catalog-item span,
.catalog-item small {
  font-family: var(--font-sans);
  color: var(--muted);
}

.catalog-item a {
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.05;
  font-weight: 600;
}

.catalog-item:hover {
  background: color-mix(in srgb, var(--fg) 5%, transparent);
}

.work-band,
.others-section {
  padding: 92px clamp(16px, 4vw, 56px);
}

.case-study {
  border-top: 1px solid var(--line);
  padding: 26px 0 86px;
}

.case-study.is-revealing .case-title span,
.case-study.is-revealing .case-title h2,
.case-study.is-revealing .case-body div,
.other-card.is-revealing .card-content span,
.other-card.is-revealing .card-content h2,
.other-card.is-revealing .card-content p {
  animation: revealUp 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-study.is-revealing .case-title h2,
.other-card.is-revealing .card-content h2 {
  animation-delay: 40ms;
}

.case-study.is-revealing .case-body div:nth-child(1),
.other-card.is-revealing .card-content p:nth-of-type(1) {
  animation-delay: 80ms;
}

.case-study.is-revealing .case-body div:nth-child(2),
.other-card.is-revealing .card-content p:nth-of-type(2) {
  animation-delay: 130ms;
}

.case-study.is-revealing .case-body div:nth-child(3) {
  animation-delay: 180ms;
}

.case-study.is-revealing .case-body div:nth-child(4) {
  animation-delay: 230ms;
}

.case-study.is-revealing .case-body div:nth-child(5) {
  animation-delay: 280ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes projectHeroHeadingIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-study:last-child {
  padding-bottom: 0;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 28px;
  align-items: stretch;
  min-height: clamp(380px, 62vh, 700px);
}

.case-hero.flip {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
}

.case-hero.flip .case-title {
  order: 2;
}

.case-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0 18px;
}

.case-title span,
.card-content span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-title h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.06;
  font-weight: 560;
}

.image-placeholder,
.card-image,
.assistant-visual {
  position: relative;
  overflow: hidden;
}

.showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-placeholder {
  min-height: 420px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.image-placeholder span,
.card-image span {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.image-placeholder::after,
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.38));
}

.gold { background: linear-gradient(135deg, #312d21, #e2b23d 45%, #fff3a4); }
.blue { background: linear-gradient(135deg, #080b17, #3758f2 48%, #80efff); }
.pink { background: linear-gradient(135deg, #46152b, #f59db8 48%, #fff0f4); }
.ink { background: linear-gradient(135deg, #090909 0%, #34373e 48%, #dce4eb 100%); }
.coffee { background: linear-gradient(135deg, #28160f, #92664d 50%, #f4c98b); }
.red { background: linear-gradient(135deg, #2d0b10, #e35b4f 50%, #ffd5c9); }

.case-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.case-body.five {
  grid-template-columns: repeat(5, 1fr);
}

.case-body div {
  min-height: 210px;
  padding: 18px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  border: 1px solid var(--line);
}

.case-body h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.case-body p,
.case-body li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.case-body p,
.case-body ul {
  margin: 0;
}

.case-body ul {
  padding-left: 1em;
}

.optimization-band {
  border-top: 1px solid var(--line);
}

.others-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.other-card {
  display: grid;
  grid-template-rows: minmax(320px, 48vh) auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.card-image {
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.card-content {
  padding: 20px 0 0;
}

.card-content h2 {
  margin: 12px 0 16px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.05;
  font-weight: 560;
}

.card-content p {
  margin: 0 0 10px;
  max-width: 680px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.contact-section {
  min-height: 68vh;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 80px clamp(20px, 5vw, 72px);
}

.contact-section h2 {
  max-width: 920px;
}

.contact-button {
  flex: 0 0 auto;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 750;
}

.assistant-widget {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
  animation: softWidgetIn 620ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assistant-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fg);
  border: 1px solid rgba(17, 17, 15, 0.08);
  box-shadow: 0 18px 54px rgba(17, 17, 15, 0.1);
  backdrop-filter: blur(18px) saturate(1.08);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.assistant-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.assistant-visual {
  height: 230px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(231, 186, 70, 0.48), transparent 24%),
    linear-gradient(135deg, #f8f8f5 0%, #e8edf8 48%, #ffe5ef 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 15, 0.06);
}

.assistant-visual span {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 82px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.assistant-panel p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
}

.assistant-panel .assistant-name {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

.assistant-chips a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(17, 17, 15, 0.06);
  font-family: var(--font-sans);
  font-size: 13px;
}

.assistant-chips a:first-child {
  background: var(--fg);
  color: var(--bg);
}

.assistant-trigger {
  pointer-events: auto;
  height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: var(--fg);
  color: var(--bg);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.92),
    0 12px 34px rgba(17, 17, 15, 0.1);
  cursor: pointer;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.assistant-trigger:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.98),
    0 15px 40px rgba(17, 17, 15, 0.12);
}

.assistant-trigger strong {
  font-family: var(--font-sans);
  font-size: 14px;
  white-space: nowrap;
}

.spark-dots {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px),
    radial-gradient(circle at 74% 35%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px),
    radial-gradient(circle at 74% 65%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 80%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px),
    radial-gradient(circle at 26% 65%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px),
    radial-gradient(circle at 26% 35%, var(--spark-color, var(--bg)) 0 2px, transparent 2.5px);
}

.home-page,
.project-page {
  background: #fff;
}

.home-page .site-header {
  background: transparent;
  backdrop-filter: none;
}

.project-page .site-header {
  background: #fff;
  backdrop-filter: none;
  animation: none;
  opacity: 1;
  transform: none;
}

.project-page.has-route-transition .site-header {
  transition: none;
}

.project-detail-hero {
  --project-hero-gap: clamp(32px, 3vw, 64px);
  --project-hero-top: 132px;
  --project-hero-radius: 18px;
  padding: var(--project-hero-top) var(--project-hero-gap) var(--project-hero-gap);
}

.project-detail-image {
  position: relative;
  height: calc(100vh - var(--project-hero-top) - var(--project-hero-gap));
  height: calc(100svh - var(--project-hero-top) - var(--project-hero-gap));
  min-height: 520px;
  border-radius: var(--project-hero-radius);
  overflow: hidden;
  background: #f2f2f0;
  clip-path: inset(0 round var(--project-hero-radius));
  animation: projectImageIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-detail-image img,
.project-showcase-large img,
.project-showcase-wide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-detail-image img {
  object-fit: cover;
  object-position: center center;
  background: transparent;
  border-radius: inherit;
}

.route-transition-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  opacity: 1;
  backface-visibility: hidden;
  contain: paint;
  will-change: opacity;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-transition-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.route-transition-cover.is-leaving {
  opacity: 0;
}

.route-transition-cover.is-framed {
  inset: auto;
  border-radius: var(--route-radius, 18px);
  background: #f2f2f0;
  transform: scale(1);
  transform-origin: 0 0;
}

.route-transition-cover.is-framed img {
  border-radius: inherit;
}

.route-transition-cover.is-framed.is-leaving {
  opacity: 0;
  transform: scale(1);
}

body.has-route-transition .project-detail-image {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
  background: transparent;
}

body.has-route-transition .project-detail-image > img {
  opacity: 0;
}

body.route-transition-visual-ready .project-detail-image > img {
  opacity: 1;
}

body.has-route-transition .project-detail-heading {
  animation: none;
  opacity: 0;
  transform: none;
}

body.route-transition-complete .project-detail-image {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}

body.route-transition-complete .project-detail-heading {
  animation: projectHeroHeadingIn 560ms 40ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.has-route-transition .banner-starfield__count,
body.has-route-transition .coffee-hero-mobile-copy {
  opacity: 0;
}

body.route-transition-complete .banner-starfield__count,
body.route-transition-complete .coffee-hero-mobile-copy {
  animation: projectHeroHeadingIn 520ms 60ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Skip layout and paint for case-study sections below the initial viewport. */
.project-page main[data-project-page] > section:not(:first-child),
.project-page main[data-project-page] > .coffee-case,
.project-page main[data-project-page] > .xhs-case-intro,
.project-page main[data-project-page] > .xhs-archive,
.project-page main[data-project-page] > .project-next {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.project-detail-heading {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 3.6vw, 64px);
  top: auto;
  bottom: clamp(22px, 3.4vw, 56px);
  width: 25%;
  min-width: 260px;
  display: grid;
  gap: clamp(14px, 1.8vw, 28px);
  padding: 0;
  animation: revealUp 680ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-detail-heading p,
.project-detail-label,
.project-process-grid span,
.project-next p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.05vw, 22px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.project-detail-heading p,
.project-process-grid span,
.project-next p {
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-detail-heading h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(34px, 3.35vw, 58px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.project-detail-heading h1 span {
  display: block;
}

.project-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
  align-items: stretch;
  gap: clamp(52px, 9vw, 164px);
  padding: clamp(68px, 7vw, 128px) clamp(24px, 6.5vw, 132px) clamp(38px, 5vw, 88px);
}

.project-intro-block,
.project-info-block {
  display: grid;
  gap: clamp(34px, 4vw, 72px);
}

.project-intro-block {
  grid-template-rows: auto 1fr;
}

.project-intro-copy {
  align-self: end;
  display: grid;
  gap: clamp(18px, 1.8vw, 32px);
  max-width: 820px;
}

.project-intro-block p {
  margin: 0;
  font-size: clamp(24px, 1.85vw, 40px);
  line-height: 1.32;
  font-weight: 430;
  letter-spacing: 0;
}

.project-info-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.project-info-list div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 1fr);
  gap: 24px;
  padding: clamp(22px, 2vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.project-info-list dt,
.project-info-list dd {
  margin: 0;
  font-size: clamp(17px, 1.2vw, 24px);
  line-height: 1.3;
  letter-spacing: 0;
}

.project-info-list dt {
  color: var(--muted);
  font-weight: 400;
}

.project-info-list dd {
  color: var(--fg);
  font-weight: 500;
  text-align: right;
}

.project-scope-section {
  padding: clamp(26px, 4vw, 72px) clamp(24px, 6.5vw, 132px) clamp(72px, 8vw, 132px);
}

.project-scope-list {
  list-style: none;
  margin: clamp(34px, 4vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.project-scope-list li {
  position: relative;
  padding: clamp(22px, 2vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 320ms ease;
}

.project-scope-list li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 24px;
  color: inherit;
  text-decoration: none;
}

.project-scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: clamp(34px, 3vw, 48px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 14%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 50% 32%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 68% 32%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 14% 50%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 32% 50%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 50% 50%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 68% 50%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 86% 50%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 50% 68%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 68% 68%, currentColor 0 5.8%, transparent 6.6%),
    radial-gradient(circle at 50% 86%, currentColor 0 5.8%, transparent 6.6%);
  color: var(--fg);
  opacity: 0;
  transform: translate(-14px, -50%);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.project-scope-list li span,
.project-scope-list li em {
  font-size: clamp(28px, 2.6vw, 52px);
  line-height: 1.12;
  font-weight: 460;
  letter-spacing: 0;
  transition:
    color 260ms ease,
    transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.project-scope-list li em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.project-scope-list li:focus-within {
  border-bottom-color: var(--fg);
}

.project-scope-list li:has(+ li:focus-within) {
  border-bottom-color: var(--fg);
}

.project-scope-list li:focus-within::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.project-scope-list li:focus-within span {
  transform: translateX(clamp(30px, 3.2vw, 58px));
}

.project-scope-list li:focus-within em {
  color: var(--fg);
}

@media (hover: hover) and (pointer: fine) {
  .project-scope-list li:hover {
    border-bottom-color: var(--fg);
  }

  .project-scope-list li:has(+ li:hover) {
    border-bottom-color: var(--fg);
  }

  .project-scope-list li:hover::before {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .project-scope-list li:hover span {
    transform: translateX(clamp(30px, 3.2vw, 58px));
  }

  .project-scope-list li:hover em {
    color: var(--fg);
  }
}

/* Highlight Moment: soft airbrush poster language with a quieter case-study rhythm. */
.project-detail-hero--highlight {
  --project-hero-gap: clamp(24px, 2.4vw, 42px);
  --project-hero-top: 118px;
  --project-hero-radius: 18px;
  background: #fff;
}

.project-detail-image--highlight {
  isolation: isolate;
  color: #151510;
  background: #f7b7dc;
}

.project-detail-image--highlight::before {
  content: none;
}

.project-detail-image--highlight .highlight-cover-image {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  animation: highlightCoverImageIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.has-route-transition .project-detail-image--highlight .highlight-cover-image {
  animation: none;
}

body.route-transition-complete .project-detail-image--highlight .highlight-cover-image {
  animation: none;
}

.project-detail-heading--hero-bottom {
  left: clamp(22px, 2.2vw, 62px);
  right: auto;
  top: auto;
  bottom: clamp(18px, 2.2vw, 42px);
  width: min(42%, 440px);
  min-width: 0;
  gap: 10px;
  color: #151510;
}

.project-detail-heading--hero-bottom p {
  color: rgba(21, 21, 16, 0.72);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-detail-heading--hero-bottom h1 {
  color: #151510;
  font-size: clamp(34px, 3.35vw, 58px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

body.has-route-transition .project-detail-heading--hero-bottom {
  animation: none;
  opacity: 0;
  transform: translateY(20px);
}

body.route-transition-complete .project-detail-heading--hero-bottom {
  animation: projectHeroHeadingIn 560ms 40ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.highlight-cover-wash {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -34%;
  width: 76%;
  height: 96%;
  border-radius: 48% 52% 0 0;
  background: rgba(255, 235, 91, 0.78);
  filter: blur(42px);
  transform: rotate(-10deg);
}

.project-detail-heading--highlight {
  left: 7%;
  top: 11%;
  bottom: auto;
  width: 58%;
  min-width: 0;
  gap: 18px;
}

.project-detail-heading--highlight p {
  color: rgba(21, 21, 16, 0.68);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.project-detail-heading--highlight h1 {
  display: grid;
  gap: 0;
  color: #151510;
  font-family: "ZXW Relaxed Script", "HanziPen SC", "STKaiti", "KaiTi", cursive;
  font-size: 94px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0;
}

.project-detail-heading--highlight h1 span:last-child {
  color: #f20a58;
}

.highlight-cover-tagline {
  width: fit-content;
  max-width: 25em;
  padding: 8px 16px 9px;
  border: 1px solid rgba(21, 21, 16, 0.66);
  border-radius: 999px;
  background: rgba(248, 248, 241, 0.62);
  color: #151510;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 560;
  backdrop-filter: blur(8px);
}

.highlight-cover-keyart {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: -18%;
  width: min(76vh, 760px) !important;
  height: min(76vh, 760px) !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  clip-path: circle(34% at 67% 70%);
  filter: saturate(0.96);
  transform: scale(1.12);
  animation: highlightKeyartIn 920ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.highlight-cover-date,
.highlight-cover-credit {
  position: absolute;
  z-index: 3;
  color: #151510;
  line-height: 1;
}

.highlight-cover-date {
  top: 9%;
  right: 5%;
  font-size: 20px;
  font-weight: 520;
}

.highlight-cover-credit {
  left: 6%;
  bottom: 3%;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.highlight-cover-doodle {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.highlight-cover-doodle--flower {
  left: 6%;
  bottom: 9%;
  width: 120px;
  aspect-ratio: 1;
  transform: rotate(-14deg);
  animation: highlightFloat 7s ease-in-out infinite alternate;
}

.highlight-cover-doodle--flower i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 32%;
  border-radius: 80% 28% 76% 28%;
  background: linear-gradient(90deg, #ef2652, #ff8597 72%, #ffd7dd);
  transform-origin: 0 50%;
  filter: blur(1px);
}

.highlight-cover-doodle--flower i:nth-child(1) { transform: rotate(0deg); }
.highlight-cover-doodle--flower i:nth-child(2) { transform: rotate(72deg); }
.highlight-cover-doodle--flower i:nth-child(3) { transform: rotate(144deg); }
.highlight-cover-doodle--flower i:nth-child(4) { transform: rotate(216deg); }
.highlight-cover-doodle--flower i:nth-child(5) { transform: rotate(288deg); }

.highlight-cover-doodle--flower::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 42%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe86a;
}

.highlight-cover-doodle--star {
  left: 40%;
  bottom: 7%;
  width: 56px;
  aspect-ratio: 1;
  background: #56c4ff;
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 36%);
  transform: rotate(18deg);
  animation: highlightTwinkle 4.8s ease-in-out infinite;
}

.highlight-cover-doodle--loop {
  right: 27%;
  top: 18%;
  width: 132px;
  height: 72px;
  border: 17px solid #ff6a83;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(24deg);
}

.highlight-cover-doodle--sprout {
  left: 27%;
  bottom: 0;
  width: 64px;
  height: 110px;
  border-left: 12px solid #5ad99f;
  border-radius: 60%;
  transform: rotate(18deg);
}

.highlight-cover-doodle--sprout i {
  position: absolute;
  left: -8px;
  width: 46px;
  height: 22px;
  border-radius: 78% 22% 78% 22%;
  background: #5ad99f;
}

.highlight-cover-doodle--sprout i:first-child {
  top: 28px;
  transform: rotate(-26deg) translateX(-34px);
}

.highlight-cover-doodle--sprout i:last-child {
  top: 58px;
  transform: rotate(28deg) translateX(4px);
}

.highlight-background {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(18px, 2.3vw, 42px);
  row-gap: clamp(44px, 5vw, 84px);
  overflow: hidden;
  padding: clamp(88px, 8vw, 144px) clamp(28px, 6.5vw, 124px) clamp(54px, 6vw, 104px);
  color: #151510;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0) 42%, rgba(112, 180, 255, 0.32) 72%, rgba(255, 122, 184, 0.36) 100%),
    #f7f8f1;
  scroll-margin-top: 0;
}

.highlight-background::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  bottom: -42%;
  width: 82%;
  height: 74%;
  border-radius: 54% 46% 0 0;
  background: rgba(255, 225, 85, 0.72);
  filter: blur(70px);
  transform: rotate(8deg);
}

.highlight-background::after {
  content: none;
}

.highlight-background-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 7;
  grid-row: 1;
}

.highlight-background-copy .project-detail-label {
  color: rgba(21, 21, 16, 0.62);
  font-size: 13px;
  font-weight: 650;
}

.highlight-background-copy h2 {
  margin: clamp(32px, 4vw, 68px) 0 0;
  max-width: 10em;
  font-size: 58px;
  line-height: 1.03;
  font-weight: 680;
  letter-spacing: 0;
}

.highlight-background-copy h2 span {
  display: block;
}

.highlight-background-copy h2 span:last-child {
  color: #f20a58;
}

.highlight-background-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
  margin-top: clamp(34px, 4vw, 66px);
  max-width: 850px;
}

.highlight-background-text p {
  margin: 0;
  color: rgba(21, 21, 16, 0.76);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 430;
}

.highlight-background-poster {
  position: relative;
  z-index: 2;
  grid-column: 9 / 13;
  grid-row: 1 / 3;
  align-self: start;
  margin: 0;
  transform: rotate(2.2deg);
}

.highlight-background-poster-window {
  position: relative;
  height: min(67vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(21, 21, 16, 0.12);
  border-radius: 18px;
  background: #f9c6dc;
}

.highlight-background-poster-window img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  display: block;
  animation: highlightPosterDrift 16s 1s ease-in-out infinite alternate;
}

.highlight-background-poster figcaption {
  margin-top: 14px;
  color: rgba(21, 21, 16, 0.54);
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  text-transform: uppercase;
}

.highlight-background-insights {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 8;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 36px);
  align-self: end;
}

.highlight-background-insights article {
  padding-top: 18px;
  border-top: 1px solid rgba(21, 21, 16, 0.32);
}

.highlight-background-insights article > span {
  color: rgba(21, 21, 16, 0.54);
  font-size: 11px;
  font-weight: 650;
}

.highlight-background-insights h3 {
  margin: 22px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 650;
}

.highlight-background-insights p {
  margin: 14px 0 0;
  color: rgba(21, 21, 16, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.highlight-background-meta {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 8;
  grid-row: 3;
  display: grid;
  grid-template-columns: 0.65fr 1.6fr 0.75fr;
  gap: 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 21, 16, 0.18);
}

.highlight-background-meta div {
  display: grid;
  gap: 7px;
}

.highlight-background-meta dt,
.highlight-background-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.highlight-background-meta dt {
  color: rgba(21, 21, 16, 0.48);
}

.highlight-background-meta dd {
  color: #151510;
  font-weight: 560;
}

.highlight-background-mark {
  position: absolute;
  z-index: 0;
  right: -1%;
  bottom: -2%;
  color: rgba(21, 21, 16, 0.07);
  font-size: 94px;
  line-height: 0.76;
  font-weight: 860;
  letter-spacing: 0;
  text-align: right;
  pointer-events: none;
}

@keyframes highlightKeyartIn {
  from { opacity: 0; transform: translate(6%, 8%) scale(1.18); }
  to { opacity: 1; transform: translate(0, 0) scale(1.12); }
}

@keyframes highlightCoverImageIn {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes highlightFloat {
  from { transform: translateY(-4px) rotate(-16deg); }
  to { transform: translateY(8px) rotate(-10deg); }
}

@keyframes highlightTwinkle {
  0%, 100% { transform: rotate(14deg) scale(0.92); }
  50% { transform: rotate(24deg) scale(1.08); }
}

@keyframes highlightPosterDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-8%); }
}

.highlight-background.highlight-background--challenge {
  min-height: auto;
  display: block;
  padding: 34px clamp(36px, 6vw, 112px) clamp(110px, 10vw, 180px);
  color: #1b1b1a;
  background:
    linear-gradient(180deg, rgba(190, 230, 246, 0.34) 0, rgba(255, 255, 255, 0) 180px),
    linear-gradient(0deg, rgba(255, 229, 105, 0.14) 0, rgba(255, 255, 255, 0) 260px),
    #fff;
}

.highlight-background--challenge::before,
.highlight-background--challenge::after {
  content: none;
}

.highlight-challenge-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(27, 27, 26, 0.09);
  color: rgba(27, 27, 26, 0.28);
  font-size: 9px;
  line-height: 1.35;
  text-transform: uppercase;
}

.highlight-challenge-meta span:nth-child(2) {
  text-align: center;
}

.highlight-challenge-meta span:last-child {
  text-align: right;
}

.highlight-challenge-meta strong {
  color: rgba(27, 27, 26, 0.42);
  font-weight: 550;
}

.highlight-challenge-header {
  display: grid;
  justify-items: center;
  gap: 34px;
  max-width: 860px;
  margin: 64px auto 0;
  text-align: center;
}

.highlight-section-index {
  display: block;
  color: rgba(27, 27, 26, 0.62);
  font-size: 12px;
  font-weight: 650;
}

.highlight-section-index::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  margin: 0 8px 3px 0;
  border-radius: 999px;
  background: #f20a58;
}

.highlight-challenge-header h2 {
  margin: 18px 0 0;
  font-size: 46px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.highlight-challenge-header h2 span {
  color: #f20a58;
}

.highlight-challenge-header small {
  display: block;
  margin-top: 9px;
  color: rgba(27, 27, 26, 0.36);
  font-size: 11px;
}

.highlight-challenge-header > p {
  justify-self: end;
  margin: 0;
  max-width: 31em;
  color: rgba(27, 27, 26, 0.68);
  font-size: 17px;
  line-height: 1.75;
  text-align: right;
}

.highlight-problem-section {
  margin-top: 118px;
}

.highlight-analysis-title {
  text-align: center;
}

.highlight-analysis-title h3 {
  margin: 0;
  color: #1b1b1a;
  font-size: 34px;
  line-height: 1;
  font-weight: 720;
}

.highlight-analysis-title h3::before,
.highlight-analysis-title h3::after {
  display: inline-block;
  margin: 0 14px;
  color: #9fd8f6;
  font-weight: 400;
}

.highlight-analysis-title h3::before { content: "{"; }
.highlight-analysis-title h3::after { content: "}"; }

.highlight-analysis-title p {
  margin: 24px auto 0;
  max-width: 46em;
  color: rgba(27, 27, 26, 0.55);
  font-size: 14px;
  line-height: 1.65;
}

.highlight-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.5vw, 62px);
  margin-top: 58px;
}

.highlight-problem-grid article {
  position: relative;
  min-width: 0;
  text-align: center;
}

.highlight-problem-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 58%;
  right: calc(clamp(26px, 3.5vw, 62px) * -0.7);
  color: #9fd8f6;
  font-size: 28px;
  line-height: 1;
}

.highlight-problem-note {
  position: relative;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 999px;
  background: #252525;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 620;
}

.highlight-problem-note b {
  color: #ff6f9f;
  font-size: 15px;
  font-weight: 760;
}

.highlight-problem-grid article:nth-child(2) .highlight-problem-note b {
  color: #9fd8f6;
}

.highlight-problem-grid article:nth-child(3) .highlight-problem-note b {
  color: #ffe36d;
}

.highlight-problem-grid article > div {
  min-height: 176px;
  display: grid;
  align-content: center;
  gap: 16px;
  margin-top: -8px;
  padding: 40px 28px 30px;
  border-radius: 8px;
  background: #f8f8f8;
}

.highlight-problem-grid article:nth-child(2) > div {
  background: rgba(159, 216, 246, 0.13);
}

.highlight-problem-grid article:nth-child(3) > div {
  background: rgba(255, 227, 109, 0.17);
}

.highlight-problem-grid h4 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 680;
}

.highlight-problem-grid p {
  margin: 0;
  color: rgba(27, 27, 26, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.highlight-goal-section {
  margin-top: 154px;
}

.highlight-goal-section .highlight-analysis-title h3::before,
.highlight-goal-section .highlight-analysis-title h3::after {
  color: #f7a8c6;
}

.highlight-goal-map {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 74px);
  margin-top: 66px;
}

.highlight-goal-map ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 560;
}

.highlight-goal-map ul:first-child {
  justify-self: end;
  text-align: right;
}

.highlight-goal-map li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 3px;
  margin: 0 9px 5px 0;
  border-radius: 999px;
  background: #9fd8f6;
}

.highlight-goal-map ul:last-child li::before {
  background: #f20a58;
}

.highlight-goal-circles {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-goal-circles::after {
  content: "×";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  color: #e8bd20;
  font-size: 34px;
  font-weight: 350;
  transform: translate(-50%, -50%);
}

.highlight-goal-circles article {
  width: 238px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 34px;
  border: 3px solid #f20a58;
  border-radius: 50%;
  text-align: center;
}

.highlight-goal-circles article + article {
  margin-left: -34px;
  border-color: #76c7ef;
}

.highlight-goal-circles strong {
  color: #f20a58;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.highlight-goal-circles article + article strong {
  color: #319dcc;
}

.highlight-goal-circles span {
  color: rgba(27, 27, 26, 0.58);
  font-size: 12px;
  line-height: 1.55;
}

.highlight-goal-conclusion {
  margin: 78px auto 0;
  color: #f20a58;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 680;
  text-align: center;
}

.highlight-challenge-copy {
  justify-self: center;
  display: grid;
  gap: 16px;
  max-width: 46em;
}

.highlight-challenge-copy p {
  margin: 0;
  color: rgba(27, 27, 26, 0.66);
  font-size: 15px;
  line-height: 1.82;
  text-align: center;
}

.highlight-core-question {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  margin-top: 88px;
  padding: 30px 0 34px;
  border-top: 1px solid rgba(27, 27, 26, 0.14);
  border-bottom: 1px solid rgba(27, 27, 26, 0.14);
  text-align: center;
}

.highlight-core-question span,
.highlight-strategy-header span,
.highlight-strategy-outcome span {
  color: #f20a58;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 720;
}

.highlight-core-question p {
  margin: 0;
  max-width: 36em;
  color: #1b1b1a;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 590;
}

.highlight-strategy {
  margin-top: 128px;
}

.highlight-strategy-header {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.highlight-strategy-header h3 {
  margin: 12px 0 0;
  color: #1b1b1a;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 720;
}

.highlight-strategy-header > p {
  justify-self: center;
  margin: 0;
  max-width: 42em;
  color: rgba(27, 27, 26, 0.58);
  font-size: 14px;
  line-height: 1.78;
  text-align: center;
}

.highlight-strategy-path {
  position: relative;
  isolation: isolate;
  margin-top: 64px;
  padding-bottom: 14px;
}

.highlight-strategy-path::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 14px;
  background: linear-gradient(
    180deg,
    #fffafb 0%,
    #fff6f8 18%,
    #feeff4 39%,
    #fde7ef 61%,
    #fcdfe9 82%,
    #fad5e2 100%
  );
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.highlight-strategy-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(38px, 5vw, 82px);
  width: 100%;
  margin: 0 auto;
  padding: 38px 20px 44px;
  border-top: 1px solid rgba(27, 27, 26, 0.16);
}

.highlight-strategy-stage:nth-child(2) { width: 95%; }
.highlight-strategy-stage:nth-child(3) { width: 90%; }
.highlight-strategy-stage:nth-child(4) { width: 85%; }
.highlight-strategy-stage:nth-child(5) { width: 80%; }

.highlight-strategy-stage > header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.highlight-strategy-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f20a58;
  border-radius: 50%;
  color: #f20a58;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.highlight-strategy-stage > header small {
  display: block;
  margin-top: 1px;
  color: rgba(27, 27, 26, 0.58);
  font-size: 8px;
  line-height: 1.3;
  font-weight: 650;
}

.highlight-strategy-stage h4 {
  margin: 7px 0 0;
  color: #1b1b1a;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 690;
}

.highlight-strategy-content {
  min-width: 0;
}

.highlight-strategy-summary {
  margin: 0;
  max-width: 52em;
  color: rgba(27, 27, 26, 0.88);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 520;
}

.highlight-strategy-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.highlight-strategy-item {
  min-width: 0;
  padding: 2px 0 0 15px;
  border-left: 2px solid #f7a8c6;
}

.highlight-strategy-item strong {
  display: block;
  color: #1b1b1a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 680;
}

.highlight-strategy-item p {
  margin: 9px 0 0;
  color: rgba(27, 27, 26, 0.74);
  font-size: 12px;
  line-height: 1.65;
}

.highlight-strategy-code {
  display: block;
  margin-bottom: 8px;
  color: #f20a58;
  font-size: 10px;
  line-height: 1;
  font-weight: 780;
}

.highlight-strategy-stage--research .highlight-strategy-number {
  border-color: #65bde8;
  color: #238fbe;
}

.highlight-strategy-stage--research .highlight-strategy-items,
.highlight-strategy-stage--validate .highlight-strategy-items {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.highlight-strategy-stage--research .highlight-strategy-item {
  border-left-color: #9fd8f6;
}

.highlight-strategy-stage--define .highlight-strategy-items,
.highlight-strategy-stage--hypothesis .highlight-strategy-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.highlight-strategy-stage--define .highlight-strategy-item {
  border-left-color: #1b1b1a;
}

.highlight-strategy-stage--hypothesis .highlight-strategy-number {
  border-color: #e8c526;
  color: #a88a00;
}

.highlight-strategy-stage--hypothesis .highlight-strategy-item {
  border-left-color: #ffe36d;
}

.highlight-strategy-stage--hypothesis .highlight-strategy-code {
  color: #a88a00;
}

.highlight-strategy-stage--validate .highlight-strategy-item {
  border-left-color: #f20a58;
}

.highlight-strategy-outcome {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  align-items: baseline;
  gap: 48px;
  margin-top: 54px;
  padding: 34px 0 0;
  border-top: 5px solid #f20a58;
}

.highlight-strategy-outcome p {
  margin: 0;
  color: #f20a58;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 680;
}

/* Moodboard Direction: keywords become a visual-language index, then resolve into a clear design direction. */
.highlight-moodboard {
  position: relative;
  padding: clamp(92px, 10vw, 168px) clamp(28px, 6.5vw, 124px) clamp(104px, 10vw, 176px);
  color: #1b1b1a;
  background: #fff;
  overflow: hidden;
}

.highlight-moodboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(36px, 7vw, 132px);
  max-width: 1160px;
  margin: 0 auto;
}

.highlight-moodboard-index {
  display: block;
  color: rgba(27, 27, 26, 0.62);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
}

.highlight-moodboard-index::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  margin: 0 8px 3px 0;
  border-radius: 999px;
  background: #f20a58;
}

.highlight-moodboard-header h2 {
  margin: 20px 0 0;
  max-width: 10em;
  color: #1b1b1a;
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.highlight-moodboard-header > p {
  margin: 0 0 2px;
  max-width: 34em;
  color: rgba(27, 27, 26, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.highlight-moodboard-keywords {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1.66fr);
  align-items: center;
  gap: clamp(28px, 5vw, 84px);
  max-width: 1160px;
  margin: clamp(72px, 9vw, 138px) auto 0;
  padding: 22px 0 24px;
  border-top: 1px solid rgba(27, 27, 26, 0.16);
  border-bottom: 1px solid rgba(27, 27, 26, 0.16);
}

.highlight-moodboard-keyword-label {
  display: grid;
  gap: 10px;
}

.highlight-moodboard-keyword-label span {
  color: #f20a58;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 760;
}

.highlight-moodboard-keyword-label strong {
  color: #1b1b1a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 680;
}

.highlight-moodboard-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.highlight-moodboard-keyword {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(27, 27, 26, 0.28);
  border-radius: 999px;
  color: #1b1b1a;
  font-size: 16px;
  line-height: 1;
  font-weight: 560;
}

.highlight-moodboard-keyword--0 { border-color: #f5a6c4; background: #fff6fa; }
.highlight-moodboard-keyword--1 { border-color: #9fd8f6; background: #f4fbff; }
.highlight-moodboard-keyword--2 { border-color: #ead35d; background: #fffdf0; }

.highlight-moodboard-bridge {
  display: grid;
  grid-template-columns: auto minmax(80px, 220px) auto;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 42px auto 0;
  color: rgba(27, 27, 26, 0.5);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.highlight-moodboard-bridge i {
  position: relative;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, #f5a6c4, #9fd8f6, #ead35d);
}

.highlight-moodboard-bridge i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #f20a58;
  border-right: 1px solid #f20a58;
  transform: translateY(-50%) rotate(45deg);
}

.highlight-moodboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 26px);
  max-width: 1160px;
  margin: 30px auto 0;
}

.highlight-moodboard-direction {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(104px, auto) auto;
  align-content: start;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 27, 26, 0.24);
}

.highlight-moodboard-direction::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 42%;
  height: 3px;
  background: #f20a58;
}

.highlight-moodboard-direction--blue::before { background: #76c7ef; }
.highlight-moodboard-direction--yellow::before { background: #ead35d; }

.highlight-moodboard-direction-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.highlight-moodboard-direction-head > span {
  color: #f20a58;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.highlight-moodboard-direction--blue .highlight-moodboard-direction-head > span { color: #238fbe; }
.highlight-moodboard-direction--yellow .highlight-moodboard-direction-head > span { color: #a88a00; }

.highlight-moodboard-direction-head small {
  min-width: 0;
  color: rgba(27, 27, 26, 0.54);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 650;
  text-align: right;
}

.highlight-moodboard-direction h3 {
  margin: 18px 0 0;
  color: #1b1b1a;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.12;
  font-weight: 700;
}

.highlight-moodboard-direction p {
  margin: 14px 0 0;
  color: rgba(27, 27, 26, 0.66);
  font-size: 12px;
  line-height: 1.72;
}

.highlight-moodboard-direction figure {
  margin: 26px 0 0;
}

.highlight-moodboard-direction figure a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(27, 27, 26, 0.12);
  background: #f8f8f4;
}

.highlight-moodboard-direction figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 640ms cubic-bezier(.2, .8, .2, 1);
}

.highlight-moodboard-direction figure a:hover img {
  transform: scale(1.035);
}

.highlight-moodboard-direction figcaption {
  margin-top: 10px;
  color: rgba(27, 27, 26, 0.38);
  font-size: 9px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.highlight-moodboard-conclusion {
  --moodboard-pink: #e1537a;
  --moodboard-blue: #009ff5;
  --moodboard-yellow: #f5c000;
  max-width: 1160px;
  margin: clamp(82px, 9vw, 136px) auto 0;
  padding: 30px 0 0;
  border-top: 5px solid var(--moodboard-pink);
  background: linear-gradient(180deg, rgba(255, 239, 246, 0.72), rgba(255, 255, 255, 0) 80%);
}

.highlight-moodboard-conclusion > span {
  color: var(--moodboard-pink);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 760;
}

.highlight-moodboard-conclusion-words {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px clamp(16px, 2.6vw, 40px);
  margin-top: 22px;
}

.highlight-moodboard-conclusion-words strong {
  color: var(--moodboard-pink);
  font-size: clamp(25px, 3vw, 48px);
  line-height: 1.15;
  font-weight: 720;
}

.highlight-moodboard-conclusion-words strong:nth-child(2) { color: var(--moodboard-blue); }
.highlight-moodboard-conclusion-words strong:nth-child(3) { color: var(--moodboard-yellow); }
.highlight-moodboard-conclusion-words strong:nth-child(4) { color: var(--moodboard-pink); }
.highlight-moodboard-conclusion-words strong:nth-child(5) { color: var(--moodboard-blue); }

.highlight-moodboard-conclusion p {
  max-width: 42em;
  margin: 26px 0 0;
  color: rgba(27, 27, 26, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

/* Center the moodboard as one composed visual narrative. */
.highlight-moodboard-header {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.highlight-moodboard-header h2 {
  max-width: none;
}

.highlight-moodboard-header > p {
  max-width: 48em;
  margin-right: auto;
  margin-left: auto;
}

.highlight-moodboard-keywords {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.highlight-moodboard-keyword-label {
  justify-items: center;
}

.highlight-moodboard-keyword-list {
  justify-content: center;
}

.highlight-moodboard-grid {
  text-align: center;
}

.highlight-moodboard-direction::before {
  left: 29%;
}

.highlight-moodboard-direction-head {
  justify-content: center;
}

.highlight-moodboard-direction-head small {
  text-align: center;
}

.highlight-moodboard-conclusion {
  text-align: center;
}

.highlight-moodboard-conclusion-words,
.highlight-moodboard-conclusion p {
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

/* Visual memory board: full-page overview on the left, design-system reasoning on the right. */
.highlight-visual-memory {
  --memory-pink: #e1537a;
  --memory-blue: #009ff5;
  --memory-yellow: #f5c000;
  position: relative;
  padding: 132px max(28px, 6.5vw) 96px;
  color: #1b1b1a;
  background-color: #f8f8f5;
  background-image:
    linear-gradient(rgba(27, 27, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 26, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}

.highlight-memory-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: 84px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(27, 27, 26, 0.2);
}

.highlight-memory-header > div {
  min-width: 0;
}

.highlight-memory-index {
  display: block;
  color: var(--memory-pink);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 720;
}

.highlight-memory-index::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin: 0 9px 2px 0;
  background: var(--memory-pink);
}

.highlight-memory-header > div > strong {
  display: block;
  margin-top: 34px;
  color: var(--memory-blue);
  font-size: 20px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-header h2 {
  margin: 12px 0 0;
  color: #1b1b1a;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.highlight-memory-header > p {
  margin: 0;
  max-width: 36em;
  color: rgba(27, 27, 26, 0.66);
  font-size: 15px;
  line-height: 1.85;
}

.highlight-memory-board {
  display: grid;
  grid-template-columns: minmax(270px, 0.36fr) minmax(0, 0.64fr);
  align-items: start;
  column-gap: 46px;
  row-gap: 0;
  max-width: 1160px;
  margin: 86px auto 0;
}

.highlight-memory-page-preview,
.highlight-memory-analysis {
  min-width: 0;
}

.highlight-memory-section-label {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 12px;
  min-width: 212px;
  padding: 9px 34px 9px 14px;
  color: #fff;
  background: var(--memory-blue);
  clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%);
}

.highlight-memory-section-label--pink {
  background: var(--memory-pink);
}

.highlight-memory-section-label--yellow {
  color: #1b1b1a;
  background: var(--memory-yellow);
}

.highlight-memory-section-label small {
  font-size: 8px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-section-label span {
  font-size: 13px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-page-preview figure {
  margin: 22px 0 0;
  border: 1px solid rgba(27, 27, 26, 0.14);
  background: #fff;
  overflow: hidden;
}

.highlight-memory-page-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.highlight-memory-main-visual {
  min-width: 0;
}

.highlight-memory-main-visual > figure {
  display: grid;
  place-items: center;
  min-height: 620px;
  margin: 22px 0 0;
  padding: 40px 28px;
  border-top: 1px solid rgba(27, 27, 26, 0.18);
  border-bottom: 1px solid rgba(27, 27, 26, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.highlight-memory-main-visual > figure img {
  display: block;
  width: min(52%, 340px);
  height: auto;
}

.highlight-memory-annotations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(27, 27, 26, 0.18);
}

.highlight-memory-annotations span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 12px 13px;
  color: rgba(27, 27, 26, 0.74);
  font-size: 11px;
  line-height: 1.5;
}

.highlight-memory-annotations span + span {
  border-left: 1px solid rgba(27, 27, 26, 0.14);
}

.highlight-memory-annotations i {
  color: var(--memory-pink);
  font-size: 9px;
  line-height: 1;
  font-style: normal;
  font-weight: 760;
}

.highlight-memory-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.highlight-memory-reference {
  min-width: 0;
  margin: 0;
}

.highlight-memory-reference > a {
  display: block;
  border: 1px solid rgba(27, 27, 26, 0.14);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.highlight-memory-reference img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.highlight-memory-reference > a:hover img,
.highlight-memory-reference > a:focus-visible img {
  transform: scale(1.025);
}

.highlight-memory-reference > a:focus-visible {
  outline: 2px solid var(--memory-blue);
  outline-offset: 3px;
}

.highlight-memory-reference figcaption {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.highlight-memory-reference figcaption small {
  color: var(--memory-blue);
  font-size: 8px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-reference:nth-child(2) figcaption small {
  color: var(--memory-pink);
}

.highlight-memory-reference:nth-child(3) figcaption small {
  color: #a68100;
}

.highlight-memory-reference figcaption strong {
  color: #1b1b1a;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 680;
}

.highlight-memory-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 92px;
}

.highlight-memory-principle {
  min-width: 0;
  padding: 24px 0 38px;
  border-top: 1px solid rgba(27, 27, 26, 0.24);
}

.highlight-memory-principle header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
}

.highlight-memory-principle header > span {
  color: var(--memory-pink);
  font-size: 42px;
  line-height: 0.92;
  font-weight: 780;
}

.highlight-memory-principle--blue header > span {
  color: var(--memory-blue);
}

.highlight-memory-principle--yellow header > span {
  color: var(--memory-yellow);
}

.highlight-memory-principle small {
  display: block;
  color: rgba(27, 27, 26, 0.46);
  font-size: 8px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-principle h3 {
  margin: 8px 0 0;
  color: #1b1b1a;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.highlight-memory-principle p {
  margin: 22px 0 0 67px;
  color: rgba(27, 27, 26, 0.7);
  font-size: 13px;
  line-height: 1.85;
}

.highlight-memory-scenes {
  grid-column: auto;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(27, 27, 26, 0.24);
}

@media (min-width: 981px) {
  .highlight-memory-analysis {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .highlight-memory-principles {
    flex: 1 1 auto;
    grid-auto-rows: minmax(0, 1fr);
    margin-bottom: 46px;
  }

  .highlight-memory-principle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .highlight-memory-principle:last-child {
    grid-column: 1 / -1;
  }

  .highlight-memory-scenes {
    margin-top: 0;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .highlight-memory-main-visual > figure {
    min-height: 420px;
    padding: 20px;
  }

  .highlight-memory-reference-grid {
    margin-top: 18px;
  }

  .highlight-memory-reference img {
    aspect-ratio: 2 / 1;
  }

  .highlight-memory-principles {
    margin-top: 48px;
    margin-bottom: 30px;
  }

  .highlight-memory-principle {
    padding: 16px 0 20px;
  }

  .highlight-memory-principle p {
    margin-top: 12px;
  }

  .highlight-memory-scenes {
    padding-top: 20px;
  }

  .highlight-memory-scene-grid {
    margin-top: 20px;
  }
}

.highlight-memory-scenes > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.highlight-memory-scenes > header p {
  margin: 0;
  max-width: 34em;
  color: rgba(27, 27, 26, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.highlight-memory-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.highlight-memory-scene {
  min-width: 0;
  margin: 0;
}

.highlight-memory-scene img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(27, 27, 26, 0.14);
  border-radius: 6px;
  background: #17171d;
}

.highlight-memory-scene figcaption {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.highlight-memory-scene figcaption small {
  color: var(--memory-blue);
  font-size: 8px;
  line-height: 1;
  font-weight: 720;
}

.highlight-memory-scene:nth-child(2) figcaption small {
  color: var(--memory-pink);
}

.highlight-memory-scene:nth-child(3) figcaption small {
  color: #a68100;
}

.highlight-memory-scene figcaption strong {
  color: #1b1b1a;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 680;
}

/* Specific design: page narrative, participation mechanics, and touchpoint rollout. */
.highlight-specific-design {
  --specific-pink: #f05286;
  --specific-blue: #009ff5;
  --specific-yellow: #f5c000;
  position: relative;
  padding: 136px max(28px, 6.5vw) 150px;
  color: #1b1b1a;
  background: #fff;
  overflow: hidden;
}

.highlight-specific-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: 84px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(27, 27, 26, 0.2);
}

.highlight-specific-header > div {
  min-width: 0;
}

.highlight-specific-index {
  display: block;
  color: var(--specific-pink);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 720;
}

.highlight-specific-index::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin: 0 9px 2px 0;
  background: var(--specific-pink);
}

.highlight-specific-header > div > strong {
  display: block;
  margin-top: 34px;
  color: var(--specific-blue);
  font-size: 20px;
  line-height: 1;
  font-weight: 720;
}

.highlight-specific-header h2 {
  margin: 12px 0 0;
  color: #1b1b1a;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.highlight-specific-header > p {
  margin: 0;
  max-width: 36em;
  color: rgba(27, 27, 26, 0.66);
  font-size: 15px;
  line-height: 1.85;
}

.highlight-specific-banner {
  max-width: 1160px;
  margin: 64px auto 0;
  border-radius: 8px;
  overflow: hidden;
}

.highlight-specific-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 18 / 7.8;
  object-fit: cover;
}

.highlight-specific-structure,
.highlight-specific-gameplay,
.highlight-specific-touchpoints {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.highlight-specific-structure {
  margin-top: 132px;
}

.highlight-specific-section-head {
  max-width: 760px;
}

.highlight-specific-section-head > span,
.highlight-specific-section-head > div > span {
  display: block;
  color: var(--specific-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 760;
}

.highlight-specific-section-head h3 {
  margin: 14px 0 0;
  color: #1b1b1a;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 740;
  letter-spacing: 0;
}

.highlight-specific-section-head p {
  margin: 22px 0 0;
  max-width: 62em;
  color: rgba(27, 27, 26, 0.66);
  font-size: 14px;
  line-height: 1.9;
}

.highlight-specific-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.highlight-specific-section-head--center p {
  margin-right: auto;
  margin-left: auto;
}

.highlight-specific-structure-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  align-items: end;
  gap: 72px;
  max-width: none;
}

.highlight-specific-structure-head p {
  margin: 0 0 2px;
}

.highlight-specific-structure-board {
  display: grid;
  grid-template-columns: minmax(168px, 0.76fr) 42px minmax(250px, 1.08fr) minmax(112px, 0.5fr) minmax(180px, 0.78fr);
  align-items: start;
  gap: 18px;
  margin-top: 52px;
  padding: 48px 44px 42px;
  border-radius: 8px;
  background-color: #f6f9fc;
  background-image:
    linear-gradient(rgba(0, 159, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 159, 245, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.highlight-specific-structure-stage,
.highlight-specific-page-map {
  min-width: 0;
}

.highlight-specific-stage-label {
  display: grid;
  gap: 7px;
  min-height: 42px;
  margin-bottom: 20px;
}

.highlight-specific-stage-label small {
  color: #a47f00;
  font-size: 8px;
  line-height: 1;
  font-weight: 760;
}

.highlight-specific-stage-label strong {
  color: #1b1b1a;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 720;
}

.highlight-specific-stage-label--blue small {
  color: var(--specific-blue);
}

.highlight-specific-stage-label--pink small {
  color: var(--specific-pink);
}

.highlight-specific-flow {
  display: grid;
  gap: 6px;
}

.highlight-specific-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 88px;
  padding: 14px 15px;
  border: 1px solid rgba(245, 192, 0, 0.22);
  background: #fff4c4;
}

.highlight-specific-flow-step:nth-child(2) {
  min-height: 104px;
}

.highlight-specific-flow-step:nth-child(3) {
  min-height: 118px;
}

.highlight-specific-flow-step:nth-child(4) {
  min-height: 94px;
}

.highlight-specific-flow-step.highlight-specific-accent--pink {
  border-color: rgba(240, 82, 134, 0.2);
  background: #ffe1ea;
}

.highlight-specific-flow-step.highlight-specific-accent--blue {
  border-color: rgba(0, 159, 245, 0.2);
  background: #dff3ff;
}

.highlight-specific-accent--blue.highlight-specific-progression-item {
  background: var(--specific-blue);
}

.highlight-specific-accent--yellow.highlight-specific-progression-item {
  color: #1b1b1a;
  background: var(--specific-yellow);
}

.highlight-specific-flow-step > span {
  align-self: start;
  color: rgba(27, 27, 26, 0.48);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 760;
}

.highlight-specific-flow-step h4 {
  margin: 0;
  color: #1b1b1a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.highlight-specific-flow-step p {
  margin: 5px 0 0;
  color: rgba(27, 27, 26, 0.62);
  font-size: 10px;
  line-height: 1.55;
}

.highlight-specific-structure-links {
  display: grid;
  grid-template-rows: 88px 104px 118px 94px 88px;
  gap: 6px;
  margin-top: 62px;
}

.highlight-specific-structure-links > i,
.highlight-specific-structure-links > span {
  position: relative;
  align-self: center;
  display: block;
  min-width: 0;
}

.highlight-specific-structure-links > i::before,
.highlight-specific-structure-links > span i::before {
  content: "";
  display: block;
  width: calc(100% - 7px);
  border-top: 1px dashed rgba(27, 27, 26, 0.38);
}

.highlight-specific-structure-links > i::after,
.highlight-specific-structure-links > span i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid rgba(27, 27, 26, 0.46);
  transform: translateY(-50%);
}

.highlight-specific-structure-links--labeled {
  grid-template-rows: repeat(5, 1fr);
  min-height: 610px;
}

.highlight-specific-structure-links--labeled > span {
  display: grid;
  gap: 9px;
}

.highlight-specific-structure-links--labeled em {
  color: rgba(27, 27, 26, 0.58);
  font-size: 9px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 660;
}

.highlight-specific-lowfi-frame {
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(27, 27, 26, 0.16);
  border-radius: 8px;
  background: #fff;
}

.highlight-specific-lowfi-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(27, 27, 26, 0.1);
}

.highlight-specific-lowfi-toolbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cfd5da;
}

.highlight-specific-lowfi-toolbar span {
  width: 42%;
  height: 6px;
  margin-left: auto;
  background: #e7eaed;
}

.highlight-specific-lowfi-screen {
  display: grid;
  gap: 7px;
  padding: 8px 0 0;
}

.highlight-specific-lowfi-block {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #dfe3e7;
  background: #f2f4f6;
}

.highlight-specific-lowfi-block > span {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: #939ba2;
  font-size: 8px;
  line-height: 1;
  font-weight: 680;
}

.highlight-specific-lowfi-block i,
.highlight-specific-lowfi-block b {
  display: block;
  height: 8px;
  background: #d4d9dd;
}

.highlight-specific-lowfi-hero {
  min-height: 112px;
  align-content: center;
}

.highlight-specific-lowfi-hero i {
  width: 72%;
  height: 48px;
  margin: 0 auto;
}

.highlight-specific-lowfi-hero b {
  width: 54%;
  margin: 0 auto;
}

.highlight-specific-lowfi-intro {
  min-height: 78px;
  align-content: center;
}

.highlight-specific-lowfi-intro i:last-of-type {
  width: 68%;
}

.highlight-specific-lowfi-play {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 118px;
  align-content: center;
}

.highlight-specific-lowfi-play i {
  height: 72px;
}

.highlight-specific-lowfi-action {
  min-height: 76px;
  place-content: center;
}

.highlight-specific-lowfi-action b {
  width: 94px;
  height: 24px;
  background: #cbd1d6;
}

.highlight-specific-lowfi-story {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 128px;
  align-content: center;
}

.highlight-specific-lowfi-story i {
  height: 78px;
}

.highlight-specific-page-map {
  display: grid;
  justify-items: center;
  align-content: start;
  margin: 0;
  padding: 0;
}

.highlight-specific-page-map .highlight-specific-stage-label {
  width: 100%;
}

.highlight-specific-page-map-visual {
  --page-window-height: 610px;
  display: block;
  width: 100%;
  height: var(--page-window-height);
  padding: 14px 12px;
  border: 1px solid rgba(27, 27, 26, 0.12);
  border-radius: 8px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.highlight-specific-page-map-visual::-webkit-scrollbar {
  display: none;
}

.highlight-specific-page-map-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: top;
  transform: none;
}

.highlight-specific-page-map-visual:focus-visible {
  outline: 2px solid var(--specific-blue);
  outline-offset: 3px;
}

.highlight-specific-page-map figcaption {
  width: 100%;
  margin-top: 14px;
  color: rgba(27, 27, 26, 0.56);
  font-size: 10px;
  line-height: 1.7;
  text-align: left;
}

.highlight-specific-gameplay {
  max-width: 1060px;
  margin-top: 136px;
}

.highlight-specific-progression {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  max-width: 760px;
  margin: 42px auto 0;
}

.highlight-specific-progression::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(27, 27, 26, 0.18);
}

.highlight-specific-progression-item {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 10px 18px;
  color: #fff;
  border-radius: 999px;
  background: var(--specific-pink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 720;
  text-align: center;
}

.highlight-specific-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  margin-top: 52px;
}

.highlight-specific-game {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--specific-pink);
  text-align: center;
}

.highlight-specific-game.highlight-specific-accent--blue {
  margin-top: 0;
  border-top-color: var(--specific-blue);
}

.highlight-specific-game.highlight-specific-accent--yellow {
  border-top-color: var(--specific-yellow);
}

.highlight-specific-game figure {
  margin: 0;
  height: clamp(210px, 18vw, 250px);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.highlight-specific-game.highlight-specific-accent--blue figure {
  background: #fff;
}

.highlight-specific-game.highlight-specific-accent--yellow figure {
  background: #fff;
}

.highlight-specific-game img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlight-specific-game > header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.highlight-specific-game > header span {
  color: var(--specific-pink);
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
}

.highlight-specific-game.highlight-specific-accent--blue > header span {
  color: var(--specific-blue);
}

.highlight-specific-game.highlight-specific-accent--yellow > header span {
  color: #a47f00;
}

.highlight-specific-game > header small {
  color: rgba(27, 27, 26, 0.48);
  font-size: 9px;
  line-height: 1;
  font-weight: 720;
}

.highlight-specific-game h4 {
  margin: 10px 0 0;
  color: #1b1b1a;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 720;
}

.highlight-specific-game p {
  margin: 10px auto 0;
  max-width: 27em;
  color: rgba(27, 27, 26, 0.64);
  font-size: 12px;
  line-height: 1.7;
}

.highlight-specific-game > strong {
  display: inline-block;
  margin-top: 16px;
  color: var(--specific-pink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 760;
}

.highlight-specific-game.highlight-specific-accent--blue > strong {
  color: var(--specific-blue);
}

.highlight-specific-game.highlight-specific-accent--yellow > strong {
  color: #9b7900;
}

.highlight-specific-touchpoints {
  margin-top: 176px;
  padding-top: 62px;
  border-top: 1px solid rgba(27, 27, 26, 0.2);
}

.highlight-specific-arc-gallery {
  position: relative;
  height: clamp(540px, 52vw, 650px);
  margin-top: 58px;
  overflow: hidden;
  contain: layout paint;
}

.highlight-specific-arc-item {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(220px, 24vw, 286px);
  margin: 0;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.highlight-specific-arc-item > div {
  display: grid;
  place-items: center;
  height: clamp(340px, 34vw, 410px);
  border-radius: 8px;
  background: #fff0f5;
  overflow: hidden;
}

.highlight-specific-arc-item.highlight-specific-accent--blue > div {
  background: #eaf7ff;
}

.highlight-specific-arc-item.highlight-specific-accent--yellow > div {
  background: #fff8d7;
}

.highlight-specific-arc-item img {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.highlight-specific-arc-item--long > div {
  padding: 18px 24px;
  background-color: #f7f7f8;
  background-image:
    linear-gradient(rgba(27, 27, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 26, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
}

.highlight-specific-arc-item--long img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.highlight-specific-arc-item figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 10px;
  margin-top: 16px;
}

.highlight-specific-arc-item figcaption small {
  grid-column: 1 / -1;
  color: var(--specific-blue);
  font-size: 8px;
  line-height: 1;
  font-weight: 760;
}

.highlight-specific-arc-item.highlight-specific-accent--pink figcaption small {
  color: var(--specific-pink);
}

.highlight-specific-arc-item.highlight-specific-accent--yellow figcaption small {
  color: #a47f00;
}

.highlight-specific-arc-item figcaption strong {
  color: #1b1b1a;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.highlight-specific-arc-item figcaption span {
  color: rgba(27, 27, 26, 0.5);
  font-size: 10px;
  line-height: 1.3;
  text-align: right;
}

.highlight-specific-arc-gallery.is-reduced-motion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  height: auto;
  overflow: visible;
  contain: none;
}

.highlight-specific-arc-gallery.is-reduced-motion .highlight-specific-arc-item {
  position: static;
  width: auto;
  transform: none !important;
  opacity: 1 !important;
}

.highlight-specific-arc-gallery.is-reduced-motion [data-arc-duplicate="true"] {
  display: none;
}

@keyframes highlightSpecificReveal {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .highlight-specific-flow-step,
  .highlight-specific-game {
    animation: highlightSpecificReveal linear both;
    animation-timeline: view();
    animation-range: entry 6% cover 24%;
  }
}

@media (max-width: 1199px) {
  .highlight-specific-arc-item figcaption {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 5px;
    min-height: 66px;
    padding: 0 3px;
    overflow: hidden;
  }

  .highlight-specific-arc-item figcaption small {
    grid-column: auto;
  }

  .highlight-specific-arc-item figcaption strong,
  .highlight-specific-arc-item figcaption span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .highlight-specific-arc-item figcaption span {
    text-align: left;
  }
}

@media (max-width: 980px) {
  .highlight-specific-design {
    padding: 104px 28px 124px;
  }

  .highlight-specific-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .highlight-specific-header > p {
    max-width: 48em;
  }

  .highlight-specific-banner {
    margin-top: 52px;
  }

  .highlight-specific-structure {
    margin-top: 108px;
  }

  .highlight-specific-structure-head {
    grid-template-columns: minmax(230px, 0.7fr) minmax(360px, 1.3fr);
    gap: 44px;
  }

  .highlight-specific-structure-board {
    grid-template-columns: minmax(150px, 0.72fr) 30px minmax(220px, 1fr) minmax(94px, 0.48fr) minmax(158px, 0.72fr);
    gap: 12px;
    padding: 38px 28px 34px;
  }

  .highlight-specific-game-grid {
    gap: 24px;
  }

}

@media (max-width: 768px) {
  .highlight-specific-structure-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-specific-structure-head p {
    margin: 0;
  }

  .highlight-specific-structure-board {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .highlight-specific-module-stage,
  .highlight-specific-lowfi-stage,
  .highlight-specific-page-map {
    width: min(100%, 420px);
    justify-self: center;
  }

  .highlight-specific-structure-links {
    display: none;
  }

  .highlight-specific-page-map-visual {
    --page-window-height: 720px;
  }

  .highlight-specific-game-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }

  .highlight-specific-game.highlight-specific-accent--blue {
    margin-top: 0;
  }

  .highlight-specific-arc-gallery {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .highlight-specific-design {
    padding: 82px 20px 96px;
  }

  .highlight-specific-header {
    padding-bottom: 38px;
  }

  .highlight-specific-header > div > strong {
    margin-top: 26px;
    font-size: 16px;
  }

  .highlight-specific-header h2 {
    margin-top: 10px;
    font-size: 34px;
  }

  .highlight-specific-header > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .highlight-specific-banner {
    margin-top: 38px;
  }

  .highlight-specific-banner img {
    aspect-ratio: 4 / 2.2;
  }

  .highlight-specific-structure,
  .highlight-specific-gameplay {
    margin-top: 88px;
  }

  .highlight-specific-section-head h3 {
    margin-top: 12px;
    font-size: 30px;
  }

  .highlight-specific-section-head p {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.78;
  }

  .highlight-specific-structure-board {
    gap: 42px;
    margin-top: 34px;
    padding: 30px 22px;
  }

  .highlight-specific-flow-step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 15px;
  }

  .highlight-specific-flow-step h4 {
    font-size: 16px;
  }

  .highlight-specific-flow-step p {
    font-size: 11px;
  }

  .highlight-specific-lowfi-frame {
    width: min(100%, 300px);
  }

  .highlight-specific-page-map-visual {
    --page-window-height: 620px;
  }

  .highlight-specific-progression {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 280px;
    margin-top: 36px;
  }

  .highlight-specific-progression::before {
    top: 8%;
    right: auto;
    bottom: 8%;
    left: 50%;
    width: 1px;
    height: auto;
  }

  .highlight-specific-progression-item {
    min-height: 50px;
    font-size: 16px;
  }

  .highlight-specific-game-grid {
    gap: 54px;
    margin-top: 52px;
  }

  .highlight-specific-game h4 {
    font-size: 22px;
  }

  .highlight-specific-touchpoints {
    margin-top: 104px;
    padding-top: 42px;
  }

  .highlight-specific-arc-gallery {
    width: calc(100% + 40px);
    height: 448px;
    margin-top: 40px;
    margin-left: -20px;
  }

  .highlight-specific-arc-item {
    width: 172px;
  }

  .highlight-specific-arc-item > div {
    height: 254px;
  }

  .highlight-specific-arc-item figcaption {
    gap: 5px;
    margin-top: 12px;
  }

  .highlight-specific-arc-item figcaption strong {
    font-size: 12px;
  }

  .highlight-specific-arc-item figcaption span {
    font-size: 9px;
    text-align: left;
  }

  .highlight-specific-arc-item--long > div {
    padding: 14px 18px;
  }

  .highlight-specific-arc-gallery.is-reduced-motion {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 34px 14px;
    margin-left: 0;
  }
}

@media (hover: none) {
  .highlight-specific-page-map-visual {
    overscroll-behavior-y: auto;
  }

  .highlight-specific-page-map-visual img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-specific-page-map-visual img {
    transform: none;
  }
}

/* Xiaohongshu case intro: light editorial layout with paper-print motifs. */
main[data-project-page="xiaohongshu"] {
  background: #f8faf8;
}

.xhs-case-intro {
  --xhs-case-paper: #f8faf8;
  --xhs-case-ice: #dbecef;
  --xhs-case-sage: #e5ece0;
  --xhs-case-ink: #1b211f;
  --xhs-case-muted: rgba(27, 33, 31, 0.62);
  --xhs-case-line: rgba(27, 33, 31, 0.16);
  color: var(--xhs-case-ink);
  background: var(--xhs-case-paper);
}

.xhs-case-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 0;
}

.xhs-case-shell {
  width: min(calc(100% - 112px), 1320px);
  margin: 0 auto;
}

.xhs-case-chapter {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding-top: 120px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-case-chapter span,
.xhs-case-chapter h2,
.xhs-case-chapter p {
  margin: 0;
}

.xhs-case-chapter span {
  color: #6f9ba3;
  font-size: 11px;
  font-weight: 700;
}

.xhs-case-chapter h2 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}

.xhs-case-chapter p {
  color: var(--xhs-case-muted);
  font-size: 10px;
  font-weight: 550;
}

.xhs-case-cover {
  display: grid;
  justify-items: center;
  margin-top: 92px;
  text-align: center;
}

.xhs-case-cover p,
.xhs-case-cover h1,
.xhs-case-cover strong,
.xhs-case-cover span {
  margin: 0;
}

.xhs-case-cover > p {
  color: #6f9ba3;
  font-size: 10px;
  font-weight: 700;
}

.xhs-case-cover h1 {
  margin-top: 16px;
  font-size: 78px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: 0;
}

.xhs-case-cover strong {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 620;
}

.xhs-case-cover > span {
  max-width: 620px;
  margin-top: 18px;
  color: var(--xhs-case-muted);
  font-size: 14px;
  line-height: 1.85;
}

.xhs-paper-collage {
  position: relative;
  width: min(100%, 1040px);
  height: 760px;
  margin: 34px auto 0;
}

.xhs-paper-envelope {
  position: absolute;
  left: 50%;
  top: 78px;
  z-index: 1;
  display: block;
  width: min(62vw, 650px);
  height: auto;
  transform: translateX(calc(-50% - 30px));
}

.xhs-paper-print {
  position: absolute;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 16px 16px 34px;
  border: 0;
  background: #fff;
  box-shadow: 0 22px 44px rgba(66, 76, 74, 0.14);
  translate: -30px 0;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-paper-print::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(57, 68, 66, 0.08);
  pointer-events: none;
  background: transparent;
}

.xhs-paper-print img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xhs-paper-print--left {
  left: 15%;
  top: 282px;
  z-index: 3;
  width: 205px;
  transform: rotate(-7deg);
}

.xhs-paper-print--main {
  left: 50%;
  top: 192px;
  z-index: 5;
  width: 260px;
  padding: 20px 20px 42px;
  transform: translateX(-50%) rotate(1.5deg);
}

.xhs-paper-print--right {
  right: 14%;
  top: 296px;
  z-index: 4;
  width: 210px;
  transform: rotate(6deg);
}

.xhs-paper-print--small {
  left: 66%;
  top: 162px;
  width: 155px;
  padding: 12px 12px 28px;
  transform: rotate(8deg);
}

@media (hover: hover) and (pointer: fine) {
  .xhs-paper-print--left:hover {
    transform: translateY(-10px) rotate(-4deg);
  }

  .xhs-paper-print--main:hover {
    transform: translateX(-50%) translateY(-10px) rotate(0deg);
  }

  .xhs-paper-print--right:hover {
    transform: translateY(-10px) rotate(3deg);
  }

  .xhs-paper-print--small:hover {
    transform: translateY(-10px) rotate(4deg);
  }
}

.xhs-paper-collage > p {
  position: absolute;
  left: 50%;
  top: 36px;
  z-index: 7;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 560;
  transform: translateX(-50%);
}

.xhs-case-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 9vw;
  align-items: start;
  padding-top: 70px;
  border-top: 1px solid var(--xhs-case-line);
}

.xhs-case-story h3,
.xhs-case-story p {
  margin: 0;
}

.xhs-case-story h3 {
  font-size: 42px;
  font-weight: 620;
  line-height: 1.28;
}

.xhs-case-story > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.xhs-case-story p {
  color: var(--xhs-case-muted);
  font-size: 13px;
  line-height: 1.9;
}

.xhs-case-story p strong {
  display: block;
  margin-bottom: 12px;
  color: var(--xhs-case-ink);
  font-size: 11px;
  font-weight: 650;
}

.xhs-case-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 120px 0 0;
  padding: 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
  list-style: none;
}

.xhs-case-timeline li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px 16px;
  min-height: 210px;
  padding: 26px 30px 30px 0;
}

.xhs-case-timeline li + li {
  padding-left: 30px;
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-case-timeline span {
  grid-row: 1 / 4;
  color: #6f9ba3;
  font-size: 9px;
  font-weight: 700;
}

.xhs-case-timeline time {
  color: var(--xhs-case-muted);
  font-size: 9px;
}

.xhs-case-timeline strong {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 650;
}

.xhs-case-timeline p {
  max-width: 280px;
  margin: 0;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.7;
}

.xhs-case-core {
  width: min(100%, 980px);
  margin: 120px auto 0;
  padding: 48px 6vw;
  color: #314345;
  background: var(--xhs-case-ice);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.xhs-case-overview {
  padding-bottom: 110px;
}

.xhs-case-positioning {
  padding-bottom: 170px;
  background: #f2f7f6;
}

.xhs-case-positioning .xhs-case-chapter {
  padding-top: 90px;
}

.xhs-positioning-statement {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 420px;
  align-content: center;
  margin-top: 62px;
  overflow: hidden;
  text-align: center;
}

.xhs-positioning-statement p,
.xhs-positioning-statement h3,
.xhs-positioning-statement span {
  margin: 0;
}

.xhs-positioning-statement > p {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  color: #dcebea;
  font-size: 110px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.xhs-positioning-statement h3,
.xhs-positioning-statement span {
  position: relative;
  z-index: 1;
}

.xhs-positioning-statement h3 {
  font-size: 54px;
  font-weight: 650;
  line-height: 1.15;
}

.xhs-mobile-break {
  display: none;
}

.xhs-positioning-statement span {
  max-width: 560px;
  margin-top: 22px;
  color: var(--xhs-case-muted);
  font-size: 14px;
  line-height: 1.8;
}

.xhs-positioning-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  width: min(100%, 930px);
  margin: 0 auto;
  padding-top: 42px;
  border-top: 1px solid var(--xhs-case-line);
}

.xhs-positioning-copy p {
  margin: 0;
  color: var(--xhs-case-muted);
  font-size: 13px;
  line-height: 1.9;
}

.xhs-audience-stamps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1120px);
  margin: 112px auto 0;
}

.xhs-audience-stamps figure {
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(74, 104, 96, 0.28);
  background: #fbfcfa;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-audience-stamps figure > div {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--xhs-case-sage);
}

.xhs-audience-stamps img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-audience-stamps figcaption {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 7px 9px;
  padding: 13px 3px 4px;
}

.xhs-audience-stamps figcaption span {
  grid-row: 1 / 3;
  color: #6f9ba3;
  font-size: 9px;
  font-weight: 700;
}

.xhs-audience-stamps figcaption strong {
  font-size: 14px;
  font-weight: 650;
}

.xhs-audience-stamps figcaption p {
  margin: 0;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .xhs-audience-stamps figure:hover {
    transform: translateY(-8px);
  }

  .xhs-audience-stamps figure:hover img {
    transform: scale(1.035);
  }
}

.xhs-needs {
  margin-top: 144px;
}

.xhs-needs > h3 {
  margin: 0 0 38px;
  font-size: 32px;
  font-weight: 630;
  text-align: center;
}

.xhs-needs ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
  list-style: none;
}

.xhs-needs li {
  min-height: 176px;
  padding: 24px 26px;
}

.xhs-needs li + li {
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-needs li span,
.xhs-needs li strong {
  display: block;
}

.xhs-needs li span {
  color: #6f9ba3;
  font-size: 9px;
  font-weight: 700;
}

.xhs-needs li strong {
  margin-top: 26px;
  font-size: 16px;
  font-weight: 650;
}

.xhs-needs li p {
  margin: 12px 0 0;
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.7;
}

.xhs-case-role {
  --xhs-role-blue: #dcecef;
  --xhs-role-sage: #e8efe4;
  --xhs-role-line: rgba(79, 112, 106, 0.38);
  padding-bottom: 170px;
  background: var(--xhs-case-paper);
}

.xhs-case-role .xhs-case-chapter {
  padding-top: 100px;
}

.xhs-role-intro {
  display: grid;
  justify-items: center;
  width: min(100%, 790px);
  margin: 88px auto 0;
  text-align: center;
}

.xhs-role-intro h3,
.xhs-role-intro p {
  margin: 0;
}

.xhs-role-intro h3 {
  font-size: 44px;
  font-weight: 620;
  line-height: 1.28;
}

.xhs-role-intro p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--xhs-case-muted);
  font-size: 13px;
  line-height: 1.9;
}

.xhs-role-map {
  position: relative;
  width: min(100%, 1180px);
  height: 650px;
  margin: 68px auto 0;
}

.xhs-role-orbit {
  position: absolute;
  border: 1px solid var(--xhs-role-line);
  border-radius: 50%;
}

.xhs-role-orbit > div {
  position: absolute;
  top: 50%;
  width: 290px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(18deg);
}

.xhs-role-orbit span,
.xhs-role-orbit h3,
.xhs-role-orbit p {
  display: block;
  margin: 0;
}

.xhs-role-orbit span {
  width: 28px;
  height: 28px;
  margin: 0 auto 14px;
  border: 1px solid rgba(27, 33, 31, 0.24);
  border-radius: 50%;
  color: #53777c;
  font-size: 9px;
  font-weight: 700;
  line-height: 27px;
}

.xhs-role-orbit h3 {
  font-size: 30px;
  font-weight: 620;
  line-height: 1.22;
}

.xhs-role-orbit p {
  margin-top: 13px;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.6;
}

.xhs-role-orbit--brand {
  left: 0;
  top: 150px;
  z-index: 1;
  width: 700px;
  height: 405px;
  background: rgba(220, 236, 239, 0.58);
  transform: rotate(-18deg);
}

.xhs-role-orbit--brand > div {
  left: 37%;
}

.xhs-role-orbit--operation {
  right: 0;
  top: 54px;
  z-index: 2;
  width: 700px;
  height: 405px;
  background: rgba(232, 239, 228, 0.64);
  transform: rotate(-18deg);
}

.xhs-role-orbit--operation > div {
  left: 63%;
}

.xhs-role-orbit--visual {
  left: 50%;
  top: 316px;
  z-index: 3;
  width: 360px;
  height: 230px;
  background: rgba(248, 250, 248, 0.94);
  transform: translateX(-50%) rotate(-18deg);
}

.xhs-role-orbit--visual > div {
  left: 50%;
  width: 260px;
}

.xhs-role-orbit--visual h3 {
  font-size: 25px;
}

.xhs-role-junction {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding-left: 17px;
  color: #547178;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}

.xhs-role-junction::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #719ba0;
  transform: translateY(-50%);
}

.xhs-role-junction--ai {
  left: 48%;
  top: 83px;
}

.xhs-role-junction--data {
  left: 30%;
  bottom: 71px;
}

.xhs-role-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1040px);
  margin: 6px auto 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-role-details article {
  min-height: 260px;
  padding: 40px 62px 42px 0;
}

.xhs-role-details article + article {
  padding-right: 0;
  padding-left: 62px;
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-role-details span,
.xhs-role-details h3,
.xhs-role-details p {
  margin: 0;
}

.xhs-role-details span {
  color: #6f9ba3;
  font-size: 9px;
  font-weight: 700;
}

.xhs-role-details h3 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 630;
}

.xhs-role-details p {
  margin-top: 18px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.9;
}

.xhs-role-workflow {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 46px;
  align-items: stretch;
  margin-top: 110px;
  padding: 38px 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-role-workflow > div {
  align-self: center;
}

.xhs-role-workflow h3,
.xhs-role-workflow p {
  margin: 0;
}

.xhs-role-workflow h3 {
  font-size: 20px;
  font-weight: 630;
  line-height: 1.45;
}

.xhs-role-workflow p {
  margin-top: 10px;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.7;
}

.xhs-role-workflow ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.xhs-role-workflow li {
  display: grid;
  align-content: space-between;
  min-height: 104px;
  padding: 4px 16px 4px 18px;
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-role-workflow li span {
  color: #6f9ba3;
  font-size: 8px;
  font-weight: 700;
}

.xhs-role-workflow li strong {
  font-size: 11px;
  font-weight: 620;
  line-height: 1.5;
}

.xhs-case-intro + .xhs-archive,
.xhs-case-intro + .xhs-archive .xhs-archive-stage {
  background: #f8faf8;
}

.xhs-case-intro + .xhs-archive .xhs-archive-heading span {
  color: #6f9ba3;
}

.xhs-case-intro + .xhs-archive .xhs-archive-heading > div,
.xhs-case-intro + .xhs-archive .xhs-archive-status {
  background: rgba(248, 250, 248, 0.92);
}

@media (max-width: 1000px) {
  .xhs-case-shell {
    width: min(calc(100% - 72px), 1200px);
  }

  .xhs-case-cover h1 {
    font-size: 64px;
  }

  .xhs-paper-print--left {
    left: 13%;
  }

  .xhs-paper-print--right {
    right: 12%;
  }

  .xhs-case-story {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .xhs-case-story h3 {
    max-width: 650px;
  }

  .xhs-positioning-statement > p {
    font-size: 82px;
  }

  .xhs-role-map {
    height: 590px;
  }

  .xhs-role-orbit--brand,
  .xhs-role-orbit--operation {
    width: 610px;
    height: 370px;
  }

  .xhs-role-orbit--brand {
    left: -7%;
    top: 142px;
  }

  .xhs-role-orbit--operation {
    right: -7%;
  }

  .xhs-role-orbit h3 {
    font-size: 27px;
  }

  .xhs-role-orbit--visual h3 {
    font-size: 23px;
  }

  .xhs-role-details article {
    padding-right: 40px;
  }

  .xhs-role-details article + article {
    padding-right: 0;
    padding-left: 40px;
  }

  .xhs-role-workflow {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .xhs-role-workflow li {
    padding-right: 8px;
    padding-left: 10px;
  }
}

@media (min-width: 701px) and (max-width: 840px) {
  .xhs-role-map {
    display: grid;
    gap: 14px;
    width: min(100%, 620px);
    height: auto;
  }

  .xhs-role-orbit,
  .xhs-role-orbit--brand,
  .xhs-role-orbit--operation,
  .xhs-role-orbit--visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 205px;
    transform: none;
  }

  .xhs-role-orbit--visual {
    height: 190px;
  }

  .xhs-role-orbit > div,
  .xhs-role-orbit--brand > div,
  .xhs-role-orbit--operation > div,
  .xhs-role-orbit--visual > div {
    left: 50%;
    top: 50%;
    width: min(82%, 310px);
    transform: translate(-50%, -50%);
  }

  .xhs-role-orbit h3,
  .xhs-role-orbit--visual h3 {
    font-size: 24px;
  }

  .xhs-role-junction {
    display: none;
  }
}

@media (max-width: 700px) {
  .xhs-case-shell {
    width: calc(100% - 40px);
  }

  .xhs-case-chapter {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding-top: 98px;
    padding-bottom: 14px;
  }

  .xhs-case-chapter h2 {
    font-size: 17px;
  }

  .xhs-case-chapter p {
    display: none;
  }

  .xhs-case-cover {
    margin-top: 64px;
  }

  .xhs-case-cover h1 {
    margin-top: 12px;
    font-size: 46px;
  }

  .xhs-case-cover strong {
    margin-top: 14px;
    font-size: 13px;
  }

  .xhs-case-cover > span {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.75;
  }

  .xhs-paper-collage {
    height: 560px;
    margin-top: 22px;
  }

  .xhs-paper-envelope {
    top: 88px;
    width: min(104vw, 410px);
    transform: translateX(calc(-50% - 6px));
  }

  .xhs-paper-print {
    padding: 10px 10px 26px;
    translate: -6px 0;
  }

  .xhs-paper-print--left {
    left: -3px;
    top: 242px;
    width: 128px;
  }

  .xhs-paper-print--main {
    top: 148px;
    width: 170px;
    padding: 12px 12px 30px;
  }

  .xhs-paper-print--right {
    right: -4px;
    top: 250px;
    width: 132px;
  }

  .xhs-paper-print--small {
    left: 68%;
    top: 122px;
    width: 100px;
    padding: 8px 8px 22px;
  }

  .xhs-paper-collage > p {
    top: 24px;
    width: max-content;
    max-width: 84%;
    padding: 0;
    font-size: 10px;
  }

  .xhs-case-story {
    gap: 34px;
    padding-top: 48px;
  }

  .xhs-case-story h3 {
    font-size: 30px;
  }

  .xhs-case-story > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .xhs-case-story p {
    font-size: 12px;
  }

  .xhs-case-timeline {
    grid-template-columns: 1fr;
    margin-top: 76px;
  }

  .xhs-case-timeline li,
  .xhs-case-timeline li + li {
    min-height: 0;
    padding: 23px 0 26px;
    border-left: 0;
  }

  .xhs-case-timeline li + li {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-case-timeline strong {
    margin-top: 10px;
  }

  .xhs-case-core {
    margin-top: 74px;
    padding: 34px 24px;
    font-size: 23px;
    line-height: 1.5;
  }

  .xhs-case-overview {
    padding-bottom: 96px;
  }

  .xhs-case-positioning .xhs-case-chapter {
    padding-top: 90px;
  }

  .xhs-case-positioning {
    padding-bottom: 104px;
  }

  .xhs-positioning-statement {
    min-height: 330px;
    margin-top: 30px;
  }

  .xhs-positioning-statement > p {
    font-size: 54px;
    white-space: normal;
  }

  .xhs-positioning-statement h3 {
    max-width: 320px;
    font-size: 34px;
    line-height: 1.2;
  }

  .xhs-mobile-break {
    display: initial;
  }

  .xhs-positioning-statement span {
    max-width: 290px;
    margin-top: 18px;
    font-size: 12px;
  }

  .xhs-positioning-copy {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .xhs-positioning-copy p {
    font-size: 12px;
  }

  .xhs-audience-stamps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 74px;
  }

  .xhs-audience-stamps figure {
    padding: 6px;
  }

  .xhs-audience-stamps figcaption {
    grid-template-columns: 20px 1fr;
    padding-top: 10px;
  }

  .xhs-audience-stamps figcaption strong {
    font-size: 12px;
  }

  .xhs-audience-stamps figcaption p {
    font-size: 9px;
  }

  .xhs-needs {
    margin-top: 88px;
  }

  .xhs-needs > h3 {
    margin-bottom: 26px;
    font-size: 26px;
  }

  .xhs-needs ol {
    grid-template-columns: 1fr;
  }

  .xhs-needs li {
    min-height: 0;
    padding: 22px 0 24px;
  }

  .xhs-needs li + li {
    border-top: 1px solid var(--xhs-case-line);
    border-left: 0;
  }

  .xhs-needs li strong {
    margin-top: 12px;
  }

  .xhs-case-role {
    padding-bottom: 104px;
  }

  .xhs-case-role .xhs-case-chapter {
    padding-top: 90px;
  }

  .xhs-role-intro {
    margin-top: 62px;
  }

  .xhs-role-intro h3 {
    font-size: 30px;
    line-height: 1.35;
  }

  .xhs-role-intro p {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.8;
  }

  .xhs-role-map {
    display: grid;
    gap: 12px;
    height: auto;
    margin-top: 52px;
  }

  .xhs-role-orbit,
  .xhs-role-orbit--brand,
  .xhs-role-orbit--operation,
  .xhs-role-orbit--visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 188px;
    transform: none;
  }

  .xhs-role-orbit--visual {
    height: 176px;
  }

  .xhs-role-orbit > div,
  .xhs-role-orbit--brand > div,
  .xhs-role-orbit--operation > div,
  .xhs-role-orbit--visual > div {
    left: 50%;
    top: 50%;
    width: min(82%, 290px);
    transform: translate(-50%, -50%);
  }

  .xhs-role-orbit span {
    width: 24px;
    height: 24px;
    margin-bottom: 9px;
    line-height: 23px;
  }

  .xhs-role-orbit h3,
  .xhs-role-orbit--visual h3 {
    font-size: 21px;
    line-height: 1.18;
  }

  .xhs-role-orbit p {
    margin-top: 8px;
    font-size: 9px;
  }

  .xhs-role-junction {
    display: none;
  }

  .xhs-role-details {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .xhs-role-details article,
  .xhs-role-details article + article {
    min-height: 0;
    padding: 30px 0 32px;
    border-left: 0;
  }

  .xhs-role-details article + article {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-role-details h3 {
    margin-top: 12px;
    font-size: 19px;
  }

  .xhs-role-details p {
    margin-top: 13px;
    font-size: 11px;
    line-height: 1.85;
  }

  .xhs-role-workflow {
    display: block;
    margin-top: 74px;
    padding: 30px 0;
  }

  .xhs-role-workflow h3 {
    font-size: 19px;
  }

  .xhs-role-workflow ol {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 126px;
    margin-top: 28px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .xhs-role-workflow ol::-webkit-scrollbar {
    display: none;
  }

  .xhs-role-workflow li {
    min-height: 92px;
    padding: 3px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xhs-paper-print,
  .xhs-audience-stamps figure,
  .xhs-audience-stamps img {
    transition: none;
  }
}

.xhs-case-role .xhs-role-poster {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 72px auto 0;
  overflow: hidden;
  background: #f1eee5;
}

.xhs-role-poster img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .xhs-case-role .xhs-role-poster {
    width: min(100%, 460px);
    margin-top: 48px;
  }
}

@keyframes highlightMemoryReveal {
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes highlightStrategyReveal {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .highlight-strategy-stage {
    animation: highlightStrategyReveal linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  .highlight-memory-principle,
  .highlight-memory-scene {
    animation: highlightMemoryReveal linear both;
    animation-timeline: view();
    animation-range: entry 6% cover 24%;
  }
}

.project-showcase-stack {
  display: grid;
  gap: clamp(16px, 3vw, 44px);
  padding: 24px clamp(16px, 3vw, 44px) 80px;
}

.project-showcase-stack.has-gallery {
  gap: clamp(14px, 2.2vw, 32px);
  padding-top: 0;
}

.project-gallery-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  scroll-margin-top: clamp(10px, 1.6vw, 24px);
}

.project-gallery-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.project-showcase-large,
.project-showcase-wide {
  margin: 0;
  min-height: clamp(420px, 76vh, 900px);
  border-radius: 8px;
  overflow: hidden;
  background: #f2f2f0;
}

.project-showcase-wide {
  min-height: clamp(320px, 54vh, 680px);
}

.project-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-process-grid article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 15, 0.04);
}

.project-process-grid p {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.35;
}

/* Banner optimization: sticky editorial index with scroll-linked chapters. */
.banner-process {
  --banner-process-bg: #fff;
  --banner-process-fg: #171713;
  --banner-process-accent: #336cff;
  --banner-process-muted: #8d8b82;
  --banner-process-line: rgba(23, 23, 19, 0.14);
  color: var(--banner-process-fg);
  background: var(--banner-process-bg);
  border-top: 1px solid var(--banner-process-line);
  border-bottom: 1px solid var(--banner-process-line);
}

.banner-process-shell {
  width: min(100%, 1800px);
  margin: 0 auto;
  padding: 0 clamp(24px, 6.5vw, 132px);
  display: grid;
  grid-template-columns: clamp(190px, 19vw, 310px) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 142px);
  align-items: start;
}

.banner-process-rail {
  position: sticky;
  top: 92px;
  height: calc(100svh - 116px);
  min-height: 520px;
  padding: clamp(36px, 5vh, 62px) 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
}

.banner-process-rail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 0.82fr);
  align-items: start;
  gap: clamp(20px, 2.5vw, 46px);
}

.banner-process-kicker,
.banner-process-nav a,
.banner-process-preview__count,
.banner-process-step__header span {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
}

.banner-process-kicker {
  color: var(--banner-process-muted);
}

.banner-process-nav {
  display: grid;
  align-content: start;
}

.banner-process-nav a {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--banner-process-muted);
  text-decoration: none;
  transition: color 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-process-nav a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.46em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-process-nav a:hover,
.banner-process-nav a:focus-visible {
  color: var(--banner-process-fg);
}

.banner-process-nav a.is-active {
  color: var(--banner-process-accent);
}

.banner-process-nav a.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.banner-process-nav a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.banner-process-preview {
  width: min(100%, 196px);
  display: grid;
  gap: 12px;
}

.banner-process-preview__media {
  position: relative;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--banner-process-line);
}

.banner-process-preview__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 260ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-process-preview__frame.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0);
}

.banner-process-preview__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.banner-process-preview__count {
  color: var(--banner-process-muted);
  font-variant-numeric: tabular-nums;
}

.banner-process-preview__count b {
  color: var(--banner-process-fg);
  font-weight: 650;
}

.banner-process-content {
  min-width: 0;
  border-left: 1px solid var(--banner-process-line);
}

.banner-process-step {
  min-height: 100svh;
  padding: 0 clamp(8px, 3vw, 56px) 0 clamp(32px, 5vw, 94px);
  scroll-margin-top: 0;
  border-bottom: 1px solid var(--banner-process-line);
}

.banner-process-step.has-multiple {
  height: calc(var(--slide-count) * 100svh);
}

.banner-process-step:last-child {
  border-bottom: 0;
}

.banner-process-step__inner {
  min-height: 100%;
  height: 100%;
  display: block;
}

.banner-process-step__header {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(260px, 1fr);
  align-items: baseline;
  gap: clamp(26px, 4vw, 74px);
}

.banner-process-step__header span {
  color: var(--banner-process-muted);
  font-variant-numeric: tabular-nums;
}

.banner-process-step__header h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.1vw, 58px);
  line-height: 0.98;
  font-weight: 680;
  letter-spacing: 0;
}

.banner-process-media {
  position: sticky;
  top: 96px;
  height: calc(100svh - 120px);
  width: min(94%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.banner-process-media figure {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding-bottom: clamp(44px, 8vh, 80px);
  opacity: 0;
  transform: translateY(5%);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-process-media figure.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.banner-process-media figure.is-before {
  transform: translateY(-5%);
}

.banner-process-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.banner-refine-burst {
  position: relative;
  width: 82%;
  height: 79%;
  overflow: hidden;
  isolation: isolate;
  color: var(--banner-process-fg);
  background: #fff;
}

.banner-refine-burst__intro-copy,
.banner-refine-burst__result-copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform, opacity;
}

.banner-refine-burst__intro-copy {
  --intro-gap: 200px;
  width: 100%;
  height: 1em;
  display: block;
  font-size: 40px;
  opacity: 0;
}

.banner-refine-burst__intro-copy i {
  display: none;
}

.banner-refine-burst__intro-copy strong {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.banner-refine-burst__intro-copy strong:first-child {
  right: calc(50% + var(--intro-gap) / 2);
}

.banner-refine-burst__intro-copy strong:last-child {
  left: calc(50% + var(--intro-gap) / 2);
}

.banner-refine-burst__result-copy {
  display: flex;
  font-size: 36px;
  opacity: 1;
}

.banner-refine-burst__result-copy b {
  min-width: 2.32em;
  color: #336cff;
  font-size: 1.18em;
  line-height: 0.82;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.banner-refine-burst__result-copy strong,
.banner-refine-burst__intro-copy strong {
  font: inherit;
}

.banner-refine-burst__focus {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(82%, 620px);
  height: 96px;
  border: 1px dashed #336cff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.92;
  pointer-events: none;
  will-change: transform, opacity;
}

.banner-refine-burst__items {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.banner-refine-burst__item {
  --active-size: var(--size);
  position: absolute;
  z-index: 1;
  left: clamp(0px, calc(var(--x) - var(--active-size) / 2), calc(100% - var(--active-size)));
  top: clamp(0px, calc(var(--y) - var(--active-size) / 2), calc(100% - var(--active-size)));
  width: var(--active-size);
  aspect-ratio: 1;
  will-change: transform, opacity;
}

.banner-refine-burst__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 820px) {
  .banner-process-shell {
    padding: 0 18px;
    display: block;
  }

  .banner-process-rail {
    z-index: 3;
    top: 72px;
    height: auto;
    min-height: 0;
    margin: 0 -18px;
    padding: 16px 18px 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--banner-process-line);
    backdrop-filter: blur(14px);
  }

  .banner-process-rail__top {
    display: block;
  }

  .banner-process-kicker,
  .banner-process-preview {
    display: none;
  }

  .banner-process-nav {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .banner-process-nav::-webkit-scrollbar {
    display: none;
  }

  .banner-process-nav a {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }

  .banner-process-nav a::before {
    left: 50%;
    top: auto;
    bottom: -8px;
    transform: translateX(-50%) scale(0.4);
  }

  .banner-process-nav a.is-active::before {
    transform: translateX(-50%) scale(1);
  }

  .banner-process-content {
    border-left: 0;
  }

  .banner-process-step {
    min-height: 100svh;
    padding: 0;
    scroll-margin-top: 0;
  }

  .banner-process-step.has-multiple {
    height: calc(var(--slide-count) * 100svh);
  }

  .banner-process-step__inner {
    min-height: 100%;
    height: 100%;
  }

  .banner-process-media {
    top: 120px;
    height: calc(100svh - 138px);
    width: 100%;
  }

  .banner-process-media figure {
    place-items: start center;
    padding: clamp(26px, 4vh, 38px) 0 0;
  }

  .banner-process-media img {
    height: auto;
    max-height: 100%;
  }

  .banner-refine-burst__intro-copy {
    --intro-gap: 84px;
    font-size: 20px;
  }

  .banner-refine-burst__result-copy {
    font-size: 19px;
  }

  .banner-refine-burst__focus {
    width: 86%;
    height: 72px;
  }

  .banner-refine-burst__item {
    --active-size: var(--mobile-size);
  }

  .banner-process-step__header {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
  }

  .banner-process-step__header h2 {
    font-size: clamp(28px, 10vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-process-nav a,
  .banner-process-preview__frame {
    transition: none;
  }

  .banner-process-step__inner {
    opacity: 1 !important;
    transform: none !important;
  }

  .banner-process-media figure {
    transition: none;
  }

  .banner-refine-burst__item {
    will-change: auto;
  }
}

.project-next {
  background: #e8e8e8;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.project-next-browse {
  padding: clamp(34px, 4vw, 72px) clamp(16px, 2.2vw, 36px) clamp(44px, 5vw, 82px);
  background: #fff;
}

.project-next-browse > p {
  margin: 0 0 clamp(18px, 2vw, 32px);
  font-size: clamp(18px, 1.35vw, 26px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
}

.project-next-grid {
  display: flex;
  gap: clamp(8px, 1vw, 16px);
}

.project-next-card {
  min-width: 0;
  flex: 1 1 0;
  flex-grow: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--fg);
  text-decoration: none;
  transition:
    flex-grow 720ms cubic-bezier(.19, 1, .22, 1),
    opacity 320ms ease;
  will-change: flex-grow;
}

.project-next-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 6px;
  background: #f2f2f0;
  overflow: hidden;
}

.project-next-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1) translateZ(0);
  transition:
    filter 320ms ease,
    transform 720ms cubic-bezier(.19, 1, .22, 1);
  will-change: transform;
}

.project-next-card[data-project-slug="highlight"] .project-next-media {
  background: #f8bad2;
}

.project-next-card[data-project-slug="highlight"] img {
  object-fit: contain;
}

.project-next-card > span:not(.project-next-media) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(10px, .8vw, 13px);
  line-height: 1.1;
  font-weight: 500;
  color: rgba(17, 17, 15, 0.62);
}

.project-next-card:hover > span:not(.project-next-media) {
  color: var(--fg);
}

@media (hover: hover) and (pointer: fine) {
  .project-next-grid:hover .project-next-card {
    flex-grow: .72;
    opacity: 0.82;
  }

  .project-next-grid .project-next-card:hover {
    flex-grow: 1.28;
    opacity: 1;
  }

  .project-next-card:hover img {
    filter: brightness(0.98);
    transform: scale(1.055) translateZ(0);
  }

  .project-next-card[data-project-slug="highlight"]:hover img {
    transform: scale(1) translateZ(0);
  }
}

.project-next-cta {
  position: relative;
  --cta-card-height: clamp(310px, 39vh, 430px);
  min-height: clamp(760px, 100vh, 1080px);
  min-height: clamp(760px, 100svh, 1080px);
  padding: 0 clamp(22px, 2.15vw, 44px) clamp(16px, 1.7vw, 34px);
  background: #fff;
  overflow: hidden;
}

.project-next-cta-card {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: var(--cta-card-height);
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(22px, 2.4vw, 48px);
  padding: clamp(68px, 7vw, 128px) 24px clamp(60px, 6vw, 108px);
  border: 1px solid var(--line);
  border-top-color: rgba(17, 17, 15, 0.06);
  border-radius: 0 0 clamp(26px, 2.5vw, 42px) clamp(26px, 2.5vw, 42px);
  background: #fff;
  box-shadow: none;
}

.project-next-cta-card h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 62px);
  line-height: 1.08;
  font-weight: 680;
  text-align: center;
  letter-spacing: 0;
}

.project-next-cta-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(92px, 9vw, 186px);
  min-height: clamp(42px, 4vw, 82px);
  padding: 0 clamp(22px, 2.2vw, 44px);
  border: 1px solid var(--fg);
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font-size: clamp(14px, 1.05vw, 24px);
  line-height: 1;
  font-weight: 650;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.project-next-cta-card a:hover {
  background: #fff;
  color: var(--fg);
  border-color: var(--fg);
  transform: translateY(-1px);
}

.project-next-footer-nav {
  position: absolute;
  top: calc(var(--cta-card-height) + clamp(56px, 5.5vw, 92px));
  left: clamp(22px, 2.15vw, 44px);
  z-index: 3;
  display: grid;
  gap: 4px;
  font-size: clamp(13px, 1.05vw, 22px);
  line-height: 1.18;
  font-weight: 680;
  color: var(--fg);
}

.project-next-footer-nav a {
  width: fit-content;
}

.project-next-floating {
  position: absolute;
  left: clamp(20px, 1.95vw, 40px);
  bottom: clamp(14px, 1.6vw, 30px);
  z-index: 4;
  min-height: clamp(52px, 3.8vw, 76px);
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 18px);
  padding: 8px clamp(18px, 1.9vw, 34px) 8px clamp(8px, .8vw, 14px);
  border: 1px solid var(--fg);
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font-weight: 650;
  box-shadow: none;
  transition:
    transform 220ms cubic-bezier(.22, 1, .36, 1),
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.project-next-floating:hover {
  --spark-color: var(--fg);
  background: #fff;
  color: var(--fg);
  border-color: var(--fg);
  transform: translateY(-1px);
}

.project-next-floating .spark-dots {
  flex: 0 0 auto;
  width: clamp(34px, 2.6vw, 52px);
  height: clamp(34px, 2.6vw, 52px);
}

.project-next-floating strong {
  font-size: clamp(13px, 1vw, 22px);
  line-height: 1;
  white-space: nowrap;
}

.project-next-watermark {
  position: absolute;
  left: clamp(190px, 26.5vw, 560px);
  bottom: clamp(18px, 2vw, 38px);
  z-index: 1;
  color: var(--fg);
  font-size: clamp(230px, 36.5vw, 760px);
  line-height: .68;
  font-weight: 920;
  letter-spacing: -0.12em;
  transform: none;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@keyframes softHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softWidgetIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectImageIn {
  from {
    opacity: 0;
    transform: scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@media (max-width: 980px) {
  .intro-grid,
  .case-hero,
  .case-hero.flip,
  .others-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .case-hero.flip .case-title {
    order: initial;
  }

  .case-body,
  .case-body.five {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .catalog-item {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-item:last-child {
    border-bottom: 0;
  }

  .contact-section {
    display: grid;
    align-items: start;
  }

  .project-detail-heading,
  .project-detail-overview,
  .project-process-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-overview {
    align-items: start;
    gap: 48px;
    padding: 58px 22px 30px;
  }

  .project-intro-block {
    grid-template-rows: none;
  }

  .project-intro-copy {
    align-self: auto;
  }

  .project-info-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-info-list dd {
    text-align: left;
  }

  .project-scope-section {
    padding: 36px 22px 78px;
  }

  .project-next-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .project-next-card {
    flex: 0 0 min(72vw, 420px);
    scroll-snap-align: start;
  }

  .project-detail-heading--highlight {
    left: 6%;
    top: 10%;
    bottom: auto;
    width: 62%;
    gap: 15px;
  }

  .project-detail-heading--highlight h1 {
    font-size: 72px;
  }

  .highlight-cover-keyart {
    right: -16%;
    bottom: -14%;
  }

  .highlight-cover-doodle--flower {
    width: 102px;
  }

  .highlight-cover-doodle--sprout {
    display: none;
  }

  .highlight-cover-doodle--loop {
    right: 22%;
    width: 94px;
    height: 52px;
    border-width: 12px;
  }

  .highlight-background {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    padding: 82px 28px 68px;
  }

  .highlight-background-copy {
    grid-column: 1 / span 5;
  }

  .highlight-background-copy h2 {
    font-size: 46px;
  }

  .highlight-background-text {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .highlight-background-poster {
    grid-column: 6 / 9;
  }

  .highlight-background-insights,
  .highlight-background-meta {
    grid-column: 1 / 9;
  }

  .highlight-background-insights h3 {
    font-size: 19px;
  }

  .highlight-background.highlight-background--challenge {
    padding: 28px 32px 108px;
  }

  .highlight-challenge-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .highlight-challenge-header > p {
    justify-self: start;
    max-width: 38em;
    text-align: left;
  }

  .highlight-problem-section {
    margin-top: 94px;
  }

  .highlight-problem-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
  }

  .highlight-problem-grid article:not(:last-child)::after {
    content: none;
  }

  .highlight-goal-section {
    margin-top: 118px;
  }

  .highlight-goal-map {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .highlight-goal-map ul,
  .highlight-goal-map ul:first-child {
    justify-self: center;
    text-align: center;
  }

  .highlight-goal-circles {
    grid-row: 2;
  }

  .highlight-goal-map ul:last-child {
    grid-row: 3;
  }

  .highlight-goal-conclusion {
    font-size: 26px;
  }

  .highlight-challenge-copy {
    justify-self: center;
  }

  .highlight-core-question {
    grid-template-columns: 1fr;
  }

  .highlight-strategy-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .highlight-strategy-header > p {
    justify-self: center;
  }

  .highlight-strategy-stage {
    grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
    gap: 32px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .highlight-strategy-stage:nth-child(n) {
    width: 100%;
  }

  .highlight-strategy-path::before {
    clip-path: none;
  }

  .highlight-strategy-stage--research .highlight-strategy-items,
  .highlight-strategy-stage--validate .highlight-strategy-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .highlight-moodboard-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .highlight-moodboard-header > p {
    max-width: 48em;
  }

  .highlight-moodboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 54px;
  }

  .highlight-visual-memory {
    padding: 104px 28px 90px;
  }

  .highlight-memory-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .highlight-memory-header > p {
    max-width: 48em;
  }

  .highlight-memory-board {
    grid-template-columns: 1fr;
    gap: 84px;
  }

  .highlight-memory-page-preview {
    width: min(100%, 420px);
    justify-self: center;
  }

  .highlight-memory-main-visual > figure {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding: 12px 14px;
  }

  .brand-mark {
    height: 42px;
    font-size: 38px;
  }

  .hero-scroll {
    height: 300vh;
  }

  .project-sphere {
    width: clamp(44px, 12vw, 52px);
  }

  .kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 18px;
    line-height: 1.5;
  }

  .intro-section,
  .work-band,
  .others-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .case-body,
  .case-body.five {
    grid-template-columns: 1fr;
  }

  .case-body div {
    min-height: auto;
  }

  .image-placeholder {
    min-height: 330px;
  }

  .other-card {
    grid-template-rows: 320px auto;
  }

  .assistant-panel {
    max-height: calc(100vh - 100px);
    overflow: auto;
  }

  .project-detail-hero {
    --project-hero-gap: 18px;
    --project-hero-top: 92px;
    --project-hero-radius: 14px;
    padding: var(--project-hero-top) var(--project-hero-gap) var(--project-hero-gap);
  }

  .project-detail-image {
    height: calc(100vh - var(--project-hero-top) - var(--project-hero-gap));
    height: calc(100svh - var(--project-hero-top) - var(--project-hero-gap));
    min-height: 430px;
  }

  .project-showcase-large {
    min-height: 420px;
  }

  .project-detail-heading {
    left: 18px;
    top: auto;
    bottom: 18px;
    width: min(58%, 300px);
    min-width: 0;
    gap: 12px;
    padding-bottom: 0;
  }

  .project-detail-heading h1 {
    font-size: clamp(30px, 9vw, 48px);
    line-height: 1;
  }

  .project-detail-overview {
    gap: 38px;
    padding: 42px 18px 28px;
  }

  .project-detail-label {
    font-size: 14px;
  }

  .project-intro-block,
  .project-info-block {
    gap: 26px;
  }

  .project-intro-copy {
    gap: 16px;
    max-width: 100%;
  }

  .project-intro-block p {
    font-size: clamp(21px, 6vw, 30px);
    line-height: 1.34;
  }

  .project-info-list dt,
  .project-info-list dd {
    font-size: 17px;
  }

  .project-scope-section {
    padding: 28px 18px 64px;
  }

  .project-scope-list {
    margin-top: 26px;
  }

  .project-scope-list li {
    gap: 18px;
    padding: 20px 0;
  }

  .project-scope-list li span,
  .project-scope-list li em {
    font-size: clamp(25px, 7vw, 36px);
  }

  .project-next-browse {
    padding: 34px 14px 54px;
  }

  .project-next-browse > p {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .project-next-card {
    flex-basis: 78vw;
  }

  .project-next-cta {
    --cta-card-height: 260px;
    min-height: 620px;
    padding: 0 14px 14px;
  }

  .project-next-cta-card {
    min-height: var(--cta-card-height);
    padding: 58px 18px 48px;
    border-radius: 0 0 24px 24px;
    gap: 20px;
  }

  .project-next-cta-card h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .project-next-cta-card a {
    min-width: 92px;
    min-height: 42px;
    font-size: 14px;
  }

  .project-next-footer-nav {
    top: calc(var(--cta-card-height) + 38px);
    left: 18px;
    gap: 3px;
    font-size: 14px;
  }

  .project-next-floating {
    left: 14px;
    bottom: 14px;
    min-height: 48px;
    padding-right: 18px;
  }

  .project-next-floating .spark-dots {
    width: 34px;
    height: 34px;
  }

  .project-next-floating strong {
    font-size: 13px;
  }

  .project-next-watermark {
    left: 82px;
    bottom: 64px;
    font-size: clamp(160px, 55vw, 230px);
  }

  .project-detail-hero--highlight {
    --project-hero-gap: 14px;
    --project-hero-top: 78px;
    --project-hero-radius: 14px;
  }

  .project-detail-heading--highlight {
    left: 22px;
    top: 9%;
    bottom: auto;
    width: calc(100% - 44px);
    gap: 12px;
  }

  .project-detail-heading--highlight p {
    max-width: 65%;
    font-size: 11px;
  }

  .project-detail-heading--highlight h1 {
    width: 78%;
    font-size: 58px;
    line-height: 0.92;
  }

  .highlight-cover-tagline {
    padding: 7px 12px 8px;
    font-size: 14px;
  }

  .highlight-cover-keyart {
    right: -42%;
    bottom: -10%;
    width: 650px !important;
    height: 650px !important;
    clip-path: circle(31% at 67% 70%);
  }

  .project-detail-image--highlight .highlight-cover-image {
    object-fit: cover;
    object-position: center center;
  }

  .project-detail-hero--highlight .project-detail-image--highlight {
    height: auto;
    min-height: 0;
    aspect-ratio: 8514 / 3684;
  }

  .project-detail-heading--hero-bottom {
    left: 18px;
    bottom: 14px;
    width: min(66%, 240px);
    gap: 7px;
  }

  .highlight-cover-date {
    top: 5%;
    right: 20px;
    font-size: 13px;
  }

  .highlight-cover-credit {
    left: 20px;
    bottom: 18px;
    font-size: 9px;
  }

  .highlight-cover-doodle--flower {
    left: 4%;
    bottom: 12%;
    width: 70px;
  }

  .highlight-cover-doodle--star {
    left: 26%;
    bottom: 8%;
    width: 42px;
  }

  .highlight-cover-doodle--loop {
    right: 10%;
    top: 40%;
    width: 70px;
    height: 40px;
    border-width: 9px;
  }

  .highlight-cover-doodle--sprout {
    display: none;
  }

  .highlight-background {
    min-height: auto;
    display: block;
    padding: 72px 20px 62px;
  }

  .highlight-background-copy h2 {
    margin-top: 30px;
    font-size: 32px;
    line-height: 1.08;
  }

  .highlight-background-text {
    margin-top: 28px;
  }

  .highlight-background-text p {
    font-size: 15px;
    line-height: 1.72;
  }

  .highlight-background-poster {
    width: 74%;
    margin: 52px 0 0 auto;
    transform: rotate(1.5deg);
  }

  .highlight-background-poster-window {
    height: 58vh;
    min-height: 460px;
    border-radius: 14px;
  }

  .highlight-background-insights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 62px;
  }

  .highlight-background-insights h3 {
    margin-top: 16px;
    font-size: 20px;
  }

  .highlight-background-insights p {
    max-width: 34em;
    font-size: 14px;
  }

  .highlight-background-meta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 54px;
  }

  .highlight-background-mark {
    right: -4%;
    bottom: 1%;
    font-size: 58px;
  }

  .highlight-background.highlight-background--challenge {
    padding: 22px 20px 88px;
  }

  .highlight-challenge-meta {
    gap: 10px;
    padding-bottom: 14px;
    font-size: 8px;
  }

  .highlight-challenge-header {
    margin-top: 38px;
  }

  .highlight-challenge-header h2 {
    font-size: 36px;
  }

  .highlight-challenge-header > p {
    font-size: 15px;
    line-height: 1.7;
  }

  .highlight-problem-section {
    margin-top: 78px;
  }

  .highlight-analysis-title h3 {
    font-size: 28px;
  }

  .highlight-analysis-title h3::before,
  .highlight-analysis-title h3::after {
    margin: 0 9px;
  }

  .highlight-analysis-title p {
    margin-top: 18px;
    font-size: 13px;
  }

  .highlight-problem-grid {
    gap: 30px;
    margin-top: 40px;
  }

  .highlight-problem-grid article > div {
    min-height: 160px;
    padding: 38px 22px 26px;
  }

  .highlight-goal-section {
    margin-top: 96px;
  }

  .highlight-goal-map {
    gap: 30px;
    margin-top: 44px;
  }

  .highlight-goal-map ul {
    gap: 10px;
    font-size: 15px;
  }

  .highlight-goal-circles article {
    width: 170px;
    gap: 10px;
    padding: 22px;
    border-width: 2px;
  }

  .highlight-goal-circles article + article {
    margin-left: -18px;
  }

  .highlight-goal-circles strong {
    font-size: 17px;
  }

  .highlight-goal-circles span {
    font-size: 10px;
  }

  .highlight-goal-circles::after {
    font-size: 24px;
  }

  .highlight-goal-conclusion {
    margin-top: 56px;
    font-size: 21px;
  }

  .highlight-challenge-copy {
    gap: 14px;
  }

  .highlight-challenge-copy p {
    font-size: 14px;
    line-height: 1.78;
  }

  .highlight-core-question {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 58px;
    padding: 23px 0 26px;
  }

  .highlight-core-question p {
    font-size: 19px;
    line-height: 1.55;
  }

  .highlight-strategy {
    margin-top: 86px;
  }

  .highlight-strategy-header {
    gap: 18px;
  }

  .highlight-strategy-header h3 {
    margin-top: 10px;
    font-size: 30px;
  }

  .highlight-strategy-header > p {
    font-size: 13px;
    line-height: 1.72;
  }

  .highlight-strategy-path {
    margin-top: 46px;
    padding-bottom: 0;
  }

  .highlight-strategy-path::before {
    content: none;
  }

  .highlight-strategy-stage:nth-child(1) { background: #fffafb; }
  .highlight-strategy-stage:nth-child(2) { background: #fff5f8; }
  .highlight-strategy-stage:nth-child(3) { background: #feeff4; }
  .highlight-strategy-stage:nth-child(4) { background: #fde7ef; }
  .highlight-strategy-stage:nth-child(5) { background: #fadbe6; }

  .highlight-strategy-stage {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0 38px 25px;
    border-left: 1px solid rgba(242, 10, 88, 0.2);
  }

  .highlight-strategy-stage:last-child {
    border-bottom: 1px solid rgba(27, 27, 26, 0.16);
  }

  .highlight-strategy-stage > header {
    margin-left: -42px;
  }

  .highlight-strategy-number {
    width: 34px;
    height: 34px;
    background: #fff;
  }

  .highlight-strategy-stage h4 {
    font-size: 21px;
  }

  .highlight-strategy-summary {
    font-size: 14px;
  }

  .highlight-strategy-items,
  .highlight-strategy-stage--research .highlight-strategy-items,
  .highlight-strategy-stage--define .highlight-strategy-items,
  .highlight-strategy-stage--hypothesis .highlight-strategy-items,
  .highlight-strategy-stage--validate .highlight-strategy-items {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .highlight-strategy-item strong {
    font-size: 14px;
  }

  .highlight-strategy-outcome {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
    padding-top: 26px;
  }

  .highlight-strategy-outcome p {
    font-size: 21px;
    line-height: 1.55;
  }

  .highlight-moodboard {
    padding: 76px 20px 90px;
  }

  .highlight-moodboard-header h2 {
    margin-top: 14px;
    font-size: 32px;
  }

  .highlight-moodboard-header > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .highlight-moodboard-keywords {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 64px;
  }

  .highlight-moodboard-keyword-list {
    gap: 8px;
  }

  .highlight-moodboard-keyword {
    min-height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  .highlight-moodboard-bridge {
    grid-template-columns: auto minmax(34px, 1fr) auto;
    width: 100%;
    margin-top: 34px;
    font-size: 9px;
  }

  .highlight-moodboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
    margin-top: 26px;
  }

  .highlight-moodboard-direction {
    grid-template-rows: auto auto minmax(94px, auto) auto;
    padding-top: 14px;
  }

  .highlight-moodboard-direction h3 {
    margin-top: 14px;
    font-size: 22px;
  }

  .highlight-moodboard-direction p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.68;
  }

  .highlight-moodboard-direction figure {
    margin-top: 18px;
  }

  .highlight-moodboard-conclusion {
    margin-top: 84px;
  }

  .highlight-moodboard-conclusion-words {
    gap: 4px 16px;
    margin-top: 18px;
  }

  .highlight-moodboard-conclusion-words strong {
    font-size: 25px;
  }

  .highlight-moodboard-conclusion p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
  }

  .highlight-visual-memory {
    padding: 82px 20px 72px;
    background-size: 20px 20px;
  }

  .highlight-memory-header {
    padding-bottom: 38px;
  }

  .highlight-memory-header > div > strong {
    margin-top: 26px;
    font-size: 16px;
  }

  .highlight-memory-header h2 {
    margin-top: 10px;
    font-size: 34px;
  }

  .highlight-memory-header > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .highlight-memory-board {
    gap: 68px;
    margin-top: 62px;
  }

  .highlight-memory-page-preview {
    width: min(100%, 280px);
  }

  .highlight-memory-section-label {
    min-width: 190px;
  }

  .highlight-memory-main-visual > figure {
    min-height: 420px;
    padding: 30px 16px;
  }

  .highlight-memory-main-visual > figure img {
    width: min(88%, 350px);
  }

  .highlight-memory-reference-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100%, 280px);
    margin-right: auto;
    margin-left: auto;
  }

  .highlight-memory-reference img {
    width: 100%;
  }

  .highlight-memory-annotations {
    grid-template-columns: 1fr;
  }

  .highlight-memory-annotations span {
    min-height: 50px;
  }

  .highlight-memory-annotations span + span {
    border-top: 1px solid rgba(27, 27, 26, 0.14);
    border-left: 0;
  }

  .highlight-memory-principles {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .highlight-memory-principle {
    padding: 22px 0 32px;
  }

  .highlight-memory-principle p {
    margin: 18px 0 0;
    font-size: 13px;
  }

  .highlight-memory-scenes {
    margin-top: 64px;
  }

  .highlight-memory-scenes > header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .highlight-memory-scene-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* Xiaohongshu case study: editorial long-page system inspired by print-led brand sites. */
.project-detail-hero--xhs {
  --project-hero-gap: 42px;
  --project-hero-top: 118px;
  --project-hero-radius: 18px;
}

.project-detail-image--xhs {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 72px 72px 34px;
  color: #101113;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px) 0 0 / 25% 100%,
    #b9def2;
}

.project-detail-image--xhs::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: #fff3b8;
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.xhs-hero-copy,
.xhs-hero-profile,
.xhs-hero-meta {
  position: relative;
  z-index: 2;
}

.xhs-hero-copy {
  align-self: center;
  padding-bottom: 52px;
}

.xhs-hero-copy p,
.xhs-hero-copy span {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.xhs-hero-copy p {
  color: rgba(16, 17, 19, 0.62);
}

.xhs-hero-copy h1 {
  margin: 18px 0 22px;
  font-size: 72px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.xhs-hero-copy span {
  display: inline-block;
  padding: 8px 12px;
  color: #fff;
  background: #ff5b74;
}

.project-detail-image--xhs .xhs-hero-profile {
  justify-self: end;
  width: min(100%, 470px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.xhs-hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 17, 19, 0.2);
}

.xhs-hero-meta div {
  display: grid;
  gap: 5px;
}

.xhs-hero-meta dt,
.xhs-hero-meta dd {
  margin: 0;
}

.xhs-hero-meta dt {
  font-size: 10px;
  color: rgba(16, 17, 19, 0.56);
}

.xhs-hero-meta dd {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

body.has-route-transition .xhs-hero-copy,
body.has-route-transition .xhs-hero-meta {
  opacity: 0;
}

body.route-transition-complete .xhs-hero-copy,
body.route-transition-complete .xhs-hero-meta {
  animation: xhsCopyIn 620ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes xhsCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.xhs-overview {
  --xhs-pink: #ff5b74;
  --xhs-blue: #009ff5;
  --xhs-yellow: #f5c000;
  overflow: hidden;
  padding: 116px 56px 136px;
  background: linear-gradient(180deg, #b9def2 0, #cce8f7 38%, #f4fbff 72%, #fff 100%);
  color: #101113;
}

.xhs-overview-heading,
.xhs-story-grid,
.xhs-timeline-block,
.xhs-goals,
.xhs-overview-core {
  width: min(100%, 1320px);
  margin-right: auto;
  margin-left: auto;
}

.xhs-overview-heading {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: end;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(16, 17, 19, 0.2);
}

.xhs-overview-heading > span {
  color: var(--xhs-pink);
  font-size: 14px;
  font-weight: 800;
}

.xhs-overview-heading p,
.xhs-overview-heading h2 {
  margin: 0;
}

.xhs-overview-heading p {
  margin-bottom: 8px;
  color: rgba(16, 17, 19, 0.5);
  font-size: 10px;
  font-weight: 700;
}

.xhs-overview-heading h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.xhs-editorial-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  grid-template-rows: 1fr auto;
  width: min(100%, 1320px);
  min-height: 720px;
  margin: 72px auto 0;
  padding: 54px 58px 42px;
  overflow: hidden;
  background: #a9d7f0;
}

.xhs-editorial-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(255, 255, 255, 0.25) 50% 50.1%, transparent 50.2%),
    linear-gradient(0deg, transparent 0 72%, rgba(255, 255, 255, 0.2) 72.1% 72.25%, transparent 72.35%);
  pointer-events: none;
}

.xhs-stage-copy,
.xhs-stage-portrait,
.xhs-stage-caption {
  position: relative;
  z-index: 1;
}

.xhs-stage-copy {
  align-self: start;
  padding-top: 8px;
}

.xhs-stage-kicker,
.xhs-stage-summary,
.xhs-stage-copy h3 {
  margin: 0;
}

.xhs-stage-kicker {
  font-size: 10px;
  font-weight: 800;
}

.xhs-stage-copy h3 {
  display: grid;
  margin-top: 12px;
  font-size: 88px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.xhs-stage-copy h3 span:last-child {
  color: #fff;
}

.xhs-stage-summary {
  width: min(100%, 390px);
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.xhs-stage-portrait {
  align-self: center;
  justify-self: end;
  width: min(100%, 500px);
}

.xhs-stage-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.xhs-stage-caption {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
  border-top: 1px solid rgba(16, 17, 19, 0.22);
}

.xhs-stage-caption strong {
  max-width: 620px;
  font-size: 28px;
  line-height: 1.35;
}

.xhs-stage-caption span {
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.xhs-theme-ribbon {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  align-items: center;
  gap: 12px;
  width: min(100%, 1480px);
  margin: -56px auto 0;
  padding: 0 16px;
}

.xhs-theme-card {
  display: grid;
  align-content: space-between;
  min-height: 176px;
  margin: 0;
  padding: 16px;
  border: 5px solid #fff;
  background: #fff;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-theme-card:nth-child(2n) {
  min-height: 148px;
}

.xhs-theme-card:nth-child(3n) {
  transform: translateY(16px);
}

.xhs-theme-card:hover {
  transform: translateY(-8px);
}

.xhs-theme-card:nth-child(3n):hover {
  transform: translateY(8px);
}

.xhs-theme-card > span,
.xhs-theme-card small {
  font-size: 9px;
  font-weight: 700;
}

.xhs-theme-card figcaption {
  display: grid;
  gap: 2px;
}

.xhs-theme-card strong {
  font-size: 17px;
}

.xhs-theme-card--1,
.xhs-theme-card--5 {
  background: #fff3b8;
}

.xhs-theme-card--2,
.xhs-theme-card--6 {
  color: #fff;
  background: #ff5b74;
}

.xhs-theme-card--3,
.xhs-theme-card--7 {
  background: #dff3ff;
}

.xhs-theme-card--4 {
  color: #fff;
  background: #009ff5;
}

.xhs-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 96px;
  align-items: start;
  margin-top: 154px;
}

.xhs-story-lead,
.xhs-story-copy p {
  margin: 0;
}

.xhs-story-lead {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
}

.xhs-story-copy {
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.xhs-story-copy p {
  font-size: 15px;
  line-height: 1.95;
}

.xhs-timeline-block {
  margin-top: 152px;
}

.xhs-timeline-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(16, 17, 19, 0.22);
}

.xhs-timeline-title span {
  font-size: 11px;
  font-weight: 700;
}

.xhs-timeline-title strong {
  color: var(--xhs-pink);
  font-size: 34px;
}

.xhs-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xhs-timeline li {
  min-height: 260px;
  padding: 30px 34px 38px 0;
  border-bottom: 1px solid rgba(16, 17, 19, 0.22);
}

.xhs-timeline li + li {
  padding-left: 34px;
  border-left: 1px solid rgba(16, 17, 19, 0.16);
}

.xhs-timeline li > span,
.xhs-timeline li strong {
  display: block;
}

.xhs-timeline li > span {
  font-size: 10px;
  color: rgba(16, 17, 19, 0.54);
}

.xhs-timeline li strong {
  margin-top: 42px;
  font-size: 24px;
}

.xhs-timeline li p {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.75;
}

.xhs-goals {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 56px;
  margin-top: 144px;
}

.xhs-goals > p {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
}

.xhs-goals ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 17, 19, 0.22);
}

.xhs-goals li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px 18px;
  padding: 24px 24px 28px 0;
  border-bottom: 1px solid rgba(16, 17, 19, 0.22);
}

.xhs-goals li:nth-child(2n) {
  padding-left: 24px;
  border-left: 1px solid rgba(16, 17, 19, 0.16);
}

.xhs-goals li span {
  grid-row: 1 / 3;
  color: var(--xhs-pink);
  font-size: 10px;
  font-weight: 800;
}

.xhs-goals li strong {
  font-size: 17px;
}

.xhs-goals li small {
  font-size: 12px;
  line-height: 1.65;
}

.xhs-overview-core {
  margin-top: 150px;
  padding: 40px 0 0;
  border-top: 8px solid var(--xhs-pink);
}

.xhs-overview-core span {
  font-size: 10px;
  font-weight: 800;
}

.xhs-overview-core p {
  max-width: 980px;
  margin: 28px 0 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .project-detail-image--xhs {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    padding: 56px 46px 30px;
  }

  .xhs-hero-copy h1 {
    font-size: 58px;
  }

  .xhs-editorial-stage {
    grid-template-columns: 1fr 0.85fr;
    min-height: 620px;
    padding: 46px 42px 36px;
  }

  .xhs-stage-copy h3 {
    font-size: 68px;
  }

  .xhs-theme-ribbon {
    grid-template-columns: repeat(7, minmax(104px, 1fr));
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .xhs-story-grid {
    gap: 54px;
  }

  .xhs-story-lead,
  .xhs-goals > p {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .project-detail-hero--xhs {
    --project-hero-gap: 18px;
    --project-hero-top: 92px;
    --project-hero-radius: 14px;
  }

  .project-detail-image--xhs {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    padding: 24px 24px 18px;
  }

  .xhs-hero-copy {
    padding-bottom: 10px;
  }

  .xhs-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: 40px;
  }

  .project-detail-image--xhs .xhs-hero-profile {
    justify-self: center;
    width: min(58%, 260px);
  }

  .xhs-hero-meta {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 12px;
  }

  .xhs-hero-meta div {
    grid-template-columns: 92px 1fr;
    align-items: baseline;
  }

  .xhs-hero-meta dt {
    font-size: 9px;
  }

  .xhs-hero-meta dd {
    font-size: 11px;
  }

  .xhs-overview {
    padding: 78px 20px 92px;
  }

  .xhs-overview-heading {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .xhs-overview-heading h2 {
    font-size: 24px;
  }

  .xhs-editorial-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    margin-top: 36px;
    padding: 32px 24px 26px;
  }

  .xhs-stage-copy h3 {
    font-size: 52px;
  }

  .xhs-stage-summary {
    font-size: 13px;
  }

  .xhs-stage-portrait {
    width: min(88%, 360px);
    margin: 30px auto 0;
  }

  .xhs-stage-caption {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
  }

  .xhs-stage-caption strong {
    font-size: 21px;
  }

  .xhs-theme-ribbon {
    grid-template-columns: repeat(7, 128px);
    align-items: end;
    margin-top: 18px;
    padding: 0 0 18px;
  }

  .xhs-theme-card,
  .xhs-theme-card:nth-child(2n) {
    min-height: 138px;
  }

  .xhs-theme-card:nth-child(3n),
  .xhs-theme-card:nth-child(3n):hover,
  .xhs-theme-card:hover {
    transform: none;
  }

  .xhs-story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 88px;
  }

  .xhs-story-lead,
  .xhs-goals > p {
    font-size: 30px;
  }

  .xhs-story-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .xhs-timeline-block {
    margin-top: 94px;
  }

  .xhs-timeline-title {
    display: grid;
    gap: 10px;
  }

  .xhs-timeline-title strong {
    font-size: 26px;
  }

  .xhs-timeline {
    grid-template-columns: 1fr;
  }

  .xhs-timeline li,
  .xhs-timeline li + li {
    min-height: 0;
    padding: 24px 0 28px;
    border-left: 0;
  }

  .xhs-timeline li strong {
    margin-top: 18px;
    font-size: 21px;
  }

  .xhs-goals {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 94px;
  }

  .xhs-goals ol {
    grid-template-columns: 1fr;
  }

  .xhs-goals li,
  .xhs-goals li:nth-child(2n) {
    padding: 20px 0 24px;
    border-left: 0;
  }

  .xhs-overview-core {
    margin-top: 96px;
    padding-top: 26px;
  }

  .xhs-overview-core p {
    font-size: 27px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 640px) {
  .project-scope-list li:hover,
  .project-scope-list li:has(+ li:hover) {
    border-bottom-color: var(--line);
  }

  .project-scope-list li:hover::before {
    opacity: 0;
    transform: translate(-14px, -50%);
  }

  .project-scope-list li:hover span {
    transform: none;
  }

  .project-scope-list li:hover em {
    color: var(--muted);
  }

  .project-scope-list li::before,
  .project-scope-list li span,
  .project-scope-list li em {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Xiaohongshu refresh: warm editorial canvas with restrained network glows. */
.project-detail-hero--xhs {
  --project-hero-gap: 36px;
  --project-hero-top: 112px;
  --project-hero-radius: 16px;
  background: #fff;
}

.project-detail-image--xhs {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(230px, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: 38px 56px 26px;
  color: #171522;
  background: #fbf8ed;
}

.project-detail-image--xhs::after {
  content: none;
}

.xhs-hero-copy {
  align-self: start;
  padding: 0;
  text-align: center;
}

.xhs-hero-copy p,
.xhs-hero-copy span {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.xhs-hero-copy p {
  color: rgba(23, 21, 34, 0.52);
}

.xhs-hero-copy h1 {
  max-width: 720px;
  margin: 12px auto 14px;
  font-size: 46px;
  font-weight: 760;
  line-height: 1.08;
}

.xhs-hero-copy span {
  display: inline;
  padding: 0;
  color: rgba(23, 21, 34, 0.64);
  background: transparent;
}

.xhs-hero-network {
  position: relative;
  isolation: isolate;
  width: min(100%, 860px);
  height: 100%;
  min-height: 260px;
}

.xhs-hero-glow,
.xhs-stage-glow {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.74;
  pointer-events: none;
}

.xhs-hero-glow--warm {
  left: 32%;
  top: 20%;
  width: 34%;
  height: 60%;
  background: rgba(255, 112, 76, 0.7);
}

.xhs-hero-glow--blue {
  right: 8%;
  top: 18%;
  width: 30%;
  height: 64%;
  background: rgba(129, 156, 238, 0.66);
}

.xhs-hero-glow--gold {
  left: 5%;
  top: 24%;
  width: 28%;
  height: 58%;
  background: rgba(184, 146, 26, 0.68);
}

.project-detail-image--xhs .xhs-hero-profile {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 174px;
  height: 174px;
  object-fit: contain;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.xhs-network-note {
  position: absolute;
  z-index: 3;
  min-width: 126px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 21, 34, 0.09);
  border-radius: 10px;
  color: #171522;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.xhs-network-note--left {
  left: 19%;
  top: 40%;
}

.xhs-network-note--right {
  right: 19%;
  top: 35%;
}

.xhs-network-note--bottom {
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
}

.xhs-hero-meta {
  position: relative;
  z-index: 4;
  grid-column: auto;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 21, 34, 0.12);
}

.xhs-hero-meta div {
  gap: 4px;
}

.xhs-hero-meta dt {
  color: rgba(23, 21, 34, 0.48);
  font-size: 9px;
}

.xhs-hero-meta dd {
  color: #171522;
  font-size: 12px;
  font-weight: 650;
}

.xhs-overview {
  --xhs-ink: #171522;
  --xhs-coral: #ff6f61;
  --xhs-blue: #849deb;
  --xhs-gold: #b99224;
  padding: 110px 56px 128px;
  color: var(--xhs-ink);
  background: #fbf8ed;
}

.xhs-overview-heading,
.xhs-story-grid,
.xhs-timeline-block,
.xhs-goals,
.xhs-overview-core {
  width: min(100%, 1180px);
}

.xhs-overview-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  text-align: center;
}

.xhs-overview-heading > span {
  color: var(--xhs-coral);
  font-size: 11px;
  font-weight: 750;
}

.xhs-overview-heading p {
  margin-bottom: 7px;
  color: rgba(23, 21, 34, 0.46);
  font-size: 9px;
  font-weight: 650;
}

.xhs-overview-heading h2 {
  font-size: 32px;
  font-weight: 720;
  line-height: 1.2;
}

.xhs-editorial-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 360px auto;
  width: min(100%, 1180px);
  min-height: 0;
  margin: 76px auto 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.xhs-editorial-stage::before {
  content: none;
}

.xhs-stage-copy {
  justify-self: center;
  max-width: 660px;
  padding: 0;
  text-align: center;
}

.xhs-stage-kicker {
  color: rgba(23, 21, 34, 0.5);
  font-size: 9px;
  font-weight: 650;
}

.xhs-stage-copy h3 {
  display: block;
  margin-top: 12px;
  font-size: 56px;
  font-weight: 760;
  line-height: 1.06;
}

.xhs-stage-summary {
  width: min(100%, 600px);
  margin: 18px auto 0;
  color: rgba(23, 21, 34, 0.7);
  font-size: 14px;
  line-height: 1.85;
}

.xhs-stage-portrait {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  margin-top: 20px;
}

.xhs-stage-portrait img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 210px;
  height: 210px;
  object-fit: contain;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.xhs-stage-glow--left {
  left: 12%;
  top: 22%;
  width: 30%;
  height: 50%;
  background: rgba(184, 146, 36, 0.66);
}

.xhs-stage-glow--center {
  left: 34%;
  top: 18%;
  width: 34%;
  height: 58%;
  background: rgba(255, 111, 97, 0.68);
}

.xhs-stage-glow--right {
  right: 12%;
  top: 20%;
  width: 30%;
  height: 54%;
  background: rgba(132, 157, 235, 0.66);
}

.xhs-stage-tag {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  border: 1px solid rgba(23, 21, 34, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 680;
}

.xhs-stage-tag--one {
  left: 18%;
  top: 43%;
}

.xhs-stage-tag--two {
  right: 18%;
  top: 34%;
}

.xhs-stage-tag--three {
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
}

.xhs-stage-caption {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(23, 21, 34, 0.12);
  text-align: center;
}

.xhs-stage-caption strong {
  width: 100%;
  max-width: 680px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.xhs-stage-caption span {
  color: rgba(23, 21, 34, 0.46);
  font-size: 9px;
  font-weight: 650;
}

.xhs-theme-ribbon {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  align-items: stretch;
  gap: 0;
  width: min(100%, 1180px);
  margin: 82px auto 0;
  padding: 0;
  border-top: 1px solid rgba(23, 21, 34, 0.12);
  border-bottom: 1px solid rgba(23, 21, 34, 0.12);
}

.xhs-theme-card,
.xhs-theme-card:nth-child(2n),
.xhs-theme-card:nth-child(3n) {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 18px 10px;
  border: 0;
  color: var(--xhs-ink);
  background: transparent;
  transform: none;
}

.xhs-theme-card + .xhs-theme-card {
  border-left: 1px solid rgba(23, 21, 34, 0.1);
}

.xhs-theme-card:hover,
.xhs-theme-card:nth-child(3n):hover {
  color: var(--xhs-coral);
  transform: none;
}

.xhs-theme-card > span,
.xhs-theme-card small {
  color: rgba(23, 21, 34, 0.42);
  font-size: 8px;
  font-weight: 650;
}

.xhs-theme-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.xhs-theme-card strong {
  font-size: 15px;
  font-weight: 720;
}

.xhs-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 38px;
  margin-top: 132px;
  text-align: center;
}

.xhs-story-lead {
  font-size: 38px;
  font-weight: 720;
  line-height: 1.25;
}

.xhs-story-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  max-width: 920px;
  padding: 0;
  text-align: left;
}

.xhs-story-copy p {
  color: rgba(23, 21, 34, 0.68);
  font-size: 14px;
  line-height: 1.9;
}

.xhs-timeline-block {
  margin-top: 150px;
}

.xhs-timeline-title {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  text-align: center;
}

.xhs-timeline-title span {
  color: rgba(23, 21, 34, 0.48);
  font-size: 10px;
  font-weight: 650;
}

.xhs-timeline-title strong {
  color: var(--xhs-ink);
  font-size: 34px;
  font-weight: 720;
}

.xhs-timeline {
  gap: 0;
  margin-top: 68px;
}

.xhs-timeline li {
  position: relative;
  min-height: 300px;
  padding: 116px 36px 34px;
  border: 0;
  text-align: center;
}

.xhs-timeline li + li {
  padding-left: 36px;
  border-left: 1px solid rgba(23, 21, 34, 0.1);
}

.xhs-timeline li::before,
.xhs-timeline li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.xhs-timeline li::before {
  width: 68px;
  height: 68px;
  background: rgba(255, 111, 97, 0.62);
  filter: blur(15px);
}

.xhs-timeline li:nth-child(2)::before {
  background: rgba(132, 157, 235, 0.66);
}

.xhs-timeline li:nth-child(3)::before {
  background: rgba(184, 146, 36, 0.62);
}

.xhs-timeline li::after {
  top: 66px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--xhs-ink);
}

.xhs-timeline li > span {
  color: rgba(23, 21, 34, 0.44);
  font-size: 9px;
}

.xhs-timeline li strong {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 720;
}

.xhs-timeline li p {
  max-width: 290px;
  margin: 14px auto 0;
  color: rgba(23, 21, 34, 0.66);
  font-size: 12px;
  line-height: 1.75;
}

.xhs-goals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  margin-top: 126px;
}

.xhs-goals > p {
  font-size: 32px;
  font-weight: 720;
  text-align: center;
}

.xhs-goals ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 21, 34, 0.14);
}

.xhs-goals li,
.xhs-goals li:nth-child(2n) {
  grid-template-columns: 24px 1fr;
  gap: 8px 12px;
  min-height: 164px;
  padding: 28px 22px;
  border-bottom: 1px solid rgba(23, 21, 34, 0.14);
  border-left: 0;
}

.xhs-goals li + li {
  border-left: 1px solid rgba(23, 21, 34, 0.1);
}

.xhs-goals li span {
  color: var(--xhs-coral);
  font-size: 9px;
}

.xhs-goals li strong {
  font-size: 15px;
  font-weight: 720;
}

.xhs-goals li small {
  color: rgba(23, 21, 34, 0.62);
  font-size: 11px;
  line-height: 1.65;
}

.xhs-overview-core {
  margin-top: 132px;
  padding: 44px 0 0;
  border-top: 1px solid rgba(23, 21, 34, 0.14);
  text-align: center;
}

.xhs-overview-core span {
  color: var(--xhs-coral);
  font-size: 9px;
  font-weight: 700;
}

.xhs-overview-core p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 32px;
  font-weight: 720;
  line-height: 1.42;
}

@media (max-width: 960px) {
  .project-detail-image--xhs {
    padding-right: 38px;
    padding-left: 38px;
  }

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

  .xhs-hero-network {
    width: min(100%, 720px);
  }

  .xhs-overview {
    padding-right: 38px;
    padding-left: 38px;
  }

  .xhs-theme-ribbon {
    grid-template-columns: repeat(7, minmax(118px, 1fr));
    overflow-x: auto;
  }

  .xhs-goals ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xhs-goals li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .project-detail-hero--xhs {
    --project-hero-gap: 18px;
    --project-hero-top: 92px;
    --project-hero-radius: 14px;
  }

  .project-detail-image--xhs {
    grid-template-rows: auto 220px auto;
    min-height: 0;
    padding: 24px 20px 18px;
  }

  .xhs-hero-copy h1 {
    margin-top: 9px;
    font-size: 30px;
  }

  .xhs-hero-network {
    min-height: 210px;
  }

  .project-detail-image--xhs .xhs-hero-profile {
    width: 124px;
    height: 124px;
    border-width: 6px;
  }

  .xhs-hero-glow {
    filter: blur(24px);
  }

  .xhs-network-note {
    min-width: 92px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .xhs-network-note--left {
    left: 2%;
  }

  .xhs-network-note--right {
    right: 2%;
  }

  .xhs-network-note--bottom {
    bottom: 2%;
  }

  .xhs-hero-meta {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 12px;
  }

  .xhs-hero-meta div {
    grid-template-columns: 92px 1fr;
    align-items: baseline;
  }

  .xhs-hero-meta dd {
    font-size: 10px;
  }

  .xhs-overview {
    padding: 78px 20px 94px;
  }

  .xhs-overview-heading h2 {
    font-size: 26px;
  }

  .xhs-editorial-stage {
    grid-template-rows: auto 300px auto;
    margin-top: 58px;
  }

  .xhs-stage-copy h3 {
    font-size: 42px;
  }

  .xhs-stage-summary {
    font-size: 13px;
    line-height: 1.75;
  }

  .xhs-stage-portrait img {
    width: 150px;
    height: 150px;
    border-width: 7px;
  }

  .xhs-stage-glow {
    filter: blur(24px);
  }

  .xhs-stage-tag {
    padding: 8px 10px;
    font-size: 9px;
  }

  .xhs-stage-tag--one {
    left: 0;
  }

  .xhs-stage-tag--two {
    right: 0;
  }

  .xhs-stage-caption strong {
    font-size: 20px;
  }

  .xhs-theme-ribbon {
    grid-template-columns: repeat(7, 118px);
    margin-top: 58px;
  }

  .xhs-theme-card,
  .xhs-theme-card:nth-child(2n) {
    min-height: 78px;
  }

  .xhs-story-grid {
    gap: 28px;
    margin-top: 92px;
  }

  .xhs-story-lead {
    font-size: 28px;
  }

  .xhs-story-copy {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .xhs-story-copy p {
    font-size: 13px;
  }

  .xhs-timeline-block {
    margin-top: 104px;
  }

  .xhs-timeline-title strong {
    font-size: 27px;
  }

  .xhs-timeline {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .xhs-timeline li,
  .xhs-timeline li + li {
    min-height: 0;
    padding: 100px 0 34px;
    border-left: 0;
    border-bottom: 1px solid rgba(23, 21, 34, 0.1);
  }

  .xhs-timeline li::before {
    top: 30px;
  }

  .xhs-timeline li::after {
    top: 58px;
  }

  .xhs-timeline li strong {
    font-size: 19px;
  }

  .xhs-goals {
    margin-top: 92px;
  }

  .xhs-goals > p {
    font-size: 27px;
  }

  .xhs-goals ol {
    grid-template-columns: 1fr;
  }

  .xhs-goals li,
  .xhs-goals li:nth-child(2n) {
    min-height: 0;
    padding: 22px 0 24px;
    border-left: 0;
  }

  .xhs-overview-core {
    margin-top: 94px;
    padding-top: 30px;
  }

  .xhs-overview-core p {
    font-size: 25px;
  }
}

/* Xiaohongshu visual archive: scroll-driven diagonal gallery. */
.xhs-archive {
  position: relative;
  height: 620vh;
  min-height: 4200px;
  scroll-margin-top: 0;
  color: #171522;
  background: #f4f4f1;
}

.xhs-archive-stage {
  position: sticky;
  top: 0;
  z-index: 0;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: 56% 48%;
  background:
    linear-gradient(rgba(23, 21, 34, 0.025) 1px, transparent 1px) 0 0 / 100% 25%,
    #f4f4f1;
}

.xhs-archive-heading {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 118px;
  z-index: 2400;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.xhs-archive-heading > div,
.xhs-archive-heading > p {
  min-width: 210px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(23, 21, 34, 0.13);
  border-radius: 8px;
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(10px);
}

.xhs-archive-heading > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.xhs-archive-heading span {
  color: #ff6f61;
  font-size: 10px;
  font-weight: 720;
}

.xhs-archive-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 720;
  line-height: 1.2;
}

.xhs-archive-heading > p {
  color: rgba(23, 21, 34, 0.58);
  font-size: 11px;
  text-align: right;
}

.xhs-archive-heading > p strong {
  color: #171522;
  font-size: 18px;
}

.xhs-archive-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-style: preserve-3d;
}

.xhs-archive-frame {
  --archive-x: 0px;
  --archive-y: 0px;
  --archive-z: 0px;
  --archive-scale: 1;
  --archive-opacity: 1;
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(25vw, 340px);
  aspect-ratio: 3 / 4;
  margin: 0;
  cursor: zoom-in;
  opacity: var(--archive-opacity);
  transform: translate3d(calc(-50% + var(--archive-x)), calc(-50% + var(--archive-y)), var(--archive-z)) scale(var(--archive-scale));
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.xhs-archive-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.xhs-archive-card::before {
  content: none;
}

.xhs-archive-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(23, 21, 34, 0.17);
  border-radius: 6px;
  object-fit: cover;
  backface-visibility: hidden;
}

.xhs-archive-card figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 21, 34, 0.1);
  border-radius: 5px;
  color: #171522;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(8px);
  z-index: 2;
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-archive-card figcaption span {
  color: rgba(23, 21, 34, 0.5);
  font-size: 9px;
}

.xhs-archive-card figcaption strong {
  font-size: 11px;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .xhs-archive-frame:hover {
    z-index: 2200 !important;
  }

  .xhs-archive-frame:hover .xhs-archive-card {
    transform: translate3d(62px, -4px, 210px) scale(1.035);
  }

  .xhs-archive-frame:hover figcaption {
    opacity: 1;
    transform: translateY(0);
  }
}

.xhs-archive-status {
  position: absolute;
  right: 36px;
  bottom: 28px;
  z-index: 2400;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  gap: 5px;
  min-width: 174px;
  padding: 13px 15px;
  border: 1px solid rgba(23, 21, 34, 0.13);
  border-radius: 8px;
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.xhs-archive-status > span:first-child {
  font-size: 17px;
  font-weight: 720;
}

.xhs-archive-status strong {
  grid-column: 1 / -1;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 650;
}

@media (max-width: 700px) {
  .xhs-archive {
    height: 520vh;
    min-height: 3400px;
  }

  .xhs-archive-stage {
    min-height: 600px;
  }

  .xhs-archive-heading {
    left: 16px;
    right: 16px;
    top: 96px;
  }

  .xhs-archive-heading > div,
  .xhs-archive-heading > p {
    min-width: 0;
    padding: 11px 12px;
  }

  .xhs-archive-heading h2 {
    font-size: 17px;
  }

  .xhs-archive-heading > p {
    font-size: 9px;
  }

  .xhs-archive-heading > p strong {
    font-size: 14px;
  }

  .xhs-archive-frame {
    top: 53%;
    width: min(55vw, 230px);
    transform: translate3d(calc(-50% + var(--archive-x)), calc(-50% + var(--archive-y)), var(--archive-z)) scale(var(--archive-scale));
  }

  .xhs-archive-status {
    right: 16px;
    bottom: 18px;
    min-width: 142px;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xhs-archive {
    height: auto;
    min-height: 0;
    padding: 100px 36px;
  }

  .xhs-archive-stage {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .xhs-archive-heading {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }

  .xhs-archive-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
  }

  .xhs-archive-frame {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .xhs-archive-status {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .xhs-archive {
    padding: 82px 20px;
  }

  .xhs-archive-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Three.js archive, matched to UNVEIL's looping x/z gallery. */
.xhs-archive,
.xhs-archive-stage {
  background: #fafafa;
}

.xhs-archive-stage {
  perspective: none;
  cursor: grab;
  touch-action: pan-y;
}

.xhs-archive-stage.is-dragging {
  cursor: grabbing;
}

.xhs-archive-stage.has-hover:not(.is-dragging) {
  cursor: pointer;
}

.xhs-archive-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms ease;
}

.xhs-archive.is-webgl-ready .xhs-archive-canvas {
  opacity: 1;
}

.xhs-archive:not(.is-static) .xhs-archive-track {
  display: none;
}

.xhs-archive-heading,
.xhs-archive-status {
  z-index: 3;
}

.xhs-archive-heading > div,
.xhs-archive-heading > p,
.xhs-archive-status {
  background: rgba(250, 250, 250, 0.9);
}

.xhs-archive.is-static {
  height: auto;
  min-height: 0;
  padding: 100px 36px;
}

.xhs-archive.is-static .xhs-archive-stage {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  cursor: default;
}

.xhs-archive.is-static .xhs-archive-canvas {
  display: none;
}

.xhs-archive.is-static .xhs-archive-heading {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
}

.xhs-archive.is-static .xhs-archive-track {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.xhs-archive.is-static .xhs-archive-frame {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.xhs-archive.is-static .xhs-archive-card,
.xhs-archive.is-static .xhs-archive-frame:hover .xhs-archive-card {
  transform: none;
}

.xhs-archive.is-static .xhs-archive-card figcaption {
  opacity: 1;
  transform: none;
}

.xhs-archive.is-static .xhs-archive-status {
  display: none;
}

@media (max-width: 700px) {
  .xhs-archive.is-static {
    padding: 82px 20px;
  }

  .xhs-archive.is-static .xhs-archive-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* DeSo-inspired project overview: four scroll-led chapters before the archive. */
.xhs-overview-deck {
  --xhs-overview-bg: #090c14;
  --xhs-overview-ink: #f7f8fb;
  --xhs-overview-muted: rgba(247, 248, 251, 0.58);
  --xhs-overview-line: rgba(247, 248, 251, 0.2);
  --xhs-overview-accent: #ff6f61;
  position: relative;
  height: 520vh;
  min-height: 4300px;
  color: var(--xhs-overview-ink);
  background: var(--xhs-overview-bg);
}

.xhs-overview-deck-stage {
  position: sticky;
  top: 0;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: var(--xhs-overview-bg);
}

.xhs-overview-canvas,
.xhs-overview-scrim,
.xhs-overview-whiteout {
  position: absolute;
  inset: 0;
}

.xhs-overview-canvas {
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms ease;
}

.xhs-overview-deck.is-webgl-ready .xhs-overview-canvas {
  opacity: 1;
}

.xhs-overview-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 12, 20, 0.68) 0%, rgba(9, 12, 20, 0.12) 48%, rgba(9, 12, 20, 0.58) 100%),
    linear-gradient(180deg, rgba(9, 12, 20, 0.44) 0%, transparent 28%, transparent 70%, rgba(9, 12, 20, 0.62) 100%);
  pointer-events: none;
}

.xhs-overview-deck-header {
  position: absolute;
  left: 4.5vw;
  right: 4.5vw;
  top: 104px;
  z-index: 4;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--xhs-overview-line);
}

.xhs-overview-deck-header span,
.xhs-overview-deck-header p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.xhs-overview-deck-header span:first-child {
  color: var(--xhs-overview-accent);
}

.xhs-overview-deck-header span:last-child {
  color: var(--xhs-overview-muted);
  text-align: right;
}

.xhs-overview-scenes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.xhs-overview-scene {
  position: absolute;
  left: 7.5vw;
  top: 50%;
  width: min(660px, 48vw);
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  filter: blur(8px);
  will-change: opacity, transform, filter;
  pointer-events: none;
}

.xhs-overview-scene:first-child {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  filter: none;
}

.xhs-overview-scene--context {
  left: auto;
  right: 8vw;
  width: min(610px, 45vw);
}

.xhs-overview-scene--timeline {
  left: 7vw;
  right: 7vw;
  width: auto;
}

.xhs-overview-scene--goals {
  width: min(760px, 54vw);
}

.xhs-overview-eyebrow,
.xhs-overview-lead,
.xhs-overview-copy,
.xhs-overview-statement,
.xhs-overview-scene h2,
.xhs-overview-scene h3 {
  margin: 0;
}

.xhs-overview-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--xhs-overview-muted);
  font-size: 11px;
  font-weight: 600;
}

.xhs-overview-eyebrow span {
  color: var(--xhs-overview-accent);
}

.xhs-overview-scene h2,
.xhs-overview-scene h3 {
  margin-top: 22px;
  font-size: 68px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.xhs-overview-scene--context h3 {
  font-size: 60px;
}

.xhs-overview-lead {
  margin-top: 26px;
  color: rgba(247, 248, 251, 0.78);
  font-size: 15px;
  font-weight: 500;
}

.xhs-overview-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 610px);
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--xhs-overview-line);
}

.xhs-overview-meta div {
  padding: 16px 18px 0 0;
}

.xhs-overview-meta div + div {
  padding-left: 18px;
  border-left: 1px solid var(--xhs-overview-line);
}

.xhs-overview-meta dt,
.xhs-overview-meta dd {
  margin: 0;
}

.xhs-overview-meta dt {
  color: var(--xhs-overview-muted);
  font-size: 9px;
}

.xhs-overview-meta dd {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.xhs-overview-copy {
  width: min(100%, 520px);
  margin-top: 38px;
  color: rgba(247, 248, 251, 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.xhs-overview-period {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.xhs-overview-period h3 {
  font-size: 58px;
}

.xhs-overview-period > strong {
  padding-bottom: 6px;
  color: rgba(247, 248, 251, 0.76);
  font-size: 22px;
  font-weight: 560;
  white-space: nowrap;
}

.xhs-overview-milestones,
.xhs-overview-goal-list {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.xhs-overview-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--xhs-overview-line);
}

.xhs-overview-milestones li {
  min-height: 142px;
  padding: 18px 28px 10px 0;
}

.xhs-overview-milestones li + li {
  padding-left: 28px;
  border-left: 1px solid var(--xhs-overview-line);
}

.xhs-overview-milestones span,
.xhs-overview-milestones strong {
  display: block;
}

.xhs-overview-milestones span {
  color: var(--xhs-overview-muted);
  font-size: 9px;
}

.xhs-overview-milestones strong {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 620;
}

.xhs-overview-milestones p {
  max-width: 280px;
  margin: 10px 0 0;
  color: rgba(247, 248, 251, 0.6);
  font-size: 11px;
  line-height: 1.65;
}

.xhs-overview-scene--goals h3 {
  font-size: 58px;
}

.xhs-overview-goal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 660px);
  border-top: 1px solid var(--xhs-overview-line);
}

.xhs-overview-goal-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--xhs-overview-line);
}

.xhs-overview-goal-list li:nth-child(2n) {
  padding-left: 20px;
  border-left: 1px solid var(--xhs-overview-line);
}

.xhs-overview-goal-list span {
  color: var(--xhs-overview-accent);
  font-size: 9px;
}

.xhs-overview-goal-list strong {
  font-size: 13px;
  font-weight: 600;
}

.xhs-overview-statement {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(247, 248, 251, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.xhs-overview-deck-footer {
  position: absolute;
  left: 4.5vw;
  right: 4.5vw;
  bottom: 30px;
  z-index: 4;
  display: grid;
  grid-template-columns: 150px minmax(120px, 1fr) 58px;
  align-items: center;
  gap: 18px;
  color: var(--xhs-overview-muted);
}

.xhs-overview-deck-footer span {
  font-size: 9px;
  font-weight: 600;
}

.xhs-overview-deck-footer span:last-child {
  text-align: right;
}

.xhs-overview-deck-footer b {
  color: var(--xhs-overview-ink);
  font-size: 13px;
  font-weight: 600;
}

.xhs-overview-progress {
  height: 1px;
  overflow: hidden;
  background: var(--xhs-overview-line);
}

.xhs-overview-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--xhs-overview-ink);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.xhs-overview-whiteout {
  z-index: 8;
  background: #fafafa;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

@media (max-width: 1100px) {
  .xhs-overview-scene h2,
  .xhs-overview-scene h3,
  .xhs-overview-scene--context h3,
  .xhs-overview-period h3,
  .xhs-overview-scene--goals h3 {
    font-size: 52px;
  }

  .xhs-overview-scene {
    width: min(620px, 58vw);
  }

  .xhs-overview-scene--context {
    width: min(570px, 54vw);
  }

  .xhs-overview-scene--timeline {
    width: auto;
  }
}

@media (max-width: 700px) {
  .xhs-overview-deck {
    height: 450vh;
    min-height: 3200px;
  }

  .xhs-overview-deck-stage {
    min-height: 600px;
  }

  .xhs-overview-deck-header {
    left: 20px;
    right: 20px;
    top: 92px;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding-bottom: 12px;
  }

  .xhs-overview-deck-header span:last-child {
    display: none;
  }

  .xhs-overview-scene,
  .xhs-overview-scene--context,
  .xhs-overview-scene--timeline,
  .xhs-overview-scene--goals {
    left: 20px;
    right: 20px;
    top: 50%;
    width: auto;
  }

  .xhs-overview-eyebrow {
    font-size: 10px;
  }

  .xhs-overview-scene h2,
  .xhs-overview-scene h3,
  .xhs-overview-scene--context h3,
  .xhs-overview-period h3,
  .xhs-overview-scene--goals h3 {
    margin-top: 16px;
    font-size: 38px;
    line-height: 1.12;
  }

  .xhs-overview-lead {
    margin-top: 18px;
    font-size: 12px;
  }

  .xhs-overview-meta {
    margin-top: 30px;
  }

  .xhs-overview-meta div {
    padding-right: 8px;
  }

  .xhs-overview-meta div + div {
    padding-left: 8px;
  }

  .xhs-overview-meta dt {
    font-size: 8px;
  }

  .xhs-overview-meta dd {
    font-size: 10px;
  }

  .xhs-overview-copy {
    margin-top: 28px;
    font-size: 13px;
    line-height: 1.8;
  }

  .xhs-overview-period {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .xhs-overview-period > strong {
    padding: 0;
    font-size: 16px;
  }

  .xhs-overview-milestones {
    margin-top: 28px;
  }

  .xhs-overview-milestones li,
  .xhs-overview-milestones li + li {
    min-height: 98px;
    padding: 13px 8px;
  }

  .xhs-overview-milestones li + li {
    border-left: 1px solid var(--xhs-overview-line);
  }

  .xhs-overview-milestones span {
    min-height: 22px;
    font-size: 8px;
    line-height: 1.35;
  }

  .xhs-overview-milestones strong {
    margin-top: 10px;
    font-size: 12px;
  }

  .xhs-overview-milestones p {
    display: none;
  }

  .xhs-overview-goal-list {
    margin-top: 28px;
  }

  .xhs-overview-goal-list li {
    grid-template-columns: 22px 1fr;
    gap: 7px;
    padding: 13px 8px 13px 0;
  }

  .xhs-overview-goal-list li:nth-child(2n) {
    padding-left: 8px;
  }

  .xhs-overview-goal-list strong {
    font-size: 11px;
  }

  .xhs-overview-statement {
    margin-top: 22px;
    font-size: 11px;
    line-height: 1.7;
  }

  .xhs-overview-deck-footer {
    left: 20px;
    right: 20px;
    bottom: 18px;
    grid-template-columns: 96px 1fr 48px;
    gap: 10px;
  }

  .xhs-overview-deck-footer span {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xhs-overview-deck {
    height: auto;
    min-height: 0;
  }

  .xhs-overview-deck-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 140px 7vw 100px;
    overflow: visible;
  }

  .xhs-overview-canvas,
  .xhs-overview-scrim,
  .xhs-overview-whiteout,
  .xhs-overview-deck-footer {
    display: none;
  }

  .xhs-overview-deck-header {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }

  .xhs-overview-scenes {
    position: relative;
    display: grid;
    gap: 120px;
    margin-top: 110px;
  }

  .xhs-overview-scene,
  .xhs-overview-scene--context,
  .xhs-overview-scene--timeline,
  .xhs-overview-scene--goals {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(100%, 900px);
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Xiaohongshu case continuation: a calm, research-led portfolio narrative. */
.xhs-case-continuation {
  --xhs-case-yellow: #f2efcf;
  --xhs-case-blue-deep: #557e84;
  background: var(--xhs-case-paper);
}

.xhs-case-continuation .xhs-case-section {
  padding-bottom: 158px;
}

.xhs-strategy,
.xhs-results {
  background: #f8faf8;
}

.xhs-operation {
  background: #f2f7f6;
}

.xhs-ai-business {
  background: #f3f7f2;
}

.xhs-section-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(48px, 9vw, 138px);
  align-items: end;
  margin-top: 88px;
}

.xhs-section-lead h3,
.xhs-section-lead p {
  margin: 0;
}

.xhs-section-lead h3 {
  max-width: 680px;
  font-size: clamp(36px, 3.1vw, 46px);
  font-weight: 620;
  line-height: 1.3;
}

.xhs-section-lead p {
  max-width: 560px;
  color: var(--xhs-case-muted);
  font-size: 13px;
  line-height: 1.9;
}

.xhs-strategy-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 118px;
  padding-top: 26px;
  border-top: 1px solid var(--xhs-case-line);
}

.xhs-strategy-heading > span,
.xhs-strategy-heading h3,
.xhs-strategy-heading p {
  margin: 0;
}

.xhs-strategy-heading > span {
  color: var(--xhs-case-blue-deep);
  font-size: 10px;
  font-weight: 700;
}

.xhs-strategy-heading h3 {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.35;
}

.xhs-strategy-heading p {
  max-width: 640px;
  margin-top: 9px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.75;
}

.xhs-strategy-duo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 0.86fr);
  gap: 48px;
  align-items: stretch;
  margin-top: 118px;
}

.xhs-strategy-pillar-block {
  min-width: 0;
}

.xhs-strategy-duo .xhs-strategy-heading {
  margin-top: 0;
}

.xhs-strategy-duo .xhs-content-pillars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 24px;
  width: min(100%, 540px);
  margin-right: auto;
  margin-left: auto;
}

.xhs-strategy-duo .xhs-pillar-sheet,
.xhs-strategy-duo .xhs-content-pillars figcaption {
  width: min(100%, 230px);
  margin-right: auto;
  margin-left: auto;
}

.xhs-strategy-duo .xhs-content-pillars figure {
  padding-top: 28px;
}

.xhs-strategy-duo .xhs-pillar-clip {
  top: -45px;
  width: 64px;
  height: 64px;
}

.xhs-strategy-duo .xhs-content-pillars figcaption {
  grid-template-columns: 26px minmax(0, 1fr);
  padding-top: 12px;
}

.xhs-strategy-duo .xhs-content-pillars figcaption strong {
  font-size: 14px;
}

.xhs-strategy-duo .xhs-content-pillars figcaption p {
  font-size: 9px;
}

.xhs-content-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 68px;
}

.xhs-content-pillars figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-top: 34px;
}

.xhs-pillar-sheet {
  position: relative;
  padding: 9px 9px 11px;
  background: #f6f7f5;
  box-shadow: 0 18px 36px rgba(58, 70, 67, 0.12);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease;
}

.xhs-pillar-clip {
  position: absolute;
  left: 50%;
  top: -57px;
  z-index: 3;
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 5px 4px rgba(46, 51, 49, 0.18));
  transform: translateX(-50%);
  pointer-events: none;
}

.xhs-pillar-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(27, 33, 31, 0.08);
  border-radius: 2px;
  background: var(--xhs-case-sage);
}

.xhs-pillar-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.xhs-content-pillars figcaption {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px 10px;
  padding: 16px 2px 0;
}

.xhs-content-pillars figcaption span {
  grid-row: 1 / 3;
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-content-pillars figcaption strong {
  font-size: 15px;
  font-weight: 650;
}

.xhs-content-pillars figcaption p {
  margin: 0;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .xhs-content-pillars figure:hover .xhs-pillar-sheet {
    transform: translateY(-5px);
    box-shadow: 0 24px 44px rgba(58, 70, 67, 0.16);
  }

  .xhs-content-pillars figure:hover .xhs-pillar-photo > img {
    transform: scale(1.035);
  }
}

.xhs-derivation {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px 54px;
  margin-top: 92px;
  padding: 48px 52px;
  border-radius: 8px;
  background: var(--xhs-case-ice);
}

.xhs-strategy-duo .xhs-derivation {
  grid-template-columns: 1fr;
  gap: 28px;
  align-content: start;
  margin-top: 0;
  padding: 42px 36px;
  transform: translateX(-24px);
}

.xhs-strategy-duo .xhs-derivation header {
  grid-row: auto;
}

.xhs-strategy-duo .xhs-formula {
  grid-template-columns: 1fr;
  gap: 8px;
}

.xhs-strategy-duo .xhs-formula span {
  min-height: 48px;
}

.xhs-strategy-duo .xhs-formula b {
  line-height: 1;
}

.xhs-strategy-duo .xhs-formula-examples {
  grid-template-columns: 1fr;
  gap: 18px;
}

.xhs-derivation header {
  grid-row: 1 / 3;
}

.xhs-derivation header span,
.xhs-derivation header h3,
.xhs-derivation header p {
  margin: 0;
}

.xhs-derivation header span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-derivation header h3 {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 650;
}

.xhs-derivation header p {
  max-width: 290px;
  margin-top: 15px;
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.75;
}

.xhs-formula {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr) 18px) minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.xhs-formula span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(49, 67, 69, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 620;
  text-align: center;
}

.xhs-formula b {
  color: var(--xhs-case-blue-deep);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.xhs-formula-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(49, 67, 69, 0.17);
}

.xhs-formula-examples p {
  margin: 0;
}

.xhs-formula-examples span,
.xhs-formula-examples strong {
  display: block;
}

.xhs-formula-examples span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

.xhs-formula-examples strong {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

@media (min-width: 1101px) {
  .xhs-strategy-duo {
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 0;
  }

  .xhs-strategy-pillar-block {
    display: contents;
  }

  .xhs-strategy-duo .xhs-strategy-heading {
    grid-column: 1;
    grid-row: 1;
  }

  .xhs-strategy-duo .xhs-content-pillars {
    grid-column: 1;
    grid-row: 2;
  }

  .xhs-strategy-duo .xhs-derivation {
    grid-column: 2;
    grid-row: 2;
    margin-top: 68px;
  }
}

@media (max-width: 1100px) {
  .xhs-strategy-duo {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .xhs-strategy-duo .xhs-derivation {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 36px 54px;
  }

  .xhs-strategy-duo .xhs-derivation header {
    grid-row: 1 / 3;
  }

  .xhs-strategy-duo .xhs-formula {
    grid-template-columns: repeat(3, minmax(0, 1fr) 18px) minmax(0, 1fr);
    gap: 7px;
  }

  .xhs-strategy-duo .xhs-formula-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .xhs-strategy-duo {
    gap: 54px;
    margin-top: 78px;
  }

  .xhs-strategy-duo .xhs-derivation {
    grid-template-columns: 1fr;
    gap: 28px;
    transform: none;
  }

  .xhs-strategy-duo .xhs-derivation header {
    grid-row: auto;
  }

  .xhs-strategy-duo .xhs-formula,
  .xhs-strategy-duo .xhs-formula-examples {
    grid-template-columns: 1fr;
  }

  .xhs-strategy-duo .xhs-content-pillars {
    gap: 36px 16px;
  }

  .xhs-strategy-duo .xhs-pillar-sheet,
  .xhs-strategy-duo .xhs-content-pillars figcaption {
    width: min(100%, 230px);
  }
}

.xhs-strategy-heading--system {
  margin-top: 136px;
}

.xhs-visual-principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
  list-style: none;
}

.xhs-visual-principles li {
  min-height: 206px;
  padding: 24px 24px 28px;
}

.xhs-visual-principles li + li {
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-visual-principles span,
.xhs-visual-principles strong {
  display: block;
}

.xhs-visual-principles span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-visual-principles strong {
  margin-top: 31px;
  font-size: 18px;
  font-weight: 650;
}

.xhs-visual-principles p {
  margin: 13px 0 0;
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.72;
}

.xhs-system-statement {
  width: min(100%, 820px);
  margin: 78px auto 0;
  color: #314345;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.xhs-strategy-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 104px;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-strategy-dual article {
  min-height: 236px;
  padding: 34px 58px 38px 0;
}

.xhs-strategy-dual article + article {
  padding-right: 0;
  padding-left: 58px;
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-strategy-dual span,
.xhs-strategy-dual h3,
.xhs-strategy-dual p {
  margin: 0;
}

.xhs-strategy-dual span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-strategy-dual h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 650;
}

.xhs-strategy-dual p {
  max-width: 500px;
  margin-top: 14px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.8;
}

.xhs-operation-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 92px 0 0;
  padding: 36px 18px 34px;
  border: 1px solid rgba(27, 33, 31, 0.09);
  border-radius: 8px;
  background: var(--xhs-case-yellow);
  list-style: none;
}

.xhs-operation-path::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 54px;
  height: 1px;
  background: rgba(74, 91, 82, 0.24);
}

.xhs-operation-path li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.xhs-operation-path li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(74, 91, 82, 0.24);
  border-radius: 50%;
  background: #f8faf8;
  color: #61796f;
  font-size: 8px;
  font-weight: 700;
}

.xhs-operation-path strong {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 650;
}

.xhs-operation-path p {
  margin: 7px 0 0;
  color: var(--xhs-case-muted);
  font-size: 9px;
}

.xhs-operation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  margin-top: 118px;
}

.xhs-operation-details article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 9px 18px;
  min-height: 188px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--xhs-case-line);
}

.xhs-operation-details article:last-child {
  grid-column: 2;
}

.xhs-operation-details span {
  grid-row: 1 / 3;
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-operation-details h3,
.xhs-operation-details p {
  margin: 0;
}

.xhs-operation-details h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.xhs-operation-details p {
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.85;
}

.xhs-operation-judgement {
  display: grid;
  grid-template-columns: minmax(210px, 0.48fr) minmax(0, 1.52fr);
  gap: 74px;
  margin-top: 106px;
  padding: 50px 54px;
  border-radius: 8px;
  background: var(--xhs-case-ice);
}

.xhs-operation-judgement header span,
.xhs-operation-judgement header h3 {
  margin: 0;
}

.xhs-operation-judgement header span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-operation-judgement header h3 {
  margin-top: 15px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.35;
}

.xhs-operation-judgement ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xhs-operation-judgement li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px 12px;
}

.xhs-operation-judgement li span {
  grid-row: 1 / 3;
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

.xhs-operation-judgement li strong {
  font-size: 14px;
  font-weight: 650;
}

.xhs-operation-judgement li p {
  margin: 0;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.65;
}

.xhs-result-period {
  margin: 94px 0 20px;
}

.xhs-result-period span {
  display: inline-block;
  padding: 7px 11px 6px;
  border-radius: 999px;
  color: #506b61;
  background: #e8efbf;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.xhs-result-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-result-metrics div {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 28px 30px;
}

.xhs-result-metrics div + div {
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-result-metrics dt {
  color: var(--xhs-case-muted);
  font-size: 10px;
}

.xhs-result-metrics dd {
  margin: 0;
  color: #314345;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  line-height: 1;
}

.xhs-result-performance {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(430px, 1.18fr);
  gap: clamp(56px, 8vw, 124px);
  align-items: center;
  min-height: 660px;
  margin-top: 104px;
  padding: 42px 32px 24px 5%;
  border-top: 1px solid rgba(27, 33, 31, 0.09);
}

.xhs-result-performance-copy > span,
.xhs-result-performance-copy h3,
.xhs-result-performance-copy p {
  margin: 0;
}

.xhs-result-performance-copy > span {
  display: inline-block;
  padding: 7px 10px 6px;
  border-radius: 999px;
  color: #506b61;
  background: #e8efbf;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.xhs-result-performance-copy h3 {
  max-width: 500px;
  margin-top: 27px;
  font-size: 31px;
  font-weight: 650;
  line-height: 1.38;
}

.xhs-result-performance-copy p {
  max-width: 500px;
  margin-top: 20px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.85;
}

.xhs-result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.xhs-result-links li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 108px;
  padding: 9px 13px;
  border: 1px solid rgba(27, 33, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.xhs-result-links span {
  color: var(--xhs-case-muted);
  font-size: 9px;
}

.xhs-result-links strong {
  color: #314345;
  font-size: 12px;
  font-weight: 650;
}

.xhs-result-visual {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
}

.xhs-result-visual > div {
  position: relative;
  display: grid;
  width: min(100%, 520px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(219, 236, 239, 0.58);
}

.xhs-result-visual > div::before,
.xhs-result-visual > div::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.xhs-result-visual > div::before {
  inset: 7%;
  border: 1px solid rgba(85, 126, 132, 0.18);
}

.xhs-result-visual > div::after {
  inset: 18%;
  border: 1px dashed rgba(85, 126, 132, 0.2);
}

.xhs-result-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 62%;
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.xhs-result-signal {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 13px;
  border: 1px solid rgba(27, 33, 31, 0.1);
  border-radius: 999px;
  background: rgba(248, 250, 248, 0.94);
  color: var(--xhs-case-muted);
  font-size: 8px;
  white-space: nowrap;
}

.xhs-result-signal strong {
  color: #314345;
  font-size: 14px;
  font-weight: 650;
}

.xhs-result-signal--save {
  left: 1%;
  bottom: 19%;
}

.xhs-result-signal--comment {
  right: 0;
  top: 17%;
}

.xhs-result-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 520px);
  margin-top: 17px;
}

.xhs-result-visual figcaption strong {
  font-size: 12px;
  font-weight: 650;
}

.xhs-result-visual figcaption span {
  color: var(--xhs-case-muted);
  font-size: 8px;
  text-align: right;
}

.xhs-result-analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 112px;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-result-analysis article {
  min-height: 302px;
  padding: 36px 58px 42px 0;
}

.xhs-result-analysis article + article {
  padding-right: 0;
  padding-left: 58px;
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-result-analysis span,
.xhs-result-analysis h3,
.xhs-result-analysis p {
  margin: 0;
}

.xhs-result-analysis span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-result-analysis h3 {
  max-width: 460px;
  margin-top: 26px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
}

.xhs-result-analysis p,
.xhs-result-analysis li {
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.8;
}

.xhs-result-analysis p {
  margin-top: 18px;
}

.xhs-result-analysis ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.xhs-result-analysis li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid rgba(27, 33, 31, 0.1);
}

.xhs-result-analysis li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #77969a;
}

.xhs-data-note {
  max-width: 820px;
  margin: 46px auto 0;
  color: rgba(27, 33, 31, 0.5);
  font-size: 9px;
  line-height: 1.75;
  text-align: center;
}

/* Compact results atlas: data relationships on the left, decisions on the right. */
.xhs-case-continuation .xhs-results {
  padding-bottom: 104px;
}

.xhs-results-compact {
  margin-top: 52px;
}

.xhs-results-intro > span,
.xhs-results-intro h3,
.xhs-results-intro p {
  margin: 0;
}

.xhs-results-intro {
  max-width: 780px;
}

.xhs-results-intro > span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-results-intro h3 {
  max-width: 720px;
  margin-top: 16px;
  font-size: 44px;
  font-weight: 620;
  line-height: 1.28;
}

.xhs-results-intro p {
  max-width: 700px;
  margin-top: 17px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.8;
}

.xhs-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr);
  align-items: stretch;
  margin-top: 42px;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-results-map {
  min-width: 0;
  padding: 24px 32px 24px 0;
}

.xhs-results-map-canvas {
  position: relative;
  isolation: isolate;
  height: clamp(520px, 43vw, 620px);
  overflow: hidden;
}

.xhs-results-orbit {
  position: absolute;
  left: 48%;
  top: 48%;
  z-index: 0;
  display: block;
  aspect-ratio: 1;
  border: 1px dashed rgba(85, 126, 132, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.xhs-results-orbit--outer {
  width: min(70%, 500px);
}

.xhs-results-orbit--inner {
  width: min(54%, 380px);
  border-style: solid;
  border-color: rgba(85, 126, 132, 0.14);
}

.xhs-results-post {
  position: absolute;
  left: 47%;
  top: 48%;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: clamp(230px, 25vw, 300px);
  margin: 0;
  transform: translate(-50%, -50%);
}

.xhs-results-post > div {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(58, 70, 67, 0.12);
}

.xhs-results-post img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.xhs-results-post figcaption {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 12px;
  text-align: center;
}

.xhs-results-post figcaption span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

.xhs-results-post figcaption strong {
  font-size: 12px;
  font-weight: 650;
}

.xhs-results-map-metrics {
  position: absolute;
  inset: 0;
  margin: 0;
}

.xhs-results-bubble {
  position: absolute;
  z-index: 3;
  display: grid;
  aspect-ratio: 1;
  align-content: center;
  justify-items: center;
  padding: 14px;
  border: 1px solid rgba(85, 126, 132, 0.16);
  border-radius: 50%;
  text-align: center;
}

.xhs-results-bubble-arrow {
  position: absolute;
  top: 50%;
  display: block;
  width: 68px;
  border-top: 1px dashed rgba(85, 126, 132, 0.42);
  transform-origin: left center;
}

.xhs-results-bubble-arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border: solid rgba(85, 126, 132, 0.66);
  border-width: 0 1px 1px 0;
}

.xhs-results-bubble dt,
.xhs-results-bubble dd {
  margin: 0;
}

.xhs-results-bubble dt {
  max-width: 90px;
  color: rgba(27, 33, 31, 0.62);
  font-size: 9px;
  line-height: 1.45;
}

.xhs-results-bubble dd {
  margin-top: 7px;
  color: #314345;
  font-size: 30px;
  font-weight: 620;
  line-height: 1;
}

.xhs-results-bubble--1 {
  left: 12%;
  bottom: 14%;
  width: 120px;
  background: rgba(225, 236, 231, 0.96);
}

.xhs-results-bubble--1 .xhs-results-bubble-arrow,
.xhs-results-bubble--2 .xhs-results-bubble-arrow {
  left: calc(100% - 2px);
}

.xhs-results-bubble--2 {
  left: 8%;
  top: 15%;
  width: 165px;
  background: rgba(208, 226, 224, 0.94);
}

.xhs-results-bubble--1 .xhs-results-bubble-arrow {
  transform: rotate(-18deg);
}

.xhs-results-bubble--2 .xhs-results-bubble-arrow {
  transform: rotate(13deg);
}

.xhs-results-bubble--1 .xhs-results-bubble-arrow::after,
.xhs-results-bubble--2 .xhs-results-bubble-arrow::after {
  right: -1px;
  transform: rotate(-45deg);
}

.xhs-results-bubble--3 {
  right: 10%;
  top: 19%;
  width: 96px;
  background: rgba(238, 243, 239, 0.98);
}

.xhs-results-bubble--3 .xhs-results-bubble-arrow,
.xhs-results-bubble--4 .xhs-results-bubble-arrow {
  right: calc(100% - 2px);
  transform-origin: right center;
}

.xhs-results-bubble--4 {
  right: 8%;
  bottom: 14%;
  width: 112px;
  background: rgba(190, 213, 210, 0.94);
}

.xhs-results-bubble--3 .xhs-results-bubble-arrow {
  transform: rotate(-14deg);
}

.xhs-results-bubble--4 .xhs-results-bubble-arrow {
  transform: rotate(16deg);
}

.xhs-results-bubble--3 .xhs-results-bubble-arrow::after,
.xhs-results-bubble--4 .xhs-results-bubble-arrow::after {
  left: -1px;
  transform: rotate(135deg);
}

.xhs-results-ratios {
  position: absolute;
  left: 66%;
  top: 43%;
  z-index: 4;
  display: grid;
  gap: 13px;
}

.xhs-results-ratios p {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  margin: 0;
  padding-left: 30px;
}

.xhs-results-ratios p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  border-top: 1px dashed rgba(85, 126, 132, 0.48);
}

.xhs-results-ratios strong {
  color: #314345;
  font-size: 17px;
  font-weight: 650;
}

.xhs-results-ratios span {
  color: var(--xhs-case-muted);
  font-size: 8px;
  white-space: nowrap;
}

.xhs-results-map-summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px 2px 0;
  border-top: 1px solid rgba(27, 33, 31, 0.1);
}

.xhs-results-map-summary > span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

.xhs-results-map-summary h4,
.xhs-results-map-summary p {
  margin: 0;
}

.xhs-results-map-summary h4 {
  max-width: 570px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.xhs-results-map-summary p {
  max-width: 650px;
  margin-top: 8px;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.75;
}

.xhs-results-panel {
  display: grid;
  align-content: start;
  border-left: 1px solid var(--xhs-case-line);
  background: #edf3f1;
}

.xhs-results-panel > section {
  padding: 24px 26px;
}

.xhs-results-panel > section + section {
  border-top: 1px solid rgba(27, 33, 31, 0.1);
}

.xhs-results-panel span,
.xhs-results-panel h3,
.xhs-results-panel h4,
.xhs-results-panel p {
  margin: 0;
}

.xhs-results-panel-summary > span,
.xhs-results-observation > span,
.xhs-results-next > span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

.xhs-results-panel-summary h3 {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}

.xhs-results-panel-summary p,
.xhs-results-observation p {
  margin-top: 10px;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.7;
}

.xhs-results-interaction header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.xhs-results-interaction h4,
.xhs-results-observation h4 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.xhs-results-interaction header > strong {
  display: grid;
  justify-items: end;
  color: #314345;
  font-size: 22px;
  font-weight: 620;
  line-height: 1;
}

.xhs-results-interaction header small {
  margin-top: 5px;
  color: var(--xhs-case-muted);
  font-size: 8px;
  font-weight: 500;
}

.xhs-results-interaction > div {
  display: grid;
  grid-template-columns: 106px 160px;
  gap: 20px;
  align-items: center;
  justify-content: start;
  margin-top: 20px;
}

.xhs-results-donut {
  position: relative;
  display: grid;
  width: 106px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#314345 0 43.2%, #7f9fa1 43.2% 68.3%, #c8dcd8 68.3% 100%);
}

.xhs-results-donut::after {
  content: "";
  position: absolute;
  inset: 29%;
  border-radius: 50%;
  background: #edf3f1;
}

.xhs-results-donut span {
  position: relative;
  z-index: 1;
  color: #314345;
  font-size: 9px;
  font-weight: 650;
}

.xhs-results-interaction dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.xhs-results-interaction dl div {
  display: grid;
  grid-template-columns: 92px 44px;
  gap: 12px;
  align-items: baseline;
}

.xhs-results-interaction dt,
.xhs-results-interaction dd {
  margin: 0;
  font-size: 9px;
}

.xhs-results-interaction dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--xhs-case-muted);
}

.xhs-results-interaction dt::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1px solid rgba(49, 67, 69, 0.12);
  border-radius: 50%;
}

.xhs-results-interaction dl div:nth-child(1) dt::before {
  background: #314345;
}

.xhs-results-interaction dl div:nth-child(2) dt::before {
  background: #7f9fa1;
}

.xhs-results-interaction dl div:nth-child(3) dt::before {
  background: #c8dcd8;
}

.xhs-results-interaction dd {
  color: #314345;
  font-weight: 650;
}

.xhs-results-observation h4 {
  margin-top: 10px;
}

.xhs-results-next ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: xhs-result-step;
}

.xhs-results-next li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  color: var(--xhs-case-muted);
  font-size: 9px;
  line-height: 1.55;
  counter-increment: xhs-result-step;
}

.xhs-results-next li::before {
  content: counter(xhs-result-step);
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(85, 126, 132, 0.16);
  color: #557e84;
  font-size: 8px;
  font-weight: 700;
}

.xhs-results-compact .xhs-data-note {
  max-width: none;
  margin: 16px 0 0;
  font-size: 8px;
  text-align: left;
}

@media (max-width: 1180px) {
  .xhs-results-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .xhs-results-map {
    padding-right: 22px;
  }

  .xhs-results-map-canvas {
    height: 520px;
  }

  .xhs-results-post {
    width: 240px;
  }

  .xhs-results-bubble--1 {
    width: 112px;
  }

  .xhs-results-bubble--2 {
    width: 152px;
  }

  .xhs-results-bubble--3 {
    width: 90px;
  }

  .xhs-results-bubble--4 {
    width: 104px;
  }
}

@media (max-width: 900px) {
  .xhs-results-intro h3 {
    font-size: 36px;
  }

  .xhs-results-layout {
    grid-template-columns: 1fr;
  }

  .xhs-results-map {
    padding-right: 0;
  }

  .xhs-results-panel {
    border-top: 1px solid var(--xhs-case-line);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .xhs-case-continuation .xhs-results {
    padding-bottom: 86px;
  }

  .xhs-results-compact {
    margin-top: 38px;
  }

  .xhs-results-intro h3 {
    font-size: 28px;
  }

  .xhs-results-layout {
    margin-top: 30px;
  }

  .xhs-results-map {
    padding: 22px 0;
  }

  .xhs-results-map-canvas {
    display: grid;
    height: auto;
    gap: 24px;
    overflow: visible;
  }

  .xhs-results-orbit {
    display: none;
  }

  .xhs-results-post {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 230px);
    margin: 0 auto;
    transform: none;
  }

  .xhs-results-map-metrics {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .xhs-results-bubble,
  .xhs-results-bubble--1,
  .xhs-results-bubble--2,
  .xhs-results-bubble--3,
  .xhs-results-bubble--4 {
    position: relative;
    inset: auto;
    width: min(100%, 136px);
    justify-self: center;
  }

  .xhs-results-bubble-arrow {
    display: none;
  }

  .xhs-results-bubble dd {
    font-size: 24px;
  }

  .xhs-results-ratios {
    position: relative;
    left: auto;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .xhs-results-ratios p {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 10px 0 0;
    border-top: 1px dashed rgba(85, 126, 132, 0.34);
  }

  .xhs-results-ratios p::before {
    display: none;
  }

  .xhs-results-map-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .xhs-results-panel > section {
    padding: 22px 20px;
  }

  .xhs-results-panel-summary h3 {
    white-space: normal;
  }

  .xhs-results-interaction > div {
    grid-template-columns: 96px 156px;
    gap: 16px;
  }

  .xhs-results-donut {
    width: 96px;
  }
}

/* Hallmark refinement: one measured editorial rhythm across the XHS case study. */
html,
body {
  overflow-x: clip;
}

body:has(main[data-project-page="xiaohongshu"]) .brand-mark {
  letter-spacing: 0;
}

body:has(main[data-project-page="xiaohongshu"]) .menu-panel a {
  white-space: nowrap;
}

main[data-project-page="xiaohongshu"] {
  --xhs-hm-paper: #f8faf8;
  --xhs-hm-paper-alt: #f2f7f6;
  --xhs-hm-paper-warm: #f3f7f2;
  --xhs-hm-surface: #ffffff;
  --xhs-hm-ink: #1b211f;
  --xhs-hm-ink-soft: #314345;
  --xhs-hm-muted: rgba(27, 33, 31, 0.66);
  --xhs-hm-line: rgba(27, 33, 31, 0.16);
  --xhs-hm-line-soft: rgba(27, 33, 31, 0.1);
  --xhs-hm-panel: rgba(248, 250, 248, 0.92);
  --xhs-hm-panel-line: rgba(27, 33, 31, 0.14);
  --xhs-hm-accent: #6f9ba3;
  --xhs-hm-ice: #dbecef;
  --xhs-hm-sage: #e5ece0;
  --xhs-hm-yellow: #f2efcf;
  --xhs-hm-role-accent: #e5f63f;
  --xhs-hm-shadow: 0 18px 42px rgba(58, 70, 67, 0.12);
  --xhs-hm-shell: 1240px;
  --xhs-hm-gutter: clamp(28px, 4vw, 56px);
  --xhs-hm-section-space: clamp(92px, 8vw, 116px);
  --xhs-hm-chapter-space: clamp(76px, 7vw, 96px);
  color: var(--xhs-hm-ink);
  background: var(--xhs-hm-paper);
  font-family: var(--font-sans);
}

main[data-project-page="xiaohongshu"] :where(h1, h2, h3, h4) {
  min-width: 0;
  overflow-wrap: anywhere;
  font-style: normal;
  letter-spacing: 0;
}

main[data-project-page="xiaohongshu"] .xhs-case-intro {
  --xhs-case-paper: var(--xhs-hm-paper);
  --xhs-case-ice: var(--xhs-hm-ice);
  --xhs-case-sage: var(--xhs-hm-sage);
  --xhs-case-ink: var(--xhs-hm-ink);
  --xhs-case-muted: var(--xhs-hm-muted);
  --xhs-case-line: var(--xhs-hm-line);
}

main[data-project-page="xiaohongshu"] .xhs-case-continuation {
  --xhs-case-yellow: var(--xhs-hm-yellow);
  --xhs-case-blue-deep: var(--xhs-hm-accent);
}

main[data-project-page="xiaohongshu"] .xhs-case-role {
  --xhs-role-blue: var(--xhs-hm-ice);
  --xhs-role-sage: var(--xhs-hm-sage);
  --xhs-role-line: var(--xhs-hm-line);
  --xhs-role-ink: var(--xhs-hm-ink);
  --xhs-role-accent: var(--xhs-hm-role-accent);
}

main[data-project-page="xiaohongshu"] .xhs-case-shell {
  width: min(calc(100% - (var(--xhs-hm-gutter) * 2)), var(--xhs-hm-shell));
}

main[data-project-page="xiaohongshu"] .xhs-case-section,
main[data-project-page="xiaohongshu"] .xhs-case-continuation .xhs-case-section {
  padding-bottom: var(--xhs-hm-section-space);
}

main[data-project-page="xiaohongshu"] .xhs-case-chapter,
main[data-project-page="xiaohongshu"] .xhs-case-continuation .xhs-case-chapter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: var(--xhs-hm-chapter-space);
  padding-bottom: 28px;
  border-top: 1px solid var(--xhs-hm-line);
  border-bottom: 0;
}

main[data-project-page="xiaohongshu"] .xhs-case-chapter > span {
  margin-bottom: 14px;
  color: var(--xhs-hm-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

main[data-project-page="xiaohongshu"] .xhs-case-chapter h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 650;
  line-height: 1.18;
}

main[data-project-page="xiaohongshu"] .xhs-case-chapter > p {
  margin-top: 9px;
  color: var(--xhs-hm-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

main[data-project-page="xiaohongshu"] .xhs-case-cover {
  margin-top: 42px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

main[data-project-page="xiaohongshu"] .xhs-case-cover h1 {
  transition: opacity 220ms ease, transform 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  main[data-project-page="xiaohongshu"] .xhs-case-cover:hover h1 {
    opacity: 0.74;
    transform: translateY(-2px);
  }
}

main[data-project-page="xiaohongshu"] .xhs-case-cover:focus-visible {
  outline: 1px solid var(--xhs-case-blue-deep);
  outline-offset: 12px;
}

main[data-project-page="xiaohongshu"] .xhs-case-cover h1 {
  font-size: clamp(58px, 6vw, 76px);
}

main[data-project-page="xiaohongshu"] .xhs-case-cover > span {
  max-width: 680px;
  font-size: 14px;
  line-height: 1.8;
}

main[data-project-page="xiaohongshu"] .xhs-paper-collage {
  height: 770px;
  margin-top: 18px;
}

main[data-project-page="xiaohongshu"] .xhs-paper-print {
  box-shadow: var(--xhs-hm-shadow);
}

main[data-project-page="xiaohongshu"] .xhs-case-story {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 7vw, 88px);
  padding-top: 52px;
}

main[data-project-page="xiaohongshu"] .xhs-case-story h3 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.32;
}

main[data-project-page="xiaohongshu"] .xhs-case-story p,
main[data-project-page="xiaohongshu"] .xhs-positioning-copy p,
main[data-project-page="xiaohongshu"] .xhs-role-intro p,
main[data-project-page="xiaohongshu"] .xhs-section-lead p {
  font-size: 13px;
  line-height: 1.85;
}

main[data-project-page="xiaohongshu"] .xhs-case-timeline {
  margin-top: 78px;
}

main[data-project-page="xiaohongshu"] .xhs-case-timeline li {
  min-height: 172px;
  padding-top: 24px;
  padding-bottom: 26px;
}

main[data-project-page="xiaohongshu"] .xhs-case-timeline strong {
  margin-top: 16px;
}

main[data-project-page="xiaohongshu"] .xhs-case-timeline p {
  font-size: 11px;
  line-height: 1.68;
}

main[data-project-page="xiaohongshu"] .xhs-case-core {
  margin-top: 78px;
  padding: 40px clamp(28px, 5vw, 64px);
  color: var(--xhs-hm-ink-soft);
  font-size: clamp(23px, 2.4vw, 29px);
}

main[data-project-page="xiaohongshu"] .xhs-case-positioning,
main[data-project-page="xiaohongshu"] .xhs-operation {
  background: var(--xhs-hm-paper-alt);
}

main[data-project-page="xiaohongshu"] .xhs-ai-business {
  background: var(--xhs-hm-paper-warm);
}

main[data-project-page="xiaohongshu"] .xhs-positioning-statement {
  min-height: 340px;
  margin-top: 24px;
}

main[data-project-page="xiaohongshu"] .xhs-positioning-statement > p {
  color: var(--xhs-hm-ice);
  font-size: clamp(72px, 8vw, 100px);
}

main[data-project-page="xiaohongshu"] .xhs-positioning-statement h3 {
  font-size: clamp(42px, 4.5vw, 54px);
}

main[data-project-page="xiaohongshu"] .xhs-positioning-copy {
  gap: clamp(40px, 6vw, 70px);
  padding-top: 36px;
}

main[data-project-page="xiaohongshu"] .xhs-audience-stamps {
  margin-top: 72px;
}

main[data-project-page="xiaohongshu"] .xhs-audience-stamps figure {
  background: var(--xhs-hm-surface);
}

main[data-project-page="xiaohongshu"] .xhs-audience-stamps figcaption p,
main[data-project-page="xiaohongshu"] .xhs-needs li p {
  font-size: 10px;
  line-height: 1.62;
}

main[data-project-page="xiaohongshu"] .xhs-needs {
  margin-top: 84px;
}

main[data-project-page="xiaohongshu"] .xhs-needs > h3 {
  margin-bottom: 30px;
  font-size: 28px;
}

main[data-project-page="xiaohongshu"] .xhs-needs li {
  min-height: 160px;
  padding: 22px 24px;
}

main[data-project-page="xiaohongshu"] .xhs-needs li strong {
  margin-top: 22px;
}

main[data-project-page="xiaohongshu"] .xhs-case-role {
  padding-bottom: var(--xhs-hm-section-space);
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-role-intro {
  margin-top: 54px;
}

main[data-project-page="xiaohongshu"] .xhs-role-intro h3 {
  font-size: clamp(32px, 3.2vw, 40px);
}

main[data-project-page="xiaohongshu"] .xhs-role-intro p {
  margin-top: 18px;
}

main[data-project-page="xiaohongshu"] .xhs-role-composition {
  margin-top: 34px;
}

main[data-project-page="xiaohongshu"] .xhs-role-loop {
  box-shadow: inset 0 0 0 2px var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-case-role .xhs-role-details p {
  font-size: 11px;
  line-height: 1.82;
}

main[data-project-page="xiaohongshu"] .xhs-case-role .xhs-role-workflow {
  margin-top: 64px;
}

main[data-project-page="xiaohongshu"] .xhs-role-workflow {
  padding-block: 30px;
}

main[data-project-page="xiaohongshu"] .xhs-section-lead {
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.72fr);
  gap: clamp(44px, 8vw, 112px);
  margin-top: 56px;
}

main[data-project-page="xiaohongshu"] .xhs-section-lead h3 {
  font-size: clamp(33px, 3vw, 42px);
  line-height: 1.3;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-duo {
  gap: 40px;
  margin-top: 74px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-heading,
main[data-project-page="xiaohongshu"] .xhs-ai-workflow header,
main[data-project-page="xiaohongshu"] .xhs-commercial > header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-heading {
  margin-top: 86px;
  padding-top: 22px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-heading > span {
  margin-bottom: 13px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-heading h3 {
  font-size: 24px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-duo .xhs-derivation {
  margin-top: 48px;
  padding: 36px 30px;
  transform: none;
}

main[data-project-page="xiaohongshu"] .xhs-derivation header h3 {
  font-size: 25px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-heading--system {
  margin-top: 88px;
}

main[data-project-page="xiaohongshu"] .xhs-visual-principles {
  margin-top: 32px;
}

main[data-project-page="xiaohongshu"] .xhs-visual-principles li {
  min-height: 184px;
  padding: 22px 21px 24px;
}

main[data-project-page="xiaohongshu"] .xhs-visual-principles strong {
  margin-top: 24px;
}

main[data-project-page="xiaohongshu"] .xhs-system-statement {
  margin-top: 58px;
  color: var(--xhs-hm-ink-soft);
  font-size: clamp(23px, 2.4vw, 28px);
}

main[data-project-page="xiaohongshu"] .xhs-strategy-dual {
  margin-top: 72px;
}

main[data-project-page="xiaohongshu"] .xhs-strategy-dual article {
  min-height: 210px;
  padding-top: 30px;
  padding-bottom: 32px;
}

main[data-project-page="xiaohongshu"] .xhs-operation-method {
  margin-top: 68px;
  padding: 52px 36px 38px;
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-method-heading h3 {
  font-size: clamp(25px, 2.4vw, 30px);
}

main[data-project-page="xiaohongshu"] .xhs-operation .xhs-operation-judgement {
  margin-top: 68px;
}

main[data-project-page="xiaohongshu"] .xhs-operation-judgement {
  gap: clamp(40px, 6vw, 72px);
  padding: 42px 46px;
}

main[data-project-page="xiaohongshu"] .xhs-case-continuation .xhs-results {
  padding-bottom: var(--xhs-hm-section-space);
}

main[data-project-page="xiaohongshu"] .xhs-results-compact {
  margin-top: 42px;
}

main[data-project-page="xiaohongshu"] .xhs-results-intro h3 {
  font-size: clamp(34px, 3.4vw, 42px);
}

main[data-project-page="xiaohongshu"] .xhs-results-intro p {
  font-size: 12px;
  line-height: 1.78;
}

main[data-project-page="xiaohongshu"] .xhs-results-layout {
  margin-top: 34px;
}

main[data-project-page="xiaohongshu"] .xhs-results-map {
  padding-top: 20px;
  padding-bottom: 20px;
}

main[data-project-page="xiaohongshu"] .xhs-results-map-summary {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

main[data-project-page="xiaohongshu"] .xhs-results-panel {
  background: var(--xhs-hm-paper-alt);
}

main[data-project-page="xiaohongshu"] .xhs-results-donut::after {
  background: var(--xhs-hm-paper-alt);
}

main[data-project-page="xiaohongshu"] .xhs-results-panel-summary h3 {
  white-space: normal;
}

main[data-project-page="xiaohongshu"] .xhs-ai-workflow {
  margin-top: 64px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-workflow header {
  align-items: flex-start;
  gap: 0;
  padding-bottom: 18px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-workflow header span {
  margin-bottom: 12px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-workflow li {
  min-height: 190px;
  padding: 24px 20px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-workflow li strong {
  margin-top: 24px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: min(100%, 980px);
  margin-top: 72px;
  margin-right: auto;
  margin-left: auto;
  padding: 36px 42px;
}

main[data-project-page="xiaohongshu"] .xhs-ai-quality p {
  max-width: 760px;
  margin-top: 4px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial {
  margin-top: 86px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial > header {
  padding-top: 24px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial > header span {
  margin-bottom: 12px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial > header p {
  max-width: 720px;
  margin-top: 12px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial ol {
  margin-top: 34px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial li {
  min-height: 202px;
  padding: 23px 20px 26px;
}

main[data-project-page="xiaohongshu"] .xhs-commercial li strong {
  margin-top: 25px;
}

main[data-project-page="xiaohongshu"] .xhs-supplement {
  gap: 54px;
  margin-top: 72px;
  padding: 40px 46px;
}

main[data-project-page="xiaohongshu"] .xhs-project-summary {
  margin-top: 84px;
}

main[data-project-page="xiaohongshu"] .xhs-project-summary p {
  color: var(--xhs-hm-ink-soft);
  font-size: clamp(22px, 2.35vw, 27px);
  line-height: 1.6;
}

main[data-project-page="xiaohongshu"] .xhs-archive,
main[data-project-page="xiaohongshu"] .xhs-archive-stage {
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading {
  left: var(--xhs-hm-gutter);
  right: var(--xhs-hm-gutter);
  top: 112px;
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading > div,
main[data-project-page="xiaohongshu"] .xhs-archive-status {
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading span {
  color: var(--xhs-hm-accent);
}

main[data-project-page="xiaohongshu"] .xhs-archive-status {
  right: var(--xhs-hm-gutter);
}

@media (min-width: 901px) {
  main[data-project-page="xiaohongshu"] .xhs-role-composition {
    grid-template-columns: minmax(0, 1.52fr) minmax(300px, 0.7fr);
    gap: 46px;
  }
}

@media (max-width: 900px) {
  main[data-project-page="xiaohongshu"] {
    --xhs-hm-gutter: 32px;
    --xhs-hm-section-space: 88px;
    --xhs-hm-chapter-space: 72px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-story,
  main[data-project-page="xiaohongshu"] .xhs-section-lead,
  main[data-project-page="xiaohongshu"] .xhs-operation-judgement {
    grid-template-columns: minmax(0, 1fr);
  }

  main[data-project-page="xiaohongshu"] .xhs-case-story {
    gap: 32px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-story > div {
    gap: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-section-lead {
    gap: 22px;
  }

  main[data-project-page="xiaohongshu"] .xhs-operation-judgement {
    gap: 32px;
  }
}

@media (max-width: 700px) {
  main[data-project-page="xiaohongshu"] {
    --xhs-hm-gutter: 20px;
    --xhs-hm-section-space: 76px;
    --xhs-hm-chapter-space: 64px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-chapter,
  main[data-project-page="xiaohongshu"] .xhs-case-continuation .xhs-case-chapter {
    padding-bottom: 22px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-chapter h2 {
    font-size: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-cover {
    margin-top: 30px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-cover h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  main[data-project-page="xiaohongshu"] .xhs-case-story {
    padding-top: 40px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-story h3 {
    font-size: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-timeline,
  main[data-project-page="xiaohongshu"] .xhs-case-core,
  main[data-project-page="xiaohongshu"] .xhs-audience-stamps,
  main[data-project-page="xiaohongshu"] .xhs-needs {
    margin-top: 60px;
  }

  main[data-project-page="xiaohongshu"] .xhs-positioning-statement {
    min-height: 280px;
    margin-top: 12px;
  }

  main[data-project-page="xiaohongshu"] .xhs-positioning-statement > p {
    font-size: 64px;
  }

  main[data-project-page="xiaohongshu"] .xhs-positioning-statement h3 {
    font-size: 38px;
  }

  main[data-project-page="xiaohongshu"] .xhs-role-intro,
  main[data-project-page="xiaohongshu"] .xhs-section-lead {
    margin-top: 42px;
  }

  main[data-project-page="xiaohongshu"] .xhs-role-intro h3,
  main[data-project-page="xiaohongshu"] .xhs-section-lead h3 {
    font-size: 30px;
  }

  main[data-project-page="xiaohongshu"] .xhs-strategy-duo {
    gap: 52px;
    margin-top: 58px;
  }

  main[data-project-page="xiaohongshu"] .xhs-strategy-duo .xhs-derivation {
    margin-top: 0;
    padding: 30px 20px;
  }

  main[data-project-page="xiaohongshu"] .xhs-strategy-heading,
  main[data-project-page="xiaohongshu"] .xhs-strategy-heading--system {
    margin-top: 68px;
  }

  main[data-project-page="xiaohongshu"] .xhs-operation-method,
  main[data-project-page="xiaohongshu"] .xhs-operation .xhs-operation-judgement,
  main[data-project-page="xiaohongshu"] .xhs-ai-workflow,
  main[data-project-page="xiaohongshu"] .xhs-ai-quality,
  main[data-project-page="xiaohongshu"] .xhs-commercial,
  main[data-project-page="xiaohongshu"] .xhs-supplement,
  main[data-project-page="xiaohongshu"] .xhs-project-summary {
    margin-top: 58px;
  }

  main[data-project-page="xiaohongshu"] .xhs-operation-method {
    padding: 38px 18px 30px;
  }

  main[data-project-page="xiaohongshu"] .xhs-operation-judgement,
  main[data-project-page="xiaohongshu"] .xhs-ai-quality,
  main[data-project-page="xiaohongshu"] .xhs-supplement {
    padding: 30px 20px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-compact {
    margin-top: 34px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-intro h3 {
    font-size: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-layout {
    margin-top: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-heading {
    top: 96px;
  }
}

@media (max-width: 420px) {
  main[data-project-page="xiaohongshu"] {
    --xhs-hm-gutter: 18px;
  }

  main[data-project-page="xiaohongshu"] .xhs-case-cover > span,
  main[data-project-page="xiaohongshu"] .xhs-case-story p,
  main[data-project-page="xiaohongshu"] .xhs-positioning-copy p,
  main[data-project-page="xiaohongshu"] .xhs-role-intro p,
  main[data-project-page="xiaohongshu"] .xhs-section-lead p {
    font-size: 12px;
  }

  main[data-project-page="xiaohongshu"] .xhs-positioning-statement h3 {
    font-size: 34px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-interaction > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-donut {
    width: 88px;
  }
}

.xhs-ai-workflow {
  margin-top: 96px;
}

.xhs-ai-workflow header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--xhs-case-line);
}

.xhs-ai-workflow header span,
.xhs-ai-workflow header h3 {
  margin: 0;
}

.xhs-ai-workflow header span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-ai-workflow header h3 {
  font-size: 24px;
  font-weight: 650;
}

.xhs-ai-workflow ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--xhs-case-line);
  list-style: none;
}

.xhs-ai-workflow li {
  min-height: 218px;
  padding: 26px 24px 28px;
}

.xhs-ai-workflow li + li {
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-ai-workflow li span,
.xhs-ai-workflow li strong {
  display: block;
}

.xhs-ai-workflow li span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-ai-workflow li strong {
  margin-top: 32px;
  font-size: 16px;
  font-weight: 650;
}

.xhs-ai-workflow li p {
  margin: 13px 0 0;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.7;
}

.xhs-ai-quality {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(270px, 0.82fr) minmax(360px, 1.35fr);
  gap: 42px;
  align-items: center;
  margin-top: 110px;
  padding: 40px 48px;
  border-radius: 8px;
  background: var(--xhs-case-yellow);
}

.xhs-ai-quality span,
.xhs-ai-quality h3,
.xhs-ai-quality p {
  margin: 0;
}

.xhs-ai-quality span {
  color: #72724f;
  font-size: 9px;
  font-weight: 700;
}

.xhs-ai-quality h3 {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
}

.xhs-ai-quality p {
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.75;
}

.xhs-commercial {
  margin-top: 132px;
}

.xhs-commercial > header {
  display: grid;
  grid-template-columns: 54px minmax(240px, 0.72fr) minmax(340px, 1.2fr);
  gap: 20px 42px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid var(--xhs-case-line);
}

.xhs-commercial > header span,
.xhs-commercial > header h3,
.xhs-commercial > header p {
  margin: 0;
}

.xhs-commercial > header span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-commercial > header h3 {
  font-size: 25px;
  font-weight: 650;
}

.xhs-commercial > header p {
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.8;
}

.xhs-commercial ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--xhs-case-line);
  border-bottom: 1px solid var(--xhs-case-line);
  list-style: none;
}

.xhs-commercial li {
  min-height: 224px;
  padding: 25px 24px 30px;
}

.xhs-commercial li + li {
  border-left: 1px solid var(--xhs-case-line);
}

.xhs-commercial li span,
.xhs-commercial li strong {
  display: block;
}

.xhs-commercial li span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-commercial li strong {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 650;
}

.xhs-commercial li p {
  margin: 13px 0 0;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.7;
}

.xhs-supplement {
  display: grid;
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1.45fr);
  gap: 72px;
  margin-top: 116px;
  padding: 48px 54px;
  border-radius: 8px;
  background: var(--xhs-case-ice);
}

.xhs-supplement header span,
.xhs-supplement header h3 {
  margin: 0;
}

.xhs-supplement header span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-supplement header h3 {
  margin-top: 15px;
  font-size: 25px;
  font-weight: 650;
  line-height: 1.4;
}

.xhs-supplement ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xhs-supplement li {
  position: relative;
  padding: 13px 0 13px 17px;
  border-top: 1px solid rgba(49, 67, 69, 0.14);
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.65;
}

.xhs-supplement li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #77969a;
}

.xhs-project-summary {
  width: min(100%, 960px);
  margin: 132px auto 0;
  text-align: center;
}

.xhs-project-summary span,
.xhs-project-summary p,
.xhs-project-summary small {
  display: block;
  margin: 0;
}

.xhs-project-summary span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-project-summary p {
  margin-top: 22px;
  color: #314345;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.65;
}

.xhs-project-summary small {
  margin-top: 28px;
  color: var(--xhs-case-muted);
  font-size: 9px;
}

@media (max-width: 1100px) {
  .xhs-case-continuation .xhs-case-shell {
    width: min(calc(100% - 64px), 1320px);
  }

  .xhs-content-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 20px;
  }

  .xhs-pillar-photo {
    aspect-ratio: 4 / 5;
  }

  .xhs-visual-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xhs-visual-principles li:nth-child(4) {
    border-left: 0;
  }

  .xhs-visual-principles li:nth-child(n + 4) {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-operation-details {
    column-gap: 42px;
  }

  .xhs-operation-judgement {
    gap: 48px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .xhs-result-performance {
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
    gap: 42px;
    padding-right: 0;
    padding-left: 0;
  }

  .xhs-ai-workflow,
  .xhs-operation-path {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .xhs-ai-workflow ol {
    min-width: 880px;
  }

  .xhs-operation-path {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 140px;
  }

  .xhs-operation-path::before {
    display: none;
  }

  .xhs-ai-quality {
    grid-template-columns: 150px minmax(210px, 0.8fr) minmax(300px, 1.2fr);
    gap: 28px;
  }

  .xhs-commercial li,
  .xhs-ai-workflow li {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 780px) {
  .xhs-case-continuation .xhs-case-section {
    padding-bottom: 112px;
  }

  .xhs-case-continuation .xhs-case-shell {
    width: min(calc(100% - 40px), 1320px);
  }

  .xhs-case-continuation .xhs-case-chapter {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding-top: 86px;
  }

  .xhs-case-continuation .xhs-case-chapter p {
    display: none;
  }

  .xhs-section-lead {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 58px;
  }

  .xhs-section-lead h3 {
    font-size: 34px;
  }

  .xhs-section-lead p {
    max-width: 620px;
  }

  .xhs-strategy-heading,
  .xhs-ai-workflow header {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .xhs-strategy-heading {
    margin-top: 88px;
  }

  .xhs-derivation,
  .xhs-operation-judgement,
  .xhs-result-performance,
  .xhs-supplement {
    grid-template-columns: 1fr;
  }

  .xhs-derivation header {
    grid-row: auto;
  }

  .xhs-strategy-dual,
  .xhs-result-analysis {
    grid-template-columns: 1fr;
  }

  .xhs-strategy-dual article,
  .xhs-strategy-dual article + article,
  .xhs-result-analysis article,
  .xhs-result-analysis article + article {
    min-height: 0;
    padding: 32px 0 38px;
    border-left: 0;
  }

  .xhs-strategy-dual article + article,
  .xhs-result-analysis article + article {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xhs-result-performance {
    min-height: 0;
    padding-top: 64px;
  }

  .xhs-result-performance-copy {
    max-width: 620px;
  }

  .xhs-result-visual {
    margin-top: 10px;
  }

  .xhs-result-metrics div:nth-child(3) {
    border-left: 0;
  }

  .xhs-result-metrics div:nth-child(n + 3) {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-ai-quality {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .xhs-commercial > header {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .xhs-commercial > header p {
    grid-column: 2;
  }

  .xhs-commercial ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xhs-commercial li:nth-child(3),
  .xhs-commercial li:nth-child(5) {
    border-left: 0;
  }

  .xhs-commercial li:nth-child(n + 3) {
    border-top: 1px solid var(--xhs-case-line);
  }
}

@media (max-width: 560px) {
  .xhs-case-continuation .xhs-case-section {
    padding-bottom: 94px;
  }

  .xhs-case-continuation .xhs-case-shell {
    width: calc(100% - 36px);
  }

  .xhs-section-lead {
    margin-top: 50px;
  }

  .xhs-section-lead h3 {
    font-size: 30px;
    line-height: 1.35;
  }

  .xhs-section-lead p {
    font-size: 12px;
  }

  .xhs-strategy-heading {
    margin-top: 78px;
  }

  .xhs-strategy-heading h3 {
    font-size: 21px;
  }

  .xhs-content-pillars {
    gap: 32px 12px;
    margin-top: 44px;
  }

  .xhs-content-pillars figure {
    padding-top: 26px;
  }

  .xhs-pillar-sheet {
    padding: 6px 6px 8px;
  }

  .xhs-pillar-clip {
    top: -43px;
    width: 62px;
    height: 62px;
  }

  .xhs-pillar-photo {
    aspect-ratio: 4 / 5;
  }

  .xhs-content-pillars figcaption {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    padding-top: 12px;
  }

  .xhs-content-pillars figcaption strong {
    font-size: 13px;
  }

  .xhs-content-pillars figcaption p {
    font-size: 9px;
  }

  .xhs-derivation,
  .xhs-operation-judgement,
  .xhs-ai-quality,
  .xhs-supplement {
    gap: 28px;
    margin-top: 72px;
    padding: 30px 20px;
  }

  .xhs-formula {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .xhs-formula b {
    line-height: 1;
  }

  .xhs-formula span {
    min-height: 46px;
  }

  .xhs-formula-examples {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .xhs-strategy-heading--system {
    margin-top: 94px;
  }

  .xhs-visual-principles {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .xhs-visual-principles li,
  .xhs-visual-principles li:nth-child(4) {
    display: grid;
    grid-template-columns: 34px 56px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 20px 0;
    border-top: 0;
    border-left: 0;
  }

  .xhs-visual-principles li + li,
  .xhs-visual-principles li:nth-child(n + 4) {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-visual-principles strong,
  .xhs-visual-principles p {
    margin: 0;
  }

  .xhs-system-statement,
  .xhs-project-summary p {
    font-size: 22px;
  }

  .xhs-strategy-dual,
  .xhs-result-analysis {
    margin-top: 78px;
  }

  .xhs-operation-path {
    min-width: 0;
    grid-auto-columns: 126px;
    margin-top: 70px;
  }

  .xhs-operation-details {
    grid-template-columns: 1fr;
    margin-top: 76px;
  }

  .xhs-operation-details article:last-child {
    grid-column: auto;
  }

  .xhs-operation-details article {
    min-height: 0;
  }

  .xhs-operation-judgement ol,
  .xhs-supplement ul {
    grid-template-columns: 1fr;
  }

  .xhs-result-period {
    margin-top: 72px;
  }

  .xhs-result-metrics {
    margin-top: 0;
  }

  .xhs-result-metrics div {
    min-height: 138px;
    padding: 20px 16px;
  }

  .xhs-result-metrics dd {
    font-size: 34px;
  }

  .xhs-result-performance {
    gap: 48px;
    margin-top: 78px;
    padding: 46px 0 0;
  }

  .xhs-result-performance-copy h3 {
    font-size: 26px;
  }

  .xhs-result-visual > div {
    width: min(100%, 350px);
  }

  .xhs-result-visual img {
    border-width: 7px;
  }

  .xhs-result-visual figcaption {
    width: min(100%, 350px);
    gap: 14px;
  }

  .xhs-result-signal--save {
    left: -1%;
  }

  .xhs-result-signal--comment {
    right: -1%;
  }

  .xhs-result-analysis article,
  .xhs-result-analysis article + article {
    padding: 30px 0 34px;
  }

  .xhs-ai-workflow {
    margin-top: 74px;
  }

  .xhs-ai-workflow ol {
    min-width: 760px;
  }

  .xhs-commercial {
    margin-top: 92px;
  }

  .xhs-commercial > header {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px 8px;
  }

  .xhs-commercial > header p {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .xhs-commercial ol {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .xhs-commercial li,
  .xhs-commercial li:nth-child(3),
  .xhs-commercial li:nth-child(5) {
    min-height: 0;
    padding: 24px 0 27px;
    border-left: 0;
  }

  .xhs-commercial li + li {
    border-top: 1px solid var(--xhs-case-line);
  }

  .xhs-project-summary {
    margin-top: 98px;
  }
}

/* Restore the deep, looping isometric archive composition. */
main[data-project-page="xiaohongshu"] .xhs-archive-heading {
  left: clamp(28px, 3.8vw, 46px);
  right: auto;
  top: clamp(38px, 4vw, 52px);
  display: block;
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading > div {
  min-width: 188px;
  padding: 25px 24px 24px;
  border: 1px solid var(--xhs-hm-panel-line);
  border-radius: 16px;
  background: var(--xhs-hm-panel);
  backdrop-filter: blur(10px);
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading span {
  font-size: 18px;
  line-height: 1;
}

main[data-project-page="xiaohongshu"] .xhs-archive-heading h2 {
  margin-top: 12px;
  font-size: clamp(27px, 2.5vw, 32px);
  line-height: 1.15;
}

main[data-project-page="xiaohongshu"] .xhs-archive-status {
  right: clamp(28px, 3.8vw, 46px);
  bottom: clamp(22px, 2.4vw, 32px);
  grid-template-columns: 48px 22px 48px;
  gap: 16px;
  min-width: 286px;
  padding: 26px 26px 24px;
  border: 1px solid var(--xhs-hm-panel-line);
  border-radius: 16px;
  background: var(--xhs-hm-panel);
  font-size: 17px;
}

main[data-project-page="xiaohongshu"] .xhs-archive-status > span:first-child {
  font-size: 32px;
  line-height: 1;
}

main[data-project-page="xiaohongshu"] .xhs-archive-status strong {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.3;
}

@media (max-width: 700px) {
  main[data-project-page="xiaohongshu"] .xhs-archive-heading {
    left: 18px;
    top: 26px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-heading > div {
    min-width: 142px;
    padding: 18px 17px 17px;
    border-radius: 12px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-heading span {
    font-size: 13px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-heading h2 {
    margin-top: 8px;
    font-size: 23px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-status {
    right: 18px;
    bottom: 18px;
    grid-template-columns: 34px 16px 34px;
    gap: 10px;
    min-width: 210px;
    padding: 19px 18px 17px;
    border-radius: 12px;
    font-size: 13px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-status > span:first-child {
    font-size: 24px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive-status strong {
    margin-top: 11px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xhs-pillar-sheet,
  .xhs-pillar-photo > img {
    transition: none;
  }
}

/* Xiaohongshu role section: editorial relationship map inspired by NEWPEACE. */
.xhs-case-role {
  --xhs-role-ink: #191a17;
  --xhs-role-accent: #e5f63f;
  --xhs-role-rule: rgba(25, 26, 23, 0.46);
  padding-bottom: 150px;
  background: #f8faf8;
}

.xhs-role-editorial-head {
  width: min(100%, 980px);
  padding-top: 112px;
}

.xhs-role-editorial-head span,
.xhs-role-editorial-head h2,
.xhs-role-editorial-head h3,
.xhs-role-editorial-head p {
  margin: 0;
}

.xhs-role-editorial-head > span {
  display: block;
  color: #6f9ba3;
  font-size: 12px;
  font-weight: 700;
}

.xhs-role-editorial-head h2 {
  margin-top: 12px;
  color: var(--xhs-role-ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(86px, 10.5vw, 148px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.xhs-role-editorial-head h3 {
  max-width: 670px;
  margin-top: 42px;
  color: var(--xhs-role-ink);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.48;
}

.xhs-role-editorial-head p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--xhs-case-muted);
  font-size: 13px;
  line-height: 1.9;
}

.xhs-role-approach {
  position: relative;
  width: 100%;
  height: 720px;
  margin-top: 34px;
  color: var(--xhs-role-ink);
}

.xhs-role-loop {
  position: absolute;
  border: 1.25px solid var(--xhs-role-rule);
  border-radius: 50%;
  background: rgba(235, 240, 239, 0.58);
  box-shadow: inset 0 0 0 2px rgba(248, 250, 248, 0.72);
  transform: rotate(-23deg);
}

.xhs-role-loop > div {
  position: absolute;
  top: 50%;
  z-index: 1;
  text-align: center;
  transform: translate(-50%, -50%) rotate(23deg);
}

.xhs-role-loop span,
.xhs-role-loop h3,
.xhs-role-loop p {
  display: block;
  margin: 0;
}

.xhs-role-loop span {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--xhs-role-ink);
  color: #f8faf8;
  font-size: 10px;
  font-weight: 650;
  line-height: 34px;
}

.xhs-role-loop h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 42px;
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: 0;
}

.xhs-role-loop p {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.6;
  white-space: nowrap;
}

.xhs-role-loop--brand {
  left: 1%;
  top: 178px;
  z-index: 1;
  width: 65%;
  height: 438px;
  background: rgba(218, 233, 237, 0.55);
}

.xhs-role-loop--brand > div {
  left: 43%;
  width: 360px;
}

.xhs-role-loop--operation {
  right: 0;
  top: 40px;
  z-index: 2;
  width: 65%;
  height: 438px;
  background: rgba(240, 241, 240, 0.78);
}

.xhs-role-loop--operation > div {
  left: 61%;
  width: 390px;
}

.xhs-role-loop--visual {
  left: 43%;
  top: 422px;
  z-index: 4;
  width: 31%;
  height: 190px;
  background: rgba(226, 233, 232, 0.9);
}

.xhs-role-loop--visual > div {
  left: 50%;
  width: 270px;
}

.xhs-role-loop--visual h3 {
  font-size: 31px;
}

.xhs-role-loop--visual p {
  margin-top: 12px;
  font-size: 10px;
}

.xhs-role-arrow,
.xhs-role-note {
  position: absolute;
  z-index: 6;
  margin: 0;
}

.xhs-role-arrow {
  color: var(--xhs-role-accent);
  font-family: Arial, sans-serif;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
}

.xhs-role-note {
  color: var(--xhs-role-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.xhs-role-arrow--ai {
  left: 51%;
  top: 124px;
  transform: rotate(-12deg);
}

.xhs-role-note--ai {
  left: 46%;
  top: 73px;
}

.xhs-role-arrow--data {
  left: 40%;
  top: 493px;
  transform: rotate(8deg);
}

.xhs-role-note--data {
  left: 35%;
  top: 610px;
}

.xhs-case-role .xhs-role-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 110px;
  width: min(78%, 960px);
  margin: -6px auto 0;
  border: 0;
}

.xhs-case-role .xhs-role-details article,
.xhs-case-role .xhs-role-details article + article {
  position: relative;
  min-height: 280px;
  padding: 92px 0 0 30px;
  border: 0;
}

.xhs-case-role .xhs-role-details article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 72px;
  background: rgba(25, 26, 23, 0.28);
}

.xhs-case-role .xhs-role-details article::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--xhs-role-ink);
}

.xhs-case-role .xhs-role-details span {
  color: #6f9ba3;
  font-size: 10px;
}

.xhs-case-role .xhs-role-details h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 650;
}

.xhs-case-role .xhs-role-details p {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.95;
}

.xhs-case-role .xhs-role-workflow {
  margin-top: 90px;
  border-bottom: 0;
}

@media (max-width: 1000px) {
  .xhs-role-editorial-head h2 {
    font-size: clamp(76px, 12vw, 112px);
  }

  .xhs-role-approach {
    height: 650px;
  }

  .xhs-role-loop--brand,
  .xhs-role-loop--operation {
    width: 66%;
    height: 390px;
  }

  .xhs-role-loop--brand {
    top: 170px;
  }

  .xhs-role-loop h3 {
    font-size: 35px;
  }

  .xhs-role-loop--visual {
    top: 386px;
    width: 34%;
    height: 176px;
  }

  .xhs-role-loop--visual h3 {
    font-size: 27px;
  }

  .xhs-role-note--data {
    top: 562px;
  }

  .xhs-case-role .xhs-role-details {
    gap: 64px;
    width: 86%;
  }
}

@media (max-width: 700px) {
  .xhs-case-role {
    padding-bottom: 104px;
  }

  .xhs-role-editorial-head {
    padding-top: 92px;
  }

  .xhs-role-editorial-head h2 {
    margin-top: 8px;
    font-size: 62px;
    line-height: 1.04;
  }

  .xhs-role-editorial-head h3 {
    margin-top: 30px;
    font-size: 22px;
    line-height: 1.5;
  }

  .xhs-role-editorial-head p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.8;
  }

  .xhs-role-approach {
    height: 620px;
    margin-top: 30px;
  }

  .xhs-role-loop {
    transform: rotate(-13deg);
  }

  .xhs-role-loop > div {
    transform: translate(-50%, -50%) rotate(13deg);
  }

  .xhs-role-loop--brand,
  .xhs-role-loop--operation {
    width: 310px;
    height: 226px;
  }

  .xhs-role-loop--brand {
    left: -28px;
    top: 230px;
  }

  .xhs-role-loop--brand > div {
    left: 47%;
    width: 238px;
  }

  .xhs-role-loop--operation {
    right: -28px;
    top: 38px;
  }

  .xhs-role-loop--operation > div {
    left: 55%;
    width: 248px;
  }

  .xhs-role-loop span {
    width: 27px;
    height: 27px;
    margin-bottom: 10px;
    font-size: 8px;
    line-height: 27px;
  }

  .xhs-role-loop h3 {
    font-size: 26px;
    line-height: 1.1;
  }

  .xhs-role-loop p {
    margin-top: 10px;
    font-size: 8px;
  }

  .xhs-role-loop--visual {
    left: 84px;
    top: 426px;
    width: 235px;
    height: 132px;
  }

  .xhs-role-loop--visual > div {
    width: 205px;
  }

  .xhs-role-loop--visual h3 {
    font-size: 21px;
  }

  .xhs-role-loop--visual p {
    margin-top: 7px;
    font-size: 7px;
  }

  .xhs-role-arrow {
    font-size: 52px;
  }

  .xhs-role-note {
    font-size: 9px;
  }

  .xhs-role-arrow--ai {
    left: 38%;
    top: 246px;
  }

  .xhs-role-note--ai {
    left: 52%;
    top: 282px;
  }

  .xhs-role-arrow--data {
    left: 18%;
    top: 473px;
  }

  .xhs-role-note--data {
    left: 5%;
    top: 562px;
  }

  .xhs-case-role .xhs-role-details {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin-top: 8px;
  }

  .xhs-case-role .xhs-role-details article,
  .xhs-case-role .xhs-role-details article + article {
    min-height: 0;
    padding: 76px 0 38px 18px;
  }

  .xhs-case-role .xhs-role-details article::before {
    height: 56px;
  }

  .xhs-case-role .xhs-role-details h3 {
    font-size: 21px;
  }

  .xhs-case-role .xhs-role-details p {
    font-size: 11px;
    line-height: 1.85;
  }

  .xhs-case-role .xhs-role-workflow {
    margin-top: 66px;
  }
}

/* Compact role composition: relationship map left, supporting copy right. */
.xhs-role-composition {
  width: min(100%, 1160px);
  margin: 46px auto 0;
}

@media (min-width: 901px) {
  .xhs-role-composition {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
    gap: 58px;
    align-items: center;
  }

  .xhs-role-composition .xhs-role-approach {
    height: 510px;
    margin: 0;
  }

  .xhs-role-composition .xhs-role-loop--brand,
  .xhs-role-composition .xhs-role-loop--operation {
    width: 66%;
    height: 310px;
  }

  .xhs-role-composition .xhs-role-loop--brand {
    left: 0;
    top: 155px;
  }

  .xhs-role-composition .xhs-role-loop--brand > div {
    left: 43%;
    width: 280px;
  }

  .xhs-role-composition .xhs-role-loop--operation {
    right: 0;
    top: 30px;
  }

  .xhs-role-composition .xhs-role-loop--operation > div {
    left: 61%;
    width: 300px;
  }

  .xhs-role-composition .xhs-role-loop span {
    width: 28px;
    height: 28px;
    margin-bottom: 13px;
    font-size: 9px;
    line-height: 28px;
  }

  .xhs-role-composition .xhs-role-loop h3 {
    font-size: 31px;
  }

  .xhs-role-composition .xhs-role-loop p {
    margin-top: 13px;
    font-size: 9px;
  }

  .xhs-role-composition .xhs-role-loop--visual {
    left: 43%;
    top: 337px;
    width: 31%;
    height: 140px;
  }

  .xhs-role-composition .xhs-role-loop--visual > div {
    width: 210px;
  }

  .xhs-role-composition .xhs-role-loop--visual h3 {
    font-size: 23px;
  }

  .xhs-role-composition .xhs-role-loop--visual p {
    margin-top: 8px;
    font-size: 8px;
  }

  .xhs-role-composition .xhs-role-arrow {
    font-size: 66px;
  }

  .xhs-role-composition .xhs-role-note {
    font-size: 10px;
  }

  .xhs-role-composition .xhs-role-arrow--ai {
    left: 45%;
    top: 112px;
    font-size: 76px;
  }

  .xhs-role-composition .xhs-role-note--ai {
    left: 40%;
    top: 42px;
  }

  .xhs-role-composition .xhs-role-arrow--data {
    left: 39%;
    top: 387px;
  }

  .xhs-role-composition .xhs-role-note--data {
    left: 33%;
    top: 472px;
  }

  .xhs-case-role .xhs-role-composition .xhs-role-details {
    grid-template-columns: 1fr;
    gap: 38px;
    width: 100%;
    margin: 0;
  }

  .xhs-case-role .xhs-role-composition .xhs-role-details article,
  .xhs-case-role .xhs-role-composition .xhs-role-details article + article {
    min-height: 0;
    padding: 74px 0 0 24px;
  }

  .xhs-case-role .xhs-role-composition .xhs-role-details article::before {
    height: 56px;
  }

  .xhs-case-role .xhs-role-composition .xhs-role-details h3 {
    margin-top: 11px;
    font-size: 21px;
  }

  .xhs-case-role .xhs-role-composition .xhs-role-details p {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.85;
  }
}

@media (max-width: 900px) {
  .xhs-role-composition {
    width: 100%;
    margin-top: 38px;
  }
}

@media (max-width: 700px) {
  .xhs-role-arrow--ai {
    left: 40%;
    top: 260px;
  }

  .xhs-role-note--ai {
    left: 49%;
    top: 218px;
  }
}

/* Xiaohongshu operation method: reach, relationship and growth loops. */
.xhs-operation-method {
  --xhs-method-reach: #739ba1;
  --xhs-method-reach-fill: rgba(115, 155, 161, 0.08);
  --xhs-method-relation: #c3ad4d;
  --xhs-method-relation-fill: rgba(195, 173, 77, 0.09);
  --xhs-method-growth: #71947c;
  --xhs-method-growth-fill: rgba(113, 148, 124, 0.09);
  margin-top: 92px;
  padding: 66px 42px 44px;
  overflow: hidden;
  border: 1px solid rgba(49, 67, 69, 0.12);
  border-radius: 8px;
  background: #f8faf8;
}

.xhs-method-heading {
  text-align: center;
}

.xhs-method-heading span,
.xhs-method-heading h3,
.xhs-method-heading p {
  display: block;
  margin: 0;
}

.xhs-method-heading span {
  color: var(--xhs-case-blue-deep);
  font-size: 9px;
  font-weight: 700;
}

.xhs-method-heading h3 {
  margin-top: 13px;
  color: #263230;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.35;
}

.xhs-method-heading p {
  margin-top: 11px;
  color: var(--xhs-case-muted);
  font-size: 11px;
}

.xhs-method-scroll {
  width: 100%;
  margin-top: 54px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.xhs-method-scroll:focus-visible {
  outline: 2px solid rgba(85, 126, 132, 0.42);
  outline-offset: 6px;
}

.xhs-method-canvas {
  position: relative;
  width: min(100%, 1140px);
  min-width: 1040px;
  height: 520px;
  margin: 0 auto;
}

.xhs-method-canvas::before,
.xhs-method-canvas::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.xhs-method-canvas::before {
  left: 2%;
  right: 2%;
  top: 51%;
  border-top: 1px dashed rgba(49, 67, 69, 0.2);
}

.xhs-method-canvas::after {
  inset: 14px 0 12px;
  background:
    linear-gradient(90deg, transparent calc(33.333% - 1px), rgba(49, 67, 69, 0.12) 33.333%, transparent calc(33.333% + 1px)),
    linear-gradient(90deg, transparent calc(66.666% - 1px), rgba(49, 67, 69, 0.12) 66.666%, transparent calc(66.666% + 1px));
}

.xhs-method-loop {
  position: absolute;
  top: 58px;
  width: 33.333333%;
  aspect-ratio: 1;
  border: 2px solid var(--loop-color);
  border-radius: 50%;
  background: var(--loop-fill);
  color: var(--loop-color);
}

.xhs-method-loop::after {
  content: "";
  position: absolute;
  right: 12.3%;
  bottom: 12.5%;
  width: 18px;
  height: 16px;
  background: var(--loop-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: rotate(135deg);
}

.xhs-method-loop--reach {
  --loop-color: var(--xhs-method-reach);
  --loop-fill: var(--xhs-method-reach-fill);
  left: 0;
}

.xhs-method-loop--relation {
  --loop-color: var(--xhs-method-relation);
  --loop-fill: var(--xhs-method-relation-fill);
  left: 33.333333%;
}

.xhs-method-loop--growth {
  --loop-color: var(--xhs-method-growth);
  --loop-fill: var(--xhs-method-growth-fill);
  right: 0;
}

.xhs-method-loop-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.xhs-method-loop-copy span,
.xhs-method-loop-copy h4,
.xhs-method-loop-copy p {
  display: block;
  margin: 0;
}

.xhs-method-loop-copy span {
  font-size: 9px;
  font-weight: 700;
}

.xhs-method-loop-copy h4 {
  margin-top: 12px;
  color: #263230;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
}

.xhs-method-loop-copy p {
  margin-top: 10px;
  color: var(--xhs-case-muted);
  font-size: 10px;
}

.xhs-method-node {
  position: absolute;
  z-index: 4;
  width: 116px;
  color: #263230;
  font-style: normal;
  cursor: default;
}

.xhs-method-node::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--loop-color);
  border-radius: 50%;
  background: #f8faf8;
}

.xhs-method-node b,
.xhs-method-node small {
  display: block;
}

.xhs-method-node b {
  font-size: 11px;
  font-weight: 650;
}

.xhs-method-node small {
  position: absolute;
  z-index: 2;
  width: 176px;
  margin-top: 3px;
  color: var(--xhs-case-muted);
  font-size: 8px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.xhs-method-node:hover small,
.xhs-method-node:focus-visible small {
  opacity: 1;
  transform: translateY(0);
}

.xhs-method-node--1 {
  left: 50%;
  top: -42px;
  height: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.xhs-method-node--1::before {
  left: 50%;
  bottom: -37px;
  transform: translateX(-50%);
}

.xhs-method-node--1 small {
  left: 50%;
  top: 17px;
  margin-left: -88px;
}

.xhs-method-node--2 {
  right: -107px;
  top: 50%;
  height: 18px;
  padding-left: 30px;
  transform: translateY(-50%);
}

.xhs-method-node--2::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.xhs-method-node--2 b {
  position: relative;
  top: -43px;
}

.xhs-method-node--2 small {
  left: 30px;
  top: -27px;
  margin-top: 0;
}

.xhs-method-loop--growth .xhs-method-node--2 {
  right: -9px;
  padding-right: 30px;
  padding-left: 0;
  text-align: right;
}

.xhs-method-loop--growth .xhs-method-node--2::before {
  right: 0;
  left: auto;
}

.xhs-method-loop--growth .xhs-method-node--2 small {
  right: 30px;
  left: auto;
}

.xhs-method-node--3 {
  left: 50%;
  bottom: -48px;
  height: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.xhs-method-node--3::before {
  left: 50%;
  top: -43px;
  transform: translateX(-50%);
}

.xhs-method-node--3 small {
  left: 50%;
  top: 17px;
  margin-left: -88px;
}

.xhs-method-return {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 14px 0 0;
  color: var(--xhs-case-muted);
  font-size: 9px;
  text-align: center;
}

.xhs-method-return::before,
.xhs-method-return::after {
  content: "";
  width: min(15vw, 170px);
  height: 1px;
  background: rgba(49, 67, 69, 0.16);
}

.xhs-method-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.xhs-method-phases li {
  padding-top: 16px;
  border-top: 4px solid var(--phase-color);
  text-align: center;
}

.xhs-method-phases span,
.xhs-method-phases strong {
  display: block;
}

.xhs-method-phases span {
  color: var(--phase-color);
  font-size: 9px;
  font-weight: 700;
}

.xhs-method-phases strong {
  margin-top: 6px;
  color: #263230;
  font-size: 14px;
  font-weight: 650;
}

.xhs-method-phase--reach {
  --phase-color: var(--xhs-method-reach);
}

.xhs-method-phase--relation {
  --phase-color: var(--xhs-method-relation);
}

.xhs-method-phase--growth {
  --phase-color: var(--xhs-method-growth);
}

.xhs-operation .xhs-operation-judgement {
  margin-top: 96px;
}

@media (max-width: 1100px) {
  .xhs-operation-method {
    padding-right: 30px;
    padding-left: 30px;
  }

}

@media (max-width: 780px) {
  .xhs-operation-method {
    margin-top: 70px;
    padding: 48px 22px 34px;
  }

  .xhs-method-heading h3 {
    font-size: 25px;
  }

  .xhs-method-canvas {
    min-width: 980px;
  }

}

@media (max-width: 560px) {
  .xhs-operation-method {
    margin-right: -2px;
    margin-left: -2px;
    padding: 40px 16px 30px;
  }

  .xhs-method-heading h3 {
    font-size: 22px;
  }

  .xhs-method-heading p {
    line-height: 1.7;
  }

  .xhs-method-scroll {
    margin-top: 44px;
  }

  .xhs-method-canvas {
    min-width: 930px;
    height: 470px;
  }

  .xhs-method-loop-copy h4 {
    font-size: 21px;
  }

  .xhs-method-phases {
    gap: 12px;
  }

  .xhs-method-return {
    line-height: 1.6;
  }

}

/* File-safe UNVEIL-style x/z gallery. */
main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth {
  height: 620vh;
  min-height: 4200px;
  padding: 0;
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-stage {
  --gallery-perspective: 8000px;
  --gallery-camera-pitch: -20.855deg;
  --gallery-drag-scale: 1;
  --gallery-hover-x: 144px;
  --gallery-hover-y: -22px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  perspective: var(--gallery-perspective);
  perspective-origin: 50% 50%;
  cursor: grab;
  touch-action: pan-y;
  background: var(--xhs-hm-paper);
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-stage.is-dragging {
  --gallery-drag-scale: 0.825;
  cursor: grabbing;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-canvas {
  display: none;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-track {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  transform: rotateX(var(--gallery-camera-pitch)) scale3d(var(--gallery-drag-scale), var(--gallery-drag-scale), var(--gallery-drag-scale));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 750ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame {
  --depth-x: 0px;
  --depth-y: 0px;
  --depth-z: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 280px;
  height: 373px;
  aspect-ratio: auto;
  margin: 0;
  opacity: 1;
  visibility: hidden;
  cursor: pointer;
  transform: translate3d(calc(-50% + var(--depth-x)), calc(-50% + var(--depth-y)), var(--depth-z)) rotateY(-30deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame.is-depth-visible {
  visibility: visible;
  pointer-events: auto;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame:hover {
  z-index: var(--depth-order) !important;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-card,
main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame:hover .xhs-archive-card {
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame.is-depth-hovered .xhs-archive-card,
  main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame.is-depth-hovered:hover .xhs-archive-card {
    transform: translate3d(var(--gallery-hover-x), var(--gallery-hover-y), 0);
  }
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-card img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(26, 33, 45, 0.08);
  transform: translateZ(0.01px);
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-card figcaption {
  display: none;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-heading {
  position: absolute;
  left: clamp(28px, 3.8vw, 46px);
  right: auto;
  top: clamp(38px, 4vw, 52px);
  z-index: 1800;
  width: auto;
}

main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-status {
  position: absolute;
  right: clamp(28px, 3.8vw, 46px);
  bottom: clamp(22px, 2.4vw, 32px);
  z-index: 1800;
  display: grid;
}

body.is-xhs-gallery-active .site-header {
  visibility: hidden;
  opacity: 0 !important;
  transform: translateY(-100%) !important;
  pointer-events: none;
}

@media (max-width: 700px) {
  main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth {
    height: 520vh;
    min-height: 3400px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-stage {
    min-height: 600px;
  }

  main[data-project-page="xiaohongshu"] .xhs-archive.is-dom-depth .xhs-archive-frame {
    top: 50%;
    transform: translate3d(calc(-50% + var(--depth-x)), calc(-50% + var(--depth-y)), var(--depth-z)) rotateY(-30deg);
  }
}

/* Results chapter: quiet editorial reporting inspired by annual-impact pages. */
main[data-project-page="xiaohongshu"] .xhs-results-editorial {
  margin-top: 38px;
  color: var(--xhs-case-ink);
  border-top: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div {
  display: flex;
  min-height: 182px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(20px, 2.3vw, 34px) 27px;
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div:first-child {
  padding-left: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div + div {
  border-left: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dt,
main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dd {
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dt {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  max-width: 150px;
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.45;
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dt span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dd {
  color: #263b3d;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 620;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: center;
  min-height: 530px;
  padding: clamp(58px, 6vw, 88px) clamp(32px, 5vw, 76px);
  border-bottom: 1px solid var(--xhs-case-line);
  background: rgba(239, 245, 242, 0.72);
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-copy > span,
main[data-project-page="xiaohongshu"] .xhs-results-guidance > header > span,
main[data-project-page="xiaohongshu"] .xhs-results-observation > span,
main[data-project-page="xiaohongshu"] .xhs-results-next > span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-copy h4,
main[data-project-page="xiaohongshu"] .xhs-results-feature-copy p {
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-copy h4 {
  max-width: 500px;
  margin-top: 18px;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 620;
  line-height: 1.4;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-copy > p {
  max-width: 500px;
  margin-top: 22px;
  color: var(--xhs-case-muted);
  font-size: 12px;
  line-height: 1.85;
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 470px;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list > div {
  display: grid;
  gap: 16px;
  padding: 18px 20px 0 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list dt,
main[data-project-page="xiaohongshu"] .xhs-results-ratio-list dd {
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list dt {
  color: var(--xhs-case-muted);
  font-size: 9px;
}

main[data-project-page="xiaohongshu"] .xhs-results-ratio-list dd {
  color: #263b3d;
  font-size: 28px;
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(85, 126, 132, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -54%);
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual > div {
  position: relative;
  width: min(82%, 350px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 24px 54px rgba(64, 82, 78, 0.1);
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual figcaption {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 18px;
  text-align: center;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual figcaption span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

main[data-project-page="xiaohongshu"] .xhs-results-feature-visual figcaption strong {
  font-size: 13px;
  font-weight: 650;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance {
  border-bottom: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance > header {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(28px, 5vw, 76px);
  row-gap: 14px;
  align-items: start;
  padding: 34px 0 32px;
  border-bottom: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance > header > span {
  grid-column: 1;
  grid-row: 1;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance > header h3,
main[data-project-page="xiaohongshu"] .xhs-results-guidance > header p {
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance > header h3 {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 620;
  line-height: 1.35;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance > header p {
  grid-column: 2;
  grid-row: 2;
  max-width: 490px;
  color: var(--xhs-case-muted);
  font-size: 11px;
  line-height: 1.75;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.92fr) minmax(0, 1.18fr);
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section {
  min-width: 0;
  padding: 32px clamp(24px, 3vw, 42px) 38px;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section:first-child {
  padding-left: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section + section {
  border-left: 1px solid var(--xhs-case-line);
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown > header > span {
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown > header > strong {
  display: grid;
  justify-items: end;
  color: #263b3d;
  font-size: 26px;
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown > header small {
  margin-top: 7px;
  color: var(--xhs-case-muted);
  font-size: 8px;
  font-weight: 500;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dl {
  display: grid;
  gap: 15px;
  margin: 28px 0 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dl > div {
  display: grid;
  grid-template-columns: 42px minmax(70px, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dt,
main[data-project-page="xiaohongshu"] .xhs-results-breakdown dd {
  margin: 0;
  font-size: 9px;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dt {
  color: var(--xhs-case-muted);
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dd {
  grid-column: 3;
  grid-row: 1;
  color: #263b3d;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown i {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: block;
  height: 3px;
  overflow: hidden;
  background: rgba(85, 126, 132, 0.12);
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown i::after {
  content: "";
  display: block;
  width: var(--result-share);
  height: 100%;
  background: #456b70;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dl > div:nth-child(2) i::after {
  background: #8aa7a5;
}

main[data-project-page="xiaohongshu"] .xhs-results-breakdown dl > div:nth-child(3) i::after {
  background: #c2d3cb;
}

main[data-project-page="xiaohongshu"] .xhs-results-observation h4,
main[data-project-page="xiaohongshu"] .xhs-results-observation p {
  margin: 0;
}

main[data-project-page="xiaohongshu"] .xhs-results-observation h4 {
  margin-top: 17px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

main[data-project-page="xiaohongshu"] .xhs-results-observation p {
  margin-top: 13px;
  color: var(--xhs-case-muted);
  font-size: 10px;
  line-height: 1.75;
}

main[data-project-page="xiaohongshu"] .xhs-results-next ol {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: xhs-editorial-step;
}

main[data-project-page="xiaohongshu"] .xhs-results-next li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  color: var(--xhs-case-muted);
  font-size: 9px;
  line-height: 1.55;
  counter-increment: xhs-editorial-step;
}

main[data-project-page="xiaohongshu"] .xhs-results-next li::before {
  content: "0" counter(xhs-editorial-step);
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--xhs-case-blue-deep);
  font-size: 8px;
  font-weight: 700;
}

main[data-project-page="xiaohongshu"] .xhs-results-compact .xhs-data-note {
  margin-top: 17px;
  text-align: left;
}

@media (max-width: 960px) {
  main[data-project-page="xiaohongshu"] .xhs-results-feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 44px;
    min-height: 490px;
    padding-right: 32px;
    padding-left: 32px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-feature-visual > div {
    width: min(86%, 310px);
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header {
    grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1fr);
    gap: 24px;
    row-gap: 12px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--xhs-case-line);
    border-left: 0;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-next ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }
}

@media (max-width: 700px) {
  main[data-project-page="xiaohongshu"] .xhs-results-editorial {
    margin-top: 28px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div,
  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div:first-child {
    min-height: 138px;
    padding: 18px 16px 20px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--xhs-case-line);
  }

  main[data-project-page="xiaohongshu"] .xhs-results-metric-strip dd {
    font-size: clamp(33px, 10vw, 43px);
  }

  main[data-project-page="xiaohongshu"] .xhs-results-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    min-height: 0;
    padding: 46px 20px 52px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-feature-copy h4 {
    font-size: 25px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-feature-visual {
    grid-row: 1;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-feature-visual > div {
    width: min(80vw, 300px);
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 12px;
    padding: 28px 0;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header > span,
  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header h3,
  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header p {
    grid-column: 1;
    grid-row: auto;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance > header h3 {
    margin-top: 4px;
    font-size: 24px;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section,
  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section:first-child,
  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section:nth-child(3) {
    grid-column: auto;
    padding: 28px 0 30px;
    border-top: 0;
    border-left: 0;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-guidance-grid > section + section {
    border-top: 1px solid var(--xhs-case-line);
    border-left: 0;
  }

  main[data-project-page="xiaohongshu"] .xhs-results-next ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Banner hero: draggable Three.js commodity card field on white. */
.project-detail-image--banner-starfield,
body.has-route-transition .project-detail-image--banner-starfield {
  isolation: isolate;
  background: #fff;
  border: 1px solid rgba(23, 23, 19, 0.12);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.project-detail-image--banner-starfield.is-dragging {
  cursor: grabbing;
}

.banner-starfield__canvas,
.banner-starfield__fallback {
  position: absolute;
  inset: 0;
}

.banner-starfield__canvas {
  z-index: 2;
  opacity: 0;
  transition: opacity 480ms ease;
}

.banner-starfield__canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: 0;
}

.project-detail-image--banner-starfield.is-ready .banner-starfield__canvas {
  opacity: 1;
}

.banner-starfield__fallback {
  z-index: 1;
  padding: clamp(34px, 5vw, 88px) clamp(44px, 8vw, 152px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 34px);
  perspective: 1000px;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.project-detail-image--banner-starfield.is-ready .banner-starfield__fallback {
  visibility: hidden;
  opacity: 0;
}

.banner-starfield__fallback figure {
  min-width: 0;
  margin: 0;
  aspect-ratio: 0.78;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12%;
  background: #fff;
  border: 1px solid rgba(23, 23, 19, 0.12);
  border-radius: 10px;
  box-shadow: none;
  transform: translateY(4px) rotateY(-8deg);
}

.banner-starfield__fallback figure:nth-child(even) {
  transform: translateY(-6px) rotateY(8deg);
}

.banner-starfield__fallback img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.project-detail-heading--banner-starfield {
  z-index: 4;
  left: clamp(22px, 3.6vw, 64px);
  bottom: clamp(22px, 3.4vw, 56px);
  width: 25%;
  min-width: 260px;
  gap: clamp(14px, 1.8vw, 28px);
  color: #171713;
  pointer-events: none;
}

.project-detail-heading--banner-starfield p {
  color: var(--muted);
}

.project-detail-heading--banner-starfield h1 {
  font-size: clamp(34px, 3.35vw, 58px);
  line-height: 0.98;
  text-shadow: none;
}

.banner-starfield__count {
  position: absolute;
  z-index: 4;
  top: clamp(22px, 2.4vw, 42px);
  right: clamp(24px, 3vw, 54px);
  color: rgba(23, 23, 19, 0.58);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  pointer-events: none;
}

@media (max-width: 820px) {
  .project-detail-image--banner-starfield {
    min-height: 560px;
  }

  .banner-starfield__fallback {
    padding: 36px 22px 148px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .banner-starfield__fallback figure {
    padding: 8%;
    border-radius: 7px;
  }

  .project-detail-heading--banner-starfield {
    left: 18px;
    bottom: 18px;
    width: min(58%, 300px);
    min-width: 0;
    gap: 12px;
  }

  .project-detail-heading--banner-starfield h1 {
    font-size: clamp(30px, 9vw, 48px);
    line-height: 1;
  }

  .banner-starfield__count {
    top: 18px;
    right: 18px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-starfield__canvas,
  .banner-starfield__fallback {
    transition: none;
  }
}

/* Drink Coffee case study */
body.project-page:has(main[data-project-page="coffee"]) {
  color: #4b2e1f;
  background: #f6f3ee;
}

.project-detail-hero--coffee {
  --project-hero-radius: 18px;
  --project-hero-top: 132px;
  --project-hero-gap: clamp(32px, 3vw, 64px);
  background: #f6f3ee;
}

.project-detail-image--coffee {
  height: calc(100svh - var(--project-hero-top) - var(--project-hero-gap));
  min-height: 520px;
  aspect-ratio: auto;
  background: #f6f3ee;
}

.project-detail-image--coffee img {
  object-fit: cover;
  object-position: center;
}

.project-detail-heading--coffee {
  left: 48px;
  bottom: 28px;
  width: 440px;
  height: auto;
  min-width: 0;
  gap: 10px;
  padding: 44px 30px 24px;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: #4b2e1f;
  background: transparent;
}

.project-detail-heading--coffee p {
  color: rgba(75, 46, 31, 0.66);
}

.project-detail-heading--coffee h1 {
  font-size: 46px;
  line-height: 1;
  font-weight: 780;
}

.coffee-hero-mobile {
  display: none;
}

.coffee-case {
  --coffee-main: #f6f3ee;
  --coffee-ink: #4b2e1f;
  --coffee-warm: #f4e6a6;
  --coffee-cool: #dcecef;
  --coffee-muted: rgba(75, 46, 31, 0.7);
  --coffee-line: rgba(75, 46, 31, 0.18);
  --coffee-soft: color-mix(in srgb, var(--coffee-cool) 58%, var(--coffee-main));
  --coffee-accent: #4b2e1f;
  color: var(--coffee-ink);
  background: var(--coffee-main);
}

.coffee-case-map {
  position: sticky;
  z-index: 12;
  top: 96px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0 6.5%;
  background: rgba(246, 243, 238, 0.95);
  border-top: 1px solid var(--coffee-line);
  border-bottom: 1px solid var(--coffee-line);
  backdrop-filter: blur(14px);
}

.coffee-case-map a {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid var(--coffee-line);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 620;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.coffee-case-map a:first-child {
  border-left: 1px solid var(--coffee-line);
}

.coffee-case-map a:hover,
.coffee-case-map a:focus-visible {
  color: var(--coffee-main);
  background: var(--coffee-ink);
}

.coffee-case-map a:focus-visible {
  outline: 0;
}

.coffee-case-map span {
  display: block;
  margin-bottom: 5px;
  color: var(--coffee-muted);
  font-size: 10px;
  font-weight: 700;
}

.coffee-case-map a:hover span,
.coffee-case-map a:focus-visible span {
  color: rgba(246, 243, 238, 0.72);
}

.coffee-section {
  padding: 112px 6.5%;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-section:nth-of-type(odd) {
  background: var(--coffee-soft);
}

.coffee-section:nth-of-type(4n + 2) {
  background: color-mix(in srgb, var(--coffee-warm) 38%, var(--coffee-main));
}

.coffee-chapter {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: baseline;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-chapter[id] {
  scroll-margin-top: 188px;
}

.coffee-chapter > span {
  color: var(--coffee-accent);
  font-size: 18px;
  font-weight: 760;
}

.coffee-chapter h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: 0;
}

.coffee-reveal {
  opacity: 1;
  transform: none;
}

.coffee-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.coffee-overview-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 9%;
  align-items: end;
  padding: 92px 0 104px;
}

.coffee-overview-lead h3,
.coffee-problem-copy h3,
.coffee-visual-layout h3,
.coffee-ai-statement h3,
.coffee-boundary-layout > h3 {
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

.coffee-overview-lead p,
.coffee-ai-statement > p {
  margin: 0;
  max-width: 660px;
  color: var(--coffee-muted);
  font-size: 18px;
  line-height: 1.85;
}

.coffee-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 8%;
  align-items: stretch;
}

.coffee-overview-grid dl {
  margin: 0;
  border-top: 1px solid var(--coffee-line);
}

.coffee-overview-grid dl > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-overview-grid dt,
.coffee-overview-grid dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.coffee-overview-grid dt {
  color: var(--coffee-muted);
}

.coffee-overview-grid dd {
  font-weight: 620;
}

.coffee-overview-output {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 18px;
  padding: 28px;
  color: var(--coffee-main);
  background: var(--coffee-ink);
  border-radius: 6px;
}

.coffee-overview-output span {
  grid-column: 1 / -1;
  color: rgba(246, 243, 238, 0.66);
  font-size: 12px;
}

.coffee-overview-output strong {
  align-self: center;
  font-size: 76px;
  line-height: 1;
  font-weight: 760;
}

.coffee-overview-output p {
  align-self: end;
  margin: 36px 0 0;
  color: rgba(246, 243, 238, 0.8);
  font-size: 14px;
  line-height: 1.75;
}

.coffee-problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 8%;
  align-items: center;
  padding: 92px 0 74px;
}

.coffee-problem-copy ul {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--coffee-line);
}

.coffee-problem-copy li {
  padding: 17px 0;
  border-bottom: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 16px;
  line-height: 1.55;
}

.coffee-problem-comparison {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 58px minmax(220px, 1.25fr);
  align-items: center;
  min-height: 460px;
}

.coffee-problem-comparison > div {
  display: grid;
  align-content: center;
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--coffee-line);
  border-radius: 6px;
  background: var(--coffee-main);
}

.coffee-problem-comparison > div.is-current {
  min-height: 420px;
  color: var(--coffee-main);
  background: var(--coffee-ink);
  border-color: var(--coffee-ink);
}

.coffee-problem-comparison > span {
  color: var(--coffee-accent);
  font-size: 36px;
  text-align: center;
}

.coffee-problem-comparison small {
  color: var(--coffee-muted);
  font-size: 12px;
}

.coffee-problem-comparison .is-current small {
  color: rgba(246, 243, 238, 0.66);
}

.coffee-problem-comparison strong {
  margin-top: 38px;
  font-size: 70px;
  line-height: 1;
  font-weight: 740;
}

.coffee-problem-comparison em {
  margin-left: 5px;
  font-size: 15px;
  font-style: normal;
}

.coffee-problem-comparison p {
  margin: 12px 0 0;
  color: var(--coffee-muted);
  font-size: 15px;
}

.coffee-problem-comparison .is-current p {
  color: rgba(246, 243, 238, 0.74);
}

.coffee-problem-comparison i {
  width: max-content;
  margin-top: 62px;
  padding-top: 10px;
  border-top: 2px solid var(--coffee-accent);
  color: var(--coffee-accent);
  font-size: 20px;
  font-style: normal;
  font-weight: 720;
}

.coffee-core-shift {
  margin: 0;
  padding: 32px 0 0 44%;
  border-top: 1px solid var(--coffee-line);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 670;
}

.coffee-hypotheses {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--coffee-line);
  border-left: 1px solid var(--coffee-line);
}

.coffee-hypotheses li {
  display: grid;
  min-height: 430px;
  padding: 32px;
  border-right: 1px solid var(--coffee-line);
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-hypotheses li:nth-child(2) {
  color: var(--coffee-ink);
  background: var(--coffee-cool);
}

.coffee-hypotheses span {
  color: var(--coffee-accent);
  font-size: 13px;
  font-weight: 760;
}

.coffee-hypotheses h3 {
  margin: 50px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.coffee-hypotheses p {
  margin: 26px 0 0;
  color: var(--coffee-muted);
  font-size: 15px;
  line-height: 1.8;
}

.coffee-hypotheses li:nth-child(2) p {
  color: var(--coffee-muted);
}

.coffee-hypotheses em {
  align-self: end;
  margin-top: 42px;
  color: var(--coffee-muted);
  font-size: 12px;
  font-style: normal;
}

.coffee-hypotheses li:nth-child(2) em {
  color: var(--coffee-muted);
}

.coffee-journey > h3 {
  margin: 72px 0 0;
  max-width: 760px;
  font-size: 38px;
  line-height: 1.25;
}

.coffee-journey-path {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 86px 0 0;
  padding: 0;
}

.coffee-journey-path::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--coffee-ink);
}

.coffee-journey-path li {
  position: relative;
  padding: 42px 20px 0 0;
}

.coffee-journey-path li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 4px solid var(--coffee-main);
  border-radius: 50%;
  background: var(--coffee-accent);
  box-shadow: 0 0 0 1px var(--coffee-ink);
}

.coffee-journey-path span {
  color: var(--coffee-muted);
  font-size: 11px;
}

.coffee-journey-path strong {
  display: block;
  margin-top: 15px;
  font-size: 17px;
}

.coffee-journey-path p {
  margin: 9px 0 0;
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.55;
}

.coffee-architecture {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 78px;
  border-top: 1px solid var(--coffee-line);
  border-left: 1px solid var(--coffee-line);
}

.coffee-architecture span {
  padding: 26px 22px;
  border-right: 1px solid var(--coffee-line);
  border-bottom: 1px solid var(--coffee-line);
  font-size: 18px;
  font-weight: 650;
}

.coffee-home-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.66fr) minmax(0, 1.34fr);
  gap: 9%;
  align-items: center;
  padding: 82px 0 44px;
}

.coffee-home-visual {
  height: min(62svh, 680px);
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: transparent;
}

.coffee-home-visual video {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.coffee-home-copy {
  min-width: 0;
}

.coffee-home-priority {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--coffee-line);
}

.coffee-home-priority li {
  display: grid;
  grid-template-columns: 58px minmax(210px, 0.75fr) minmax(260px, 1.25fr);
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-home-priority span {
  color: var(--coffee-accent);
  font-size: 12px;
  font-weight: 760;
}

.coffee-home-priority strong {
  font-size: 18px;
  line-height: 1.45;
}

.coffee-home-priority p {
  margin: 0;
  color: var(--coffee-muted);
  font-size: 14px;
  line-height: 1.7;
}

.coffee-home-note {
  margin: 24px 0 0;
  padding: 0;
  color: var(--coffee-muted);
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

.coffee-route-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 76px;
}

.coffee-route-pair article {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--coffee-line);
  border-radius: 6px;
  background: var(--coffee-main);
}

.coffee-route-pair article:last-child {
  color: var(--coffee-ink);
  background: var(--coffee-warm);
  border-color: var(--coffee-line);
}

.coffee-route-pair article > span {
  color: var(--coffee-muted);
  font-size: 11px;
  font-weight: 650;
}

.coffee-route-pair article:last-child > span {
  color: var(--coffee-muted);
}

.coffee-route-pair h3 {
  margin: 56px 0 46px;
  font-size: 34px;
}

.coffee-route-pair ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  counter-reset: route-step;
}

.coffee-route-pair li {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.45;
  counter-increment: route-step;
}

.coffee-route-pair li::before {
  content: "0" counter(route-step);
  position: absolute;
  top: -22px;
  left: 0;
  color: var(--coffee-accent);
  font-size: 10px;
}

.coffee-add-decisions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 60px;
}

.coffee-add-decisions p {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 14px;
  line-height: 1.75;
}

.coffee-add-decisions strong,
.coffee-trend-insights strong {
  display: block;
  margin-bottom: 10px;
  color: var(--coffee-ink);
  font-size: 15px;
}

.coffee-correction-frames {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

.coffee-correction-frames article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(108px, 1fr) minmax(138px, 158px);
  gap: clamp(12px, 1.4vw, 24px);
  align-items: center;
  min-height: 390px;
  padding: 22px;
  border: 1px solid var(--coffee-line);
  border-radius: 6px;
  background: var(--coffee-main);
  overflow: hidden;
}

.coffee-correction-frames article:nth-child(2) {
  background: var(--coffee-cool);
}

.coffee-correction-frames article:nth-child(3) {
  background: var(--coffee-warm);
}

.coffee-correction-copy {
  align-self: stretch;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px 0 14px;
}

.coffee-correction-copy span {
  color: var(--coffee-accent);
  font-size: 12px;
  font-weight: 760;
}

.coffee-correction-copy strong {
  margin-top: auto;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.2;
}

.coffee-correction-copy p {
  min-height: 5.25em;
  margin: 14px 0 0;
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.75;
}

.coffee-phone-mockup {
  position: relative;
  width: 100%;
  max-width: 158px;
  aspect-ratio: 1206 / 2622;
  justify-self: end;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(75, 46, 31, 0.34);
  border-radius: 27px;
  background: var(--coffee-ink);
}

.coffee-phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}

.coffee-phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.01) contrast(1.025) saturate(0.94);
}

.coffee-correction > p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--coffee-muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 821px) {
  .coffee-section.coffee-correction {
    padding-top: 46px;
    padding-bottom: 30px;
  }

  .coffee-section.coffee-correction .coffee-chapter {
    padding-bottom: 24px;
  }
}

.coffee-model-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 8%;
  align-items: center;
  margin-top: 78px;
}

.coffee-formula {
  padding: 36px 0;
}

.coffee-formula > span {
  color: var(--coffee-muted);
  font-size: 13px;
}

.coffee-formula p {
  margin: 32px 0 0;
  font-size: 38px;
  line-height: 1.38;
  font-weight: 700;
}

.coffee-formula sup {
  color: var(--coffee-accent);
  font-size: 17px;
}

.coffee-formula small {
  display: block;
  max-width: 570px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.8;
}

.coffee-decay-chart {
  position: relative;
  min-height: 430px;
  padding: 38px 34px 26px;
  border: 1px solid var(--coffee-line);
  border-radius: 6px;
  background: var(--coffee-main);
}

.coffee-decay-chart svg {
  width: 100%;
  height: 310px;
  display: block;
  overflow: visible;
}

.coffee-decay-chart .grid {
  fill: none;
  stroke: rgba(75, 46, 31, 0.12);
  stroke-width: 1;
}

.coffee-decay-chart .curve {
  fill: none;
  stroke: var(--coffee-accent);
  stroke-linecap: round;
  stroke-width: 6;
}

.coffee-decay-chart circle {
  fill: var(--coffee-ink);
  stroke: var(--coffee-main);
  stroke-width: 3;
}

.coffee-decay-chart > span {
  position: absolute;
  color: var(--coffee-muted);
  font-size: 10px;
  font-weight: 650;
}

.coffee-chart-y {
  top: 24px;
  left: 28px;
}

.coffee-chart-x {
  right: 24px;
  bottom: 20px;
}

.coffee-decay-chart > div {
  display: flex;
  justify-content: space-between;
  padding: 0 18px 0 10px;
  color: var(--coffee-muted);
  font-size: 11px;
}

.coffee-trends-layout {
  margin-top: 76px;
}

.coffee-history-demo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 28px;
  overflow: hidden;
  border-radius: 16px;
  color: #1a1a1a;
  background: #fafafa;
  box-shadow: 0 16px 48px rgba(27, 27, 27, 0.08);
}

.coffee-history-demo button {
  color: inherit;
  font: inherit;
}

.coffee-history-demo button:focus {
  outline: none;
}

.coffee-history-demo button:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.coffee-history-demo__header,
.coffee-calendar-toolbar,
.coffee-trend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coffee-history-demo__header h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 740;
}

.coffee-history-demo__header p {
  margin: 7px 0 0;
  color: #808080;
  font-size: 15px;
}

.coffee-history-demo__header > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
}

.coffee-history-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  background: #fff;
}

.coffee-history-tabs button {
  position: relative;
  height: 48px;
  border: 0;
  background: transparent;
  color: #999;
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
}

.coffee-history-tabs button[aria-selected="true"] {
  color: #1a1a1a;
}

.coffee-history-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #1a1a1a;
}

.coffee-history-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.coffee-history-panel {
  min-width: 0;
  padding: 20px;
  border-radius: 16px;
  background: #f7f7f7;
}

.coffee-calendar-toolbar {
  max-width: 480px;
  margin: 0 auto 18px;
}

.coffee-calendar-toolbar button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.coffee-calendar-toolbar button:disabled {
  opacity: 0.3;
  cursor: default;
}

.coffee-calendar-toolbar strong {
  padding: 9px 17px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  font-weight: 650;
}

.coffee-calendar-weekdays,
.coffee-calendar-grid {
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.coffee-calendar-weekdays {
  margin-bottom: 7px;
}

.coffee-calendar-weekdays span {
  color: #808080;
  text-align: center;
  font-size: 12px;
}

.coffee-calendar-grid {
  gap: 6px 5px;
}

.coffee-calendar-grid > span {
  width: 34px;
  aspect-ratio: 1;
  justify-self: center;
}

.coffee-calendar-day {
  position: relative;
  width: 34px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 50%;
  background: var(--day-color, #fbfbfb);
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.coffee-calendar-day:hover,
.coffee-calendar-day:focus-visible {
  transform: translateY(-2px);
}

.coffee-calendar-day.is-selected {
  box-shadow: 0 0 0 2px #1a1a1a;
}

.coffee-calendar-day[data-level="3"],
.coffee-calendar-day[data-level="4"] {
  color: #fff;
}

.coffee-calendar-legend {
  width: fit-content;
  max-width: 100%;
  margin: 17px auto 0;
  padding: 8px 11px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.coffee-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #808080;
  font-size: 11px;
}

.coffee-calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--legend);
}

.coffee-day-detail,
.coffee-app-chart,
.coffee-trend-stats,
.coffee-trend-advice {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.coffee-day-detail {
  max-width: 720px;
  min-height: 104px;
  margin: 16px auto 0;
  padding: 15px 16px;
}

.coffee-day-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
}

.coffee-day-detail__head strong {
  font-size: 15px;
}

.coffee-day-detail__head span {
  min-width: 30px;
  height: 30px;
  padding-inline: 8px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #262626;
  font-size: 12px;
  font-weight: 650;
}

.coffee-day-record {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0 0;
  border-bottom: 1px solid #ededed;
}

.coffee-day-record:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.coffee-day-record > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #333;
  font-style: normal;
  font-size: 17px;
}

.coffee-day-record p,
.coffee-day-record strong,
.coffee-day-record span {
  margin: 0;
}

.coffee-day-record p {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.coffee-day-record span {
  display: block;
  margin-top: 3px;
  color: #808080;
  font-size: 11px;
}

.coffee-day-record > strong {
  font-size: 14px;
}

.coffee-period-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.coffee-period-tabs button {
  width: 80px;
  height: 36px;
  border: 0;
  border-radius: 20px;
  color: #4d4d4d;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 15px;
}

.coffee-period-tabs button.is-active {
  color: #fff;
  background: #000;
}

.coffee-trend-summary {
  margin: 18px 0 12px;
}

.coffee-trend-summary > span {
  color: #808080;
  font-size: 15px;
}

.coffee-trend-summary > strong {
  font-size: 19px;
}

.coffee-trend-summary b,
.coffee-trend-stats b {
  font: inherit;
}

.coffee-app-chart {
  margin: 0;
  padding: 12px 12px 7px;
}

.coffee-app-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.coffee-app-chart__grid line {
  stroke: #ededed;
  stroke-width: 1;
}

.coffee-app-chart__area {
  fill: rgba(26, 26, 26, 0.1);
}

.coffee-app-chart__line {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.coffee-app-chart__points circle {
  fill: #fff;
  stroke: #1a1a1a;
  stroke-width: 3;
}

.coffee-app-chart__labels text {
  fill: #999;
  font-size: 11px;
  text-anchor: middle;
}

.coffee-trend-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  padding: 15px;
}

.coffee-trend-stats > div + div {
  padding-left: 20px;
  border-left: 1px solid #e6e6e6;
}

.coffee-trend-stats span {
  display: block;
  margin-bottom: 8px;
  color: #808080;
  font-size: 13px;
}

.coffee-trend-stats strong {
  font-size: 17px;
}

.coffee-trend-advice {
  margin-top: 14px;
  padding: 15px;
}

.coffee-trend-advice strong {
  font-size: 15px;
}

.coffee-trend-advice p {
  margin: 6px 0 0;
  color: #808080;
  font-size: 13px;
  line-height: 1.65;
}

@media (min-width: 821px) {
  .coffee-history-demo {
    padding: 18px 22px 20px;
  }

  .coffee-history-demo__header h3 {
    font-size: 25px;
  }

  .coffee-history-demo__header p {
    margin-top: 4px;
    font-size: 13px;
  }

  .coffee-history-demo__header > span {
    width: 36px;
    height: 36px;
  }

  .coffee-history-tabs {
    display: none;
  }

  .coffee-history-panels {
    margin-top: 14px;
  }

  .coffee-history-panel[hidden] {
    display: block;
  }

  .coffee-history-panel {
    padding: 14px;
  }

  .coffee-calendar-toolbar {
    margin-bottom: 12px;
  }

  .coffee-calendar-toolbar button {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .coffee-calendar-toolbar strong {
    padding: 7px 14px;
    font-size: 15px;
  }

  .coffee-calendar-grid {
    gap: 4px;
  }

  .coffee-calendar-day {
    width: 24px;
    font-size: 11px;
  }

  .coffee-calendar-grid > span {
    width: 24px;
  }

  .coffee-calendar-legend {
    margin-top: 11px;
    padding: 6px 9px;
    gap: 6px 10px;
  }

  .coffee-calendar-legend span {
    font-size: 10px;
  }

  .coffee-day-detail {
    min-height: 82px;
    margin-top: 11px;
    padding: 11px 13px;
  }

  .coffee-day-detail__head {
    padding-bottom: 7px;
  }

  .coffee-day-detail__head strong {
    font-size: 13px;
  }

  .coffee-day-detail__head span {
    height: 24px;
    font-size: 10px;
  }

  .coffee-day-record {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    padding-top: 7px;
  }

  .coffee-day-record > i {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .coffee-day-record p,
  .coffee-day-record > strong {
    font-size: 12px;
  }

  .coffee-day-record span {
    font-size: 10px;
  }

  .coffee-period-tabs button {
    width: 66px;
    height: 30px;
    font-size: 13px;
  }

  .coffee-trend-summary {
    margin: 12px 0 8px;
  }

  .coffee-trend-summary > span {
    font-size: 12px;
  }

  .coffee-trend-summary > strong {
    font-size: 16px;
  }

  .coffee-app-chart {
    padding: 8px 10px 4px;
  }

  .coffee-app-chart svg {
    height: 118px;
  }

  .coffee-trend-stats {
    margin-top: 9px;
    padding: 11px;
  }

  .coffee-trend-stats span {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .coffee-trend-stats strong {
    font-size: 14px;
  }

  .coffee-trend-advice {
    margin-top: 9px;
    padding: 11px;
  }

  .coffee-trend-advice strong {
    font-size: 13px;
  }

  .coffee-trend-advice p {
    font-size: 11px;
    line-height: 1.5;
  }
}

.coffee-trend-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 52px;
}

.coffee-trend-insights p {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 821px) {
  .coffee-section.coffee-trends {
    padding-top: 38px;
    padding-bottom: 20px;
  }

  .coffee-section.coffee-trends .coffee-chapter {
    padding-bottom: 22px;
  }

  .coffee-trends-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.28fr);
    gap: clamp(30px, 3vw, 52px);
    align-items: stretch;
    margin-top: 20px;
  }

  .coffee-history-scale {
    --coffee-history-scale: 0.84;
    position: relative;
    min-width: 0;
    height: 430px;
  }

  .coffee-history-scale .coffee-history-demo {
    width: calc(100% / var(--coffee-history-scale));
    max-width: none;
    margin: 0;
    transform: scale(var(--coffee-history-scale));
    transform-origin: left top;
  }

  .coffee-trends-layout .coffee-trend-insights {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
  }

  .coffee-trends-layout .coffee-trend-insights p {
    display: grid;
    align-content: center;
    padding: 18px 0;
  }
}

.coffee-visual-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: end;
  min-height: min(62svh, 560px);
  margin-top: 42px;
}

.coffee-brand-system {
  align-self: end;
  margin-bottom: 14px;
}

.coffee-brand-system > h3 {
  font-size: 44px;
  line-height: 1.26;
  white-space: nowrap;
}

.coffee-visual-caption {
  max-width: 520px;
  margin: 44px 0 0;
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.7;
}

.coffee-onboarding-visual {
  width: min(100%, 780px);
  margin: 0;
  justify-self: end;
  border-radius: 6px;
}

.coffee-onboarding-visual video {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(58svh, 560px);
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 6px;
}

@media (min-width: 821px) {
  .coffee-section.coffee-visual {
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 34px;
  }

  .coffee-section.coffee-visual .coffee-chapter {
    padding-bottom: 26px;
  }

  .coffee-section.coffee-visual .coffee-visual-layout {
    min-height: min(50svh, 450px);
    margin-top: 34px;
  }

  .coffee-section.coffee-visual .coffee-onboarding-visual video {
    max-height: min(50svh, 450px);
  }

  .coffee-section.coffee-visual .coffee-brand-system {
    margin-bottom: 8px;
  }

  .coffee-section.coffee-visual .coffee-visual-caption {
    margin-top: 30px;
  }
}

.coffee-ai-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 9%;
  align-items: end;
  margin-top: 72px;
}

.coffee-ai-phases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 84px 0 0;
  padding: 0;
  border-top: 1px solid var(--coffee-line);
  border-left: 1px solid var(--coffee-line);
}

.coffee-ai-phases li {
  min-height: 430px;
  padding: 28px;
  border-right: 1px solid var(--coffee-line);
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-ai-phases li:nth-child(even) {
  background: var(--coffee-cool);
}

.coffee-ai-phases span {
  color: var(--coffee-accent);
  font-size: 12px;
  font-weight: 760;
}

.coffee-ai-phases h3 {
  margin: 46px 0 58px;
  font-size: 29px;
}

.coffee-ai-phases p {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.75;
}

.coffee-ai-phases p strong {
  display: block;
  margin-bottom: 8px;
  color: var(--coffee-ink);
  font-size: 11px;
}

.coffee-judgement-table {
  margin-top: 40px;
}

.coffee-judgement-head,
.coffee-judgement-table article {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.coffee-judgement-head {
  padding: 16px 0;
  border-bottom: 1px solid var(--coffee-line);
  color: var(--coffee-muted);
  font-size: 11px;
  font-weight: 650;
}

.coffee-judgement-table article {
  padding: 30px 0;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-judgement-table article > span {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 670;
}

.coffee-judgement-table article p {
  margin: 0;
  color: var(--coffee-muted);
  font-size: 13px;
  line-height: 1.7;
}

.coffee-judgement-table article p:last-child {
  color: var(--coffee-ink);
  font-weight: 620;
}

.coffee-boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 9%;
  align-items: start;
  margin-top: 78px;
}

.coffee-boundary-layout dl {
  margin: 0;
  border-top: 1px solid var(--coffee-line);
}

.coffee-boundary-layout dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--coffee-line);
}

.coffee-boundary-layout dt,
.coffee-boundary-layout dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.coffee-boundary-layout dt {
  font-weight: 670;
}

.coffee-boundary-layout dd {
  color: var(--coffee-muted);
}

.coffee-delivery {
  color: #fff;
  background: var(--coffee-ink) !important;
}

.coffee-delivery .coffee-chapter {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.coffee-delivery .coffee-chapter h2 {
  color: #fff;
}

.coffee-delivery-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9%;
  margin-top: 76px;
}

.coffee-delivery-columns h3 {
  margin: 0 0 34px;
  color: var(--coffee-accent);
  font-size: 20px;
}

.coffee-delivery-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.coffee-delivery-columns li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

.coffee-delivery blockquote {
  margin: 112px 0 0;
  padding: 62px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 34px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 1180px) {
  .project-detail-heading--coffee {
    left: 36px;
    bottom: 24px;
    width: 410px;
  }

  .coffee-case-map {
    padding-inline: 24px;
  }

  .coffee-case-map a {
    padding-inline: 10px;
    font-size: 11px;
  }

  .coffee-section {
    padding: 88px 5%;
  }

  .coffee-overview-lead h3,
  .coffee-problem-copy h3,
  .coffee-visual-layout h3,
  .coffee-ai-statement h3,
  .coffee-boundary-layout > h3 {
    font-size: 42px;
  }

  .coffee-home-priority li {
    grid-template-columns: 44px minmax(180px, 0.7fr) minmax(220px, 1.3fr);
  }

  .coffee-ai-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coffee-ai-phases li {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .project-detail-hero--coffee {
    --project-hero-top: 92px;
    --project-hero-gap: 18px;
    --project-hero-radius: 14px;
    padding-inline: 18px;
  }

  .project-detail-image--coffee {
    height: calc(100svh - var(--project-hero-top) - var(--project-hero-gap));
    min-height: 430px;
    aspect-ratio: auto;
  }

  .project-detail-image--coffee > img {
    display: none;
  }

  .project-detail-heading--coffee {
    display: none;
  }

  .coffee-hero-mobile {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 28px 22px 0;
    overflow: hidden;
    background: #f6f3ee;
  }

  .coffee-hero-mobile-copy {
    position: relative;
    z-index: 2;
    max-width: 330px;
  }

  .coffee-hero-mobile-copy span {
    color: rgba(75, 46, 31, 0.68);
    font-size: 10px;
    font-weight: 650;
  }

  .coffee-hero-mobile-copy h1 {
    margin: 16px 0 0;
    font-size: 40px;
    line-height: 1;
    font-weight: 780;
    letter-spacing: 0;
  }

  .coffee-hero-mobile-copy p {
    max-width: 285px;
    margin: 18px 0 0;
    color: rgba(75, 46, 31, 0.76);
    font-size: 13px;
    line-height: 1.65;
  }

  .coffee-hero-mobile-phones {
    position: relative;
    min-height: 0;
    margin-top: 24px;
  }

  .coffee-hero-mobile-phones figure {
    position: absolute;
    bottom: -102px;
    width: 188px;
    height: 406px;
    margin: 0;
    overflow: hidden;
    border: 4px solid #4b2e1f;
    border-radius: 28px;
    background: #f6f3ee;
    box-shadow: 0 18px 36px rgba(75, 46, 31, 0.12);
  }

  .coffee-hero-mobile-phones figure:first-child {
    left: 4px;
  }

  .coffee-hero-mobile-phones figure:last-child {
    right: -8px;
    bottom: -76px;
  }

  .coffee-hero-mobile-phones img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
  }

  .coffee-case-map {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 14px;
  }

  .coffee-case-map a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--coffee-line);
    font-size: 11px;
  }

  .coffee-case-map a:nth-child(odd) {
    border-left: 1px solid var(--coffee-line);
  }

  .coffee-section {
    padding: 70px 20px;
  }

  .coffee-chapter {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-bottom: 24px;
  }

  .coffee-chapter[id] {
    scroll-margin-top: 112px;
  }

  .coffee-chapter > span {
    font-size: 14px;
  }

  .coffee-chapter h2 {
    font-size: 25px;
    line-height: 1.28;
  }

  .coffee-overview-lead,
  .coffee-overview-grid,
  .coffee-problem-layout,
  .coffee-home-layout,
  .coffee-model-layout,
  .coffee-visual-layout,
  .coffee-ai-statement,
  .coffee-boundary-layout {
    grid-template-columns: 1fr;
  }

  .coffee-overview-lead {
    gap: 34px;
    padding: 58px 0 64px;
  }

  .coffee-overview-lead h3,
  .coffee-problem-copy h3,
  .coffee-visual-layout h3,
  .coffee-ai-statement h3,
  .coffee-boundary-layout > h3 {
    font-size: 34px;
    line-height: 1.18;
  }

  .coffee-brand-system > h3 {
    white-space: normal;
  }

  .coffee-overview-lead p,
  .coffee-ai-statement > p {
    font-size: 16px;
  }

  .coffee-overview-grid {
    gap: 36px;
  }

  .coffee-overview-grid dl > div {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
  }

  .coffee-problem-layout {
    gap: 44px;
    padding: 58px 0 48px;
  }

  .coffee-problem-comparison {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .coffee-problem-comparison > span {
    padding: 12px 0;
    transform: rotate(90deg);
  }

  .coffee-problem-comparison > div,
  .coffee-problem-comparison > div.is-current {
    min-height: 260px;
  }

  .coffee-core-shift,
  .coffee-home-note {
    font-size: 20px;
  }

  .coffee-hypotheses,
  .coffee-architecture,
  .coffee-add-decisions,
  .coffee-correction-frames,
  .coffee-trend-insights,
  .coffee-ai-phases,
  .coffee-delivery-columns {
    grid-template-columns: 1fr;
  }

  .coffee-hypotheses li {
    min-height: 330px;
  }

  .coffee-journey > h3 {
    font-size: 30px;
  }

  .coffee-journey-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 16px;
  }

  .coffee-journey-path::before {
    display: none;
  }

  .coffee-journey-path li {
    padding-top: 28px;
    border-top: 1px solid var(--coffee-line);
  }

  .coffee-journey-path li::before {
    top: -7px;
  }

  .coffee-home-layout {
    gap: 48px;
  }

  .coffee-home-visual {
    width: min(100%, 380px);
    height: min(72svh, 620px);
    min-height: 360px;
    margin-inline: auto;
  }

  .coffee-home-priority li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .coffee-home-priority p {
    grid-column: 2;
  }

  .coffee-route-pair,
  .coffee-route-pair ol {
    gap: 14px;
  }

  .coffee-correction-frames article:nth-child(2),
  .coffee-correction-frames article:nth-child(3) {
    transform: none;
  }

  .coffee-correction-frames {
    gap: 22px;
    margin-top: 38px;
  }

  .coffee-correction-frames article {
    grid-template-columns: minmax(0, 1fr) minmax(142px, 176px);
    min-height: 380px;
    padding: 22px 24px;
  }

  .coffee-correction-copy {
    padding-block: 10px;
  }

  .coffee-correction-copy strong {
    font-size: 24px;
  }

  .coffee-correction-copy p {
    min-height: 0;
  }

  .coffee-phone-mockup {
    max-width: 176px;
  }

  .coffee-correction > p {
    margin-top: 30px;
  }

  .coffee-model-layout {
    gap: 20px;
  }

  .coffee-formula p {
    font-size: 29px;
  }

  .coffee-decay-chart {
    min-height: 330px;
    padding: 22px 14px;
  }

  .coffee-decay-chart svg {
    height: 250px;
  }

  .coffee-history-demo {
    padding: 24px 18px 28px;
  }

  .coffee-history-scale {
    height: auto;
  }

  .coffee-trends-layout {
    margin-top: 46px;
  }

  .coffee-history-panels {
    display: block;
    margin-top: 0;
  }

  .coffee-history-panel {
    margin-top: 18px;
    padding: 18px 14px;
  }

  .coffee-history-demo__header h3 {
    font-size: 25px;
  }

  .coffee-calendar-grid {
    gap: 8px 4px;
  }

  .coffee-calendar-day {
    width: 38px;
  }

  .coffee-calendar-grid > span {
    width: 38px;
  }

  .coffee-day-detail {
    padding: 17px;
  }

  .coffee-trend-stats strong {
    font-size: 17px;
  }

  .coffee-onboarding-visual {
    margin-top: 20px;
    transform: none;
  }

  .coffee-brand-system {
    margin-bottom: 0;
  }

  .coffee-visual-layout {
    min-height: 0;
    gap: 34px;
    margin-top: 46px;
  }

  .coffee-visual-caption {
    margin-top: 28px;
    font-size: 12px;
  }

  .coffee-ai-statement {
    gap: 30px;
  }

  .coffee-ai-phases li {
    min-height: 330px;
  }

  .coffee-judgement-head {
    display: none;
  }

  .coffee-judgement-table article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .coffee-judgement-table article p {
    padding-left: 18px;
    border-left: 2px solid var(--coffee-line);
  }

  .coffee-judgement-table article p:last-child {
    border-left-color: var(--coffee-accent);
  }

  .coffee-boundary-layout {
    gap: 46px;
  }

  .coffee-boundary-layout dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .coffee-delivery-columns {
    gap: 58px;
  }

  .coffee-delivery blockquote {
    margin-top: 78px;
    padding-top: 46px;
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
