/* ─────────────────────────────────────────────────────────────
   Mission for Marriage — editorial "block" layout
   Fraunces (display serif) + Inter (UI/body sans)
   ───────────────────────────────────────────────────────────── */

:root {
  --paper:   #f7f4ec;   /* warm newsprint */
  --ink:     #1a1a18;   /* near-black */
  --muted:   #6b6760;   /* captions, bylines */
  --rule:    #ddd7c9;   /* hairlines */
  --gold:    #8a6d2f;   /* accent — warm gold */
  --wine:    #7c2d3a;   /* accent — covenant garnet */
  --card:    #ffffff;
  --shadow:  0 1px 2px rgba(26,26,24,.04), 0 8px 24px rgba(26,26,24,.06);
  --maxw:    1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Masthead ───────────────────────────────────────────────── */
.masthead {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}
.masthead-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 22px;
  text-align: center;
}
.brand { display: inline-block; line-height: 0; text-decoration: none; }

/* Monogram badge (stands in for a logo image) */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--wine);
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 14px rgba(124, 45, 58, 0.28);
}
.masthead--hero .brand-mark {
  width: clamp(120px, 24vw, 168px);
  height: clamp(120px, 24vw, 168px);
  border-radius: clamp(20px, 4vw, 28px);
  font-size: clamp(3rem, 9vw, 4.6rem);
}

.brand-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 14px 0 0;
  color: var(--ink);
}
.masthead .brand-title {
  font-size: 1.5rem;          /* article pages */
}
.masthead--hero .brand-title {
  font-size: clamp(2rem, 5.5vw, 3.1rem);   /* home-page hero */
}

.kicker {
  margin: 8px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* ── Block grid ─────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 26px 26px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(26,26,24,.06), 0 16px 36px rgba(26,26,24,.12);
  border-color: #cfc8b6;
}

/* Lead block spans the full row */
.card--lead {
  grid-column: 1 / -1;
  padding: 40px 44px 44px;
  border-top: 4px solid var(--wine);
}

/* Non-clickable "what's coming" card — sits in the grid, doesn't pretend to be a link */
.card--note {
  background: transparent;
  border: 1px dashed #cfc8b6;
  box-shadow: none;
  cursor: default;
}
.card--note:hover { transform: none; box-shadow: none; border-color: #cfc8b6; }
.card--note .card-cat { color: var(--gold); }
.card--note .card-dek { margin-bottom: 0; color: var(--muted); }

.card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 12px;
}
.card--lead .card-cat { color: var(--gold); }

.card-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card--lead .card-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  max-width: 16ch;
}

.card-dek {
  margin: 0 0 18px;
  color: #45423c;
  font-size: 0.98rem;
}
.card--lead .card-dek {
  font-size: 1.12rem;
  max-width: 56ch;
}

.card-byline {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Featured (latest) block ────────────────────────────────── */
.feature {
  display: block;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--wine);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 40px 44px 44px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(26,26,24,.06), 0 16px 36px rgba(26,26,24,.12);
  border-color: #cfc8b6;
}
.feature-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.feature-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  max-width: 18ch;
}
.feature-dek {
  margin: 0 0 20px;
  font-size: 1.12rem;
  color: #45423c;
  max-width: 58ch;
}
.feature-byline {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature:hover .feature-byline { color: var(--wine); }

/* ── Numbered series index ──────────────────────────────────── */
.series-head {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 52px 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.index { display: flex; flex-direction: column; }
.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 22px;
  padding: 22px 10px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease;
}
.index-row:hover { background: #fff; }
.index-num {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--muted);
  min-width: 2ch;
}
.index-text { display: flex; flex-direction: column; gap: 4px; }
.index-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.index-row:hover .index-title { color: var(--wine); }
.index-dek { color: #5b574f; font-size: 0.96rem; line-height: 1.45; }
.index-arrow {
  align-self: center;
  color: var(--wine);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.index-row:hover .index-arrow { opacity: 1; transform: translateX(0); }

/* ── Article page ───────────────────────────────────────────── */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.article-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.article-back:hover { color: var(--wine); }
.article-cat {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}
.article-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 14px 0 16px;
}
.article-dek {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #45423c;
  margin: 0 0 24px;
}
.article-meta {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.article-body { font-size: 1.12rem; line-height: 1.72; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  margin: 1.8em 0 0.5em;
}
.article-body blockquote {
  margin: 1.6em 0;
  padding-left: 22px;
  border-left: 3px solid var(--wine);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  color: #34312c;
}
.article-figure { margin: 0 0 36px; }
.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.article-figure figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 3px double var(--ink);
  background: var(--paper);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 40px;
  text-align: center;
}
.footer-mark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 6px;
}
.footer-meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.footer-meta a { color: var(--gold); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card--lead { padding: 30px 26px 32px; }
  .feature { padding: 30px 26px 32px; }
  .index-row { column-gap: 16px; padding: 20px 4px; }
}
