/* ==========================================================================
   VOGA — Price page
   ========================================================================== */

body.is-price {
  --line: #e6e0d9;
  --cream-bg: #f6f2ec;
  background: var(--bg);
}

.price { overflow-x: clip; animation: pagein .6s ease both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

.p-label {
  font-size: 1.5rem;
  line-height: 18px;
  letter-spacing: -.01em;
  color: var(--muted);
}

.p-display {
  font-size: clamp(6rem, 11vw, 18rem);
  line-height: .86;
  letter-spacing: -.055em;
}

.p-body {
  font-size: 1.7rem;
  line-height: 1.95;
  font-weight: 500;
  letter-spacing: .01em;
  color: #2a2724;
  max-width: 34em;
}

/* ---------- Hero ---------- */
.p-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--gutter) 40px;
}
.p-eyebrow {
  position: relative;
  z-index: 2;
  font-size: 1.8rem;
  line-height: 22px;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.p-hero__title {
  position: relative;
  z-index: 2;
  font-size: clamp(7rem, 16.5vw, 30rem);
  line-height: .8;
  letter-spacing: -.06em;
  margin-left: -.04em;
  white-space: nowrap;
}
.p-hero__foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 46px;
  align-items: end;
}
.p-hero__lede {
  font-size: clamp(2.6rem, 3.4vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 13em;
}
.p-hero__text {
  font-size: 1.8rem;
  line-height: 1.35;
  letter-spacing: -.02em;
  max-width: 33em;
}

.p-hero__collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.p-hero__img { position: absolute; margin: 0; will-change: transform; }
.p-hero__img img { display: block; width: 100%; height: auto; }
.p-hero__img--1 { top: 13%; left: 57%; width: 14vw; }
.p-hero__img--2 { top: 20%; left: 8%;  width: 19vw; }
.p-hero__img--3 { top: 6%;  left: 34%; width: 10vw; }
.p-hero__img--4 { top: 30%; right: 3%; width: 17vw; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  font-size: clamp(2.4rem, 3.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.marquee__track span { padding-right: .3em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Collection tabs ----------
   Two equal blocks; the selected one is filled with the VOGA colour.
   Every line is single-line, so both blocks always line up. */
.p-plans { padding: 90px var(--gutter) 0; }
.p-plans__label { margin-bottom: 22px; }
.p-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.p-tab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: clamp(230px, 24vw, 380px);
  padding: 22px 24px 26px;
  text-align: left;
  color: #a39a90;
  background: #f4efe9;
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
}
.p-tab.is-active { color: var(--cream); background: var(--voga); }
@media (hover: hover) and (pointer: fine) {
  .p-tab:not(.is-active):hover { color: var(--ink); background: #eee7df; }
}
.p-tab__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;
  line-height: 1;
}
.p-tab__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
  transition: background-color .4s ease;
}
.p-tab.is-active .p-tab__dot { background: currentColor; }
.p-tab__name { display: grid; gap: 14px; }
.p-tab__en {
  font-size: clamp(5.6rem, 8.4vw, 14rem);
  line-height: .85;
  letter-spacing: -.055em;
  margin-left: -.04em;
  white-space: nowrap;
}
.p-tab__cn { font-size: 1.8rem; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.p-tab:focus-visible { outline: 2px solid var(--voga); outline-offset: 4px; }

/* Sticky switch */
.p-switch {
  position: fixed;
  top: 15px;
  left: 50%;
  z-index: 250;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line);
  transform: translate(-50%, -80px);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s ease;
}
.p-switch.is-shown { transform: translate(-50%, 0); opacity: 1; }
html.is-menu-open .p-switch { opacity: 0; pointer-events: none; }
.p-switch button {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--muted);
  transition: background-color .3s, color .3s;
}
.p-switch button.is-active { background: var(--voga); color: var(--cream); }

/* Panels */
.p-panel { transition: opacity .3s ease, transform .5s var(--ease-out); }
.p-panel.is-leaving { opacity: 0; transform: translate3d(0, 24px, 0); }
.p-panel.is-entering { opacity: 0; transform: translate3d(0, 48px, 0); transition: none; }

/* ---------- About ---------- */
.p-about {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
  padding: 150px var(--gutter) 120px;
  align-items: start;
}
.p-about__media { grid-column: 1 / span 5; background: #eceae7; }
.p-about__media img { display: block; width: 100%; height: auto; }
.p-about__text { grid-column: 7 / span 6; display: grid; gap: 26px; padding-top: 8vw; }
.p-about__text .p-display { margin-bottom: 10px; }
/* Press logos: each <li> sets --w (logo width in px at desktop size), chosen so
   the marks look equally big. A 3 × 3 grid keeps them in tidy rows and columns
   and lets them shrink a little when space is tight. */
.p-press { display: grid; gap: 22px; padding-top: 18px; }
.p-press__label { font-size: 1.5rem; color: var(--muted); }
.p-press__logos {
  --s: 1;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-items: center;
  gap: 30px 40px;
  max-width: 540px;
}
.p-press__logos li { display: block; min-width: 0; }
.p-press__logos img {
  display: block;
  width: calc(var(--w, 110) * var(--s) * 1px);
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* drops any white logo background */
}

/* ---------- Service ---------- */
.p-service {
  background: var(--cream-bg);
  padding: 120px var(--gutter) 130px;
}
.p-head { display: grid; gap: 22px; margin-bottom: 80px; }
.p-service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 15px;
}
.p-service__item {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #dcd3c8;
  padding-right: 30px;
}
.p-service__item:nth-child(3n + 2) { transition-delay: .08s; }
.p-service__item:nth-child(3n + 3) { transition-delay: .16s; }
.p-service__num { font-size: 1.5rem; color: var(--voga); }
.p-service__title { font-size: 2.6rem; line-height: 1.2; letter-spacing: .01em; }
.p-service__text { font-size: 1.6rem; line-height: 1.9; font-weight: 500; color: #3a3530; }
.p-service__note { font-size: 1.3rem; line-height: 1.7; font-weight: 500; color: var(--muted); }

/* ---------- Packages ---------- */
.p-packages { padding: 0 var(--gutter); }
.pkg {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
  padding: 120px 0;
  align-items: start;
}
.pkg:first-child { padding-top: 140px; }
.pkg__media { grid-column: 1 / span 5; background: #eceae7; position: sticky; top: 90px; }
.pkg__media img { display: block; width: 100%; height: auto; }
.pkg__body { grid-column: 7 / span 6; }
.pkg--flip .pkg__media { grid-column: 8 / span 5; grid-row: 1; }
.pkg--flip .pkg__body { grid-column: 1 / span 6; grid-row: 1; }

.pkg__top {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  color: var(--muted);
}
.pkg__name {
  color: var(--accent, var(--ink));
  font-size: clamp(7rem, 12vw, 20rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 34px 0 18px -.04em;
}
.pkg__name--letter { font-size: clamp(12rem, 22vw, 34rem); line-height: .78; }
.pkg__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 44px;
}
.pkg__cur { font-size: 1.8rem; letter-spacing: -.02em; }
.pkg__amount {
  font-size: clamp(4.4rem, 5.4vw, 8rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.pkg__gst { font-size: 1.4rem; color: var(--muted); }

.pkg__list { border-top: 1px solid var(--line); }
.pkg__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .02em;
}
.pkg__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--ink));
}
.pkg__gift-label {
  margin: 36px 0 10px;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.pkg__list--gift li { font-weight: 500; }
.pkg__list--gift li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent, var(--ink)); }
.pkg__footnote { margin-top: 18px; font-size: 1.4rem; font-weight: 500; color: var(--muted); }

.p-notes {
  display: grid;
  gap: 8px;
  padding: 50px var(--gutter) 120px;
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.p-contact {
  display: grid;
  gap: 26px;
  padding: 140px var(--gutter) 120px;
}
.p-contact__list { margin-top: 40px; border-top: 1px solid var(--line); }
.p-contact__list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 2.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.p-contact__list span { color: var(--muted); font-size: 1.6rem; letter-spacing: -.01em; align-self: center; }
.p-contact__list a { transition: color .3s; overflow-wrap: anywhere; }
/* Plain-text value (WeChat ID): same type as the links; one tap selects it all for copying */
.p-contact__list .p-contact__value { color: inherit; font-size: inherit; letter-spacing: inherit; align-self: auto; user-select: all; -webkit-user-select: all; }
@media (hover: hover) and (pointer: fine) {
  .p-contact__list a:hover, .p-footer__row a:hover { color: var(--voga); }
}

/* ---------- Footer ---------- */
.p-footer { padding: 40px var(--gutter) var(--gutter); }
.p-footer__logo { color: var(--voga); }
.p-footer__logo svg { width: 100%; height: auto; }
.p-footer__row {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 1.5rem;
  color: var(--muted);
}

/* ==========================================================================
   Tablet / mobile
   ========================================================================== */

@media (max-width: 1099.98px) {
  .p-service__list { grid-template-columns: repeat(2, 1fr); }
  .p-service__item:nth-child(n) { transition-delay: 0s; }
  .p-service__item:nth-child(2n) { transition-delay: .08s; }
}

@media (max-width: 767.98px) {
  .p-hero { padding: 96px var(--gutter) 28px; }
  .p-eyebrow { font-size: 1.4rem; line-height: 18px; }
  .p-hero__title { white-space: normal; font-size: 23vw; line-height: .84; }
  .p-hero__foot { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
  .p-hero__text { font-size: 1.6rem; }
  /* Keep the collage in the top band, clear of the text */
  .p-hero__img--1 { top: 11%; left: 62%; width: 28vw; }
  .p-hero__img--2 { top: 22%; left: 6%;  width: 40vw; }
  .p-hero__img--3 { top: 8%;  left: 34%; width: 20vw; }
  .p-hero__img--4 { top: 7%;  left: 4%;  width: 24vw; }

  .marquee { padding: 14px 0; }

  .p-plans { padding-top: 60px; }
  .p-plans__label { margin-bottom: 16px; font-size: 1.3rem; }
  .p-tabs { gap: 10px; }
  .p-tab { min-height: 168px; gap: 24px; padding: 14px 14px 18px; }
  .p-tab__head { font-size: 1.3rem; }
  .p-tab__dot { width: 10px; height: 10px; }
  .p-tab__name { gap: 10px; }
  .p-tab__en { font-size: 9vw; }
  .p-tab__cn { font-size: 1.3rem; letter-spacing: .04em; }

  .p-switch { top: 23px; left: auto; right: 84px; transform: translate(0, -80px); }
  .p-switch.is-shown { transform: none; }
  .p-switch button { padding: 9px 12px; font-size: 1.3rem; }
  .p-switch .en { display: none; }

  .p-about { grid-template-columns: 1fr; padding: 90px var(--gutter) 80px; gap: 30px; }
  .p-about__media, .p-about__text { grid-column: 1; }
  .p-about__media { width: 78%; }
  .p-about__text { padding-top: 0; gap: 20px; }
  .p-body { font-size: 1.6rem; line-height: 1.9; }
  .p-press__label { font-size: 1.3rem; }
  .p-press__logos { --s: .74; max-width: none; gap: 24px 20px; }

  .p-service { padding: 90px var(--gutter) 90px; }
  .p-head { margin-bottom: 48px; }
  .p-service__list { grid-template-columns: 1fr; gap: 36px; }
  .p-service__item { padding-right: 0; }
  .p-service__title { font-size: 2.2rem; }

  .pkg, .pkg:first-child { grid-template-columns: 1fr; padding: 80px 0; gap: 0; }
  .pkg__media, .pkg--flip .pkg__media { grid-column: 1; grid-row: 1; position: relative; top: 0; }
  .pkg__body, .pkg--flip .pkg__body { grid-column: 1; grid-row: 2; padding-top: 28px; }
  .pkg__name { font-size: 20vw; margin-top: 26px; }
  .pkg__name--letter { font-size: 42vw; }
  .pkg__amount { font-size: 13vw; }
  .pkg__list li { font-size: 1.7rem; padding: 13px 0; }

  .p-notes { padding: 40px var(--gutter) 80px; font-size: 1.3rem; }

  .p-contact { padding: 90px var(--gutter) 70px; }
  .p-contact__list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; font-size: 2.4rem; }
  .p-contact__list span { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .price { animation: none; }
  .marquee__track { animation: none; }
  .p-panel, .p-switch, .p-tab { transition: none; }
}
