/* Rowan Studio 共用樣式 */
/* 夜色・暖燈：深綠黑底、暖色燈光、薄荷綠重點色 */
:root {
  color-scheme: dark;
  --bg: #0C1311;
  --bg-2: #101A17;
  --surface: #15201C;
  --surface-2: #1B2824;
  --line: #26342F;
  --line-2: #34443E;
  --text: #ECEFE8;
  --muted: #A2AFA8;
  --mint: #6FDDB9;
  --mint-ink: #07231B;
  --mint-dim: rgba(111,221,185,.14);
  --warm: #F0B66B;
  --warm-dim: rgba(240,182,107,.16);
  --white: #FFFFFF;
  --chat: #EEF1EF;
  --paper: #F6F5F1;
  --ink: #1F2A2E;
  --teal: #2BB3A3;
  --teal-ink: #0F7469;
  --display: "Plus Jakarta Sans", "Noto Sans TC", system-ui, sans-serif;
  --body: "Noto Sans TC", "Plus Jakarta Sans", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: var(--mint); }
a:hover { color: var(--text); }
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 72px 8px; }
.eyebrow { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--mint); }
.h2 { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.01em; line-height: 1.25; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark, .btn-teal { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); box-shadow: 0 8px 28px -10px rgba(111,221,185,.6); }
.btn-dark:hover, .btn-teal:hover { color: var(--mint-ink); background: #8BE8C9; box-shadow: 0 10px 34px -8px rgba(111,221,185,.75); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--muted); }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(12,19,17,.78); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta { padding: 10px 20px; font-size: 15px; color: var(--mint-ink); box-shadow: none; }
@media (max-width: 820px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Hero：夜晚店內的吧台場景 */
.scene { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 86% 4%, rgba(240,182,107,.30), transparent 70%),
    radial-gradient(40% 40% at 12% 18%, rgba(111,221,185,.10), transparent 70%),
    radial-gradient(70% 60% at 70% 75%, rgba(240,182,107,.12), transparent 70%),
    linear-gradient(180deg, #0B1210 0%, #0F1B17 55%, #0C1311 100%); }
.scene::before { /* 牆上的層架與光帶 */ content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    linear-gradient(180deg, transparent 0 22%, rgba(240,182,107,.18) 22.3%, transparent 23.2%, transparent 44%, rgba(240,182,107,.12) 44.3%, transparent 45.2%) right / 52% 100% no-repeat; }
.scene::after { /* 木頭吧台 */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background:
    linear-gradient(180deg, rgba(240,182,107,.35), transparent 6px),
    repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 2px, transparent 2px 38px, rgba(255,255,255,.03) 38px 40px, transparent 40px 90px),
    radial-gradient(60% 120% at 70% 0%, rgba(240,182,107,.35), transparent 70%),
    linear-gradient(180deg, #5A3A22 0%, #3B2617 40%, #22160D 100%);
  box-shadow: 0 -1px 0 rgba(255,220,170,.25); }
.lamp { position: absolute; top: -10px; right: 9%; width: 120px; height: 90px; z-index: -1; pointer-events: none; }
.lamp::before { content: ""; position: absolute; left: 58px; top: 0; width: 3px; height: 34px; background: #1A1410; }
.lamp::after { content: ""; position: absolute; left: 10px; top: 32px; width: 100px; height: 50px; border-radius: 100px 100px 6px 6px; background: linear-gradient(180deg, #2A2520, #14110E);
  box-shadow: 0 26px 60px 18px rgba(240,182,107,.38), inset 0 -6px 0 rgba(255,214,150,.85); }
.bokeh { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 64%, rgba(240,182,107,.22) 0 6px, transparent 7px),
    radial-gradient(circle at 26% 58%, rgba(240,182,107,.14) 0 10px, transparent 11px),
    radial-gradient(circle at 8% 40%, rgba(111,221,185,.12) 0 8px, transparent 9px),
    radial-gradient(circle at 44% 70%, rgba(240,182,107,.10) 0 14px, transparent 15px);
  filter: blur(2px); }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 72px 64px; position: relative; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .14em; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero h1 { margin: 0; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.16; font-weight: 900; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--mint); text-shadow: 0 0 40px rgba(111,221,185,.25); }
.hero p { margin: 0; font-size: 18px; color: #C9D2CC; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; }
.perk { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; font-size: 14px; font-weight: 500; color: #D6DDD8; backdrop-filter: blur(4px); }
.perk i { width: 28px; height: 28px; border-radius: 50%; background: var(--mint-dim); color: var(--mint); display: flex; align-items: center; justify-content: center; }
.perk .ic { width: 16px; height: 16px; }

.phone-col { flex: 1 1 300px; display: flex; justify-content: center; align-self: flex-end; perspective: 1200px; padding-bottom: 36px; }
.phone { position: relative; width: 262px; max-width: 100%; height: 510px; background: #0A0F0D; border-radius: 42px; padding: 11px; transform: rotateY(-10deg) rotateX(2deg);
  box-shadow: 0 0 0 1.5px #3A3530, 0 40px 60px -20px rgba(0,0,0,.8), 30px 30px 80px -30px rgba(240,182,107,.35), 0 0 90px -20px rgba(111,221,185,.25); }
.phone::after { /* 手機架 */ content: ""; position: absolute; left: 50%; bottom: -30px; width: 150px; height: 22px; transform: translateX(-50%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4A3221, #24170E); box-shadow: 0 12px 20px -6px rgba(0,0,0,.7); }
.screen { width: 100%; height: 100%; background: var(--white); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.chat-head { padding: 20px 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #EEEDE8; font-weight: 700; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #E7F5F3; color: var(--teal-ink); display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.chat { flex: 1; background: var(--chat); padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 13px; line-height: 1.5; }
.me { align-self: flex-end; background: var(--teal); color: #08241F; padding: 7px 12px; border-radius: 16px 16px 4px 16px; max-width: 75%; font-weight: 500; }
.them { align-self: flex-start; background: var(--white); color: var(--ink); padding: 8px 12px; border-radius: 16px 16px 16px 4px; max-width: 85%; }
.slots { align-self: flex-start; display: flex; gap: 6px; }
.slots span { background: var(--white); border: 1px solid var(--teal); color: var(--teal-ink); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); padding: 2px; }
.menu div { background: var(--paper); height: 58px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.menu div .ic { width: 18px; height: 18px; color: var(--teal-ink); }
.menu div:first-child { background: var(--teal); color: #08241F; }
.menu div:first-child .ic { color: #08241F; }

/* Who */
.who { background: var(--bg-2); border-block: 1px solid rgba(255,255,255,.05); }
.who .wrap { padding-block: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.who p { margin: 0; font-size: 18px; font-weight: 700; flex: 1 1 220px; }
.who-list { flex: 999 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.who-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.who-item i { width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); display: flex; align-items: center; justify-content: center; color: var(--mint); }

/* Services */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.vis { height: 168px; display: flex; align-items: center; justify-content: center; padding: 18px; position: relative;
  background: radial-gradient(70% 90% at 50% 100%, var(--mint-dim), transparent 70%), #121B18; border-bottom: 1px solid var(--line); }
.svc.dark .vis { background: radial-gradient(70% 90% at 50% 100%, var(--warm-dim), transparent 70%), #17140F; }
.svc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.svc h3 { margin: 0; font-size: 19px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { background: var(--warm); color: #2B1A06; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

/* 迷你示意圖（畫面本身維持亮色，像發光的螢幕） */
.m-profile { width: 210px; background: var(--white); color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); }
.m-profile .cover { height: 44px; background: var(--ink); }
.m-profile .body { padding: 0 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.m-profile .av { width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 3px solid var(--white); background: #E7F5F3; color: var(--teal-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.m-profile .name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.m-profile .name .ic { width: 15px; height: 15px; color: var(--teal); }
.m-profile .add { background: var(--teal); color: #08241F; font-size: 12px; font-weight: 700; padding: 5px 18px; border-radius: 999px; }
.m-menu { width: 220px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #070B0A; padding: 4px; border-radius: 14px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7), 0 0 0 1px var(--line-2); }
.m-menu div { background: var(--white); height: 56px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--ink); }
.m-menu div .ic { width: 18px; height: 18px; color: var(--teal-ink); }
.m-menu div.on { background: var(--teal); color: #08241F; }
.m-menu div.on .ic { color: #08241F; }
.m-chat { width: 230px; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; line-height: 1.45; }
.m-chat .me, .m-chat .them { max-width: 88%; }
.m-chat .tag { align-self: flex-start; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--mint); }
.m-chat .tag .ic { width: 13px; height: 13px; }
.svc.dark .m-chat .tag { color: var(--warm); }
.m-cal { width: 220px; background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); display: flex; flex-direction: column; gap: 8px; }
.m-cal .hd { font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; }
.m-cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: 10.5px; text-align: center; font-variant-numeric: tabular-nums; }
.m-cal .days span { padding: 3px 0; border-radius: 6px; color: #55626A; }
.m-cal .days .on { background: var(--teal); color: #08241F; font-weight: 700; }
.m-cal .times { display: flex; gap: 5px; }
.m-cal .times span { flex: 1; text-align: center; font-size: 11px; font-weight: 700; border: 1px solid var(--teal); color: var(--teal-ink); border-radius: 999px; padding: 2px 0; }
.m-cal .times .on { background: var(--teal); color: #08241F; }
.m-web { width: 230px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); }
.m-web .bar { height: 20px; background: var(--ink); display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.m-web .bar i { width: 6px; height: 6px; border-radius: 50%; background: #4A585E; }
.m-web .pg { padding: 12px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.m-web .ln { height: 7px; border-radius: 4px; background: #E3E1DA; }
.m-web .ln.b { height: 11px; background: var(--ink); width: 90%; }
.m-web .ln.t { background: var(--teal); width: 55%; height: 14px; border-radius: 999px; }
.m-web .img { grid-row: span 4; border-radius: 8px; background: #E7F5F3; display: flex; align-items: center; justify-content: center; color: var(--teal-ink); }
.m-web .stack { display: flex; flex-direction: column; gap: 6px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.featured { background: linear-gradient(180deg, rgba(111,221,185,.08), transparent 60%), var(--surface-2); border-color: rgba(111,221,185,.45); box-shadow: 0 0 60px -24px rgba(111,221,185,.45); }
.plan .flag { position: absolute; top: -13px; left: 26px; background: var(--mint); color: var(--mint-ink); font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-head i { width: 44px; height: 44px; border-radius: 14px; background: var(--mint-dim); color: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.plan.featured .plan-head i { background: var(--mint); color: var(--mint-ink); }
.plan h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.plan .sub { margin: 0; color: var(--muted); font-size: 14px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.price .cur { font-size: 17px; font-weight: 700; color: var(--muted); }
.price .amt { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.unit { font-size: 15px; color: var(--muted); }
.feats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: 15px; color: #D6DDD8; }
.feats li { display: flex; align-items: center; gap: 8px; }
.feats .ic { width: 18px; height: 18px; color: var(--mint); }
.plan .btn { font-size: 15px; padding: 11px; }
.plan.featured .btn { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }

.care { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px 26px; display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.care h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px; flex: 1 1 160px; }
.care h3 .ic { color: var(--mint); }
.care-item { flex: 1 1 240px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.care-item b { font-size: 16px; }
.care-item b span { font-family: var(--display); font-size: 20px; color: var(--warm); }
.care-item small { color: var(--muted); font-size: 13px; }
.promises { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.promise { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #D6DDD8; }
.promise i { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.promise .ic { width: 20px; height: 20px; }
.ala { margin-top: 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.ala summary { padding: 16px 26px; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.ala summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.plus { font-size: 24px; font-weight: 400; transition: transform .2s; line-height: 1; color: var(--mint); }
details[open] > summary .plus { transform: rotate(45deg); }
.ala-body { padding: 0 26px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 48px; }
.ala-group h4 { margin: 12px 0 4px; font-size: 13px; letter-spacing: .14em; color: var(--mint); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.terms { grid-column: 1 / -1; margin: 12px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 4px 40px; font-size: 14px; color: var(--muted); }
.terms li::before { content: "・"; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; position: relative; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; }
.step i { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-2); color: var(--text); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.step i .ic { width: 32px; height: 32px; }
.step:last-child i { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); box-shadow: 0 0 40px -6px rgba(111,221,185,.6); }
.step .n { position: absolute; top: -4px; right: calc(50% - 46px); z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--warm); color: #2B1A06; font-family: var(--display); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 880px) { .steps::before { content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; border-top: 1.5px dashed var(--line-2); } }

/* 作品集 */
.gallery { display: grid; grid-template-columns: 2.3fr 1fr 1fr; gap: 16px; }
.shot-item { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shot-item.big { grid-row: span 2; }
.shot-item.big .zoom { flex: 1; }
.shot-item.big .zoom img { height: 100%; }
.zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); cursor: zoom-in; box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
.zoom img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1349; object-fit: cover; transition: transform .35s; }
.zoom:hover img { transform: scale(1.03); }
.shot-item figcaption { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.shot-item figcaption span { color: var(--muted); font-size: 13px; }
.shot-item.big figcaption { font-size: 16px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shot-item.big { grid-column: 1 / -1; grid-row: auto; }
  .shot-item.big .zoom img { height: auto; }
  .zoom { border-radius: 12px; }
}
dialog#viewer { padding: 0; border: 0; border-radius: 16px; max-width: min(96vw, 1200px); background: transparent; }
dialog#viewer::backdrop { background: rgba(5,9,8,.88); }
dialog#viewer img { display: block; width: 100%; height: auto; border-radius: 16px; }
dialog#viewer .close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(12,19,17,.85); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 48px; align-items: start; }
.faq details { border-top: 1px solid var(--line); padding: 15px 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center;
  background: radial-gradient(60% 80% at 0% 0%, rgba(240,182,107,.20), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(111,221,185,.12), transparent 70%), var(--surface-2); }
.contact h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; line-height: 1.25; }
.contact .intro p { margin: 0 0 22px; color: #C9D2CC; font-size: 16px; }
.contact .intro .btn { width: 100%; max-width: 340px; }
.line-id { margin-top: 12px; font-size: 15px; color: var(--muted); }
.line-id b { font-family: var(--display); color: var(--text); letter-spacing: .02em; }
form { background: rgba(12,19,17,.7); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 700; color: #D6DDD8; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--text); background: #0E1614; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 10px 12px; width: 100%; }
input::placeholder, textarea::placeholder { color: #6E7B75; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(111,221,185,.2); }
form .btn { width: 100%; }
.form-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 28px; font-size: 13px; color: var(--muted); }
footer .f-brand { display: flex; align-items: center; gap: 10px; }

@media (max-width: 560px) {
  .section { padding-block: 56px 4px; }
  .hero { padding-block: 44px 48px; gap: 36px; }
  .lamp { right: -10px; transform: scale(.8); }
  .plan { padding: 24px 22px; }
  .grid { gap: 12px; }
  .svc { flex-direction: row; align-items: stretch; }
  .vis { width: 44%; flex: none; height: auto; min-height: 128px; padding: 0; overflow: hidden; border-bottom: 0; border-right: 1px solid var(--line); }
  .vis > * { transform: scale(.6); flex: none; }
  .svc-body { padding: 16px; justify-content: center; }
  .svc h3 { font-size: 17px; }
  .svc p { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}


/* 層次：區塊色帶、雙欄故事、方案切換 */
.band { position: relative; }
.band-deep { background: linear-gradient(180deg, #0E1815, #0B1310); border-block: 1px solid rgba(255,255,255,.04); }
.band-solution { background: radial-gradient(60% 70% at 0% 0%, rgba(111,221,185,.10), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(240,182,107,.07), transparent 70%), linear-gradient(180deg, #102219, #0C1913); border-block: 1px solid rgba(111,221,185,.10); }
.band > .wrap.section { padding-block: 80px 80px; }
.h2 em, .story h3 em { font-style: normal; color: var(--mint); }
.lead { margin: -12px 0 0; color: var(--muted); font-size: 16px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 8px; }
.sec-head .h2 { margin-bottom: 20px; }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 72px; padding-block: 88px; }
.story-side { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.story-side .h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); }
.story-count { margin: 18px 0 0; font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--muted); }
.who-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.who-mini span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 8px; }
.who-mini .ic { width: 16px; height: 16px; color: var(--mint); }
.story-list { display: flex; flex-direction: column; }
.story-item { padding: 40px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.story-item:first-child { padding-top: 0; border-top: 0; }
.story-no { margin: 0; font-family: var(--display); font-size: 13px; letter-spacing: .14em; color: var(--mint); }
.story-item h3 { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.story-item p:last-child { margin: 0; color: var(--muted); font-size: 15px; max-width: 34em; }
.story-card { background: linear-gradient(160deg, #18302A, #12221E); border: 1px solid rgba(111,221,185,.16); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 420px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); }
.story-card small { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.story-card .q { background: var(--chat); color: var(--ink); font-size: 14px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; }
.story-card .note { font-size: 12px; color: var(--warm); }
.story-card .todo { font-size: 14px; color: #D6DDD8; display: flex; align-items: center; gap: 8px; }
.story-card .todo::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); }
.empty-menu { display: grid; grid-template-columns: repeat(3, 44px); gap: 4px; padding: 4px; background: #070B0A; border-radius: 10px; }
.empty-menu i { height: 30px; border-radius: 6px; background: #22302C; }

.mode { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-bottom: 20px; }
.mode button { font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: transparent; border: 0; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.mode button[aria-selected="true"] { background: var(--mint); color: var(--mint-ink); }
.mode-note { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.plan .note { margin: -8px 0 0; font-size: 13px; color: var(--warm); }

.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; }
.pr { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.pr .ic { width: 28px; height: 28px; color: var(--mint); margin-bottom: 6px; }
.pr h3 { margin: 0; font-size: 18px; }
.pr p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; padding-block: 64px; }
  .story-side { position: static; }
  .story-item { padding: 32px 0; }
  .band > .wrap.section { padding-block: 60px; }
}

/* 滾動浮現動畫 */
.reveal-on .rv { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
.reveal-on .rv.in { opacity: 1; transform: none; }
.reveal-on .hero-copy > *, .reveal-on .phone-col { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.reveal-on .hero-copy > :nth-child(2) { animation-delay: .1s; }
.reveal-on .hero-copy > :nth-child(3) { animation-delay: .2s; }
.reveal-on .hero-copy > :nth-child(4) { animation-delay: .3s; }
.reveal-on .hero-copy > :nth-child(5) { animation-delay: .4s; }
.reveal-on .phone-col { animation-delay: .25s; animation-name: pop; }
.reveal-on .lamp::after { animation: glow 6s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes glow { 50% { box-shadow: 0 26px 70px 22px rgba(240,182,107,.30), inset 0 -6px 0 rgba(255,214,150,.75); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .plus, .svc, .zoom img { transition: none; }
  .reveal-on .rv { opacity: 1; transform: none; transition: none; }
  .reveal-on .hero-copy > *, .reveal-on .phone-col, .reveal-on .lamp::after { animation: none; }
}

/* ===== 多頁：主控台選擇卡、分頁切換、換頁滑動 ===== */
.nav-links a[aria-current="page"] { color: var(--text); }
.chooser { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 26px; text-decoration: none; color: var(--text); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.04), transparent 50%), var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s; }
.choice::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, var(--glow, rgba(111,221,185,.22)), transparent 65%); transition: transform .4s; }
.choice:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(111,221,185,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.choice:hover::before { transform: scale(1.25); }
.choice.warm { --glow: rgba(240,182,107,.24); }
.choice-top { display: flex; align-items: center; justify-content: space-between; }
.choice-top i { width: 52px; height: 52px; border-radius: 16px; background: var(--mint-dim); color: var(--mint); display: flex; align-items: center; justify-content: center; }
.choice.warm .choice-top i { background: var(--warm-dim); color: var(--warm); }
.choice-top i .ic { width: 26px; height: 26px; }
.choice-tag { font-family: var(--display); font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.choice h3 { margin: 6px 0 0; font-size: 24px; }
.choice p { margin: 0; color: var(--muted); font-size: 15px; }
.choice ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #D6DDD8; }
.choice li { display: flex; align-items: center; gap: 8px; }
.choice li .ic { width: 16px; height: 16px; color: var(--mint); }
.choice-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.choice-foot b { font-family: var(--display); font-size: 26px; }
.choice-foot b small { font-size: 14px; color: var(--muted); font-family: var(--body); font-weight: 500; }
.choice-foot span { font-weight: 700; color: var(--mint); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.choice.warm .choice-foot span { color: var(--warm); }
.choice-foot .ic { width: 18px; height: 18px; transition: transform .25s; }
.choice:hover .choice-foot .ic { transform: translateX(4px); }
.chooser-hint { margin: 20px 0 0; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chooser-hint b { color: var(--text); font-weight: 700; }

.page-hero { padding-block: 56px 48px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.18; font-weight: 900; letter-spacing: -.02em; }
.page-hero h1 em { font-style: normal; color: var(--mint); }
.page-hero p { margin: 0; font-size: 17px; color: #C9D2CC; max-width: 36em; }
.scene.short::after { height: 56px; }
.switcher { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(12,19,17,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); align-self: flex-start; }
.switcher a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 9px 18px; border-radius: 999px; transition: background .2s, color .2s; }
.switcher a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.switcher a[aria-current="page"] { background: var(--mint); color: var(--mint-ink); }
.back { font-size: 14px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.back .ic { width: 16px; height: 16px; transform: rotate(180deg); }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 開店套餐 */
.kit-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: center; }
.site-shot { margin: 0; position: relative; }
.site-shot .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.95), 0 0 80px -30px rgba(240,182,107,.25); background: #fff; }
.site-shot .bar { height: 26px; background: #E8ECEA; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.site-shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: #B9C2BE; }
.site-shot img { display: block; width: 100%; height: auto; }
.site-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.site-shot figcaption b { color: var(--text); margin-right: 8px; }
.mini-phone { position: absolute; right: -18px; bottom: -28px; width: 120px; height: 236px; border-radius: 22px; background: #0A0F0D; padding: 6px; box-shadow: 0 0 0 1.5px #3A3530, 0 30px 50px -20px rgba(0,0,0,.9); }
.mini-phone .scr { width: 100%; height: 100%; border-radius: 17px; background: var(--chat); display: flex; flex-direction: column; overflow: hidden; }
.mini-phone .scr .top { flex: 1; padding: 10px 7px; display: flex; flex-direction: column; gap: 5px; }
.mini-phone .scr .top span { align-self: flex-start; background: #fff; color: var(--ink); font-size: 8px; padding: 3px 6px; border-radius: 8px 8px 8px 2px; }
.mini-phone .scr .top span.me { align-self: flex-end; background: var(--teal); color: #08241F; border-radius: 8px 8px 2px 8px; }
.mini-phone .scr .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); padding: 1px; }
.mini-phone .scr .grid3 i { height: 26px; background: #F6F5F1; }
.mini-phone .scr .grid3 i:first-child { background: #D97706; }
.kit { display: flex; flex-direction: column; gap: 0; }
.kit-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.kit-item:first-child { border-top: 0; padding-top: 0; }
.kit-item i { width: 42px; height: 42px; border-radius: 12px; flex: none; background: var(--warm-dim); color: var(--warm); display: flex; align-items: center; justify-content: center; }
.kit-item i .ic { width: 22px; height: 22px; }
.kit-item h3 { margin: 0; font-size: 17px; }
.kit-item p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .kit-wrap { grid-template-columns: 1fr; }
  .mini-phone { right: 6px; bottom: -20px; width: 96px; height: 190px; }
}

/* 換頁滑動（支援的瀏覽器才有，其餘照常換頁） */
@view-transition { navigation: auto; }
header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .42s; animation-timing-function: cubic-bezier(.4,0,.2,1); animation-fill-mode: both; }
html:active-view-transition-type(forward)::view-transition-old(root) { animation-name: vt-out-left; }
html:active-view-transition-type(forward)::view-transition-new(root) { animation-name: vt-in-right; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vt-out-right; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vt-in-left; }
@keyframes vt-out-left { to { transform: translateX(-12%); opacity: 0; } }
@keyframes vt-in-right { from { transform: translateX(12%); opacity: 0; } }
@keyframes vt-out-right { to { transform: translateX(12%); opacity: 0; } }
@keyframes vt-in-left { from { transform: translateX(-12%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(*) { animation: none !important; }
}
