:root {
  --bg: #f7f3ea;
  --surface: #fffaf0;
  --text: #172026;
  --muted: #5d6965;
  --navy: #101923;
  --brass: #b68a35;
  --brass-dark: #7b5b1f;
  --green-gray: #6f8176;
  --border: #ded5c4;
  --shadow: 0 18px 50px rgba(16, 25, 35, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(182, 138, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 138, 53, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  background: var(--navy);
  border: 1px solid rgba(182, 138, 53, 0.45);
  border-radius: 6px;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(182, 138, 53, 0.12);
  color: var(--text);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 104px) max(20px, calc((100vw - var(--max)) / 2)) clamp(48px, 7vw, 88px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--brass-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: #fffaf0;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  text-decoration: none;
}

.button:hover {
  background: #22303c;
}

.button-secondary {
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  background: rgba(16, 25, 35, 0.06);
}

.hero-mark {
  background: radial-gradient(circle at 50% 50%, rgba(182, 138, 53, 0.18), rgba(16, 25, 35, 0.04) 62%, transparent 70%);
  padding: clamp(10px, 2vw, 18px);
}

.hero-mark img {
  background: var(--navy);
  border: 1px solid rgba(182, 138, 53, 0.55);
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}

.section-band,
.split-section,
.page-shell,
.article-shell {
  margin-inline: auto;
  max-width: var(--max);
  padding: clamp(56px, 8vw, 96px) 20px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.post-card,
.contact-panel,
.callout,
.side-panel {
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 25, 35, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.callout p,
.contact-panel p,
.post-card p,
.content-main p,
.article p,
.split-section p {
  color: var(--muted);
}

.split-section {
  align-items: start;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.text-link {
  color: var(--brass-dark);
  font-weight: 700;
}

.page-hero {
  max-width: 820px;
  padding-bottom: 28px;
}

.page-hero h1,
.article-header h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.content-grid {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.content-main {
  max-width: 720px;
}

.content-main h2,
.article h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-top: 34px;
}

.side-panel {
  padding: 18px;
}

.side-panel img {
  background: var(--navy);
  border-radius: 8px;
  margin-bottom: 18px;
}

.side-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.side-panel dt {
  color: var(--brass-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.side-panel dd {
  color: var(--text);
  margin: 2px 0 0;
}

.callout,
.contact-panel {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 42px;
  padding: 28px;
}

.callout {
  align-items: flex-start;
  display: block;
  max-width: 760px;
}

.email-link {
  color: var(--brass-dark);
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 18px;
}

.post-card img {
  aspect-ratio: 1;
  background: var(--navy);
  border-radius: 8px;
  object-fit: cover;
}

.post-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--brass-dark);
}

.post-date {
  color: var(--brass-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-shell {
  max-width: 880px;
}

.article-header {
  margin-bottom: 32px;
}

.article {
  font-size: 1.06rem;
}

.article-figure {
  margin: 0 0 36px;
}

.article-figure img {
  background: var(--navy);
  border: 1px solid rgba(182, 138, 53, 0.55);
  border-radius: 8px;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.article-figure figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--max);
  padding: 26px 20px 36px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brass-dark);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero,
  .content-grid,
  .split-section,
  .feature-grid,
  .feature-grid-wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-mark {
    margin-inline: auto;
    max-width: 520px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 0;
  }

  .brand {
    font-size: 1rem;
  }

  .site-nav a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card img {
    max-width: 180px;
  }
}
