/* Museum Heritage Review — editorial, trust-focused styling
   Color palette: deep navy (#1e3a5f) + gold (#c4954a) on warm cream (#faf6ef)
   Heading: Playfair Display serif · Body: Inter sans-serif
*/

:root {
    --navy: #1e3a5f;
    --navy-deep: #15283f;
    --gold: #c4954a;
    --gold-dark: #a37735;
    --cream: #faf6ef;
    --cream-warm: #f3ecdc;
    --ink: #1a1a1a;
    --ink-soft: #4a4a4a;
    --ink-muted: #6b6b6b;
    --line: #e3dcc9;
    --shadow-sm: 0 1px 2px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.1);
    --shadow-lg: 0 20px 50px rgba(30, 58, 95, 0.15);
    --radius: 4px;
    --radius-lg: 8px;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block; padding: 14px 28px; border-radius: var(--radius);
    font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: all .2s; font-family: inherit;
    letter-spacing: .01em;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }

/* ===== TOPBAR ===== */
.topbar { background: var(--navy-deep); color: var(--cream-warm); font-size: .82rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-sep { opacity: .4; }

/* ===== HEADER ===== */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: var(--navy); color: var(--gold);
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem;
    border-radius: var(--radius); letter-spacing: .02em;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.logo-tag { font-size: .72rem; color: var(--ink-muted); letter-spacing: .02em; }
.footer-brand .logo-mark { width: 36px; height: 36px; font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--cream); font-size: 1.1rem; margin-bottom: 14px; }

.nav { display: flex; gap: 32px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav a:hover { color: var(--gold-dark); }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.burger span { display: block; height: 2px; background: var(--navy); transition: all .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: var(--cream); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.55); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21,40,63,.75) 0%, rgba(21,40,63,.5) 60%, rgba(196,149,74,.3) 100%); }
.hero-inner { position: relative; padding: 100px 24px; max-width: 860px; }
.hero-eyebrow { display: inline-block; font-size: .82rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.hero h1 { color: var(--cream); margin-bottom: 20px; }
.hero-lede { font-size: 1.2rem; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 720px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 36px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-meta strong { color: var(--gold); font-weight: 700; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--cream-warm); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-dark); margin-bottom: 14px; font-weight: 600; }

/* ===== ARTICLE CARDS ===== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-image { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-warm); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-image img { transform: scale(1.04); }
.article-category { position: absolute; top: 16px; left: 16px; background: var(--navy); color: var(--gold); padding: 6px 12px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius); }
.article-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.article-body h3 { margin-bottom: 12px; font-size: 1.25rem; line-height: 1.3; }
.article-body h3 a { color: var(--navy); }
.article-body h3 a:hover { color: var(--gold-dark); }
.article-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--ink-muted); font-size: .82rem; padding-top: 14px; border-top: 1px solid var(--line); }

/* ===== ABOUT PREVIEW ===== */
.about-preview { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about-preview-text p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.about-preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat { background: #fff; padding: 28px; border-radius: var(--radius-lg); border-left: 3px solid var(--gold); }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--navy); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.feature { text-align: left; }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--cream-warm); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--navy); color: var(--cream); }
.newsletter h2 { color: var(--cream); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.newsletter p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--cream); font-family: inherit; font-size: .95rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: 2px solid var(--gold); background: rgba(255,255,255,.12); }
.newsletter-form .btn-primary { background: var(--gold); color: var(--navy-deep); }
.newsletter-form .btn-primary:hover { background: var(--gold-dark); color: var(--cream); }
.newsletter-note { grid-column: 1 / -1; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 16px; }
.newsletter-note a { color: var(--gold); }

/* ===== ARTICLE PAGE ===== */
.article-hero { background: var(--navy-deep); color: var(--cream); padding: 80px 0 60px; }
.article-hero .breadcrumbs { margin-bottom: 20px; font-size: .85rem; color: rgba(255,255,255,.7); }
.article-hero .breadcrumbs a { color: var(--gold); }
.article-hero h1 { color: var(--cream); margin-bottom: 16px; }
.article-hero .lede { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 780px; line-height: 1.55; }
.article-hero .meta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: rgba(255,255,255,.8); }
.article-hero .meta-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.article-hero .meta-row .author-name { color: var(--gold); font-weight: 600; }

.article-body-wrap { padding: 60px 0 80px; }
.article-content { max-width: 780px; margin: 0 auto; font-size: 1.07rem; line-height: 1.75; color: var(--ink-soft); }
.article-content h2 { font-size: 1.75rem; margin: 2em 0 .6em; color: var(--navy); }
.article-content h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--navy); }
.article-content p { margin-bottom: 1.2em; }
.article-content figure { margin: 2em 0; }
.article-content figure img { border-radius: var(--radius); width: 100%; }
.article-content figcaption { font-size: .85rem; color: var(--ink-muted); text-align: center; margin-top: 10px; font-style: italic; }
.article-content blockquote { border-left: 3px solid var(--gold); padding-left: 20px; margin: 1.6em 0; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); font-style: italic; }
.article-content ul, .article-content ol { margin: 0 0 1.2em 1.2em; }
.article-content li { margin-bottom: .5em; }

.author-box { max-width: 780px; margin: 50px auto 0; background: var(--cream-warm); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-size: 1.05rem; color: var(--navy); }
.author-box .role { font-size: .82rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.author-box p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.related { max-width: 1200px; margin: 70px auto 0; padding: 0 24px; }
.related h3 { font-size: 1.5rem; margin-bottom: 30px; }

/* ===== BLOG LISTING ===== */
.page-head { background: var(--cream-warm); padding: 70px 0 50px; text-align: center; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.category-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.category-filter a { background: #fff; padding: 8px 16px; border-radius: 100px; font-size: .85rem; color: var(--ink-soft); border: 1px solid var(--line); }
.category-filter a.active, .category-filter a:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ===== CONTACT / ABOUT PAGES ===== */
.content-wrap { padding: 60px 0 80px; }
.content-narrow { max-width: 820px; margin: 0 auto; }
.content-narrow h2 { margin-top: 2em; }
.content-narrow p { color: var(--ink-soft); line-height: 1.75; }
.content-narrow ul li { color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; margin-top: 20px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: .88rem; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: .95rem; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 2px; }
.contact-info { background: var(--cream-warm); padding: 32px; border-radius: var(--radius-lg); }
.contact-info h3 { font-size: 1.15rem; margin-bottom: 18px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .78rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .1em; margin-top: 16px; margin-bottom: 4px; font-weight: 600; }
.contact-info dt:first-of-type { margin-top: 0; }
.contact-info dd { margin: 0; color: var(--ink); font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 30px; }
.team-card { background: #fff; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center; }
.team-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.team-card h4 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-size: 1.05rem; color: var(--navy); }
.team-card .role { font-size: .8rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.team-card p { color: var(--ink-soft); font-size: .88rem; text-align: left; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 60px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 40px; }
.footer-col h4 { color: var(--cream); font-family: 'Inter', sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--gold); }
.footer-desc { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.6; margin-bottom: 14px; }
.footer-address { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.55; margin: 0; }
.contact-list span { color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-legal-links a { color: rgba(255,255,255,.6); }
.footer-legal-links a:hover { color: var(--gold); }

/* ===== COOKIE BANNER ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-deep); color: var(--cream); padding: 18px 0; z-index: 200; border-top: 3px solid var(--gold); }
.cookie-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.85); flex: 1; min-width: 260px; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 20px; font-size: .88rem; }
.cookie-banner .btn-ghost { color: var(--cream); }
.cookie-banner .btn-primary { background: var(--gold); color: var(--navy-deep); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-preview, .contact-grid, .newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-meta { gap: 22px; }
}
@media (max-width: 720px) {
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 20px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
    .nav a:last-child { border-bottom: 0; }
    .burger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-preview-stats { grid-template-columns: 1fr 1fr; }
    .articles-grid { gap: 24px; }
    .hero { min-height: 520px; }
    .hero-inner { padding: 70px 24px; }
    .topbar-inner { font-size: .75rem; }
}
