:root {
  color-scheme: light;
  --red: #b42329;
  --deep: #6e1720;
  --text: #30262a;
  --muted: #645358;
  --paper: #faf5ed;
  --line: #dfd0cc;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: anywhere; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: #982127; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #b42329; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: .7rem; z-index: 2; padding: .5rem .8rem; background: white; }
.skip:not(:focus) { clip-path: inset(100%); }
.site-header { border-top: .3rem solid var(--red); border-bottom: 1px solid var(--line); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(8.5rem, 23vw, 13rem); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; }
.site-header nav a { min-height: 44px; display: flex; align-items: center; padding: .3rem .5rem; color: var(--text); text-decoration: none; }
.site-header nav a:hover, .site-header nav [aria-current] { background: var(--paper); text-decoration: underline; }
.site-header .desktop { display: none; }
.mobile { width: 100%; }
.mobile nav { display: grid; border-top: 1px solid var(--line); }
summary { min-height: 44px; width: fit-content; cursor: pointer; font-weight: 700; padding: .55rem .3rem; }
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.home-hero { background: var(--deep); color: white; }
.headline { display: grid; gap: 1.25rem; align-items: center; padding-block: clamp(1.45rem, 5vw, 3.7rem); }
.headline > * { min-width: 0; }
.headline img { width: 100%; max-height: 25rem; object-fit: cover; border-radius: .35rem; }
.headline p { margin: .75rem 0 0; max-width: 47rem; color: var(--muted); }
.home-hero p { color: #fbe3dc; }
.home-hero :focus-visible { outline-color: #f7d4ac; }
.button { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1rem; padding: .45rem .9rem; color: #442126; background: #ffe3c7; font-weight: 750; border-radius: .25rem; }
h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0; font-size: clamp(1.9rem, 4.9vw, 3.6rem); }
h2 { margin: 0 0 .7rem; font-size: clamp(1.3rem, 2.8vw, 2rem); }
h3 { margin: 0 0 .4rem; }
.content { min-width: 0; padding-block: 1.6rem 3.45rem; }
.content section + section { margin-top: clamp(1.8rem, 5vw, 3.3rem); }
.content p { max-width: 73ch; }
.cards, .gallery, .directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; }
.cards article, .gallery figure { margin: 0; min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--paper); }
.cards article { border-top: 3px solid var(--red); }
.cards p { color: var(--muted); margin: 0; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; background: white; margin-bottom: .6rem; }
.gallery figure[id], section[id] { scroll-margin-top: 1rem; }
.gallery figure:target { outline: 2px solid var(--red); }
.directory { padding: 0; margin: .85rem 0; list-style: none; }
.directory a { display: flex; align-items: center; min-height: 44px; height: 100%; padding: .5rem .75rem; border: 1px solid var(--line); border-inline-start: 3px solid var(--red); background: var(--paper); }
.trail { margin-bottom: .85rem; }
.news-list { padding: 0; margin: 0; list-style: none; }
.news-list li { padding-block: .85rem; border-bottom: 1px solid var(--line); }
.news-list p { margin: .3rem 0 0; }
time, .date { color: var(--muted); font-variant-numeric: tabular-nums; }
.faq { max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); padding-block: .3rem; }
.faq p { margin: .35rem 0 .65rem; color: var(--muted); }
.site-footer { background: var(--deep); color: white; padding-block: 1.25rem; }
.site-footer a { color: white; }
.base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 48rem) {
  .site-header .desktop { display: flex; }
  .mobile { display: none; }
  .home-hero .headline { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
