/* ==========================================================================
   VicResults — 夜視地圖 (Night Map) 設計系統
   Display: Noto Serif TC 900 / Body: Noto Sans TC / Data: JetBrains Mono
   ========================================================================== */

:root {
  /* 色票 */
  --ink:        #07161D;   /* 底色：夜間地圖 */
  --ink-2:      #0E222C;   /* 卡片／浮起表面 */
  --ink-3:      #16303C;   /* 分隔線／邊框 */
  --paper:      #F2EFE6;   /* 主文字 */
  --paper-dim:  #9AB0BA;   /* 次要文字 */
  --gold:       #F2B441;   /* 主色：五星評價／路線高亮 */
  --gold-soft:  rgba(242, 180, 65, .13);
  --green:      #43C08A;   /* 資料色：前三名 */
  --amber:      #E8A33D;   /* 資料色：4-10 名 */
  --red:        #DD5F42;   /* 資料色：10 名外 */

  /* 字體 */
  --f-display: "Noto Serif TC", "Songti TC", serif;
  --f-body:    "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* 版面 */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 132px);
  --radius: 14px;
  --radius-lg: 22px;
}

/* --------------------------------------------------------- Reset / base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 底層地圖網格紋理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(154, 176, 186, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(154, 176, 186, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
}

body > * { position: relative; z-index: 1; }

img, svg, iframe { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------- Typography */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.72rem, 4.4vw, 2.85rem); }
h3 { font-size: clamp(1.14rem, 2.2vw, 1.42rem); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: #fff; }

.hl { color: var(--gold); }

.lead {
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  color: var(--paper-dim);
  line-height: 1.85;
}

.muted { color: var(--paper-dim); }

.fine {
  font-size: .8rem;
  line-height: 1.7;
  color: var(--paper-dim);
  opacity: .8;
}

/* 眉標 —— 用等寬字，前面帶一段短線 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .65;
}
.eyebrow.is-center { justify-content: center; }

/* ------------------------------------------------------------- Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 7vw, 84px); }
.section--line { border-top: 1px solid var(--ink-3); }

.center { text-align: center; }

.stack-sm > * + * { margin-top: 12px; }
.stack   > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 40px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #16110A; }
.btn--gold:hover { background: #FFC85C; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--ink-3);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: 12px 22px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row.is-center { justify-content: center; }

/* ------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 22, 29, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  margin-right: auto;
}
.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}
.brand__name { color: inherit; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .93rem;
  font-weight: 500;
}
.nav__links a { color: var(--paper-dim); transition: color .16s ease; }
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--paper); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink-3);
  border-radius: 10px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--ink-3);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-3);
    font-size: 1rem;
  }
  .nav__links .btn { margin-top: 16px; }
  .nav__links a.btn { border-bottom: 0; }
}

/* --------------------------------------------------------------- Hero */
.hero { padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px); }

.hero__title { max-width: 16ch; }
.hero.center .hero__title { margin-inline: auto; }
.hero__sub { max-width: 54ch; margin-top: 22px; }
.hero.center .hero__sub { margin-inline: auto; }

/* 影片框：加上「地圖圖釘」邊角 */
.video-frame {
  position: relative;
  margin: clamp(34px, 5vw, 52px) auto 0;
  max-width: 820px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  padding: 10px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.video-frame__inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #041015;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-frame__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--paper-dim);
  font-family: var(--f-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-align: center;
  padding: 20px;
}
.video-frame__ph svg { width: 54px; height: 54px; color: var(--gold); }

/* 首屏三個資歷徽章 */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid var(--ink-3);
  border-radius: 100px;
  background: var(--ink-2);
  font-size: .88rem;
  font-weight: 500;
  color: var(--paper-dim);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------------------------------------------------- 表單 (共用樣式) */
.field { display: block; margin-bottom: 16px; }

.field__label {
  display: block;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 8px;
}
.field__label .req { color: var(--gold); }

.input,
select.input,
textarea.input {
  width: 100%;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--paper);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--ink-3);
  border-radius: 12px;
  padding: 15px 17px;
  transition: border-color .16s ease, background-color .16s ease;
}
.input::placeholder { color: rgba(154, 176, 186, .55); }
.input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .06);
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.7; }

/* 單選：做成可點的膠囊 */
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
  display: inline-flex;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid var(--ink-3);
  border-radius: 100px;
  font-size: .92rem;
  color: var(--paper-dim);
  transition: all .16s ease;
}
.choice input:checked + span {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
}
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; opacity: 0; }

/* Email 快速訂閱列 */
.optin {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 26px auto 0;
}
.optin .input { flex: 1; border-radius: 100px; padding-inline: 22px; }
.optin .btn { flex: none; white-space: nowrap; }
@media (max-width: 560px) {
  .optin { flex-direction: column; }
  .optin .btn { width: 100%; }
}

/* --------------------------------------------------------------- Card */
.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 36px);
  height: 100%;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--paper-dim); font-size: .98rem; }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; }

/* 有編號的步驟卡：編號本身就是資訊（流程順序） */
.step {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 32px);
  height: 100%;
}
.step__no {
  font-family: var(--f-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--paper-dim); font-size: .96rem; margin: 0; }

/* --------------------------------------------- 招牌元件：網格排名圖 */
.rankmap {
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(242, 180, 65, .06), transparent 62%),
    var(--ink-2);
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.rankmap__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.rankmap__where {
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.rankmap__where strong { display: block; font-family: var(--f-body); font-size: 1.02rem; letter-spacing: 0; color: var(--paper); margin-top: 4px; }

.toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--ink-3);
  border-radius: 100px;
  background: rgba(0, 0, 0, .25);
}
.toggle button {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 9px 20px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--paper-dim);
  cursor: pointer;
  transition: all .18s ease;
}
.toggle button[aria-pressed="true"] { background: var(--gold); color: #16110A; }

/* 地圖底圖 + 網格 */
.rankmap__canvas {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--ink-3);
  background: #061219;
  padding: clamp(14px, 2.4vw, 26px);
  overflow: hidden;
}
.rankmap__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(154, 176, 186, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(154, 176, 186, .09) 1px, transparent 1px);
  background-size: 34px 34px;
}
/* 兩條斜向「道路」 */
.rankmap__canvas::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(64deg, transparent 48.4%, rgba(154, 176, 186, .16) 48.4%, rgba(154, 176, 186, .16) 49.6%, transparent 49.6%),
    linear-gradient(-38deg, transparent 61%, rgba(154, 176, 186, .11) 61%, rgba(154, 176, 186, .11) 62%, transparent 62%);
}

.rankmap__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.6vw, 14px);
}

.pin {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: clamp(.72rem, 1.9vw, .95rem);
  font-weight: 700;
  color: #08161C;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(221, 95, 66, .12);
  transition: background-color .45s ease, box-shadow .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.pin.is-amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 61, .14); }
.pin.is-green { background: var(--green); box-shadow: 0 0 0 4px rgba(67, 192, 138, .16); }
.pin.is-pop { transform: scale(1.14); }

.rankmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--paper-dim);
}
.rankmap__legend span { display: inline-flex; align-items: center; gap: 7px; }
.rankmap__legend i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}

/* 數據列 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-3);
  border: 1px solid var(--ink-3);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}
.stat { background: var(--ink-2); padding: 20px 18px; }
.stat__k {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: block;
  margin-bottom: 8px;
}
.stat__v {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  line-height: 1;
  transition: color .35s ease;
}
.stat__v.is-good { color: var(--green); }
@media (max-width: 620px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ 標誌列 */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  opacity: .62;
}
.logos li {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(.98rem, 2.2vw, 1.18rem);
  letter-spacing: .04em;
  color: var(--paper-dim);
  list-style: none;
  transition: color .2s ease, opacity .2s ease;
}
.logos li:hover { color: var(--paper); }
ul.logos { padding: 0; margin: 0; }

/* -------------------------------------------------------------- 團隊 */
.person {
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  overflow: hidden;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.person:hover { border-color: var(--gold); transform: translateY(-3px); }
.person__photo {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(242, 180, 65, .16), transparent 70%),
    #0A1C24;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 900;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 22px 24px 26px; }
.person__name { font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; }
.person__role {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.person__bio { font-size: .93rem; color: var(--paper-dim); margin-top: 12px; line-height: 1.7; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--ink-3); }
.faq details {
  border-bottom: 1px solid var(--ink-3);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.1vw, 1.16rem);
  line-height: 1.5;
  transition: color .16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary .q-no {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 5px;
  flex: none;
}
.faq summary .q-plus {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 5px;
}
.faq summary .q-plus::before,
.faq summary .q-plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.faq summary .q-plus::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq summary .q-plus::after  { left: 10px; top: 2px; width: 2px; height: 18px; }
.faq details[open] summary .q-plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  padding: 0 4px 26px 40px;
  color: var(--paper-dim);
  font-size: .99rem;
  line-height: 1.85;
}
@media (max-width: 620px) { .faq__a { padding-left: 4px; } }

/* --------------------------------------------------------------- CTA */
.cta {
  border: 1px solid var(--ink-3);
  border-radius: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(110% 130% at 50% -10%, rgba(242, 180, 65, .13), transparent 60%),
    var(--ink-2);
  padding: clamp(36px, 6vw, 68px) clamp(24px, 5vw, 60px);
  text-align: center;
}
.cta .lead { max-width: 52ch; margin-inline: auto; }

/* --------------------------------------------------- 條款頁 / 長文排版 */
.prose h2 { margin-top: 52px; margin-bottom: 16px; font-size: clamp(1.3rem, 2.8vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--paper-dim); }
.prose ul { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--gold); }
.prose hr { border: 0; border-top: 1px solid var(--ink-3); margin: 44px 0; }

/* ------------------------------------------------------------- Footer */
.site-footer {
  border-top: 1px solid var(--ink-3);
  background: #050F14;
  padding-block: clamp(48px, 7vw, 76px) 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__claim {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  margin: 18px 0 8px;
}
.footer__h {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__list { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.footer__list li { margin-bottom: 10px; color: var(--paper-dim); }
.footer__list a:hover { color: var(--gold); }

.footer__map {
  border: 1px solid var(--ink-3);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.85);
}
.footer__map iframe { width: 100%; height: 100%; border: 0; }

.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--paper-dim);
}

/* ------------------------------------------------------------ 動效 */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
