@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Alta"; src: url("../assets/fonts/Alta_regular.otf") format("opentype"); font-display: swap; }

:root {
  --ink: #2B2B2E;
  --slate: #6B6B72;
  --blush: #F4C7CB;
  --wash: #FCEBED;
  --page: #FFFDFC;
  --line: #EFE3E4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--page); color: var(--ink); font: 400 18px/1.7 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - clamp(32px, 12vw, 160px)); margin-inline: auto; }
.narrow { width: min(680px, 100% - 32px); margin-inline: auto; }

/* ---------- Top bar (same as home page) ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,253,252,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.topbar .home { font-family: "Alta", Georgia, serif; font-size: 22px; text-decoration: none; white-space: nowrap; }
.go { font: 600 15px/1 "Inter", sans-serif; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #FFFFFF; text-decoration: none; white-space: nowrap; display: inline-block; }
.go:hover { background: #46464B; }
.topbar .nav-right { display: flex; align-items: center; gap: 18px; }
.topbar .nav-link { font: 600 15px/1 "Inter", sans-serif; color: var(--ink); text-decoration: none; padding: 10px 2px; }
.topbar .nav-link:hover { text-decoration: underline; }

/* ---------- Blog home ---------- */
.blog-head { padding: 72px 0 44px; }
.blog-head .kicker { display: block; }
.blog-head h1 { margin-top: 18px; font: 400 clamp(56px, 9vw, 112px)/1.04 "Alta", Georgia, serif; letter-spacing: 0.02em; }
.blog-head p { margin-top: 20px; max-width: 46ch; font-size: 19px; color: var(--slate); }

.kicker { font: 600 12px/1 "Inter", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; text-decoration: none; padding: 32px; margin-bottom: 96px; background: var(--wash); border-radius: 18px; }
.featured img { width: 100%; aspect-ratio: 1200 / 675; object-fit: cover; border-radius: 12px; }
.featured h2 { margin-top: 14px; font: 600 clamp(26px, 3.4vw, 38px)/1.24 "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }
.featured p { margin-top: 12px; color: var(--slate); }
.featured .more { margin-top: 18px; display: inline-block; font-weight: 600; text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.featured:hover h2 { text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Single post ---------- */
.post-head { padding: 56px 0 32px; }
.post-head .back { font-size: 15px; color: var(--slate); text-decoration: none; }
.post-head .back:hover { color: var(--ink); text-decoration: underline; }
.post-head .kicker { display: block; margin-top: 28px; }
.post-head h1 { margin-top: 16px; font: 600 clamp(34px, 5.2vw, 52px)/1.18 "Inter", system-ui, sans-serif; letter-spacing: -0.015em; }
.post-head .sub { margin-top: 16px; font-size: 21px; line-height: 1.5; color: var(--slate); }
.byline { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--slate); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.byline strong { color: var(--ink); font-weight: 600; }

figure { margin: 8px 0 48px; }
figure img { width: 100%; border-radius: 14px; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--slate); text-align: center; }

/* line-by-line voice: each line its own beat */
.story p { font-size: 20px; line-height: 1.75; margin: 0 0 26px; }
.story p em { font-style: italic; background: linear-gradient(transparent 62%, var(--wash) 62%); }
.story h2 { margin: 56px 0 22px; font: 600 28px/1.25 "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }
.story h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--blush); }
.story a { text-decoration-color: var(--blush); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.invite { margin: 56px 0 40px; padding: 34px; border-radius: 18px; background: var(--blush); }
.invite h2 { font: 600 26px/1.25 "Inter", system-ui, sans-serif; }
.invite p { margin-top: 14px; font-size: 18px; line-height: 1.65; }
.invite .title { font-weight: 600; }
.invite .go { margin-top: 22px; padding: 16px 24px; font-size: 16px; }

.signoff { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.signoff img.sig { width: 170px; }
.sources { margin: 40px 0 96px; font-size: 14px; color: var(--slate); }
.sources h3 { font: 600 13px/1 "Inter", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.sources a { word-break: break-word; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--slate); }
footer a { color: var(--slate); }

@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .story p { font-size: 19px; }
  .invite { padding: 26px 22px; }
}
@media (max-width: 400px) { .topbar .wrap { gap: 8px; } .topbar .home { font-size: 18px; } .topbar .nav-right { gap: 10px; } .topbar .nav-link { font-size: 14px; } .topbar .go { padding: 11px 10px; font-size: 14px; } }

.story h3 { margin: 40px 0 16px; font: 600 21px/1.3 "Inter", system-ui, sans-serif; }
.story figure { margin: 36px 0 40px; }
.story strong { font-weight: 600; }
figure.portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; }
.refs p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; color: var(--slate); }
.refs h3 { margin-top: 28px; }
.transparency { margin: 0 0 36px; padding: 18px 22px; border-left: 3px solid var(--blush); background: #FFF8F8; border-radius: 0 10px 10px 0; font-size: 16px; line-height: 1.6; color: var(--slate); }

.featured { margin-bottom: 56px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; padding-bottom: 96px; align-items: start; }
.card { text-decoration: none; display: block; }
.card img { width: 100%; height: auto; border-radius: 12px; }
.card .kicker { margin-top: 16px; display: block; }
.card h3 { margin-top: 10px; font: 600 21px/1.3 "Inter", sans-serif; }
.card p { margin-top: 6px; font-size: 16px; color: var(--slate); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
/* Phones: same breathing room as the homepage hero (Shea 11/19) */
@media (max-width: 820px) {
  .blog-head h1 { font-size: clamp(38px, 11.4vw, 48px); line-height: 1.1; }
  .blog-head p { margin-top: 22px; }
  .post-head h1 { font-size: 31px; line-height: 1.26; text-wrap: balance; }
  .post-head .sub { margin-top: 18px; }
}
