/* Soft Hour 美學工作室｜概念示範 · 美業
   色票與字型角色見 DESIGN-SPEC.md */
:root {
  --bg: #FFFBFA;        /* 棉白：主底（化妝棉、白毛巾） */
  --bg-2: #F8E5E9;      /* 櫻花粉：加價段（淡粉凝膠） */
  --bg-alt: #FCF1F2;    /* 粉霧白：頁尾 */
  --paper: #FFFFFF;     /* 價目摺頁的紙 */
  --band: #3A2B25;      /* 可可睫：整幅深色帶 */
  --band-ink: #F6EDEA;
  --ink: #2E2621;       /* 文字 */
  --muted: #5F544D;
  --line: #EDCCD4;      /* 粉色細線 */
  --line-paper: #F0E4E6;
  --accent: #9A5062;    /* 乾燥玫瑰：只給主按鈕與「省多少」 */
  --accent-ink: #FFFFFF;
  --sel: #3A2B25;       /* 可可睫：選中整格 */
  --mist: #F4D9DF;      /* 淡粉：順序條美甲格、手機頁籤底 */
  --f-display: 'Kaisei Decol', 'Noto Serif TC', serif;
  --f-mark: 'Pinyon Script', cursive;
  --f-num: 'Josefin Sans', 'Noto Sans TC', sans-serif;
  --f-body: 'Noto Sans TC', sans-serif;
  --radius: 6px;
  --pill: 999px;
  --pad-x: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num { font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 頁首 ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1280px; margin: 0 auto; height: 60px; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; }
.mark { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.mark-en { font: 400 30px/1 var(--f-mark); }
.mark-sub { font: 400 11px/1 var(--f-num); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; gap: 28px; font-size: 15px; }
.menu a { text-decoration: none; padding: 10px 0; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- 按鈕 ---------- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--pill); background: var(--accent); color: var(--accent-ink); font: 500 16px/1 var(--f-body); letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: transform .12s, filter .12s; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary[aria-disabled="true"] { background: #E8D6DA; color: #7E6A6F; cursor: not-allowed; }
.link, .link-btn { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.why { min-height: 1.6em; font-size: 14px; color: #8A3F52; margin-top: 8px; }
.why:empty { visibility: hidden; }

/* ---------- 首屏：價目摺頁 ---------- */
.hero { padding: 28px var(--pad-x) 36px; }
.hero-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; min-height: calc(100svh - 60px - 64px); }
.hero-mark { font: 400 76px/1 var(--f-mark); margin: 0 0 14px -4px; color: var(--band); }
.h-display { font: 700 31px/1.42 var(--f-display); letter-spacing: .02em; }
.h-display .nw { display: inline-block; }
.hero-lead { margin-top: 14px; color: var(--muted); font-size: 15px; }
.hero-next { margin-top: 14px; font-size: 14px; }
.hero-next b { font-weight: 600; font-size: 15px; }
.visit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.visit-k { font-size: 13px; color: var(--muted); }
.visit-items { font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.5; min-height: 1.5em; }
.visit-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 12px; font-size: 15px; }
.price-big { font-size: 30px; font-weight: 600; letter-spacing: 0; }
.visit .btn-primary { width: 100%; }
.visit .link { justify-self: start; }

.tabs { display: none; }
.card { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 #fff inset, 0 18px 40px -22px rgba(58, 43, 37, .45); position: relative; }
.leaf { position: relative; padding: 0 0 12px; transform-origin: left center; backface-visibility: hidden; background: var(--paper); }
.leaf:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.leaf:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.leaf + .leaf { box-shadow: inset 1px 0 0 var(--line-paper), inset 10px 0 14px -12px rgba(58, 43, 37, .28); }
.leaf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58, 43, 37, .35), rgba(58, 43, 37, 0) 70%); opacity: 0; pointer-events: none; border-radius: inherit; }
.leaf-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin: 10px 10px 0; border-radius: 3px; }
.leaf-img img { width: 100%; height: 100%; object-fit: cover; }
.leaf-h { font: 500 20px/1.3 var(--f-display); padding: 14px 14px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.leaf-en { font: 400 11px/1 var(--f-num); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.leaf-note { font-size: 12.5px; color: var(--muted); padding: 2px 14px 8px; min-height: 2.4em; }
.items { display: grid; padding: 0 6px; }
.it { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "m p"; align-items: center; column-gap: 8px; text-align: left; min-height: 52px; padding: 6px 10px; background: none; border: 0; border-top: 1px solid var(--line-paper); cursor: pointer; border-radius: 4px; transition: background .15s, color .15s; }
.items li:first-child .it { border-top-color: transparent; }
.it-n { grid-area: n; font: 500 15px/1.35 var(--f-display); }
.it-m { grid-area: m; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.it-p { grid-area: p; font-size: 17px; font-weight: 600; }
.it:hover { background: #FCEFF2; }
.it[aria-pressed="true"] { background: var(--sel); color: var(--band-ink); border-top-color: transparent; }
.it[aria-pressed="true"] + * , .items li:has(.it[aria-pressed="true"]) + li .it { border-top-color: transparent; }
.it[aria-pressed="true"] .it-m { color: #CFC6B4; }
.it[aria-pressed="true"] .it-n::before { content: "✓ "; font-family: var(--f-body); font-size: 13px; }
.it[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.it:active { transform: scale(.985); }
.menu-wrap .why { padding-left: 4px; }

/* 招牌動態：價目摺頁攤開一次（只在 JS 加上 .anim 時播） */
@keyframes unfold { 0% { transform: perspective(1500px) rotateY(-92deg); } 100% { transform: perspective(1500px) rotateY(0); } }
@keyframes crease { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rise { 0% { transform: translateY(10px); opacity: .0; } 100% { transform: none; opacity: 1; } }
html.anim .leaf { animation: unfold .85s cubic-bezier(.22, .8, .25, 1) both; animation-delay: calc(.2s + var(--i) * .22s); }
html.anim .leaf:first-child { animation-name: rise; animation-duration: .5s; }
html.anim .leaf::after { animation: crease .85s ease-out both; animation-delay: calc(.2s + var(--i) * .22s); }
html.anim .leaf:first-child::after { animation: none; }
.leaf.flip { animation: unfold .6s cubic-bezier(.22, .8, .25, 1) both; }
.leaf.flip::after { animation: crease .6s ease-out both; }
@media (prefers-reduced-motion: reduce) { html.anim .leaf, html.anim .leaf::after, .leaf.flip, .leaf.flip::after { animation: none !important; } }

/* ---------- 加價項目與估價單 ---------- */
.price { background: var(--bg-2); padding: 80px var(--pad-x); }
.price-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.h-section { font: 700 30px/1.3 var(--f-display); letter-spacing: .03em; }
.sec-lead { margin-top: 10px; color: var(--muted); max-width: 36em; }
.addon-group { margin-top: 30px; }
.ag-h { font: 500 19px/1.3 var(--f-display); display: flex; align-items: baseline; gap: 12px; }
.ag-en { font: 400 11px/1 var(--f-num); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border-radius: var(--pill); border: 1px solid #C9A0AA; background: transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip-n { font-size: 15px; }
.chip-v { font-size: 14px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--band-ink); }
.chip[aria-pressed="true"] .chip-v { color: #CFC6B4; }
.chip[aria-pressed="true"] .chip-n::before { content: "✓ "; font-size: 13px; }
.chip[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.h-sub { font: 500 21px/1.3 var(--f-display); margin-top: 40px; }
.combo-rules { margin-top: 10px; display: grid; gap: 6px; }
.combo-rules li { padding-left: 18px; position: relative; max-width: 40em; }
.combo-rules li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.ticket { position: sticky; top: 84px; background: var(--paper); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: 0 16px 36px -24px rgba(58, 43, 37, .5); }
.ticket-h { font: 500 20px/1.3 var(--f-display); padding-bottom: 12px; border-bottom: 1px dashed #EBCDD4; }
.t-lines { display: grid; gap: 0; padding: 8px 0; min-height: 60px; }
.t-lines li { display: grid; grid-template-columns: 1fr auto 62px; gap: 10px; padding: 7px 0; font-size: 14.5px; align-items: baseline; }
.t-lines li > :nth-child(2) { color: var(--muted); font-size: 13px; }
.t-lines li > :last-child { text-align: right; font-weight: 600; }
.t-lines li.t-add { padding-top: 0; font-size: 13.5px; color: var(--muted); }
.t-lines li.t-add > :first-child { padding-left: 1em; }
.t-lines .t-empty { display: block; color: var(--muted); }
.sync { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed #EBCDD4; font-size: 14.5px; }
.sync[hidden] { display: none; }
.sync-save { color: var(--accent); font-weight: 600; font-size: 14px; }
.switch { width: 46px; height: 28px; border-radius: var(--pill); border: 0; background: #DDBFC6; position: relative; cursor: pointer; padding: 0; }
.switch::before { content: ""; position: absolute; inset: -8px; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .18s; }
.switch[aria-checked="true"] { background: var(--sel); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(18px); }
.t-sum { border-top: 1px dashed #EBCDD4; padding-top: 12px; display: grid; gap: 4px; }
.t-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-sum dt { color: var(--muted); font-size: 14px; }
.t-total dd { font-size: 30px; }
.t-dep[hidden] { display: none; }
.t-dep dd { font-size: 14px; }
.t-note { font-size: 13px; color: var(--muted); margin: 10px 0 16px; }
.ticket .btn-primary { width: 100%; }

/* ---------- 預約（整幅深色帶） ---------- */
.book { background: var(--band); color: var(--band-ink); padding: 80px var(--pad-x); }
.book-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start; }
.book .sec-lead { color: #CDC4B2; }
.plan { margin-top: 26px; padding: 20px; border: 1px solid #5A4A41; border-radius: var(--radius); }
.plan-k { font-size: 13px; color: #CDC4B2; margin-bottom: 10px; }
.ribbon { display: flex; gap: 3px; min-height: 46px; }
.ribbon li { flex: var(--w) 1 0; min-width: 0; border-radius: 3px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; font-size: 12.5px; line-height: 1.3; color: var(--ink); overflow: hidden; white-space: nowrap; }
.ribbon li[data-cat="facial"] { background: #EFE3DA; }
.ribbon li[data-cat="lash"] { background: #FFFBFA; }
.ribbon li[data-cat="nail"] { background: var(--mist); }
.ribbon li[data-cat="wax"] { background: #E2B9C3; }
.ribbon li[data-cat="sync"] { background: linear-gradient(180deg, #FFFBFA 0 50%, var(--mist) 50% 100%); }
.ribbon li .num { font-size: 12px; opacity: .8; }
.plan-time { margin-top: 12px; font-size: 15px; min-height: 1.6em; }
.plan-sum { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 14px; color: #CDC4B2; }
.plan-sum .num { color: var(--band-ink); font-size: 17px; font-weight: 600; }
.link-light { color: var(--band-ink); }
.reply { margin-top: 16px; font-size: 14px; color: #CDC4B2; }

.panel { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 26px 30px 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.steps li { padding-top: 8px; border-top: 3px solid var(--line-paper); }
.steps li.is-on { border-top-color: var(--sel); color: var(--ink); font-weight: 500; }
.steps li.is-done { border-top-color: #8C7F70; }
.layer[hidden] { display: none; }
.layer-h { font: 500 17px/1.3 var(--f-display); margin: 4px 0 10px; }
.layer-h + .days, .layer-h + .times { margin-bottom: 18px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { min-height: 58px; border-radius: var(--radius); border: 1px solid var(--line-paper); background: #fff; display: grid; place-content: center; gap: 2px; cursor: pointer; line-height: 1.1; }
.day-w { font-size: 13px; color: var(--muted); }
.day-d { font-size: 16px; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--band-ink); }
.day[aria-pressed="true"] .day-w { color: #CFC6B4; }
.day[aria-disabled="true"] { opacity: .4; cursor: not-allowed; background: transparent; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; min-height: 104px; }
.times-nojs { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.time { min-height: 46px; border-radius: var(--radius); border: 1px solid var(--line-paper); background: #fff; font: 600 15px/1 var(--f-num); cursor: pointer; }
.time[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--band-ink); }
.time[aria-disabled="true"] { background: transparent; color: #A08F94; border-style: dashed; cursor: not-allowed; font-weight: 400; }
.layer-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.layer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.back { min-height: 44px; padding: 0 14px 0 8px; border-radius: var(--pill); border: 1px solid var(--line-paper); background: #fff; cursor: pointer; font-size: 14px; }
.picked { font-size: 15px; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.f { display: grid; gap: 4px; font-size: 14px; }
.f > span { color: var(--muted); }
.f input { min-height: 46px; border: 1px solid #E2C6CD; border-radius: var(--radius); padding: 0 12px; font: 16px var(--f-body); background: #fff; color: var(--ink); }
.f input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.notice { margin-top: 20px; background: #FBEDF0; border-radius: var(--radius); padding: 16px 18px; }
.notice-h { font: 500 17px/1.3 var(--f-display); margin-bottom: 8px; }
.notice-list { display: grid; gap: 6px; }
.notice-list > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; font-size: 14px; line-height: 1.6; }
.notice-list dt { font-weight: 500; }
.agree { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.agree input { width: 22px; height: 22px; accent-color: var(--sel); }
.done-h { font: 700 24px/1.3 var(--f-display); }
.done-list { margin-top: 14px; display: grid; gap: 6px; }
.done-list > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; font-size: 15px; }
.done-list dt { color: var(--muted); }
.done-note { margin-top: 14px; font-size: 14.5px; }
.demo-note { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- 頁尾 ---------- */
.foot { background: var(--bg-alt); padding: 48px var(--pad-x) 110px; }
.foot-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 8px 48px; align-items: center; }
.foot-mark { font: 400 54px/1 var(--f-mark); grid-row: span 3; }
.foot-info { font-size: 14.5px; display: grid; gap: 2px; }
.foot-info a { text-decoration: none; }
.foot-sync, .foot-tag { font-size: 13px; color: var(--muted); }

/* ---------- 手機底部固定列 ---------- */
.dock { display: none; }

/* ============ 手機與平板直拿（< 900px） ============ */
@media (max-width: 899px) {
  .menu { display: none; }
  .mark-en { font-size: 28px; }
  .nav-in { height: 56px; }
  html { scroll-padding-top: 64px; }
  .hero { padding: 16px var(--pad-x) 24px; }
  .hero-in { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .hero-mark, .visit, .hero-lead { display: none; }
  .h-display { font-size: 25px; line-height: 1.45; }
  .hero-next { margin-top: 6px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 4px; background: var(--mist); padding: 4px; border-radius: var(--pill); margin-bottom: 10px; }
  .tab { min-height: 44px; border: 0; border-radius: var(--pill); background: transparent; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
  .tab[aria-selected="true"] { background: var(--paper); font-weight: 600; box-shadow: 0 2px 6px -3px rgba(58,43,37,.4); }
  .tab-n { font-size: 12px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sel); color: var(--band-ink); display: inline-grid; place-items: center; padding: 0 5px; line-height: 1; }
  .tab-n:empty { display: none; }
  .card { grid-template-columns: 1fr; }
  .leaf { display: none; border-radius: var(--radius) !important; box-shadow: none !important; }
  .leaf.is-on { display: block; }
  .leaf-img { aspect-ratio: 5 / 2; }
  .leaf-h { font-size: 19px; padding-top: 10px; }
  .leaf-note { min-height: 0; padding-bottom: 4px; }
  .it { min-height: 50px; grid-template-columns: 1fr auto auto; grid-template-areas: "n m p"; column-gap: 14px; }
  .it-m { font-size: 13px; }
  html.anim .leaf { animation: none; }
  html.anim .leaf.is-on { animation: unfold .85s cubic-bezier(.22, .8, .25, 1) .25s both; }
  html.anim .leaf.is-on::after { animation: crease .85s ease-out .25s both; }

  .price { padding: 52px var(--pad-x); }
  .price-in { grid-template-columns: 1fr; gap: 32px; }
  .h-section { font-size: 25px; }
  .ticket { position: static; }
  .book { padding: 52px var(--pad-x); }
  .book-in { grid-template-columns: 1fr; gap: 24px; }
  .panel { padding: 20px 16px 22px; }
  .days { gap: 4px; }
  .day { min-height: 56px; }
  .day-d { font-size: 14px; }
  .fields { grid-template-columns: 1fr; }
  .notice-list > div { grid-template-columns: 1fr; gap: 0; }
  .layer-foot .btn-primary { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-mark { grid-row: auto; font-size: 44px; }

  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--pad-x) max(10px, env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -10px 24px -16px rgba(58,43,37,.5); transition: transform .25s; }
  .dock.is-off { transform: translateY(110%); }
  .dock-sum { display: grid; line-height: 1.25; font-size: 13px; color: var(--muted); }
  .dock-sum #dock-price { font-size: 21px; font-weight: 600; color: var(--ink); }
  .dock .btn-primary { min-height: 48px; padding: 0 24px; }
}

/* 手機橫拿（矮螢幕）：左文右摺頁，圖收起 */
@media (max-width: 899px) and (max-height: 500px) and (orientation: landscape) {
  .hero-in { grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
  .h-display { font-size: 21px; }
  .hero-lead { display: block; font-size: 13.5px; margin-top: 8px; }
  .leaf-img { display: none; }
  .leaf-note { display: none; }
  .it { min-height: 44px; }
  .tabs { margin-bottom: 6px; }
  /* 總價與主按鈕放回左欄，底部固定列自動收起，不再蓋住摺頁最後一項 */
  .visit { display: grid; margin-top: 12px; padding-top: 10px; gap: 2px; }
  .visit-k, .visit .link { display: none; }
  .visit-items { font-size: 15px; }
  .visit-sum { margin: 0 0 8px; font-size: 14px; }
  .price-big { font-size: 22px; }
  .visit .btn-primary { min-height: 44px; }
  .hero { padding-bottom: 16px; }
  .dock { padding-top: 6px; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  .dock .btn-primary { min-height: 44px; }
}

/* 組合規則＋工作室照片 */
.combo { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: end; margin-top: 8px; }
.combo-img { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
.combo-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .combo { grid-template-columns: 1fr; gap: 16px; } .combo-img { aspect-ratio: 5 / 2; } }
/* 桌機首屏已有大字標，頁首字標捲動後才出現 */
@media (min-width: 900px) { .nav .mark { transition: opacity .3s; } .nav.at-top .mark { opacity: 0; pointer-events: none; } }
