:root {
  --ink: #121212;
  --muted: #555555;
  --body: #3A3A3A;
  --line: #DDDBD5;
  --paper: #FFFFFF;
  --cream: #F3F2EE;
  --accent: var(--ghost-accent-color, #C2410C);
  --kicker: #B23A0E;
  --deep: #0F3D2E;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--kicker); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { background: var(--ink); color: var(--cream); font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--cream); text-decoration: underline; }

/* Masthead */
.masthead { border-bottom: 2px solid var(--ink); }
.masthead .wrap { padding-top: 26px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 18px; }
.masthead-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.brand-block { display: flex; flex-direction: column; gap: 6px; }
.wordmark { display: inline-flex; flex-direction: column; gap: 2px; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark-the { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.5em; color: var(--accent); }
.wordmark-name { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 0.95; letter-spacing: -0.045em; }
.dot { color: var(--accent); }
.tagline { font-size: 14px; color: var(--muted); }
.cta-row, .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nav-primary { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.nav-secondary { display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.nav-secondary .nav-link { color: var(--body); }
.nav-link.is-current { color: var(--kicker); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; opacity: 0.9; }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { color: #FFFFFF; opacity: 0.9; }
.btn-light { background: #FFFFFF; color: var(--deep); font-weight: 700; }
.btn-ghost-light { border-color: #FFFFFF; color: #FFFFFF; font-weight: 700; }
.btn-light:hover { color: var(--deep); }
.btn-ghost-light:hover { color: #FFFFFF; }

/* Shared */
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kicker); }
.kicker-light { color: #9FD8BC; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section h2 { font-size: 36px; font-weight: 800; }
.section-intro { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; max-width: 760px; }
.section-intro p { color: var(--body); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }
.fine { font-size: 13px; color: #666666; margin-top: 16px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.hero-img { display: flex; align-items: flex-end; min-height: 400px; border-radius: 6px; overflow: hidden; background: #E9E4D8; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-label, .placeholder span { padding: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4A463D; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.04; }
.hero-dek { font-size: 18px; color: var(--body); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 28px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card-img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #EADFD2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 22px; font-weight: 700; line-height: 1.2; }
.card-dek { font-size: 15px; color: #4A4A4A; }

/* Events */
.events { border-top: 2px solid var(--ink); }
.event { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event-date { flex: 0 0 170px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.event-body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.event-body strong { font-size: 19px; }
.event-body span { font-size: 15px; color: var(--muted); }
.badge { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-mcf { background: var(--deep); color: #FFFFFF; }
.badge-cover { background: var(--cream); color: var(--ink); border: 1px solid var(--ink); }

/* Capital band */
.capital { margin: 56px 0; padding: 48px; border-radius: 10px; background: var(--deep); color: var(--cream); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.capital-copy { display: flex; flex-direction: column; gap: 16px; }
.capital h2 { font-size: 44px; font-weight: 800; color: #FFFFFF; }
.capital p { color: #DCE7E1; }
.capital-points { display: flex; flex-direction: column; gap: 14px; }
.point { background: #164D3A; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.point strong { color: #FFFFFF; font-size: 18px; }
.point span { color: #DCE7E1; font-size: 15px; }

/* Split panels */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.panel { border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.panel h2 { font-size: 32px; }
.panel-tint { background: var(--cream); }
.panel-outline { border: 2px solid var(--ink); }
.panel ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pkg { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pkg div { display: flex; flex-direction: column; gap: 4px; }
.pkg span { font-size: 14px; color: var(--muted); }

/* Newsletter */
.newsletter { padding: 56px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.newsletter h2 { font-size: 36px; font-weight: 800; }
.newsletter-copy { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.newsletter-form { display: flex; flex-direction: column; gap: 6px; }
.newsletter-form label { font-size: 13px; font-weight: 600; }
.newsletter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input { width: 300px; max-width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 15px; font-family: var(--sans); }
.form-msg { display: none; font-size: 14px; }
.newsletter-form.success .form-success, .newsletter-form.error .form-error { display: block; }
.newsletter-form.loading button { opacity: 0.6; }

/* Archives */
.archive-head { padding: 56px 0 8px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.archive-head h1 { font-size: 48px; font-weight: 800; }
.pagination { display: flex; justify-content: center; gap: 16px; align-items: center; margin-top: 40px; font-weight: 600; }

/* Article */
.article { padding: 48px 0 24px; }
.article-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.article-title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.article-dek { font-size: 20px; color: var(--body); }
.article-image { margin: 0 auto 40px; }
.article-image img { width: 100%; border-radius: 6px; }
.article-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.content { font-size: 19px; line-height: 1.7; }
.content > * + * { margin-top: 1.2em; }
.content h2 { font-size: 30px; margin-top: 1.8em; }
.content h3 { font-size: 24px; margin-top: 1.6em; }
.content a { color: var(--kicker); text-decoration: underline; }
.content blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--accent); font-size: 22px; font-family: var(--display); }
.content figure { margin: 1.6em 0; }
.content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: calc(50% - 42.5vw); transform: translateX(calc(42.5vw - 50%)); }
.kg-width-full { position: relative; width: 100vw; left: 50%; margin-left: -50vw; }
.kg-width-wide img, .kg-width-full img { width: 100%; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.article-tags a { padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #D6D4CE; margin-top: 24px; }
.footer-grid { padding-top: 44px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 380px; font-size: 14px; }
.footer-mark { font-size: 30px; color: #FFFFFF; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col a { color: #D6D4CE; }
.footer-col a:hover { color: #FFFFFF; }
.footer-head { font-weight: 700; color: #FFFFFF; }
.small { font-size: 13px; }
.copyright { padding-bottom: 28px; font-size: 13px; color: #A8A6A0; }

@media (max-width: 640px) {
  .wordmark-name { font-size: 40px; }
  .section h2, .newsletter h2 { font-size: 28px; }
  .capital { padding: 28px; }
  .capital h2 { font-size: 32px; }
  .panel { padding: 24px; }
  .hero-img { min-height: 260px; }
}
