/* ── Nine4 brand tokens ──────────────────────────────────── */
:root {
  --bg:     #f6f1e7;
  --bg-2:   #efe8d8;
  --ink:    #1a1a1a;
  --ink-2:  #555047;
  --accent: #987e55;
  --rule:   rgba(26, 26, 26, 0.35);
  --rule-soft: rgba(26, 26, 26, 0.18);

  --ff-display: 'Libre Baskerville', Baskerville, 'Palatino Linotype', Palatino, Garamond, serif;
  --ff-body:    Avenir, 'Avenir Next', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --fs-h1:      4.5rem;
  --fs-h2:      3rem;
  --fs-h3:      2rem;
  --fs-h4:      1.5rem;
  --fs-h5:      1.125rem;
  --fs-h6:      0.875rem;
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-caption: 0.8125rem;

  --lh-tight: 1.06;
  --lh-snug:  1.2;
  --lh-body:  1.55;

  --maxw: 1080px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.005em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug);  letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

em, .italic { font-style: italic; }
.accent { color: var(--accent); }
.muted  { color: var(--ink-2); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  z-index: 1000;
}
.nav-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.nav-logo .four { color: var(--accent); }
.nav-cta {
  font-family: var(--ff-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.7; }

/* ── Page wrapper ────────────────────────────────────────── */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 200px 0 120px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  color: var(--accent);
  font-family: var(--ff-display);
  font-style: normal;
  font-size: var(--fs-caption);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; display: block;
  width: 48px; height: 1px;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}
.eyebrow em { color: var(--ink); font-style: normal; }

.headline {
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto 28px;
}
.headline em {
  font-style: italic;
  color: var(--ink);
}

.subheadline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32rem;
  margin: 0 auto 48px;
}

/* ── Button ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.hero-sub-cta {
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-top: 32px;
}
.hero-sub-cta a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* ── Section frame ───────────────────────────────────────── */
section {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}
section:last-of-type { border-bottom: none; }

.section-meta {
  text-align: center;
  color: var(--ink-2);
  font-size: var(--fs-small);
  margin: 0 auto 56px;
  max-width: 540px;
}
.section-meta .num {
  color: var(--accent);
  font-family: var(--ff-display);
  font-style: italic;
  margin-right: 10px;
}

.section-headline {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  max-width: 24ch;
  margin: 0 auto 40px;
}
.section-headline em { font-style: italic; color: var(--accent); }

.section-subtitle {
  max-width: 720px;
  margin: 40px auto 56px;
  text-align: center;
  font-family: var(--ff-body);
  font-size: 1.375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ── Preview specimen (results mockup) ───────────────────── */
.preview-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 48px;
  position: relative;
}
.preview-label {
  font-family: var(--ff-body);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
}
.preview-headline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-2);
  text-align: center;
  margin-bottom: 16px;
}
.preview-number {
  font-family: var(--ff-display);
  text-align: center;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.preview-meta {
  text-align: center;
  font-family: var(--ff-body);
  color: var(--ink-2);
  font-size: var(--fs-small);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.preview-rows { display: grid; gap: 0; }
.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  gap: 16px;
}
.preview-row:last-child { border-bottom: none; }
.preview-row-label {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ink);
}
.preview-row-bar {
  height: 1px;
  background: var(--rule-soft);
  position: relative;
}
.preview-row-fill {
  position: absolute;
  inset: 0;
  height: 1px;
  background: var(--accent);
}
.preview-row-value {
  text-align: right;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.preview-caption {
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-top: 32px;
}

.section-cta {
  text-align: center;
  margin-top: 56px;
}
.section-cta-lead {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 24px;
}

/* ── Hairline grid (shared) ──────────────────────────────── */
.hairline-grid {
  display: grid;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.hairline-grid--1 { grid-template-columns: 1fr; max-width: 720px; }
.hairline-grid--2 { grid-template-columns: 1fr 1fr; }
.hairline-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.hairline-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.hairline-cell p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
}
.cell-num {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cell-label {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}

.aios-diagram {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 28px auto 8px;
}

.defterm {
  position: relative;
  border-bottom: 1px dotted var(--accent);
  cursor: help;
  outline: none;
}
.defterm:focus-visible { outline: 1px dotted var(--accent); outline-offset: 2px; }
.defterm-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ff-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0;
  padding: 10px 14px;
  border-radius: 3px;
  width: max-content;
  max-width: 260px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  z-index: 20;
}
.defterm-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.defterm:hover .defterm-tip,
.defterm:focus .defterm-tip,
.defterm:focus-within .defterm-tip {
  opacity: 1;
  visibility: visible;
}

.cell-parts {
  margin: 20px 0 0;
  padding: 0;
}
.cell-parts > div {
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}
.cell-parts > div:last-child {
  padding-bottom: 0;
}
.cell-parts dt {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.0625rem;
  margin-bottom: 4px;
}
.cell-parts dd {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
}
.cell-outro {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  font-style: italic;
  color: var(--ink-2);
}

/* ── Section asides + prose ──────────────────────────────── */
.section-aside {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.section-lead {
  max-width: 640px;
  margin: 40px auto 48px;
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.section-payoff {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.section-lead-body {
  max-width: 640px;
  margin: 40px auto 48px;
  text-align: center;
  font-family: var(--ff-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.section-payoff-body {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--ff-body);
  font-size: 1.375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.section-subtitle em,
.section-lead-body em,
.section-payoff-body em {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
}

.prose {
  max-width: 640px;
  margin: 0 auto;
}
.prose p {
  margin-bottom: 24px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
}
.prose p:last-child { margin-bottom: 0; }
.prose-aside {
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-2) !important;
  font-size: var(--fs-body) !important;
}
.prose-single {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Checklist (setup detail) ────────────────────────────── */
.checklist {
  list-style: none;
  max-width: 720px;
  margin: 0 auto 48px;
}
.checklist li {
  position: relative;
  padding: 14px 0 14px 36px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
}
.checklist li::before {
  content: "—";
  position: absolute;
  left: 0; top: 14px;
  color: var(--accent);
  font-family: var(--ff-display);
}
.checklist-label {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-weight: normal;
  margin-right: 6px;
}

/* ── Pricing line ────────────────────────────────────────── */
.pricing-line {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pricing-label {
  font-family: var(--ff-body);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pricing-value {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  color: var(--accent);
}
.pricing-note {
  max-width: 720px;
  margin: 16px auto 56px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  text-align: center;
}

/* ── Guarantee ───────────────────────────────────────────── */
.guarantee {
  max-width: 720px;
  margin: 0 auto;
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 28px;
}
.guarantee-label {
  font-family: var(--ff-body);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.guarantee p:not(.guarantee-label) {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ── Retainer tiers ──────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.tier {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.tier--default { background: var(--bg-2); }
.tier-flag {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--ff-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.tier-price {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-soft);
}
.tier-price span {
  font-size: 0.875rem;
  color: var(--ink-2);
  font-style: normal;
}
.tier-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.tier-list li {
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}
.tier-list li::before {
  content: "·";
  position: absolute;
  left: 0; top: -2px;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

/* ── Builds table ────────────────────────────────────────── */
.builds {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.build-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
  gap: 24px;
}
.build-row:last-child { border-bottom: 1px solid var(--rule); }
.build-label {
  font-family: var(--ff-body);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.build-desc {
  font-size: var(--fs-body);
  color: var(--ink);
}
.build-price {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ── Final CTA sub ───────────────────────────────────────── */
.final-cta-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: var(--ff-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
  text-align: center;
}
.final-cta-sub em {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: 140px 0;
  border-bottom: none;
}
.final-cta .section-headline {
  max-width: 22ch;
  margin-bottom: 40px;
}

/* ── Booking modal ───────────────────────────────────────── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-modal.is-open { display: flex; }
.booking-modal-open { overflow: hidden; }
.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
}
.booking-modal-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: calc(100vh - 40px);
  background: var(--bg);
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.28);
  overflow: hidden;
}
.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.booking-modal-close:hover {
  color: var(--ink);
}
.booking-modal-copy {
  padding: 42px 72px 14px;
  text-align: center;
}
.booking-modal-copy h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.125rem);
  line-height: 1.12;
  max-width: 24ch;
  margin: 0 auto 8px;
}
.booking-modal-copy p {
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto;
}
.booking-embed {
  height: min(790px, calc(100vh - 154px));
  min-height: 560px;
  padding: 0 44px 36px;
  background: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.booking-embed iframe {
  display: block;
  border: none;
  width: 100%;
  height: 820px;
  min-height: 820px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 40px 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-logo .four { color: var(--accent); }
.footer-legal {
  font-family: var(--ff-body);
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
  main { padding: 0 24px; }
  .nav-content { padding: 0 24px; }
  .nav-cta { font-size: 0.6875rem; letter-spacing: 0.14em; }

  .hero { padding: 140px 0 80px; }
  .headline { font-size: 2.25rem; }
  .subheadline { font-size: 1.125rem; }
  .eyebrow { font-size: 0.6875rem; letter-spacing: 0.22em; }
  .eyebrow::before, .eyebrow::after { width: 24px; }

  section { padding: 80px 0; }

  .preview-wrap { padding: 40px 28px 32px; }
  .preview-row { grid-template-columns: 1fr 60px; }
  .preview-row-bar { display: none; }

  .hairline-grid--2,
  .hairline-grid--3,
  .tiers { grid-template-columns: 1fr; }

  .build-row { grid-template-columns: 90px 1fr; }
  .build-row .build-price { grid-column: 2; text-align: left; font-size: 1rem; }

  .pricing-line { flex-direction: column; gap: 8px; align-items: flex-start; }

  .final-cta { padding: 80px 0; }

  .booking-modal { padding: 0; align-items: stretch; }
  .booking-modal-panel {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
  }
  .booking-modal-close { top: 12px; right: 12px; }
  .booking-modal-copy {
    padding: 54px 20px 14px;
  }
  .booking-modal-copy h2 { max-width: 20ch; }
  .booking-embed {
    height: calc(100vh - 184px);
    min-height: 560px;
    padding: 0 16px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .booking-embed iframe {
    height: 820px;
    min-height: 820px;
  }
}

/* ── Resources ── */
.resources-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 32px 80px;
}

.resources-page section {
  padding: 0;
  border-bottom: none;
}

.resources-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}

.resources-header h1 {
  margin-bottom: 16px;
}

.resources-header p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.resources-category {
  margin-bottom: 56px;
}

.resources-category-title {
  font-family: var(--ff-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.resource-tile {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.resource-tile:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.tile-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tile-body {
  padding: 20px 24px 24px;
}

.tile-title {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.resource-tile--text .tile-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
}

.tile-date {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  color: var(--ink);
  opacity: 0.5;
}

.resource-tile--text {
  padding: 28px 28px 24px;
}

.tile-category {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ── Post ── */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

.post-header {
  margin-bottom: 40px;
}

.post-category {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.post-header h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: var(--fs-h1);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.post-date {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.5;
}

.post-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 48px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.post-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.post-body h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
}

.post-body p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: var(--fs-body);
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
}

.post-cta {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}

.post-cta h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.post-cta p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: var(--fs-body);
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 28px;
}

/* ── Nav link (resources nav item) ── */
.nav-link {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--ink);
}

@media (max-width: 600px) {
  .resources-page {
    padding: 100px 20px 60px;
  }
  .post {
    padding: 100px 20px 60px;
  }
}

/* ── Post typography devices ─────────────────────────────── */

/* Lede: first paragraph, larger and softer, with drop cap */
.post-body .lede {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.post-body .lede::first-letter {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  float: left;
  font-size: 4.6em;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  margin-top: 4px;
}

/* Section eyebrow: small-caps gold label above h2 */
.post-body .section-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 56px 0 8px;
}
.post-body .section-eyebrow + h2 {
  margin-top: 0;
}
.post-body .section-eyebrow .num {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  margin-right: 10px;
  color: var(--accent);
}

/* Pull quote: large italic display, hairline rules */
.post-body .pullquote {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
  max-width: 36ch;
  margin: 48px auto;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Stat block: framed callout for hero numbers */
.post-body .stat {
  border: 1px solid var(--rule);
  padding: 36px 32px 32px;
  margin: 40px 0;
  text-align: center;
}
.post-body .stat .stat-num {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
  margin: 0 0 12px;
  display: block;
}
.post-body .stat .stat-caption {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin: 0;
}

/* Definition list for "five pieces" / "five changes" runs */
.post-body dl.parts {
  margin: 24px 0 32px;
  padding: 0;
}
.post-body dl.parts dt {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 24px 0 6px;
}
.post-body dl.parts dt:first-child {
  margin-top: 0;
}
.post-body dl.parts dd {
  font-family: 'Nunito Sans', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--rule-soft);
}

@media (max-width: 600px) {
  .post-body .lede { font-size: 1.15rem; }
  .post-body .lede::first-letter { font-size: 3.8em; padding-right: 10px; }
  .post-body .pullquote { font-size: 1.25rem; margin: 36px 0; }
  .post-body .stat { padding: 28px 20px; }
  .post-body dl.parts dd { padding-left: 14px; }
}
