/* ═══════════════════════════════════════════
   日嶼夜 DayNight — Official Site
   Night (default) / Day theme
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0e15;
  --bg-2: #0f1520;
  --panel: #131b29;
  --panel-2: #182234;
  --line: rgba(200, 169, 106, .18);
  --text: #ece9e1;
  --muted: #98a1b3;
  --gold: #c8a96a;
  --gold-2: #e2c98f;
  --blue: #5d8bff;
  --violet: #8f6bff;
  --glow: rgba(93, 139, 255, .25);
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --radius: 18px;
  --serif: "Noto Serif TC", serif;
  --latin: "Cormorant Garamond", serif;
  --sans: "Noto Sans TC", sans-serif;
}
body.day {
  --bg: #f5f1e8;
  --bg-2: #ede7d9;
  --panel: #ffffff;
  --panel-2: #faf6ee;
  --line: rgba(140, 110, 60, .22);
  --text: #23293a;
  --muted: #6b7280;
  --gold: #a8853f;
  --gold-2: #8a6c2e;
  --blue: #3b6fe0;
  --violet: #7c5cd6;
  --glow: rgba(59, 111, 224, .15);
  --shadow: 0 18px 50px rgba(80, 60, 20, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .02em;
  transition: background .6s ease, color .6s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── 按鈕 ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  transition: all .25s ease;
}
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #14100a;
  box-shadow: 0 8px 24px rgba(200, 169, 106, .25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200, 169, 106, .4); }
.btn-gold:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── 導覽列 ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav:not(.scrolled) { color: #fff; }
.nav:not(.scrolled) .nav-links a,
.nav:not(.scrolled) .brand-text { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.nav:not(.scrolled) .brand-text em { color: var(--gold-2); }
.nav:not(.scrolled) .theme-toggle { border-color: #ffffff55; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mono {
  font-family: var(--latin); font-weight: 600; font-size: 20px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); letter-spacing: .05em;
}
.brand-mono.lg { width: 56px; height: 56px; font-size: 24px; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.brand-text em { font-family: var(--latin); font-style: italic; font-size: 15px; color: var(--gold); margin-left: 6px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 15px; letter-spacing: .2em; opacity: .85; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.nav-burger { display: none; background: none; border: none; width: 34px; }
.nav-burger span { display: block; height: 2px; background: var(--text); margin: 7px 0; transition: .3s; }

/* 日夜切換 */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; position: relative; overflow: hidden;
  transition: border-color .3s;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; position: absolute; transition: transform .5s ease, opacity .4s; }
.icon-sun { opacity: 0; transform: translateY(18px) rotate(90deg); }
.icon-moon { opacity: 1; transform: translateY(0); }
body.day .icon-sun { opacity: 1; transform: translateY(0) rotate(0); }
body.day .icon-moon { opacity: 0; transform: translateY(-18px) rotate(-90deg); }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.hero-img-day { opacity: 0; }
body.day .hero-img-day { opacity: 1; }
body.day .hero-img-night { opacity: 0; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,18,.55) 0%, rgba(8,11,18,.25) 40%, var(--bg) 98%);
  transition: background .6s;
}
body.day .hero-veil { background: linear-gradient(180deg, rgba(28,22,10,.62) 0%, rgba(28,22,10,.28) 45%, var(--bg) 98%); }
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; }
.hero-eyebrow { font-family: var(--latin); letter-spacing: .55em; font-size: 14px; color: var(--gold-2); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 12vw, 150px);
  line-height: 1.1; letter-spacing: .12em; margin: 8px 0 0;
  color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.55);
}
body.day .hero-title { color: #fffdf7; }
.hero-latin { font-family: var(--latin); font-size: clamp(18px, 3vw, 28px); letter-spacing: .8em; color: var(--gold-2); margin: 6px 0 22px; text-indent: .8em; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: #e8e6dfdd; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero-cta { margin-top: 38px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: #ffffff55; backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid #ffffff66; border-radius: 12px; }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }

/* ── Section 通用 ── */
.section { padding: 110px 0; position: relative; }
.sec-eyebrow { font-family: var(--latin); letter-spacing: .5em; font-size: 13px; color: var(--gold); text-transform: uppercase; }
.sec-title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.35; letter-spacing: .08em; margin: 10px 0 26px; }
.sec-note { font-size: 13px; color: var(--muted); margin-top: -12px; margin-bottom: 20px; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.lead.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

/* 進場動畫 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 關於 ── */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.feature-chips li {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: 14px; background: color-mix(in srgb, var(--panel) 60%, transparent);
}
.about-stats { display: flex; gap: 40px; margin-top: 30px; }
.about-stats div { display: grid; }
.about-stats strong { font-family: var(--latin); font-size: 38px; font-weight: 600; color: var(--gold); line-height: 1.2; }
.about-stats span { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.about-photos { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-photos figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.about-photos figure:hover img { transform: scale(1.05); }
.ap-1 { grid-column: 1 / -1; height: 300px; }
.ap-2 { height: 220px; }
.ap-3 { height: 220px; }

/* ── 菜單 ── */
.menu { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.menu-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 30px 0 40px; }
.mt-btn {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  padding: 10px 24px; border-radius: 999px; font-size: 15px; letter-spacing: .1em;
  transition: all .25s;
}
.mt-btn:hover { color: var(--gold); border-color: var(--gold); }
.mt-btn.active { background: var(--gold); border-color: var(--gold); color: #14100a; font-weight: 500; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.dish {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s, box-shadow .35s;
  animation: dishIn .5s ease both;
}
@keyframes dishIn { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish img { width: 100%; height: 190px; object-fit: cover; }
.dish-body { padding: 18px 20px 20px; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .05em; }
.dish .price { font-family: var(--latin); color: var(--gold); font-size: 18px; white-space: nowrap; }
.dish p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.dish .badge {
  display: inline-block; font-size: 11px; letter-spacing: .15em; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 4px; padding: 1px 8px; margin-bottom: 8px;
}

/* ── 空間 ── */
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.sp { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.sp img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sp:hover img { transform: scale(1.06); }
.sp figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(5,8,14,.85));
  color: #f2efe8; font-size: 14px; letter-spacing: .12em;
}
.sp:nth-child(1) { grid-column: span 2; aspect-ratio: 2.62 / 1; }

/* ── 活動 ── */
.events { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.ev { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.ev:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ev img { height: 210px; width: 100%; object-fit: cover; }
.ev-body { padding: 22px 24px 26px; }
.ev-tag { font-size: 12px; letter-spacing: .2em; color: var(--gold); border: 1px solid var(--gold); padding: 3px 10px; border-radius: 999px; }
.ev h3 { font-family: var(--serif); font-size: 20px; margin: 14px 0 8px; letter-spacing: .06em; }
.ev p { font-size: 14px; color: var(--muted); }

/* ── 訂位 ── */
.booking { background: var(--bg); }
.booking::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 300px at 50% 0%, var(--glow), transparent 70%);
}
.bk-shell {
  position: relative; max-width: 760px; margin: 40px auto 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px 36px 38px; box-shadow: var(--shadow);
}
.bk-steps { list-style: none; display: flex; justify-content: space-between; margin-bottom: 30px; position: relative; }
.bk-steps::before { content: ""; position: absolute; top: 15px; left: 8%; right: 8%; height: 1px; background: var(--line); }
.bk-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; color: var(--muted); flex: 1; }
.bk-steps li i {
  font-style: normal; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  font-size: 13px; transition: all .3s;
}
.bk-steps li.on { color: var(--gold); }
.bk-steps li.on i { border-color: var(--gold); background: var(--gold); color: #14100a; font-weight: 700; }
.bk-steps li.done i { border-color: var(--gold); color: var(--gold); background: var(--panel); }

.bk-panel { display: none; }
.bk-panel.on { display: block; animation: dishIn .4s ease; }
.bk-h { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 20px; letter-spacing: .06em; }
.bk-label { font-size: 13px; letter-spacing: .2em; color: var(--muted); margin: 22px 0 10px; }
.bk-hint { color: var(--gold); letter-spacing: .05em; }

.party-row { display: flex; gap: 8px; flex-wrap: wrap; }
.party-row button {
  min-width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: 15px; transition: all .2s; padding: 0 12px;
}
.party-row button:hover { border-color: var(--gold); }
.party-row button.sel { background: var(--gold); border-color: var(--gold); color: #14100a; font-weight: 700; }
.party-big { margin-top: 14px; padding: 16px 18px; border: 1px dashed var(--gold); border-radius: 12px; font-size: 14px; }
.party-big p { margin-bottom: 10px; }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.date-strip button {
  flex: 0 0 auto; width: 74px; padding: 10px 0 12px; border-radius: 14px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  display: grid; gap: 2px; justify-items: center; transition: all .2s;
}
.date-strip button:hover { border-color: var(--gold); }
.date-strip button.sel { background: var(--gold); border-color: var(--gold); color: #14100a; }
.date-strip .dw { font-size: 11px; letter-spacing: .15em; opacity: .75; }
.date-strip .dd { font-family: var(--latin); font-size: 22px; font-weight: 600; line-height: 1.1; }
.date-strip .dm { font-size: 10px; opacity: .65; }
.date-strip button.sel .dw, .date-strip button.sel .dm { opacity: .85; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot {
  padding: 11px 0; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: 14px; font-family: var(--latin);
  font-weight: 600; letter-spacing: .08em; position: relative; transition: all .2s;
}
.slot:hover:not(:disabled) { border-color: var(--gold); }
.slot.sel { background: var(--gold); border-color: var(--gold); color: #14100a; }
.slot.few::after {
  content: "剩少量"; position: absolute; top: -8px; right: -4px;
  font-family: var(--sans); font-size: 9px; background: var(--violet); color: #fff;
  padding: 1px 6px; border-radius: 99px; letter-spacing: .05em;
}
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.area-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.area {
  border: 1px solid var(--line); border-radius: 14px; background: transparent;
  overflow: hidden; color: var(--text); display: grid; gap: 2px; padding-bottom: 10px; transition: all .2s;
}
.area img { height: 64px; width: 100%; object-fit: cover; margin-bottom: 6px; opacity: .85; }
.area span { font-size: 13px; font-weight: 500; }
.area small { font-size: 11px; color: var(--muted); }
.area:hover { border-color: var(--gold); }
.area.sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-2col label, .bk-note-label { display: grid; gap: 8px; font-size: 13px; letter-spacing: .15em; color: var(--muted); }
.bk-note-label { margin-top: 18px; }
input[type="text"], input[type="tel"], textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font-family: var(--sans); font-size: 15px;
  letter-spacing: .05em; transition: border-color .2s; resize: vertical;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
input.err { border-color: #e0565b; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row button {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; transition: all .2s;
}
.tag-row button.sel { background: color-mix(in srgb, var(--gold) 18%, transparent); border-color: var(--gold); color: var(--gold-2); }

.bk-summary { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; line-height: 2; }
.bk-summary strong { color: var(--gold); font-weight: 500; }

.bk-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* 完成頁 */
.bk-done { text-align: center; padding: 10px 0 6px; }
.bk-done .big-check {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-size: 34px; color: var(--gold); animation: pop .5s ease;
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0 } 70% { transform: scale(1.1) } 100% { transform: scale(1) } }
.bk-done h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.bk-code {
  font-family: var(--latin); font-size: 34px; font-weight: 700; letter-spacing: .2em;
  color: var(--gold); margin: 12px 0 4px;
}
.bk-done .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.done-card {
  max-width: 420px; margin: 0 auto 22px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px;
  font-size: 14px; line-height: 2.1;
}
.done-card b { color: var(--gold); font-weight: 500; margin-right: 10px; }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 為什麼官網訂位 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 34px auto 0; }
.why {
  text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px;
  background: color-mix(in srgb, var(--panel) 55%, transparent);
}
.why strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--gold); margin-bottom: 4px; letter-spacing: .08em; }
.why span { font-size: 12px; color: var(--muted); }

/* 查詢訂位 */
.bk-lookup { max-width: 760px; margin: 26px auto 0; }
.bk-lookup summary { cursor: pointer; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-align: center; list-style: none; }
.bk-lookup summary:hover { color: var(--gold); }
.lookup-row { display: flex; gap: 10px; margin: 16px auto 0; max-width: 460px; }
.lookup-row input { flex: 1; }
#lookupResult { max-width: 460px; margin: 14px auto 0; font-size: 14px; }
#lookupResult .done-card { margin-bottom: 12px; }
#lookupResult .cancel-ok { color: var(--gold); text-align: center; }

/* ── 資訊 ── */
.info { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.info-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; margin-top: 36px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; }
.info-card h3 { font-family: var(--serif); font-size: 15px; letter-spacing: .3em; color: var(--gold); margin: 22px 0 6px; font-weight: 600; }
.info-card h3:first-child { margin-top: 0; }
.info-card p { font-size: 15px; }
.tlink { border-bottom: 1px solid var(--line); transition: all .2s; }
.tlink:hover { color: var(--gold); border-color: var(--gold); }
.soc { display: flex; gap: 18px; }
.hours { border-collapse: collapse; font-size: 14px; width: 100%; }
.hours td { padding: 5px 0; }
.hours td:last-child { text-align: right; font-family: var(--latin); font-size: 15px; letter-spacing: .1em; }
.hours-note { font-size: 12px; color: var(--muted); text-align: left !important; font-family: var(--sans) !important; }
.info-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.info-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
body:not(.day) .info-map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.9); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 54px 0 110px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 30px; align-items: start; }
.f-name { font-family: var(--serif); font-size: 18px; margin-top: 12px; }
.f-tag { font-size: 13px; color: var(--muted); }
.f-links { display: grid; gap: 8px; font-size: 14px; }
.f-links a:hover { color: var(--gold); }
.f-meta { font-size: 13px; color: var(--muted); text-align: right; }
.f-meta a:hover { color: var(--gold); }

/* 手機底部 CTA */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 6, 10, .92);
  display: grid; place-items: center; padding: 40px; animation: fadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0 } }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { color: #e8e6df; margin-top: 14px; letter-spacing: .15em; font-size: 14px; }
.lb-close {
  position: absolute; top: 22px; right: 30px; background: none; border: none;
  color: #fff; font-size: 42px; line-height: 1; opacity: .8;
}
.lb-close:hover { opacity: 1; }

/* ── RWD ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .f-meta { text-align: center; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  /* backdrop-filter 會讓子層 fixed 選單被限制在 nav 內，手機版改用實色背景 */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 97%, transparent); }
  .nav-links { height: 100svh; }
  .nav-links {
    position: fixed; inset: 0; background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center;
    gap: 30px; font-size: 20px; transform: translateY(-100%); transition: transform .4s ease; z-index: -1;
  }
  .nav-links.open { transform: none; z-index: 99; }
  .nav-burger { display: block; z-index: 100; }
  .nav-cta { display: none; }
  .brand-text em { display: none; }
  .section { padding: 70px 0; }
  .bk-shell { padding: 26px 18px 30px; }
  .form-2col { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: 1fr; }
  .sp:nth-child(1) { grid-column: auto; aspect-ratio: 4 / 3; }
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 140px; }
  .bk-steps li { font-size: 10px; }
  .about-stats { gap: 24px; }
  .hero-latin { letter-spacing: .5em; text-indent: .5em; }
}
