:root {
  /* Layout */
  --safe: 1200px;
  --gutter: 20px;
  --radius: 18px;

  /* =========================================================
     Monochrome Travel Theme: Deep Ocean Blue-Gray
     統一藍/灰藍色相（不跳色），但與原本霧藍＋青綠完全不同：更深、更冷、更「海」。
     ========================================================= */

  /* Brand base (Deep ocean) */
  --brand: #2a4f77; /* 深海藍：主色更沉穩 */
  --brand-ink: #0e2233; /* 墨藍黑：高級、乾淨 */
  --brand-tint: rgba(42, 79, 119, 0.14);
  --brand-tint-2: rgba(42, 79, 119, 0.26);

  /* Accent (Ice blue highlight, still blue-hue) */
  --accent: #4f86b8; /* 冰藍高光：仍是藍，不偏綠 */

  /* Text */
  --text: #0f1f2b; /* 深海字色：比黑柔 */
  --muted: #5f7283; /* 霧灰藍：統一色相 */

  /* Background / Surfaces */
  --bg: #eef3f8; /* 冷霧淡藍灰底：清爽旅行感 */
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;

  /* Neutral surfaces used in media/img bg */
  --media-bg: #f2f6fb;

  /* Header colors */
  --header-color: var(--text);
  --social-color: var(--text);
  --header-bg: rgba(240, 246, 252, 0.76); /* 冷玻璃霧感 */

  /* Lines / Borders */
  --line: rgba(42, 79, 119, 0.28);

  /* Accent lines (blue-only) */
  --accent-line-22: rgba(79, 134, 184, 0.22);
  --accent-line-26: rgba(79, 134, 184, 0.26);
  --accent-line-28: rgba(79, 134, 184, 0.28);
  --accent-line-32: rgba(79, 134, 184, 0.32);
  --accent-line-35: rgba(79, 134, 184, 0.35);
  --accent-line-36: rgba(79, 134, 184, 0.36);
  --accent-line-42: rgba(79, 134, 184, 0.42);
  --accent-line-45: rgba(79, 134, 184, 0.45);
  --accent-line-55: rgba(79, 134, 184, 0.55);

  /* Accent fills (hover, haze, gradient, chips) */
  --accent-a08: rgba(79, 134, 184, 0.08);
  --accent-a10: rgba(79, 134, 184, 0.1);
  --accent-a12: rgba(79, 134, 184, 0.12);
  --accent-a16: rgba(79, 134, 184, 0.16);
  --accent-a18: rgba(79, 134, 184, 0.18);
  --accent-a22: rgba(79, 134, 184, 0.22);
  --accent-a26: rgba(79, 134, 184, 0.26);

  /* Button */
  --btn: var(--brand);
  --btnText: #ffffff;
  --btn-solid-shadow: 0 16px 34px rgba(42, 79, 119, 0.28);
  --btn-solid-hover: #223f5f; /* 深海藍加深（不跳色） */
  --btn-ghost-bg: rgba(255, 255, 255, 0.58);

  /* Shadows (cool & clean) */
  --shadow: 0 20px 52px rgba(9, 24, 38, 0.16);
  --shadow-header: 0 10px 26px rgba(9, 24, 38, 0.1);
  --shadow-soft: 0 18px 44px rgba(9, 24, 38, 0.11);
  --shadow-soft-hover: 0 26px 66px rgba(9, 24, 38, 0.14);
  --shadow-hero: 0 22px 54px rgba(9, 24, 38, 0.12);
  --shadow-quote: 0 26px 66px rgba(9, 24, 38, 0.12);
  --shadow-cta: 0 22px 62px rgba(9, 24, 38, 0.12);

  /* Spacing */
  --gap-1: 12px;
  --gap-2: 18px;
  --gap-3: 28px;
  --gap-4: 42px;

  /* Typography */
  --h2: clamp(1.45rem, 1.05rem + 1.2vw, 2.15rem);
  --h3: clamp(1.05rem, 0.95rem + 0.55vw, 1.3rem);
  --p: clamp(0.98rem, 0.92rem + 0.2vw, 1.06rem);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}

.safe {
  max-width: var(--safe);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(36px, 5vw, 76px);
}

/* =========================================================
   Header (new layout feel without touching HTML)
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100vw;
  z-index: 1000;

  color: var(--header-color);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--accent-line-22);
  box-shadow: var(--shadow-header);
}

.header-inner {
  width: 90vw;
  max-width: var(--safe);
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  width: 20%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brand p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  position: relative;
  padding: 10px 10px;
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.nav a:hover {
  background: var(--accent-a12);
  color: var(--brand-ink);
}
.nav a[aria-current="page"] {
  background: var(--accent-a16);
  color: var(--brand-ink);
}

.social {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--social-color);
}

/* mobile nav toggle */
.toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1200px) {
  .header-inner {
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: auto;
    min-height: 70px;
  }
  .brand {
    width: 90vw;
    justify-content: space-between;
  }
  .toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .social {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 18px 0 24px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav ul {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 0;
  }
  .nav a {
    width: min(520px, 92vw);
    text-align: center;
  }
  .icon-close {
    display: none;
  }
  .toggle[aria-expanded="true"] .icon-open {
    display: none;
  }
  .toggle[aria-expanded="true"] .icon-close {
    display: inline;
  }
}

/* =========================================================
   Global components
   ========================================================= */
.grid {
  display: grid;
  gap: var(--gap-3);
  align-items: center;
}

@media (min-width: 900px) {
  .grid.two-left {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .grid.two-right {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--media-bg);
  border: 1px solid var(--accent-line-32);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content {
  display: grid;
  gap: var(--gap-1);
}

.kicker {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.title {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0;
  font-size: var(--h3);
  color: var(--muted);
  font-weight: 700;
}

.desc {
  margin: 0;
  font-size: var(--p);
  color: var(--muted);
  max-width: 68ch;
}

.actions {
  margin-top: var(--gap-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--accent-line-36);
  outline-offset: 2px;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn.solid {
  background: var(--btn);
  color: var(--btnText);
  box-shadow: var(--btn-solid-shadow);
}
.btn.solid:hover {
  background: var(--btn-solid-hover);
}

.btn.ghost {
  background: var(--btn-ghost-bg);
  border-color: var(--accent-line-35);
  color: var(--brand-ink);
}
.btn.ghost:hover {
  background: var(--accent-a10);
  border-color: var(--accent-line-55);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-block: clamp(44px, 6vw, 90px);
  background:
    radial-gradient(
      1200px 520px at 18% 12%,
      var(--accent-a22),
      transparent 56%
    ),
    radial-gradient(900px 520px at 86% 28%, var(--accent-a12), transparent 58%);
  border-bottom: 1px solid var(--accent-line-22);
}
.hero-card {
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--accent-line-28);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-hero);
  padding: clamp(18px, 3vw, 30px);
}
.hero-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-a10);
  border: 1px solid var(--accent-line-22);
  color: var(--brand-ink);
  font-size: 0.92rem;
  width: fit-content;
}

/* =========================================================
   Tiles
   ========================================================= */
.tiles {
  background:
    linear-gradient(180deg, var(--accent-a10), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 55%);
}

.tiles-wrap {
  display: grid;
  gap: var(--gap-3);
}

@media (min-width: 900px) {
  .tiles-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.tile {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--accent-line-28);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.tile-top {
  padding: 16px 18px;
  background: var(--accent-a12);
  border-bottom: 1px solid var(--accent-line-22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tile.green .tile-top {
  background: var(--accent-a18);
  border-bottom-color: var(--accent-line-28);
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-line-35);
  background: var(--accent-a16);
  color: var(--brand-ink);
  font-weight: 900;
  font-size: 0.85rem;
}

.tile.green .badge {
  border-color: var(--accent-line-45);
  background: var(--accent-a22);
  color: var(--brand-ink);
}

.tile-media {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.tile-body {
  padding: 18px 18px 22px;
}

/* =========================================================
   Quote section
   ========================================================= */
.quote {
  background:
    radial-gradient(980px 460px at 12% 22%, var(--accent-a18), transparent 58%),
    radial-gradient(980px 460px at 88% 34%, var(--accent-a10), transparent 60%);
}

.quote-frame {
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--accent-line-26);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-quote);
  padding: clamp(18px, 3vw, 30px);
}

.quote-mark {
  font-size: 44px;
  line-height: 1;
  opacity: 0.12;
  margin: 0 0 6px 0;
  font-weight: 900;
  color: var(--brand-ink);
}

/* =========================================================
   CTA section
   ========================================================= */
.cta-sec {
  border-top: 1px solid var(--accent-line-22);
  background: linear-gradient(180deg, transparent, var(--accent-a08));
}

.cta {
  border-radius: calc(var(--radius) + 12px);
  overflow: hidden;
  border: 1px solid var(--accent-line-28);
  background: var(--surface-solid);
  box-shadow: var(--shadow-cta);
}

.cta-inner {
  display: grid;
  gap: var(--gap-2);
  padding: clamp(18px, 3vw, 30px);
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.cta-aside {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed var(--accent-line-42);
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--accent-a08);
}

/* =========================================================
   Cases Wall (BEM scoped)
   ========================================================= */
.cases-wall {
  background: linear-gradient(180deg, var(--accent-a10), transparent 70%);
}

.cases-wall__header {
  margin-bottom: var(--gap-3);
}

.cases-wall__grid {
  display: grid;
  gap: var(--gap-2);
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .cases-wall__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cases-wall__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cases-wall__card {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--accent-line-26);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cases-wall__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-hover);
}

.cases-wall__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--media-bg);
}

.cases-wall__body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 6px;
}

.cases-wall__title {
  margin: 0;
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
}

.cases-wall__meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
