/* ─────────────────────────────────────────────
   FONTS — Self-hosted Spectral & DM Sans
   ───────────────────────────────────────────── */

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/spectral-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/spectral-400italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/spectral-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/spectral-500italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/spectral-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/spectral-600italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/spectral-700.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/dm-sans.woff2') format('woff2');
}

/* ─────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────── */

:root {
  --bg: #EDE3D0;
  --bg-darker: #E5DAC3;
  --text: #2A2622;
  --subtle: #7A7066;
  --border: #D6C9AF;
  --border-strong: #C4B698;
  --accent: #1F4047;
  --accent-hover: #163034;
}

/* ─────────────────────────────────────────────
   BASE
   ───────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(42, 38, 34, 0.04) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  animation: pageIn 0.4s ease-out;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─────────────────────────────────────────────
   SKIP TO CONTENT
   ───────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  text-decoration: none;
  transition: top 0s;
}

.skip-link:focus {
  top: 0;
}

/* ─────────────────────────────────────────────
   FOCUS VISIBLE — WCAG 2.2 AA
   ───────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ─────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 227, 208, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-name:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

/* Hamburger → X when open */
.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   CONTAINERS
   ───────────────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */

footer {
  position: relative;
  z-index: 1;
  margin-top: 120px;
  padding: 56px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-darker);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-name {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-tag {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.6;
  max-width: 320px;
}

.footer-h {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  font-size: 14px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 24px 56px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--subtle);
}

/* ─────────────────────────────────────────────
   SHARED — Section headings, eyebrows, btns
   ───────────────────────────────────────────── */

.eyebrow {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.section-h {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
}

.section-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.section-link:hover {
  opacity: 0.7;
}

.section-link::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.2s;
}

.section-link:hover::after {
  transform: translateX(3px);
}

.page-header {
  margin-bottom: 64px;
  max-width: 720px;
}

.page-h1 {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.page-h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--subtle);
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid var(--accent);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-ghost:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ─────────────────────────────────────────────
   HOME — HERO
   ───────────────────────────────────────────── */

.home-hero {
  padding: 96px 0 80px;
}

.home-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .home-hero .container {
    grid-template-columns: 3fr 2fr;
    align-items: end;
  }
}

.home-hero h1 {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.home-hero h1 .em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.home-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

/* ─────────────────────────────────────────────
   HOME — FEATURED WRITING CARDS
   ───────────────────────────────────────────── */

.featured {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.piece {
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.piece-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.piece-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.piece:hover .piece-title {
  color: var(--accent);
}

.piece-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--subtle);
}

/* ─────────────────────────────────────────────
   HOME — TOPIC CARDS
   ───────────────────────────────────────────── */

.topics {
  padding: 80px 0;
  margin-top: 24px;
}

.topics-intro {
  font-family: 'Spectral', Georgia, serif;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 400;
  max-width: 640px;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.topics-intro em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.topic {
  background: var(--bg);
  padding: 36px 32px;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.topic:hover {
  background: var(--bg-darker);
}

.topic-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  font-style: italic;
}

.topic-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.topic-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--subtle);
}

/* ─────────────────────────────────────────────
   HOME — SPEAKING STRIP
   ───────────────────────────────────────────── */

.speaking-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.speaking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.engagement-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
  font-weight: 600;
}

.engagement-meta .type {
  color: var(--accent);
}

.engagement-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.engagement-host {
  font-size: 13px;
  color: var(--subtle);
}

/* ─────────────────────────────────────────────
   HOME — NEWSLETTER
   ───────────────────────────────────────────── */

.newsletter {
  margin-top: 32px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-darker);
}

.newsletter-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 56px;
  text-align: center;
}

.newsletter h2 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.newsletter p {
  font-size: 16px;
  color: var(--subtle);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(31, 64, 71, 0.15);
}

.newsletter-form button {
  padding: 14px 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

.newsletter-fine {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 16px;
  font-style: italic;
}

/* Ghost members subscribe success/error states */
.newsletter-form [data-members-error] {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: #c0392b;
  text-align: center;
}

.newsletter-form [data-members-success] {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
}

/* ─────────────────────────────────────────────
   WRITING INDEX
   ───────────────────────────────────────────── */

.writing-page {
  padding: 72px 0 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 56px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
  padding: 8px 16px 8px 0;
  display: flex;
  align-items: center;
}

.filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
  border-radius: 0;
}

.filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter.active,
.filter[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.writing-list {
  border-top: 1px solid var(--border);
}

.writing-entry.is-hidden {
  display: none !important;
}

.writing-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s;
  text-decoration: none;
  color: inherit;
}

.writing-entry:hover {
  padding-left: 12px;
}

.writing-entry:hover .writing-entry-title {
  color: var(--accent);
}

.writing-entry-meta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.writing-entry-date {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
}

.writing-entry-pub {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.writing-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.writing-entry-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 500;
}

.writing-entry-tag + .writing-entry-tag::before {
  content: "\00B7 ";
}

.writing-entry-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.writing-entry-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--subtle);
  max-width: 640px;
}

.writing-type-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  margin-right: 8px;
  font-weight: 600;
  font-family: 'DM Sans', system-ui, sans-serif;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* ─────────────────────────────────────────────
   WRITING POST PAGE
   ───────────────────────────────────────────── */

.piece-page {
  padding: 72px 0 0;
}

.piece-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 56px 56px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.piece-back {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 32px;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.piece-back:hover {
  color: var(--accent);
}

.piece-back::before {
  content: "\2190 ";
}

.piece-page-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}

.piece-page-h1 {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.piece-page-deck {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--subtle);
  max-width: 640px;
  margin-bottom: 32px;
}

.piece-page-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.piece-page-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-weight: 500;
}

/* Post body */
.piece-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 56px 0;
  font-family: 'Spectral', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.piece-body p {
  margin-bottom: 1.4em;
}

.piece-body p:first-child::first-letter {
  font-family: 'Spectral', Georgia, serif;
  font-size: 64px;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  margin: 8px 12px 0 -2px;
  color: var(--accent);
}

.piece-body h2 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 1.6em 0 0.6em;
  letter-spacing: -0.01em;
}

.piece-body h3 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  margin: 1.4em 0 0.5em;
}

.piece-body em {
  font-style: italic;
}

.piece-body strong {
  font-weight: 600;
}

.piece-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 1.4em 0;
  font-style: italic;
  color: var(--text);
}

.piece-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.piece-body ul,
.piece-body ol {
  margin: 0 0 1.4em 1.5em;
}

.piece-body li {
  margin-bottom: 0.4em;
}

.piece-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* Ghost KG cards inside post body */
.piece-body .kg-card {
  margin: 1.6em 0;
}

/* Required by Ghost: wide and full-bleed image cards */
.piece-body .kg-width-wide {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 200px);
  max-width: 1000px;
}

.piece-body .kg-width-full {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
}

/* Alias at root level so Ghost's GScan finds the selectors */
.kg-width-wide { position: relative; }
.kg-width-full { position: relative; }

.piece-body .kg-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.piece-body figcaption {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--subtle);
  margin-top: 8px;
  text-align: center;
  font-style: normal;
}

.piece-body .kg-bookmark-card {
  border: 1px solid var(--border);
  display: block;
  text-decoration: none;
  color: inherit;
}

.piece-body .kg-bookmark-content {
  padding: 20px;
}

.piece-body .kg-bookmark-title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.piece-body .kg-bookmark-description {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.5;
}

.piece-body .kg-callout-card {
  background: var(--bg-darker);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  font-size: 16px;
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.5;
}

/* External link callout */
.external-callout {
  max-width: 680px;
  margin: 56px auto 0;
  padding: 0 56px 56px;
}

.external-card {
  background: var(--bg-darker);
  border: 1px solid var(--border-strong);
  padding: 32px;
}

.external-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.external-card p {
  font-family: 'Spectral', Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.external-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-family: 'DM Sans', system-ui, sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
}

.external-link:hover {
  opacity: 0.75;
}

.external-link::after {
  content: " \2197";
  display: inline-block;
}

/* ─────────────────────────────────────────────
   SPEAKING & MEDIA PAGE
   ───────────────────────────────────────────── */

.speak-page {
  padding: 72px 0 0;
}

.speak-topics {
  margin-bottom: 80px;
}

.speak-topics-h,
.engagements-h {
  font-family: 'Spectral', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}

.speak-topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.speak-topic {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.speak-topic:last-child {
  border-bottom: 1px solid var(--border);
}

.speak-topic-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  padding-top: 4px;
}

.speak-topic-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.speak-topic-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--subtle);
  max-width: 720px;
  margin-top: 12px;
}

.engagements {
  margin-bottom: 80px;
}

.year-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.year-block:last-child {
  border-bottom: 1px solid var(--border);
}

.year-label {
  font-family: 'Spectral', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text);
}

.engagement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.engagement-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.engagement-item .type-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding-top: 3px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.engagement-item-title {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 2px;
}

a.engagement-item-title {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  display: block;
}

a.engagement-item-title:hover {
  text-decoration-color: var(--accent);
}

.engagement-item-host {
  font-size: 13px;
  color: var(--subtle);
}

.media-kit {
  background: var(--bg-darker);
  border: 1px solid var(--border-strong);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.media-kit h3 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.media-kit p {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────── */

.about-page {
  padding: 72px 0 0;
}

.about-header {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 56px;
}

.about-photo-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-darker);
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.about-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-placeholder {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  font-family: 'DM Sans', system-ui, sans-serif;
}

.about-h1 {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-h1 em {
  font-style: italic;
  color: var(--accent);
}

.about-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 56px;
  font-family: 'Spectral', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
}

.about-body p {
  margin-bottom: 1.4em;
}

.about-body h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 2em 0 0.8em;
}

.about-body em {
  font-style: italic;
}

.about-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-pullquote {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--accent);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 32px 0;
  margin: 40px 0;
  text-align: left;
  letter-spacing: -0.005em;
}

.about-clients-callout {
  max-width: 680px;
  margin: 56px auto 0;
  padding: 0 56px 56px;
}

.about-clients-card {
  background: var(--bg-darker);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
}

.about-clients-card .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.about-clients-card p {
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
}

.about-clients-card a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────── */

.contact-page {
  padding: 72px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.contact-card {
  border: 1px solid var(--border);
  padding: 40px 32px;
  background: var(--bg);
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-card .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.contact-card h3 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--subtle);
  margin-bottom: 20px;
}

.contact-card .contact-link {
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  color: var(--accent);
  font-weight: 500;
  word-break: break-all;
  text-decoration: none;
}

.contact-card .contact-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-card.clients {
  background: var(--bg-darker);
}

/* ─────────────────────────────────────────────
   PAGINATION (writing index)
   ───────────────────────────────────────────── */

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 80px;
  font-size: 14px;
  font-weight: 500;
}

.pagination .newer-posts,
.pagination .older-posts {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.pagination .newer-posts:hover,
.pagination .older-posts:hover {
  opacity: 0.7;
}

.pagination .page-number {
  color: var(--subtle);
  font-size: 13px;
}

/* ─────────────────────────────────────────────
   PAGE ENTRANCE ANIMATION
   ───────────────────────────────────────────── */

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE
   ───────────────────────────────────────────── */

@media (max-width: 720px) {
  /* Nav */
  .nav-inner {
    padding: 18px 24px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--bg);
  }

  .nav-links li {
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  /* Containers */
  .container,
  .container-narrow {
    padding: 0 24px;
  }

  /* Home */
  .home-hero {
    padding: 56px 0 48px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 24px 24px 0;
  }

  /* Writing index */
  .writing-entry {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .writing-entry-meta-col {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
  }

  .filter-label {
    width: 100%;
    padding: 8px 0;
  }

  /* Post page */
  .piece-header,
  .about-header,
  .about-body,
  .piece-body,
  .external-callout,
  .about-clients-callout {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Speaking & Media */
  .speak-topic,
  .year-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .engagement-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .media-kit {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter-inner {
    padding: 0 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Section links on mobile */
  .section-head {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
