/* Golden Village Tour Passport — mobile-first. System fonts only (no third-party requests). */
:root {
  --red: #7a1f1f;
  --red-dark: #5c1515;
  --gold: #e8b54a;
  --gold-soft: #f6e3b4;
  --paper: #fbf6ec;
  --card: #ffffff;
  --ink: #2a1d16;
  --muted: #6b5a4e;
  --line: #e7dccb;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC", "Noto Sans SC", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header — compact logo/title row, hamburger on mobile (WSI/CES pattern) */
.wsi-header-shell { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.wsi-header-inner { max-width: 1040px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.wsi-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.wsi-brand-logo { width: 36px; height: 36px; flex: none; }
.wsi-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.wsi-brand-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsi-brand-text span { font-size: 12px; color: var(--muted); }
.wsi-header-actions { display: flex; align-items: center; gap: 8px; }
.wsi-desktop-lang { display: none; }
.wsi-lang-select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.wsi-menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wsi-menu-icon, .wsi-menu-icon::before, .wsi-menu-icon::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.wsi-menu-icon::before { position: absolute; top: -6px; }
.wsi-menu-icon::after { position: absolute; top: 6px; }
.wsi-mobile-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(42, 29, 22, .08); padding: 8px 16px 16px; }
.wsi-mobile-panel[data-open="true"] { display: block; }
.wsi-mobile-lang { padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.wsi-mobile-lang .wsi-lang-select { width: 100%; padding: 10px; }
.wsi-mobile-panel nav a { display: block; padding: 12px 4px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.wsi-mobile-panel nav a[aria-current="page"] { color: var(--red); font-weight: 700; }
.wsi-desktop-nav { display: none; }

.status-strip { background: var(--gold-soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.status-strip .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.status-strip strong { color: var(--red-dark); }

/* Content */
.hero { background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 40px 0 44px; }
.hero h1 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
.hero .lead { font-size: 17px; margin: 0; max-width: 40em; color: #fbeedd; }
.hero-sub { padding: 28px 0 30px; }
.hero-sub h1 { font-size: 26px; }
.section { padding: 28px 0 36px; }
.section h2 { font-size: 18px; margin: 0 0 6px; }
.note { background: var(--card); border-left: 4px solid var(--gold); padding: 12px 14px; border-radius: 8px; color: var(--muted); font-size: 15px; }
.cards { display: grid; gap: 12px; margin: 16px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; text-decoration: none; color: var(--ink); box-shadow: inset 4px 0 0 var(--gold); }
.card-link h2::after { content: " →"; color: var(--red); }
.card-link:hover, .card-link:focus-visible { border-color: var(--red); }
.steps { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.step p { margin: 0; color: var(--muted); }
.stamp { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--red); color: var(--red); font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--gold-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.btn-primary { background: var(--red); color: #fff; }
.btn-ghost { border: 2px solid var(--red); color: var(--red); background: var(--card); }
.site-footer { border-top: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--muted); padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
.site-footer p { margin: 4px 0; }

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}
@media (min-width: 960px) {
  .wsi-menu-toggle, .wsi-mobile-panel, .wsi-mobile-panel[data-open="true"] { display: none; }
  .wsi-desktop-lang { display: block; }
  .wsi-desktop-nav { display: block; border-top: 1px solid var(--line); }
  .wsi-desktop-nav .wrap { display: flex; gap: 4px; flex-wrap: wrap; }
  .wsi-desktop-nav a { padding: 10px 12px; text-decoration: none; color: var(--ink); font-size: 15px; }
  .wsi-desktop-nav a[aria-current="page"] { color: var(--red); font-weight: 700; box-shadow: inset 0 -3px 0 var(--red); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
