:root {
  --ink: #21183b;
  --ink-soft: #3a2b58;
  --pink: #ff4f9a;
  --pink-ink: #db005d; /* 白底上的小字用深一階的粉紅（對比 ≥ 4.5:1） */
  --pink-soft: #ffd7e7;
  --lime: #ddf54a;
  --sky: #7adcf8;
  --peach: #ffb786;
  --violet: #a58aff;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: rgba(33, 24, 59, 0.14);
  --muted: #6f6782;
  --shadow: 0 24px 70px rgba(33, 24, 59, 0.16);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --price-canvas: #eeebe5;
  --price-surface: #fffdf8;
  --price-surface-warm: #f7f1e8;
  --price-wine: #8d5264;
  --price-wine-deep: #613b4d;
  --price-olive: #b9bf91;
  --price-slate: #c4d0ce;
  --price-sand: #d4c2ae;
  --price-muted: #706a73;
  --s05-scene-background: #f0e7ff;
  --content: min(1180px, calc(100% - 48px));
  --catalog-wide: min(1760px, calc(100% - 40px));
  --route-sticky-top: 90px;
  --s05-header-offset: var(--route-sticky-top);
  --font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s05-header-offset, 90px); scrollbar-gutter: stable; overscroll-behavior-y: none; }
html.s05-transition-scroll-locked,
html.s05-event-scroll-locked { overflow-y: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}
body[data-product-card-layout="single-cover"] {
  --catalog-media-height: auto;
  --catalog-media-height-tablet: auto;
  --catalog-media-height-mobile: auto;
  --catalog-media-ratio: 4 / 3;
}
body[data-product-card-layout="quiet-media"] {
  --catalog-media-height: 104px;
  --catalog-media-height-tablet: 92px;
  --catalog-media-height-mobile: clamp(78px, 22vw, 88px);
  --catalog-media-ratio: auto;
}
main { position: relative; z-index: 1; }
body.s05-shared-background-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--s05-scene-background);
  background-image: radial-gradient(circle closest-side at center, var(--pink-soft) calc(100% - 1px), transparent 100%);
  background-size: clamp(300px, 34vw, 460px) clamp(300px, 34vw, 460px);
  background-position: calc(100% + 14vw) 68px;
  background-repeat: no-repeat;
}
body::selection { background: var(--lime); color: var(--ink); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  transform: translateY(-220%);
}
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  min-height: 66px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06) 48%, rgba(255,79,154,.12)),
    rgba(27, 18, 51, 0.62);
  color: var(--white);
  box-shadow:
    0 18px 45px rgba(10, 6, 22, .22),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  isolation: isolate;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .24s ease, visibility 0s linear 0s, background .25s ease, box-shadow .25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.2), transparent 32%, rgba(255,255,255,.04) 70%, rgba(255,79,154,.12));
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.22), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-header > * { position: relative; z-index: 1; }
.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 48%, rgba(255,79,154,.1)),
    rgba(33, 24, 59, 0.7);
  box-shadow:
    0 14px 40px rgba(14, 10, 28, .28),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.07);
}
.site-header.is-layer-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .24s ease, visibility 0s linear .34s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -.04em;
}
.brand-name { font-size: 15px; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 8px 10px; border: 1px solid transparent; border-radius: 999px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 800; line-height: 1.2; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--lime); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); }
.site-nav a.is-layer-active { border-color: rgba(221,245,74,.5); background: rgba(221,245,74,.88); color: var(--ink); box-shadow: 0 5px 18px rgba(221,245,74,.18); }
.header-cta {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(255,79,154,.24), inset 0 1px 0 rgba(255,255,255,.26);
}

@supports not ((backdrop-filter: blur(1px))) {
  .site-header { background: rgba(33, 24, 59, .96); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header.is-layer-hidden, .site-nav a { transition: none; }
}

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: grid;
  align-items: center;
  padding: 125px 0 100px;
}
.hero-cover-scene { position: relative; background: var(--ink); }
.hero-cover-layer {
  position: relative;
  z-index: 1;
  box-shadow: 0 -32px 70px rgba(10, 6, 22, .28);
}
.hero-cover-layer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 0;
  background: var(--ink);
  pointer-events: none;
}
.hero-cover-scene[data-hero-cover-state="auto"] .hero-cover-layer::before,
.hero-cover-scene[data-hero-cover-state="complete"] .hero-cover-layer::before,
.hero-cover-scene[data-hero-cover-state="reverse"] .hero-cover-layer::before {
  top: calc(var(--hero-cover-offset, 0px) * -1);
  height: var(--hero-cover-offset, 0px);
}
.hero-video, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; opacity: .54; }
.hero-static { display: block; overflow: hidden; }
.hero-static img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(26, 17, 51, .97) 0%, rgba(26, 17, 51, .86) 46%, rgba(26,17,51,.48) 100%),
    linear-gradient(0deg, rgba(26,17,51,.95) 0%, transparent 34%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-orb-one { width: 420px; height: 420px; right: -170px; top: 8%; background: radial-gradient(circle, rgba(255,79,154,.72), transparent 68%); }
.hero-orb-two { width: 360px; height: 360px; left: 35%; bottom: -220px; background: radial-gradient(circle, rgba(122,220,248,.55), transparent 70%); }
.hero-layout {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .68fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}
.section-index {
  color: var(--pink);
}
.eyebrow,.section-index {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.catalog-intro .section-index { color: var(--pink-ink); }
.eyebrow { color: var(--lime); }
.eyebrow span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 8px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 950;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 710px; margin-bottom: 30px; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.8; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:not([aria-disabled="true"]):hover, .button:not([aria-disabled="true"]):focus-visible { transform: translateY(-3px); }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 0 12px 36px rgba(221,245,74,.22); }
.button-ghost { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); color: var(--white); }
.hero-facts { display: flex; gap: 26px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 8px; }
.hero-facts strong { color: var(--sky); font-size: 28px; line-height: 1; }
.hero-facts span { color: rgba(255,255,255,.66); font-size: 13px; font-weight: 800; }

.hero-offer {
  position: relative;
  padding: 110px 30px 30px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 242, .93);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0,0,0,.28);
  transform: rotate(1.5deg);
}
.hero-offer::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(33,24,59,.2); border-radius: 26px; pointer-events: none; }
.hero-offer-art { position: absolute; width: 185px; top: -82px; right: 24px; filter: drop-shadow(0 18px 16px rgba(33,24,59,.22)); transform: rotate(5deg); }
.hero-offer-kicker { position: relative; margin-bottom: 4px; color: var(--pink); font-size: 13px; font-weight: 950; }
.hero-offer h2 { position: relative; margin-bottom: 18px; font-size: 27px; line-height: 1.35; letter-spacing: -.03em; }
.hero-offer ol { position: relative; margin: 0; padding: 0; list-style: none; }
.hero-offer li { padding: 11px 0; border-top: 1px solid var(--line); font-weight: 850; }
.hero-offer li span { margin-right: 10px; color: var(--pink); font-size: 12px; }
.hero-offer > a { position: relative; display: inline-flex; min-height: 24px; margin-top: 18px; color: var(--ink); font-size: 14px; font-weight: 950; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.58); font-size: 13px; font-weight: 850; letter-spacing: .14em; }
.scroll-cue img { width: 34px; height: 34px; object-fit: contain; }

.route-strip {
  /* Keep the route guide in normal flow so it and the wall heading move as one locked block. */
  position: relative;
  top: auto;
  z-index: 2;
  min-height: 60px;
  padding: 10px 20px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.35;
}
.route-strip p { margin: 0; }
.route-strip span { color: var(--pink); font-size: 22px; }

.section { position: relative; padding: clamp(82px, 10vw, 140px) 0; }
.section-heading { max-width: 770px; }
.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.18;
  letter-spacing: -.045em;
  font-weight: 950;
}
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.light-heading { width: var(--content); margin: 0 auto 34px; text-align: center; }
.light-heading h2 { color: var(--white); }
.light-heading > p:last-child { color: rgba(255,255,255,.7); }
.light-heading .section-index { color: var(--lime); }

.product-wall {
  overflow: hidden;
  padding: clamp(54px, 5.5vw, 78px) 0 clamp(44px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}
.product-wall::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, black, transparent); }
.wall-heading { position: relative; z-index: 2; width: var(--content); margin: 0 auto 20px; display: block; }
.wall-heading .section-heading { width: auto; max-width: 920px; margin: 0; padding-right: clamp(0px, 4vw, 56px); text-align: left; }
.wall-heading-art { position: absolute; top: clamp(-18px, -1.3vw, -10px); right: clamp(4px, 4vw, 52px); z-index: 3; width: clamp(70px, 7vw, 100px); margin: 0; pointer-events: none; }
.wall-heading-art img { display: block; width: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.3)); transform: rotate(5deg); }
.wall-heading-art figcaption { display: none; }
.marquee-shell { position: relative; z-index: 2; display: grid; gap: 8px; }
.marquee-row { overflow: hidden; }
.marquee-track { width: max-content; display: flex; gap: 10px; padding-left: 10px; animation: marquee 84s linear infinite; }
.marquee-row:nth-child(2) .marquee-track { animation-direction: reverse; animation-duration: 96s; }
.marquee-row:nth-child(3) .marquee-track { animation-duration: 108s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wall-card {
  position: relative;
  width: 132px;
  height: auto;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: #34254f;
  isolation: isolate;
}
.wall-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(20,12,39,.93) 100%); }
.wall-card img,.wall-card video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.wall-card img { object-fit: cover; }
.wall-card video { object-fit: contain; background: #21183b; }
.wall-card-copy { position: absolute; inset: auto 10px 11px; }
.wall-card h3 { margin: 0; color: var(--white); font-size: 17px; line-height: 1.2; letter-spacing: -.03em; }
.wall-card.is-title-only h3 { font-size: 12px; }
html[data-site-version="TU-V3-RENEW-SHOP-v8"] .wall-card.is-title-only h3 { color: var(--white); }
.wall-card p { margin: 4px 0 0; color: var(--lime); font-size: 12px; line-height: 1.35; font-weight: 900; }
.wall-card.is-missing { border-style: dashed; background: #302447; }
.wall-card.is-missing::before { content: "作品待補"; position: absolute; top: 12px; left: 10px; right: 10px; color: var(--white); font-size: 12px; line-height: 1.4; font-weight: 900; }
.wall-note { position: relative; z-index: 2; width: var(--content); max-width: 840px; margin: 14px auto 0; color: rgba(255,255,255,.64); text-align: center; font-size: 12px; line-height: 1.45; }
.wall-note span { color: var(--peach); }

.catalog-cover-scene { position: relative; }
.catalog { background: var(--paper); }
.catalog.is-covering {
  position: fixed;
  z-index: 90;
  overflow: hidden;
  box-shadow: -28px 0 70px rgba(33, 24, 59, .24);
  transform: translate3d(100%, 0, 0);
  transition: none;
  will-change: transform;
}
.catalog.is-covering.is-cover-visible {
  transform: translate3d(0, 0, 0);
  transition: transform .72s cubic-bezier(.2, .78, .2, 1);
}
.catalog-intro { width: var(--catalog-wide); margin: 0 auto 40px; display: grid; grid-template-columns: 1fr 260px; gap: 60px; align-items: center; }
.catalog-intro > img { width: 260px; transform: rotate(5deg); filter: drop-shadow(0 18px 24px rgba(33,24,59,.14)); }
.category-nav { width: var(--catalog-wide); margin: 0 auto 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.category-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 17px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}
.category-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.catalog-grid { width: var(--catalog-wide); margin-inline: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(33,24,59,.07);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-media, .missing-media { flex: 0 0 auto; }
.product-media { position: relative; height: var(--catalog-media-height, 150px); aspect-ratio: var(--catalog-media-ratio, auto); display: grid; grid-template-columns: 1.12fr .88fr; gap: 2px; overflow: hidden; background: #efe8dd; }
.product-media.is-single { grid-template-columns: 1fr; }
.product-media > figure { position: relative; margin: 0; min-width: 0; overflow: hidden; }
.product-media > figure img, .product-media > figure video { width: 100%; height: 100%; object-fit: cover; }
.product-media > figure.mockup-view.is-top-aligned img, .package-piece-media.is-top-aligned img { object-position: top; }
.product-media > figure.mockup-view.is-contain img { object-fit: contain; padding: 8px; background: #f6efe5; }
.product-media > figure video.is-contain { object-fit: contain; background: #efe8dd; }
.product-media > figure.product-view img { object-fit: contain; padding: 7px; background: #f6efe5; }
.product-view-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; background: #f6efe5; }
.product-view-stack img { min-height: 0; }
.product-view-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 2px; background: #f6efe5; }
.product-media > figure.product-view-mosaic img { min-width: 0; min-height: 0; object-fit: cover; padding: 1px; background: #f6efe5; }
.media-label { position: absolute; left: 7px; top: 7px; z-index: 2; padding: 3px 6px; border-radius: 999px; background: rgba(33,24,59,.86); color: var(--white); font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.missing-media { height: 150px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px dashed #9c8fb1; background: #f0ebf5; }
.missing-media::before { content: "對應作品待補"; align-self: flex-start; margin-bottom: auto; padding: 4px 7px; border: 1px dashed var(--ink-soft); border-radius: 999px; color: var(--ink-soft); font-size: 12px; line-height: 1.3; font-weight: 900; }
.missing-media strong { font-size: 17px; line-height: 1.3; }
.missing-media span { margin-top: 5px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.media-note { position: absolute; right: 7px; top: 7px; z-index: 3; padding: 4px 7px; border-radius: 999px; background: var(--peach); color: var(--ink); font-size: 12px; line-height: 1.25; font-weight: 950; }
.product-body { position: relative; z-index: 3; flex: 1 1 auto; min-height: 0; padding: 15px 14px 52px; pointer-events: none; }
.product-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; margin-bottom: 7px; }
.product-title-row h3 { min-width: 0; flex: 1 1 auto; flex-basis: min-content; margin: 0; font-size: 19px; line-height: 1.22; letter-spacing: -.035em; }
.product-category { flex: 0 0 auto; margin-left: auto; max-width: 42%; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 850; line-height: 1.25; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.product-card h3 { margin-bottom: 0; }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.product-meta.has-demo-link { flex-wrap: nowrap; align-items: center; gap: 3px; }
.product-meta > span { padding: 4px 6px; border-radius: 999px; background: #f1edf5; color: var(--ink-soft); font-size: 12px; font-weight: 900; }
.product-meta.has-demo-link > span { padding-inline: 4px; font-size: 11px; white-space: nowrap; }
.product-meta > span:first-child { background: var(--lime); color: var(--ink); }
.product-quick { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.45; font-weight: 750; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.product-demo-link { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-height: 44px; margin: 0 0 0 auto; color: var(--pink-ink); font-size: 11px; line-height: 1.3; font-weight: 950; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; pointer-events: auto; }
.product-demo-link:hover, .product-demo-link:focus-visible { color: var(--ink-soft); }
.product-card-open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; color: transparent; cursor: pointer; text-align: left; }
.product-card-open > span { position: absolute; right: 11px; bottom: 10px; left: 11px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 13px; line-height: 1.2; font-weight: 950; }
.product-card-open b { color: var(--white); font-size: 14px; }
.product-card-open:focus-visible { outline: 4px solid var(--lime); outline-offset: -6px; }

.product-dialog { width: min(1120px, calc(100vw - 32px)); height: min(850px, calc(100dvh - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; overscroll-behavior: contain; border: 0; border-radius: 28px; background: transparent; color: var(--ink); }
.product-dialog::backdrop { background: rgba(20,12,39,.78); backdrop-filter: blur(9px); }
.product-dialog-panel { position: relative; width: 100%; height: 100%; min-height: 0; max-height: calc(100dvh - 32px); overflow: hidden; border: 2px solid var(--ink); border-radius: 28px; background: var(--white); box-shadow: 0 28px 100px rgba(10,5,27,.45); }
.product-dialog[open] .product-dialog-panel { animation: product-dialog-enter .24s cubic-bezier(.2,.9,.2,1) both; }
@keyframes product-dialog-enter { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); width: 100%; height: 100%; min-height: 0; max-height: calc(100dvh - 32px); }
.product-dialog.is-media-missing .product-dialog-layout { grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); }
.product-dialog-close { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0 0 4px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 var(--ink); cursor: pointer; font-size: 30px; line-height: 1; }
.product-dialog-close:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.product-dialog-visual { position: relative; min-width: 0; min-height: 0; padding: 20px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; background: #21183b; }
.product-dialog-visual.is-event-media-layout { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); gap: 0; padding-top: 58px; overflow: hidden; }
.product-dialog-visual.is-event-media-layout > .product-detail-frame-label { position: absolute; z-index: 4; top: 15px; right: 16px; max-width: calc(100% - 32px); padding: 7px 11px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: var(--lime); color: var(--ink); box-shadow: 0 3px 10px rgba(0,0,0,.2); font-size: 12px; line-height: 1.3; font-weight: 950; overflow-wrap: anywhere; pointer-events: none; }
.product-detail-main { position: relative; flex: 1 1 auto; width: 100%; min-height: 250px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; background: #f5efe7; }
.product-detail-main.is-landscape { flex: 0 1 auto; min-height: 250px; aspect-ratio: 1.45; }
.product-detail-media-content.is-event-media-content { display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; justify-content: safe center; gap: 11px; grid-column: 1; grid-row: 1; width: 100%; max-width: 100%; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.product-detail-media-stage.is-event-media-stage { display: grid; grid-template-columns: minmax(0,1fr); place-items: center; flex: 0 1 auto; width: 100%; max-width: 100%; min-width: 0; min-height: 0; }
.product-detail-main.is-event-media { display: grid; place-items: center; flex: 0 1 auto; width: min(100%, calc(min(46dvh, 420px) * var(--detail-media-ratio, 1.3333))); height: auto; min-height: 0; max-height: min(46dvh, 420px); aspect-ratio: var(--detail-media-ratio, 1.3333); margin-inline: auto; }
.product-detail-main.is-event-media.is-embed { width: min(100%, calc(min(46dvh, 420px) * var(--detail-media-ratio, 1.6))); height: auto; max-height: min(46dvh, 420px); aspect-ratio: var(--detail-media-ratio, 1.6); }
.product-detail-main.is-missing { display: grid; place-items: center; padding: 24px; border: 2px dashed #b9a9ca; background: #f0ebf5; }
.product-detail-missing { max-width: 420px; text-align: center; }
.product-detail-missing strong { display: block; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; }
.product-detail-missing p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.product-detail-main > img, .product-detail-main > video { display: block; width: 100%; height: 100%; object-fit: cover; background: #f5efe7; }
.product-detail-main.is-contain > img, .product-detail-main.is-contain > video { object-fit: contain; }
.product-detail-main.is-event-media > img, .product-detail-main.is-event-media > video { object-fit: contain; object-position: center center; }
.product-detail-main.is-video { background: #171326; }
.product-detail-main.is-video > video { background: #171326; }
.product-detail-main.is-embed { background: #f1e9da; }
.product-detail-main > iframe { display: block; width: 100%; height: 100%; border: 0; background: #f1e9da; }
.product-dialog.is-html-preview .product-detail-media-content.is-event-media-content { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto auto; align-content: stretch; align-items: stretch; justify-content: stretch; gap: 10px; overflow: hidden; }
.product-dialog.is-html-preview .product-detail-media-stage.is-event-media-stage { display: grid; width: 100%; height: 100%; flex: 1 1 auto; min-height: 0; place-items: stretch; }
.product-dialog.is-html-preview .product-detail-main.is-event-media.is-embed { width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: none; aspect-ratio: auto; margin: 0; }
.product-dialog.is-html-preview .product-detail-thumbs.is-event-media-thumbs { min-height: 70px; max-height: 130px; flex: 0 0 auto; align-items: center; justify-content: center; overflow-x: auto; overflow-y: hidden; padding: 4px 3px 6px 1px; }
.product-dialog.is-html-preview .product-detail-media-note { align-self: stretch; }
.product-detail-media-label { position: absolute; z-index: 2; top: 12px; left: 12px; max-width: calc(100% - 72px); padding: 7px 11px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; line-height: 1.3; font-weight: 950; }
.product-detail-thumbs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(76px,1fr)); gap: 8px; max-height: 190px; overflow: auto; padding: 1px 3px 2px 1px; }
.product-detail-thumbs.is-event-media-thumbs { display: flex; align-items: center; justify-content: center; flex: 0 1 auto; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; gap: 8px; max-height: none; overflow: visible; padding: 3px 3px 5px 1px; }
.product-detail-thumbs.is-event-media-thumbs .product-detail-thumb { flex: 0 0 auto; width: auto; max-width: calc((100% - 8px) / 2); height: min(28dvh, 250px); min-width: 0; box-sizing: border-box; aspect-ratio: var(--detail-thumb-ratio, 1); }
.product-detail-thumb { position: relative; aspect-ratio: 4 / 5; min-width: 0; padding: 0; overflow: hidden; border: 2px solid rgba(255,255,255,.28); border-radius: 11px; background: #f5efe7; cursor: pointer; transition: border-color .18s, transform .18s, box-shadow .18s; }
.product-detail-thumb:hover { transform: translateY(-2px); border-color: var(--lime); }
.product-detail-thumb.is-active { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime), 0 7px 18px rgba(0,0,0,.24); }
.product-detail-thumb:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.product-detail-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-detail-thumb-play { position: absolute; z-index: 1; inset: 50% auto auto 50%; display: grid; place-items: center; width: 30px; height: 30px; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(33,24,59,.88); color: var(--lime); font-size: 12px; }
.product-detail-media-note { margin: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.1); color: var(--white); font-size: 12px; font-weight: 800; }
.product-dialog-content { min-width: 0; min-height: 0; height: 100%; padding: 42px 38px 34px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; touch-action: pan-y; background: #fffdf7; }
.product-detail-eyebrow { margin: 0 60px 8px 0; color: #5d7900; font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.product-dialog-content h2 { margin: 0 56px 10px 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.16; letter-spacing: -.035em; }
.product-detail-purpose { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-detail-delivery { margin-bottom: 16px; padding: 19px 20px 21px; border: 2px solid var(--ink); border-radius: 20px; background: linear-gradient(125deg, #e9f66f, #d9f34e 68%, #d0ed45); box-shadow: 5px 6px 0 var(--ink); }
.product-detail-delivery > p { margin: 0 0 3px; color: #4b6500; font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.product-detail-delivery h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; }
.product-detail-delivery ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.product-detail-delivery li { position: relative; padding-left: 19px; color: var(--ink); font-size: 15px; line-height: 1.58; font-weight: 820; }
.product-detail-delivery li::before { content: "✓"; position: absolute; top: 1px; left: 0; color: #526d00; font-size: 13px; font-weight: 1000; }
.product-detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-dialog-content.is-event-detail-layout .product-detail-facts.is-unbalanced { grid-template-columns: 1fr; }
.product-detail-facts section { min-width: 0; padding: 15px 15px 16px; border: 1px solid #e6deed; border-radius: 16px; background: var(--white); }
.product-detail-facts span { display: inline-block; margin-bottom: 7px; color: #a80b58; font-size: 12px; font-weight: 950; }
.product-detail-facts p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; font-weight: 720; }
.product-detail-plan-scope { margin-top: 12px; padding: 15px 17px; border-left: 5px solid var(--pink); border-radius: 0 14px 14px 0; background: #f9e9f1; }
.product-detail-plan-scope span { display: block; margin-bottom: 5px; color: #9b2059; font-size: 12px; font-weight: 950; }
.product-detail-plan-scope p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; font-weight: 760; }
.product-detail-specs { margin-top: 19px; }
.product-detail-specs h3 { margin: 0 0 9px; font-size: 17px; }
.product-detail-specs dl { display: grid; gap: 0; margin: 0; }
.product-detail-specs dl > div { display: grid; grid-template-columns: minmax(92px,.29fr) minmax(0,1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #e9e2ed; }
.product-detail-specs dt { color: #8e1850; font-size: 12px; line-height: 1.5; font-weight: 950; }
.product-detail-specs dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; font-weight: 650; }
.product-detail-plans { margin-top: 18px; }
.product-detail-plans h3 { margin: 0 0 9px; font-size: 16px; }
.product-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.product-detail-tags span { padding: 6px 10px; border-radius: 999px; background: #e8f26c; color: var(--ink); font-size: 12px; font-weight: 950; }
.product-detail-tags span:nth-child(2) { background: #d8f4ff; }
.product-detail-tags span:nth-child(3) { background: #ffcee1; }
.product-detail-tags span.is-addon { background: #ffcee1; }
.product-detail-demo { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 11px 15px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 950; text-decoration: none; }
.product-detail-demo:hover, .product-detail-demo:focus-visible { background: #a80b58; }
.product-detail-more { display: grid; justify-items: start; gap: 7px; margin: 22px 0 8px; padding-top: 18px; border-top: 1px solid #e5deea; }
.product-detail-more button { display: inline-flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 19px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); color: var(--detail-more-text, var(--button-text, var(--ink))); box-shadow: 0 4px 0 var(--ink); font-size: 13px; font-weight: 950; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.product-detail-more button:hover, .product-detail-more button:focus-visible { transform: translateY(-2px); background: var(--ink); color: var(--white); box-shadow: 0 6px 0 var(--pink); }
.product-detail-more p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-dialog-open { overscroll-behavior: none; }

.scenario-output-rule { position: relative; width: var(--catalog-wide); margin: 28px auto 0; padding: 22px 24px; border: 2px solid var(--ink); border-radius: 22px; background: var(--lime); display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 20px; }
.scenario-output-rule > span { padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 950; white-space: nowrap; }
.scenario-output-rule h3 { margin-bottom: 5px; font-size: 21px; line-height: 1.35; }
.scenario-output-rule p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.scenario-output-rule-back { position: absolute; top: -48px; right: 22px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--pink); box-shadow: 4px 5px 0 var(--ink); cursor: pointer; font-size: 29px; line-height: 1; animation: scenario-rule-arrow-float 2.8s ease-in-out infinite; transition: box-shadow .2s ease, background .2s ease; }
@keyframes scenario-rule-arrow-float {
  0%, 100% { transform: translateY(0); opacity: .78; }
  50% { transform: translateY(-6px); opacity: 1; }
}
.scenario-output-rule-back:hover, .scenario-output-rule-back:focus-visible { animation-play-state: paused; background: #fff3f8; box-shadow: 4px 8px 0 var(--ink); }
.scenario-output-rule-back:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.scenario-output-rule-back span { display: block; transform: translateY(2px); }

@media (prefers-reduced-motion: reduce) {
  .scenario-output-rule-back { animation: none; opacity: 1; transform: none; }
}

.plans-cover-scene { position: relative; background: transparent; }
.process-contact-scene { position: relative; background: transparent; }
.plans, .process { min-height: max(760px, calc(100dvh + 2px)); }

/*
 * S05 scene ownership: 04 is its own scene; 05 and 06 share the following
 * scene.  The scene state is an invariant, not a visual hint: outside an
 * active handoff, the other scene is never allowed to paint into the viewport.
 */
.plans-cover-scene[data-s05-scene="plans"] + .process-contact-scene {
  visibility: hidden;
  pointer-events: none;
}
.plans-cover-scene[data-s05-scene="process"] > .plans {
  visibility: hidden;
  pointer-events: none;
}
.plans-cover-scene[data-s05-scene="transition"] + .process-contact-scene,
.plans-cover-scene[data-s05-scene="transition"] + .process-contact-scene > .process,
.plans-cover-scene[data-s05-scene="transition"] > .plans {
  visibility: visible;
}
.plans-cover-scene[data-s05-scene="transition"] + .process-contact-scene > .contact {
  visibility: hidden;
  pointer-events: none;
}
.plans { overflow: hidden; }
.plans.is-covering { position: fixed; top: var(--plans-cover-top, var(--s05-header-offset, var(--route-sticky-top))); right: 0; bottom: auto; left: 0; z-index: 95; height: var(--plans-cover-height, calc(100dvh - var(--s05-header-offset, var(--route-sticky-top)))); min-height: 0; max-height: none; overflow: hidden; transform: translateY(100%); transition: transform .92s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.plans.is-covering.is-cover-visible { transform: translateY(0); }
.plans.is-covering.is-reversing { transform: translateY(100%); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.plans.is-covering .plans-heading { opacity: 0; translate: 0 44px; transition: none; }
.plans.is-covering.is-cover-visible .plans-heading { opacity: 1; translate: 0 0; transition: opacity .55s ease .1s, translate .55s cubic-bezier(.2,.8,.2,1) .1s; }
.plans.is-covering .plans-heading-copy h2 { clip-path: inset(0 100% 0 0); opacity: 0; will-change: clip-path, opacity; transition: none; }
.plans.is-covering.is-cover-visible .plans-heading-copy h2 { clip-path: inset(0 0 0 0); opacity: 1; transition: clip-path .9s cubic-bezier(.2,.8,.2,1) .22s, opacity .3s ease .22s; }
.plans.is-covering .plan-card { opacity: 0; translate: 0 76px; transition: none; }
.plans.is-covering.is-cover-visible .plan-card { opacity: 1; translate: 0 0; transition: opacity .68s ease, translate .68s cubic-bezier(.2,.8,.2,1); }
.plans.is-covering.is-cover-visible .plan-card:nth-child(1) { transition-delay: .18s; }
.plans.is-covering.is-cover-visible .plan-card:nth-child(2) { transition-delay: .34s; }
.plans.is-covering.is-cover-visible .plan-card:nth-child(3) { transition-delay: .50s; }
.plans-heading { position: relative; z-index: 2; width: var(--content); margin: 0 auto 48px; display: grid; }
.plans-heading-copy { width: auto; margin: 0; }
.plans-heading-copy .section-index { position: relative; line-height: 1.25; }
.plans-heading-copy .section-index::before { content: ""; position: absolute; z-index: -1; inset: -10px -18px; animation: plans-kicker-flow 5.4s ease-in-out infinite; }
@keyframes plans-kicker-flow { 0%, 100% { background-position: 120% 50%; opacity: .12; } 42%, 64% { background-position: 0% 50%; opacity: .78; } }
.plan-grid { position: relative; z-index: 2; width: var(--content); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.plan-card { position: relative; overflow: hidden; border: 2px solid var(--ink); }
.plan-card header { border-bottom: 1px solid var(--line); }
.plan-label { line-height: 1.4; font-weight: 900; }
.plan-price-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: end; gap: 8px; }
.plan-price-original, .plan-price-opening { min-width: 0; margin: 0; }
.plan-price-original > span, .plan-price-opening > span { display: block; line-height: 1.2; font-weight: 950; }
.plan-price-original > strong { position: relative; display: inline-flex; align-items: baseline; white-space: nowrap; font-size: clamp(17px,1.5vw,22px); line-height: 1; letter-spacing: -.045em; }
.plan-price-original > strong::after { top: 47%; height: 5px; border-radius: 2px 7px 3px 5px; }
.plan-price-original small { margin-right: 2px; font-size: max(12px, .48em); letter-spacing: 0; }
.plan-price-opening { text-align: right; transform: rotate(-1deg); }
.plan-price-opening > strong { display: block; line-height: .98; font-weight: 1000; letter-spacing: -.055em; white-space: nowrap; }
.plan-price-opening small { margin-right: 2px; font-size: max(12px, .38em); letter-spacing: 0; }
.plan-total { display: inline-flex; margin: 15px 0 0; border-radius: 999px; line-height: 1.2; font-weight: 950; }
.plan-package { margin: 0 18px; border-bottom: 1px solid var(--line); }
.plan-list-disclosure > .plan-package {
  margin: 14px 0 0;
  border-bottom: 0;
}
.package-toggle { position: relative; width: 100%; border: 2px solid var(--ink); display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; transition: background .25s, transform .25s, box-shadow .25s; }
.package-toggle::before { content: ""; position: absolute; border: 1px dashed rgba(33,24,59,.32); pointer-events: none; transition: background .25s, border-color .25s; }
.package-toggle:hover, .package-toggle:focus-visible { transform: translateY(-1px); }
.package-toggle:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.package-toggle-mark { position: absolute; z-index: 1; display: grid; place-items: center; border-radius: 50%; line-height: 1; transition: transform .35s, background .25s; }
.package-toggle-copy, .package-toggle-arrow { position: relative; z-index: 1; }
.package-toggle-copy { display: grid; gap: 1px; min-width: 0; }
.package-toggle-copy small { line-height: 1.2; font-weight: 950; letter-spacing: .12em; }
.package-toggle-arrow { margin-left: auto; transition: transform .35s; }
.is-package-open .package-toggle-mark { transform: rotate(45deg); }
.is-package-open .package-toggle-arrow { transform: rotate(90deg); }
.plan-list-disclosure { margin: 0; }
.plan-list-disclosure:not([open]) > .plan-list { display: none; }
.plan-list-disclosure:not([open]) > .plan-package { display: none; }
.plan-list-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; border: 2px solid var(--ink); list-style: none; cursor: pointer; line-height: 1.3; font-weight: 950; transition: background .25s, transform .25s, box-shadow .25s; }
.plan-list-title::-webkit-details-marker { display: none; }
.plan-list-title::marker { content: ""; }
.plan-list-title > span:first-child { min-width: 0; }
.plan-list-title:hover, .plan-list-title:focus-visible { transform: translateY(-1px); box-shadow: 3px 4px 0 rgba(33,24,59,.15); }
.plan-list-title:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.plan-list-toggle { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 6px; border-radius: 999px; line-height: 1.1; font-weight: 1000; letter-spacing: .04em; white-space: nowrap; }
.plan-list-toggle-close { display: none; }
.plan-list-toggle-icon { font-size: 18px; line-height: 1; transition: transform .25s; }
.plan-list-disclosure[open] .plan-list-toggle-open { display: none; }
.plan-list-disclosure[open] .plan-list-toggle-close { display: inline; }
.plan-list-disclosure[open] .plan-list-toggle-icon { transform: rotate(45deg); }
.plan-list-disclosure[open] .plan-list { margin-top: 12px; animation: plan-list-reveal .3s cubic-bezier(.2,.8,.2,1) both; }
.plan-list { margin: 0; padding: 0; list-style: none; }
.plan-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; border-top: 1px solid var(--line); }
.plan-list li::before { font-weight: 950; }
.plan-list li.choice::before { content: "選"; width: 17px; }
.plan-list strong { min-width: 0; font-weight: 900; text-wrap: pretty; }
.plan-list span { min-width: 0; font-size: 12px; line-height: 1.4; text-align: left; text-wrap: pretty; overflow-wrap: normal; word-break: normal; }
.plan-list .plan-phrase { display: inline-block; white-space: nowrap; }
@keyframes plan-list-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.plan-fit { margin: 0 26px; border-top: 1px solid var(--line); }
.button-plan { border: 2px solid var(--ink); color: var(--ink); }
.plan-ribbon { text-align: center; line-height: 1.35; font-weight: 950; letter-spacing: .06em; }
.price-note { position: relative; z-index: 2; width: var(--content); margin: 22px auto 0; text-align: center; }

.process { width: var(--content); margin-inline: auto; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.process-copy { position: relative; z-index: 1; }
.process-art { position: relative; min-height: 530px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #21183b 0 38%, #563a7d 72%, #ff4f9a 132%); overflow: hidden; isolation: isolate; }
.process-art::before { content: "你的店，從想法走進現場"; position: absolute; left: 24px; top: 20px; z-index: 8; padding: 7px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.12); color: var(--white); backdrop-filter: blur(8px); font-size: 12px; font-weight: 950; }
.motion-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(circle at center, black, transparent 76%); }
.motion-halo { position: absolute; border-radius: 50%; filter: blur(1px); animation: motion-breathe 5.4s ease-in-out infinite alternate; }
.motion-halo-one { width: 360px; height: 360px; left: -150px; bottom: -110px; background: radial-gradient(circle, rgba(122,220,248,.62), transparent 68%); }
.motion-halo-two { width: 320px; height: 320px; right: -130px; top: -90px; background: radial-gradient(circle, rgba(221,245,74,.46), transparent 68%); animation-delay: -2.3s; }
.motion-orbit { position: absolute; width: 320px; height: 320px; left: 50%; top: 50%; border: 1px dashed rgba(255,255,255,.26); border-radius: 50%; transform: translate(-50%,-50%); animation: motion-spin 20s linear infinite; }
.motion-orbit::before,.motion-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%; box-shadow: 0 0 26px rgba(221,245,74,.85); }
.motion-orbit::before {
  background: var(--lime); left: 18px; top: 52px; }
.motion-orbit::after { right: 5px; bottom: 88px; background: var(--sky); }
.motion-piece { position: absolute; z-index: 3; margin: 0; width: 170px; border: 6px solid var(--white); border-radius: 18px; background: var(--white); box-shadow: 0 22px 52px rgba(10,5,27,.36); overflow: hidden; animation: motion-float 5.2s ease-in-out infinite; }
.motion-piece img { width: 100%; height: 120px; object-fit: cover; }
.motion-piece-pending { display: grid; place-items: center; height: 120px; padding: 12px; background: #f0ebf5; color: var(--ink-soft); font-size: 13px; line-height: 1.4; font-weight: 900; text-align: center; }
.motion-piece figcaption { padding: 7px 9px 8px; color: var(--ink); font-size: 12px; font-weight: 950; text-align: center; }
.motion-piece-logo { left: 7%; top: 23%; transform: rotate(-7deg); }
.motion-piece-store { right: 6%; top: 16%; transform: rotate(6deg); animation-delay: -1.7s; }
.motion-piece-pack { right: 12%; bottom: 8%; width: 155px; transform: rotate(-5deg); animation-delay: -3.4s; }
.motion-piece-pack img { height: 105px; }
.motion-core { position: absolute; z-index: 5; left: 50%; top: 54%; width: 250px; min-height: 170px; padding: 33px 22px 24px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(33,24,59,.72); color: var(--white); backdrop-filter: blur(16px); transform: translate(-50%,-50%); display: grid; align-content: center; text-align: center; box-shadow: 0 0 0 12px rgba(255,255,255,.06), 0 26px 70px rgba(0,0,0,.32); animation: motion-core 4s ease-in-out infinite alternate; }
.motion-core span { color: var(--lime); font-size: 12px; font-weight: 950; letter-spacing: .14em; }
.motion-core strong { margin: 4px 0 5px; font-size: 24px; line-height: 1.25; }
.motion-core small { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; }
.motion-spark { position: absolute; z-index: 2; width: 19px; height: 19px; background: var(--pink); transform: rotate(45deg); animation: motion-spark 2.8s ease-in-out infinite; }
.motion-spark-one { left: 27%; bottom: 18%; }
.motion-spark-two { right: 27%; top: 13%; width: 12px; height: 12px; background: var(--lime); animation-delay: -1.2s; }
@keyframes motion-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes motion-breathe { to { scale: 1.18; opacity: .72; } }
@keyframes motion-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes motion-core { to { transform: translate(-50%,-50%) scale(1.035); box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.38); } }
@keyframes motion-spark { 50% { scale: 1.45; rotate: 90deg; opacity: .55; } }
.process-list { margin: 32px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.process-list > li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 950; }
.process-list h3 { margin-bottom: 5px; font-size: 20px; }
.process-list p { margin: 0; color: var(--muted); font-size: 15px; }

.contact { min-height: 0; padding: clamp(64px, 7vw, 96px) 0; overflow: hidden; background: var(--pink); color: var(--ink); display: grid; align-items: center; }
.contact::before { content: ""; position: absolute; inset: 22px; border: 2px dashed rgba(33,24,59,.36); border-radius: 44px; }
.contact-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.contact-copy { min-width: 0; }
.contact .section-index { color: var(--ink); }
.contact h2 { margin-bottom: 16px; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.12; letter-spacing: -.045em; }
.contact-copy > p:not(.section-index):not(.selected-plan) { max-width: 700px; margin: 0 0 20px; font-size: 17px; line-height: 1.65; }
.contact-actions { justify-content: flex-start; }
.button-contact { background: var(--ink); color: var(--white); }
.contact-secondary { padding: 12px 18px; font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }
.selected-plan { min-height: 28px; margin: 18px 0 0; font-size: 13px; font-weight: 900; }
.contact-intake-card { position: relative; padding: 20px 22px 15px; border: 2px solid var(--ink); border-radius: 27px; background: var(--paper); color: var(--ink); box-shadow: 8px 9px 0 var(--ink); transform: rotate(2deg); }
.contact-intake-card::before { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(33,24,59,.24); border-radius: 20px; pointer-events: none; }
.contact-intake-head, .contact-intake-card h3, .contact-intake-list, .contact-intake-foot { position: relative; z-index: 1; }
.contact-intake-head { display: flex; align-items: start; justify-content: flex-start; gap: 15px; color: var(--pink); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.contact-intake-card h3 { margin: 0 0 11px; font-size: 22px; line-height: 1.25; }
.contact-intake-list { margin: 0; padding: 0; list-style: none; }
.contact-intake-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.contact-intake-list li > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 950; }
.contact-intake-list strong, .contact-intake-list small { display: block; }
.contact-intake-list strong { font-size: 13px; line-height: 1.25; }
.contact-intake-list small { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.contact-intake-foot { display: flex; align-items: center; justify-content: flex-start; min-height: 30px; padding-top: 7px; border-top: 1px solid var(--line); }
.contact-intake-seal { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--peach); font-size: 12px; font-weight: 950; }
.site-footer { min-height: 90px; padding: 24px max(24px, calc((100vw - 1180px) / 2)); background: var(--ink); color: rgba(255,255,255,.68); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 24px; color: var(--white); font-weight: 850; }

@media (max-width:1100px) {
  .site-nav { display: flex; gap: clamp(8px, 2.4vw, 24px); }
  .site-nav a { padding-inline: clamp(5px, 1.3vw, 10px); font-size: clamp(12px, 1.7vw, 14px); }
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(10px, 2.5vw, 24px); }
  .hero { position: relative; top: auto; }
  .hero-cover-layer { box-shadow: none; }
  /* Keep the hero visual and the summary card in one reading row. */
  .hero-layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, .68fr);
    gap: clamp(18px, 5vw, 60px);
    align-items: center;
  }
  .hero-copy { max-width: none; min-width: 0; }
  .hero-offer { width: 100%; margin-left: 0; }
  .scroll-cue { display: none; }
  .wall-card { width: 120px; }
  .catalog-grid { grid-template-columns: repeat(var(--catalog-tablet-column-count, 4), minmax(0, 1fr)); }
  .product-media { height: var(--catalog-media-height-tablet, 136px); min-height: 0; }
  .missing-media { height: 136px; min-height: 0; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-card { width: 100%; margin-inline: auto; }
  .process-art { min-height: 400px; }
}

/* Tablet hero: a calmer middle scale between the desktop and phone compositions. */
@media (min-width:761px) and (max-width:1100px) {
  /* Keep 05 in the same visual reading order as desktop: image left,
     process copy right. Only the phone breakpoint changes to one column. */
  .process {
    grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
  }
  .process-art { min-height: clamp(420px, 50vw, 500px); }
  .motion-piece {
    width: clamp(126px, 15vw, 160px);
    border-width: 5px;
    border-radius: 15px;
  }
  .motion-piece img { height: clamp(88px, 10vw, 112px); }
  .motion-piece figcaption { padding: 6px; font-size: 12px; }
  .motion-piece-logo { left: 4%; top: 21%; }
  .motion-piece-store { right: 3%; top: 15%; }
  .motion-piece-pack { right: 5%; bottom: 7%; width: clamp(112px, 14vw, 150px); }
  .motion-piece-pack img { height: clamp(72px, 9vw, 102px); }
  .motion-orbit { width: clamp(220px, 29vw, 310px); height: clamp(220px, 29vw, 310px); }
  .motion-core {
    width: clamp(190px, 23vw, 242px);
    min-height: clamp(148px, 17vw, 170px);
    padding: clamp(22px, 2.4vw, 33px) clamp(14px, 2vw, 22px) clamp(18px, 1.8vw, 24px);
  }
  .motion-core strong { font-size: clamp(19px, 2.3vw, 24px); }

  /* Tablet follows the desktop composition: the video fills the hero again. */
  .hero-video {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
    transform: none;
    filter: none;
    opacity: .54;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero {
    min-height: max(720px, 100svh);
    padding: 112px 0 96px;
    background: var(--ink);
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .78fr);
    gap: clamp(28px, 4vw, 52px);
  }
  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(46px, 5.3vw, 60px);
    line-height: 1.1;
  }
  .hero-lead {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 1.72;
  }
  .hero-facts { gap: 18px; margin-top: 28px; }
  .hero-offer { padding: 96px 24px 24px; border-radius: 30px; }
  .hero-offer::before { inset: 12px; border-radius: 22px; }
  .hero-offer-art { width: 160px; top: -70px; right: 18px; }
  .hero-offer h2 { margin-bottom: 14px; font-size: 25px; line-height: 1.3; }
  .hero-offer li { padding: 9px 0; font-size: 15px; line-height: 1.45; }
  .hero-offer > a { margin-top: 14px; font-size: 13px; }
}

@media (min-width:1101px) and (max-height:700px) {
  .hero { position: relative; top: auto; }
}

@media (min-width:761px) and (max-width:1100px) and (min-height:601px) {
  .product-dialog.is-html-preview .product-dialog-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(280px,56dvh) minmax(0,1fr); }
  .product-dialog.is-html-preview .product-dialog-content { padding: 30px clamp(22px, 7vw, 58px) 28px; }
}

@media (max-width:760px) and (max-height:700px) and (orientation:landscape) {
  .product-dialog.is-html-preview:not(.is-media-missing) .product-dialog-layout { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); grid-template-rows: minmax(0,1fr); }
  .product-dialog.is-html-preview .product-dialog-visual.is-event-media-layout { padding: 48px 10px 10px; }
  .product-dialog.is-html-preview .product-dialog-content { padding: 20px 12px 20px; }
}

@media (max-width:760px) {
  :root { --content: min(calc(100% - 28px), 620px); --catalog-wide: calc(100% - 20px); --route-sticky-top: 104px; }
  html, body { max-width: 100%; overflow-x: hidden; }
  html { scroll-padding-top: var(--s05-header-offset, 104px); }
  body { font-size: 16px; }
  .site-header { inset: 10px 18px auto 10px; width: auto; max-width: none; margin-inline: 0; min-width: 0; min-height: 54px; padding: 7px 7px 7px 10px; border-radius: 999px; overflow: hidden; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 25vw); grid-template-areas: none; gap: clamp(3px, 1.6vw, 8px); }
  .site-header > * { min-width: 0; }
  .brand { grid-area: auto; min-width: 0; }
  .site-nav { grid-area: auto; width: auto; min-width: 0; overflow: hidden; justify-self: stretch; justify-content: space-between; gap: 0; padding-top: 0; border-top: 0; }
  .site-nav a { flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 5px 0; font-size: 13px; text-align: center; text-overflow: clip; white-space: nowrap; }
  .brand-name { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; }
  .header-cta { grid-area: auto; width: 100%; min-width: 0; max-width: none; overflow: hidden; padding: 8px 8px; font-size: 13px; text-overflow: clip; white-space: nowrap; }
  .hero {
    min-height: max(720px, 100svh, var(--hero-video-min-height, 0px));
    padding: 108px 0 86px;
    align-items: start;
    background:
      radial-gradient(circle at 78% 98%, rgba(255,79,154,.22), transparent 39%),
      radial-gradient(circle at 24% 100%, rgba(122,220,248,.16), transparent 44%),
      linear-gradient(180deg, var(--ink) 0%, #2a2046 58%, #3b2d54 100%);
  }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(26,17,51,.88) 0%, rgba(26,17,51,.62) 52%, rgba(26,17,51,.28) 100%),
      linear-gradient(0deg, rgba(26,17,51,.88) 0%, rgba(26,17,51,.18) 68%, transparent 100%);
  }
  .hero-video {
    top: var(--hero-video-top, var(--s05-header-height, 54px));
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    transform: none;
    filter: saturate(1.14) contrast(1.1) brightness(1.05);
    opacity: .78;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  .hero h1 { margin-bottom: 20px; line-height: 1.14; }
  .hero-lead { margin-bottom: 24px; font-size: clamp(14px, 3vw, 16px); line-height: 1.65; }
  .hero-actions { display: grid; gap: 8px; }
  .hero-actions .button { width: 100%; min-height: 44px; padding: 10px 9px; font-size: clamp(13px, 3.4vw, 15px); }
  .hero-facts { gap: 8px 5px; justify-content: space-between; }
  .hero-facts li { flex: 1 1 0; min-width: 0; grid-template-columns: 1fr; gap: 5px; }
  .hero-facts strong { font-size: clamp(18px, 5.6vw, 25px); }
  .hero-facts span { font-size: clamp(12px, 2.7vw, 13px); line-height: 1.35; overflow-wrap: anywhere; }
  .hero-offer { min-width: 0; border-radius: 20px; transform: none; }
  .hero-offer::before { inset: 8px; border-radius: 14px; }
  .hero-offer-kicker { line-height: 1.35; }
  .hero-offer h2 { line-height: 1.28; }
  .hero-offer > a { display: flex; align-items: flex-start; gap: 3px; line-height: 1.4; }
  .route-strip { min-height: 0; padding: 10px 12px; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; line-height: 1.35; }
  .route-strip span { font-size: 14px; }
  .section { padding: 82px 0; }
  .product-wall { padding: 42px 0 42px; }
  .section-heading h2 { font-size: clamp(32px, 10vw, 42px); }
  .section-heading > p:last-child { font-size: 16px; }
  .wall-heading { margin-bottom: 18px; }
  .wall-heading .section-heading { padding-right: 0; }
  .wall-heading .section-heading h2 { position: relative; z-index: 1; text-wrap: balance; }
  .wall-heading .section-heading h2::after { content: ""; position: absolute; z-index: 0; right: 6px; bottom: -10px; display: block; width: clamp(34px, 9vw, 46px); aspect-ratio: 1; margin: 0; background: url("../assets/landing-page/shop-v8/ui-editorial-cards-v2_70w.webp") center / contain no-repeat; filter: drop-shadow(0 8px 12px rgba(0,0,0,.28)); opacity: .68; transform: rotate(5deg); pointer-events: none; }
  .wall-heading .section-heading > p:last-child { max-width: 100%; font-size: 14px; line-height: 1.5; letter-spacing: -.02em; }
  .wall-heading-art { display: none; }
  .marquee-shell { gap: 8px; }
  .wall-card { width: 112px; border-radius: 15px; }
  .wall-card-copy { inset: auto 9px 10px; }
  .wall-card h3 { font-size: 15px; }
  .wall-card p { font-size: 12px; }
  .marquee-track {
  gap: 8px;
  padding-left: 8px; animation-duration: 68s; }
  .catalog-intro { position: relative; display: block; gap: 0; }
  .catalog-intro .section-heading h2 { max-width: 100%; font-size: clamp(25px, 7.6vw, 36px); line-height: 1.12; letter-spacing: -.06em; text-wrap: balance; }
  .catalog-intro .section-heading > p:last-child { max-width: 100%; font-size: clamp(14px, 3.25vw, 15px); line-height: 1.55; }
  .catalog-intro > img { position: absolute; top: clamp(28px, 8vw, 42px); right: 0; width: clamp(52px, 15vw, 78px); justify-self: auto; opacity: .88; pointer-events: none; }
  .category-nav { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 9px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; }
  .category-nav.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
  .category-button { flex: 0 0 auto; min-height: 44px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 11px 10px 48px; }
  .product-title-row { gap: 4px; margin-bottom: 6px; }
  .product-title-row h3 { line-height: 1.15; }
  .product-category { max-width: 42%; font-size: 12px; }
  .product-quick { margin-top: 9px; padding-top: 8px; }
  .product-card-open > span { right: 8px; bottom: 8px; left: 8px; padding: 7px 8px; font-size: 13px; }
  .scenario-output-rule { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .scenario-output-rule > span { justify-self: start; }
  .scenario-output-rule-back { top: -44px; right: 14px; width: 42px; height: 42px; font-size: 25px; }
  .plans-heading { padding-right: 0; }
  .plan-card { border-width: 1px; }
  .plan-price-row { align-items: end; }
  .plan-price-original small { font-size: max(12px, .5em); }
  .plan-price-original > strong::after { height: 4px; }
  .plan-price-opening small { font-size: max(12px, .37em); }
  .package-toggle { gap: 4px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card header { min-height: 0; }
  .plan-label { min-height: 0; }
  .plan-price-row { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .plan-total { line-height: 1.2; }
  .plan-list-title { margin: 0; line-height: 1.4; }
  .plan-list-toggle-icon { font-size: 16px; }
  .button-plan { border-width: 2px; }
  .plan-ribbon { min-height: 0; line-height: 1.4; }
  .product-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); border-radius: 19px; }
  .product-dialog-panel { height: 100%; max-height: calc(100dvh - 12px); border-radius: 19px; }
  .product-dialog-layout { height: 100%; max-height: calc(100dvh - 12px); grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(220px,42dvh) minmax(0,1fr); }
  .product-dialog.is-html-preview .product-dialog-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(260px,56dvh) minmax(0,1fr); }
  .product-dialog.is-media-missing .product-dialog-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(140px,26dvh) minmax(0,1fr); }
  .product-dialog-close { top: 9px; right: 9px; width: 44px; height: 44px; font-size: 27px; }
  .product-dialog-visual { padding: 12px; gap: 8px; overflow-y: auto; }
  .product-dialog-visual.is-event-media-layout { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); gap: 0; padding: 48px 12px 12px; overflow: hidden; }
  .product-dialog-visual.is-event-media-layout > .product-detail-frame-label { top: 10px; right: 57px; max-width: calc(100% - 82px); padding: 5px 9px; font-size: 11px; }
  .product-detail-media-content.is-event-media-content { justify-content: safe center; gap: 8px; }
  .product-detail-media-stage.is-event-media-stage { flex: 0 0 auto; }
  .product-detail-main { min-height: 0; flex: 1 1 auto; border-radius: 13px; }
  .product-detail-main.is-landscape { flex: 0 0 auto; height: auto; min-height: 0; max-height: min(25dvh,210px); }
  .product-detail-main.is-event-media { width: min(100%, calc(min(22dvh, 190px) * var(--detail-media-ratio, 1.3333))); height: auto; max-height: min(22dvh, 190px); aspect-ratio: var(--detail-media-ratio, 1.3333); }
  .product-detail-main.is-event-media.is-embed { width: min(100%, calc(min(28dvh, 210px) * var(--detail-media-ratio, 1.6))); height: auto; max-height: min(28dvh, 210px); aspect-ratio: var(--detail-media-ratio, 1.6); }
  .product-detail-media-label { top: 8px; left: 8px; max-width: calc(100% - 56px); padding: 5px 8px; font-size: 12px; }
  .product-detail-thumbs { display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 1px 2px 3px; }
  .product-detail-thumbs.is-event-media-thumbs { justify-content: center; gap: 6px; overflow: visible; padding: 1px 2px 3px; }
  .product-detail-thumbs.is-event-media-thumbs .product-detail-thumb { flex: 0 0 auto; }
  .product-detail-thumbs.is-event-media-thumbs .product-detail-thumb { max-width: calc((100% - 6px) / 2); height: min(7dvh, 62px); }
  .product-detail-thumb { flex: 0 0 58px; border-radius: 7px; }
  .product-detail-thumb-play { width: 23px; height: 23px; font-size: 9px; }
  .product-detail-media-note { padding: 7px 9px; font-size: 12px; }
  .product-dialog-content { padding: 22px 17px 30px; }
  .product-dialog-content h2 { margin-right: 46px; font-size: 29px; }
  .product-detail-purpose { margin-bottom: 16px; font-size: 14px; }
  .product-detail-delivery { padding: 15px 15px 17px; border-radius: 15px; box-shadow: 3px 4px 0 var(--ink); }
  .product-detail-delivery h3 { font-size: 18px; }
  .product-detail-delivery li { font-size: 14px; }
  .product-detail-facts { grid-template-columns: 1fr; gap: 8px; }
  .product-detail-facts section { padding: 12px 13px; }
  .product-detail-facts p { font-size: 14px; }
  .product-detail-plan-scope { margin-top: 9px; padding: 12px 13px; }
  .product-detail-plan-scope p { font-size: 14px; }
  .product-detail-specs { margin-top: 15px; }
  .product-detail-specs h3 { font-size: 15px; }
  .product-detail-specs dl > div { grid-template-columns: minmax(78px,.27fr) minmax(0,1fr); gap: 8px; padding: 10px 0; }
  .product-detail-specs dd { font-size: 14px; }
  .product-detail-plans { margin-top: 14px; }
  .product-detail-more { margin-top: 17px; padding-top: 14px; }
  .product-detail-more button { min-height: 44px; font-size: 13px; }
  .process {
    width: var(--content);
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .process-copy { min-width: 0; }
  .process-copy .section-index {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
  }
  .process-copy .section-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 7.4vw, 32px);
    line-height: 1.12;
  }
  .process-list { margin-top: 20px; }
  .process-list li {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 13px 0;
  }
  .process-list > li > span { width: 36px; height: 36px; font-size: 12px; }
  .process-list h3 { margin-bottom: 3px; font-size: 17px; line-height: 1.35; }
  .process-list p { font-size: 14px; line-height: 1.45; }
  .process-art { min-height: 390px; }
  .motion-piece { width: 118px; border-width: 4px; border-radius: 13px; }
  .motion-piece img { height: 78px; }
  .motion-piece figcaption { padding: 5px; font-size: 12px; }
  .motion-piece-logo { left: 4%; top: 22%; }
  .motion-piece-store { right: 3%; top: 18%; }
  .motion-piece-pack { right: 7%; bottom: 7%; width: 108px; }
  .motion-piece-pack img { height: 68px; }
  .motion-orbit { width: 260px; height: 260px; }
  .motion-core { top: 56%; width: 205px; min-height: 140px; padding: 24px 15px 18px; }
  .motion-core strong { font-size: 20px; }
  .contact { min-height: 0; padding: 50px 0 46px; }
  .contact::before { inset: 12px; border-radius: 28px; }
  .contact h2 { margin-bottom: 12px; font-size: clamp(34px, 10vw, 44px); line-height: 1.1; }
  .contact-inner { grid-template-columns: 1fr; gap: 8px; }
  .contact-copy > p:not(.section-index):not(.selected-plan) { margin-bottom: 18px; font-size: 15px; line-height: 1.55; }
  .selected-plan:empty { display: none; }
  .contact-intake-card { padding: 16px 15px 12px; transform: rotate(.6deg); }
  .contact-intake-card h3 { margin-bottom: 8px; font-size: 20px; }
  .contact-intake-list li { padding: 7px 0; }
  .contact-intake-foot { min-height: 27px; padding-top: 6px; }
  .contact-actions { display: grid; gap: 8px; }
  .site-footer { flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width:760px) {
  .product-media { height: var(--catalog-media-height-mobile, clamp(118px, 32vw, 136px)); min-height: 0; }
  .missing-media { height: clamp(118px, 32vw, 136px); min-height: 0; }
  /* T07：標籤 12px 後，品項卡右半格的「其他展示圖」在手機會斷成兩行；收掉字距與左右內距，真的放不下時換行也維持圓角框 */
  .media-label { padding: 3px 5px; border-radius: 8px; letter-spacing: 0; }
  .product-title-row h3 { font-size: clamp(15px, 4.4vw, 18px); }
}

/* Mobile balance: keep the copy and summary card in one centered reading flow. */
@media (max-width:760px) {
  .hero-layout { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .hero-copy { width: 100%; min-width: 0; }
  .hero h1 { width: 100%; max-width: min(100%, 300px); font-size: clamp(29px, 7.8vw, 36px); text-wrap: balance; }
  .hero-offer { width: 100%; max-width: 360px; justify-self: center; margin-top: 40px; padding: 48px 16px 16px; }
  .hero-offer-art { width: clamp(86px, 23vw, 112px); top: -40px; right: 8px; }
  .hero-offer-kicker { font-size: clamp(12px, 3vw, 14px); }
  .hero-offer h2 { margin-bottom: 12px; font-size: clamp(20px, 5.2vw, 28px); }
  .hero-offer li {
  overflow-wrap: anywhere; display: flex; align-items: center; gap: 5px; overflow: hidden; padding: 8px 0; font-size: clamp(12px, 3.4vw, 15px); line-height: 1.4; white-space: nowrap; }
  .hero-offer li span { flex: 0 0 auto; margin-right: 0; font-size: 12px; }
  .hero-offer > a {
  overflow-wrap: anywhere; margin-top: 12px; font-size: clamp(13px, 3vw, 15px); }
  /* Keep the facts row below the CTAs; negative shifting makes the smallest phone overlap. */
  .hero-facts { margin-top: 18px; transform: none; }
}

/* Smallest-phone visual baseline: lock the left copy, summary card, and fact row into a readable rhythm. */
@media (max-width:380px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  .hero h1 { max-width: 280px; font-size: clamp(28px, 8.2vw, 32px); }
  .hero-facts { margin-top: 18px; }
  .hero-facts li { gap: 4px; }
  .hero-facts span { font-size: 12px; line-height: 1.3; }
  /* T07：字級提高到 13–14px 後，兩欄品項卡在 ≤340px 放不下「看作品與交付細節」按鈕（會蓋住上方文字），改成單欄 */
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  /* 頁首：「直接洽詢」只取文字需要的寬度，讓三個導覽連結之間留出空隙（320px 寬時原本會黏在一起） */
  .site-header { grid-template-columns: 34px minmax(0, 1fr) max-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  /* No 04 <-> 05 handoff runs here, so scene ownership must not hide either scene. */
  .plans-cover-scene[data-s05-scene] > .plans,
  .plans-cover-scene[data-s05-scene] + .process-contact-scene,
  .plans-cover-scene[data-s05-scene] + .process-contact-scene > .process,
  .plans-cover-scene[data-s05-scene] + .process-contact-scene > .contact { visibility: visible; pointer-events: auto; }
  .plans-heading-copy .section-index::before { animation: none; }
  .plans.is-covering { position: relative; top: auto; right: auto; bottom: auto; left: auto; height: auto; max-height: none; overflow: hidden; transform: none; transition: none; }
  .plans.is-covering .plans-heading, .plans.is-covering .plan-card { opacity: 1; translate: none; }
  .plans.is-covering .plans-heading-copy h2, .plans.is-covering.is-cover-visible .plans-heading-copy h2 { clip-path: none; opacity: 1; transition: none; }
  .plans.is-covering.is-reversing { transition: none; }
  .hero { position: relative; top: auto; }
  .hero-cover-layer { box-shadow: none; }
  .hero-cover-layer::before { display: none; }
  .catalog.is-covering { transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--content); justify-content: center; }
  .marquee-card-duplicate { display: none; }
}


/* 方案包裹：品牌物件擺放桌面 */
.package-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.package-modal[hidden] { display: none; }
.package-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.package-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.package-modal-card {
  position: relative;
  z-index: 1;
  transform: translateY(16px) scale(.975);
  transition: transform .4s cubic-bezier(.2, .9, .2, 1);
}
.package-modal.is-visible .package-modal-card { transform: translateY(0) scale(1); }
.package-modal-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 15;
  border: 1px solid rgba(33, 24, 59, .16);
  border-radius: 22px;
  pointer-events: none;
}
.package-modal-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 950;
}
.package-modal-kicker-mark {
  flex: 0 0 auto;
  border: 2px solid var(--pink);
  border-radius: 50%;
}
.package-modal-title-row {
  display: flex;
  justify-content: space-between;
}
.package-modal-prefix {
  margin: 0 0 2px;
  font-weight: 950;
  letter-spacing: .08em;
}
.package-modal-head h2 {
  margin: 0;
  line-height: 1;
}
.package-modal-lead {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.package-display {
  position: relative;
}
.package-display::after {
  transition: background-position .3s ease;
}
.package-display-topline {
  justify-content: space-between;
  gap: 12px;
}
.package-display-halo {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 193, 127, .28), rgba(255, 79, 154, .1) 44%, transparent 74%);
  filter: blur(14px);
  transform: translate3d(calc(-50% + var(--package-pointer-x, 0px)), var(--package-pointer-y, 0px), 0);
  transition: transform .32s ease;
  pointer-events: none;
}
.package-display-glint {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(221, 245, 74, .8);
  opacity: .76;
}
.package-display-glint-one { top: 23%; left: 8%; }
.package-display-glint-two { right: 9%; top: 44%; width: 7px; height: 7px; border-color: var(--pink); box-shadow: 0 0 18px rgba(255, 79, 154, .8); }

.package-kit {
  position: absolute;
  border: 1px solid rgba(255, 224, 166, .48);
  transform: translate3d(var(--package-pointer-x, 0px), var(--package-pointer-y, 0px), 0) perspective(900px) rotateX(7deg) rotateZ(-1.1deg);
  transition: transform .34s ease;
}
.package-kit::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 224, 166, .26);
  border-radius: 23px 23px 49px 49px;
  pointer-events: none;
}
.package-kit-handle {
  position: absolute;
  z-index: -1;
  left: 18%;
  right: 18%;
  top: -104px;
  height: 145px;
  border: 13px solid #7a3c72;
  border-bottom: 0;
  border-radius: 90px 90px 0 0;
  box-shadow: 0 0 0 2px rgba(255, 224, 166, .26), inset 0 5px rgba(255, 255, 255, .1);
}
.package-kit-liner {
  position: absolute;
  border-radius: 20px 20px 42px 42px;
}
.package-kit-rim {
  position: absolute;
  left: -7px;
  right: -7px;
  top: -8px;
  height: 36px;
  border: 1px solid rgba(255, 224, 166, .56);
  border-radius: 999px;
  background: linear-gradient(180deg, #85506f, #472151);
  box-shadow: 0 8px 14px rgba(5, 2, 16, .24), inset 0 2px rgba(255, 255, 255, .13);
}
.package-kit-front {
  position: absolute;
  left: 10%;
  right: 10%;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 17px 12px;
  border: 1px solid rgba(255, 224, 166, .42);
  border-radius: 12px 12px 28px 28px;
  background: linear-gradient(105deg, rgba(255, 216, 149, .92), rgba(255, 158, 172, .83));
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(33, 24, 59, .2), inset 0 0 0 3px rgba(255, 255, 255, .2);
  transform: rotate(-1.2deg);
  letter-spacing: .12em;
}
.package-kit-front span { font-size: clamp(16px, 2vw, 23px); font-weight: 950; }
.package-kit-front small { font-weight: 950; letter-spacing: .13em; }
.package-kit-front span + small { margin-left: .6em; }
.package-kit-tape {
  position: absolute;
  right: 13%;
  width: 76px;
  height: 24px;
  border: 1px solid rgba(33, 24, 59, .22);
  background: rgba(221, 245, 74, .88);
  box-shadow: 2px 3px 0 rgba(33, 24, 59, .24);
  transform: rotate(8deg);
}
.package-piece {
  position: absolute;
  left: var(--piece-x);
  top: var(--piece-y);
  z-index: calc(var(--piece-depth) + 5);
  display: grid;
  width: var(--piece-width);
  padding: 6px 6px 9px;
  border: 1px solid rgba(33, 24, 59, .22);
  border-radius: 9px 9px 15px 15px;
  background: #fffaf2;
  box-shadow: 0 20px 28px rgba(8, 3, 22, .35), 0 0 0 3px rgba(255, 255, 255, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-50%, 52px, 0) rotate(var(--piece-rotate)) scale(.72);
  transform-origin: center bottom;
  transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .28s ease, filter .28s ease;
}
.package-piece-tape {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -9px;
  width: 43px;
  height: 14px;
  border: 1px solid rgba(33, 24, 59, .16);
  background: color-mix(in srgb, var(--piece-accent) 74%, white 26%);
  box-shadow: 0 2px 5px rgba(33, 24, 59, .14);
  transform: translateX(-50%) rotate(-3deg);
  opacity: .92;
}
.package-piece-media {
  position: relative;
  height: var(--piece-media-height);
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(135deg, #f2d7bb, #94606a 55%, #2d1b43);
}
.package-piece-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 35%, rgba(33, 24, 59, .2));
  pointer-events: none;
}
.package-piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.package-piece-media-glint { position: absolute; z-index: 3; inset: 0; background: linear-gradient(112deg, transparent 26%, rgba(255, 255, 255, .35) 42%, transparent 60%); mix-blend-mode: screen; pointer-events: none; }
.package-piece-media.is-missing::after { content: "成品圖待補"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 250, 242, .84); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.package-piece-copy { display: grid; gap: 3px; padding: 7px 4px 0; color: var(--ink); }
.package-piece-meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: rgba(33, 24, 59, .56); font-weight: 950; letter-spacing: .04em; line-height: 1.2; }
.package-piece-meta i { width: 7px; height: 7px; flex: 0 0 auto; margin-right: auto; border-radius: 50%; background: var(--piece-accent); box-shadow: 0 0 0 1px rgba(33, 24, 59, .18); }
.package-piece-meta b { color: rgba(33, 24, 59, .42); letter-spacing: .08em; }
.package-piece-copy strong { min-height: 2.45em; font-size: 12px; font-weight: 950; line-height: 1.22; overflow-wrap: anywhere; }
.package-piece-choice { justify-self: start; margin-top: 1px; padding: 2px 5px 1px; border-radius: 999px; background: rgba(255, 79, 154, .12); color: #b21e63; font-weight: 950; letter-spacing: .05em; line-height: 1.2; }
.package-piece.is-choice { border-color: rgba(255, 79, 154, .54); }
.package-modal.is-open .package-piece:hover,
.package-modal.is-open .package-piece:focus-visible {
  z-index: 30;
  outline: 3px solid var(--piece-accent);
  outline-offset: 4px;
  box-shadow: 0 28px 38px rgba(8, 3, 22, .46), 0 0 0 4px rgba(255, 255, 255, .22);
  filter: saturate(1.06);
  transform: translate3d(-50%, -10px, 0) rotate(0deg) scale(calc(var(--piece-scale) * 1.06));
}
.package-modal.is-open .package-piece:not(.is-event-package-piece):hover .package-piece-media img,
.package-modal.is-open .package-piece:not(.is-event-package-piece):focus-visible .package-piece-media img { transform: scale(1.07); filter: saturate(1.12) contrast(1.03); }
.package-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.package-modal-foot p { align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; }
.package-modal-foot-mark { font-size: 21px; font-weight: 950; }
.package-modal-close-action { flex: 0 0 auto; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 var(--ink); font-weight: 950; transition: transform .18s ease, background .18s ease, color .18s ease; }

@media (max-width:760px) {
  .package-modal-card::before { inset: 7px; border-radius: 18px; }
  .package-kit-handle { left: 17%; right: 17%; top: -83px; height: 120px; border-width: 10px; }
  .package-kit-rim { height: 29px; }
  .package-piece { left: var(--piece-mobile-x, var(--piece-x)); top: var(--piece-mobile-y, var(--piece-y)); width: min(var(--piece-width), 148px); padding: 5px 5px 8px; transform: translate3d(-50%, 50px, 0) rotate(var(--piece-rotate)) scale(.68); }
  .package-piece-media { height: min(var(--piece-media-height), 80px); }
  .package-piece-copy { padding-top: 6px; }
  .package-piece-tape { width: 37px; height: 12px; top: -8px; }
  .package-modal.is-open .package-piece:hover, .package-modal.is-open .package-piece:focus-visible { transform: translate3d(-50%, -8px, 0) rotate(0deg) scale(calc(var(--piece-mobile-scale, .72) * 1.05)); }
}

@media (max-width:760px) {
  .package-modal-kicker { display: block; }
  .package-modal-kicker-mark { display: inline-block; margin-right: 7px; vertical-align: -1px; }
  .package-piece-copy strong { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .package-display-halo,.package-kit,.package-piece,.package-piece-media img { transition: none; }
  .package-modal.is-open .package-piece:hover, .package-modal.is-open .package-piece:focus-visible { transform: translate3d(-50%, 0, 0) rotate(var(--piece-rotate)) scale(var(--piece-scale)); }
}

@media (prefers-reduced-motion: reduce) and (max-width:760px) {
  .package-modal.is-open .package-piece:hover, .package-modal.is-open .package-piece:focus-visible { transform: translate3d(-50%, 0, 0) rotate(var(--piece-rotate)) scale(var(--piece-mobile-scale, .72)); }
}

/* 方案包裹：紫色動態層與局部堆疊畫布 */
.package-modal {
  place-items: center;
  background: rgba(18, 8, 37, .32);
}
.package-modal-backdrop {
  background: rgba(18, 8, 37, .28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  touch-action: none;
}
.package-modal-card {
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  box-shadow: 0 30px 90px rgba(9, 3, 24, .56), 9px 11px 0 rgba(20, 11, 40, .72);
}
.package-modal-card::before { display: none; }
.package-modal-lead {
  margin-top: 12px;
  color: rgba(255, 255, 255, .76);
}
.package-modal-full-set {
  display: block;
  height: auto;
  flex: 0 0 auto;
  transform: rotate(6deg);
}
.package-motion-canvas {
  display: block;
}
.package-motion-copy {
  z-index: 2;
  left: 50%;
  bottom: 1px;
  display: grid;
  justify-items: center;
  gap: 1px;
  text-align: center;
}
.package-motion-copy span {
  color: rgba(255, 255, 255, .54);
}
.package-motion-copy span,.package-motion-copy small {
  font-weight: 850;
  letter-spacing: .13em;
}
.package-motion-copy strong {
  color: var(--white);
  font-size: clamp(18px, 2.3vw, 25px);
  font-weight: 950;
  line-height: 1.15;
}
.package-motion-copy small { color: var(--lime); }
.package-motion-list {
  display: flex;
  overflow: auto;
}
.package-motion-list button {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
}
.package-motion-list button:hover,
.package-motion-list button:focus-visible,
.package-motion-list button.is-active {
  border-color: var(--lime);
  background: rgba(221, 245, 74, .16);
  color: var(--white);
  outline: none;
}
.package-motion-fallback {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  text-align: center;
}
.package-modal-foot p { color: rgba(255, 255, 255, .62); }
.package-modal-foot-mark {
  line-height: .9; color: var(--lime); }
.package-modal-close-action {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.package-modal-close-action:hover,
.package-modal-close-action:focus-visible {
  color: var(--white);
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  transform: translateY(-2px);
  background: var(--pink);
  border-color: var(--pink);
}
html.package-modal-open,
body.package-modal-open { overscroll-behavior: none; }

@media (max-width:760px) {
  .package-modal { place-items: start center; }
  .package-modal-card {
    box-shadow: 6px 8px 0 rgba(20, 11, 40, .72), 0 23px 66px rgba(9, 3, 24, .56);
  }
  .package-modal-kicker { padding-right: 0; }
  .package-modal-lead {
  line-height: 1.55; margin-top: 10px; font-size: 12px; }
  .package-motion-copy { bottom: 0; }
  .package-motion-copy strong { font-size: 18px; }
  .package-modal-foot {
    align-items: stretch;
    gap: 11px;
  }
  .package-modal-foot p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .package-modal,
  .package-modal-card,
  .package-modal-close-action,
  .package-motion-list button { transition: none; }
}

/* 方案包裹：紫色提袋與密集重疊的堆疊 */
.package-display {
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
}
.package-display-topline {
  position: absolute;
  z-index: 14;
  inset: 16px 20px auto;
  padding: 0;
  color: rgba(255, 250, 242, .58);
  font-weight: 950;
  letter-spacing: .16em;
}
.package-display-halo { z-index: 1; }
.package-display-glint { display: block; z-index: 13; }
.package-kit {
  display: block;
  border-radius: 28px 28px 58px 58px;
}
.package-kit-handle,.package-kit-rim,.package-kit-front,.package-kit-tape { display: block; }
.package-kit-liner { inset: 20px 20px 64px; }
.package-kit-front { bottom: 13px; }
.package-kit-tape { bottom: 9px; }
.package-motion-frame {
  position: absolute;
  height: auto;
  overflow: visible;
}
.package-motion-canvas {
  width: 100%;
}
.package-motion-copy {
  transform: translateX(-50%);
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.package-motion-list {
  position: absolute;
  z-index: 15;
  margin: 0;
  padding: 0;
}
.package-motion-list button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(25, 10, 39, .66);
}
.package-motion-list button > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.package-motion-choice {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 1px 4px 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 950;
  letter-spacing: .02em;
  line-height: 1;
}
.package-motion-list button.is-active .package-motion-choice {
  background: var(--lime);
}

@media (max-width:760px) {
  .package-display-topline { inset: 13px 14px auto; }
  .package-kit-liner { inset: 16px 15px 55px; }
  .package-kit-front { left: 8%; right: 8%; bottom: 10px; padding: 9px 11px 8px; }
  .package-kit-front span { font-size: 14px; }
  .package-kit-tape { right: 12%; bottom: 8px; width: 55px; height: 19px; }
}

/* 方案包裹：紫色層裡固定顯示的選擇規則 */
.package-display-choice-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 224, 166, .42);
  border-radius: 999px;
  background: rgba(25, 10, 39, .84);
  color: rgba(255, 250, 242, .82);
  font-weight: 900;
  line-height: 1.2;
  pointer-events: none;
}
.package-display-choice-note[hidden] { display: none; }
.package-display-choice-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  letter-spacing: .02em;
}

/* 方案包裹：紫色方案頁本身就是展示畫面 */
.package-modal {
  overscroll-behavior: none;
  padding: 12px;
}
.package-modal-card {
  scrollbar-color: var(--lime) rgba(255, 255, 255, .12);
  touch-action: pan-y;
  width: min(1080px, 100%);
  height: min(850px, calc(100dvh - 24px));
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border-color: rgba(255, 224, 166, .34);
  border-radius: 28px;
  background: #321744;
}
.package-modal-head {
  position: absolute;
  z-index: 22;
  top: 18px;
  left: clamp(24px, 5vw, 62px);
  right: clamp(24px, 5vw, 62px);
  padding: 0;
  pointer-events: none;
}
.package-modal-kicker {
  min-height: 18px;
  color: rgba(255, 250, 242, .62);
  letter-spacing: .15em;
}
.package-modal-kicker-mark {
  width: 9px;
  height: 9px;
  border-color: var(--lime);
  background: var(--pink);
  box-shadow: none;
}
.package-modal-title-row {
  align-items: flex-start;
  gap: 16px;
  margin-top: 2px;
  padding-right: 0;
}
.package-modal-prefix {
  margin-bottom: 2px;
  color: var(--lime);
}
.package-modal-head h2 {
  color: var(--white);
  font-size: clamp(27px, 3.5vw, 42px);
  letter-spacing: -.075em;
}
.package-modal-lead {
  max-width: 52ch;
  display: none;
}
.package-modal-full-set {
  width: clamp(60px, 7vw, 76px);
  filter: drop-shadow(0 10px 13px rgba(13, 5, 28, .38));
}
.package-display,
.package-modal.is-advanced .package-display,
.package-modal.is-flagship .package-display {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #321744;
}
.package-display::before,
.package-display::after { display: block; }
.package-display::before {
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 80%, transparent);
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .105;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 250, 242, .8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 64%, rgba(221, 245, 74, .52) 0 1px, transparent 1.45px),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 8px);
  background-size: 9px 9px, 13px 13px, 17px 17px;
  mix-blend-mode: screen;
  pointer-events: none;
}
.package-display::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -9%;
  opacity: .34;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255, 206, 146, .3), transparent 31%),
    radial-gradient(circle at 19% 82%, rgba(116, 220, 245, .16), transparent 25%),
    linear-gradient(118deg, transparent 20%, rgba(255, 255, 255, .075) 35%, transparent 47%);
  filter: blur(20px);
  mix-blend-mode: screen;
  transform-origin: 50% 56%;
  animation: package-display-breathe 6.4s ease-in-out infinite;
  pointer-events: none;
}
.package-display-topline { display: none; }
.package-display-halo {
  display: none;
  bottom: 80px;
  width: min(70%, 720px);
  height: 220px;
  opacity: .2;
}
.package-kit {
  z-index: 12;
  left: 7%;
  right: 7%;
  top: 180px;
  bottom: 64px;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.package-motion-frame {
  z-index: 10;
  left: 0;
  right: 0;
  top: 120px;
  bottom: 92px;
}
.package-kit-liner {
  display: none;
  z-index: 1;
  background: transparent;
  box-shadow: none;
}
.package-kit-rim { z-index: 24; }
.package-kit-front { z-index: 24; }
.package-kit-tape { z-index: 25; }
.package-motion-canvas {
  outline: none; height: 100%; }
.package-display-choice-note {
  top: 121px;
  left: clamp(24px, 5vw, 62px);
  z-index: 23;
  max-width: min(48%, 360px);
  padding: 5px 10px 5px 6px;
}
.package-display-choice-badge {
  flex: 0 0 auto;
  font-weight: 950; min-height: 22px; padding-inline: 8px; }
.package-motion-list {
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  scrollbar-color: rgba(221, 245, 74, .75) rgba(255, 255, 255, .1);
  left: clamp(20px, 4vw, 50px);
  right: 180px;
  bottom: 21px;
  max-height: 42px;
  gap: 5px;
}
.package-motion-list button {
  padding: 4px 8px 3px;
}
.package-motion-choice { min-height: 18px; padding-inline: 5px; }
.package-modal-foot {
  position: absolute;
  z-index: 25;
  right: clamp(20px, 4vw, 50px);
  bottom: 17px;
  padding: 0;
  border-top: 0;
  pointer-events: none;
}
.package-modal-foot p {
  margin: 0; display: none; }
.package-modal-close-action {
  cursor: pointer;
  min-height: 41px;
  padding: 7px 18px;
  pointer-events: auto;
}

@media (max-width:760px) {
  .package-modal { padding: 8px; }
  .package-modal-card {
    height: min(820px, calc(100dvh - 16px));
    max-height: calc(100dvh - 16px);
    border-radius: 23px;
  }
  .package-modal-head {
    top: 13px;
    left: 18px;
    right: 18px;
  }
  .package-modal-title-row { gap: 8px; margin-top: 3px; }
  .package-modal-head h2 { font-size: clamp(27px, 7vw, 34px); }
  .package-modal-full-set { width: 56px; }
  .package-display-choice-note {
    top: 94px;
    left: 18px;
    padding: 4px 7px 4px 5px;
  }
  .package-display-choice-badge { padding-inline: 7px; }
  .package-kit {
    left: 4%;
    right: 4%;
    top: 148px;
    bottom: 58px;
    border-radius: 23px 23px 46px 46px;
  }
  .package-motion-frame {
    left: 0;
    right: 0;
    top: 103px;
    bottom: 81px;
  }
  .package-motion-list {
    left: 12px;
    right: 135px;
    bottom: 19px;
    gap: 3px;
  }
  .package-motion-list button {
    padding: 3px 6px 2px;
  }
  .package-motion-choice { padding-inline: 4px; }
  .package-modal-foot {
  flex-direction: column;
    right: 13px;
    bottom: 11px;
  }
  .package-modal-close-action {
    width: auto;
    min-height: 38px;
    padding: 6px 14px;
    font-size: 13px;
  }
}

@media (max-height:700px) {
  .package-modal-card { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  .package-modal-head { top: 13px; }
  .package-modal-head h2 { font-size: clamp(28px, 4vw, 43px); }
  .package-modal-lead { display: none; }
  .package-display-choice-note { top: 86px; }
  .package-kit { top: 125px; bottom: 52px; }
  .package-motion-frame { top: 95px; bottom: 70px; }
  .package-motion-list { bottom: 14px; }
  .package-modal-foot { bottom: 8px; }
}

@keyframes package-display-breathe {
  0%, 100% { opacity: .27; transform: scale(.985); }
  50% { opacity: .48; transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .package-display::after { animation: none; opacity: .34; transform: none; }
}

/* 方案價格層：畫面高度適配與沉穩配色 */
.plans-heading { margin-bottom: clamp(20px, 2.2vw, 26px); }
.plans-heading-copy .section-index { margin-bottom: 10px; font-size: clamp(16px, 1.5vw, 21px); }
.plans-heading-copy h2 { margin-bottom: 10px; font-size: clamp(38px, 3.8vw, 50px); line-height: 1.08; }
.plan-grid { gap: 14px; }
.plan-card {
  border-radius: 28px;
}
.plan-card header { padding: 22px 24px 18px; }
.plan-label { margin-bottom: 4px; font-size: 14px; }
.plan-card h3 { margin-bottom: 5px; font-size: 31px; line-height: 1.12; }
.plan-price-original { padding: 5px 0 4px; }
.plan-price-original > span, .plan-price-opening > span { margin-bottom: 3px; font-size: 12px; }
.plan-price-opening { padding: 8px 9px 8px; border-radius: 10px; }
.plan-price-opening > span { color: var(--ink); }
.plan-price-opening > strong { font-size: clamp(26px, 2.2vw, 36px); }
.plan-total { margin-top: 10px; padding: 5px 9px; color: var(--ink); font-size: 13px; }
.plan-package { margin-inline: 16px; }
.plan-list-wrap { padding: 15px 22px; }
.plan-list-title {
  user-select: none; padding: 9px 11px; border-radius: 11px; color: var(--ink); font-size: 14px; }
.plan-list-toggle { padding: 4px 7px; }
.plan-list li { padding: 7px 0 7px 21px; font-size: 14px; line-height: 1.4; }
.plan-list li::before { top: 7px; font-size: 14px; }
.plan-list li.choice::before { top: 8px; }
.plan-fit { margin-inline: 22px; padding: 10px 0; font-size: 14px; line-height: 1.45; }
.button-plan { width: calc(100% - 44px); min-height: 44px; margin: 0 22px 18px; padding: 9px 16px; }
.plan-advanced { transform: translateY(-10px); }
.plan-ribbon { padding: 8px 18px; font-size: 12px; }
.plan-advanced header { padding-top: 18px; }
.price-note { margin-top: 16px; font-size: 12px; line-height: 1.45; }

@media (min-width:761px) and (max-width:1100px) {
  .plans-heading { margin-bottom: 24px; }
  .plans-heading-copy h2 { font-size: clamp(32px, 4.6vw, 44px); }
  .plan-grid { gap: 10px; }
  .plan-card { border-radius: 24px; }
  .plan-card header { padding: 18px 16px 14px; }
  .plan-label { font-size: 12px; line-height: 1.3; }
  .plan-card h3 { font-size: 26px; }
  .plan-price-row { gap: 5px; }
  .plan-price-original { padding: 4px 0 3px; }
  .plan-price-original > span, .plan-price-opening > span { font-size: 12px; }
  .plan-price-original > strong { font-size: clamp(14px, 1.65vw, 18px); }
  .plan-price-opening { padding: 7px 6px; border-radius: 9px; }
  .plan-price-opening > strong { font-size: clamp(22px, 2.7vw, 30px); }
  .plan-total { margin-top: 8px; padding: 4px 7px; font-size: 12px; }
  .plan-package { margin-inline: 12px; }
  .plan-list-wrap { padding: 12px 14px; }
  .plan-list-title { padding: 8px 9px; font-size: 13px; }
  .plan-list-toggle { padding: 4px 5px; }
  .plan-list li { padding: 6px 0 6px 18px; font-size: 12px; line-height: 1.35; }
  .plan-list li::before { top: 6px; font-size: 12px; }
  .plan-list li.choice::before { top: 7px; }
  .plan-fit { margin-inline: 14px; padding: 10px 0; font-size: 12px; line-height: 1.4; }
  .button-plan { width: calc(100% - 28px); min-height: 42px; margin: 0 14px 16px; padding: 8px 12px; font-size: 13px; }
  .plan-ribbon { padding: 7px 12px; font-size: 12px; }
}

@media (max-width:760px) {
  body.s05-shared-background-active::before {
    background-size: 320px 320px;
    background-position: calc(100% + 168px) 72px;
  }
  .plans-heading { margin-bottom: 22px; }
  .plans-heading-copy .section-index { margin-bottom: 6px; font-size: 16px; }
  .plans-heading-copy h2 { margin-bottom: 6px; font-size: clamp(29px, 8.7vw, 37px); line-height: 1.08; }
  .plan-package { margin-inline: 14px; }
}

/* 04 mobile compact cards: keep the cards narrow while the full deliverables
   list and its package action stay inside the native details disclosure. */
@media (max-width:760px) {

  .plan-card {
    width: 100%;
    border-radius: 17px;
  }

  .plan-label {
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.35;
  }

  .plan-card h3 {
    margin-bottom: 5px;
    font-size: 25px;
    line-height: 1.12;
  }
  .plan-price-original { padding: 4px 0 3px; }
  .plan-price-original > span,
  .plan-price-opening > span { margin-bottom: 2px; font-size: 12px; }
  .plan-price-original > strong { font-size: 17px; }

  .plan-total {
    margin-top: 7px;
    padding: 4px 7px;
    font-size: 12px;
  }

  /* The explanatory Logo paragraph is folded away on mobile; the package
     action is revealed together with the list disclosure. */
  .plan-list-toggle { gap: 4px; padding: 4px 6px; }

  .plan-fit {
    margin-inline: 14px;
    padding: 8px 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .button-plan {
    width: calc(100% - 28px);
    min-height: 40px;
    margin: 0 14px 14px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .plan-ribbon { padding: 5px 10px; font-size: 12px; }
  .plan-advanced { transform: none; }
}

@media (max-width:380px) {
  .plans-heading { margin-bottom: 5px; }
  .plans-heading-copy .section-index { margin-bottom: 3px; font-size: 15px; }
  .plans-heading-copy h2 { margin-bottom: 2px; font-size: 29px; line-height: 1.05; }
  .plan-card header { padding: 12px 14px 10px; }
  .plan-label { margin-bottom: 3px; font-size: 12px; }
  .plan-card h3 { margin-bottom: 4px; font-size: 25px; }
  .plan-price-row { gap: 4px; }
  .plan-price-original { padding: 4px 0 3px; }
  .plan-price-original > span, .plan-price-opening > span { margin-bottom: 2px; font-size: 12px; }
  .plan-price-original > strong { font-size: 17px; }
  .plan-price-opening { padding: 7px 8px; border-radius: 9px; }
  .plan-price-opening > strong { font-size: 25px; }
  .plan-total { margin-top: 7px; padding: 4px 7px; font-size: 12px; }
  .plan-package { margin-inline: 11px; }
  .plan-list-wrap { padding: 8px; }
  .plan-list-title { padding: 7px 8px; font-size: 12px; }
  .plan-list-toggle { padding: 3px 5px; }
  .plan-list li { padding: 6px 0 6px 17px; line-height: 1.3; }
  .plan-list li.choice::before { top: 7px; }
  .plan-fit { margin-inline: 11px; padding: 6px 0; font-size: 11px; line-height: 1.35; }
  .button-plan { width: calc(100% - 22px); min-height: 38px; margin: 0 11px 10px; padding: 7px 12px; font-size: 13px; }
}

/* 方案價格層：沿用原本的品牌配色，新顏色只用在兩個控制項 */
.plans {
  --plans-surface: var(--price-surface);
  --plans-surface-warm: var(--price-surface-warm);
  --plans-wine: var(--price-wine);
  --plans-wine-deep: var(--price-wine-deep);
  --plans-olive: var(--price-olive);
  --plans-slate: var(--price-slate);
  --plans-sand: var(--price-sand);
  --plans-muted: var(--price-muted); background: transparent; }
.plans-heading {
  scroll-margin-top: var(--s05-header-offset, var(--route-sticky-top)); grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.plans-heading-copy .section-index {
  z-index: 0;
  font-weight: 1000;
  letter-spacing: .08em;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, .7vw, 10px);
  color: var(--pink);
}
.plans-heading-copy .section-index::before {
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  background: linear-gradient(108deg, transparent 18%, rgba(255,255,255,0) 34%, rgba(255,255,255,.92) 48%, rgba(221,245,74,.72) 55%, transparent 69%);
  opacity: .72;
}
.plans-heading-check {
  display: inline-block;
  width: clamp(26px, 2.2vw, 32px);
  height: auto;
  flex: 0 0 auto;
  transform: rotate(9deg);
  filter: drop-shadow(0 7px 10px rgba(33,24,59,.18));
  vertical-align: middle;
}
.plan-card { border-color: var(--ink); background: var(--white); box-shadow: 8px 9px 0 var(--ink); }
.plan-label { color: var(--pink-ink); }
.plan-price-original { color: #777080; }
.plan-price-original > strong::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  clip-path: polygon(0 32%, 12% 22%, 28% 37%, 42% 13%, 57% 28%, 74% 4%, 88% 27%, 100% 13%, 96% 70%, 81% 59%, 65% 87%, 49% 63%, 31% 100%, 17% 67%, 3% 83%);
  transform: rotate(-12deg); background: linear-gradient(176deg, transparent 0 11%, #ed3487 13% 62%, #d61d72 68% 81%, transparent 84%); }
.plan-price-opening { background: var(--lime); }
.plan-price-opening > strong {
  text-shadow: 0 1px rgba(255,255,255,.45); color: #c31168; }
.plan-total { background: var(--lime); }
.package-toggle { color: var(--ink); }
.package-toggle:hover::before, .package-toggle:focus-visible::before { border-color: var(--pink); background: rgba(255,255,255,.2); }
.package-toggle-mark { background: var(--ink); color: var(--lime); }
.package-toggle-copy small { color: var(--pink); }
.package-toggle-arrow { color: var(--pink); }
.is-package-open .package-toggle-mark { background: var(--pink); color: var(--white); }
.plan-list-toggle {
  background: var(--ink);
  color: var(--lime); font-size: 13px; }
.plan-list li { color: var(--ink); }
.plan-list li::before {
  line-height: 1.5;
  content: "✓";
  position: absolute;
  left: 0; color: #5d8e00; }
.plan-list li.choice::before {
  height: 17px;
  font-size: 10px;
  line-height: 17px;
  border-radius: 4px;
  text-align: center; background: var(--peach); color: var(--ink); }
.plan-list span, .plan-fit, .price-note { color: var(--muted); }
.button-plan { border-color: var(--ink); background: var(--white); }
.button-plan-hot { background: var(--pink); color: var(--white); }
.plan-advanced { background: #fffdf7; box-shadow: 8px 9px 0 var(--pink); }
.plan-ribbon { background: var(--ink); color: var(--lime); }
.plan-flagship .plan-total { background: var(--sky); }
.site-header:has(.site-nav a[href="#plans"].is-layer-active) .brand-mark { background: var(--lime); }
.site-header:has(.site-nav a[href="#plans"].is-layer-active) .site-nav a.is-layer-active {
  border-color: rgba(221,245,74,.5);
  background: rgba(221,245,74,.88);
  box-shadow: 0 5px 18px rgba(221,245,74,.18);
}
.site-header:has(.site-nav a[href="#plans"].is-layer-active) .header-cta {
  background: var(--pink);
  box-shadow: 0 8px 22px rgba(255,79,154,.24), inset 0 1px 0 rgba(255,255,255,.26);
}

@media (min-width:761px) and (max-width:1100px) {
  .plans-heading { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .plan-list-toggle { font-size: 13px; }
}

@media (max-width:760px) {
  .plans-heading { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .plans-heading-check { width: 30px; }
  .plan-list-toggle { font-size: 13px; }
}

@media (max-width:380px) {
  .plans-heading { gap: 3px; }
  .plans-heading-check { width: 28px; }
  .plan-list-toggle { font-size: 13px; } /* T07：按鈕文字最小 13px */
}

/* Catalog reverse exit: the wall is revealed by sending the catalog back to the right. */
.catalog.is-covering.is-reversing {
  transform: translate3d(100%, 0, 0);
  transition: transform .98s cubic-bezier(.2, .78, .2, 1);
}
.catalog.is-covering.is-reversing.is-cover-visible {
  transform: translate3d(0, 0, 0);
  transition: none;
}

/* 03↔04 handoff geometry: both fixed layers must fill the complete viewport.
   Using top/bottom constraints avoids a short 100dvh layer exposing the other
   scene at the lower edge while the catalog is entering or leaving. */
.catalog.is-covering {
  scrollbar-gutter: auto;
  overscroll-behavior: contain;
  inset: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
}

@media (prefers-reduced-motion: reduce) {
  .catalog.is-covering.is-reversing,
  .catalog.is-covering.is-reversing.is-cover-visible {
    transform: none;
    transition: none;
  }
}

/* S05 03 → 04 reveal: 04 waits behind 03; only 03 exits to the right. */
.plans-cover-scene.is-plans-reveal-active {
  padding-top: var(--plans-reveal-reserve, 0px);
}

.plans.is-covering.is-reveal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  visibility: visible;
  transform: none;
  transition: none;
  pointer-events: none;
}

.plans.is-covering.is-reveal-backdrop .plans-heading,
.plans.is-covering.is-reveal-backdrop .plan-card {
  opacity: 1;
  translate: none;
  transition: none;
}

.plans.is-covering.is-reveal-backdrop .plans-heading-copy h2 {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transition: none;
}

/* S05 04 → 05 push transition: 04 exits right while 05 enters from the left. */
.plans.is-process-front {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  overscroll-behavior: contain;
  background: transparent;
  box-shadow: none;
  transform: translate3d(0, 0, 0);
  transition: none;
  pointer-events: none;
  will-change: transform;
}

/* S05 04 → 03 reverse: keep 04 underneath and bring 03 in from the right. */
.catalog.is-covering.is-plans-return-front {
  z-index: 90;
  transform: translate3d(100%, 0, 0);
  transition: none;
  pointer-events: none;
  will-change: transform;
}

.catalog.is-covering.is-plans-return-front.is-plans-return-visible {
  transform: translate3d(0, 0, 0);
  transition: transform .98s cubic-bezier(.2, .78, .2, 1);
}

/* S05 05 → 04 reverse: play the 04 → 05 push backwards; both layers travel left. */

.process.is-covering.is-process-return-front.is-process-return-exiting {
  transform: translate3d(-100%, 0, 0);
  transition: transform .98s cubic-bezier(.2, .78, .2, 1);
}

.plans.is-covering.is-process-return-backdrop.is-process-return-visible {
  transform: translate3d(0, 0, 0);
  transition: transform .98s cubic-bezier(.2, .78, .2, 1);
}

.plans.is-covering.is-process-return-backdrop .plans-heading,
.plans.is-covering.is-process-return-backdrop .plan-card {
  opacity: 1;
  translate: none;
  transition: none;
}

.plans.is-covering.is-process-return-backdrop .plans-heading-copy h2 {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transition: none;
}

/* Layer contract for 05 → 04: 05 is always the outgoing foreground;
   04 may enter only behind it until the handoff is fully committed. */
.process.is-covering.is-process-return-front {
  position: fixed;
  inset: var(--s05-header-offset, var(--route-sticky-top)) 0 auto;
  width: 100%;
  height: auto;
  min-height: max(760px, calc(100dvh + 2px));
  max-height: none;
  overflow: hidden;
  background: transparent;
  transform: translate3d(0, 0, 0);
  transition: none;
  pointer-events: none;
  will-change: transform;
  margin: 0;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  box-shadow: -28px 0 70px rgba(33, 24, 59, .24); z-index: 98; }
.plans.is-covering.is-process-return-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: transparent;
  transform: translate3d(100%, 0, 0);
  transition: none;
  pointer-events: none;
  will-change: transform; z-index: 70; }

.plans.is-process-front.is-process-exiting {
  transform: translate3d(100%, 0, 0);
  transition: transform 1.08s cubic-bezier(.16, .86, .23, 1);
}

.process.is-process-backdrop {
  position: fixed;
  inset: var(--s05-header-offset, var(--route-sticky-top)) 0 auto;
  z-index: 80;
  width: 100%;
  height: auto;
  min-height: max(760px, calc(100dvh + 2px));
  max-height: none;
  margin: 0;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  overflow: hidden;
  background: transparent;
  transform: translate3d(-100%, 0, 0);
  transition: none;
  pointer-events: none;
  will-change: transform;
}

.process.is-process-backdrop.is-process-visible {
  transform: translate3d(0, 0, 0);
  transition: transform 1.08s cubic-bezier(.16, .86, .23, 1);
}

@media (max-width:760px) {
  .process.is-process-backdrop,
  .process.is-covering.is-process-return-front {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plans.is-process-front,
  .plans.is-process-front.is-process-exiting,
  .process.is-process-backdrop,
  .process.is-process-backdrop.is-process-visible,
  .catalog.is-covering.is-plans-return-front,
  .catalog.is-covering.is-plans-return-front.is-plans-return-visible,
  .process.is-covering.is-process-return-front,
  .process.is-covering.is-process-return-front.is-process-return-exiting,
  .plans.is-covering.is-process-return-backdrop,
  .plans.is-covering.is-process-return-backdrop.is-process-return-visible {
    transform: none;
    transition: none;
  }
}

/* 04 plan card hierarchy: the disclosure owns the list, package action and
   supporting fit copy; the conversion action stays in the card's outer path. */
.plan-list-disclosure:not([open]) > .plan-fit {
  display: none;
}

.plan-list-disclosure > .plan-fit {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.plan-card > .button-plan { margin-bottom: 10px; }
.plan-cta-note {
  margin: 0 26px 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width:1100px) {
  .plan-cta-note {
    margin-inline: 18px;
    font-size: 12px;
    line-height: 1.45;
  }
}

/* The package action is deliberately smaller than the list control, but its
   moving highlight gives it a distinct, easy-to-find action state. */
.package-toggle {
  min-height: 46px;
  padding: 6px 8px 6px 34px;
  border-radius: 11px;
  background: linear-gradient(112deg, #efc2a0 0%, #ffd6b6 38%, #b7ddd1 100%);
  box-shadow: 0 0 0 1px rgba(255,79,154,.2), 0 7px 18px rgba(255,79,154,.18), 3px 3px 0 rgba(33,24,59,.15);
  overflow: hidden;
}

.package-toggle::before {
  border-color: rgba(33,24,59,.32);
  inset: 5px;
  border-radius: 8px;
}

.package-toggle::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -55%;
  bottom: -55%;
  left: -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-170%) skewX(-18deg);
  animation: package-toggle-flow 5.4s ease-in-out infinite;
}

.package-toggle:hover,
.package-toggle:focus-visible {
  background: linear-gradient(112deg, #ffd6b6 0%, #fff0d6 38%, #b7ddd1 100%);
  box-shadow: 0 0 0 2px rgba(255,79,154,.22), 0 10px 24px rgba(255,79,154,.24), 3px 4px 0 rgba(33,24,59,.18);
}

.package-toggle:focus-visible { border-radius: 11px; }
.package-toggle-mark { left: 8px; width: 18px; height: 18px; font-size: 14px; }
.package-toggle-copy strong { font-size: 12.5px; line-height: 1.25; }
.package-toggle-arrow { font-size: 18px; }

@keyframes package-toggle-flow {
  0%, 54% { opacity: 0; transform: translateX(-170%) skewX(-18deg); }
  63% { opacity: .82; }
  80%, 100% { opacity: 0; transform: translateX(440%) skewX(-18deg); }
}

@media (max-width:760px) {

  .plan-title-row h3 {
    min-width: 0;
  }

  .plan-title-row .plan-label {
    margin: 0;
    color: var(--pink-ink);
  }

  .plan-list-disclosure > .plan-fit {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 11px;
    line-height: 1.45;
  }
  .plan-cta-note {
    margin: 0 14px 16px;
    font-size: 12px;
    line-height: 1.45;
  }

  .package-toggle {
    min-height: 42px;
    padding: 5px 7px 5px 30px;
    border-radius: 9px;
  }

  .package-toggle::before { inset: 4px; border-radius: 6px; }
  .package-toggle-mark { left: 6px; width: 17px; height: 17px; font-size: 13px; }
  .package-toggle-copy strong { font-size: 10.5px; }
  .package-toggle-arrow { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .package-toggle::after {
    animation: none;
    opacity: 0;
  }
}

/* 04 方案卡間距：手機卡片收窄、拉開上下節奏，每個方案各自清楚的行動按鈕 */
.plan-card > .button-plan {
  margin-top: 12px;
  border-color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}

.plan-card > .button-plan:not([aria-disabled="true"]):hover,
.plan-card > .button-plan:not([aria-disabled="true"]):focus-visible {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 4px 8px 0 var(--ink), 0 0 20px rgba(255,79,154,.16);
}

@media (max-width:760px) {

  .plan-card header { padding: 15px 15px 12px; }
  .plan-title-row h3 { font-size: 24px; line-height: 1.1; }

  .plan-price-row { gap: 6px; }
  .plan-price-opening { padding: 6px 7px; border-radius: 8px; }
  .plan-price-opening > strong { font-size: 24px; }

  .plan-list-wrap { padding: 12px 14px 0; }
  .plan-list-title { gap: 7px; padding: 9px 10px; font-size: 13px; }
  .plan-list li {
    padding: 8px 0 8px 19px;
    font-size: 12px;
    line-height: 1.35;
  }
  .plan-list li::before {
  line-height: 1.5; top: 8px; font-size: 12px; }
  .plan-list li.choice::before {
  width: 16px;
  height: 16px;
  font-size: 9px;
  line-height: 16px; top: 9px; }
  .plan-list span {
    min-width: 0;
    font-size: 11px;
    text-align: left;
  }

  .plan-card > .button-plan {
  margin-bottom: 8px; margin-top: 13px; }
}

@media (max-width:380px) {
  .plan-grid { gap: 22px; }
  .plan-card header { padding-inline: 13px; }
  .plan-list-wrap { padding-inline: 12px; }
  .plan-list li { padding-left: 17px; font-size: 11px; }
  .plan-list li::before { top: 8px; font-size: 11px; }
}

/* 04 方案卡視覺：白色清單控制項、旗艦方案共用的藍色按鈕、手機卡片寬度 */
.plan-list-title,
.plan-list-disclosure[open] .plan-list-title,
.plan-list-title:hover,
.plan-list-title:focus-visible {
  background: var(--white);
}

.plan-basic > .button-plan,
.plan-advanced > .button-plan,
.plan-flagship > .button-plan {
  background: linear-gradient(135deg, var(--sky), #8fdfee);
  color: var(--ink);
}

@media (max-width:760px) {
  .plan-grid {
    width: min(320px, calc(100% - 48px));
    max-width: 320px;
    gap: 24px;
  }

  .plan-title-row {
  margin-bottom: 8px;
  align-items: center;
  display: flex;
    justify-content: flex-start;
    gap: 7px;
  }

  .plan-title-row h3 {
  order: 1;
  margin: 0;
    flex: 0 1 auto;
  }

  .plan-title-row .plan-label {
  font-size: 12px;
  line-height: 1.3;
  order: 2;
  flex: 0 1 auto;
    max-width: 50%;
    text-align: left;
  }
}

@media (max-width:380px) {
  .plan-grid { width: calc(100% - 48px); }
  .plan-title-row {
  margin-bottom: 7px; gap: 5px; }
  .plan-title-row h3 { font-size: 23px; }
  .plan-title-row .plan-label { max-width: 52%; font-size: 12px; }
}

/* 方案包裹彈窗與方案卡包裹標籤的字級下限：可讀的標籤一律 12px（T07；原為 10px），
   其餘版面維持原本緊湊的扇形構圖。 */
.package-modal-kicker,.package-modal-prefix,.package-toggle-copy small,.package-display-topline,.package-display-choice-note,.package-display-choice-badge,.package-motion-copy span,.package-motion-copy small,.package-motion-choice,.package-kit-front small,.package-piece-meta,.package-piece-meta b,.package-piece-choice {
  font-size: 12px;
}

.package-display-choice-note {
  overflow-wrap: anywhere;
}

.package-motion-list button {
  max-width: 185px;
  cursor: pointer;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 24px;
  font-size: 13px;
  line-height: 1.25;
}

@media (max-width:760px) {
  .package-modal-card {
    width: 100%;
    box-sizing: border-box;
  }

  .package-modal-kicker {
  letter-spacing: .12em;
    line-height: 1.35;
  }

  .package-display-choice-note {
    max-width: calc(100% - 28px);
    line-height: 1.3;
  }

  .package-display-choice-badge {
    min-height: 18px;
  }

  .package-motion-list {
    max-height: 52px; /* T07：按鈕 24px 高，顯示完整兩列 */
  }

  .package-motion-list button {
    max-width: 100%;
    padding-top: 4px;
    padding-bottom: 3px;
  }

  .package-motion-choice {
    min-height: 15px;
  }
}

@media (max-width:380px) {
  .package-modal-head {
    left: 16px;
    right: 16px;
  }

  .package-modal-head h2 {
    font-size: clamp(26px, 9vw, 32px);
  }

  .package-modal-full-set {
    width: 52px;
  }

  .package-display-choice-note {
    left: 14px;
    max-width: calc(100% - 28px);
  }

  .package-motion-list {
    left: 10px;
    right: 126px;
  }
}

/* 基礎方案 Logo 說明與簡易／完整版示範（放在名額制區塊之前，build.py 重跑不會清掉） */
.plan-logo-note{margin:14px 0 4px;padding:12px 14px;border-radius:12px;background:rgba(127,127,127,.09);font-size:.92em;line-height:1.7}
.plan-logo-note p{margin:0 0 8px}
.plan-logo-compare summary{cursor:pointer;font-weight:600;padding:4px 0}
.plan-logo-compare figure{margin:10px 0 0}
.plan-logo-compare img{display:block;width:100%;height:auto;border-radius:10px}
.plan-logo-compare figcaption{margin-top:6px;font-size:.85em;opacity:.75}

/* ── 名額制方案卡（2026-10-11）：加碼標籤、可換品項說明 ── */
.plan-list .plan-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--pink); color: var(--white); font-size: 11px; font-style: normal; font-weight: 900; line-height: 1.5; vertical-align: 2px; white-space: nowrap; }
.slot-guide { position: relative; z-index: 2; width: var(--content); margin: 18px auto 0; border: 2px solid var(--ink); border-radius: 18px; background: var(--price-surface, var(--white)); color: var(--ink); }
.slot-guide > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 950; }
.slot-guide > summary::-webkit-details-marker { display: none; }
.slot-guide > summary::marker { content: ""; }
.slot-guide > summary:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; border-radius: 16px; }
.slot-guide-toggle { font-size: 20px; line-height: 1; transition: transform .25s; }
.slot-guide[open] .slot-guide-toggle { transform: rotate(45deg); }
.slot-guide-body { padding: 0 18px 16px; }
.slot-guide-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.slot-guide-col { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.slot-guide-col h4 { margin: 0 0 6px; font-size: 15px; font-weight: 950; }
.slot-guide-col ul { margin: 0; padding: 0; list-style: none; }
.slot-guide-col li { padding: 4px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.slot-guide-col li:first-child { border-top: 0; }
.slot-guide-rules { margin: 12px 0 0; padding: 0 0 0 18px; font-size: 13px; line-height: 1.55; }
.slot-guide-cols.is-three { grid-template-columns: var(--slot-guide-columns, repeat(3, minmax(0, 1fr))); }
@media (max-width:1100px) { .slot-guide-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width:760px) {
  .slot-guide { border-width: 1px; border-radius: 14px; }
  .slot-guide > summary { padding: 11px 14px; font-size: 14px; }
  .slot-guide-body { padding: 0 12px 12px; }
  .slot-guide-cols { gap: 8px; }
  .slot-guide-col { padding: 8px 9px; }
}
