:root {
  --ink: #112332;
  --ink-soft: #385061;
  --paper: #f8f3e8;
  --paper-strong: #fffdf7;
  --paper-cool: #edf4f1;
  --line: #ded6c8;
  --gold: #b9822f;
  --gold-soft: #f2d69a;
  --green: #2f5a48;
  --green-dark: #183d34;
  --wine: #7b3f50;
  --sky: #dbeaf0;
  --shadow: 0 18px 48px rgba(17, 35, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

img,
video,
iframe {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  color: var(--paper-strong);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(222, 214, 200, 0.82);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand span,
.footer-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(185, 130, 47, 0.26);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.86rem;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(185, 130, 47, 0.13);
}

.site-nav .nav-feature {
  color: var(--paper-strong);
  background: var(--green);
}

.site-nav .nav-feature:hover,
.site-nav .nav-feature[aria-current="page"] {
  color: var(--paper-strong);
  background: var(--green-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: 4.35rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.35rem;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.eyebrow,
.meta {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 35, 50, 0.86), rgba(17, 35, 50, 0.58) 48%, rgba(17, 35, 50, 0.18)),
    linear-gradient(0deg, rgba(17, 35, 50, 0.28), rgba(17, 35, 50, 0.06));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
  padding: 5.5rem 0 6rem;
  color: var(--paper-strong);
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--gold-soft);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 253, 247, 0.9);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--paper-strong);
  background: var(--gold);
}

.button-primary:hover {
  background: #946525;
}

.button-light {
  color: var(--ink);
  background: var(--paper-strong);
}

.button-light:hover {
  background: var(--gold-soft);
}

.inline-button {
  width: auto;
}

.quick-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.quick-paths a {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--paper-strong);
  text-decoration: none;
}

.quick-paths a:hover {
  background: var(--paper-cool);
}

.quick-paths span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-paths strong {
  max-width: 280px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.25;
}

.section,
.page-shell,
.article-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.25rem 0;
}

.section-light,
.section-muted {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  padding-right: max(1rem, calc((100% - 1180px) / 2));
}

.section-light {
  background: var(--paper-strong);
}

.section-muted {
  background: var(--paper-cool);
}

.page-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1180px) / 2));
  padding-right: max(1rem, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.text-link,
.read-more {
  color: var(--wine);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.article-card,
.value-card,
.article-row,
.path-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(17, 35, 50, 0.07);
}

.article-card,
.value-card {
  min-height: 230px;
  padding: 1.55rem;
}

.article-card-featured {
  grid-row: span 2;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(24, 61, 52, 0.95), rgba(17, 35, 50, 0.95)),
    var(--green-dark);
}

.article-card-featured .meta,
.article-card-featured .read-more {
  color: var(--gold-soft);
}

.article-card-featured p {
  color: rgba(255, 253, 247, 0.86);
}

.article-card h3,
.article-row h3,
.value-card h3,
.path-card h2 {
  margin-bottom: 0.7rem;
}

.article-card a,
.article-row a {
  text-decoration: none;
}

.article-card a::after,
.article-row a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-card:hover,
.article-row:hover,
.path-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.article-card p:last-of-type,
.article-row p:last-of-type,
.value-card p:last-child,
.path-card p {
  color: var(--ink-soft);
}

.article-card-featured p:last-of-type {
  color: rgba(255, 253, 247, 0.86);
}

.read-more {
  display: inline-flex;
  margin-top: auto;
}

.value-grid,
.link-grid,
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.path-grid {
  grid-template-columns: repeat(4, 1fr);
}

.path-card {
  min-height: 260px;
  padding: 1.45rem;
  color: var(--ink);
  text-decoration: none;
}

.path-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--green);
  font-weight: 900;
}

.path-card h2 {
  font-size: 1.45rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.split-section h2 {
  margin-bottom: 0;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.cta-band {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 8px;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--green), var(--ink));
}

.cta-band h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: 2rem;
}

.page-shell {
  padding: 2rem 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--wine);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--line);
}

.page-hero {
  padding: 4rem 0 5rem;
}

.compact-hero {
  padding-bottom: 3.5rem;
}

.page-hero h1 {
  max-width: 820px;
  font-size: 3.3rem;
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.14rem;
}

.topic-rail {
  position: sticky;
  top: 72px;
  z-index: 8;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 232, 0.94);
  backdrop-filter: blur(14px);
}

.topic-rail a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.topic-rail a:hover {
  border-color: var(--gold);
  color: var(--wine);
}

.article-list {
  display: grid;
  gap: 1rem;
}

.article-row {
  min-height: 176px;
  padding: 1.45rem 1.55rem;
}

.empty-state {
  max-width: 760px;
  padding: 2rem;
  border: 1px dashed var(--gold);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.62);
}

.empty-state p:last-child {
  color: var(--ink-soft);
}

.link-grid a {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.link-grid a:hover {
  border-color: var(--gold);
  color: var(--wine);
  background: var(--paper-cool);
}

.article-shell {
  padding: 2rem 0 5rem;
}

.post {
  max-width: 790px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.post-header {
  padding: 3.5rem 0 1.25rem;
}

.post h1 {
  max-width: 780px;
  font-size: 3.25rem;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.24rem;
}

blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  background: var(--paper-strong);
}

blockquote p {
  margin: 0;
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-strong);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 750;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wine);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-header[data-nav-open] .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2,
  .page-hero h1,
  .post h1 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .quick-paths,
  .value-grid,
  .link-grid,
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .article-card-featured {
    grid-row: auto;
  }

  .section-heading,
  .cta-band,
  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

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

  .brand span {
    font-size: 1.12rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2,
  .page-hero h1,
  .post h1 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero {
    min-height: 535px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(17, 35, 50, 0.88), rgba(17, 35, 50, 0.58));
  }

  .hero-content {
    padding: 4.5rem 0;
  }

  .hero-copy,
  .lede {
    font-size: 1.08rem;
  }

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

  .quick-paths,
  .value-grid,
  .link-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .quick-paths a {
    min-height: 130px;
  }

  .section {
    padding: 3.75rem 0;
  }

  .page-hero {
    padding: 3rem 0 3.5rem;
  }

  .topic-rail {
    top: 66px;
  }

  .article-card,
  .article-row,
  .value-card,
  .path-card {
    min-height: auto;
    padding: 1.25rem;
  }

  .post-header {
    padding-top: 2.75rem;
  }

  .cta-band {
    margin-bottom: 4rem;
    padding: 1.5rem;
  }

  .cta-band h2 {
    font-size: 1.55rem;
  }
}
