:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-muted: #EFECE6;
  --border: #E2DFD7;
  --ink: #161615;
  --ink-muted: #57554E;
  --accent: #1D3557;
  --accent-hover: #142640;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 247, 244, 0.95);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active {
  border-bottom-color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

.section-pad {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.section-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.display-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-heading {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.lead-text {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 60ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-media-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  height: 100%;
  min-height: 320px;
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-media-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  aspect-ratio: 4 / 3;
}

.aside-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

.stats-strip {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1.5rem;
}

.stat-val {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.75rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

.card-thumb img,
.lead-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}

.lead-story {
  margin-top: 2rem;
}

.lead-media img {
  height: 320px;
}

.meta-line {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.card-excerpt,
.body-muted {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.directory-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.directory-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

.directory-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.news-masthead {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.news-controls {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
}

.label-tabs {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-item {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--ink);
}

.tab-item.is-selected {
  background: var(--accent);
  color: #FFFFFF;
}

.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  background: var(--bg);
  border: 1px solid #D8D4CA;
  border-radius: 6px;
  font-family: inherit;
}

.field-input-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.form-error {
  color: #991B1B;
  font-size: 0.85rem;
  font-weight: 500;
}

.article-container {
  max-width: 780px;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.article-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.article-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-prose {
  margin-top: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.78;
}

.article-prose p {
  margin-bottom: 1.35rem;
}

.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
}

.article-prose blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  padding: 1rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #F3F1EC;
  margin-top: 4rem;
}

.footer-inner {
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-desc,
.footer-links {
  font-size: 0.875rem;
  color: var(--ink-muted);
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.75rem;
  color: #6B6860;
  line-height: 1.6;
}

.footer-meta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.footer-host-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-host-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 0.85rem 0;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    gap: 1.15rem;
    flex-wrap: wrap;
  }

  .section-pad {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .contact-grid,
  .directory-row,
  .footer-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer-meta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .footer-sep {
    display: none;
  }
}
