:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-soft: #f2ede6;
  --text: #26231f;
  --muted: #625c56;
  --line: rgba(38, 35, 31, 0.12);
  --dark: #181715;
  --gold: #b09858;
  --gold-deep: #9d8146;
  --shadow: 0 22px 60px rgba(17, 14, 12, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(176, 152, 88, 0.18);
  backdrop-filter: blur(10px);
}

.header-shell {
  width: min(1260px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  flex: 0 0 auto;
}

.logo-desktop {
  height: 42px;
  width: auto;
}

.logo-mobile {
  display: none;
  height: 34px;
  width: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.97rem;
}

.site-nav a,
.mobile-nav a {
  position: relative;
  color: #46403a;
}

.site-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.mobile-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-trigger span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-trigger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-trigger.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-trigger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-nav a {
  padding: 6px 0;
  width: fit-content;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - 83px);
  overflow: hidden;
  background: var(--dark);
}

.hero-media,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 14, 0.72) 0%, rgba(18, 16, 14, 0.52) 40%, rgba(18, 16, 14, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 120px;
  color: #fff9f1;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-content h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.hero-lead,
.page-hero p,
.two-column p,
.info-card p,
.site-footer p,
.contact-item p {
  color: rgba(255, 249, 241, 0.88);
}

.hero-lead {
  max-width: 780px;
  margin-top: 24px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-deep);
}

.btn-secondary {
  border-color: rgba(255, 249, 241, 0.3);
  color: #fff9f1;
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--surface-soft);
}

.section-darkband {
  background: linear-gradient(180deg, #1e1b17 0%, #161411 100%);
  color: #fff6ea;
}

.section-darkband p,
.section-darkband li {
  color: rgba(255, 246, 234, 0.78);
}

.page-hero {
  padding: 92px 0 46px;
  text-align: center;
}

.page-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 30px;
}

.section h2,
.site-footer h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.35;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.media-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-card-dark {
  background: rgba(255, 255, 255, 0.04);
}

.card-grid {
  display: grid;
  gap: 22px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.form-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card-no {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.feature-list,
.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-list li,
.mini-list li {
  position: relative;
  padding-left: 18px;
  color: inherit;
}

.feature-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.feature-list-light li,
.contact-item a,
.contact-item p,
.two-column p,
.info-card p,
.site-footer p {
  color: var(--muted);
}

.contact-layout {
  align-items: start;
}

.contact-item {
  margin-top: 20px;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
}

.form-card form {
  display: grid;
  gap: 14px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.form-feedback {
  margin-top: 14px;
  color: var(--gold-deep);
}

.site-footer {
  padding: 64px 0 28px;
  background: #151311;
  color: #f4ede2;
}

.site-footer a,
.site-footer p {
  color: rgba(244, 237, 226, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 30px;
}

.footer-title {
  margin-bottom: 14px;
  color: var(--gold);
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 190px;
  height: auto;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .menu-trigger {
    display: block;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .two-column,
  .three-up,
  .two-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 110px 0 88px;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-shell {
    min-height: 74px;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 96px 0 72px;
  }

  .page-hero {
    padding-top: 68px;
  }

  .section {
    padding: 68px 0;
  }

  .info-card,
  .form-card {
    padding: 22px;
  }
}
