:root { --ink: #1b1815; --paper: #f3eee5; --cinnabar: #8d2c23; --gold: #b89b69; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(24px, 6vw, 92px); color: white; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: flex; align-items: center; gap: 16px; letter-spacing: .2em; font: 12px/1 Arial, sans-serif; }
.brand img { width: 96px; filter: invert(1); }
nav { display: flex; gap: clamp(18px, 3vw, 42px); font-size: 14px; letter-spacing: .12em; }
nav a { position: relative; padding-block: 8px; }
nav a::after { content: ""; position: absolute; inset: auto 100% 0 0; height: 1px; background: white; transition: inset .25s ease; }
nav a:hover::after, nav a:focus-visible::after { inset-right: 0; }
.hero { position: relative; min-height: 780px; height: 92vh; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url('/images/store.png') 56% center / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,10,8,.88) 0%, rgba(14,10,8,.56) 43%, rgba(14,10,8,.1) 76%), linear-gradient(0deg, rgba(14,10,8,.35), transparent 50%); }
.hero-copy { position: relative; z-index: 2; display: flex; min-height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; padding: 110px clamp(24px, 9vw, 138px) 54px; }
.eyebrow { margin: 0 0 30px; color: #dcc9a7; letter-spacing: .28em; font: 11px/1.4 Arial, sans-serif; }
h1 { margin: 0; font-size: clamp(76px, 11vw, 154px); font-weight: 400; line-height: .95; letter-spacing: .06em; text-shadow: 0 3px 24px rgba(0,0,0,.25); }
.roman-title { margin: 20px 0 0 6px; text-transform: uppercase; letter-spacing: .28em; font: 16px/1.4 Georgia, serif; }
.intro { margin: 52px 0 28px; font-size: 21px; letter-spacing: .18em; }
.hero-link { display: inline-flex; gap: 26px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.72); font-size: 14px; letter-spacing: .14em; }
.hero-link span { font-size: 20px; transition: transform .2s ease; }
.hero-link:hover span { transform: translateX(6px); }
.collection-preview { padding: 110px clamp(24px, 7vw, 108px) 130px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px 56px; align-items: end; margin-bottom: 54px; }
.section-heading p { grid-column: 1; margin: 0; color: var(--cinnabar); letter-spacing: .25em; font: 11px/1 Arial, sans-serif; }
.section-heading h2 { grid-column: 1; margin: 10px 0 0; font-size: clamp(38px, 5vw, 64px); font-weight: 400; letter-spacing: .09em; }
.section-heading span { grid-column: 2; grid-row: 1 / 3; max-width: 480px; color: #635c52; font-size: 16px; line-height: 2; letter-spacing: .06em; }
.artifact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 42px); }
.artifact-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.artifact-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.artifact-card:hover img { transform: scale(1.035); }
.artifact-image span { position: absolute; right: 0; bottom: 0; padding: 9px 12px; color: white; background: var(--cinnabar); font: 11px/1 Arial, sans-serif; }
.artifact-image b { position: absolute; left: 18px; bottom: 17px; padding: 9px 12px; color: white; background: rgba(15,14,13,.78); opacity: 0; transform: translateY(6px); transition: .25s ease; letter-spacing: .1em; font: 11px/1 Arial, sans-serif; }
.artifact-card:hover .artifact-image b, .artifact-card:focus-visible .artifact-image b { opacity: 1; transform: translateY(0); }
.artifact-card > p { margin: 22px 0 9px; color: #8a7861; text-transform: uppercase; letter-spacing: .14em; font: 10px/1.4 Arial, sans-serif; }
.artifact-card h3 { margin: 0; font-size: 19px; font-weight: 400; line-height: 1.6; letter-spacing: .04em; }
.card-rule { width: 30px; height: 1px; margin: 20px 0 15px; background: var(--cinnabar); }
.artifact-card .description { margin: 0; color: #625a50; text-transform: none; letter-spacing: .04em; font: 14px/1.85 "Noto Serif TC", "Songti TC", "PMingLiU", serif; }

.about { display: grid; grid-template-columns: minmax(220px, .7fr) 2fr; min-height: 650px; background: #1d1a17; color: #eee5d6; }
.seal { display: grid; align-content: center; justify-content: center; gap: 4px; min-height: 100%; padding: 50px; background: var(--cinnabar); color: #f4e8d4; }
.seal span { display: block; font-size: clamp(64px, 7vw, 104px); line-height: .94; font-weight: 600; }
.about-copy { align-self: center; padding: 90px clamp(36px, 8vw, 130px); }
.section-kicker { margin: 0 0 24px; color: var(--gold); letter-spacing: .25em; font: 11px/1 Arial, sans-serif; }
.about h2, .visit h2 { margin: 0; font-size: clamp(46px, 6.4vw, 84px); font-weight: 400; line-height: 1.25; letter-spacing: .08em; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; max-width: 820px; margin-top: 50px; }
.about-columns p { margin: 0; color: #cfc4b5; font-size: 15px; line-height: 2.05; letter-spacing: .06em; }

.visit { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 640px; background: #e6ddce; }
.visit-photo { min-height: 560px; overflow: hidden; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visit-copy { align-self: center; padding: 72px clamp(32px, 6vw, 92px); }
.visit .section-kicker { color: var(--cinnabar); }
.visit h2 { margin-bottom: 40px; font-size: clamp(42px, 5vw, 68px); }
address { display: flex; flex-direction: column; gap: 8px; padding: 26px 0; border-block: 1px solid rgba(27,24,21,.2); font-style: normal; }
address span { color: #746a5e; font-size: 13px; letter-spacing: .18em; }
address strong { font-size: 24px; font-weight: 400; letter-spacing: .08em; }
dl { margin: 26px 0 34px; }
dl div { display: grid; grid-template-columns: 76px 1fr; margin: 11px 0; }
dt { color: #746a5e; font-size: 13px; letter-spacing: .15em; }
dd { margin: 0; font: 16px/1.4 Georgia, serif; letter-spacing: .06em; }
.outline-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 200px; padding: 14px 18px; border: 1px solid #80766a; font-size: 13px; letter-spacing: .1em; transition: .2s ease; }
.outline-link:hover { background: var(--ink); color: white; }
footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 28px; padding: 34px clamp(24px, 6vw, 92px); background: #0f0e0d; color: #aaa095; }
footer p { margin: 0; font: 10px/1.6 Arial, sans-serif; letter-spacing: .14em; text-align: center; }
footer p:last-child { text-align: right; }
.footer-brand img { width: 86px; filter: invert(1); opacity: .82; }

.inner-page { background: #eee7dc; }
.inner-header { position: relative; background: #151311; }
.artifact-detail, .journal-page { min-height: 72vh; }
.detail-intro, .inner-hero { padding: 110px clamp(24px, 9vw, 140px) 82px; background: #1d1a17; color: #eee5d6; }
.back-link { display: inline-block; margin-bottom: 56px; color: #cdb991; font: 12px/1 Arial, sans-serif; letter-spacing: .12em; }
.detail-intro h1, .inner-hero h1 { max-width: 980px; margin: 0; font-size: clamp(44px, 7vw, 88px); font-weight: 400; line-height: 1.25; letter-spacing: .06em; }
.detail-text { max-width: 900px; margin: 42px 0 0; color: #cfc4b5; font-size: 16px; line-height: 2.15; letter-spacing: .05em; }
.gallery-section { padding: 90px clamp(24px, 7vw, 108px) 120px; }
.gallery-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 42px; }
.gallery-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); font-weight: 400; }
.gallery-heading > p { max-width: 540px; margin: 0; color: #655e54; line-height: 1.9; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-item { position: relative; aspect-ratio: 4 / 5; min-height: 0; padding: 0; overflow: hidden; border: 0; background: #191713; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.gallery-item:hover img { filter: brightness(.78); }
.gallery-item span { position: absolute; inset: auto 0 0; padding: 18px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.78)); text-align: left; letter-spacing: .09em; font: 12px/1.4 Arial, sans-serif; }
.lightbox { width: min(96vw, 1220px); height: min(92vh, 900px); padding: 0; overflow: hidden; border: 0; background: #0b0a09; color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { display: grid; height: 100%; margin: 0; place-items: center; overflow: hidden; }
.lightbox figure img { max-width: 88%; max-height: 82%; object-fit: contain; transition: transform .35s ease; }
.lightbox figcaption { position: absolute; inset: auto 70px 20px; color: #d7cab6; text-align: center; font-size: 13px; letter-spacing: .08em; }
.lightbox button { position: absolute; z-index: 2; border: 0; color: white; background: rgba(20,18,16,.72); cursor: pointer; }
.lightbox-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 50px; height: 70px; transform: translateY(-50%); font-size: 42px; }
.lightbox-prev { left: 12px; }.lightbox-next { right: 12px; }
.no-script { padding: 160px 24px; text-align: center; }

.inner-hero > p:last-child { max-width: 680px; margin: 28px 0 0; color: #cfc4b5; font-size: 17px; line-height: 1.8; }
.post-list { max-width: 1180px; margin: 0 auto; padding: 80px 24px 120px; }
.post-list article { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 42px 0; border-bottom: 1px solid rgba(27,24,21,.18); }
.post-list time { color: var(--cinnabar); letter-spacing: .12em; font: 12px/1.5 Arial, sans-serif; }
.post-category { margin: 0 0 12px; color: #8a7861; text-transform: uppercase; letter-spacing: .16em; font: 10px/1.4 Arial, sans-serif; }
.post-list h2 { max-width: 820px; margin: 0 0 16px; font-size: clamp(24px, 3vw, 38px); font-weight: 400; line-height: 1.45; }
.post-list article p:not(.post-category) { max-width: 760px; margin: 0; color: #625a50; line-height: 1.9; }
.post-list article a, details summary { display: inline-block; margin-top: 18px; color: var(--cinnabar); cursor: pointer; font-size: 13px; letter-spacing: .08em; }
details p { padding-top: 16px; }

.media-post-list article { grid-template-columns: minmax(220px, 330px) 1fr; align-items: center; }
.media-post-list time { display: block; margin-bottom: 12px; }
.post-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #171512; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.post-cover:hover img { transform: scale(1.035); filter: brightness(.82); }
.post-cover span { position: absolute; right: 12px; bottom: 12px; padding: 8px 11px; color: white; background: rgba(20,18,16,.82); letter-spacing: .08em; font: 11px/1 Arial, sans-serif; }
.read-post { display: inline-block; margin-top: 19px; color: var(--cinnabar); font-size: 13px; letter-spacing: .08em; }
.journal-post { min-height: 75vh; }
.post-detail-header { padding: 100px clamp(24px, 9vw, 140px) 85px; background: #1d1a17; color: #eee5d6; }
.post-detail-header h1 { max-width: 1050px; margin: 0; font-size: clamp(42px, 6vw, 76px); font-weight: 400; line-height: 1.3; letter-spacing: .04em; }
.post-detail-header > p:not(.section-kicker) { max-width: 850px; margin: 35px 0 0; color: #cfc4b5; font-size: 17px; line-height: 2; }
.post-source { margin-top: 34px; border-color: #8d806d; }
.post-media-section { padding: 86px clamp(20px, 6vw, 92px) 120px; }
.post-media-heading { margin: 0 0 40px; }
.post-media-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); font-weight: 400; }
.post-gallery { columns: 3 280px; column-gap: 18px; }
.post-media { position: relative; width: 100%; margin: 0 0 18px; padding: 0; overflow: hidden; border: 0; background: #171512; cursor: zoom-in; break-inside: avoid; }
.post-media img { width: 100%; height: auto; transition: filter .25s ease, transform .35s ease; }
.post-media:hover img { filter: brightness(.8); transform: scale(1.015); }
.post-media span { position: absolute; right: 8px; bottom: 8px; padding: 7px 9px; color: white; background: rgba(20,18,16,.78); font: 10px/1 Arial, sans-serif; }
.video-frame { position: relative; width: min(100%, 1000px); aspect-ratio: 16 / 9; margin: 0 auto 52px; background: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding-top: 20px; }
  .brand span { display: none; }
  nav { max-width: 260px; justify-content: flex-end; flex-wrap: wrap; gap: 5px 18px; font-size: 12px; }
  .hero { min-height: 680px; height: 88vh; }
  .hero-image { background-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(14,10,8,.88), rgba(14,10,8,.3)); }
  .hero-copy { padding-top: 130px; }
  .roman-title { font-size: 12px; }
  .section-heading { display: block; }
  .section-heading span { display: block; margin-top: 18px; }
  .artifact-grid { grid-template-columns: 1fr; gap: 48px; }
  .artifact-image b { opacity: 1; transform: none; }
  .about { grid-template-columns: 1fr; }
  .seal { grid-template-columns: repeat(3, auto); min-height: auto; padding: 42px 24px; gap: 8px; }
  .seal span { font-size: 58px; }
  .about-copy { padding: 70px 24px 84px; }
  .about-columns { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .visit { grid-template-columns: 1fr; }
  .visit-photo { min-height: 310px; }
  .visit-copy { padding: 68px 24px 76px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer p:last-child { text-align: center; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { min-height: 0; }
  .post-list article { grid-template-columns: 1fr; gap: 12px; }
  .media-post-list article { gap: 24px; }
  .post-gallery { columns: 2 150px; column-gap: 10px; }
  .post-media { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
