/* ==========================================================================
   Page-level styles
   ========================================================================== */

/* ===== Product detail pages ===== */
.product-detail-hero {
  --product-accent: var(--color-brand-400);
  --product-accent-soft: var(--color-brand-100);
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-3xl);
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--product-accent-soft) 46%, transparent), transparent 33%),
    linear-gradient(145deg, #fff 0%, #f4f8fd 58%, #e9f2fb 100%);
}
.product-detail-hero--warm {
  --product-accent: #d86f54;
  --product-accent-soft: #f4c7b8;
}
.product-detail-hero--cold {
  --product-accent: #557fae;
  --product-accent-soft: #b9d2ed;
}
.product-detail-hero--neutral {
  --product-accent: #60686e;
  --product-accent-soft: #d2d7da;
}
.product-detail-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -160px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 22%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 36px color-mix(in srgb, var(--product-accent) 5%, transparent),
              0 0 0 72px color-mix(in srgb, var(--product-accent) 4%, transparent);
}
.product-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-xl);
}
.product-detail-hero__copy { position: relative; z-index: 1; }
.product-detail-hero__eyebrow {
  margin: var(--space-lg) 0 var(--space-xs);
  color: var(--product-accent);
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.product-detail-hero__code {
  margin: 0;
  color: var(--product-accent);
  font-family: var(--font-en);
  font-size: clamp(64px, 20vw, 120px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}
.product-detail-hero__name {
  margin: var(--space-md) 0 0;
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1.3;
  letter-spacing: .03em;
}
.product-detail-hero__lead {
  max-width: 620px;
  margin: var(--space-md) 0 0;
  color: var(--color-ink-soft);
  font-size: var(--fs-body-lg);
  line-height: 1.8;
}
.product-detail-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  place-items: center;
}
.product-detail-hero__visual::before {
  content: "";
  position: absolute;
  width: min(76vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--product-accent-soft) 40%, white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 32px 80px rgba(54,87,128,.12);
}
.product-detail-hero__visual img {
  position: relative;
  width: min(76%, 360px);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(35,24,21,.15));
  transform: rotate(1.5deg);
}
.product-detail-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.product-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: var(--space-xl);
  overflow: hidden;
  border: 1px solid rgba(72,111,152,.14);
  border-radius: var(--radius-lg);
  background: rgba(72,111,152,.14);
  box-shadow: var(--shadow-sm);
}
.product-stat { padding: var(--space-md); background: rgba(255,255,255,.9); }
.product-stat__label {
  display: block;
  margin-bottom: 2px;
  color: var(--color-ink-muted);
  font-size: var(--fs-label-sm);
}
.product-stat__value {
  color: var(--product-accent, var(--color-brand-500));
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
}
.product-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.product-intro__index {
  color: var(--color-brand-200);
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}
.product-intro__body h2 {
  max-width: 780px;
  margin: 0 0 var(--space-md);
  color: var(--color-brand-500);
  font-size: var(--fs-headline-lg);
  line-height: 1.35;
}
.product-intro__body p { max-width: 720px; color: var(--color-ink-soft); font-size: var(--fs-body-lg); line-height: 1.85; }
.product-values { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.product-value {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.product-value__num {
  color: var(--color-brand-100);
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.product-value h3 { margin: var(--space-md) 0 var(--space-xs); font-size: var(--fs-headline-sm); }
.product-value p { color: var(--color-ink-soft); font-size: var(--fs-body-sm); line-height: 1.75; }
.recommendation-list { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.recommendation-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.82);
}
.recommendation-item > * { min-width: 0; overflow-wrap: anywhere; }
.recommendation-item__hair { font-size: var(--fs-body-md); font-weight: 700; }
.recommendation-item__advice { color: var(--color-ink-soft); font-size: var(--fs-body-sm); line-height: 1.7; }
.recommendation-item__tag {
  justify-self: start;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--color-brand-50);
  color: var(--color-brand-500);
  font-size: var(--fs-label-sm);
  font-weight: 700;
  white-space: normal;
}
.usage-flow { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.usage-step {
  min-height: 160px;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-brand-500);
  color: white;
}
.usage-step__num { color: var(--color-brand-100); font-family: var(--font-en); font-size: var(--fs-english-label); letter-spacing: .12em; }
.usage-step h3 { margin: var(--space-md) 0 var(--space-xs); font-size: var(--fs-headline-sm); }
.usage-step p { color: rgba(255,255,255,.76); font-size: var(--fs-body-sm); line-height: 1.7; }
.product-note {
  margin-top: var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: #202e36;
  color: white;
  text-align: center;
}
.product-note strong { display: block; font-size: var(--fs-headline-sm); line-height: 1.5; }
.product-note span { display: block; margin-top: var(--space-sm); color: rgba(255,255,255,.62); font-size: var(--fs-body-sm); }
.related-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.related-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: white;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.related-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-product__code { color: var(--color-brand-400); font-family: var(--font-en); font-size: 30px; font-weight: 700; }
.related-product__name { margin-top: var(--space-xs); color: var(--color-ink); font-size: var(--fs-body-sm); font-weight: 700; }
.related-product__link { margin-top: auto; padding-top: var(--space-lg); color: var(--color-brand-500); font-size: var(--fs-label-sm); }
@media (min-width: 641px) {
  .product-detail-hero { padding-top: calc(var(--header-height-desktop) + var(--space-xl)); }
  .product-detail-hero__actions { flex-direction: row; }
  .product-stats { grid-template-columns: repeat(4, 1fr); }
  .product-values { grid-template-columns: repeat(3, 1fr); }
  .recommendation-item { grid-template-columns: minmax(140px,.8fr) 2fr auto; align-items: center; }
  .recommendation-item__tag { justify-self: end; white-space: nowrap; }
  .usage-flow { grid-template-columns: repeat(2, 1fr); }
  .related-products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .product-detail-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); }
  .product-detail-hero__visual { min-height: 520px; }
  .product-intro { grid-template-columns: 120px 1fr; }
}

/* ===== Home ===== */
.home-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  color: var(--color-surface);
  overflow: hidden;
  isolation: isolate;
}
.home-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,24,21,0.05) 0%, rgba(54,87,128,0.55) 75%, rgba(54,87,128,0.85) 100%);
  z-index: -1;
}
.home-hero__inner {
  padding: var(--space-3xl) 0;
  max-width: 720px;
}
.home-hero__eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}
.home-hero__title {
  font-family: var(--font-zh);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0;
}
.home-hero__sub {
  margin-top: var(--space-md);
  font-size: var(--fs-body-md);
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
}
.home-hero__actions {
  margin-top: var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
@media (min-width: 641px) {
  .home-hero { min-height: 640px; }
  .home-hero__actions { flex-direction: row; }
}
@media (min-width: 1025px) {
  .home-hero { min-height: 720px; }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
}
.pillar {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.pillar__num {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  font-weight: 500;
  color: var(--color-brand-300);
  letter-spacing: 0.16em;
}
.pillar__title {
  font-family: var(--font-zh);
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: var(--space-xs) 0 var(--space-sm);
  color: var(--color-brand-500);
  letter-spacing: 0.06em;
}
.pillar__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
  line-height: 1.7;
}
@media (min-width: 641px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* Series cards */
.series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 1025px) {
  .series-grid { grid-template-columns: repeat(3, 1fr); }
}
.series-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.series-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.series-card__visual {
  aspect-ratio: 16 / 10;
  background: var(--color-brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-brand-300);
  position: relative;
  overflow: hidden;
}
.series-card__visual--master { background: var(--color-brand-500); color: var(--color-surface); }
.series-card__visual--soon { background: linear-gradient(180deg, var(--color-brand-100) 0%, var(--color-surface) 100%); color: var(--color-brand-500); }
.series-card__visual img {
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.series-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
}
.series-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
}
.series-card__title {
  font-family: var(--font-zh);
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}
.series-card__en {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  letter-spacing: 0.12em;
  color: var(--color-brand-300);
  text-transform: uppercase;
}
.series-card__desc {
  font-size: var(--fs-body-md);
  color: var(--color-ink-soft);
  flex: 1;
}

/* Master P highlight */
.mp-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 641px) {
  .mp-highlights { grid-template-columns: repeat(3, 1fr); }
}
.mp-highlight {
  background: var(--color-surface);
  border: 1px solid var(--color-brand-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.mp-highlight__num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-brand-400);
  line-height: 1;
  letter-spacing: 0.02em;
}
.mp-highlight__title {
  font-family: var(--font-zh);
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: var(--space-sm) 0;
}
.mp-highlight__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
}

/* Timeline mini (home) */
.timeline-mini {
  position: relative;
  padding-left: 24px;
}
.timeline-mini::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-brand-100);
}
.timeline-mini__item {
  position: relative;
  padding-bottom: var(--space-md);
}
.timeline-mini__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-brand-400);
}
.timeline-mini__year {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  letter-spacing: 0.12em;
  color: var(--color-brand-400);
  font-weight: 700;
}
.timeline-mini__title {
  font-size: var(--fs-body-md);
  font-weight: 500;
  margin-top: 4px;
}

/* Gallery preview (horizontal scroll on mobile) */
.gallery-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(-1 * var(--gutter-mobile));
  margin-right: calc(-1 * var(--gutter-mobile));
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}
.gallery-strip__item {
  flex: 0 0 240px;
  scroll-snap-align: start;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-alt);
}
.gallery-strip__item img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 1025px) {
  .gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .gallery-strip__item { flex: none; }
}

/* ===== About page ===== */
.about-hero {
  background: var(--color-brand-50);
  padding: var(--space-3xl) 0;
}
.about-hero .eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-400);
  margin-bottom: var(--space-md);
}
.about-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.02em;
}
.about-hero p {
  margin-top: var(--space-md);
  max-width: 640px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  font-size: var(--fs-body-lg);
}

/* Timeline (full) */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-brand-100);
}
.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 4px solid var(--color-brand-400);
}
.timeline__year {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-brand-500);
  margin-bottom: var(--space-xs);
}
.timeline__title {
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: 0 0 var(--space-xs);
}
.timeline__desc {
  color: var(--color-ink-soft);
  font-size: var(--fs-body-md);
  max-width: 560px;
}

/* Partner wall */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 641px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1025px) {
  .partners-grid { grid-template-columns: repeat(6, 1fr); }
}
.partner-cell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 96px;
  gap: 4px;
}
.partner-cell__region {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-300);
}
.partner-cell__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
}

/* Quote block */
.quote-block {
  background: var(--color-surface-alt);
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}
.quote-block__mark {
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  color: var(--color-brand-200);
  display: block;
  margin-bottom: var(--space-sm);
}
.quote-block__text {
  font-family: var(--font-zh);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
  color: var(--color-brand-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  max-width: 640px;
  margin: 0 auto var(--space-md);
}
.quote-block__cite {
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
  letter-spacing: 0.08em;
}

/* ===== Products overview ===== */
.products-quadrant {
  position: relative;
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  aspect-ratio: 4 / 3;
  max-width: 720px;
  margin: 0 auto;
}
.quad-axis-h, .quad-axis-v {
  position: absolute;
  background: var(--color-border-strong);
}
.quad-axis-h { left: 8%; right: 8%; top: 50%; height: 1px; }
.quad-axis-v { top: 8%; bottom: 8%; left: 50%; width: 1px; }
.quad-label {
  position: absolute;
  font-family: var(--font-zh);
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
  letter-spacing: 0.08em;
}
.quad-label--top    { top: 12px; left: 50%; transform: translateX(-50%); }
.quad-label--bottom { bottom: 12px; left: 50%; transform: translateX(-50%); }
.quad-label--left   { left: 12px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }
.quad-label--right  { right: 12px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }
.quad-dot {
  position: absolute;
  background: var(--color-surface);
  border: 2px solid var(--color-brand-400);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--font-zh);
  font-size: var(--fs-label-sm);
  font-weight: 700;
  color: var(--color-brand-500);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

/* ===== Master P series page ===== */
.mp-product-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md) 0 var(--space-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(-1 * var(--gutter-mobile));
  margin-right: calc(-1 * var(--gutter-mobile));
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}
.mp-product {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}
.mp-product:hover, .mp-product:focus-visible {
  border-color: var(--color-brand-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.mp-product__code {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-brand-500);
}
.mp-product__role {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  color: var(--color-brand-400);
  letter-spacing: 0.04em;
}
.mp-product__name {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
  margin-top: auto;
}

/* Product details panel */
.mp-detail-panel {
  background: var(--color-brand-50);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  display: none;
}
.mp-detail-panel.is-active {
  display: block;
}
.mp-detail-panel__code {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-brand-500);
  letter-spacing: 0.04em;
}
.mp-detail-panel__role {
  font-size: var(--fs-label-md);
  color: var(--color-brand-400);
  margin: var(--space-xs) 0 var(--space-md);
  letter-spacing: 0.04em;
}
.mp-detail-panel__desc {
  color: var(--color-ink-soft);
  line-height: 1.7;
}

/* Sub-series entries */
.sub-series-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 1025px) {
  .sub-series-grid { grid-template-columns: repeat(3, 1fr); }
}
.sub-series-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--duration-slow) var(--ease-out);
}
.sub-series-card:hover {
  border-color: var(--color-brand-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.sub-series-card__code {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-brand-400);
}
.sub-series-card__name {
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sub-series-card__desc {
  color: var(--color-ink-soft);
  font-size: var(--fs-body-sm);
  flex: 1;
}

/* ===== Sub-series page (TG / CA) ===== */
.radar-container {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.selling-points {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 641px) {
  .selling-points { grid-template-columns: repeat(3, 1fr); }
}
.selling-point {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.selling-point__num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-brand-400);
  text-transform: uppercase;
}
.selling-point__title {
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: var(--space-xs) 0 var(--space-sm);
}
.selling-point__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
  line-height: 1.7;
}

/* Spec table */
.spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(-1 * var(--gutter-mobile));
  margin-right: calc(-1 * var(--gutter-mobile));
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}
.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-body-sm);
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.spec-table thead th {
  background: var(--color-surface-alt);
  font-family: var(--font-zh);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-brand-500);
  font-size: var(--fs-label-md);
}
.spec-table tbody th {
  font-weight: 500;
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.spec-table td.num {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-brand-500);
}

/* ===== PH balancer page ===== */
.ph-feature {
  background: var(--color-brand-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}
.ph-feature__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--color-brand-400);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
}
.ph-feature__label {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  letter-spacing: 0.16em;
  color: var(--color-brand-300);
  text-transform: uppercase;
}
.ph-feature__title {
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: var(--space-xs) 0 var(--space-sm);
  color: var(--color-brand-500);
}

.formula-pair {
  background: var(--color-brand-500);
  color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
}
.formula-pair__label {
  font-family: var(--font-en);
  letter-spacing: 0.16em;
  font-size: var(--fs-english-label);
  opacity: 0.8;
}
.formula-pair__expr {
  font-family: var(--font-en);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: var(--space-md) 0;
}
.formula-pair__caption {
  font-size: var(--fs-body-sm);
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Hair condition picker ===== */
.picker-step {
  margin-bottom: var(--space-xl);
}
.picker-step__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.picker-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-brand-400);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
}
.picker-step__title {
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: 0;
}
.picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.picker-result {
  background: var(--color-brand-500);
  color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}
.picker-result__label {
  font-family: var(--font-en);
  letter-spacing: 0.16em;
  font-size: var(--fs-english-label);
  opacity: 0.85;
  text-transform: uppercase;
}
.picker-result__formula {
  font-family: var(--font-en);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  margin: var(--space-md) 0;
  letter-spacing: 0.04em;
}
.picker-result__desc {
  line-height: 1.7;
  opacity: 0.92;
}
.picker-result__actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
@media (min-width: 641px) {
  .picker-result__actions { flex-direction: row; }
}

/* ===== Coming Soon block ===== */
.cs-poster {
  background: linear-gradient(180deg, var(--color-brand-100) 0%, var(--color-surface) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cs-poster__watermark {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--color-brand-400);
  border: 1px solid var(--color-brand-400);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  opacity: 0.6;
  text-transform: uppercase;
}
.cs-poster__title {
  font-family: var(--font-en);
  font-size: clamp(48px, 12vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--color-brand-500);
  margin: var(--space-md) 0;
  text-transform: uppercase;
}
.cs-poster__zh {
  font-family: var(--font-zh);
  font-size: var(--fs-headline-sm);
  font-weight: 500;
  color: var(--color-brand-500);
  letter-spacing: 0.08em;
}
.cs-poster__kw {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.cs-poster__kw span {
  font-family: var(--font-zh);
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  color: var(--color-brand-500);
}

.audience-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 641px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}
.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}
.audience-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--color-brand-50);
  color: var(--color-brand-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
}
.audience-card__title {
  font-size: var(--fs-headline-sm);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
}
.audience-card__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
}

.progress-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
@media (min-width: 641px) {
  .progress-track { grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
  .progress-track::before {
    content: "";
    position: absolute;
    top: 12px; left: 10%; right: 10%;
    height: 2px;
    background: var(--color-border-strong);
    z-index: 0;
  }
}
.progress-stage {
  text-align: center;
  position: relative;
  z-index: 1;
}
.progress-stage__dot {
  width: 24px; height: 24px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
}
.progress-stage.is-done .progress-stage__dot { border-color: var(--color-brand-400); background: var(--color-brand-400); }
.progress-stage.is-current .progress-stage__dot {
  border-color: var(--color-brand-400);
  box-shadow: 0 0 0 6px rgba(72, 111, 152, 0.12);
}
.progress-stage__title {
  font-family: var(--font-en);
  font-size: var(--fs-english-label);
  letter-spacing: 0.12em;
  color: var(--color-brand-500);
}
.progress-stage__desc {
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
  margin-top: 4px;
}

/* ===== Gallery page ===== */
.masonry {
  column-count: 1;
  column-gap: var(--space-md);
}
@media (min-width: 641px) { .masonry { column-count: 2; } }
@media (min-width: 1025px) { .masonry { column-count: 3; } }
.masonry__item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  cursor: zoom-in;
  background: var(--color-surface-alt);
  transition: transform var(--duration-slow) var(--ease-out);
}
.masonry__item:hover {
  transform: translateY(-4px);
}
.masonry__item img {
  width: 100%;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(35, 24, 21, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-lg);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-surface);
  border-radius: var(--radius-md);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

/* ===== Contact page ===== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 641px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card--line { background: linear-gradient(180deg, #f0fff4 0%, var(--color-surface) 100%); }
.contact-card--ig { background: linear-gradient(180deg, #fff0f5 0%, var(--color-surface) 100%); }
.contact-card__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: var(--space-md);
  color: var(--color-surface);
}
.contact-card--line .contact-card__icon { background: var(--color-line); }
.contact-card--ig .contact-card__icon { background: var(--color-ig-gradient); }
.contact-card__title {
  font-family: var(--font-zh);
  font-size: var(--fs-headline-sm);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}
.contact-card__handle {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-md);
}
.contact-card__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-lg);
  flex: 1;
}
.qr-placeholder {
  width: 160px; height: 160px;
  margin: var(--space-md) auto;
  background: var(--color-surface-alt);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-zh);
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
  text-align: center;
  padding: var(--space-sm);
}

/* ===== Legal pages ===== */
.legal-doc {
  max-width: var(--content-max);
  margin: 0 auto;
  font-size: var(--fs-body-md);
  line-height: 1.85;
}
.legal-doc h2 {
  font-size: var(--fs-headline-sm);
  margin: var(--space-2xl) 0 var(--space-md);
  letter-spacing: 0.04em;
  color: var(--color-brand-500);
}
.legal-doc h2:first-of-type {
  margin-top: 0;
}
.legal-doc p { margin: 0 0 var(--space-md); color: var(--color-ink-soft); }
.legal-doc ul { padding-left: var(--space-lg); color: var(--color-ink-soft); }
.legal-doc .placeholder-note {
  background: #fff8e6;
  border: 1px solid #f0d97c;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-body-sm);
  color: var(--color-ink);
}
