:root {
    --ink: #1e293b;
    --muted: #475569;
    --sea: #0f4c81;
    --jade: #115e59;
    --terra: #b35a3b;
    --gold: #d97706;
    --bg: #f8fafc;
    --surface: #ffffff;
    --line: #e2e8f0;
    --shadow: 0 10px 40px -10px rgba(15, 76, 129, 0.15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: 'Be Vietnam Pro', 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--terra), #22b8cf); box-shadow: 0 2px 10px rgba(217,119,6,.35); pointer-events: none; }
.nav { max-width: 1580px; margin: auto; min-height: 88px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.logo { width: 56px; height: 56px; background: var(--sea); color: #fff; border-radius: 12px; display: grid; place-items: center; font-weight: bold; font-size: 20px; box-shadow: 0 4px 15px rgba(15,76,129,0.3); }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; font-size: 20px; font-weight: 800; color: var(--sea); white-space: nowrap; }
.brand b { display: block; white-space: nowrap; line-height: 1.2; }
.brand small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.navlinks { display: flex; flex: 1 1 auto; justify-content: center; gap: clamp(16px, 1.65vw, 30px); font-weight: 700; font-size: clamp(14px, .9vw, 17px); color: var(--muted); margin-left: auto; white-space: nowrap; }
.navlinks a, .navlinks button { border: 0; background: none; cursor: pointer; transition: color 0.2s; padding: 12px 0; white-space: nowrap; }
.navlinks a:hover, .navlinks button:hover, .navlinks a.active { color: var(--sea); }
.navlinks a { position: relative; }
.navlinks a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 3px; height: 3px; border-radius: 4px; background: var(--terra); transition: left .28s, right .28s; }
.navlinks a:hover::after, .navlinks a.active::after { left: 0; right: 0; }
.actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.pill { height: 52px; padding: 0 20px; border: 1px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: 16px; transition: 0.2s; }
.pill svg { width: 20px; height: 20px; }
.pill:hover { border-color: var(--sea); color: var(--sea); }
.lang-switcher { height: 52px; display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #f1f5f9; }
.lang-switcher a { height: 42px; min-width: 48px; display: grid; place-items: center; border-radius: 10px; font-size: 15px; font-weight: 800; color: var(--muted); transition: 0.2s; }
.lang-switcher a.active { background: #fff; color: var(--sea); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* Hero */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: var(--sea); overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -100px; top: -160px; animation: orbitFloat 12s ease-in-out infinite; }
.hero::after { width: 230px; height: 230px; left: 42%; bottom: -150px; animation: orbitFloat 9s 1s ease-in-out infinite reverse; }
.hero-bg { position: absolute; inset: 0; background: url('/images/museum-hero.jpg') center/cover; opacity: 0.35; mix-blend-mode: luminosity; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,76,129,0.95) 0%, rgba(17,94,89,0.7) 100%); }
.hero-in { position: relative; max-width: 1400px; width: 100%; margin: auto; padding: 80px 32px; z-index: 2; color: #fff; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 16px; letter-spacing: 3px; text-transform: uppercase; font-weight: 800; color: var(--gold); margin-bottom: 24px; }
.hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1.15; margin: 0 0 24px; font-weight: 800; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero p { font-size: 22px; line-height: 1.6; opacity: 0.9; margin: 0 0 48px; max-width: 600px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { height: 64px; padding: 0 36px; border-radius: 16px; border: 0; font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 30px rgba(179,90,59,0.3); }
.btn-primary:hover { background: #9a4c30; }
.btn-outline { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.6); color: #fff; backdrop-filter: blur(8px); }
.btn-outline:hover { background: #fff; color: var(--sea); }

.hero-visual { position: relative; height: 460px; border-radius: 32px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.4); border: 4px solid rgba(255,255,255,0.15); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual img { animation: heroImageBreath 12s ease-in-out infinite alternate; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,76,129,0.8), transparent); }

/* Sections */
section { max-width: 1400px; margin: 0 auto; padding: 100px 32px; }
.head { margin-bottom: 48px; max-width: 800px; }
.head h2 { font-size: 42px; margin: 12px 0 0; color: var(--sea); font-weight: 800; letter-spacing: -1px; }
.head p { font-size: 20px; color: var(--muted); margin-top: 16px; }

/* Bento Quick Grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 24px; margin-top: -80px; position: relative; z-index: 10; padding: 0 32px; max-width: 1400px; margin-left: auto; margin-right: auto; }
.bento-card { border-radius: 28px; background: #fff; box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border: 0; text-align: left; cursor: pointer; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(15,76,129,0.2); }
.bento-card::after { content: ''; position: absolute; z-index: 3; top: -120%; left: -45%; width: 42%; height: 300%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: rotate(22deg); transition: left .75s ease; pointer-events: none; }
.bento-card:hover::after { left: 125%; }
.bento-card.big { grid-column: span 2; grid-row: span 2; padding: 48px; }
.bento-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform 0.7s; background-color: var(--sea); }
.bento-card:hover .bento-bg { transform: scale(1.05); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,76,129,0.95) 0%, rgba(15,76,129,0.3) 70%, transparent 100%); z-index: 1; }
.bento-card.big .bento-overlay { background: linear-gradient(to top, rgba(17,94,89,0.95) 0%, rgba(17,94,89,0.5) 100%); }
.bento-content { position: relative; z-index: 2; color: #fff; }
.bento-icon { font-size: 56px; margin-bottom: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.bento-card.big .bento-icon { font-size: 80px; }
.bento-title { font-size: 26px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.bento-card.big .bento-title { font-size: 46px; }
.bento-desc { font-size: 18px; opacity: 0.9; line-height: 1.5; margin: 0; }
.bento-card.big .bento-desc { font-size: 22px; }

/* Artifact Grid */
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.art-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-height: 410px; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.3s; background: var(--surface); }
.art-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(15,76,129,0.2); }
.art-img { position: relative; height: 235px; flex: 0 0 235px; z-index: 0; padding: 14px; background: linear-gradient(145deg, #eef3f7, #dde7ef); overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 15px; transition: transform .45s ease; }
.art-card:hover .art-img img { transform: scale(1.035); }
.art-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 80px; opacity: 0.5; }
.art-overlay { display: none; }
.art-body { position: relative; z-index: 2; padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; color: var(--ink); background: #fff; }
.art-cat { font-size: 12px; font-weight: 800; color: var(--terra); letter-spacing: 1px; margin-bottom: 9px; }
.art-title { font-size: 21px; font-weight: 800; margin: 0 0 9px; line-height: 1.35; color: var(--sea); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { font-size: 14px; color: var(--muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.art-more { margin-top: auto; color: var(--sea); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }

/* Search Zone */
.search-zone { background: url('/images/pattern.svg') center, linear-gradient(135deg, var(--sea), var(--jade)); padding: 120px 32px; color: #fff; text-align: center; }
.search-inner { max-width: 900px; margin: auto; }
.search-inner h2 { font-size: 48px; font-weight: 800; margin: 0 0 16px; }
.search-inner p { font-size: 22px; opacity: 0.85; margin: 0 0 48px; }
.searchbar { display: flex; background: #fff; padding: 12px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); margin: 0 auto; }
.searchbar input { flex: 1; border: 0; outline: none; padding: 0 24px; font-size: 22px; color: var(--ink); }
.searchbar button { background: var(--terra); color: #fff; border: 0; padding: 0 48px; height: 72px; border-radius: 16px; font-size: 20px; font-weight: 800; cursor: pointer; }
.advanced-search { margin-top: 18px; padding: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); text-align: left; }
.advanced-search summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.filter-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.filter-grid input, .filter-grid select { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; outline: none; }
.filter-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.clear-search { height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.results { max-width: 1400px; margin: 40px auto 0; display: none; text-align: left; }
.results.show { display: grid; }
.search-summary { max-width: 1400px; margin: 34px auto 0; display: none; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-weight: 700; }
.search-summary.show { display: flex; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pagination button { min-width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 11px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; cursor: pointer; }
.pagination button.active { background: var(--terra); border-color: var(--terra); }

/* Types (Themes) */
.types { display: flex; flex-wrap: wrap; gap: 16px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 28px; font-size: 18px; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; transition: 0.2s; }
.type:hover { border-color: var(--sea); color: var(--sea); transform: translateY(-2px); }
.type b { color: var(--gold); margin-left: 12px; font-size: 20px; }
.discovery-panel { position: relative; overflow: hidden; border-radius: 34px; padding: 46px; background: linear-gradient(135deg, #eef6fb, #fff8ee); border: 1px solid var(--line); }
.discovery-panel + .discovery-panel { margin-top: 28px; }
.discovery-title { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--ink); font-size: 25px; }
.discovery-title i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--sea); color: #fff; font-style: normal; }
.theme-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 8px 24px rgba(15,76,129,.08); transition: .25s; }
.theme-card:hover { transform: translateY(-4px); border-color: var(--terra); box-shadow: 0 15px 34px rgba(15,76,129,.14); }
.theme-card span { display: block; margin-bottom: 9px; color: var(--terra); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.theme-card strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.4; }
.theme-card small { display: block; margin-top: 10px; color: var(--muted); }

/* Normal Cards (Collections, News) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; cursor: pointer; border: 1px solid var(--line); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(15, 76, 129, 0.15); }
.card-media { height: 280px; position: relative; background: #e2e8f0; display: grid; place-items: center; font-size: 64px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-body { padding: 36px; flex: 1; display: flex; flex-direction: column; }
.card-tag { font-size: 15px; font-weight: 800; color: var(--sea); background: #f1f5f9; padding: 6px 12px; border-radius: 8px; display: inline-table; margin-bottom: 16px; align-self: flex-start; }
.card-title { font-size: 26px; font-weight: 800; margin: 0 0 16px; color: var(--ink); line-height: 1.3; }
.card-desc { font-size: 18px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { font-size: 18px; font-weight: 700; color: var(--sea); display: flex; align-items: center; gap: 8px; margin-top: auto; }

/* Featured collections */
.collection-section { position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; background: linear-gradient(120deg, #eaf3f8, #f8fafc); }
.collection-section::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; top: -190px; border-radius: 50%; background: rgba(15,76,129,.07); pointer-events: none; }
.collection-section > .head, .collection-section > .collection-grid { position: relative; z-index: 1; }
.collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px !important; align-items: stretch; }
.collection-card { height: 100%; }
.news-section { max-width: none; background: #eef4f8; }
.news-inner { max-width: 1400px; margin: auto; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card .card-media { height: 230px; overflow: hidden; }
.news-card .card-media img { transition: transform .65s; }
.news-card:hover .card-media img { transform: scale(1.06); }
.news-card .card-body { padding: 28px; }
.news-card .card-title { font-size: 22px; }
.news-date { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 13px; color: var(--terra); font-size: 13px; font-weight: 750; }

/* Immersive digital exhibitions */
.digital-wrap { max-width: none; background: linear-gradient(135deg, #082f49 0%, #0f4c81 48%, #115e59 100%); color: #fff; overflow: hidden; position: relative; }
.digital-wrap::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -220px; background: rgba(255,255,255,.08); }
.digital-inner { max-width: 1400px; margin: auto; position: relative; }
.digital-wrap .head h2, .digital-wrap .head p { color: #fff; }
.digital-wrap .head p { opacity: .76; }
.digital-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.digital-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); backdrop-filter: blur(12px); color: #fff; border-radius: 24px; box-shadow: 0 18px 45px rgba(2,16,35,.28); }
.digital-card:hover { transform: translateY(-7px); box-shadow: 0 25px 60px rgba(2,16,35,.38); }
.digital-card .card-media { height: 100%; min-height: 290px; }
.digital-card .card-media::after { content: attr(data-kind); font-size: 11px; text-transform: uppercase; position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: rgba(2,16,35,.68); color: #fff; font-weight: 800; letter-spacing: .5px; backdrop-filter: blur(8px); }
.digital-card .card-media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.digital-card:hover .card-media img { transform: scale(1.06); }
.digital-card .card-body { padding: 28px; justify-content: center; }
.digital-card .card-tag { color: #fbbf24; background: rgba(255,255,255,.12); }
.digital-card .card-title { color: #fff; font-size: 23px; }
.digital-card .card-desc { color: #dbeafe; font-size: 15px; -webkit-line-clamp: 3; }
.digital-card .card-more { color: #fbbf24; }

/* Scroll entrance effects */
.reveal { opacity: 0; transform: translateY(42px) scale(.975); filter: blur(3px); transition: opacity .72s ease, transform .78s cubic-bezier(.16,.75,.24,1), filter .65s ease; transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0) scale(1); filter: blur(0); }
.reveal.is-leaving { transition-duration: .35s; transition-delay: 0ms; }
.hero-copy-enter { animation: heroCopy .9s both cubic-bezier(.2,.7,.2,1); }
.hero-visual-enter { animation: heroVisual 1s .15s both cubic-bezier(.2,.7,.2,1); }
@@keyframes heroCopy { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@@keyframes heroVisual { from { opacity:0; transform:translateX(38px) scale(.96); } to { opacity:1; transform:none; } }
@@keyframes heroImageBreath { from { transform: scale(1); } to { transform: scale(1.045); } }
@@keyframes orbitFloat { 50% { transform: translate3d(-24px, 30px, 0) scale(1.08); opacity: .55; } }

.empty { grid-column: 1 / -1; padding: 80px 40px; border: 2px dashed var(--line); border-radius: 28px; text-align: center; color: var(--muted); font-size: 20px; }
.empty i { font-style: normal; font-size: 56px; display: block; margin-bottom: 16px; }

/* Detail Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(15,76,129,0.85); backdrop-filter: blur(16px); display: none; align-items: center; justify-content: center; padding: 40px; }
.modal.show { display: flex; }
.modal-card { background: var(--surface); width: min(1000px, 100%); max-height: 90vh; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.modal-header { padding: 36px 48px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; background: #fff; }
.modal-header h2 { margin: 0; font-size: 36px; color: var(--ink); font-weight: 800; line-height: 1.25; }
.modal-close { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; border: 0; background: #f1f5f9; font-size: 32px; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: 0.2s; margin-left: 24px; }
.modal-close:hover { background: #e2e8f0; color: var(--ink); }
.modal-body { padding: 48px; overflow-y: auto; flex: 1; font-size: 20px; line-height: 1.7; color: var(--muted); }

/* About Visuals inside Modal */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.about-intro { margin-bottom: 34px; padding: 30px; border-radius: 24px; color: #e8f4ff; background: linear-gradient(135deg, #0f4c81, #115e59); }
.about-intro .about-kicker { display: block; margin-bottom: 9px; color: #fbbf24; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.about-intro h3 { margin: 0 0 14px; color: #fff; font-size: 27px; line-height: 1.3; }
.about-intro p { margin: 0; font-size: 17px; line-height: 1.75; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 36px; }
.about-fact { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; }
.about-fact strong { display: block; color: var(--sea); font-size: 27px; }
.about-fact span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.about-closing { margin-top: 34px; padding: 24px 28px; border-left: 5px solid var(--terra); border-radius: 0 18px 18px 0; color: var(--ink); background: #fff7ed; font-weight: 700; line-height: 1.7; }
.astat { background: #f8fafc; border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: center; }
.astat span { display: block; font-size: 48px; font-weight: 900; color: var(--sea); margin-bottom: 8px; }
.astat b { font-size: 18px; color: var(--ink); }
.about-timeline { display: flex; flex-direction: column; gap: 32px; }
.timeline-item { display: flex; gap: 24px; }
.t-icon { width: 64px; height: 64px; border-radius: 20px; background: #e0e7ff; color: var(--sea); display: grid; place-items: center; font-size: 32px; flex-shrink: 0; }
.t-content h4 { margin: 0 0 8px; font-size: 24px; color: var(--ink); font-weight: 800; }
.t-content p { margin: 0; font-size: 18px; line-height: 1.6; }

.detail-image-frame { width: 100%; min-height: 220px; max-height: 440px; margin-bottom: 32px; padding: 18px; border-radius: 24px; background: linear-gradient(145deg, #eef3f7, #dde7ef); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 404px; object-fit: contain; object-position: center; border-radius: 16px; }
.detail-image-fallback { display: none; width: 100%; min-height: 220px; place-items: center; font-size: 72px; opacity: .55; }
.detail-meta { display: inline-block; padding: 8px 16px; border-radius: 12px; background: #f1f5f9; color: var(--sea); font-weight: 800; margin-bottom: 24px; font-size: 16px; }

/* Screensaver */
.screensaver { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.8s; }
.screensaver.show { opacity: 1; visibility: visible; }
.screensaver-bg { position: absolute; inset: 0; background: url('/images/museum-hero.jpg') center/cover; opacity: 0.4; animation: zoom 40s infinite alternate linear; }
@@eyframes zoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.screensaver-overlay { position: absolute; inset: 0; background: radial-gradient(circle, transparent 20%, #000 120%); }
.screensaver-content { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.screensaver h2 { font-size: 80px; font-weight: 900; margin: 24px 0; letter-spacing: 2px; }
.screensaver p { font-size: 32px; font-weight: 400; opacity: 0.9; margin: 0; }
.touch-prompt { margin-top: 80px; padding: 24px 56px; border: 2px solid rgba(255,255,255,0.4); border-radius: 40px; font-size: 28px; font-weight: 700; backdrop-filter: blur(8px); animation: pulse 2s infinite; display: inline-flex; align-items: center; gap: 16px; }
@@keyframes pulse { 50% { transform: scale(1.05); background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.8); } }

.footer { background: var(--ink); color: #94a3b8; padding: 60px 32px; text-align: center; font-size: 18px; }
.footer b { color: #fff; font-size: 24px; display: block; margin-bottom: 12px; }
.feedback-invite{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center;padding:64px max(32px,calc((100vw - 1280px)/2));background:#f1f5f9;color:#16324f}.feedback-kicker{display:block;margin-bottom:12px;color:#c45c38;font-size:13px;font-weight:800;letter-spacing:.12em}.feedback-invite h2{margin:0 0 14px;font-size:clamp(30px,4vw,48px);line-height:1.12}.feedback-invite-copy p{max-width:650px;color:#64748b;line-height:1.7}.feedback-invite-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:24px}.feedback-primary-link{display:inline-flex;align-items:center;gap:9px;padding:14px 20px;border-radius:12px;background:#c45c38;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 10px 25px #c45c3830}.public-feedback-link{color:#0e6680;font-weight:800;text-decoration:none}.feedback-invite-visual{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dbe5ec;border-radius:24px;background:linear-gradient(135deg,#fff,#e8f3f5);box-shadow:0 18px 45px #17324f16;text-align:center}.feedback-invite-visual span{font-size:58px}.feedback-invite-visual strong{margin-top:8px;font-size:20px}.feedback-invite-visual small{margin-top:5px;color:#64748b}
@media(max-width:850px){.feedback-invite{grid-template-columns:1fr;padding:48px 20px}.feedback-invite-visual{min-height:170px}.feedback-invite-actions{align-items:stretch;flex-direction:column}.feedback-primary-link,.public-feedback-link{justify-content:center}}

@media(max-width: 1100px) {
    .nav { height: 76px; padding: 0 22px; gap: 20px; }
    .brand { font-size: 18px; }
    .logo { width: 48px; height: 48px; }
    .navlinks { display: none; }
    .hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 40px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { width: min(680px, 100%); height: 360px; }
    .bento { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .bento-card.big { grid-column: span 2; grid-row: auto; min-height: 380px; }
    .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-list, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .digital-grid { grid-template-columns: 1fr; }
    .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 720px) {
    .nav { height: 68px; padding: 0 14px; }
    .logo { width: 42px; height: 42px; font-size: 16px; border-radius: 10px; }
    .brand { gap: 10px; font-size: 14px; line-height: 1.15; }
    .brand small { font-size: 10px; }
    .actions { gap: 8px; }
    .fullscreen-btn { display: none; }
    .lang-switcher { height: 44px; border-radius: 11px; }
    .lang-switcher a { height: 34px; min-width: 36px; font-size: 12px; }
    .hero { min-height: auto; }
    .hero-in { padding: 56px 18px 72px; gap: 32px; }
    .eyebrow { font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }
    .hero h1 { font-size: clamp(36px, 11vw, 50px); line-height: 1.12; }
    .hero p { font-size: 17px; margin-bottom: 30px; }
    .hero-visual { height: 260px; border-radius: 22px; }
    .hero-cta { width: 100%; }
    .btn { width: 100%; height: 54px; font-size: 16px; padding: 0 20px; }
    section { padding: 70px 18px; }
    .head { margin-bottom: 30px; }
    .head h2 { font-size: 31px; line-height: 1.2; }
    .head p { font-size: 16px; }
    #functions { padding-left: 0; padding-right: 0; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; padding: 0 18px; }
    .bento-card, .bento-card.big { grid-column: auto; grid-row: auto; min-height: 220px; padding: 26px; border-radius: 22px; }
    .bento-card.big { min-height: 320px; }
    .bento-icon, .bento-card.big .bento-icon { font-size: 46px; margin-bottom: 48px; }
    .bento-title, .bento-card.big .bento-title { font-size: 25px; }
    .bento-desc, .bento-card.big .bento-desc { font-size: 15px; }
    .art-grid, .card-grid, .collection-grid, .digital-grid { grid-template-columns: 1fr; gap: 20px; }
    .theme-list, .news-grid { grid-template-columns: 1fr; }
    .discovery-panel { padding: 26px 20px; border-radius: 24px; }
    .art-card { height: 390px; }
    .collection-card .card-media { height: 210px; }
    .digital-wrap { padding: 70px 18px; }
    .digital-card { display: flex; }
    .digital-card .card-media { height: 220px; min-height: 0; }
    .search-zone { padding: 70px 18px; }
    .search-inner h2 { font-size: 32px; }
    .search-inner p { font-size: 16px; margin-bottom: 28px; }
    .searchbar { display: block; padding: 8px; border-radius: 18px; }
    .searchbar input { width: 100%; height: 58px; padding: 0 15px; font-size: 16px; }
    .searchbar button { width: 100%; height: 54px; padding: 0 18px; font-size: 16px; }
    .filter-grid { grid-template-columns: 1fr; }
    .search-summary { align-items: flex-start; flex-direction: column; }
    .pagination { justify-content: flex-start; }
    .modal { padding: 12px; }
    .modal-card { border-radius: 22px; max-height: 94vh; }
    .modal-header { padding: 20px; }
    .modal-header h2 { font-size: 23px; }
    .modal-close { width: 44px; height: 44px; flex-basis: 44px; font-size: 24px; }
    .modal-body { padding: 22px; font-size: 16px; }
    .detail-image-frame { min-height: 180px; max-height: 300px; padding: 12px; margin-bottom: 22px; }
    .detail-image { max-height: 276px; }
    .about-stats { grid-template-columns: 1fr; }
    .about-facts { grid-template-columns: 1fr; }
    .about-intro { padding: 22px; }
    .screensaver h2 { font-size: 44px; }
    .screensaver p { font-size: 20px; }
    .touch-prompt { margin-top: 40px; padding: 16px 24px; font-size: 18px; }
}
@media(max-width: 400px) {
    .brand span:last-child b { display: inline-block; max-width: 145px; }
    .hero h1 { font-size: 34px; }
    .hero-visual { height: 220px; }
    .art-body { padding: 24px; }
    .art-title { font-size: 23px; }
}
@media(prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
