:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #163d40;
  --muted: #476062;
  --line: #ddd7c8;
  --gold: #ead29a;
  --display: "Noto Serif TC", "PMingLiU", "Songti TC", Georgia, serif;
  --body: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--body); }
a { color: #20595a; text-underline-offset: 4px; }
a:hover { color: #0e393a; }
:focus-visible { outline: 3px solid #a36427; outline-offset: 4px; }
.frame { width: min(1170px, calc(100% - clamp(36px, 8vw, 112px))); margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.22; }
.skip { position: absolute; left: 16px; top: 8px; z-index: 1; padding: 8px 14px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.guide-header { border-bottom: 1px solid var(--line); }
.mast, .mast nav { display: flex; align-items: center; gap: clamp(9px, 2vw, 24px); }
.mast { min-height: 70px; justify-content: space-between; }
.mast a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand { font: 700 18px/1.3 Georgia, serif; letter-spacing: .11em; white-space: nowrap; }
.brand span { margin-left: .35em; }
.mast nav { font-size: 13px; font-weight: 700; }
.line-nav { padding-inline: 12px; border: 1px solid #b8c6bd; border-radius: 4px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 25px 0 18px; color: var(--muted); font-size: 12px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 395px; overflow: hidden; background: #073d43; color: #fff9ef; border-radius: 8px; }
.intro { display: grid; align-content: center; justify-items: start; padding: clamp(26px, 4vw, 56px); }
.place { color: var(--gold); font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; }
h1 { font-size: clamp(39px, 5.25vw, 72px); letter-spacing: -.035em; }
.lead { max-width: 30em; margin-top: 18px; color: #edf4ec; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 44px; padding: 8px 14px; border: 1px solid #8baaab; border-radius: 4px; color: #fff9ef; font-size: 13px; font-weight: 700; }
.button:hover { background: #ffffff1a; color: #fff9ef; }
.button:focus-visible { outline-color: #efd7a0; }
.primary, .gold { background: var(--gold); color: #173d40; border-color: var(--gold); }
.primary:hover, .gold:hover { background: #f8e5b9; color: #173d40; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; color: #fff; background: #163436e8; border-radius: 3px; font-size: 11px; }
.living, .faq { margin: clamp(38px, 5vw, 76px) 0; }
h2 { font-size: clamp(28px, 3.3vw, 45px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
.situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.situations article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.4vw, 29px); background: #fffdf7; border: 1px solid var(--line); border-top: 3px solid #ac8b55; border-radius: 5px; }
.situations p, .checks p, .faq p { color: var(--muted); margin: 11px 0 15px; }
.situations a { font-weight: 700; margin-top: auto; }
.checks, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(18px, 4vw, 50px); padding: clamp(22px, 4vw, 48px); border-radius: 8px; }
.checks { background: #e8eee6; }
.checks p { margin-bottom: 0; }
.check-links { display: grid; gap: 10px; }
.check-links a { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid #b9c8bd; text-decoration: none; }
.check-links a:hover span { text-decoration: underline; }
.check-links span { font-size: 13px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 6px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.faq details a { display: inline-block; margin-bottom: 6px; }
.contact { background: #073d43; color: #fff9ef; }
.contact-name { color: var(--gold); margin-bottom: 8px; }
.contact h2 { font-size: clamp(27px, 3.1vw, 42px); }
.contact p:last-child { margin-top: 12px; color: #edf4ec; }
.contact .actions { justify-content: flex-end; margin: 0; }
.footer { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-block: 24px; font-size: 13px; }
@media (max-width: 760px) {
  .mast { min-height: 60px; }
  .mast a { min-height: 44px; }
  .brand { font-size: 14px; letter-spacing: .08em; }
  .project-nav { display: none !important; }
  .breadcrumb { margin: 14px 0 12px; }
  .hero, .situations, .checks, .contact { grid-template-columns: minmax(0, 1fr); }
  .intro { padding: 22px; }
  .hero-photo { aspect-ratio: 16 / 8.3; }
  .lead { font-size: 14px; margin-top: 12px; }
  .place { font-size: 11px; margin-bottom: 9px; }
  .actions { margin-top: 14px; }
  .situations { gap: 10px; }
  .check-links a { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact .actions { justify-content: flex-start; }
}
