/* ==========================================================================
   Game Start 劇本遊戲集會所 — 設計系統
   視覺概念：電影道具工作室 × 黑貓女巫偵探
   色彩：暖黑底 + 橘（品牌橘）＋ 奶白
   ========================================================================== */

:root {
    /* 底色：帶暖調的近黑，避免純黑的死寂 */
    --bg: #0d0a08;
    --bg-2: #141010;
    --bg-3: #1c1614;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);

    /* 品牌橘 */
    --orange: #ff6b1a;
    --orange-deep: #e04e00;
    --orange-soft: #ff9a4d;
    --orange-glow: rgba(255, 107, 26, 0.35);

    /* 文字 */
    --ink: #f7f1e8;
    --ink-2: #c4b6a7;
    --ink-3: #8d8175;

    --radius: 18px;
    --radius-sm: 10px;
    --shell: 1200px;
    --nav-h: 72px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.85);
    --font: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC",
        "Microsoft JhengHei", "Helvetica Neue", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
@media (max-width: 600px) { .shell { width: min(100% - 32px, var(--shell)); } }

/* 全站橘色氛圍 + 細噪點，避免大面積死黑 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 12% -8%, rgba(255, 107, 26, 0.13), transparent 62%),
        radial-gradient(760px 460px at 92% 4%, rgba(255, 154, 77, 0.07), transparent 60%);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 2; }

/* ==========================================================================
   導覽列
   ========================================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
                border-color 0.35s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.is-stuck {
    background: rgba(13, 10, 8, 0.86);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom-color: var(--line);
}
.nav-inner {
    width: min(100% - 40px, var(--shell));
    margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 999px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.is-active { color: var(--orange); background: rgba(255, 107, 26, 0.12); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--orange);
    color: #1a0c03;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 8px 24px -8px var(--orange-glow);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease),
                background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--orange-soft); transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--orange-glow); }
.nav-cta svg { width: 18px; height: 18px; }

.menu-btn {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    position: relative;
}
.menu-btn span {
    position: absolute; left: 11px;
    width: 20px; height: 2px; border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 20px; }
.menu-btn span:nth-child(3) { top: 26px; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .menu-btn { display: block; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px 20px 22px;
        background: rgba(13, 10, 8, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    }
    .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links a { padding: 13px 14px; font-size: 17px; border-radius: 12px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: flex-end;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.6s var(--ease);
}
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: kenburns 18s ease-out forwards;
}
@keyframes kenburns { to { transform: scale(1.14) translate3d(0, -1.5%, 0); } }
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(13,10,8,0.72) 0%, rgba(13,10,8,0.18) 32%, rgba(13,10,8,0.86) 78%, var(--bg) 100%),
        linear-gradient(90deg, rgba(13,10,8,0.88) 0%, rgba(13,10,8,0.35) 55%, rgba(13,10,8,0.6) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    width: min(100% - 40px, var(--shell));
    margin-inline: auto;
    padding: 0 0 68px;
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 107, 26, 0.38);
    background: rgba(255, 107, 26, 0.1);
    border-radius: 999px;
    font-size: 13.5px; font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--orange-soft);
    margin-bottom: 22px;
}
.hero-kicker::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.2);
}
.hero h1 {
    font-size: clamp(34px, 5.8vw, 74px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 13ch;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
    text-shadow: 0 0 44px var(--orange-glow);
}
.hero-accent {
    display: inline-block;
    margin: 18px 0 0;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 26, 0.42);
    background: rgba(255, 107, 26, 0.1);
    font-size: 13.5px; font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--orange-soft);
}
.hero-sub {
    margin: 18px 0 0;
    max-width: 46ch;
    font-size: clamp(15px, 1.35vw, 18px);
    color: var(--ink-2);
    line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* 手機版精簡 Hero：隱藏地址標籤與兩個 CTA（睇劇本 / WhatsApp 預約） */
@media (max-width: 720px) {
    .hero-kicker,
    .hero-actions { display: none; }
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700; font-size: 16px;
    transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease),
                background 0.22s var(--ease), border-color 0.22s var(--ease);
    border: 1px solid transparent;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--orange); color: #1a0c03; box-shadow: 0 12px 30px -10px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-soft); transform: translateY(-3px); box-shadow: 0 18px 38px -12px var(--orange-glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

.hero-dots {
    position: absolute; z-index: 3;
    right: max(20px, calc((100vw - var(--shell)) / 2));
    bottom: 76px;
    display: flex; gap: 8px;
}
.hero-dots button {
    width: 8px; height: 8px; padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.35s var(--ease-out), background 0.3s var(--ease);
}
.hero-dots button.is-on { width: 30px; background: var(--orange); }

.scroll-hint {
    position: absolute; z-index: 3;
    left: 50%; bottom: 22px;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-3);
}
.scroll-hint span:last-child {
    width: 1px; height: 26px;
    background: linear-gradient(180deg, var(--orange), transparent);
    animation: drop 1.9s var(--ease) infinite;
}
@keyframes drop { 0%,100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ==========================================================================
   區塊共用
   ========================================================================== */
section { position: relative; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(52px, 6vw, 84px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12.5px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--orange); opacity: 0.55; }
.section-head h2 {
    font-size: clamp(28px, 4.2vw, 48px);
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.section-head p { margin: 16px 0 0; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); max-width: 58ch; }
.section-head.center p { margin-inline: auto; }

/* ==========================================================================
   劇本卡片
   ========================================================================== */
.scripts-grid { display: grid; gap: clamp(22px, 2.6vw, 32px); }
.script-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(150deg, var(--bg-3), var(--bg-2) 60%);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.35s var(--ease-out),
                box-shadow 0.35s var(--ease);
}
.script-card:hover {
    border-color: rgba(255, 107, 26, 0.45);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.script-card:nth-child(even) .script-media { order: 2; }

.script-media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: var(--bg-3);
}
.script-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.script-card:hover .script-media img { transform: scale(1.06); }
.script-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,10,8,0.1), rgba(13,10,8,0.55));
    pointer-events: none;
}
.script-badge {
    position: absolute; z-index: 2; top: 18px; left: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(13, 10, 8, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 107, 26, 0.42);
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--orange-soft);
}

.script-body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; }
.script-body h3 { font-size: clamp(21px, 2.3vw, 30px); letter-spacing: -0.025em; }
.script-lead { color: var(--orange-soft); font-weight: 600; font-size: 15.5px; margin: 10px 0 0; }

.specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 22px 0 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.spec { background: rgba(13, 10, 8, 0.55); padding: 13px 15px; }
.spec dt { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.spec dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.spec-price dd { color: var(--orange); font-size: 17px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chip {
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 13px; color: var(--ink-2);
}
.chip::before { content: "✦"; color: var(--orange); margin-right: 6px; font-size: 10px; vertical-align: 1px; }

.script-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 26px; }
.script-actions .btn { padding: 11px 22px; font-size: 15px; }
.link-more { font-size: 14.5px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.link-more:hover { color: var(--orange); border-color: var(--orange); }

@media (max-width: 880px) {
    .script-card { grid-template-columns: 1fr; }
    .script-card:nth-child(even) .script-media { order: 0; }
    .script-media { min-height: 260px; aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   場景 Gallery
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery figure {
    margin: 0;
    border-radius: var(--radius-sm);
}
.gallery button {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-3);
    aspect-ratio: 4 / 3;
    padding: 0;
    cursor: zoom-in;
    transition: border-color 0.3s var(--ease);
}
.gallery button:hover { border-color: var(--orange); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), filter 0.4s var(--ease); }
.gallery button:hover img { transform: scale(1.07); filter: brightness(1.08); }
.gallery figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: 26px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(13,10,8,0.9));
    font-size: 12.5px; color: var(--ink-2); text-align: left;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.gallery button:hover figcaption { opacity: 1; transform: translateY(0); }
/* 首格放大（注意：figure 才是 grid item，不是 button） */
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child button { aspect-ratio: auto; height: 100%; }
.gallery figure:first-child figcaption { font-size: 14px; }

@media (max-width: 720px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
    .gallery figure:first-child button { aspect-ratio: 16 / 10; height: auto; }
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    padding: 5vmin;
    background: rgba(6, 4, 3, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox-cap { margin-top: 14px; text-align: center; color: var(--ink-2); font-size: 14px; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid; place-items: center; font-size: 22px;
    background: rgba(13,10,8,0.6);
}
.lightbox-close:hover { background: var(--orange); color: #1a0c03; border-color: var(--orange); }

/* ==========================================================================
   關於
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-logo {
    background: linear-gradient(160deg, rgba(255,107,26,0.14), rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(26px, 4vw, 46px);
    text-align: center;
}
.about-logo img { width: 100%; max-width: 420px; margin-inline: auto; }
.about-logo p { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.about-text h2 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -0.03em; }
.about-text p { color: var(--ink-2); margin-top: 18px; }
.about-text .lead-strong { color: var(--ink); font-weight: 700; font-size: 1.06em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.pillar {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    background: var(--surface);
}
.pillar b { display: block; font-size: 15px; margin-bottom: 5px; }
.pillar span { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

@media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Q&A
   ========================================================================== */
.faq-list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 4px;
    text-align: left;
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 600;
    transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--orange); }
.faq-q .mark {
    flex: none;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid; place-items: center;
    font-size: 17px; line-height: 1;
    transition: transform 0.3s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}
.faq-item.is-open .faq-q .mark {
    transform: rotate(45deg);
    background: var(--orange); color: #1a0c03; border-color: var(--orange);
}
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s var(--ease-out);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 24px; color: var(--ink-2); margin: 0; max-width: 62ch; }

/* ==========================================================================
   位置 / CTA
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
.visit-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
    padding: clamp(24px, 3.4vw, 38px);
}
.visit-card h3 { font-size: 22px; margin-bottom: 18px; }
.addr-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.addr-line .ico {
    flex: none; width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255, 107, 26, 0.13);
    border: 1px solid rgba(255, 107, 26, 0.3);
    color: var(--orange);
}
.addr-line .ico svg { width: 20px; height: 20px; }
.addr-line b { display: block; font-size: 16.5px; }
.addr-line span { color: var(--ink-2); font-size: 14.5px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.contact-tile {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--surface);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-tile:hover { border-color: var(--orange); background: rgba(255,107,26,0.07); }
.contact-tile span { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact-tile b { display: block; margin-top: 6px; font-size: 19px; color: var(--orange); letter-spacing: 0.02em; }
.contact-tile b svg { width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; }
.contact-tile.b-inline b { font-size: 15px; }

.map-frame {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
    aspect-ratio: 16 / 11;
    position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* 點擊才載入 Google Maps，避免一進頁面就拉第三方 iframe */
.map-placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    padding: 24px;
    background: var(--bg-2);
    text-align: center;
}
.map-grid {
    position: absolute; inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255, 107, 26, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 26, 0.10) 1px, transparent 1px),
        radial-gradient(600px 320px at 50% 45%, rgba(255, 107, 26, 0.14), transparent 70%);
    background-size: 34px 34px, 34px 34px, 100% 100%;
}
.map-placeholder-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; }
.map-pin-big {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 107, 26, 0.13);
    border: 1px solid rgba(255, 107, 26, 0.42);
    color: var(--orange);
}
.map-pin-big svg { width: 26px; height: 26px; }
.map-placeholder-inner b { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; }
.map-note { color: var(--ink-3); font-size: 14px; }
.map-placeholder .btn { margin-top: 8px; }

@media (max-width: 880px) {
    .visit-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
    position: relative;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    padding: clamp(36px, 6vw, 76px) clamp(24px, 5vw, 68px);
    background:
        radial-gradient(700px 340px at 78% 30%, rgba(255, 154, 77, 0.34), transparent 68%),
        linear-gradient(120deg, var(--orange-deep), #b33c00 70%);
    color: #fff5ea;
    text-align: center;
}
.cta-band::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
    opacity: 0.16; mix-blend-mode: overlay; pointer-events: none;
}
.cta-band h2 { position: relative; z-index: 1; font-size: clamp(26px, 4.4vw, 48px); letter-spacing: -0.03em; }
.cta-band p { position: relative; z-index: 1; margin: 16px auto 0; max-width: 46ch; color: rgba(255, 245, 234, 0.9); font-size: clamp(15px, 1.4vw, 18px); }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta-band .btn-dark { background: #17110d; color: #fff5ea; }
.cta-band .btn-dark:hover { background: #241a14; transform: translateY(-3px); }
.cta-band .btn-line { border-color: rgba(255, 255, 255, 0.45); color: #fff5ea; }
.cta-band .btn-line:hover { border-color: #fff5ea; background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* ==========================================================================
   頁尾
   ========================================================================== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(40px, 5vw, 64px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer-brand img { height: 38px; width: auto; display: block; }
.footer-brand p { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; max-width: 38ch; }
.footer h4 { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--ink-2); font-size: 14.5px; transition: color 0.2s; }
.footer li a:hover { color: var(--orange); }
.footer-bottom {
    margin-top: 38px; padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    color: var(--ink-3); font-size: 13px;
}
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
    width: 40px; height: 40px; border-radius: 12px;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--ink-2);
    transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.social-row a:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,107,26,0.08); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   劇本獨立頁
   ========================================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 0 56px;
    overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: saturate(0.85); }
.page-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,10,8,0.86) 0%, rgba(13,10,8,0.94) 70%, var(--bg) 100%);
}
.page-hero .shell { position: relative; z-index: 1; }
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--orange); }
.crumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 { font-size: clamp(30px, 5.4vw, 60px); letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.page-hero .script-lead { font-size: clamp(16px, 1.6vw, 19px); margin-top: 14px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-body h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 40px 0 16px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--ink-2); font-size: 16.5px; }
.detail-body .quote {
    border-left: 3px solid var(--orange);
    padding: 6px 0 6px 20px;
    margin: 22px 0;
    font-size: 19px; font-weight: 600; color: var(--ink);
    font-style: italic;
}
.case-box {
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: var(--radius-sm);
    background: linear-gradient(150deg, rgba(255,107,26,0.055), rgba(255,255,255,0.015));
    padding: clamp(20px, 2.6vw, 30px);
    margin: 22px 0;
}
.case-box h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.case-box p:last-child { margin-bottom: 0; }

.side-card {
    position: sticky; top: calc(var(--nav-h) + 20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
    padding: 24px;
}
.side-card .specs { grid-template-columns: 1fr; margin-top: 0; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.side-card .side-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }

.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 0; }
.detail-gallery figure { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
    .detail-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .detail-gallery { grid-template-columns: 1fr; }
}

/* 底部固定預約列（手機） */
.sticky-cta {
    position: fixed; z-index: 90;
    left: 0; right: 0; bottom: 0;
    display: none;
    gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 10, 8, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; justify-content: center; padding: 13px 18px; font-size: 15px; }
@media (max-width: 720px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 74px; }
}

/* ==========================================================================
   進場動畫
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-slide img { animation: none; }
}
