/* ─────────────────────────────────────────────
   Care Clarity — Field Notes series styles
   Shared by the series index + all post pages.
   Derived from ai-for-care-managers.html (§15 article treatment).
───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #445A80;
  --primary-deep: #364A6A;
  --primary-soft: hsl(216, 30%, 92%);
  --primary-tint: hsla(216, 30%, 38%, 0.06);
  --coral: #D95D7A;
  --coral-deep: #BE4D67;
  --coral-hover: #BE4D67;
  --coral-soft: hsl(354, 62%, 95%);
  --coral-tint: hsla(354, 62%, 61%, 0.08);
  --mint: #619865;
  --mint-soft: hsl(124, 22%, 96%);
  --paper: hsl(38, 38%, 97%);
  --paper-deep: hsl(38, 30%, 94%);
  --bg: var(--paper);
  --surface: hsl(40, 50%, 99%);
  --surface-alt: hsl(38, 25%, 95%);
  --fg: hsl(216, 25%, 16%);
  --fg-soft: hsl(216, 18%, 32%);
  --fg-muted: hsl(216, 12%, 46%);
  --border: hsl(38, 20%, 88%);
  --border-strong: hsl(38, 18%, 82%);
  --rule: hsl(38, 18%, 80%);
  --gradient-header: linear-gradient(135deg, #445A80 0%, #364A6A 100%);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 1px 2px hsla(216, 25%, 16%, 0.04), 0 4px 14px hsla(216, 25%, 16%, 0.04);
  --shadow-card: 0 1px 2px hsla(216, 25%, 16%, 0.05), 0 8px 24px hsla(216, 25%, 16%, 0.06);
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

p, li, dd, blockquote, figcaption { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  letter-spacing: -0.005em;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--coral-deep); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

p { margin-bottom: 1.1em; }
strong { font-weight: 600; color: var(--fg); }

/* ── Reading progress (post pages) ── */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--coral));
  z-index: 200;
  transition: width 0.08s linear;
}

/* ── Top nav ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gradient-header);
  color: white;
  padding: 0.75rem 2rem;
  box-shadow: 0 1px 0 hsla(216, 30%, 18%, 0.15);
}

.topnav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: white;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-logo:hover { color: white; background: hsla(0, 0%, 100%, 0.08); }

.nav-back-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-logo:hover .nav-back-icon { transform: translateX(-2px); opacity: 1; }
.nav-logo img { height: 28px; width: auto; display: block; }

.nav-cta {
      white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--coral);
  color: white !important;
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsla(354, 45%, 50%, 0.2);
}

.nav-cta svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .topnav { padding: 0.65rem 1rem; }
  .nav-logo img { height: 24px; }
  .nav-cta { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  .nav-cta-full { display: none; }
}
@media (min-width: 601px) {
  .nav-cta-short { display: none; }
}

/* ── Layout shells ── */
.shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

.article {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 0 1.5rem;
}

@media (max-width: 720px) {
  .shell { padding: 0 1.25rem; }
  .article { padding: 1.5rem 0 1rem; }
}

/* ── Series crumb (post pages) ── */
.series-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 1.6rem;
}

.series-crumb::before {
  content: '←';
  color: var(--coral);
  transition: transform 0.18s;
}

.series-crumb:hover { color: var(--coral-deep); }
.series-crumb:hover::before { transform: translateX(-2px); }

/* ── Article header ── */
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.kicker::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--coral);
}

h1.title {
  font-size: clamp(1.95rem, 4.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  margin-bottom: 0.7rem;
}

h1.title em { font-style: italic; color: var(--coral-deep); font-weight: 600; }

.subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--fg-soft);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.byline { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }

.byline-photo {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.byline-name { font-weight: 600; font-size: 0.84rem; color: var(--fg); line-height: 1.25; }
.byline-meta { font-size: 0.74rem; color: var(--fg-muted); line-height: 1.3; }
.byline-meta span + span::before { content: '·'; margin: 0 0.4em; color: var(--border-strong); }

.lead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-soft);
  margin-bottom: 0;
}

.lead strong { color: var(--primary-deep); }

/* ── Sections ── */
section.rule { margin: 3.75rem 0; scroll-margin-top: 6rem; }
section.rule:first-of-type { margin-top: 3rem; }

.rule-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--coral-deep);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.rule-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform: translateY(-4px);
}

h2.rule-title {
  font-size: clamp(1.55rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--primary-deep);
  margin-bottom: 1.35rem;
  line-height: 1.2;
}

h3.sub {
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--fg);
  margin: 2rem 0 0.75rem;
}

section.rule p { color: var(--fg-soft); }
section.rule p strong { color: var(--fg); }

section.rule ul {
  padding-left: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

section.rule ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--fg-soft);
  line-height: 1.6;
}

section.rule ul > li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.68rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ── Callouts ── */
.callout {
  position: relative;
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
  border-radius: var(--radius-md);
  font-size: 0.97em;
  line-height: 1.6;
}

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

.callout-key {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
}

.callout-key p { color: var(--fg); }

.callout-warn {
  background: var(--coral-soft);
  border-left: 4px solid var(--coral);
  color: var(--fg);
}

.callout-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral-deep);
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.callout-key .callout-label { color: var(--primary); }

/* Draft placeholder marker — mockup only */
.editor-note {
  display: inline-block;
  background: hsl(48, 90%, 88%);
  border: 1px dashed hsl(42, 60%, 55%);
  color: hsl(35, 60%, 28%);
  font-size: 0.82em;
  font-family: 'DM Sans', sans-serif;
  padding: 0.1em 0.5em;
  border-radius: 4px;
}

/* ── Tables ── */
.table-wrap {
  margin: 1.8rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

.table-scroll thead th {
  background: var(--surface-alt);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.table-scroll tbody td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--fg-soft);
  line-height: 1.5;
}

.table-scroll thead th:not(:first-child),
.table-scroll tbody td:not(:first-child) { border-left: 1px solid var(--border); }
.table-scroll tbody tr:last-child td { border-bottom: none; }
.table-scroll tbody tr:nth-child(even) td { background: hsla(38, 30%, 96%, 0.4); }
.table-scroll tbody td strong { color: var(--fg); }

/* ── Ornament divider ── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 3.5rem 0;
  color: var(--rule);
}

.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: currentColor;
}

.ornament-mark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--coral);
  transform: translateY(-1px);
}

/* ── Series prev/next strip (post pages) ── */
.series-nav {
  max-width: 720px;
  margin: 4rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.series-nav a {
  display: block;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.18s;
}

.series-nav a:hover {
  border-color: var(--coral);
  background: var(--coral-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.series-nav .dir {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 0.3rem;
}

.series-nav .dest {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary-deep);
  line-height: 1.3;
}

.series-nav a.next { text-align: right; }
.series-nav a.placeholder {
  pointer-events: none;
  opacity: 0.55;
  border-style: dashed;
}

@media (max-width: 560px) {
  .series-nav { grid-template-columns: 1fr; }
  .series-nav a.next { text-align: left; }
}

/* ── Closing CTA frame ── */
.closing {
  position: relative;
  max-width: 720px;
  margin: 3.5rem auto 0;
  padding: 3rem 0 0;
}

.closing-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.closing-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
}

.closing-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral-deep);
  margin-bottom: 1rem;
}

.closing-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.closing-headline em { font-style: italic; color: var(--coral-deep); }

.closing-body {
  color: var(--fg-soft);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}

.cta-row { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  background: var(--coral);
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  box-shadow: 0 2px 8px hsla(354, 50%, 30%, 0.18);
}

.cta-button:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px hsla(354, 45%, 50%, 0.26);
}

.cta-button svg { width: 18px; height: 18px; }

.cta-fallback { font-size: 0.9rem; color: var(--fg-muted); margin: 0; }
.cta-fallback a { color: var(--primary); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.cta-fallback a:hover { color: var(--coral-deep); }

.closing-byline {
  margin-top: 2rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fg-muted);
}

.closing-byline strong { font-style: normal; color: var(--fg); font-weight: 600; }

.footnote {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 0 0 3.5rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--fg-muted);
  text-align: center;
}

/* ═════════════════════════════════════════════
   Series index page
═════════════════════════════════════════════ */

.index-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 0 1rem;
  text-align: center;
}

.index-hero .kicker {
  justify-content: center;
  margin-bottom: 1.1rem;
}

.index-hero .kicker::after {
  content: '';
  width: 22px; height: 1px;
  background: var(--coral);
}

h1.index-title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

h1.index-title em { font-style: italic; color: var(--coral-hover); font-weight: 600; }

.index-thesis {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: var(--fg-soft);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.index-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--fg-muted);
}

.index-byline img + img { margin-left: -1.1rem; }
.index-byline img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--border);
}

/* ── Connection map (signature) ── */
.map-wrap {
  max-width: 820px;
  margin: 2.5rem auto 0;
  padding: 0;
}

.map-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  overflow: hidden;
}

.map-frame svg { width: 100%; height: auto; display: block; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: var(--fg-muted);
}

.map-legend span { display: inline-flex; align-items: center; gap: 0.42rem; }

.map-legend i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.map-legend .lg-phone i { background: var(--coral); }
.map-legend .lg-dual i { background: linear-gradient(90deg, var(--coral) 50%, var(--primary) 50%); }
.map-legend .lg-work i { background: var(--primary); }
.map-legend .lg-hard i {
  background: transparent;
  border: 1.5px dashed var(--fg-muted);
}

/* Draw-on animation */
@media (prefers-reduced-motion: no-preference) {
  .map-frame path.flow {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw 1.6s ease-out forwards;
  }
  .map-frame path.flow.f2 { animation-delay: 0.15s; }
  .map-frame path.flow.f3 { animation-delay: 0.3s; }
  .map-frame path.flow.f4 { animation-delay: 0.45s; }
  .map-frame path.flow.f5 { animation-delay: 0.6s; }
  .map-frame path.flow.f6 { animation-delay: 0.75s; }
  .map-frame path.flow.f7 { animation-delay: 0.9s; }
  .map-frame path.flow.f8 { animation-delay: 1.05s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ── Series ledger ── */
.ledger {
  max-width: 760px;
  margin: 3.5rem auto 0;
}

.ledger-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--coral-deep);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.ledger-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform: translateY(-4px);
}

.entry {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.5rem 1rem;
  margin: 0 -1rem;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
  color: inherit;
}

a.entry:hover { background: var(--coral-tint); color: inherit; }
a.entry:hover .entry-title { color: var(--coral-deep); }
a.entry:hover .entry-arrow { transform: translateX(3px); color: var(--coral-deep); }

.entry-part {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--coral);
  line-height: 1;
  text-align: right;
}

.entry-part small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.entry-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  transition: color 0.18s;
}

.entry-summary {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 52ch;
}

.entry-meta {
  font-size: 0.76rem;
  color: var(--fg-muted);
  margin-top: 0.45rem;
}

.entry-meta span + span::before { content: '·'; margin: 0 0.45em; color: var(--border-strong); }

.entry-arrow {
  font-size: 1.15rem;
  color: var(--fg-muted);
  transition: all 0.18s;
  align-self: center;
}

/* Coming-up block */
.upnext {
  margin-top: 3.25rem;
  background: var(--paper-deep);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.9rem 2rem 1.4rem;
}

.upnext-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.upnext-intro {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--fg-soft);
  font-size: 0.98rem;
  margin-bottom: 1.3rem;
}

.upnext ul { list-style: none; }

.upnext li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--fg-soft);
  line-height: 1.5;
}

.upnext li strong {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--primary-deep);
}

@media (max-width: 620px) {
  .entry { grid-template-columns: 3rem 1fr; }
  .entry-arrow { display: none; }
  .upnext { padding: 1.5rem 1.25rem 1rem; }
}

/* ── Print ── */
@media print {
  .topnav, .progress, .series-nav, .closing, .map-wrap { display: none; }
  body { background: white; font-size: 12pt; }
  body::before { display: none; }
}

/* ═════════════════════════════════════════════
   Resources hub additions
═════════════════════════════════════════════ */

.hub-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--coral-deep);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.hub-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform: translateY(-4px);
}

.hub-block {
  max-width: 760px;
  margin: 3.5rem auto 0;
}

/* ── Featured guide card ── */
.guide-card {
  display: block;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem 1.9rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.2s;
  color: inherit;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px hsla(216, 25%, 16%, 0.06), 0 14px 34px hsla(216, 25%, 16%, 0.1);
  border-color: var(--coral);
  color: inherit;
}

.guide-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: var(--coral-soft);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.guide-card h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.guide-card h2 em { font-style: italic; color: var(--coral-deep); }

.guide-card p {
  color: var(--fg-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  max-width: 58ch;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.guide-card-meta .go {
  margin-left: auto;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.18s;
}

.guide-card:hover .guide-card-meta .go { color: var(--coral-deep); transform: translateX(3px); }
.guide-card-meta span + span:not(.go)::before { content: '·'; margin: 0 0.45em; color: var(--border-strong); }

/* ── Testimonial ── */
.hub-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: center;
  background: var(--paper-deep);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  margin: 0;
}

.hub-testimonial-pull {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  line-height: 1.2;
  color: var(--coral-deep);
  text-wrap: balance;
}

.hub-testimonial-body {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.6;
}

.hub-testimonial-body p { margin-bottom: 0.9rem; }

.hub-testimonial-attrib { font-size: 0.85rem; color: var(--fg-muted); }
.hub-testimonial-attrib strong { color: var(--fg); font-weight: 600; }

@media (max-width: 620px) {
  .hub-testimonial { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.7rem 1.5rem; }
}

/* ── Series intro inside hub ── */
.series-intro {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--fg-soft);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.series-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.series-title em { font-style: italic; color: var(--coral-deep); }

/* ═════════════════════════════════════════════
   Site-style nav (links + hamburger) on the navy band
═════════════════════════════════════════════ */

.topnav-inner { position: relative; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.topnav .nav-link {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s;
}

.topnav .nav-link:hover { background: hsla(0, 0%, 100%, 0.12); color: white; }
.topnav .nav-link.active { background: hsla(0, 0%, 100%, 0.1); }

.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s;
}

.nav-hamburger:hover { background: hsla(0, 0%, 100%, 0.12); }

.nav-hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  animation: navDropIn 0.18s ease-out;
  z-index: 60;
}

@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-drawer[hidden] { display: none; }

.nav-drawer-link {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-drawer-link:hover { background: var(--primary-soft); color: var(--fg); }

@media (max-width: 880px) {
  .topnav .nav-link.hide-xs { display: none; }
  .nav-hamburger { display: inline-flex; }
}

/* ── LinkedIn community card (Resources hub) ── */
.community-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  color: inherit;
  transition: all 0.2s;
}
.community-card:hover { border-color: var(--primary); transform: translateY(-2px); color: inherit; }
.community-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.community-icon svg { width: 20px; height: 20px; fill: #fff; }
.community-body { display: flex; flex-direction: column; gap: 0.3rem; }
.community-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
}
.community-text { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.6; max-width: 58ch; }
.community-go { margin-top: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--primary); transition: transform 0.2s; }
.community-card:hover .community-go { color: var(--primary-deep); }
.hub-block .sparks-card { margin: 0 0 1.25rem; max-width: none; }
.hub-block .guide-card + .guide-card { margin-top: 1.25rem; }

/* ── Line illustrations on resource cards ── */
.guide-card:has(.guide-art) { padding-right: 12.5rem; }
.guide-art { position: absolute; right: 2.2rem; top: 50%; transform: translateY(-50%); width: 140px; pointer-events: none; }
.guide-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .guide-card:has(.guide-art) { padding-right: 2.2rem; }
  .guide-art { position: static; transform: none; width: 76px; margin: 0 0 0.6rem; }
}
