/* ──────────────────────────────────────────────────────────────
   The Carry - shared stylesheet
   Used by: index.html, subscribe.html, about.html, privacy.html,
            posts/*.html
   No build step. Plain CSS. Edit here and it propagates everywhere.
   ────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   Adjust palette / type here, propagates everywhere.
   ───────────────────────────────────────────────────────────── */
:root {
  --navy:      #0D1B2A;
  --gold-deep: #8A6E1E;   /* eyebrow + italic accent (AA on parchment) */
  --parchment: #F4EFE4;
  --slate:     #3A4250;
  --border:    #C8BAA0;
  --border-2:  #D2C6AE;
  --muted:     #5a5648;  /* bumped from #6e6a5d for AA-strict contrast */

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Helvetica Neue', Arial, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  /* Smooth-scroll for anchor links (e.g. FAQ #what-is-the-carry).
     Honours prefers-reduced-motion. */
  scroll-behavior: smooth;
  /* Account for the sticky nav (~50px) so anchor targets aren't
     hidden behind it when jumped to. */
  scroll-padding-top: 70px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .survey-step, .nav, .post-teaser-image, .nav-cta,
  .signup button, .back-to-top { transition: none !important; }
}
body {
  font-family: var(--serif);
  color: var(--slate);
  background: var(--parchment);
  line-height: 1.5;
  /* 100vh on mobile equals the LARGEST viewport (URL bar hidden),
     so the body extends below the visible area when the URL bar
     is showing - creating "phantom scroll" past the content.
     100dvh tracks the actual visible viewport. 100vh stays as a
     fallback for older browsers. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Editorial gold "spine" - a thin gold-deep stripe at the very top
   of every page. The smallest brand-color injection that makes the
   site feel like a real publication (think FT pink strip). */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--gold-deep);
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────
   SKIP-TO-CONTENT LINK
   Hidden until focused via Tab. Keyboard + screen-reader users
   jump straight past the nav to the article body. WCAG 2.4.1
   requirement; also helps power-users who tab-navigate.
   ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: var(--parchment);
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 6px 0;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  color: var(--parchment);
}

/* ─────────────────────────────────────────────────────────────
   FOCUS RINGS - visible only on keyboard focus (Tab/Shift-Tab).
   Mouse users don't see them, keyboard + screen-reader users do.
   ───────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 3px;
}
.nav--stuck a:focus-visible {
  outline-color: var(--parchment);
}

/* ─────────────────────────────────────────────────────────────
   BACK-TO-TOP BUTTON
   Appears after the reader scrolls past ~400px. Tiny floating
   button bottom-right. For long blog posts and the reads
   archive, it's the difference between "I'm done" and "one more
   article" - small affordance, real engagement signal.
   ───────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--parchment);
  border: 0;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 6px 18px rgba(13, 27, 42, 0.22);
  transition: transform .15s ease, background-color .12s ease;
}
.back-to-top.is-visible {
  display: inline-flex;
}
.back-to-top:hover {
  background: #15273c;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ─────────────────────────────────────────────────────────────
   TOP NAV (homepage, about, posts, privacy - NOT subscribe).
   Navy bar gives every browsable page a strong publication mast.
   ───────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--navy);
  flex-wrap: wrap;
  gap: 12px;
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--parchment);
  text-decoration: none;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(244, 239, 228, 0.72);  /* parchment @ 72% - readable, subordinate */
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .12s ease;
}
.nav-links a:hover { color: var(--parchment); }
/* Subscribe CTA on the navy bar: parchment fill, navy text - high
   contrast button that visually pops out of the dark masthead. */
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  background: var(--parchment);
  color: var(--navy) !important;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background-color .12s ease;
}
.nav-cta:hover { background: #fff; color: var(--navy) !important; }

/* ─────────────────────────────────────────────────────────────
   MAIN - conversion-page top-anchor layout (used by subscribe.html
   and the homepage hero).
   ───────────────────────────────────────────────────────────── */
main {
  flex: 1 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px 40px;
}
.container {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

/* Subscribe / minimal landing page: vertically centre the single
   content block in the viewport. Without this it pins to the top
   (main uses align-items: flex-start), so on a large monitor the
   block sits as a small cluster up top with the lower two-thirds of
   the screen empty. Scoped to .lander so content-rich pages (home,
   about, posts) keep their top-aligned flow. */
.lander main {
  align-items: center;
}

/* Subscribe (lander) form: enlarged so it is the obvious thing to fill
   in - wider, taller, bigger text. The headline keeps its default
   column width and size so it is not affected. Scoped to .lander - the
   homepage hero and the inline blog forms keep their default sizing. */
.lander .signup {
  max-width: 540px;
}
.lander .signup input[type="email"] {
  font-size: 18px;
  padding: 18px 22px;
}
.lander .signup button {
  font-size: 18px;
  padding: 18px 34px;
}

/* ─────────────────────────────────────────────────────────────
   BRAND BLOCK (wordmark + subtitle + rule)
   ───────────────────────────────────────────────────────────── */
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.6vw, 48px);
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.0;
}
.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.brand-rule {
  width: 44px;
  height: 1px;
  background: var(--gold-deep);
  border: 0;
  margin: 0 auto 28px;
}

/* ─────────────────────────────────────────────────────────────
   CONVERSION COPY (subscribe page hero)
   ───────────────────────────────────────────────────────────── */
.headline {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(32px, 4.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
}
.headline em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}
.subhead {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.subhead .lede { color: var(--navy); font-weight: 600; }

/* ─────────────────────────────────────────────────────────────
   SIGNUP FORM
   Connected input + button via shared border-radius corners and
   no gap. Focus ring on the wrapper via :focus-within.
   ───────────────────────────────────────────────────────────── */
.signup {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 12px;
  align-items: stretch;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.04);
  border-radius: 8px;
}
.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--sans);
  /* 16px prevents iOS Safari auto-zoom on focus. */
  font-size: 16px;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--border);
  border-right: 0;
  padding: 12px 16px;
  outline: none;
  border-radius: 8px 0 0 8px;
  -webkit-appearance: none;
          appearance: none;
  transition: border-color .15s ease;
}
.signup input[type="email"]::placeholder { color: #9a9685; }
.signup input[type="email"]:focus { border-color: var(--navy); }
.signup:focus-within {
  box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.08);
}
.signup button {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--parchment);
  background: var(--navy);
  border: 1px solid var(--navy);
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  transition: background-color .15s ease;
}
.signup button:hover,
.signup button:focus-visible { background: #15273c; outline: none; }
.signup button:disabled { opacity: 0.6; cursor: not-allowed; }

.microcopy {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

.form-message {
  font-family: var(--serif);
  font-size: 16px;
  margin: 12px 0 0;
  min-height: 1em;
}
.form-message.success { color: var(--navy); }
.form-message.success .ok { font-weight: 600; }
.form-message.error {
  color: #8a2f2f;
  font-family: var(--sans);
  font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────
   GENERIC SECTIONS (homepage + content pages)
   ───────────────────────────────────────────────────────────── */
.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: left;
}
.section-narrow {
  max-width: 560px;
}
.section-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
}
.section p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 1em;
}
.section a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section hr,
hr.section-rule {
  border: 0;
  border-top: 1px solid var(--border-2);
  margin: 0 auto;
  max-width: 640px;
}
hr.section-rule { width: calc(100% - 48px); }

/* h3 subheading inside a section - "Editorial standards we hold…" */
.section .subheading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--navy);
  margin: 28px 0 12px;
  letter-spacing: -0.1px;
}

/* ─────────────────────────────────────────────────────────────
   CONTENT PILLARS - the "what we cover" / "editorial standards"
   bullet lists. Hanging gold-deep mark + serif body.
   ───────────────────────────────────────────────────────────── */
.content-pillars {
  list-style: none;
  margin: 8px 0 1em;
  padding: 0;
}
.content-pillars li {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px dashed var(--border-2);
}
.content-pillars li:last-child { border-bottom: 0; }
.content-pillars li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 4px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.content-pillars li strong {
  font-weight: 600;
  color: var(--navy);
}

/* ─────────────────────────────────────────────────────────────
   FAQ - visible Q&A mirroring the FAQPage schema. Definition
   list (<dl>) is the semantically correct element for Q & A
   pairs and scores well with answer engines.
   ───────────────────────────────────────────────────────────── */
.faq-list {
  margin: 0;
  padding: 0;
}
.faq-list dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin: 22px 0 8px;
  letter-spacing: -0.1px;
}
.faq-list dt:first-of-type { margin-top: 8px; }
.faq-list dd {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border-2);
}
.faq-list dd:last-of-type { border-bottom: 0; }
.faq-list a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
   BOTTOM CTA - final subscribe push. Centred, prominent.
   ───────────────────────────────────────────────────────────── */
.section-cta {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}
.section-cta .section-label {
  margin: 0 0 14px;
}
.section-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 34px);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.section-cta p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}
.section-cta .nav-cta {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────
   POST TEASERS (homepage "recent reads" list)
   ───────────────────────────────────────────────────────────── */
.posts-list {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-teaser {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-2);
}
.post-teaser:last-child { border-bottom: 0; padding-bottom: 0; }

/* ─── Post-teaser cover image / placeholder block ─── */
.post-teaser-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  color: var(--parchment);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease;
}
.post-teaser-image:hover { transform: translateY(-2px); }
/* Small gold tick in the top-left corner of the cover - editorial
   stamp / makes the placeholder look intentional, not broken. */
.post-teaser-image::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
}
/* Real image goes here when supplied - fills the cover block. */
.post-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* When no <img>, show the issue number as the placeholder cover. */
.post-teaser-image-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  color: var(--parchment);
  letter-spacing: -1px;
  line-height: 1;
}

/* Placeholder posts (no real image yet): lighter cover so the
   navy doesn't compete with the real linked post. */
.post-teaser.post-placeholder .post-teaser-image {
  background: var(--cream-2);
}
.post-teaser.post-placeholder .post-teaser-image::before {
  background: var(--border);
}
.post-teaser.post-placeholder .post-teaser-image-mark {
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   FEATURED POST - single-column stack with larger typography
   and a wider 16:9 cover. The visual lead of the archive.
   ───────────────────────────────────────────────────────────── */
.post-teaser--featured {
  grid-template-columns: 1fr;
  gap: 22px;
  padding-bottom: 36px;
  margin-bottom: 4px;
}
.post-teaser--featured .post-teaser-image {
  aspect-ratio: 16 / 9;
}
.post-teaser--featured .post-teaser-image-mark {
  font-size: 72px;
  letter-spacing: -2px;
}
.post-teaser--featured h3 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.18;
  margin-bottom: 12px;
}
.post-teaser--featured .post-teaser-excerpt {
  font-size: 17px;
  line-height: 1.55;
  max-width: 580px;
}
/* "Latest" badge in the top-right corner of the featured cover. */
.post-teaser-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-deep);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

/* "Read →" link that sits below the excerpt - gives each card a
   clear secondary action. */
.post-teaser-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
}
.post-teaser-link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Placeholder teasers (unpublished issues) - slightly dimmed +
   italicised body so reader can tell they're "coming soon"
   rather than real published pieces. Bracketed copy in the HTML
   should be replaced before launch. */
.post-teaser.post-placeholder { opacity: 0.55; }
.post-teaser.post-placeholder h3 { font-style: italic; }
.post-teaser.post-placeholder .post-teaser-excerpt { font-style: italic; }
.post-teaser.post-placeholder .post-teaser-link {
  cursor: default;
  pointer-events: none;
  color: var(--muted);
}

/* "All issues →" link below the recent-reads list. */
.reads-archive {
  margin: 28px 0 0;
  text-align: right;
}
.reads-archive a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
}
.reads-archive a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-teaser-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 8px;
}
.post-teaser h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.post-teaser h3 a {
  color: var(--navy);
  text-decoration: none;
}
.post-teaser h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-teaser-excerpt {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate);
  margin: 0;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   TRUST STRIP - navy band of credibility facts between hero and
   first content section. Reads as declarative facts about the
   publication, not marketing copy. Sits in the highest-visibility
   slot on the page.
   ───────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--navy);
  color: var(--parchment);
  padding: 28px 24px;
  border-top: 1px solid rgba(244, 239, 228, 0.08);
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}
.trust-strip-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-strip-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--parchment);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.trust-strip-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.65);
}
@media (max-width: 600px) {
  .trust-strip { padding: 22px 18px; }
  .trust-strip-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 380px;
  }
}

/* ─────────────────────────────────────────────────────────────
   READING PROGRESS BAR - sticky at top of viewport, fills as
   the user scrolls. Engagement signal + reader orientation.
   ───────────────────────────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-deep);
  z-index: 100;
  transition: width .12s linear;
  pointer-events: none;
}

/* Sticky-nav-on-scroll state - adds subtle shadow + slight blur.
   Applied via JS on scroll > 60px. */
.nav--stuck {
  position: sticky;
  top: 3px;        /* sits just below the reading-progress bar */
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.18);
  backdrop-filter: blur(8px);
  background: rgba(13, 27, 42, 0.96);
}

/* ─────────────────────────────────────────────────────────────
   BREADCRUMBS - sit above the post header, help users navigate
   back AND give crawlers a clear hierarchy signal.
   ───────────────────────────────────────────────────────────── */
.breadcrumbs {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .12s ease;
}
.breadcrumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumbs [aria-current="page"] { color: var(--navy); }

/* ─────────────────────────────────────────────────────────────
   ARTICLE / POST PAGE
   ───────────────────────────────────────────────────────────── */
.post-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
.post-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-2);
}
.post-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}
.post-title {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
.post-byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--slate);
  margin: 0;
}
.post-byline a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-style: normal;
}
.post-byline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-byline-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 0;
}
.post-byline-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-byline-text { margin: 0; flex: 1; }
/* Author avatar - circle. Either a real <img> or an initials-in-
   circle placeholder that reads as deliberate, not broken. */
.post-byline-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--parchment);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  overflow: hidden;
}
.post-byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Enhanced post-meta: pill for category, dot separators, time. */
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.post-category {
  background: var(--navy);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
}
.post-meta-dot { color: var(--muted); }
.post-meta time,
.post-reading-time {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Dek - short subtitle/description below the title.
   Editorial register - gives the article positioning before
   the reader commits to the body. */
.post-dek {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.5;
  color: var(--slate);
  margin: 0 0 18px;
  font-weight: 400;
}
.post-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
}
.post-body p { margin: 0 0 1.3em; }
.post-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  margin: 1.8em 0 0.6em;
  letter-spacing: -0.2px;
}
.post-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  margin: 1.6em 0 0.5em;
}
.post-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--gold-deep); }
.post-body blockquote {
  border-left: 2px solid var(--gold-deep);
  padding-left: 18px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--slate);
}
.post-body ul,
.post-body ol { margin: 0 0 1.3em 1.2em; padding: 0; }
.post-body li { margin: 0 0 0.4em; }

/* ─────────────────────────────────────────────────────────────
   KEY TAKEAWAYS BOX
   The single biggest AEO move per Princeton 2024 GEO research:
   answer engines preferentially extract bulleted summaries
   for direct-answer citation. Sits after the dek, before body.
   ───────────────────────────────────────────────────────────── */
.post-takeaways {
  margin: 0 0 36px;
  padding: 22px 24px;
  background: #FBF7EE;
  border-left: 3px solid var(--gold-deep);
  border-radius: 0 6px 6px 0;
}
.post-takeaways-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}
.post-takeaways ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-takeaways li {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 10px;
  padding: 0 0 0 18px;
  position: relative;
}
.post-takeaways li:last-child { margin-bottom: 0; }
.post-takeaways li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 700;
}
.post-takeaways li strong {
  color: var(--navy);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   PULL QUOTE - refined editorial pullout. Lifts a memorable
   line from the body and gives it standalone weight.
   ───────────────────────────────────────────────────────────── */
.post-pullquote,
.post-body .post-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.35;
  color: var(--navy);
  border-left: 3px solid var(--gold-deep);
  padding: 6px 0 6px 22px;
  margin: 32px 0;
  letter-spacing: -0.2px;
}

/* ─────────────────────────────────────────────────────────────
   INLINE MID-CONTENT CTA
   Research consistently shows the mid-article CTA (after the
   user has invested 40-60% of reading effort) converts at the
   highest rate of any blog placement.
   ───────────────────────────────────────────────────────────── */
.post-inline-cta {
  margin: 36px 0;
  padding: 20px 24px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
/* Higher-specificity selectors (.post-inline-cta > .child) so these
   rules win against generic .section p / .section a styles when
   the inline-CTA is nested inside a <section>. */
.post-inline-cta > .post-inline-cta-text,
.post-inline-cta-text {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--parchment);
  margin: 0;
  flex: 1;
  line-height: 1.4;
  min-width: 200px;
}
.post-inline-cta > .post-inline-cta-btn,
.post-inline-cta-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  background: var(--parchment);
  color: var(--navy);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color .12s ease;
}
.post-inline-cta > .post-inline-cta-btn:hover,
.post-inline-cta-btn:hover {
  background: #fff;
  text-decoration: none;
}

/* Inline subscribe CTA at the bottom of an article */
.post-cta {
  margin-top: 56px;
  padding: 32px 24px;
  background: #FBF7EE;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.post-cta p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--slate);
  margin: 0 0 18px;
  line-height: 1.55;
}
/* The CTA button on the cream-coloured .post-cta card needs the
   inverse treatment from the navy navbar - navy fill, parchment
   text - to stand out against the light card background. */
.post-cta .nav-cta {
  background: var(--navy);
  color: var(--parchment) !important;
}
.post-cta .nav-cta:hover {
  background: #15273c;
  color: var(--parchment) !important;
}

/* Eyebrow label above the bottom CTA heading. */
.post-cta-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px !important;
}
/* Fine print below the bottom CTA button - addresses the
   implicit "what's the catch?" concern at the conversion moment. */
.post-cta-fineprint {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  color: var(--muted) !important;
  letter-spacing: 0.04em;
  margin: 14px 0 0 !important;
}

/* ─────────────────────────────────────────────────────────────
   POST SHARE BUTTONS - bare-bones, no third-party tracking.
   ───────────────────────────────────────────────────────────── */
.post-share {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-share-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.post-share ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.post-share a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background-color .12s ease, border-color .12s ease;
}
.post-share a:hover {
  background: var(--navy);
  color: var(--parchment);
  border-color: var(--navy);
}

/* ─────────────────────────────────────────────────────────────
   MORE READS - related posts at end of article. Internal
   linking lifts engagement (the #1 signal Google measures)
   and distributes link equity across the archive.
   ───────────────────────────────────────────────────────────── */
.more-reads {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--border-2);
  margin-top: 56px;
}
.more-reads h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--navy);
  margin: 0 0 28px;
  letter-spacing: -0.3px;
}
/* Related posts use the same teaser style but slightly more
   compact image. */
.posts-list--related .post-teaser {
  grid-template-columns: 140px 1fr;
  gap: 20px;
}
.posts-list--related .post-teaser-image-mark { font-size: 32px; }

/* ─────────────────────────────────────────────────────────────
   404 PAGE - branded "page not found". Keeps the brand register
   editorial-restrained, offers four useful destinations rather
   than a dead-end "go home" link.
   ───────────────────────────────────────────────────────────── */
.not-found {
  /* Fill the space between nav and footer and vertically centre the
     content, so on a large monitor it sits at the optical centre
     instead of pinned near the top. Footer stays at the bottom. */
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.not-found h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 40px);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}
.not-found > p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 36px;
}
.not-found-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: grid;
  gap: 10px;
}
.not-found-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .12s ease, background-color .12s ease;
}
.not-found-links a:hover {
  border-color: var(--navy);
  background: #FBF7EE;
}
.not-found-links strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--navy);
}
.not-found-links span {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--slate);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER - navy band, parchment text. Bookends the navy nav.
   ───────────────────────────────────────────────────────────── */
footer {
  flex-shrink: 0;
  text-align: left;
  padding: 28px;
  background: var(--navy);
  color: rgba(244, 239, 228, 0.7);
}
footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(244, 239, 228, 0.7);
  letter-spacing: 0.02em;
}
footer a {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(244, 239, 228, 0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .12s ease;
}
footer a:hover {
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The subscribe page uses a minimal parchment footer (bottom-left
   Privacy only) to preserve the conversion-tested layout. */
footer.footer-minimal {
  background: var(--parchment);
  color: var(--muted);
  padding: 14px 20px;
  border-top: 0;
}
footer.footer-minimal a {
  color: var(--muted);
}
footer.footer-minimal a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Tightened so the subscribe page fits a typical phone viewport
     without scrolling - the brand+headline+subhead+form+microcopy
     stack lands in ~520-540px instead of ~620px.
     Centered (not flex-start) so the page feels balanced instead
     of top-loaded with a big empty zone above the footer. */
  main { padding: 24px 20px 20px; align-items: center; }
  /* Keep the brand and links on a single row - never wrap to a 2nd line. */
  .nav { padding: 12px 16px; gap: 10px; flex-wrap: nowrap; }
  .nav-brand { font-size: 18px; white-space: nowrap; }
  .nav-links { gap: 14px; flex-wrap: nowrap; }
  .nav-links a { font-size: 12.5px; white-space: nowrap; }
  .nav-cta { padding: 7px 12px; font-size: 12.5px; white-space: nowrap; }
  .brand { font-size: clamp(30px, 8vw, 38px); margin-bottom: 4px; }
  .subtitle { font-size: 13px; margin-bottom: 8px; }
  .brand-rule { margin-bottom: 16px; }
  .headline { font-size: clamp(24px, 6.4vw, 30px); margin-bottom: 12px; }
  .subhead { font-size: 15px; margin-bottom: 18px; }
  .signup { flex-direction: column; margin-bottom: 10px; }
  .signup input[type="email"] {
    border-right: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }
  .signup button {
    padding: 14px 22px;
    border-radius: 0 0 8px 8px;
  }
  .section { padding: 36px 20px; }
  .post-wrap { padding: 36px 20px 32px; }
  .post-body { font-size: 16px; }
  /* Stack image above content on phones - side-by-side at 200px
     would be too narrow to read either side. */
  .post-teaser {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .post-teaser-image {
    aspect-ratio: 16 / 9;
  }
  .post-teaser-image-mark { font-size: 36px; }
  /* Inline CTA stacks vertically on mobile. */
  .post-inline-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 20px;
  }
  .post-inline-cta-btn {
    text-align: center;
    padding: 12px 18px;
  }
  /* Tighter takeaways padding on mobile. */
  .post-takeaways { padding: 18px 20px; }
  .post-takeaways li { font-size: 14px; }
  /* Share row wraps cleanly on mobile. */
  .post-share { flex-wrap: wrap; }
  /* Related posts list - single column on mobile, no image side. */
  .posts-list--related .post-teaser { grid-template-columns: 1fr; }
  /* Breadcrumbs slightly smaller. */
  .breadcrumbs { font-size: 11px; }
  footer .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Very narrow phones (small iPhones, ~320-360px): shrink the nav a touch
   more so the brand + links still fit on one row without overflow. */
@media (max-width: 360px) {
  .nav { padding: 11px 13px; gap: 8px; }
  .nav-brand { font-size: 17px; }
  .nav-links { gap: 11px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { padding: 6px 10px; font-size: 12px; }
}
