/* =========================================================
   檸檬手繪家 Lemon — Brand site
   Desktop design base: 1440px  |  Mobile: 375px
   ========================================================= */

/* Section titles: Gen Jyuu Gothic Bold (SIL OFL 1.1), subset to the title characters only */
@font-face {
  font-family: "Gen Jyuu Gothic Titles";
  src: url("assets/fonts/GenJyuuGothic-Bold-titles.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --navy: #2d4970;
  --navy-700: #233a5a;
  --lime: #cde36f;
  --lime-600: #bcd65a;
  --beige: #faf5ef;
  --beige-200: #f3ebe1;
  --tan: #dcb898;
  --brown: #6b4a3a;
  --ink: #2b2b2b;
  --ink-2: #555;
  --muted: #9a9a9a;
  --line: #e7e1da;
  --hero-bg: #eef0f5;
  --card-grey: #f4f4f4;
  --white: #fff;

  --font-tc: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-en: "Montserrat", "Noto Sans TC", system-ui, sans-serif;
  --font-title: "Gen Jyuu Gothic Titles", "Gen Jyuu Gothic", "Noto Sans TC", sans-serif;

  --container: 1344px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --section-y: clamp(72px, 9vw, 140px);
  --radius: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-tc);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-beige { background: var(--beige); }
.center { text-align: center; }
.num { font-family: var(--font-en); font-weight: 700; letter-spacing: 0; }

.eyebrow { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.h2 { font-family: var(--font-title); font-size: 36px; font-weight: 700; color: var(--navy); line-height: 46px; letter-spacing: .04em; text-wrap: balance; }
.lead { font-weight: 700; color: var(--ink); margin-top: 18px; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--lime); --fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; letter-spacing: .04em;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background-color .3s;
  box-shadow: 0 6px 0 -2px rgba(0,0,0,.06);
}
.btn:hover { transform: scale(1.06); box-shadow: 0 12px 24px -12px rgba(45,73,112,.4); }
.btn:active { transform: scale(.98); }
.btn-lime { --bg: var(--lime); --fg: var(--navy); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-lg { min-height: 60px; padding: 0 40px; font-size: 18px; }
.arrow { position: relative; display: inline-block; width: 34px; height: 10px; transition: transform .35s var(--ease); }
.arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: currentColor; border-radius: 2px; }
.arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 1.6px; background: currentColor; transform-origin: right center; transform: rotate(32deg); border-radius: 2px; }
.btn:hover .arrow { transform: translateX(6px); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: background-color .25s, transform .25s var(--ease-spring), color .25s; }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pill svg .fill { fill: currentColor; stroke: none; }
.pill-outline { background: var(--beige); color: var(--ink); border: 1px solid var(--line); }
.pill-outline:hover { background: var(--lime); border-color: var(--lime); transform: scale(1.06); }
.pill-lime { background: var(--lime); color: var(--navy); font-weight: 700; }
.pill-lime:hover { transform: scale(1.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s, transform .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; transition: min-height .35s var(--ease); }
.is-scrolled .header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 110px; height: auto; transition: transform .5s var(--ease-spring); }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-name { font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: .06em; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-pills { display: flex; gap: 8px; transition: opacity .3s, height .3s, margin .3s; }
.is-scrolled .header-pills { opacity: 0; height: 0; margin-top: -10px; pointer-events: none; overflow: hidden; }
.main-nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.main-nav a { position: relative; font-weight: 500; font-size: 15px; padding: 4px 0; color: var(--ink); transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 3px; border-radius: 3px; background: var(--lime); transition: left .35s var(--ease), right .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.is-active::after { left: 0; right: 0; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--beige); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); background: var(--beige); padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 22px; font-weight: 700; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu-pills { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.mobile-menu-pills .pill { height: 48px; justify-content: center; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero-shell {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 46vw, 680px);
  margin-left: clamp(0px, 1.5vw, 24px);
  border-radius: 360px 0 0 0;
  background: var(--hero-bg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center;
}
.hero-tee { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; z-index: -1; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .hero-tee { transform: scale(1); }
.hero-copy { position: relative; padding: 40px 0 60px clamp(24px, 5vw, 80px); z-index: 2; }
.hero-title img { width: clamp(260px, 28vw, 420px); height: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-actions .btn { min-width: 196px; justify-content: space-between; }
.hero-price {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px;
  background: #fff; border-radius: 999px; padding: 12px 26px; box-shadow: 0 10px 30px -18px rgba(45,73,112,.35);
  font-size: 13px; color: var(--ink-2);
}
.hero-price strong { color: var(--navy); font-size: 14px; }
.hero-price b { color: var(--ink); font-size: 18px; margin-left: 4px; }

.hero-stage { position: relative; height: 100%; min-height: inherit; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 6% 6% 4% 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
/* star background + cover share the same centred box so the white star frames the yellow one */
.star-bg, .hs.cover {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto; max-width: min(96%, 680px); max-height: 96%;
}
.star-bg {
  transform: rotate(-8deg) scale(.4); opacity: 0;
  filter: drop-shadow(0 20px 40px rgba(45,73,112,.14));
  transition: transform 1.1s var(--ease-spring), opacity .6s;
}
.is-active .star-bg { transform: none; opacity: 1; }
.hs.cover { transition-delay: .25s; }
.hs { position: absolute; height: auto; opacity: 0; transform: translateY(40px) scale(.85); transition: opacity .6s var(--ease), transform .9s var(--ease-spring); will-change: transform; }
.is-active .hs { opacity: 1; transform: none; }
.hs.cute-title { width: 40%; left: 31%; top: 9%; transition-delay: .25s; z-index: 1; }
.p { width: 16%; }
.p1 { left: 27%; top: 30%; transition-delay: .35s; }
.p2 { left: 39%; top: 25%; width: 15%; transition-delay: .42s; }
.p3 { left: 51%; top: 29%; width: 15%; transition-delay: .49s; }
.p4 { left: 62%; top: 35%; transition-delay: .56s; }
.p5 { left: 35%; top: 48%; width: 17%; transition-delay: .63s; }
.p6 { left: 21%; top: 52%; width: 18%; transition-delay: .7s; }
.p7 { left: 49%; top: 50%; width: 16%; transition-delay: .77s; }
.p8 { left: 63%; top: 55%; width: 12%; transition-delay: .84s; }
.hs.sweet { width: min(62%, 440px); inset: 0; margin: auto; transition-delay: .2s; }
.hs.slide-art { inset: 0; margin: auto; transition-delay: .2s; }
.hs.art-mom { width: min(62%, 440px); }
.hs.art-happy { width: min(72%, 500px); }
/* idle float (applied to inner wrapper via JS-free animation on the img itself after entry) */
.is-active .p { animation: bob 5s ease-in-out infinite; }
.is-active .p2 { animation-delay: -1.2s; } .is-active .p3 { animation-delay: -2.4s; } .is-active .p4 { animation-delay: -.6s; }
.is-active .p5 { animation-delay: -3s; } .is-active .p6 { animation-delay: -1.8s; } .is-active .p7 { animation-delay: -3.6s; } .is-active .p8 { animation-delay: -4.2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hs.p:hover { scale: 1.08; rotate: -3deg; transition: scale .4s var(--ease-spring), rotate .4s var(--ease-spring); z-index: 5; }

.hero-dots { position: absolute; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 99px; background: #d5d2cc; transition: height .4s var(--ease), background-color .3s; }
.hero-dots button.is-active { background: var(--navy); height: 30px; }

/* ---------- Character marquee ---------- */
.char-strip { padding: 36px 0 12px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(18px, 2.6vw, 40px); animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.char-strip .marquee-track { gap: 0; }
.char-strip .marquee-track img { margin-right: clamp(14px, 1.6vw, 23px); width: clamp(68px, 6.46vw, 93px); height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; transition: transform .45s var(--ease-spring); }
.char-strip .marquee-track img:hover { transform: translateY(-10px) rotate(-6deg) scale(1.12); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Family grid ---------- */
.family-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.family-desc { font-weight: 700; font-size: 15px; color: var(--ink); max-width: 460px; }
.family-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; }
.f-card { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--card-grey); margin: 0; cursor: zoom-in; }
.f-card img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.f-card.photo { background: #fff; }
.f-card.photo img { object-fit: cover; padding: 0; }
.f-card.bg-beige { background: var(--beige); }
.f-card.bg-lilac { background: #efeaf5; }
.f-card.bg-sun { background: #f8e7a6; }
.f-card.bg-mint { background: #eef3e2; }
.family-grid .f-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.family-grid .f-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.family-grid .f-card:nth-child(3) { grid-column: 5; grid-row: 1; }
.family-grid .f-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.family-grid .f-card:nth-child(5) { grid-column: 4; grid-row: 2; }
.family-grid .f-card:nth-child(6) { grid-column: 6; grid-row: 2; }
.family-grid .f-card:nth-child(7) { grid-column: 1; grid-row: 3; }
.family-grid .f-card:nth-child(8) { grid-column: 3; grid-row: 3; }
.family-grid .f-card:nth-child(9) { grid-column: 5; grid-row: 3; }
.family .center { margin-top: 56px; }

/* ---------- Story / plan cards (Figma 1342:2201, 1443 × 795) ---------- */
.story { padding: 81px 0 64px; }
.story-head { text-align: center; }
.story-title { font-family: var(--font-title); font-size: 36px; line-height: 46px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.story-lead { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); margin-top: 31px; }
.plan-cards { display: grid; grid-template-columns: repeat(2, 480px); justify-content: center; gap: 46px; margin-top: 40px; }
.plan-card {
  background: #fff; border-radius: 176px; height: 509px; padding: 46px 32px 38px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.plan-card-title { font-size: 30px; line-height: 38px; font-weight: 900; color: var(--navy); }
.plan-card-sub { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); margin-top: 27px; }
.plan-card-desc { font-size: 13px; line-height: 20px; color: var(--ink-2); margin-top: 18px; }
.plan-card-art { height: 156px; margin-top: 40px; display: flex; align-items: flex-end; justify-content: center; }
.plan-card-art img { height: auto; }
.plan-card-art .art-merch { width: 228px; }
.plan-card-art .art-girl { width: 180px; }
.plan-card .btn { margin-top: 45px; min-height: 53px; padding: 0 34px; font-size: 15px; gap: 16px; }

/* ---------- Simple pricing bubbles ---------- */
.simple .h2 { margin-bottom: clamp(60px, 7vw, 110px); }
.simple-row { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; max-width: 1200px; margin-inline: auto; }
.bubble { position: relative; text-align: center; }
.bubble-body { background: var(--beige); border-radius: 50%; padding: 36px 20px 30px; min-height: 200px; display: flex; flex-direction: column; justify-content: center; transition: transform .5s var(--ease-spring); }
.bubble:hover .bubble-body { transform: scale(1.04); }
.bubble-mid { margin-top: 70px; }
.bubble-img { position: absolute; left: 50%; bottom: calc(100% - 26px); transform: translateX(-50%); height: auto; transition: transform .5s var(--ease-spring); transform-origin: bottom center; }
.bubble:hover .bubble-img { transform: translateX(-50%) translateY(-8px) rotate(-3deg); }
.img-single { width: 120px; }
.img-trio { width: 170px; }
.img-tees { width: 230px; bottom: calc(100% - 30px); }
.bubble-price { color: var(--navy); }
.bubble-price .num { font-size: clamp(32px, 3vw, 42px); font-weight: 800; }
.bubble-price small { font-size: 11px; margin-left: 2px; }
.bubble-price .price-note { font-size: 14px; font-weight: 400; color: #8a8a8a; margin-left: 2px; white-space: nowrap; }
.bubble h3 { font-size: 18px; font-weight: 700; margin-top: 6px; }
.bubble p:last-child { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.squiggle { width: 130%; margin-left: -15%; height: auto; overflow: visible; }
.squiggle path { fill: none; stroke: #d39a73; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.squiggle.is-in path { stroke-dashoffset: 0; }
.sq1 { transform: translateY(10px); }
.sq2 { transform: translateY(-14px); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 48px; max-width: 1040px; margin-inline: auto; counter-reset: s; }
.step { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: left; }
.step:nth-child(4) { grid-column: 2 / span 2; }
.step:nth-child(5) { grid-column: 4 / span 2; }
.step-no { font-family: var(--font-en); font-weight: 800; color: var(--navy); font-size: 32px; line-height: 1; display: flex; align-items: center; gap: 10px; align-self: center; }
.step-no small { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.step img { height: 130px; width: auto; max-width: 200px; object-fit: contain; margin: 26px 0 20px; transition: transform .5s var(--ease-spring); }
.step:hover img { transform: rotate(-5deg) scale(1.08); }
.step h3 { font-size: 20px; font-weight: 900; color: var(--navy); text-align: center; align-self: center; }
.step p:last-child { font-size: 13px; color: var(--ink-2); margin-top: 12px; max-width: 220px; width: 100%; padding-bottom: 18px; position: relative; }
.step p:last-child::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--tan); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--d, 0) * .12s + .4s); }
.step.is-in p:last-child::after { transform: scaleX(1); }

/* ---------- Price tables ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1134px; margin-inline: auto; }
.plan { background: var(--beige); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 44px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(45,73,112,.5); }
.plan-name { font-family: var(--font-en); font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); color: var(--navy); letter-spacing: .01em; }
.plan-sub { font-weight: 900; font-size: 18px; margin-top: 4px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-sub em { font-style: normal; font-size: 12px; color: var(--navy); font-weight: 700; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.tag-navy { background: var(--navy); color: #fff; }
.tag-lime { background: var(--lime); color: var(--navy); margin-left: 6px; }
.plan-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .3s var(--ease); border-radius: 10px; }
.plan-list li:hover { background: rgba(255,255,255,.7); padding-inline: 12px; }
.plan-list b { display: flex; align-items: center; font-size: 15px; font-weight: 700; }
.plan-list small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.amt { font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--ink); white-space: nowrap; }
.amt small { display: inline; font-size: 11px; color: var(--ink-2); }
.amt-lg { font-size: 28px; color: var(--navy); }
.plan-note { font-size: 12px; color: var(--ink-2); margin-top: 18px; line-height: 1.8; }
.plan-note b { color: var(--navy); }
.plan-list small .hl { color: var(--navy); font-weight: 700; }
/* one row, two prices (短袖 / 長袖) stacked on the right */
.amt-group { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.amt-label { font-style: normal; font-family: var(--font-tc); font-size: 13px; font-weight: 700; color: var(--ink-2); margin-right: 8px; }

/* ---------- T-shirt packages ---------- */
.packs { max-width: 1134px; margin: clamp(56px, 6vw, 88px) auto 0; }
.packs-head { text-align: center; }
.packs-eyebrow { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--navy); }
.packs-title { font-family: var(--font-title); font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); margin-top: 6px; }
.packs-desc { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; background: var(--beige); border: 2px solid transparent; border-radius: var(--radius-lg); padding: 30px 24px 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pack:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(45,73,112,.5); }
.pack-hot { background: #fff; border-color: var(--navy); }
.pack-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pack-label { font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.pack-name { font-size: 18px; font-weight: 900; color: var(--navy); margin-top: 4px; }
.pack-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; font-family: var(--font-en); }
.pack-price .num { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.pack-price small { font-size: 11px; color: var(--ink-2); }
.pack-price s { font-size: 14px; color: var(--muted); }
.pack-save { display: inline-block; align-self: flex-start; margin-top: 10px; padding: 3px 10px; border-radius: 99px; background: var(--lime); color: var(--navy); font-size: 12px; font-weight: 700; }
.pack-copy { font-size: 13px; color: var(--ink-2); margin-top: 16px; line-height: 1.75; flex: 1; }
.pack-spec { font-size: 12px; color: var(--ink); font-weight: 700; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.pack-tiers { margin-top: 14px; display: grid; gap: 8px; }
.pack-tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 12px; background: #fff; border-radius: 12px; font-size: 13px; }
.pack-tiers b { font-family: var(--font-en); font-size: 16px; color: var(--navy); white-space: nowrap; }
.pack-tiers b small { font-family: var(--font-tc); font-size: 11px; margin-left: 2px; }

/* ---------- T-shirt calculator (collapsible) ---------- */
.calc { max-width: 720px; margin: 20px auto 0; background: #fff; border: 1.5px solid var(--navy); border-radius: 24px; overflow: hidden; }
.calc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px 14px 22px; font-weight: 900; font-size: 15px; color: var(--navy); }
.calc summary::-webkit-details-marker { display: none; }
.calc summary small { flex: 1; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.calc summary .q-icon { flex: none; }
.calc summary:hover .q-icon { background: var(--lime); }
.calc[open] .q-icon::after { transform: rotate(0deg); }
.calc-ico { font-size: 18px; }
.calc-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 28px; padding: 6px 22px 20px; border-top: 1px dashed var(--line); padding-top: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; font-weight: 700; }
.calc-row small { font-family: var(--font-en); font-weight: 500; color: var(--muted); margin-left: 4px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--beige); }
.stepper button { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--navy); cursor: pointer; transition: background-color .2s; }
.stepper button:hover { background: var(--lime); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--font-en); font-weight: 700; }
.calc-double { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.calc-double input { width: 16px; height: 16px; accent-color: var(--navy); }
.calc-double small { color: var(--ink-2); font-weight: 500; }
.calc-sum { background: var(--beige); border-radius: 18px; padding: 14px 18px; align-self: start; }
.calc-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; }
.calc-sum dd { font-family: var(--font-en); font-weight: 700; }
#calc-deal { color: #c0563b; }
.calc-total { margin-top: 6px; padding-top: 10px !important; border-top: 1.5px solid var(--ink); align-items: baseline; }
.calc-total dt { font-weight: 900; font-size: 14px; }
.calc-total dd { font-size: 26px; color: var(--navy); }
.calc-note { grid-column: 1 / -1; font-size: 15px; color: #c0563b; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1134px; margin: 28px auto 0; }
.info { background: var(--beige); border-radius: 36px; padding: 28px 34px; transition: transform .4s var(--ease-spring); }
.info:hover { transform: translateY(-6px); }
.info h3 { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.info h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.info p { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }

/* ---------- Works wall ---------- */
/* header per Figma 1348:2239: title top 46, desc 21 below, wall 39 below */
.works { padding: 46px 0 0; margin-top: calc(var(--section-y) - 46px); }
.works-head { text-align: center; margin-bottom: 39px; }
.works-eyebrow { font-family: "Montserrat", sans-serif; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: .08em; color: #BABABA; margin-bottom: 8px; }
.works-title { font-family: var(--font-title); font-size: 36px; line-height: 46px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.works-desc { font-size: 18px; line-height: 27px; color: #6b6b6b; margin-top: 21px; }
.works-wall { display: flex; flex-direction: column; gap: 0; }
.works-row { overflow: hidden; }
.works-row .marquee-track { gap: 0; }
.works-row.reverse .marquee-track { animation-direction: reverse; }
.works-row:hover .marquee-track { animation-play-state: paused; }
.w-item { width: clamp(120px, 11.1vw, 160px); aspect-ratio: 1; flex: none; overflow: hidden; cursor: zoom-in; position: relative; }
.w-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.w-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow .3s var(--ease); }
.w-item:hover img { transform: scale(1.12); }
.w-item:hover::after { box-shadow: inset 0 0 0 4px var(--lime); }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.faq-side { position: sticky; top: 110px; background: #f6f6f6; border-radius: 0 160px 0 0; padding: 72px 48px 120px; min-height: 560px; }
.faq-side .eyebrow { font-size: 22px; color: #c5c5c5; }
.faq-side .h2 { font-size: 36px; }
.faq-sub { font-size: 13px; margin-top: 18px; }
.faq-filters { margin-top: 48px; display: grid; gap: 14px; }
.faq-filters button { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); transition: color .25s, transform .3s var(--ease); }
.faq-filters button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #cfcfcf; transition: background-color .25s, transform .3s var(--ease-spring); }
.faq-filters button:hover { color: var(--navy); transform: translateX(4px); }
.faq-filters button.is-active { color: var(--ink); font-weight: 700; }
.faq-filters button.is-active::before { background: var(--navy); transform: scale(1.3); }
.qa { border-bottom: 1px solid var(--line); }
.qa[hidden] { display: none; }
.qa summary { list-style: none; display: grid; grid-template-columns: 1fr 28px; grid-template-areas: "no icon" "text icon"; align-items: center; column-gap: 16px; padding: 26px 0 22px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.q-no { grid-area: no; font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.2; }
.q-text { grid-area: text; font-weight: 700; font-size: 17px; margin-top: 4px; transition: color .25s; }
.qa summary:hover .q-text { color: var(--navy); }
.q-icon { grid-area: icon; width: 28px; height: 28px; border-radius: 50%; background: #ececec; position: relative; transition: background-color .3s, transform .4s var(--ease); }
.q-icon::before, .q-icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: #555; transition: transform .4s var(--ease); }
.q-icon::after { transform: rotate(90deg); }
.qa[open] .q-icon::after { transform: rotate(0deg); }
.qa summary:hover .q-icon { background: var(--lime); }
.qa-body { overflow: hidden; }
.qa-body p { font-size: 14px; color: var(--ink-2); padding: 0 40px 28px 0; }

/* ---------- CTA ---------- */
.cta-card { position: relative; max-width: 1100px; margin-inline: auto; background: var(--beige); border-radius: 999px; padding: clamp(56px, 6vw, 96px) 40px; text-align: center; overflow: hidden; }
.cta-card p { font-size: 14px; color: var(--ink-2); margin: 16px auto 0; max-width: 640px; text-wrap: balance; }
.cta-card .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); padding: 56px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-brand .copy { font-size: 12px; color: var(--ink-2); margin-top: 26px; }
.footer-right { text-align: right; }
.footer-tagline { font-weight: 700; font-size: 14px; }
.footer-pills { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; padding-right: 64px; }

/* ---------- Floating ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .45s var(--ease-spring), background-color .3s; box-shadow: 0 12px 24px -10px rgba(45,73,112,.6); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-700); transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28,34,46,.86); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(900px, 100%); max-height: 100%; }
.lightbox img { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; border-radius: 16px; background: #fff; transform: scale(.92); transition: transform .45s var(--ease-spring); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background-color .25s; }
.lightbox button:hover { background: var(--lime); color: var(--navy); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-family: var(--font-en); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero-shell { border-radius: 260px 0 0 0; }
  .simple-row { grid-template-columns: 1fr 40px 1fr 40px 1fr; }
  .img-tees { width: 190px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: 72px; }
  .header-right { display: none; }
  .menu-toggle { display: block; }
  .header-inner, .is-scrolled .header-inner { min-height: 64px; }
  .brand-logo { width: 84px; }
  .brand-name { font-size: 16px; }

  .hero { padding-top: 0; }
  .hero-shell { grid-template-columns: 1fr; margin-left: 0; border-radius: 0 0 48px 48px; min-height: 0; }
  .hero-tee { object-position: 70% 30%; }
  .hero-copy { padding: 28px var(--gutter) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-title img { width: min(78vw, 360px); margin-inline: auto; }
  .hero-actions { justify-content: center; margin-top: 18px; }
  .hero-stage { min-height: 0; aspect-ratio: 1 / .86; }
  .hero-slide { inset: 2% 4% 6% 4%; }
  .hero-dots { top: auto; bottom: 18px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .hero-dots button.is-active { height: 12px; width: 30px; }

  .family-head { flex-direction: column; align-items: flex-start; }
  .family-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .family-grid .f-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .family-grid .f-card:last-child { grid-column: 1 / -1; aspect-ratio: 8 / 3; }
  .family-grid .f-card.photo:last-child img { object-fit: contain; }

  .simple .h2 { margin-bottom: 140px; }
  .simple-row { grid-template-columns: 1fr; gap: 120px; max-width: 360px; }
  .img-single { width: 104px; } .img-trio { width: 150px; } .img-tees { width: 200px; }
  .bubble-mid { margin-top: 0; }
  .squiggle { display: none; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .step, .step:nth-child(4), .step:nth-child(5) { grid-column: auto; }
  .step:nth-child(5) { grid-column: 1 / -1; }

  .plans { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .info-cards { grid-template-columns: 1fr; }

  .faq-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; min-height: 0; padding: 40px 28px; border-radius: 0 80px 0 0; }
  .faq-filters { display: flex; gap: 10px; overflow-x: auto; margin: 28px -28px 0; padding: 0 28px 4px; scrollbar-width: none; }
  .faq-filters::-webkit-scrollbar { display: none; }
  .faq-filters button { white-space: nowrap; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
  .faq-filters button::before { display: none; }
  .faq-filters button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
  .faq-filters button:hover { transform: none; }

  .cta-card { border-radius: 48px; padding-inline: 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .footer-pills { justify-content: flex-start; padding-right: 0; }

  .to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .pack-grid { grid-template-columns: 1fr; gap: 22px; }
  .calc summary { flex-wrap: wrap; padding: 14px 16px; }
  .calc summary small { order: 3; flex-basis: 100%; padding-left: 28px; }
  .calc summary .q-icon { margin-left: auto; }
  .calc-body { grid-template-columns: 1fr; padding: 16px 16px 18px; }
  .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }
  .hero-actions { width: 100%; max-width: 360px; flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 16px 0 20px; gap: 10px; justify-content: space-between; white-space: nowrap; }
  .hero-actions .arrow { width: 26px; flex: none; }
  .hero-price { gap: 4px 14px; padding: 10px 18px; justify-content: center; margin-top: 10px; }
  .hero-price b { font-size: 16px; }
  .hero-stage { aspect-ratio: 1 / 1; }
  .star-bg, .hs.cover { max-width: 100%; }

  .char-strip { padding-top: 28px; }


  .step img { height: 96px; margin: 18px 0 14px; }
  .step-no { font-size: 26px; }
  .step h3 { font-size: 16px; }
  .step p:last-child { font-size: 12px; }

  .plan-list li:hover { padding-inline: 0; background: none; }
  .amt { font-size: 17px; }
  .amt-lg { font-size: 22px; }

  .works-title { font-size: 26px; line-height: 36px; }
  .works-desc { font-size: 14.5px; line-height: 24px; margin-top: 14px; }
  .works-head { margin-bottom: 28px; }
  .works-desc { text-wrap: balance; }
  .works-desc br { display: none; }
  .w-item { width: 104px; }

  .q-text { font-size: 15px; }
  .qa-body p { padding-right: 0; font-size: 13.5px; }

  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-prev { left: 20%; } .lb-next { right: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
}

/* ---------- Story / plan cards — responsive ---------- */
@media (max-width: 1100px) {
  .plan-cards { grid-template-columns: repeat(2, minmax(0, 480px)); gap: 24px; }
  .plan-card { padding-inline: 24px; }
  .plan-card-sub { font-size: 17px; line-height: 26px; }
  .plan-card-desc { text-wrap: balance; }
  .plan-card .btn { margin-top: auto; }
  .plan-card-art { margin-bottom: 24px; }
}
.nowrap { white-space: nowrap; }
@media (max-width: 760px) {
  .story { padding: 64px 0 56px; }
  .story-title { font-size: 26px; line-height: 36px; }
  .story-lead { font-size: 15px; margin-top: 16px; }
  .plan-cards { grid-template-columns: minmax(0, 480px); gap: 16px; margin-top: 28px; }
  /* compact phone card: text left, illustration right, full-width button below (~half the old height) */
  .plan-card {
    height: auto; border-radius: 32px; padding: 22px 20px 20px;
    display: grid; grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-areas: "title art" "sub art" "desc art" "btn btn";
    column-gap: 12px; align-items: start; text-align: left;
  }
  .plan-card-title { grid-area: title; font-size: 22px; line-height: 28px; }
  .plan-card-sub { grid-area: sub; font-size: 15px; line-height: 22px; margin-top: 6px; }
  .plan-card-desc { grid-area: desc; font-size: 12px; line-height: 18px; margin-top: 6px; max-width: none; text-wrap: pretty; }
  .plan-card-art { grid-area: art; height: auto; margin: 0; align-self: center; }
  .plan-card-art .art-merch, .plan-card-art .art-girl { width: 112px; }
  .plan-card .btn { grid-area: btn; margin-top: 16px; min-height: 44px; width: 100%; justify-content: space-between; }
}

.m-only { display: none; }
@media (max-width: 560px) { .m-only { display: inline; } }

/* Section titles: same size on every section (36px desktop/tablet, 26px phone) */
@media (max-width: 760px) {
  .h2, .faq-side .h2, .story-title, .works-title { font-size: 26px; line-height: 36px; }
}

/* ---------- Simple pricing bubbles — compact on phones ---------- */
@media (max-width: 560px) {
  .simple .h2 { margin-bottom: 112px; }
  .simple-row { gap: 98px; }
  .bubble-body { min-height: 150px; padding: 26px 20px 22px; }
  .bubble-price .num { font-size: 30px; }
  .bubble h3 { font-size: 16px; margin-top: 4px; }
  .img-single { width: 88px; }
  .img-trio { width: 128px; }
  .img-tees { width: 170px; }
}

/* ---------- PLAN B card background ---------- */
#price-b { background: #F3FAEA; }

/* ---------- Calculator: design + T-shirt groups ---------- */
.calc-group-title { font-size: 13px; font-weight: 900; color: var(--navy); letter-spacing: .04em; padding: 4px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.calc-double + .calc-group-title { margin-top: 22px; }

/* ---------- FAQ side card — shorter (≈2/3 height) ---------- */
.faq-side { min-height: 0; padding: 36px 40px 40px; }
.faq-sub { margin-top: 12px; }
.faq-filters { margin-top: 24px; gap: 8px; }
@media (max-width: 960px) {
  .faq-side { padding: 18px 22px 18px; border-radius: 0 64px 0 0; }
  .faq-side .eyebrow { font-size: 18px; line-height: 1.2; }
  .faq-side .h2 { margin-top: 2px; }
  .faq-sub { margin-top: 6px; }
  .faq-filters { margin: 14px -22px 0; padding: 0 22px 2px; }
  .faq-filters button { height: 34px; padding: 0 14px; font-size: 13px; }
}

/* ---------- Hero price: 人氣 tag ---------- */
.hero-price .hot-tag { font-style: normal; font-weight: 900; font-size: 13px; color: var(--navy); margin-left: 2px; }

/* ---------- Hero CTA buttons match the price pill width ---------- */
.hero-copy { min-width: 0; }
.hero-cta { display: grid; width: max-content; max-width: 100%; }
.hero-cta .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: auto; max-width: none; }
.hero-cta .hero-actions .btn { min-width: 0; }
.hero-cta .hero-price { display: flex; justify-content: center; }
@media (max-width: 960px) { .hero-cta { margin-inline: auto; } }
/* 人氣！ speech-bubble outline (1px, tail pointing left) */
.hero-price .hot-tag { position: relative; display: inline-block; margin-left: 8px; padding: 1px 8px; line-height: 18px; border: 1px solid var(--navy); border-radius: 10px; background: #fff; vertical-align: 2px; }
.hero-price .hot-tag::before { content: ""; position: absolute; left: -4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: #fff; border-left: 1px solid var(--navy); border-bottom: 1px solid var(--navy); transform: rotate(45deg); }

/* ---------- Plans + packages: swipe carousel on phones ---------- */
.swipe-dots { display: none; }
@media (max-width: 560px) {
  .plans, .pack-grid {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 14px var(--gutter) 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: stretch;
  }
  .pack-grid { margin-top: 28px; }
  .plans::-webkit-scrollbar, .pack-grid::-webkit-scrollbar { display: none; }
  .plans .plan, .pack-grid .pack { flex: 0 0 82%; scroll-snap-align: start; }
  .plans .plan:hover, .pack-grid .pack:hover { transform: none; box-shadow: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .swipe-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: #d6d1c8; transition: width .3s var(--ease), background-color .3s; }
  .swipe-dots button.is-active { width: 22px; background: var(--navy); }
}
@media (max-width: 560px) {
  .plans .plan { padding: 26px 20px; }
  .plans .tag { white-space: nowrap; }
  .plans .plan-list b { white-space: nowrap; }
}

/* ---------- Phone-only line breaks ---------- */
@media (max-width: 560px) { .m-line { display: block; } .d-only { display: none; } }

/* ---------- Carousel smoothness fix (phones) ----------
   Cards inside the swipe rows must not use the per-card reveal (it offsets them 36px,
   making the row scroll vertically and hiding off-screen cards until swiped in). */
@media (max-width: 560px) {
  .plans, .pack-grid { overflow-y: hidden; touch-action: pan-x pan-y; }
  .plans .plan, .pack-grid .pack { scroll-snap-stop: always; }
  .plans .plan.reveal, .pack-grid .pack.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- PLAN A: collapsible drawing notice ---------- */
.plan-notice { margin-top: 18px; border: 1.5px solid #f0b48a; border-radius: 18px; background: #fff; overflow: hidden; }
.plan-notice summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; }
.plan-notice summary::-webkit-details-marker { display: none; }
.notice-title { font-size: 16px; font-weight: 900; color: #e8742a; letter-spacing: .02em; }
.plan-notice summary .q-icon { flex: none; background: #fdeee3; }
.plan-notice summary .q-icon::before, .plan-notice summary .q-icon::after { background: #e8742a; }
.plan-notice summary:hover .q-icon { background: #fbdcc6; }
.plan-notice[open] .q-icon::after { transform: rotate(0deg); }
.notice-body { padding: 4px 20px 20px; border-top: 1px dashed #f3c9aa; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.notice-body h4 { font-size: 15px; font-weight: 900; color: var(--ink); margin-top: 16px; }
.notice-body ul { margin-top: 6px; display: grid; gap: 4px; }
.notice-body li.sub { padding-left: 1.6em; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  .plan-notice summary { padding: 12px 14px 12px 16px; }
  .notice-body { padding: 2px 16px 18px; }
}
.plans:has(.plan-notice[open]) { align-items: start; }

/* ---------- Plan cards: compact on phones (fit iPhone screen) ---------- */
@media (max-width: 560px) {
  .plans .plan { padding: 20px 18px 18px; }
  .plans .plan-name { font-size: 24px; line-height: 1.2; }
  .plans .plan-sub { font-size: 16px; margin-top: 4px; padding-bottom: 10px; gap: 4px 8px; }
  .plans .plan-list li { padding: 10px 0; gap: 12px; }
  .plans .plan-list b { font-size: 14.5px; line-height: 1.4; }
  .plans .plan-list small { margin-top: 1px; line-height: 1.45; }
  .plans .amt-group { gap: 2px; }
  .plans .plan-note { margin-top: 10px; line-height: 1.6; }
  .plans .plan-notice { margin-top: 12px; }
  .plans .plan-notice summary { padding: 9px 12px 9px 14px; }
  .plans .notice-title { font-size: 15px; }
}
.plans .plan-list b.wrap-ok { white-space: normal; flex-wrap: wrap; column-gap: 4px; }

/* ---------- PLAN A: colour / mono price pairs ---------- */
#price-a .amt-group .amt-lg { line-height: 1.1; }
#price-a .amt-group .amt-lg .amt-label { font-size: 13px; }
#price-a .plan-list li > div:first-child { min-width: 0; }

/* ---------- Plan titles with hand-drawn icons ---------- */
.plan-name { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 2.2vw, 32px); }
.plan-name-text { min-width: 0; white-space: nowrap; }
.plan-icon { flex: 0 1 96px; min-width: 56px; width: 96px; height: auto; margin: -22px 0 -14px; }
@media (max-width: 560px) {
  .plan-name { gap: 6px; }
  .plan-name-text { white-space: normal; }
  .plan-icon { flex: none; width: 64px; min-width: 0; margin: -12px 0 -8px; }
}

/* ---------- Package cards: illustrations peeking over the top edge ---------- */
.pack-grid { margin-top: 92px; }
.pack-art { position: absolute; left: 50%; top: -62px; width: 120px; height: auto; transform: translateX(-50%); pointer-events: none; }
.pack-name .pack-badge { position: static; transform: none; margin-left: 4px; vertical-align: 3px; font-size: 10.5px; padding: 3px 8px; }
@media (max-width: 560px) {
  .pack-grid { margin-top: 20px; padding-top: 64px; }
  .pack-art { width: 104px; top: -54px; }
}
@media (min-width: 561px) and (max-width: 960px) { .pack-grid { row-gap: 84px; } }

/* ---------- PLAN A: keep 人氣 tag beside its title; a little more room on phones ---------- */
.plan-list b.hot-title { white-space: nowrap; gap: 6px; }
@media (max-width: 560px) {
  .plans .plan-list b.hot-title .tag { height: 20px; padding: 0 7px; font-size: 10.5px; }
  .plans .plan { padding-top: 23px; padding-bottom: 21px; }
  .plans .plan-list li { padding: 12px 0; }
  .plans .plan-sub { padding-bottom: 12px; }
}

/* ---------- PLAN B title: smaller second part, one line on phones ---------- */
.plan-name-small { font-size: .8em; }
@media (max-width: 560px) {
  .plans { padding-top: 30px; }
  .plans .plan { position: relative; }
  .plans .plan-name { font-size: min(24px, 6vw); }
  .plans .plan-name-text { white-space: nowrap; }
  .plans .plan-icon { position: absolute; top: -18px; right: 14px; width: 58px; margin: 0; }
}

/* ---------- Plan subtitle: note line drops below the subtitle ---------- */
.plan-sub .sub-line { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

/* ---------- Plan icons 20% larger ---------- */
.plan-icon { flex-basis: 115px; width: 115px; min-width: 67px; margin: -26px 0 -18px; }
@media (max-width: 560px) {
  .plans .plan-icon { width: 70px; top: -24px; right: 12px; }
}

/* ---------- Plan title second part in a 1px rounded outline ---------- */
.plan-name-box { display: inline-block; border: 1px solid currentColor; border-radius: 12px; padding: .04em .32em .08em; line-height: 1.15; margin-left: .1em; }
@media (max-width: 560px) { .plans .plan, .pack-grid .pack { min-width: 0; } }
@media (max-width: 560px) { .plans .plan-name { font-size: min(22px, 5.5vw); } }
/* phone: let long item names wrap instead of pushing into the price column */
@media (max-width: 560px) {
  .plans .plan-list li > div:first-child { flex: 1 1 auto; min-width: 0; }
  .plans .plan-list li > .amt-group, .plans .plan-list li > .amt { flex: none; }
  .plans .amt-label { font-size: 11.5px; margin-right: 5px; }
  .plans .amt-lg { font-size: 20px; }
  .plans .plan-list b.hot-title { display: block; white-space: normal; }
  .plans .plan-list b.hot-title .tag { display: inline-flex; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
  .plans .plan-list b.wrap-ok .nowrap { white-space: normal; }
}
.plan-list b.hot-title { display: block; }
.plan-list b.hot-title .tag { display: inline-flex; vertical-align: 2px; margin-left: 6px; }

/* =========================================================
   Goods (周邊商品): homepage entry block + goods.html
   ========================================================= */
.goods-entry { padding-top: 0; }
.ge-card { max-width: 1134px; margin-inline: auto; background: var(--beige); border-radius: 48px; padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px); text-align: center; }
.ge-title { font-family: var(--font-title); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: .04em; }
.ge-desc { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.8; }
.ge-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px auto 28px; max-width: 860px; }
.ge-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 2px solid transparent; border-radius: 28px; padding: 22px 16px 20px; transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease); }
.ge-item:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -36px rgba(45,73,112,.55); }
.ge-item.is-hot { border-color: var(--navy); }
.ge-tier { font-size: 11px; font-weight: 700; color: var(--navy); background: var(--lime); border-radius: 99px; padding: 2px 10px; }
.ge-art { height: 96px; display: flex; align-items: center; justify-content: center; }
.ge-art img { max-height: 96px; width: auto; }
.ge-item b { font-size: 16px; font-weight: 900; color: var(--navy); }
.ge-price { font-size: 12.5px; color: var(--muted); }
.ge-price .num { font-family: var(--font-en); font-weight: 800; font-size: 18px; color: var(--ink); }

.page-goods main > section { scroll-margin-top: 80px; }
.goods-hero { padding: calc(var(--header-h) + 14px) 0 8px; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.gh-inner { text-align: center; margin-top: clamp(20px, 3vw, 36px); }
.gh-title { font-family: var(--font-title); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; font-weight: 700; color: var(--navy); margin-top: 8px; letter-spacing: .04em; text-wrap: balance; }
.gh-lead { font-size: 15px; color: var(--ink-2); margin-top: 14px; line-height: 1.85; }
.gh-jumps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gh-jumps .pill { height: 38px; padding: 0 18px; font-weight: 700; }

.goods-tiers .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.goods-tiers .pack-name { font-size: 20px; }
.goods-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--navy); }
.goods-more .arrow { width: 22px; }
.goods-more:hover { color: var(--ink); }
.goods-note { text-align: center; font-size: 12.5px; color: var(--ink-2); margin-top: 22px; }
.goods-note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.goods-detail { padding: clamp(48px, 6vw, 88px) 0; }
.goods-detail.is-alt { background: var(--beige); }
.gd-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1134px; }
.goods-detail.is-alt .g-gallery { order: 2; }
.g-main { aspect-ratio: 4 / 3; border-radius: 36px; background: var(--beige); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.goods-detail.is-alt .g-main { background: #fff; }
.g-main img { width: 46%; height: auto; }
.g-main.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.g-ph { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.g-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.g-thumbs button { aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: var(--beige); padding: 0; cursor: pointer; transition: border-color .25s, transform .3s var(--ease-spring); }
.g-thumbs button:hover { transform: translateY(-2px); }
.g-thumbs button.is-active { border-color: var(--navy); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gd-title { font-family: var(--font-title); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--navy); margin-top: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gd-lead { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }
.gd-specs { margin-top: 18px; border-top: 2px solid var(--ink); }
.gd-specs li { align-items: center; }
.gd-specs li > div:first-child { display: flex; align-items: baseline; gap: 14px; }
.gd-specs b { min-width: 3.5em; }
.gd-specs small { margin-top: 0; }
.gd-gift { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; font-size: 13px; }
.gd-gift b { font-weight: 900; margin-right: 4px; }
.gd-gift .tag { margin-left: 0; }

.combo-card { max-width: 1100px; margin-inline: auto; background: #f3faea; border-radius: 48px; padding: clamp(40px, 5vw, 64px) 32px; text-align: center; }
.combo-row { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); margin-top: 26px; font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--navy); }
.combo-row img { height: clamp(56px, 8vw, 90px); width: auto; }
.goods-faq .faq-list { max-width: 860px; margin-inline: auto; }
.goods-faq { padding-top: 0; }

@media (max-width: 960px) {
  .gd-inner { grid-template-columns: minmax(0, 1fr); }
  .goods-detail.is-alt .g-gallery { order: 0; }
}
@media (max-width: 760px) {
  .ge-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0 22px; }
  .ge-item { padding: 14px 6px 14px; border-radius: 20px; gap: 4px; }
  .ge-art { height: 64px; }
  .ge-art img { max-height: 64px; }
  .ge-item b { font-size: 13.5px; }
  .ge-tier { font-size: 10px; padding: 2px 7px; }
  .ge-price { font-size: 11px; }
  .ge-price .num { font-size: 15px; }
  .ge-card { border-radius: 32px; }
}
@media (max-width: 560px) {
  .gh-lead br { display: none; }
  .g-main { border-radius: 28px; }
  .gd-specs li > div:first-child { gap: 10px; }
  .combo-card { border-radius: 32px; padding-inline: 20px; }
}
.pack-art.is-square { width: 92px; top: -66px; }
@media (max-width: 560px) { .pack-art.is-square { width: 80px; top: -56px; } }

/* ---------- Goods page: product details as three compact square cards ---------- */
.goods-detail { padding: clamp(40px, 5vw, 72px) 0 0; }
.gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1134px; margin-inline: auto; align-items: start; }
.gd-card { scroll-margin-top: 90px; background: var(--beige); border: 2px solid transparent; border-radius: var(--radius-lg); padding: 18px 18px 20px; display: flex; flex-direction: column; }
.gd-card.is-hot { background: #fff; border-color: var(--navy); }
.gd-card .g-main { aspect-ratio: 1 / 1; border-radius: 22px; background: #fff; margin-bottom: 14px; }
.gd-card.is-hot .g-main { background: var(--beige); }
.gd-card .g-main img { width: 52%; }
.gd-card .g-main.is-photo img { width: 100%; }
.gd-card .g-thumbs { gap: 6px; margin: -6px 0 14px; }
.gd-card .g-thumbs button { border-radius: 10px; }
.gd-card .gd-title { font-family: var(--font-tc); font-size: 19px; font-weight: 900; margin-top: 2px; gap: 8px; }
.gd-price { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.gd-price .num { font-family: var(--font-en); font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; }
.gd-price small { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.gd-more { margin-top: 12px; border-top: 1px solid var(--line); }
.gd-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 10px 0 2px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.gd-more summary::-webkit-details-marker { display: none; }
.gd-more summary .q-icon { width: 24px; height: 24px; flex: none; }
.gd-more summary .q-icon::before, .gd-more summary .q-icon::after { left: 7px; right: 7px; top: 11px; }
.gd-more[open] .q-icon::after { transform: rotate(0deg); }
.gd-card .gd-specs { margin-top: 8px; border-top: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.gd-card .gd-specs li { display: flex; gap: 10px; padding: 0; border: 0; }
.gd-card .gd-specs b { flex: none; min-width: 2.6em; color: var(--ink); }
.gd-card .gd-specs a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gd-card .gd-specs .hl { color: var(--navy); font-weight: 700; }
.btn-sm { margin-top: 14px; min-height: 42px; padding: 0 20px; font-size: 13.5px; align-self: flex-start; gap: 14px; }
.btn-sm .arrow { width: 24px; }
@media (max-width: 960px) {
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gd-grid {
    display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none; align-items: flex-start;
  }
  .gd-grid::-webkit-scrollbar { display: none; }
  .gd-card { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .gd-card.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Info cards (提供檔案／修改次數／原始檔): square cards, 3 across on every size ---------- */
.info-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; gap: 20px; }
.info { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: 32px; }
.info h3 { font-size: 20px; }
.info p { font-size: 14px; line-height: 1.75; }
@media (max-width: 960px) {
  .info-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .info { padding: 18px; border-radius: 24px; }
  .info h3 { font-size: 16px; }
  .info p { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .info-cards { gap: 8px; margin-top: 20px; }
  .info-cards { align-items: stretch; }
  .info { aspect-ratio: auto; min-height: calc((100vw - 2 * var(--gutter) - 16px) / 3); justify-content: flex-start; padding: 12px 9px; border-radius: 18px; }
  .info h3 { font-size: 12.5px; gap: 4px; align-items: flex-start; line-height: 1.3; letter-spacing: -.01em; }
  .info h3::before { width: 5px; height: 5px; margin-top: .45em; flex: none; }
  .info p { font-size: 10.5px; line-height: 1.5; margin-top: 5px; letter-spacing: -.02em; }
}

/* =========================================================
   Goods page v2 — follows Figma「分頁 周邊商品」(1483:22926)
   ========================================================= */
.goods-hero { padding: 83px 0 0; }
.crumbs { font-size: 16px; color: #665f5f; padding-left: 13px; }
.gh-inner { margin-top: clamp(40px, 6vw, 84px); }
.gh-title { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.5; color: #2b4c7d; margin-top: 0; }
.gh-lead { font-size: 15px; line-height: 22px; margin-top: 18px; }

.gp-tiers { padding-top: 112px; }
.gp-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 332px)); justify-content: center; gap: 64px; }
.gp-tier { position: relative; background: #fcf5ef; border-radius: 60px; padding: 30px 37px 19px; transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease); }
.gp-tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(45,73,112,.5); }
.gp-tier-art { position: absolute; top: -44px; right: 45px; width: 93px; height: auto; pointer-events: none; }
.gp-tier-art.is-wide { width: 142px; right: 21px; top: -44px; }
.gp-tier-name { font-size: 24px; line-height: 36px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.gp-tier-name .tag { height: 22px; padding: 0 12px; font-size: 10.5px; }
.gp-tier-price { margin-top: 8px; display: flex; align-items: baseline; gap: 1px; font-family: var(--font-en); }
.gp-tier-price .num { font-size: 32px; line-height: 39px; font-weight: 800; color: var(--navy); }
.gp-tier-price small { font-family: var(--font-tc); font-size: 11px; color: var(--ink-2); }
.gp-tier-line { margin-top: 8px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.gp-pill { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 50px; background: var(--lime); color: var(--navy); font-size: 12px; font-weight: 700; }
.gp-more { margin-top: 16px; display: flex; justify-content: flex-end; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; color: var(--navy); }
.gp-more .arrow { width: 24px; }
.gp-more:hover { color: var(--ink); }
.gp-tiers .goods-note { margin-top: 28px; font-size: 12.5px; }
.gp-tiers .goods-note a { text-decoration: none; color: var(--ink); font-weight: 700; margin-left: 2px; }

.gp-detail { padding-top: 188px; scroll-margin-top: 40px; }
.gp-detail + .gp-detail { padding-top: 117px; }
.gp-head { text-align: center; }
.gp-title { font-family: var(--font-title); font-size: 36px; line-height: 54px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.gp-price { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.gp-price .num { font-family: var(--font-en); font-size: 32px; line-height: 39px; font-weight: 800; color: var(--navy); }
.gp-price small { font-size: 14px; font-weight: 700; color: var(--ink-2); align-self: flex-end; margin-bottom: 2px; }
.gp-tag { margin-left: 10px; display: inline-flex; align-items: center; height: 33px; padding: 0 14px; border: 1px solid #2b4c7d; border-radius: 40px; color: #2b4c7d; font-size: 14px; font-weight: 700; }
.gp-body { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 723px) minmax(0, 369px); justify-content: center; gap: 60px; align-items: start; }
.gp-detail.is-flip .gp-body { grid-template-columns: minmax(0, 383px) minmax(0, 719px); }
.gp-detail.is-flip .gp-photo { order: 2; }
.gp-photo { aspect-ratio: 723 / 407; border-radius: 40px; overflow: hidden; background: #f4efed; }
.gp-photo img { width: 100%; height: 100%; object-fit: cover; }
.gp-specs { display: grid; gap: 16px; }
.gp-specs li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.gp-specs b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 26px; border-radius: 50px; background: var(--lime); color: var(--navy); font-size: 16px; font-weight: 700; }

.gp-cta { padding-top: 170px; }
.gp-cta .cta-card { max-width: 886px; border-radius: 200px; padding: 30px 40px; }
.gp-cta .cta-card p { font-size: 16px; font-weight: 700; margin-top: 18px; }
.gp-cta .cta-card .btn { margin-top: 21px; }

@media (max-width: 1180px) {
  .gp-tier-grid { gap: 28px; }
  .gp-tier { padding-inline: 28px; }
  .gp-tier-line { white-space: normal; align-items: flex-start; }
}
@media (max-width: 960px) {
  .gp-body, .gp-detail.is-flip .gp-body { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; gap: 24px; }
  .gp-detail.is-flip .gp-photo { order: 0; }
  .gp-detail { padding-top: 110px; }
  .gp-detail + .gp-detail { padding-top: 90px; }
}
@media (max-width: 760px) {
  .goods-hero { padding-top: 24px; }
  .crumbs { font-size: 13px; padding-left: 0; }
  .gh-inner { margin-top: 28px; }
  .gh-lead { font-size: 14px; line-height: 1.7; }
  .gp-tiers { padding-top: 64px; }
  .gp-tier-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 420px; margin-inline: auto; }
  .gp-tier { border-radius: 40px; }
  .gp-detail { padding-top: 80px; }
  .gp-detail + .gp-detail { padding-top: 72px; }
  .gp-title { font-size: 26px; line-height: 38px; }
  .gp-price .num { font-size: 28px; }
  .gp-tag { height: 28px; font-size: 13px; padding: 0 12px; }
  .gp-photo { border-radius: 28px; }
  .gp-specs { gap: 12px; }
  .gp-specs li { font-size: 14px; line-height: 22px; align-items: flex-start; }
  .gp-specs b { width: 60px; height: 24px; font-size: 13.5px; margin-top: -1px; }
  .gp-cta { padding-top: 90px; }
  .gp-cta .cta-card { border-radius: 48px; padding: 36px 24px; }
  .gp-cta .cta-card p { font-size: 14px; }
}

/* ---------- Calculator: full width of the package cards, taller, bright yellow so it stands out ---------- */
.calc { max-width: none; margin-top: 28px; background: #ffe04b; border: 2px solid var(--navy); border-radius: 32px; transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.calc:not([open]):hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(45,73,112,.55); }
.calc summary { padding: 32px 34px 32px 36px; gap: 14px; font-size: 22px; letter-spacing: .02em; }
.calc summary small { font-size: 15px; color: var(--navy); font-weight: 700; opacity: .85; }
.calc-ico { font-size: 30px; }
.calc summary .q-icon { width: 40px; height: 40px; background: #fff; }
.calc summary .q-icon::before, .calc summary .q-icon::after { left: 12px; right: 12px; top: 19px; background: var(--navy); }
.calc summary:hover .q-icon { background: var(--navy); }
.calc summary:hover .q-icon::before, .calc summary:hover .q-icon::after { background: #fff; }
.calc[open] summary { border-bottom: 2px solid var(--navy); }
.calc-body { background: #fff; border-top: 0; }
@media (max-width: 760px) {
  .calc { border-radius: 24px; }
  .calc summary { padding: 22px 18px 22px 20px; font-size: 17px; gap: 10px; }
  .calc summary small { font-size: 13px; padding-left: 38px; }
  .calc-ico { font-size: 24px; }
  .calc summary .q-icon { width: 34px; height: 34px; }
  .calc summary .q-icon::before, .calc summary .q-icon::after { left: 10px; right: 10px; top: 16px; }
}

/* ---------- Big-family tier row: keep the label on one line ---------- */
.pack-tiers li { flex-wrap: wrap; row-gap: 2px; }
.pack-tiers li > span { white-space: nowrap; }

/* ---------- Package card illustrations 25% larger ---------- */
.pack-grid { margin-top: 110px; }
.pack-art { width: 150px; top: -80px; }
@media (min-width: 561px) and (max-width: 960px) { .pack-grid { row-gap: 104px; } }
@media (max-width: 560px) {
  .pack-grid { margin-top: 40px; padding-top: 80px; }
  .pack-art { width: 130px; top: -70px; }
}

/* ---------- Plan icons another 25% larger; sit on the card's top-right corner so titles keep their room ---------- */
.plans .plan { position: relative; }
.plan-icon { position: absolute; top: -46px; right: 22px; width: 144px; min-width: 0; flex: none; margin: 0; }
@media (min-width: 561px) and (max-width: 1180px) {
  .price .section-head { margin-bottom: calc(clamp(36px, 5vw, 64px) + 32px); }
  .plan-icon { top: -60px; right: 16px; }
}
@media (max-width: 560px) {
  .plans { padding-top: 44px; }
  .plans .plan-icon { width: 88px; top: -36px; right: 12px; }
}
@media (min-width: 561px) and (max-width: 960px) { .plans { row-gap: 76px; } }

/* ---------- Plan icons another 20% larger ---------- */
.plan-icon { width: 173px; top: -64px; right: 18px; }
@media (min-width: 561px) and (max-width: 1180px) {
  .price .section-head { margin-bottom: calc(clamp(36px, 5vw, 64px) + 52px); }
  .plan-icon { top: -78px; right: 12px; }
}
@media (min-width: 561px) and (max-width: 960px) { .plans { row-gap: 96px; } }
@media (max-width: 560px) {
  .plans { padding-top: 56px; }
  .plans .plan-icon { width: 106px; top: -47px; right: 10px; }
}
@media (min-width: 1181px) { .price .section-head { margin-bottom: calc(clamp(36px, 5vw, 64px) + 18px); } }

/* ---------- Simple pricing: tag pills above prices and a "+" before the T-shirt bubble ---------- */
.bubble-tag { align-self: center; display: inline-flex; align-items: center; height: 30px; padding: 0 16px; margin-bottom: 10px; border: 1.5px solid var(--navy); border-radius: 99px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.bubble-tag.is-lime { background: var(--lime); border-color: var(--lime); }
.simple-plus { position: relative; justify-self: center; width: 44px; height: 44px; }
.simple-plus::before, .simple-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: var(--navy); }
.simple-plus::after { transform: rotate(90deg); }
@media (max-width: 1180px) { .simple-plus { width: 32px; height: 32px; } .simple-plus::before, .simple-plus::after { height: 5px; margin-top: -2.5px; } }
@media (max-width: 960px) { .simple-plus { display: none; } }
@media (max-width: 560px) { .bubble-tag { height: 26px; font-size: 12.5px; padding: 0 12px; margin-bottom: 6px; } }

/* ---------- PLAN B 成人/兒童 note: 15px with a small arrow ---------- */
.plan-list small.spec-note { font-size: 15px; line-height: 1.55; margin-top: 4px; padding-left: 16px; position: relative; }
.plan-list small.spec-note::before { content: ""; position: absolute; left: 2px; top: .62em; width: 0; height: 0; border-left: 6px solid var(--navy); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
@media (max-width: 560px) { .plans .amt.amt-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; } .plans .amt-stack .amt-label { margin-right: 0; } }

/* ---------- Calculator: quote buttons + JPG preview ---------- */
.calc-side { display: grid; gap: 14px; align-self: start; }
.calc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-actions .btn { min-height: 52px; justify-content: center; gap: 12px; font-size: 16px; padding: 0 18px; }
.calc-actions .btn[hidden] { display: none; }
.calc-actions .calc-quote-btn:only-child, .calc-actions .calc-quote-btn:has(+ [hidden]) { grid-column: 1 / -1; }
.calc-error { font-size: 13.5px; font-weight: 700; color: #c0563b; }
.calc-quote { grid-column: 1 / -1; margin-top: 4px; text-align: center; }
.calc-quote img { display: block; width: 100%; max-width: 520px; margin-inline: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(45,73,112,.6); }
.calc-quote figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }

/* ---------- Story plan cards: desktop/tablet height −20% (509 → 407px) ---------- */
@media (min-width: 761px) {
  .plan-card { height: 407px; padding: 30px 32px 28px; }
  .plan-card-sub { margin-top: 14px; }
  .plan-card-desc { margin-top: 10px; }
  .plan-card-art { height: 140px; margin-top: 22px; }
  .plan-card-art .art-merch { width: 205px; }
  .plan-card-art .art-girl { width: 162px; }
  .plan-card .btn { margin-top: 24px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .plan-card { height: auto; min-height: 407px; }
  .plan-card .btn { margin-top: auto; }
  .plan-card-art { margin-bottom: 20px; }
}

/* ---------- PLAN A/B item titles: 20px on desktop/tablet ---------- */
@media (min-width: 561px) {
  .plans .plan-list li > div:first-child > b { font-size: 20px; line-height: 30px; }
}

/* ---------- PLAN A/B rows: clearer hierarchy & airier layout ---------- */
/* grid rows: title + note on the left, prices on the right */
.plans .plan-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px; align-items: start;
  border-radius: 0; border-bottom: 1px dashed rgba(45, 73, 112, .22);
}
.plans .plan-list li:hover { background: none; padding-inline: 0; }
.plans .plan-list li:last-child { border-bottom: 0; }
.plans .plan-list li > div:first-child { display: contents; }
.plans .plan-list li > div:first-child > b { grid-column: 1; grid-row: 1; }
.plans .plan-list small.spec-note { grid-column: 1; grid-row: 2; margin-top: 0; color: #444; }
.plans .plan-list li > .amt-group, .plans .plan-list li > .amt { grid-column: 2; grid-row: 1 / span 2; }
/* quieter price labels so the numbers stand out */
.plans .amt-label { font-weight: 500; color: #8a8a8a; }
.plans .amt-group { gap: 4px; }
.plans .amt-group .amt { display: flex; align-items: baseline; justify-content: flex-end; }

/* phone: notes use the full width; price pairs sit on their own line */
@media (max-width: 560px) {
  .plans .plan-list li { column-gap: 12px; row-gap: 3px; padding: 12px 0; }
  .plans .plan-list li > div:first-child > b { font-size: 16.5px; line-height: 1.45; }
  .plans .plan-list b.hot-title .tag { vertical-align: 3px; }
  .plans .plan-list small.spec-note { grid-column: 1 / -1; line-height: 1.5; }
  .plans .plan-list li > .amt { grid-row: 1; align-self: center; }
  .plans .plan-list li:has(> .amt-group) > div:first-child > b,
  .plans .plan-list li:has(> .amt-stack) > div:first-child > b { grid-column: 1 / -1; }
  .plans .plan-list li > .amt-group,
  .plans .plan-list li > .amt.amt-stack {
    grid-column: 1 / -1; grid-row: 3; margin-top: 6px;
    display: flex; flex-direction: row; justify-content: flex-end; align-items: baseline; gap: 16px;
  }
  .plans .amt-stack .amt-label { margin-right: 6px; }
}

/* ---------- Plan title outline: 12px padding, pill shape ---------- */
.plans .plan-name-box { padding: 12px; border-radius: 100px; line-height: 1; margin-left: .15em; }

/* ---------- PLAN A/B price numbers in blue ---------- */
.plans .amt, .plans .amt-lg { color: #2F63B0; }

/* ---------- Goods prices with a prefix / shipping note (purse) ---------- */
.gp-price { flex-wrap: wrap; justify-content: center; row-gap: 2px; }
.gp-price small.pre, .gp-tier-price small.pre { margin-right: 4px; }
.gp-tier-price { flex-wrap: wrap; }
.gp-tier-price small.ship { flex-basis: 100%; margin-top: 2px; }

/* ---------- Process steps: all 5 in one row on desktop ---------- */
@media (min-width: 961px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; max-width: 1180px; }
  .step, .step:nth-child(4), .step:nth-child(5) { grid-column: auto; }
  .step img { height: 120px; max-width: 100%; }
  .step h3 { font-size: clamp(16px, 1.4vw, 20px); white-space: nowrap; }
  .step p:last-child { max-width: none; }
}

/* ---------- Process steps: shorter on phones ---------- */
@media (max-width: 560px) {
  #process { padding-block: 56px; }
  #process .section-head { margin-bottom: 24px; }
  .steps { row-gap: 26px; }
  .step-no { font-size: 22px; gap: 8px; }
  .step img { height: 72px; margin: 10px 0 8px; }
  .step h3 { font-size: 15px; line-height: 1.4; }
  .step p:last-child { margin-top: 6px; padding-bottom: 12px; line-height: 1.6; }
}

/* ---------- Process steps: description fills the card so underlines line up ---------- */
.steps { align-items: stretch; }
.step p:last-child { flex: 1 1 auto; }

/* ---------- Goods entry: merch illustration replaces the MERCH eyebrow ---------- */
.ge-head-art { display: block; width: 170px; height: auto; margin: 0 auto 4px; }
@media (max-width: 560px) { .ge-head-art { width: 130px; } }

/* ---------- Goods page: design + goods calculator above the CTA ---------- */
.gp-calc { padding: clamp(48px, 6vw, 88px) 0 0; scroll-margin-top: 80px; }
.gp-calc .calc { max-width: 1134px; margin: 0 auto; }

/* ---------- PLAN B subtitle: production time on its own line ---------- */
.plan-sub .sub-line em.sub-break { flex-basis: 100%; }

/* ---------- Goods detail: photo slider with dots ---------- */
.gp-detail.is-flip .gp-media { order: 2; }
.gp-media { min-width: 0; }
.gp-slider { position: relative; }
.gp-slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gp-slides::-webkit-scrollbar { display: none; }
.gp-slides img { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.gp-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.gp-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: #d6d1c8; transition: width .3s var(--ease), background-color .3s; }
.gp-dots button.is-active { width: 22px; background: var(--navy); }
@media (max-width: 960px) { .gp-detail.is-flip .gp-media { order: 0; } }

/* ---------- PLAN B tee prices: 轉印／直噴 × 短袖／長袖 (stacked on phone) ---------- */
@media (max-width: 560px) {
  .plans .plan-list li > .amt-group.amt-quad { flex-direction: column; align-items: flex-end; gap: 2px; }
}

/* ---------- PLAN B: 印刷工法介紹 button + dialog ---------- */
.plans .plan-list li.has-method > .amt-group { grid-row: 1 / span 3; }
.method-btn { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 100px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.method-btn:hover, .method-btn:focus-visible { background: var(--navy); color: #fff; }
.method-arrow { display: inline-block; transition: transform .25s var(--ease); }
.method-btn:hover .method-arrow { transform: translateX(3px); }
.method-dialog { padding: 0; border: 0; border-radius: 24px; background: #fff; width: min(900px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; box-shadow: 0 24px 60px rgba(28, 34, 46, .28); }
.method-dialog::backdrop { background: rgba(28, 34, 46, .7); }
.method-dialog img { display: block; width: 100%; height: auto; }
.method-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s; }
.method-close:hover, .method-close:focus-visible { background: var(--lime); color: var(--navy); }
.method-dialog[open] { animation: method-in .3s var(--ease); }
@keyframes method-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 560px) {
  .plans .plan-list li.has-method > .amt-group { grid-row: 3; }
  .method-btn { grid-column: 1 / -1; grid-row: 4; margin-top: 8px; height: 32px; font-size: 13.5px; }
  .method-dialog { border-radius: 18px; }
  .method-close { top: 8px; right: 8px; width: 34px; height: 34px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .method-dialog[open] { animation: none; } }

/* ---------- Simple pricing: 更多使用情境 pill ---------- */
.scenes { max-width: 1163px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 56px clamp(24px, 6vw, 80px) 48px; border-radius: 300px; background: #FCF5EF; text-align: center; }
.scenes-title { font-family: var(--font-title); font-size: clamp(26px, 3vw, 36px); line-height: 1.4; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.scenes-text { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.75; font-weight: 500; color: #555; letter-spacing: .12em; }
.scenes-art { display: block; width: min(562px, 100%); height: auto; margin: 28px auto 0; }
@media (max-width: 760px) {
  .scenes { border-radius: 40px; padding: 40px 20px 32px; }
  .scenes-text { font-size: 14.5px; letter-spacing: .06em; gap: 4px; }
  .scenes-art { margin-top: 20px; }
}
.scenes-text .warm { color: #e8742a; font-weight: 700; }
/* desktop: text left, art right, keep the pill ~320px tall */
@media (min-width: 961px) {
  .scenes { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; align-content: center; align-items: center; column-gap: 64px; padding: 54px 72px; border-radius: 200px; }
  .scenes-title { grid-column: 1; grid-row: 1; align-self: end; }
  .scenes-text { grid-column: 1; grid-row: 2; align-self: start; margin-top: 10px; gap: 0; }
  .scenes-art { grid-column: 2; grid-row: 1 / span 2; width: 460px; margin: 0; }
}

/* ---------- Info cards (提供檔案／修改次數／授權): fixed 280px on desktop ---------- */
@media (min-width: 961px) {
  .info { aspect-ratio: auto; height: 280px; justify-content: flex-start; padding: 44px 34px 28px; }
}

/* ---------- Info cards: no fill, thin grey dividers ---------- */
.info { background: none; border-radius: 0; }
.info + .info { border-left: 1px solid #e4dfd8; }
.info:hover { transform: none; }
.info-cards { gap: 0; }
@media (max-width: 960px) { .info { aspect-ratio: auto; min-height: 0; justify-content: flex-start; padding-block: 8px; } }

/* ---------- Desktop: goods entry card ~440px tall (text left, items right) ---------- */
@media (min-width: 961px) {
  .ge-card { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-areas: "head items" "btn items"; column-gap: 48px; align-items: center; padding: 62px 56px; }
  .ge-head { grid-area: head; align-self: end; }
  .ge-head-art { width: 130px; }
  .ge-card > .btn { grid-area: btn; justify-self: center; align-self: start; margin-top: 20px; }
  .ge-items { grid-area: items; margin: 0; max-width: none; gap: 16px; }
}

/* ---------- Desktop: FAQ a little shorter ---------- */
@media (min-width: 961px) {
  #faq.section { padding-block: 88px; }
  .qa summary { padding: 18px 0 16px; }
  .qa-body p { padding-bottom: 20px; }
}

/* ---------- Hero: keep the title clear of the rounded top-left corner at every desktop width ---------- */
@media (min-width: 961px) {
  .hero-shell { border-radius: clamp(200px, 22vw, 360px) 0 0 0; }
  .hero-copy { padding-left: clamp(40px, 6vw, 96px); }
}
@media (min-width: 961px) {
  .hero-actions .btn { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-actions .btn { padding: 0 20px 0 24px; gap: 12px; }
  .hero-actions .arrow { width: 26px; }
}

/* ---------- Simple pricing: tag pill and price side by side ---------- */
.bubble-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; }
.bubble-head .bubble-tag { margin-bottom: 0; flex: none; }
.bubble-head .bubble-price { white-space: nowrap; }
.bubble .bubble-head .bubble-price { font-size: inherit; color: var(--navy); margin-top: 0; }

/* ---------- Lightbox prev/next: CSS chevrons, optically centred (the ‹ › glyphs sat off-centre) ---------- */
.lightbox .lb-prev, .lightbox .lb-next { font-size: 0; }
.lb-prev::before, .lb-next::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; box-sizing: border-box; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; border-radius: 1px; }
.lb-prev::before { transform: translateX(3px) rotate(-45deg); }
.lb-next::before { transform: translateX(-3px) rotate(135deg); }

/* ---------- Lightbox: family artwork has its own baked-in rounded corners (~150px on 1634×1227) — match them ---------- */
.lightbox.is-family img { border-radius: 9.8% / 13%; background: transparent; }

/* ---------- Pricing bubble: single-person art 5px shorter at every size (495×520 source) ---------- */
.img-single { width: 115.2px; }
@media (max-width: 960px) { .img-single { width: 99.25px; } }
@media (max-width: 560px) { .img-single { width: 83.2px; } }

/* ---------- Footer: Behance pill in brand navy ---------- */
.pill-navy { background: var(--navy); color: #fff; font-weight: 700; }
.pill-navy:hover { transform: scale(1.06); }

/* ---------- Simple pricing packs: titles wrap to 2 lines between 961–1223px — reserve 2 lines so prices line up ---------- */
@media (min-width: 961px) and (max-width: 1239px) { .pack-grid .pack-name { min-height: 61px; } }

/* ---------- PLAN B title: longer tag drops to its own line on phones when it doesn't fit ---------- */
@media (max-width: 560px) {
  .plans .plan-name-text { white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
  .plans .plan-name-box { margin-left: 0; }
}

/* =========================================================
   Three-step pricing (01 插畫 → 02 加購 T 恤 → 03 套組)
   ========================================================= */
.simple .h2, .simple .h2:where(*) { margin-bottom: 14px; }
.psteps-lead { text-align: center; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-2); letter-spacing: .06em; }
.psteps { list-style: none; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); counter-reset: none; }
.pstep { display: flex; flex-direction: column; }
.pstep-img { display: block; width: 100%; height: auto; aspect-ratio: 1634 / 1227; object-fit: cover; border-radius: 9.8% / 13%; transition: transform .5s var(--ease-spring); }
.pstep:hover .pstep-img { transform: translateY(-6px) rotate(-1deg); }
.pstep-body { padding: 20px 6px 0; }
.pstep-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-tc); font-size: clamp(19px, 1.7vw, 23px); font-weight: 900; color: var(--ink); letter-spacing: .04em; }
.pstep-no { font-family: var(--font-en); font-weight: 800; color: var(--navy); padding-right: 12px; border-right: 2px solid var(--navy); line-height: 1; }
.pstep-text { margin-top: 10px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.pstep-price { margin-top: 12px; display: inline-block; padding: 6px 16px; border-radius: 99px; background: var(--lime); color: var(--navy); font-size: 14px; font-weight: 700; }
.pstep-price .num { font-family: var(--font-en); font-size: 20px; font-weight: 800; margin-inline: 2px; }
@media (max-width: 760px) {
  .psteps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .pstep { display: grid; grid-template-columns: minmax(0, 38%) 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .pstep:first-child { padding-top: 0; }
  .pstep:last-child { border-bottom: 0; padding-bottom: 0; }
  .pstep-body { padding: 0; }
  .pstep-title { font-size: 17px; gap: 8px; }
  .pstep-no { padding-right: 8px; }
  .pstep-text { margin-top: 6px; font-size: 13.5px; line-height: 1.65; }
  .pstep-price { margin-top: 8px; padding: 4px 12px; font-size: 12.5px; }
  .pstep-price .num { font-size: 17px; }
}

.pstep-media { border-radius: 9.8% / 13%; background: var(--card-grey); overflow: hidden; aspect-ratio: 1634 / 1227; transition: transform .5s var(--ease-spring); }
.pstep-media .pstep-img { border-radius: 0; mix-blend-mode: multiply; transition: none; }
.pstep:hover .pstep-media { transform: translateY(-6px) rotate(-1deg); }
.pstep:hover .pstep-media .pstep-img { transform: none; }
@media (min-width: 761px) {
  .pstep-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
  .pstep-price { margin-top: auto; }
  .pstep-text { margin-bottom: 14px; }
}

/* ---------- PLAN B title: 「PLAN B」與「➕購專屬紀念衣」永遠同一行 ---------- */
@media (max-width: 560px) {
  .plans .plan-name-text { flex-wrap: nowrap; }
  .plans .plan-name-box { flex: none; padding: 8px 10px; }
}
@media (max-width: 420px) {
  .plans .plan-name-text { white-space: nowrap; column-gap: 4px; }
  .plans .plan-name-box.plan-name-small { font-size: .72em; padding: 7px 9px; }
}

/* ---------- Goods entry head (tablet/phone): 插圖在左，標題＋說明在右上下排 ---------- */
@media (max-width: 960px) {
  .ge-head { display: grid; grid-template-columns: auto minmax(0, auto); grid-template-rows: auto auto; justify-content: center; align-items: center; column-gap: clamp(16px, 3vw, 32px); text-align: left; }
  .ge-head-art { grid-column: 1; grid-row: 1 / span 2; width: clamp(110px, 22vw, 180px); margin: 0; }
  .ge-head .ge-title { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; }
  .ge-head .ge-desc { grid-column: 2; grid-row: 2; align-self: start; margin-top: 8px; }
}
@media (max-width: 560px) {
  .ge-head { column-gap: 12px; }
  .ge-head-art { width: 104px; }
  .ge-head .ge-title { font-size: 20px; line-height: 1.35; }
  .ge-head .ge-desc { font-size: 12.5px; line-height: 1.6; margin-top: 6px; }
}
@media (max-width: 400px) { .ge-head-art { width: 88px; } }
@media (max-width: 340px) {
  .ge-head .ge-title { font-size: 18px; }
  .ge-head .nowrap { white-space: normal; }
}

/* ---------- Plan cards: 小字說明去掉三角形，統一 15px ---------- */
.plans .plan-list small.spec-note { padding-left: 0; font-size: 15px; }
.plans .plan-list small.spec-note::before { content: none; }

/* ---------- Plan cards: 費用區塊白底 ---------- */
.plans .plan-list li > .amt-group,
.plans .plan-list li > .amt { background: #fff; border-radius: 12px; padding: 6px 12px; }
.plans .plan-list li > .amt-group { padding: 8px 14px; }
.plans .plan-list li > .amt:not(.amt-stack) { padding: 2px 12px; border-radius: 10px; }
.plans .plan-list li > .amt.amt-stack { padding: 8px 14px; }
@media (min-width: 561px) { .plans .plan-list li > .amt.amt-stack { padding: 4px 10px; } }
/* 白底：上下 4px、圓角 50px */
.plans .plan-list li > .amt-group,
.plans .plan-list li > .amt,
.plans .plan-list li > .amt.amt-stack { padding-top: 4px; padding-bottom: 4px; border-radius: 50px; }
.plans .plan-list li > .amt:not(.amt-stack) { padding-top: 4px; padding-bottom: 4px; border-radius: 50px; }
/* PLAN B T 恤三種價格：每個價格各自一顆白色膠囊 */
.plans .plan-list li > .amt-group.amt-quad { background: none; padding: 0; border-radius: 0; gap: 6px; align-items: flex-end; }
.plans .plan-list li > .amt-group.amt-quad .amt { background: #fff; padding: 4px 14px; border-radius: 50px; }
@media (max-width: 420px) {
  .plans .plan-list li > .amt-group:not(.amt-quad) { background: none; padding: 0; border-radius: 0; flex-wrap: wrap; gap: 6px 8px; }
  .plans .plan-list li > .amt-group:not(.amt-quad) .amt { background: #fff; padding: 4px 12px; border-radius: 50px; }
}
@media (max-width: 560px) { .plans .plan-list li > .amt.amt-stack { justify-self: end; width: max-content; max-width: 100%; } }

/* 白底緊貼文字（hug），左右 8px */
.plans .plan-list li > .amt-group,
.plans .plan-list li > .amt,
.plans .plan-list li > .amt.amt-stack,
.plans .plan-list li > .amt:not(.amt-stack),
.plans .plan-list li > .amt-group .amt { padding-left: 8px; padding-right: 8px; }
.plans .plan-list li > .amt-group.amt-quad,
.plans .plan-list li > .amt-group.amt-quad .amt + .amt { padding-left: 8px; }
.plans .plan-list li > .amt-group.amt-quad { padding: 0; }
@media (max-width: 560px) {
  .plans .plan-list li > .amt.amt-stack { justify-self: end; width: max-content; max-width: 100%; gap: 8px; }
  .plans .plan-list li > .amt-group:not(.amt-quad) { justify-self: end; width: max-content; max-width: 100%; }
}
@media (max-width: 420px) { .plans .plan-list li > .amt-group:not(.amt-quad) { padding: 0; } }
@media (min-width: 421px) { .plans .plan-list li > .amt-group:not(.amt-quad) .amt { padding: 0; } }
@media (max-width: 420px) { .plans .plan-list li > .amt-group:not(.amt-quad) .amt { padding: 4px 8px; } }
.plans .plan-list li > .amt-group.amt-quad .amt { padding-left: 8px; padding-right: 8px; }
/* PLAN A 兩種價格：每個價格各自一顆膠囊（避免大圓角吃掉左右間距），左右 8px */
.plans .plan-list li > .amt-group:not(.amt-quad) { background: none; padding: 0; border-radius: 0; gap: 6px; }
.plans .plan-list li > .amt-group:not(.amt-quad) .amt { background: #fff; padding: 4px 8px; border-radius: 50px; }
@media (min-width: 421px) { .plans .plan-list li > .amt-group:not(.amt-quad) .amt { padding: 4px 8px; } }

/* 手機版專用斷行：<br class="sp-br"> 只在手機出現 */
.sp-br { display: none; }
@media (max-width: 560px) {
  .sp-br { display: inline; }
  .sp-line { white-space: nowrap; }
}

/* ---------- 第 4 欄上下切：四人以上暖心價 ＋ 大家庭優惠 ---------- */
.pack-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pack-stack .pack { flex: 1 1 auto; padding: 22px 22px 20px; }
.pack-stack .pack-tiers { margin-top: 10px; }
.pack-stack .pack-copy { margin-top: 10px; }
.pack-stack .pack-spec { margin-top: 10px; padding-top: 10px; }
.pack-grid .pack-stack .pack-name { min-height: 0; }
@media (max-width: 560px) {
  .pack-grid .pack-stack { flex: 0 0 82%; scroll-snap-align: start; scroll-snap-stop: always; }
  .pack-grid .pack-stack .pack { flex: 1 1 auto; min-width: 0; }
  .pack-grid .pack-stack.reveal { opacity: 1; transform: none; transition: none; }
}

/* 套組卡底部規格：15px 粗體 */
#packages .pack-spec { font-size: 15px; font-weight: 700; line-height: 1.5; }
#packages .pack-grid > .pack .pack-spec { min-height: calc(3em + 12px); }

/* =========================================================
   品牌故事 story.html
   ========================================================= */
.story-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); margin-top: clamp(28px, 4vw, 56px); }
.story-title { font-family: var(--font-tc); font-weight: 900; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.35; color: var(--navy); letter-spacing: .04em; margin-top: 10px; }
.story-lead { margin-top: 18px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.9; color: var(--ink-2); }
.story-intro-art { width: 100%; max-width: 400px; height: auto; justify-self: center; }
.story-h2 { font-family: var(--font-tc); font-weight: 900; font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); letter-spacing: .04em; }
.story-why { padding-bottom: 0; }
.story-block { max-width: 820px; margin-inline: auto; background: var(--beige); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); text-align: center; }
.story-block p { margin-top: 16px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.9; color: var(--ink-2); }
.story-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.story-value { background: var(--beige); border-radius: var(--radius-lg); padding: 28px 26px; }
.story-no { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--navy); }
.story-value h3 { margin-top: 8px; font-size: 19px; font-weight: 900; color: var(--ink); }
.story-value p { margin-top: 10px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.story-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.story-cta-actions .btn { margin-top: 0; }
.d-br { display: inline; }
@media (max-width: 760px) {
  .story-intro { grid-template-columns: 1fr; text-align: center; }
  .story-intro-art { max-width: 300px; grid-row: 1; }
  .story-value-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .story-value { padding: 22px 20px; }
  .d-br { display: none; }
}

/* 品牌故事：品牌由來 */
.story-lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--ink); }
.story-origin { padding-bottom: 0; }
.story-origin-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); max-width: 1080px; margin-inline: auto; }
.story-origin-media { margin: 0; border-radius: 9.8% / 13%; overflow: hidden; background: var(--card-grey); }
.story-origin-media img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.story-origin-copy p { font-size: clamp(16px, 1.4vw, 18px); line-height: 2; color: var(--ink-2); }
.story-origin-copy p + p { margin-top: 18px; }
.story-origin-copy b { color: var(--navy); font-weight: 900; }
.story-belief-pre, .story-belief-post, .story-belief-wish { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.9; color: var(--ink-2); margin-top: 0; }
.story-quote { margin: 18px 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.6; font-weight: 900; color: var(--navy); letter-spacing: .03em; }
.story-belief-post { margin-top: 8px; font-weight: 700; color: var(--ink); }
.story-block .story-belief-wish { margin-top: 10px; }
@media (max-width: 760px) {
  .story-origin-inner { grid-template-columns: 1fr; }
  .story-origin-copy { text-align: center; }
}

/* 品牌故事開場：不放插圖，文字置中 */
.story-intro { grid-template-columns: 1fr; text-align: center; }
.story-belief .story-block { background: none; border-radius: 0; padding-block: 0; }

/* 套組規格：「短袖」改用 T 恤線條 icon（品牌藍） */
.ico-tee { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -.28em; margin: 0 .12em; background: var(--navy); -webkit-mask: url(assets/icons/tee.svg) center / contain no-repeat; mask: url(assets/icons/tee.svg) center / contain no-repeat; }
.pack-spec .pack-spec-line { display: block; margin-top: 6px; }

/* =========================================================
   顧客好評 reviews.html
   ========================================================= */
.reviews { padding-top: clamp(32px, 4vw, 56px); }
.review-grid { columns: 3 300px; column-gap: 20px; max-width: 1134px; margin-inline: auto; }
.review { break-inside: avoid; margin-bottom: 20px; background: var(--beige); border-radius: var(--radius-lg); padding: 28px 26px 24px; }
.review-text { position: relative; font-size: 15.5px; line-height: 1.9; color: var(--ink); }
.review-text::before { content: "“"; display: block; font-family: var(--font-en); font-size: 48px; line-height: .8; color: var(--lime-600); margin-bottom: 4px; }
.review-photo { display: block; width: 100%; height: auto; border-radius: 16px; margin-top: 16px; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.review-meta b { color: var(--navy); font-weight: 900; }
.review-meta span { font-size: 12.5px; background: #fff; border-radius: 99px; padding: 2px 10px; }
@media (max-width: 560px) { .review { padding: 22px 20px 20px; margin-bottom: 14px; } }

/* 顧客好評：LINE 對話泡泡 */
.review-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--lime); border-radius: 99px; padding: 3px 12px; }
.chat { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.65; color: var(--ink); word-break: break-word; }
.chat-msg.from-client { align-self: flex-start; background: #fff; border-top-left-radius: 6px; }
.chat-msg.from-me { align-self: flex-end; background: var(--lime); border-top-right-radius: 6px; }
.review-meta span { white-space: nowrap; }

/* 顧客好評：真實 LINE 截圖 */
.review-shots { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.review-shots img { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }

/* 顧客好評：單張卡片輪播 */
.review-grid:has(.review-carousel) { columns: auto; max-width: 520px; }
.review-carousel { margin-bottom: 0; }
.review-slider .gp-slides { aspect-ratio: 804 / 896; height: auto; background: #000; border-radius: 16px; align-items: center; }
.review-slider .gp-slides img { width: 100%; height: 100%; object-fit: contain; }
.review-carousel + .gp-dots, .review-carousel .gp-dots { margin-top: 14px; }
.review-carousel .review-meta { justify-content: center; }

/* 輪播左右箭頭 */
.gp-arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -6px rgba(28,34,46,.45); cursor: pointer; z-index: 2; transition: transform .25s var(--ease), background-color .25s; }
.gp-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-top: 2.5px solid var(--navy); border-left: 2.5px solid var(--navy); }
.gp-arrow.gp-prev { left: -14px; }
.gp-arrow.gp-next { right: -14px; }
.gp-arrow.gp-prev::before { transform: translateX(2px) rotate(-45deg); }
.gp-arrow.gp-next::before { transform: translateX(-2px) rotate(135deg); }
.gp-arrow:hover { background: var(--lime); transform: scale(1.06); }
@media (max-width: 560px) { .gp-arrow { width: 34px; height: 34px; margin-top: -17px; } .gp-arrow.gp-prev { left: -10px; } .gp-arrow.gp-next { right: -10px; } }

/* 顧客好評：實拍照片 */
.review-photos-sec { padding-top: clamp(24px, 3vw, 40px); }
.review-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1134px; margin-inline: auto; align-items: center; }
.review-photo { margin: 0; }
.review-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (max-width: 760px) { .review-photos { grid-template-columns: 1fr; gap: 14px; } .review-photo img { border-radius: 20px; } }

/* 手機：試算區與所有按鈕快速連點不觸發雙擊放大（保留雙指縮放） */
.calc, .calc *, button, .btn, .stepper button { touch-action: manipulation; }

/* ---------- 手機／平板：右側浮動分頁按鈕（位於 TOP 鍵上方） ---------- */
.float-nav { display: none; }
@media (max-width: 960px) {
  .float-nav { position: fixed; right: 20px; bottom: 74px; z-index: 89; display: flex; flex-direction: column; gap: 8px; }
  .float-nav a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 6px 16px -6px rgba(28, 34, 46, .45); border: 1.5px solid var(--navy); transition: transform .25s var(--ease), background-color .25s; }
  .float-nav a.is-active { background: var(--lime); border-color: var(--lime); }
  .float-nav a:active { transform: scale(.94); }
  body:has(.mobile-menu:not([hidden])) .float-nav { display: none; }
}
.review-photos { align-items: start; }
.qa-body .qa-gap { display: block; height: .7em; }

/* 手機：常見問題縮短高度（Q 編號與問題同一行、間距收緊） */
@media (max-width: 560px) {
  #faq.section { padding-block: 48px; }
  #faq .faq-inner { gap: 12px; }
  .qa summary { grid-template-columns: auto minmax(0, 1fr) 26px; grid-template-areas: "no text icon"; column-gap: 10px; padding: 14px 0; }
  .q-no { font-size: 17px; line-height: 1.4; align-self: start; }
  .q-text { margin-top: 0; font-size: 15px; line-height: 1.5; }
  .q-icon { width: 26px; height: 26px; }
  .q-icon::before, .q-icon::after { left: 7px; right: 7px; top: 12px; }
  .qa-body p { padding-bottom: 16px; line-height: 1.75; }
}

/* 品牌故事：完整長文 */
.story-article { max-width: 680px; margin-inline: auto; text-align: center; }
.story-article p { font-size: clamp(16px, 1.4vw, 18px); line-height: 2; color: var(--ink-2); }
.story-article p + p { margin-top: 18px; }
.story-article b { color: var(--navy); font-weight: 900; }
.story-article .story-origin-media { max-width: 560px; margin: clamp(28px, 4vw, 44px) auto; }
.story-article .story-article-quote { margin-top: 28px; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.7; font-weight: 900; color: var(--navy); }
.story-block .story-belief-wish + .story-belief-wish { margin-top: 14px; }
.story-sign { margin-top: 28px !important; font-weight: 900; color: var(--navy) !important; }

/* 品牌故事：合併段落後，長段落改靠左較好讀 */
.story-article > .reveal > p:not(.story-article-quote) { text-align: justify; }
.story-article p + p { margin-top: 22px; }

/* 插畫牆改為 8 張：手機版不再讓最後一張橫跨整列 */
@media (max-width: 960px) {
  .family-grid .f-card:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .family-grid .f-card.photo:last-child img { object-fit: cover; }
}

/* 插畫牆 9 張：手機版最後一張跟其他張一樣大（不橫跨整列） */

/* 試算表：急件費列未勾選時隱藏 */
.calc-sum > div[hidden] { display: none; }

/* 手機版套組卡片高度 −20px：上下兩張疊卡各縮 10px（整排卡片跟著等高變矮） */
@media (max-width: 560px) {
  .pack-grid .pack-stack .pack { padding-top: 16px; padding-bottom: 16px; }
}
