:root {
  --charcoal: #171717;
  --ivory: #f4f1ea;
  --olive: #777c67;
  --neutral: #b8b5ac;
  --mist: #e8e4db;
  --ink: #0d0d0d;
  --header-h: 3.75rem;
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner,
.wrap {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo img { width: 16px; height: 16px; }

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

.nav a {
  color: var(--ivory);
  opacity: 0.72;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.is-active { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
}

.btn--light {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--charcoal);
}

.header-cta {
  display: none;
  min-height: 2rem;
  padding: 0 1rem;
  border: 1px solid var(--ivory);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main { padding-top: var(--header-h); }

.hero {
  background: var(--ink);
  color: var(--ivory);
  padding: 4.5rem 0 3.5rem;
}

.hero__eyebrow,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: rgba(244, 241, 234, 0.78);
  font-size: 1.05rem;
}

.crumbs {
  padding: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--olive);
}

.crumbs a { color: var(--charcoal); }
.crumbs span { margin: 0 0.4rem; color: var(--neutral); }

.grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 5rem;
}

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
  .nav, .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header__inner,
  .wrap { width: min(1200px, calc(100% - 6rem)); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img { transform: scale(1.04); }

.card__meta {
  margin: 0;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: #5c5a54;
  font-size: 0.95rem;
}

.card__link {
  margin-top: auto;
  color: var(--charcoal);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.empty {
  padding: 4rem 0 6rem;
  color: #5c5a54;
}

/* —— Single post: compact title banner + image background —— */
.post-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}

.post-hero__media {
  position: absolute;
  inset: 0;
}

.post-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
}

.post-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13, 13, 13, 0.92) 0%,
    rgba(13, 13, 13, 0.78) 55%,
    rgba(13, 13, 13, 0.58) 100%
  );
}

.post-hero__content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4.5rem 0 2.35rem;
}

.post-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  color: rgba(244, 241, 234, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-hero__crumbs a {
  color: rgba(244, 241, 234, 0.78);
  transition: color 0.2s ease;
}

.post-hero__crumbs a:hover { color: var(--ivory); }

.post-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-hero__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.post-hero__lede {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: rgba(244, 241, 234, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin-top: 1.2rem;
  color: rgba(244, 241, 234, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-hero__focus {
  color: var(--olive);
  max-width: 28rem;
}

.post-shell {
  padding: 2.5rem 0 4.5rem;
}

.post-layout {
  display: grid;
  gap: 2rem;
}

.post-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.post-rail__back,
.post-rail__quote {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.post-rail__back { color: #5c5a54; }
.post-rail__quote { color: var(--charcoal); margin-left: auto; }
.post-rail a:hover { opacity: 0.7; }

.post-main { min-width: 0; }

.post-body {
  max-width: 40rem;
}

.post-body > *:first-child { margin-top: 0; }

.post-body h2,
.post-body h3,
.post-body h4 {
  margin: 2.5rem 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.post-body h2 { font-size: clamp(1.55rem, 3vw, 1.95rem); }
.post-body h3 { font-size: clamp(1.25rem, 2.4vw, 1.45rem); }

.post-body p,
.post-body li {
  color: #3f3d38;
  font-size: 1.0625rem;
  line-height: 1.78;
}

.post-body p { margin: 0 0 1.15rem; }

.post-body p:first-of-type {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2f2d29;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
}

.post-body li + li { margin-top: 0.45rem; }

.post-body a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: rgba(119, 124, 103, 0.7);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s ease;
}

.post-body a:hover { text-decoration-color: var(--olive); }

.post-body blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--olive);
  color: #2f2d29;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
}

.post-body img {
  margin: 1.75rem 0;
  width: 100%;
  background: var(--mist);
}

.post-body h2 + img,
.post-body p + img {
  margin-top: 1.25rem;
}

.post-body strong { color: var(--charcoal); font-weight: 600; }

.post-money {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--mist);
  border: 1px solid rgba(23, 23, 23, 0.08);
}

.post-money__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-family: var(--font-body);
}

.post-money__lead {
  margin: 0.75rem 0 0;
  color: rgba(23, 23, 23, 0.65);
  font-size: 0.95rem;
}

.post-money h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
}

.post-money__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.post-money__list a {
  display: block;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.post-money__list li:first-child a { border-top: 0; padding-top: 0; }

.post-money__label {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-money__reason {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(23, 23, 23, 0.55);
}

.post-money__list a:hover .post-money__label { color: var(--olive); }

.post-cta {
  margin-top: 3.5rem;
  padding: 2.25rem 0 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  max-width: 40rem;
}

.post-cta__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-cta h2 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.1;
}

.post-cta > p {
  margin: 1rem 0 0;
  max-width: 32rem;
  color: #5c5a54;
  font-size: 1rem;
  line-height: 1.65;
}

.post-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.post-more {
  background: var(--mist);
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.06);
}

.post-more__head { margin-bottom: 2rem; }

.post-more__head h2 {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.post-more__grid {
  display: grid;
  gap: 1.75rem;
}

.post-more__card {
  display: grid;
  gap: 0.85rem;
  transition: opacity 0.25s ease;
}

.post-more__card:hover { opacity: 0.82; }

.post-more__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9d4c8;
}

.post-more__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.post-more__card:hover .post-more__media img { transform: scale(1.04); }

.post-more__date {
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-more__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.post-more__go {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5a54;
}

@media (min-width: 768px) {
  .post-hero__content { padding: 5rem 0 2.6rem; }
  .post-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

@media (min-width: 1024px) {
  .post-hero__content,
  .post-shell.wrap { width: min(1200px, calc(100% - 6rem)); }

  .post-layout {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .post-rail {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 0;
    border: 0;
  }

  .post-rail__quote { margin-left: 0; }
}

.site-footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 3.5rem 0;
}

.site-footer p {
  max-width: 28rem;
  color: var(--neutral);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.site-footer__links a {
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.9rem;
}

.site-footer__links a:hover { color: var(--ivory); }

.site-footer__meta {
  margin-top: 2.5rem;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
