:root {
  color-scheme: light;
  --ink: #251a17;
  --muted: #67564b;
  --paper: #fbf7ef;
  --white: #fffcf6;
  --maroon: #4c1020;
  --wine: #681d2b;
  --night: #300c16;
  --gold: #e7bd6f;
  --line: #e2d5c1;
  --serif: Georgia, "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
img, video { display: block; width: 100%; }
img { height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a9560c; outline-offset: 4px; }
.shell { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 12px; padding: 10px 16px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { color: #fff1dc; background: #3a0b18; border-bottom: 1px solid #a3704b66; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand img { width: 44px; border-radius: 50%; border: 1px solid #d8a45f; }
.brand span { display: grid; line-height: 1.22; }
.brand strong { font-size: 1.07rem; letter-spacing: .08em; }
.brand small { color: #eac394; font-size: .82rem; }
.site-nav, .languages { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-nav a, .languages a { font-size: .9rem; text-decoration: none; }
.site-nav a:hover, .languages a:hover { text-decoration: underline; text-underline-offset: 4px; }
.languages { gap: 6px; }
.languages a { display: inline-flex; padding: .38rem .64rem; border-radius: 5px; white-space: nowrap; }
.languages a[aria-current] { background: #e6bb6d; color: #36151c; font-weight: 700; }
.hero { border-bottom: 5px solid #ba883e; color: #fff3dd; background: radial-gradient(ellipse at 69% 42%, #762337 0, #531223 48%, #360b18 100%); overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr minmax(340px, .9fr); align-items: center; gap: clamp(28px, 5vw, 82px); padding-block: clamp(44px, 6vw, 93px); }
.hero-inner::before { content: ""; position: absolute; pointer-events: none; top: -170px; right: -115px; width: 700px; height: 700px; border: 1px solid #e6bb6d28; border-radius: 50%; }
.hero-copy, .hero-art { position: relative; }
.eyebrow { font-size: .88rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 750; color: #86531d; }
.hero .eyebrow, .visit .eyebrow { color: #f2c77f; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 25px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-end: 10px; }
.hero-name { margin-top: 22px; }
.hero h1 { font: 500 clamp(3.2rem, 6.4vw, 6rem)/1.03 var(--serif); letter-spacing: -.045em; }
:lang(zh-Hant) .hero h1 { letter-spacing: .06em; font-size: clamp(4.2rem, 8.1vw, 7.1rem); }
.hero-name > p { color: #f2cb8b; font: 400 clamp(1.35rem, 2.4vw, 2.12rem)/1.2 var(--serif); margin-top: 11px; }
.hero-lead { margin-top: 29px; font: 500 clamp(1.2rem, 2vw, 1.65rem)/1.35 var(--serif); }
.hero-intro { color: #f6e1d0; max-width: 42ch; margin-top: 10px; }
.hero-art { width: 100%; max-width: 510px; justify-self: end; padding: 10px; border: 1px solid #e0ac658f; background: #5c1f2c; box-shadow: 0 20px 55px #26071070; }
.hero-art img { aspect-ratio: 1; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 17px; border-radius: 4px; font-weight: 700; font-size: .94rem; text-decoration: none; text-align: center; border: 1px solid transparent; transition: background .18s ease, color .18s ease; }
.gold { background: #e7bd6f; color: #35141a; }
.gold:hover { background: #f6d697; }
.outline { border-color: #dcbc9a; color: #fff3df; }
.outline:hover { background: #f3dcc5; color: var(--night); }
.secondary { color: #68202e; border-color: #c4a68d; background: #fff9ee; }
.secondary:hover { background: #f1dfc4; }
.band { padding-block: clamp(57px, 7vw, 102px); }
h2 { color: var(--maroon); font: 500 clamp(2.15rem, 4vw, 3.7rem)/1.14 var(--serif); letter-spacing: -.024em; }
.eyebrow + h2 { margin-top: 8px; }
.lede { color: var(--muted); font-size: 1.06rem; max-width: 67ch; margin-top: 15px; }
.about-inner { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr); align-items: center; gap: clamp(38px, 8vw, 112px); }
.about-art { max-width: 450px; }
.about-art img { border-radius: 3px; }
.about-art figcaption { color: var(--muted); margin-top: 9px; font-size: .84rem; }
.halls { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.halls > div { border-top: 1px solid #bb8d56; padding-top: 15px; }
.halls h3 { color: var(--maroon); font: 600 1.17rem/1.35 var(--serif); margin-bottom: 6px; }
.halls p { color: var(--muted); }
.events { background: #f1e7d9; border-block: 1px solid var(--line); }
.section-heading { display: flex; gap: 25px; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-heading .button { flex: 0 0 auto; }
.event-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.event-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid #dfcdb2; border-radius: 5px; overflow: hidden; }
.event-image, .event-emblem { display: block; aspect-ratio: 1.34; background: #e8d8bd; overflow: hidden; }
.event-image img { height: 100%; object-fit: cover; object-position: center 27%; transition: transform .24s ease; }
.event-image:hover img { transform: scale(1.035); }
.event-emblem { display: grid; place-items: center; background: radial-gradient(circle, #813046, #4b1123); color: #eac27a; }
.event-emblem span { border: 1px solid #c5975a; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font: 2.1rem var(--serif); }
.event-body { display: flex; flex-direction: column; flex: 1; padding: 17px 17px 19px; }
.event-date { color: #805024; font-weight: 700; font-size: .85rem; }
.event-card h3 { margin-top: 7px; color: var(--maroon); font: 600 1.31rem/1.2 var(--serif); }
.event-card p { margin-top: 10px; margin-bottom: 18px; color: var(--muted); }
.event-links { display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: auto; }
.event-links a { color: #6d2030; text-underline-offset: 3px; font-size: .88rem; font-weight: 650; }
.archive { margin-top: 20px; border-top: 1px solid #c9b59a; }
.archive summary { color: #641e2c; cursor: pointer; width: fit-content; padding: 14px 3px; font-weight: 750; }
.archive[open] .event-grid { margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid figure { min-width: 0; }
.gallery-grid a { display: block; }
.gallery-grid img, .gallery-grid video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: var(--night); }
.gallery-grid video { object-fit: contain; }
.gallery-grid figcaption { overflow-wrap: anywhere; margin-top: 8px; color: var(--muted); font-weight: 600; }
.visit { background: #4a1220; color: #fff0df; border-top: 3px solid #b98343; }
.visit h2 { color: #fff0df; }
.visit h3 { margin-top: 20px; font-size: 1.17rem; }
.visit p:not(.eyebrow) { margin-top: 9px; max-width: 54ch; }
.visit-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 6vw, 82px); }
.address-card { background: #fff7eb; color: var(--ink); border: 1px solid #cba171; border-radius: 5px; padding: clamp(22px, 4vw, 40px); }
.address-card .eyebrow { color: #86531d; }
.address-card h3 { color: var(--maroon); margin: 8px 0 12px; }
.address-card address { font-style: normal; }
.site-footer { background: #310c17; color: #f7e4d0; }
.footer-inner { display: flex; padding-block: 24px; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner small { color: #e0c1a5; display: block; }
.footer-inner div { display: flex; gap: 16px; align-items: center; }
.footer-inner a { font-size: .9rem; text-underline-offset: 3px; }
.lightbox { padding: 44px 10px 10px; border: none; background: #260e14; border-radius: 6px; max-width: 95vw; max-height: 94vh; color: white; }
.lightbox::backdrop { background: #17090ade; }
.lightbox form { position: absolute; right: 10px; top: 8px; }
.lightbox button { padding: 5px 12px; border-radius: 4px; background: #fff4e3; color: var(--night); border: none; font: inherit; cursor: pointer; }
.lightbox img { width: auto; max-width: min(88vw, 1200px); max-height: calc(94vh - 60px); object-fit: contain; }
@media (max-width: 1040px) {
  .shell { width: calc(100% - 60px); }
  .header-inner { gap: 13px; }
  .site-nav { gap: 10px; }
  .site-nav a, .languages a { font-size: .82rem; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: 11px; gap: 8px; }
  .site-nav { order: 3; flex: 1 0 100%; justify-content: space-between; border-top: 1px solid #a3704b66; padding-top: 8px; }
  .languages a { padding-inline: .35rem; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 38px 30px; gap: 28px; }
  .hero-art { justify-self: center; max-width: 430px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.5rem); }
  .hero-name { margin-top: 17px; }
  .hero-lead { margin-top: 22px; }
  .about-inner, .visit-inner { grid-template-columns: 1fr; }
  .about-art { order: 1; width: 100%; max-width: 380px; margin-inline: auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:last-child { grid-column: 1 / -1; }
  .gallery-grid video { aspect-ratio: 4/3; }
}
@media (max-width: 460px) {
  .brand img { width: 36px; height: 36px; }
  .brand { gap: 6px; }
  .brand strong { font-size: .96rem; }
  .brand small { font-size: .75rem; }
  .site-nav { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px 12px; }
  .site-nav a { font-size: .8rem; }
  .event-grid, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .event-image, .event-emblem { aspect-ratio: 1.64; }
  .about-inner { gap: 22px; }
  .halls { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
