:root {
    --slate:         #1E2530;
    --slate-mid:     #2E3A48;
    --steel:         #3D5260;
    --copper:        #B5622A;
    --copper-light:  #D4845A;
    --teal:          #6B9E8F;
    --warm-white:    #F9F7F4;
    --parchment:     #EDE8E0;
    --ink:           #1E2530;
    --ink-mid:       #3A4452;
    --ink-light:     #6B7280;

    /* Pagefind default UI theming */
    --pagefind-ui-primary: var(--copper);
    --pagefind-ui-text: var(--ink);
    --pagefind-ui-background: var(--warm-white);
    --pagefind-ui-border: var(--parchment);
    --pagefind-ui-tag: var(--parchment);
    --pagefind-ui-border-width: 1px;
    --pagefind-ui-border-radius: 4px;
    --pagefind-ui-font: 'Source Serif 4', Georgia, serif;
}

.widget-search .pagefind-ui__form { margin-bottom: 0; }
.widget-search .pagefind-ui__result-title { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; }
.widget-search .pagefind-ui__result { padding: 12px 0; border-bottom: 1px solid var(--parchment); }

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--warm-white);
    color: var(--ink);
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--ink); }

code, pre, kbd {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

pre {
    background: var(--slate);
    color: var(--warm-white);
    padding: 1.2rem;
    border-radius: 6px;
    overflow-x: auto;
}

code {
    background: var(--parchment);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

pre code {
    background: none;
    padding: 0;
}

/* wide container (homepage sections) — matches the real site's 1200px grid */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
}

/* narrow container (blog reading width) */
.post-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── TOP HEADER (slim bar, all pages) ── */
.site-header {
    background: var(--slate);
    width: 100%;
}

.site-header .inside-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 56px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--warm-white);
    letter-spacing: 0.02em;
    margin: 0;
}

.site-title a { color: var(--warm-white); }

.site-nav a {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(249,247,244,0.65);
    margin-left: 36px;
    transition: opacity 0.2s, color 0.2s;
}

.site-nav a:hover { color: var(--warm-white); }
.site-nav a.active { color: var(--copper); }

main { display: block; }

/* ── HERO (homepage only) ── */
.hero {
    background-color: var(--slate);
    background-image:
        radial-gradient(ellipse at 68% 48%, rgba(61,82,96,0.55) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 85%, rgba(107,158,143,0.1) 0%, transparent 50%);
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 92vh;
    width: 100%;
}

.hero-text {
    padding: 56px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 28px;
    font-weight: 300;
}

.hero-badge {
    background: rgba(181,98,42,0.15);
    border: 1px solid rgba(181,98,42,0.35);
    color: var(--copper-light);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--warm-white);
    margin: 0 0 28px;
    letter-spacing: -0.015em;
}

.hero-title em {
    font-style: italic;
    color: var(--copper-light);
    font-weight: 400;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(249,247,244,0.6);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--slate);
    background: var(--copper-light);
    padding: 12px 24px;
    transition: background 0.2s;
    border-radius: 2px;
}

.hero-cta-primary:hover { background: var(--copper); color: var(--warm-white); }

.hero-cta-secondary {
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(249,247,244,0.55);
    border-bottom: 1px solid rgba(249,247,244,0.2);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.hero-cta-secondary:hover { color: var(--warm-white); border-color: rgba(249,247,244,0.5); }

/* ── SPEAKING/ABOUT/COURSES/TALKS HERO ── */
.speaking-hero {
    background-color: var(--slate);
    background-image:
            radial-gradient(ellipse at 68% 48%, rgba(61,82,96,0.55) 0%, transparent 60%),
            radial-gradient(ellipse at 15% 85%, rgba(107,158,143,0.1) 0%, transparent 50%);
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.speaking-hero-text {
    padding: 140px 56px 100px 96px;
    position: relative;
    z-index: 1;
}

.speaking-hero-image {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.speaking-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    filter: grayscale(100%);
}

.speaking-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(181,98,42,0.15);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ── SOCIAL ICONS (hero variant - larger boxed icons) ── */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: rgba(249,247,244,0.08);
    border: 1px solid rgba(249,247,244,0.15);
    color: rgba(249,247,244,0.6);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-size: 18px;
}

.social-links .social-link svg { width: 18px; height: 18px; fill: currentColor; }

.social-links .social-link:hover {
    background: rgba(181,98,42,0.2);
    border-color: rgba(181,98,42,0.4);
    color: var(--copper-light);
}

@media (max-width: 1024px) {
    .speaking-hero-text {
        padding: 100px 40px 80px 48px;
    }
}

@media (max-width: 640px) {
    .speaking-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .speaking-hero-text {
        padding: 120px 20px 48px;
    }

    .speaking-hero-image {
        height: 56vw;
        min-height: 240px;
    }
}

/* ── COURSES PAGE ── */
.courses-featured-section {
    background: var(--slate);
    padding: 80px 0;
}

.featured-training-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.featured-training-card-inner {
    background: var(--slate-mid);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 420px;
    min-height: 360px;
}

.featured-training-card-text {
    padding: 56px 64px;
}

.featured-training-card-text::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--copper);
}

.featured-training-card-image {
    position: relative;
    overflow: hidden;
}

.featured-training-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.featured-training-tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 16px;
    font-weight: 400;
}

.featured-training-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--warm-white);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.featured-training-instructor {
    font-size: 14px;
    color: rgba(249,247,244,0.5);
    margin-bottom: 20px;
    font-style: italic;
}

.featured-training-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(249,247,244,0.7);
    margin-bottom: 32px;
    max-width: 680px;
}

.courses-section {
    background: var(--warm-white);
    padding: 80px 0;
}

.courses-livelessons-section {
    background: var(--parchment);
    padding: 80px 0;
}

.courses-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.courses-section-inner .section-subtitle {
    font-size: 16px;
    color: var(--ink-mid);
    margin-top: 8px;
    line-height: 1.6;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.course-item {
    padding: 36px 40px;
    background: var(--warm-white);
    border: 1px solid transparent;
    border-left: 3px solid var(--copper);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.courses-livelessons-section .course-item {
    background: var(--warm-white);
}

.course-item:hover {
    border-color: rgba(181,98,42,0.25);
    border-left-color: var(--copper);
    box-shadow: 0 2px 16px rgba(30,37,48,0.06);
}

.course-item-category {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 10px;
    font-weight: 400;
}

.course-item-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.course-item-instructor {
    font-size: 14px;
    color: var(--ink-light);
    margin-bottom: 16px;
    font-weight: 300;
    font-style: italic;
}

.course-item-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-mid);
    margin-bottom: 24px;
    max-width: 760px;
}

.course-item-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.course-link-primary {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--warm-white);
    background: var(--copper);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.course-link-primary:hover { background: var(--slate); }

.course-link-secondary {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-mid);
    text-decoration: none;
    border-bottom: 1px solid rgba(30,37,48,0.15);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.course-link-secondary:hover {
    color: var(--ink);
    border-color: rgba(30,37,48,0.3);
}

@media (max-width: 1024px) {
    .courses-section-inner { padding-left: 32px; padding-right: 32px; }
    .featured-training-card-inner { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
    .courses-section-inner { padding-left: 20px; padding-right: 20px; }
    .featured-training-card { padding: 0 20px; }
    .featured-training-card-inner { grid-template-columns: 1fr; }
    .featured-training-card-image { height: 220px; }
    .featured-training-card-image img { position: relative; inset: auto; width: 100%; height: 100%; }
    .featured-training-card-text { padding: 28px 24px; }
}

/* ── CONTACT PAGE ── */
.contact-hero {
    background-color: var(--slate);
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(61,82,96,0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(107,158,143,0.08) 0%, transparent 50%);
    padding: 160px 0 100px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hero .hero-sub { max-width: 480px; }
.contact-hero .social-links { justify-content: center; }

@media (max-width: 1024px) {
    .contact-hero { padding: 120px 0 64px; }
    .contact-hero-inner { padding: 0 20px; }
}

/* ── BOOKS PAGE ── */
.books-section {
    background: var(--warm-white);
    padding: 80px 0;
}

.books-featured-section {
    background: var(--parchment);
    padding: 80px 0;
    border-top: 1px solid rgba(30,37,48,0.07);
}

.books-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
}

.book-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
    align-items: start;
    background: var(--warm-white);
    border: 1px solid var(--parchment);
    padding: 48px;
    transition: border-color 0.2s;
}

.book-item:hover { border-color: rgba(181,98,42,0.25); }

.book-item-cover { position: relative; }

.book-item-cover img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 4px 4px 20px rgba(30,37,48,0.15);
}

.book-item-category {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
    font-weight: 300;
}

.book-item-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.book-item-authors {
    font-size: 14px;
    color: var(--ink-light);
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 300;
}

.book-item-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-mid);
    margin-bottom: 28px;
    font-weight: 300;
}

.book-item-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.book-link-primary {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-white);
    background: var(--copper);
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.book-link-primary:hover { background: var(--slate); }

.book-link-secondary {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
    text-decoration: none;
    border-bottom: 1px solid rgba(181,98,42,0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.book-link-secondary:hover {
    color: var(--ink);
    border-color: rgba(30,37,48,0.3);
}

.featured-books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.featured-book {
    background: var(--warm-white);
    border: 1px solid transparent;
    transition: border-color 0.2s;
    overflow: hidden;
}

.featured-book:hover { border-color: rgba(181,98,42,0.25); }

.featured-book-cover {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.featured-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-book-content { padding: 24px; }

.featured-book-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
}

.featured-book-author {
    font-size: 13px;
    color: var(--ink-light);
    margin-bottom: 6px;
    font-weight: 300;
    font-style: italic;
}

.featured-book-role {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 16px;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .books-section-inner { padding-left: 32px; padding-right: 32px; }
    .featured-books-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .books-section-inner { padding-left: 20px; padding-right: 20px; }
    .book-item { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .book-item-cover { max-width: 140px; }
    .featured-books-grid { grid-template-columns: 1fr 1fr; }
}

/* ── TALK PAGE ── */
.talk-video {
    margin: 40px 0 24px;
    border-radius: 2px;
    overflow: hidden;
    background: var(--slate);
}

.talk-video iframe,
.talk-video video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

.talk-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--parchment);
}

.talk-link-btn {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-white);
    background: var(--copper);
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.talk-link-btn:hover { background: var(--slate); }

.talk-link-btn--secondary {
    background: transparent;
    color: var(--copper);
    border: 1px solid rgba(181,98,42,0.4);
}

.talk-link-btn--secondary:hover {
    background: transparent;
    color: var(--ink);
    border-color: rgba(30,37,48,0.4);
}

/* ── SPEAKING PAGE ── */
.speaking-section {
    background: var(--warm-white);
    padding: 80px 0;
    border-top: 1px solid rgba(30,37,48,0.06);
}

.speaking-section--parchment { background: var(--parchment); }

.speaking-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
}

.speaking-section-intro {
    font-size: 16px;
    color: var(--ink-light);
    font-weight: 300;
    margin-bottom: 32px;
    margin-top: -24px;
    max-width: 640px;
    line-height: 1.7;
}

.speaking-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
    font-weight: 300;
}

.speaking-tag--teal { color: var(--teal); }
.speaking-tag--muted { color: var(--ink-light); }

.speaking-keynotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.keynote-card {
    background: var(--slate);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.keynote-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--copper);
    opacity: 0.6;
}

.keynote-card:hover { background: var(--slate-mid); }

.keynote-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--warm-white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.keynote-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.keynote-title a:hover { color: var(--copper-light); }

.keynote-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(249,247,244,0.6);
    margin-bottom: 24px;
    font-weight: 300;
}

.speaking-details-link {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper-light);
    text-decoration: none;
    transition: color 0.2s;
}

.speaking-details-link:hover { color: var(--warm-white); }

.speaking-talks {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.talk-row-card {
    background: var(--warm-white);
    border: 1px solid rgba(30,37,48,0.08);
    padding: 36px;
    transition: border-color 0.2s;
}

.talk-row-card:hover { border-color: rgba(181,98,42,0.25); }

.talk-row-card-header { margin-bottom: 12px; }

.talk-row-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0;
}

.talk-row-card-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.talk-row-card-title a:hover { color: var(--copper); }

.talk-row-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 16px;
    font-weight: 300;
    max-width: 720px;
}

.speaking-evergreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.evergreen-item {
    background: var(--warm-white);
    border: 1px solid var(--parchment);
    padding: 28px 32px;
    transition: border-color 0.2s;
}

.evergreen-item:hover { border-color: rgba(181,98,42,0.2); }

.evergreen-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin: 0;
}

.evergreen-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.evergreen-title a:hover { color: var(--copper); }

.evergreen-collab {
    font-size: 12px;
    color: var(--ink-light);
    font-style: italic;
    margin-top: 6px;
    font-weight: 300;
}

.speaking-bio {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
}

.speaking-bio-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-mid);
    font-weight: 300;
}

.speaking-bio-text p { margin-bottom: 20px; }
.speaking-bio-text em { font-style: italic; }

.speaking-bio-downloads {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.speaking-bio-photo img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 4px 4px 20px rgba(30,37,48,0.15);
}

.speaking-contact {
    background: var(--slate);
    padding: 80px 0;
}

.speaking-contact-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.speaking-contact-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.speaking-contact-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(249,247,244,0.55);
    margin-bottom: 36px;
    font-weight: 300;
}

.speaking-archive-link {
    font-size: 16px;
    color: var(--ink-mid);
    font-weight: 300;
    margin: 0;
}

.speaking-archive-link a {
    color: var(--copper);
    text-decoration: none;
    border-bottom: 1px solid rgba(181,98,42,0.3);
    padding-bottom: 2px;
    transition: color 0.2s;
}

.speaking-archive-link a:hover { color: var(--ink); }

@media (max-width: 1024px) {
    .speaking-section-inner { padding-left: 32px; padding-right: 32px; }
    .speaking-keynotes { grid-template-columns: 1fr; }
    .speaking-bio { grid-template-columns: 1fr; gap: 32px; }
    .speaking-bio-photo { max-width: 280px; }
}

@media (max-width: 768px) {
    .speaking-section-inner { padding-left: 20px; padding-right: 20px; }
    .speaking-keynotes { grid-template-columns: 1fr; }
    .keynote-card { padding: 28px 20px; }
    .speaking-evergreen { grid-template-columns: 1fr; }
    .speaking-bio { grid-template-columns: 1fr; gap: 28px; }
    .speaking-bio-photo { max-width: 200px; }
}

/* ── TALKS ARCHIVE PAGE ── */
.archive-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 56px;
}

.archive-topic-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--parchment);
}

.archive-topic-nav a {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-light);
    text-decoration: none;
    background: var(--parchment);
    padding: 6px 16px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.archive-topic-nav a:hover { background: var(--copper); color: var(--warm-white); }

.archive-topic {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--parchment);
}

.archive-topic:last-child { border-bottom: none; }

.archive-topic-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--copper);
    display: inline-block;
    letter-spacing: -0.01em;
}

.archive-talk-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-talk {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(30,37,48,0.06);
    align-items: baseline;
}

.archive-talk:last-child { border-bottom: none; }

.archive-talk-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    grid-column: 1;
    grid-row: 1;
}

.archive-talk-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.archive-talk-title a:hover { color: var(--copper); }

.archive-talk-meta {
    font-size: 13px;
    color: var(--ink-light);
    font-style: italic;
    font-weight: 300;
    grid-column: 1;
    grid-row: 2;
    margin-top: 2px;
}

.archive-talk-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.archive-link {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.archive-link:hover { color: var(--copper); }

@media (max-width: 1024px) {
    .archive-layout { padding: 48px 32px; }
}

@media (max-width: 768px) {
    .archive-layout { padding: 32px 20px; }
    .archive-talk {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .archive-talk-links {
        grid-column: 1;
        grid-row: 3;
        margin-top: 6px;
    }
}

.hero-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(181,98,42,0.15);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ── CREDENTIALS BAR ── */
.credentials-bar {
    background: var(--slate-mid);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.credentials-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 40px;
    margin-right: 40px;
    border-right: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.credential-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.credential-icon { color: var(--copper); font-size: 14px; opacity: 0.8; }

.credential-text {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(249,247,244,0.55);
    white-space: nowrap;
}

.credential-text strong { color: rgba(249,247,244,0.85); font-weight: 400; }
.credential-text a { color: rgba(249,247,244,0.85); }

/* ── SHARED SECTION HEADER (homepage sections) ── */
.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--parchment);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
}

.section-link {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
}

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

.section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

/* ── INTRO ── */
.intro-section {
    background: var(--parchment);
    padding: 72px 0;
    border-bottom: 1px solid rgba(30,37,48,0.07);
}

.intro-section .section-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    align-items: start;
}

.intro-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.intro-role {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 300;
    line-height: 1.6;
}

.intro-text {
    font-size: 20px;
    line-height: 1.78;
    color: var(--ink);
    font-weight: 300;
    margin: 0;
}

.intro-text strong { font-weight: 600; }

/* ── RECENT POSTS ── */
.recent-posts { padding: 96px 0; background: var(--warm-white); }

.posts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2px;
}

.posts-grid .blog-card { height: 100%; display: flex; flex-direction: column; }
.posts-grid .blog-card-content { flex: 1; }

.post-card {
    background: var(--warm-white);
    padding: 36px;
    border: 1px solid var(--parchment);
    transition: border-color 0.2s, background 0.2s;
    display: block;
}

.post-card:hover { border-color: rgba(181,98,42,0.25); background: #fdfcf9; }

.post-card.featured {
    padding: 44px;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 440px;
    background: var(--slate);
    border-color: transparent;
    position: relative;
    overflow: hidden;
}

.post-card.featured .post-card-bg {
    position: absolute !important;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

.post-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,37,48,0.96) 45%, rgba(30,37,48,0.2) 100%);
    z-index: 1;
}

.post-card.featured > * { position: relative; z-index: 2; }

.post-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
}

.post-card.featured .post-tag { color: var(--copper-light); }

.post-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 10px;
}

.post-card-title a { color: inherit; transition: color 0.2s; }
.post-card-title a:hover { color: var(--copper); }

.post-card.featured .post-card-title { font-size: 26px; color: var(--warm-white); margin-bottom: 14px; }
.post-card.featured .post-card-title a:hover { color: var(--copper-light); }

.post-card-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-light);
    margin: 0 0 18px;
    font-weight: 300;
}

.post-card.featured .post-card-excerpt { color: rgba(249,247,244,0.6); font-size: 16px; }

.post-card-meta {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
}

.post-card.featured .post-card-meta { color: rgba(249,247,244,0.38); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-image { height: 320px; order: -1; }
    .posts-grid { grid-template-columns: 1fr; }
    .post-card.featured { grid-row: auto; min-height: 320px; }
    .intro-section .section-inner { grid-template-columns: 1fr; }
}

/* ── BLOG LAYOUT (posts list / taxonomy pages) ── */
main.blog { padding: 0; }

.post-hero-subtitle {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(249,247,244,0.55);
    font-weight: 300;
    margin-top: 16px;
    max-width: 560px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 56px;
    align-items: start;
}

.blog-content { min-width: 0; }

/* featured (most recent) post */
.blog-featured-post {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 2px;
    overflow: hidden;
    border-radius: 2px;
}

.blog-featured-image { position: absolute; inset: 0; background-size: cover; background-position: center; }

.blog-featured-image--no-image {
    background: var(--slate);
    background-image: radial-gradient(ellipse at 70% 50%, rgba(61,82,96,0.55) 0%, transparent 60%);
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,37,48,0.96) 40%, rgba(30,37,48,0.2) 100%);
}

.blog-featured-content { position: relative; z-index: 2; padding: 44px; }

.blog-featured-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--warm-white);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.blog-featured-title a { color: inherit; }
.blog-featured-title a:hover { color: var(--copper-light); }

.blog-featured-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(249,247,244,0.6);
    margin: 0 0 16px;
    font-weight: 300;
    max-width: 560px;
}

/* grid of remaining posts */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }

.blog-card { background: var(--warm-white); border: 1px solid var(--parchment); transition: border-color 0.2s; overflow: hidden; }
.blog-card:hover { border-color: rgba(181,98,42,0.25); }

.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-image--empty { background: var(--parchment); }

.blog-card-content { padding: 24px; }

.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin: 8px 0 10px;
}

.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--copper); }

/* sidebar */
.blog-sidebar { position: sticky; top: 24px; }

.blog-sidebar .widget + .widget { margin-top: 32px; }

.blog-sidebar .widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--parchment);
}

.blog-sidebar ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar ul li { padding: 6px 0; border-bottom: 1px solid rgba(30,37,48,0.06); font-size: 14px; }
.blog-sidebar ul li a { color: var(--ink-mid); }
.blog-sidebar ul li a:hover { color: var(--copper); }

.post-meta {
    color: var(--ink-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

/* pagination (blog list) */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 48px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--parchment);
}

.pagination .page-item { display: flex; }

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    color: var(--ink-mid);
    background: var(--warm-white);
    border: 1px solid var(--parchment);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.pagination .page-link:hover { border-color: rgba(181,98,42,0.4); color: var(--copper); }

.pagination .page-item.active .page-link {
    background: var(--copper);
    border-color: var(--copper);
    color: var(--warm-white);
}

.pagination .page-item.disabled .page-link {
    color: var(--ink-light);
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; padding: 48px 32px; }
    .blog-sidebar { display: none; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .blog-layout { padding: 32px 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured-post { min-height: 320px; }
    .pagination .page-link { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
}

/* ── POST HERO (single post) ── */
.post-hero {
    background-color: var(--slate);
    background-image:
        radial-gradient(ellipse at 80% 50%, rgba(61,82,96,0.45) 0%, transparent 65%),
        radial-gradient(ellipse at 10% 80%, rgba(107,158,143,0.08) 0%, transparent 50%);
    padding: 96px 0 64px;
}

.post-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 56px; }

.post-hero-category {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 24px;
    font-weight: 300;
}

.post-hero-category:hover { color: var(--warm-white); }

.post-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--warm-white);
    margin: 0 0 28px;
    letter-spacing: -0.015em;
}

.post-hero-details {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(249,247,244,0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-hero-divider { color: var(--copper); opacity: 0.5; }

/* ── FEATURED IMAGE ── */
.post-featured-image { background: var(--parchment); border-bottom: 1px solid rgba(30,37,48,0.08); }

.post-featured-image-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 56px;
    transform: translateY(-32px);
}

.post-featured-image-inner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(30,37,48,0.18);
    margin: 0;
}

/* ── POST CONTENT ── */
.post-content-wrap { background: var(--warm-white); padding: 16px 0 96px; }
.post-content-inner { max-width: 820px; margin: 0 auto; padding: 0 56px; }

.post-content { font-size: 19px; line-height: 1.85; color: var(--ink); font-weight: 300; }

.post-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin: 56px 0 20px;
    line-height: 1.25;
}

.post-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 40px 0 16px;
}

.post-content p { margin-bottom: 28px; }

.post-content a {
    color: var(--copper);
    text-decoration: underline;
    text-decoration-color: rgba(181,98,42,0.35);
    text-underline-offset: 3px;
}

.post-content a:hover { color: var(--ink); text-decoration-color: rgba(30,37,48,0.35); }
.post-content strong { font-weight: 600; color: var(--ink); }

.post-content ul, .post-content ol { margin: 0 0 28px 24px; padding: 0; }
.post-content li { margin-bottom: 8px; line-height: 1.75; }

.post-content blockquote {
    border-left: 2px solid var(--copper);
    margin: 40px 0;
    padding: 4px 0 4px 32px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.55;
    color: var(--ink-mid);
}

.post-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 15px;
    background: var(--parchment);
    color: var(--ink);
    padding: 2px 7px;
    border-radius: 3px;
}

.post-content pre { background: var(--slate); border-radius: 4px; padding: 28px 32px; overflow-x: auto; margin: 32px 0; }
.post-content pre code { background: none; color: var(--warm-white); padding: 0; font-size: 14px; line-height: 1.7; }
.post-content img { max-width: 100%; height: auto; display: block; margin: 40px auto; border-radius: 6px; }

/* ── POST TAGS (single) ── */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--parchment);
}

.post-tag-link {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-light);
    background: var(--parchment);
    padding: 5px 14px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.post-tag-link:hover { background: var(--copper); color: var(--warm-white); }

/* ── POST NAVIGATION (prev/next) ── */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; }

.post-nav-prev, .post-nav-next {
    background: var(--parchment);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-nav-next { text-align: right; }

.post-nav-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 300;
}

.post-nav-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.post-nav-title:hover { color: var(--copper); }

@media (max-width: 700px) {
    .post-navigation { grid-template-columns: 1fr; }
    .post-nav-next { text-align: left; }
    .post-hero-inner, .post-content-inner, .post-featured-image-inner { padding: 0 24px; }
}

/* ── FOOTER ── */
.site-footer { background: var(--slate); color: rgba(249,247,244,0.5); }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 56px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(249,247,244,0.07);
}

.footer-brand { flex-shrink: 0; line-height: 0; }
.footer-logo { height: 40px; width: auto; }

.footer-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

.footer-nav a {
    font-size: 13px;
    color: rgba(249,247,244,0.5);
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-nav a:hover { color: var(--warm-white); }

.footer-social { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }

.footer-social .social-link {
    color: rgba(249,247,244,0.55);
    font-size: 16px;
    display: inline-flex;
    transition: color 0.2s;
}

.footer-social .social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social .social-link:hover { color: var(--warm-white); }

.footer-base {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy { font-size: 12px; color: rgba(249,247,244,0.25); letter-spacing: 0.04em; }

@media (max-width: 600px) {
    .hero-title { font-size: 2rem; }
    .post-header h1 { font-size: 1.9rem; }
    .site-header .inside-header { padding: 18px 24px; }
    .section-inner { padding: 0 24px; }
}
