:root {
  color-scheme: light;
  --bg: #f9f4ea;
  --paper: #fffdf8;
  --ink: #21172a;
  --muted: #6c6270;
  --line: #e4d5bb;
  --accent: #12394b;
  --accent-dark: #111a33;
  --gold: #b9852f;
  --rose: #74305f;
  --teal: #2b8291;
  --plum: #461755;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Charter, Georgia, "Times New Roman", serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
}

a {
  color: var(--plum);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.site-header {
  border-bottom: 1px solid rgba(185, 133, 47, 0.38);
  background: rgba(255, 253, 248, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: clamp(72px, 9vw, 104px);
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  letter-spacing: 0;
  color: var(--plum);
}

.brand-copy span {
  font: 0.86rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 0.92rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: var(--accent-dark);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 57, 75, 0.12), rgba(185, 133, 47, 0.1) 48%, rgba(70, 23, 85, 0.09)),
    var(--paper);
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-dark), var(--gold), var(--plum), var(--teal), var(--gold), var(--accent-dark));
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  display: grid;
  justify-items: start;
}

.hero-kicker {
  margin: 0 0 14px;
  font: 700 0.78rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}

.hero-logo {
  width: min(300px, 100%);
  margin: 0 0 clamp(16px, 2.6vw, 24px);
  filter: drop-shadow(0 14px 24px rgba(33, 23, 42, 0.08));
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #4d4352;
}

.quote-card {
  align-self: end;
  border-left: 4px solid var(--gold);
  border-top: 1px solid rgba(185, 133, 47, 0.42);
  border-bottom: 1px solid rgba(18, 57, 75, 0.2);
  padding: 24px 0 24px 28px;
  color: var(--accent-dark);
}

.quote-media {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(185, 133, 47, 0.42);
  background: #ede2cf;
}

.quote-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 56% 42%;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.quote-card cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-heading {
  margin: 0 0 22px;
  font: 700 0.86rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(42px, 6vw, 72px);
  border-bottom: 2px solid rgba(185, 133, 47, 0.34);
}

.featured-media {
  aspect-ratio: 4 / 3;
  background: #ede2cf;
  overflow: hidden;
  border: 1px solid rgba(185, 133, 47, 0.38);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card,
.post-row {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.post-row:hover {
  border-bottom-color: rgba(116, 48, 95, 0.48);
}

.article-card h2,
.post-row h2,
.post-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.post-row h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
}

.article-card p,
.post-row p {
  color: var(--muted);
  font-size: 1.06rem;
}

.date {
  display: block;
  margin-bottom: 10px;
  font: 0.82rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--plum);
}

.content-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) 0;
}

.content-shell header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  padding-bottom: 28px;
}

.content-body {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.content-body h2,
.content-body h3,
.content-body h4 {
  margin: 2.1em 0 0.55em;
  line-height: 1.1;
}

.content-body p,
.content-body ul,
.content-body ol {
  margin: 1.1em 0;
}

.content-body li + li {
  margin-top: 0.5em;
}

.content-body figure {
  margin: 2rem 0;
}

.content-body figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

.content-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.3rem 0;
}

.content-body .alignright {
  float: right;
  max-width: 180px;
  margin: 0.2rem 0 1rem 1.3rem;
}

.post-list {
  display: grid;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid rgba(185, 133, 47, 0.42);
  background: #efe3ce;
  color: #4d4352;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font: 0.95rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-inner,
  .featured {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: min(300px, 100%);
  }

  .content-body .alignright {
    float: none;
    max-width: 160px;
    margin: 0 0 1rem;
  }
}
