/* =========================================
   Thomas Reichert - reichert.law
   Shared Stylesheet
   ========================================= */

/* -----------------------------------------
   CSS Variables
   ----------------------------------------- */
:root {
    --primary: #152538;
    --primary-light: #1a2e4a;
    --primary-dark: #0d1a2a;
    --accent: #2a4a6d;
    --gold: #96700a; /* darkened from #b8860b so gold text passes WCAG AA on white */
    --gold-light: #d4a847;
    --gold-muted: #c9a227;
    --gold-pale: #f5e6c8;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --text-muted: #6b6b6b;
    --border: #d4d4d4;
    --border-light: #e8e8e8;
    --bg: #ffffff;
    --bg-subtle: #f8f7f5;
    --bg-warm: #faf9f7;
    --bg-cream: #fdfcfa;
    --white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(21, 37, 56, 0.08);
    --shadow-md: 0 4px 12px rgba(21, 37, 56, 0.1);
    --shadow-lg: 0 8px 30px rgba(21, 37, 56, 0.12);
    --shadow-gold: 0 4px 20px rgba(184, 134, 11, 0.15);
}

/* -----------------------------------------
   Reset & Base
   ----------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }
:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.65rem 1rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gold);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.25;
}

/* -----------------------------------------
   Header
   ----------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    border-bottom: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-sm);
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-credentials {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* -----------------------------------------
   Navigation
   ----------------------------------------- */
.main-nav ul { display: flex; list-style: none; gap: 2rem; }
.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-medium);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--white); }

/* Contact CTA button in nav */
.main-nav a.nav-cta {
    background: var(--gold);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}
.main-nav a.nav-cta.active {
    background: var(--gold-light);
}

.external-link-icon,
.external-icon {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.25em;
    vertical-align: middle;
    opacity: 0.7;
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

/* -----------------------------------------
   Buttons
   ----------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--gold);
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-1px);
}

/* -----------------------------------------
   Footer
   ----------------------------------------- */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--gold), var(--primary-dark));
}
.footer-container { max-width: 1100px; margin: 0 auto; }
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    margin-bottom: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.footer-title { font-size: 0.9rem; color: var(--gold-light); }
.footer-school { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.footer-email {
    width: fit-content;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.footer-email:hover { color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal {
    max-width: 900px;
    margin: 0.75rem auto 0;
    font-size: 0.72rem !important;
    line-height: 1.5;
}

/* -----------------------------------------
   CV Entry (shared between pages)
   ----------------------------------------- */
.cv-entry { margin-bottom: 2rem; }
.cv-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.cv-institution { font-weight: 600; font-size: 1.05rem; }
.cv-dates { font-size: 0.9rem; color: var(--gold); font-weight: 500; }
.cv-location { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.25rem; }
.cv-role { font-weight: 500; color: var(--text); }
.cv-description { margin-top: 0.75rem; font-size: 0.95rem; color: var(--text-light); }
.cv-description ul { margin-left: 1.25rem; margin-top: 0.5rem; }
.cv-description li { margin-bottom: 0.35rem; }
.cv-description li::marker { color: var(--gold); }

/* =========================================
   PAGE: Homepage (index.html)
   ========================================= */

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 0.6rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
}
.announcement-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid var(--gold);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-light);
}
.announcement-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--gold-light);
}
.announcement-text { color: rgba(255, 255, 255, 0.9); }
.announcement-text a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.announcement-text a:hover { color: var(--white); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 50%, var(--bg) 100%);
    padding: 5rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8860b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-image { position: relative; }
.hero-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    opacity: 0.4;
}
.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-text {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
}
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.hero-titles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.hero-title-block {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    border-left: 3px solid var(--gold);
    padding-left: 1rem;
}
.hero-title-block:first-child { border-left-color: var(--gold); }
.hero-title-block:last-child { border-left-color: var(--primary); }
.hero-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}
.hero-title-block:last-child .hero-title { color: var(--primary); }
.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}
.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 1.5rem 0;
    position: relative;
}
.hero-divider::before, .hero-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.hero-divider::before { left: -12px; }
.hero-divider::after { right: -12px; }
.hero-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text);
    max-width: 600px;
}
.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Dual Track Section */
.dual-track { padding: 5rem 2rem; background: var(--white); }
.track-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.track {
    padding: 2.5rem;
    background: var(--bg-subtle);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}
.track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.track:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.track-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; color: var(--gold); }
.track-icon svg { width: 100%; height: 100%; }
.track h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.track p { color: var(--text-light); margin-bottom: 1.25rem; }
.track-highlights { list-style: none; margin-bottom: 1.5rem; }
.track-highlights li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}
.track-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.track-link {
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.track-link:hover { color: var(--primary); }

/* Featured Work Section */
.featured-work {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-cream));
    position: relative;
}
.featured-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.featured-container { max-width: 900px; margin: 0 auto; }
.featured-work h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}
.featured-work h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.featured-paper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
}
.featured-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    border-radius: 4px 0 0 4px;
}
.paper-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.paper-meta {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.paper-description {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}
.paper-coverage {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border-radius: 3px;
    margin-bottom: 0.75rem;
}
.coverage-label {
    font-weight: 600;
    color: var(--primary);
    margin-right: 0.5rem;
}
.coverage-outlets { color: var(--text-light); }
.paper-citation {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(184, 134, 11, 0.05));
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 3px;
    margin-bottom: 1.25rem;
}
.citation-label {
    font-weight: 600;
    color: var(--gold);
    margin-right: 0.5rem;
}
.citation-text { color: var(--text); }
.paper-actions { margin-top: 1.5rem; }

/* Testimonials Section */
.testimonials { padding: 4rem 2rem; background: var(--white); }
.testimonials-container { max-width: 900px; margin: 0 auto; }
.testimonials h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
}
.testimonials h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.testimonial-card {
    padding: 1.75rem;
    background: var(--bg-subtle);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}
.testimonial-source { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-source strong { color: var(--primary); font-weight: 600; }
.testimonial-source a { color: var(--gold); }

/* Credentials Bar */
.credentials-bar {
    background: var(--primary);
    padding: 3rem 2rem;
    position: relative;
}
.credentials-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}
.credentials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.credential { text-align: center; }
.credential-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}
.credential-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   PAGE: Consulting (consulting.html)
   ========================================= */

.consulting-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.consulting-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.consulting-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.consulting-hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.consulting-hero h1 { color: var(--white); font-size: 2.75rem; margin-bottom: 0.5rem; }
.consulting-hero .tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.consulting-hero p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Client Experience Section */
.client-experience { padding: 5rem 2rem; background: var(--white); }
.client-container { max-width: 1000px; margin: 0 auto; }
.client-experience h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.client-experience h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.client-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.client-card {
    padding: 1.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-align: center;
    transition: all var(--transition-medium);
}
.client-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.client-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.client-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-cream));
}
.services-container { max-width: 1000px; margin: 0 auto; }
.services-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}
.services-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    position: relative;
    transition: all var(--transition-medium);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--primary); }
.service-card p { color: var(--text-light); line-height: 1.7; }

/* Common consulting engagements */
.engagements-section {
    padding: 5rem 2rem;
    background: var(--white);
}
.engagements-container { max-width: 1000px; margin: 0 auto; }
.section-kicker {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}
.engagements-section h2 {
    margin: 0.35rem 0 0.75rem;
    font-size: 2rem;
    text-align: center;
}
.engagements-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    text-align: center;
}
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.engagement-card {
    padding: 1.75rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
}
.engagement-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.engagement-card p { color: var(--text-light); }
.engagement-card p + p { margin-top: 0.75rem; }
.engagement-card strong { color: var(--primary); }

/* Expertise Section */
.expertise-section {
    padding: 5rem 2rem;
    background: var(--white);
    position: relative;
}
.expertise-container { max-width: 900px; margin: 0 auto; }
.expertise-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.expertise-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.expertise-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}
.expertise-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-subtle);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}
.expertise-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}
.expertise-item::before {
    content: '◆';
    color: var(--gold);
    font-size: 0.5rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-cream));
    text-align: center;
    border-top: 1px solid var(--border-light);
}
.cta-container { max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }

/* =========================================
   PAGE: Academic (academic.html)
   ========================================= */

.page-header {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Content Section */
.content-section { padding: 4rem 2rem; max-width: 900px; margin: 0 auto; }
.academic-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 900px);
    justify-content: center;
    gap: 2.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.academic-sections { min-width: 0; }
.academic-sections .content-section { max-width: none; }
body[data-site="academic"] .academic-sections section[id] { scroll-margin-top: 7rem; }
.academic-jump-nav {
    position: sticky;
    top: 6.25rem;
    align-self: start;
    margin-top: 4rem;
    padding: 1.25rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--gold);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.academic-jump-title {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}
.academic-jump-nav ul { list-style: none; }
.academic-jump-nav li + li { margin-top: 0.2rem; }
.academic-jump-nav a {
    display: block;
    padding: 0.35rem 0.55rem;
    color: var(--text-light);
    border-left: 2px solid transparent;
    font-size: 0.86rem;
}
.academic-jump-nav a:hover,
.academic-jump-nav a.active {
    color: var(--primary);
    border-left-color: var(--gold);
    background: var(--gold-pale);
}
.academic-links { text-align: center; }
.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    position: relative;
}
.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}
.content-section + .content-section { border-top: 1px solid var(--border-light); }

/* Publication Entry */
.publication-entry {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 1rem;
}
.publication-entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 3px;
    height: calc(100% - 1.5rem);
    background: linear-gradient(to bottom, var(--gold), transparent);
}
.publication-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.publication-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.publication-venue { font-style: italic; color: var(--text-light); margin-bottom: 0.5rem; }
.publication-note { font-size: 0.9rem; color: var(--gold); font-weight: 500; }
.publication-links { margin-top: 0.75rem; }
.publication-links a { font-size: 0.9rem; font-weight: 600; color: var(--gold); }
.publication-links a:hover { color: var(--gold-light); }

/* Research Interest Tags */
.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.research-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-cream));
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
    transition: all var(--transition-fast);
}
.research-tag:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(184, 134, 11, 0.05));
    color: var(--primary);
}
.research-tag.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold);
    color: var(--white);
    font-weight: 500;
}
.research-tag.primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* CV Download */
.cv-download {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-subtle), var(--bg-cream));
    margin-top: 3rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    position: relative;
}
.cv-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =========================================
   PAGE: Contact (contact.html)
   ========================================= */

.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    min-height: calc(100vh - 200px);
}
.contact-container { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-section h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-section h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.contact-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    line-height: 1.7;
}

/* Direct contact info card (students & academic) */
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}
.contact-info-card h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.contact-info-note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}
.contact-info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}
.contact-info-value {
    color: var(--text);
    line-height: 1.55;
}
.contact-info-value a {
    color: var(--primary);
    font-weight: 500;
}
.contact-info-value a:hover {
    color: var(--gold);
}
.contact-info-item-full {
    grid-column: 1 / -1;
}
.contact-form-heading {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.contact-legal-notice {
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--gold-pale);
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    text-align: left;
}
.contact-legal-notice h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.contact-legal-notice p { color: var(--text); font-size: 0.92rem; }
.contact-legal-notice p + p { margin-top: 0.5rem; }
@media (max-width: 600px) {
    .contact-info-grid { grid-template-columns: 1fr; }
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.submit-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.submit-btn:hover {
    background: var(--gold);
    transform: translateY(-1px);
}
.form-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}
.connect-section {
    margin-top: 2rem;
    text-align: center;
}
.connect-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.connect-links a {
    color: var(--gold);
    font-weight: 500;
}
.connect-links a:hover {
    color: var(--gold-light);
}

/* Privacy and website notice */
.notice-header { background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream)); }
.notice-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}
.notice-updated {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.notice-page section + section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-light);
}
.notice-page h2 { margin-bottom: 0.75rem; font-size: 1.45rem; }
.notice-page p + p { margin-top: 0.85rem; }
.notice-page a { color: var(--gold); font-weight: 500; }

/* =========================================
   PAGE: 404 (404.html)
   ========================================= */

.error-section {
    padding: 4rem 1.5rem 5rem;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-container {
    max-width: 560px;
    text-align: center;
}
.error-links { list-style: none; text-align: left; margin: 0 auto 2rem; display: grid; gap: 0.6rem; }
.error-links li { list-style: none; }
.error-links a { display: block; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--border-light); border-left: 4px solid var(--gold); border-radius: 4px; color: var(--text-light); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.error-links a:hover, .error-links a:focus-visible { box-shadow: var(--shadow-sm); color: var(--text); }
.error-links strong { color: var(--primary); }
.error-links li:nth-child(1) a { border-left-color: var(--site-speaking); }
.error-links li:nth-child(2) a { border-left-color: var(--site-advisory); }
.error-links li:nth-child(3) a { border-left-color: var(--site-legal); }
.error-links li:nth-child(4) a { border-left-color: var(--site-academic); }
.error-section p a { text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.error-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.error-code {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.error-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* =========================================
   Responsive Styles
   ========================================= */

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-image { max-width: 250px; margin: 0 auto; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-titles { align-items: center; }
    .hero-title-block {
        border-left: none;
        border-bottom: 2px solid var(--gold);
        padding-left: 0;
        padding-bottom: 0.5rem;
        text-align: center;
    }
    .hero-title-block:last-child { border-bottom-color: var(--primary); }
    .hero-divider { margin: 1.5rem auto; }
    .hero-cta { justify-content: center; }
    .track-container { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .credentials-container { gap: 1.5rem; }
    .credential { flex: 1 1 45%; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1050px) {
    .academic-layout { display: block; max-width: 900px; }
    .academic-jump-nav {
        top: 4.75rem;
        z-index: 80;
        margin-top: 0;
        padding: 0.6rem 1rem;
        border-top-width: 1px;
        border-radius: 0;
        overflow-x: auto;
    }
    .academic-jump-title { display: none; }
    .academic-jump-nav ul { display: flex; gap: 0.25rem; width: max-content; }
    .academic-jump-nav li + li { margin-top: 0; }
    .academic-jump-nav a {
        padding: 0.4rem 0.65rem;
        border-left: 0;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }
    .academic-jump-nav a:hover,
    .academic-jump-nav a.active { border-bottom-color: var(--gold); }
}

@media (max-width: 768px) {
    .announcement-content { flex-direction: column; gap: 0.5rem; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem 2rem;
        box-shadow: var(--shadow-md);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .main-nav li:last-child { border-bottom: none; }
    .main-nav a { display: block; padding: 0.75rem 0; }
    .main-nav a.nav-cta {
        display: inline-block;
        margin-top: 0.5rem;
        padding: 0.5rem 1.25rem;
    }
    .mobile-menu-toggle { display: flex; }
    .hero { padding: 3rem 1.5rem 4rem; }
    .hero-content h1 { font-size: 2rem; }
    .footer-main { flex-direction: column; gap: 1.5rem; text-align: center; align-items: center; }
    .footer-brand { align-items: center; }
    .footer-email { margin: 0 auto; }
    .footer-links { justify-content: center; }
}

@media (max-width: 700px) {
    .header-container { padding: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr; }
    .expertise-list { grid-template-columns: 1fr; }
    .engagements-grid { grid-template-columns: 1fr; }
    .cv-entry-header { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* -----------------------------------------
   Credentials Grid (Consulting Page)
   ----------------------------------------- */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.credential-item {
    padding: 0.5rem 0;
}

.credential-number {
    color: var(--gold);
}

/* -----------------------------------------
   Blog Styles
   ----------------------------------------- */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.5rem;
}

.blog-hero-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-light);
    margin: 0 0 1rem;
}

.blog-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 1rem;
    max-width: 600px;
}

/* Blog Section */
.blog-section {
    padding: 3rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-container {
    width: 100%;
}

.blog-controls {
    margin-bottom: 2rem;
}

.blog-search {
    margin-bottom: 1rem;
}

.blog-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-filter {
    padding: 0.4rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.tag-filter.active {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

.post-card:hover .post-title {
    color: var(--gold);
}

.post-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0.25rem 0 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.post-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    background: var(--gold-pale);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.blog-empty,
.blog-no-posts {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.blog-no-posts a {
    color: var(--gold);
}

/* Blog Two-Column Layout */
.blog-section {
    padding: 3rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

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

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-section h2,
.sidebar-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Profile */
.sidebar-profile-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-subtle);
    justify-items: center;
    text-align: center;
}

.sidebar-headshot-frame {
    width: 112px;
    height: 112px;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 238, 238, 0.9));
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
}

.sidebar-headshot {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.sidebar-profile-text {
    display: grid;
    gap: 0.35rem;
}

.sidebar-profile-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.sidebar-profile-title {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

.sidebar-profile-links {
    width: 100%;
    display: grid;
    gap: 0.5rem;
}

.sidebar-profile-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.sidebar-profile-link:hover {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}

/* Sidebar Search */
.blog-search {
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.blog-search .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

/* RSS Subscribe */
.rss-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
    background: var(--gold-pale);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.rss-subscribe svg {
    width: 16px;
    height: 16px;
}

.rss-subscribe:hover {
    background: var(--gold);
    color: var(--white);
}

/* Sidebar Timeline */
.sidebar-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-timeline li {
    margin-bottom: 0.75rem;
}

.sidebar-timeline li:last-child {
    margin-bottom: 0;
}

.sidebar-timeline a {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar-timeline a:hover {
    color: var(--gold);
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 45px;
}

.timeline-title {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-categories li {
    margin-bottom: 0.5rem;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: color var(--transition-fast);
}

.sidebar-categories a:hover {
    color: var(--gold);
}

.sidebar-categories .count {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

/* Sidebar Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    transition: all var(--transition-fast);
}

.sidebar-tag:hover {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}

/* Sidebar About */
.sidebar-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.sidebar-about a {
    color: var(--gold);
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold);
    transition: color var(--transition-fast);
}

.read-more:hover {
    color: var(--primary);
}

/* Post Card Title Link */
.post-card .post-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.post-card .post-title a:hover {
    color: var(--gold);
}

/* Responsive Sidebar */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-light);
    }

    .sidebar-section {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Blog Post Page Styles */
.blog-post {
    padding: 3rem 2rem 5rem;
    max-width: 750px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-post-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}
.blog-post-tags .post-tag { white-space: nowrap; }

.blog-post-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
    margin: 0;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-post-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
}

.blog-post-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.blog-post-content p {
    margin: 0 0 1.5rem;
}

.blog-post-content a {
    color: var(--gold);
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: var(--gold-light);
}

.blog-post-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--gold);
    background: var(--bg-subtle);
    font-style: italic;
    color: var(--text-light);
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 1.5rem 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    background: var(--bg-subtle);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.blog-post-content pre {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    overflow-x: auto;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-feedback {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-subtle);
    display: grid;
    gap: 0.6rem;
}

.blog-feedback-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.blog-feedback-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.blog-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-feedback-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.blog-feedback-link:hover {
    color: var(--white);
    background: var(--gold);
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 500;
}

.blog-back-link:hover {
    color: var(--gold-light);
}

/* RSS Link */
.rss-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
    background: rgba(184, 134, 11, 0.1);
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.rss-link:hover {
    background: var(--gold);
    color: var(--white);
}

.rss-link svg {
    width: 1em;
    height: 1em;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-categories,
.blog-tags,
.blog-series {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.category-filter,
.series-filter {
    padding: 0.4rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-filter:hover,
.series-filter:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.category-filter.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.series-filter.active {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

/* Post Card Enhancements */
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.post-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--bg-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.post-series-info {
    font-size: 0.9rem;
    color: var(--accent);
    font-style: italic;
}

.post-series-info em {
    font-style: normal;
    font-weight: 500;
}

/* Blog Post Series Navigation */
.series-nav {
    background: var(--bg-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.series-nav-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.series-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.series-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
    flex: 1;
    max-width: 45%;
}

.series-nav-link:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.series-nav-link.next {
    text-align: right;
    margin-left: auto;
}

.series-nav-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.series-nav-text {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.series-nav-link:hover .series-nav-text {
    color: var(--gold);
}

@media (max-width: 768px) {
    .blog-section { padding: 2rem 1.5rem 3rem; }
    .blog-post { padding: 2rem 1.5rem 3rem; }
    .blog-post-title { font-size: 2rem; }
    .post-title { font-size: 1.25rem; }
    .blog-filters { gap: 1rem; }
    .series-nav-links { flex-direction: column; }
    .series-nav-link { max-width: 100%; }
    .series-nav-link.next { text-align: left; }
}

/* =========================================
   PAGE: Links (links/index.html)
   ========================================= */

.links-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 50%, var(--bg) 100%);
    padding: 3.5rem 1.5rem 3rem;
}
.links-container { max-width: 560px; margin: 0 auto; }
.links-header { text-align: center; margin-bottom: 2.5rem; }
.links-avatar {
    display: block;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    margin: 0 auto 1.25rem;
}
.links-name {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 0.35rem;
}
.links-credentials {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.links-titles {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.links-titles span { display: block; }
.links-titles .links-org {
    color: var(--text-light);
    font-size: 0.9rem;
}
.links-titles .links-role { font-weight: 500; }
.links-divider {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem auto;
}
.links-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Link buttons */
.link-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 0.875rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.link-button:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.link-button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}
.link-icon {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.link-icon svg { width: 20px; height: 20px; }
.link-copy { flex: 1 1 auto; min-width: 0; }
.link-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}
.link-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}
.link-arrow {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 1.1rem;
    line-height: 1;
}

/* Featured (primary) buttons */

.links-group-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 2rem 0 0.875rem;
    text-align: center;
}
.links-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}
.links-footer a { color: var(--primary); font-weight: 500; }
.links-footer a:hover { color: var(--gold); }
.links-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .links-page { padding: 1.75rem 1rem 2rem; }
    .links-name { font-size: 1.9rem; }
    .links-avatar { width: 96px; height: 96px; margin-bottom: 0.9rem; }
    .links-credentials { margin-bottom: 0.75rem; }
    .links-divider { margin: 0.9rem auto; }
    .links-header { margin-bottom: 1.75rem; }
    .link-button { padding: 0.875rem 1rem; gap: 0.875rem; }
}

/* Links page: 2x2 primary action grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}
.link-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: 1px solid var(--primary);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.link-tile:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.link-tile:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}
.link-tile .link-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 71, 0.2);
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}
.link-tile .link-icon svg { width: 22px; height: 22px; }
.link-tile .link-label {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.25;
}
.link-tile .link-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

@media (max-width: 480px) {
    .links-grid { gap: 0.75rem; }
    .link-tile { padding: 1.15rem 0.65rem; }
    .link-tile .link-icon { width: 42px; height: 42px; margin-bottom: 0.6rem; }
    .link-tile .link-label { font-size: 0.92rem; }
    .link-tile .link-sub { font-size: 0.75rem; }
}

/* =========================================
   Hub (index.html) and sub-sites
   Each sub-site sets body[data-site] to pick its accent.
   ========================================= */
:root {
    --site-speaking: #b5542d;
    --site-speaking-light: #e89a74;
    --site-advisory: #1f7a74;
    --site-advisory-light: #5cc2b8;
    --site-legal: #96700a;
    --site-legal-light: #d4a847;
    --site-academic: #5b4a8a;
    --site-academic-light: #b0a2dc;
    --site-accent: var(--gold);
    --site-accent-light: var(--gold-light);
}
body[data-site="speaking"] { --site-accent: var(--site-speaking); --site-accent-light: var(--site-speaking-light); }
body[data-site="advisory"] { --site-accent: var(--site-advisory); --site-accent-light: var(--site-advisory-light); }
body[data-site="legal"] { --site-accent: var(--site-legal); --site-accent-light: var(--site-legal-light); }
body[data-site="academic"] { --site-accent: var(--site-academic); --site-accent-light: var(--site-academic-light); }
/* Inside a sub-site, the legacy gold tokens take that sub-site's accent, so shared
   components (credentials bar, footer rule, kickers, blog links) follow the door color. */
body[data-site] { --gold: var(--site-accent); --gold-light: var(--site-accent-light); --gold-muted: var(--site-accent); }
body[data-site="speaking"] { --gold-pale: #f6e3da; }
body[data-site="advisory"] { --gold-pale: #d9efec; }
body[data-site="academic"] { --gold-pale: #e9e5f3; }

/* Switcher bar above each sub-site header */
.site-switcher { background: var(--primary-dark); font-size: 0.8rem; }
.site-switcher-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.45rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.site-switcher a { color: rgba(255, 255, 255, 0.7); }
.site-switcher a:hover { color: var(--white); }
.site-switcher-home { font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.site-switcher ul { display: flex; flex-wrap: wrap; list-style: none; gap: 0.25rem 1.25rem; }
.site-switcher a[aria-current] {
    color: var(--white);
    box-shadow: inset 0 -2px 0 var(--site-accent-light);
    padding-bottom: 2px;
}

/* Sub-site header takes the site accent */
.site-header--sub::after { background: linear-gradient(90deg, transparent, var(--site-accent-light), transparent); }
.site-header--sub .logo-credentials { color: var(--site-accent-light); text-transform: uppercase; letter-spacing: 0.14em; }
.site-header--sub .main-nav a::after { background: var(--site-accent-light); }
.site-header--sub .main-nav a.nav-cta { background: var(--site-accent); }
.site-header--sub .main-nav a.nav-cta:hover { background: var(--site-accent-light); color: var(--primary-dark); }

.btn-accent { background: var(--site-accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Sub-site hero */
.site-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4.5rem 2rem 5rem;
    position: relative;
    border-bottom: 4px solid var(--site-accent);
}
.site-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.site-hero .site-hero-kicker {
    color: var(--site-accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.site-hero h1 { color: var(--white); font-size: 2.9rem; margin-bottom: 1.25rem; }
.site-hero p { font-size: 1.12rem; line-height: 1.75; color: rgba(255, 255, 255, 0.9); max-width: 720px; margin: 0 auto; }
.site-hero .hero-cta { justify-content: center; }

/* Generic sub-site section */
.site-section { padding: 4.5rem 2rem; background: var(--white); }
.site-section--tint { background: var(--bg-subtle); }
.site-section[id] { scroll-margin-top: 5rem; }
.site-section-inner { max-width: 1000px; margin: 0 auto; }
.site-section-kicker {
    color: var(--site-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}
.site-section h2 { font-size: 2.1rem; text-align: center; margin: 0.35rem 0 0.75rem; }
.site-section-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    text-align: center;
}

/* Talks */
.talk-list { display: grid; gap: 1.5rem; }
.talk-card {
    padding: 2rem 2.25rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--site-accent);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.talk-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--site-accent);
    margin-bottom: 0.4rem;
}
.talk-card h3 { font-size: 1.55rem; margin-bottom: 0.75rem; }
.talk-card > p { color: var(--text); line-height: 1.75; }
.talk-meta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; margin-top: 1.25rem; }
.talk-meta h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.talk-meta p, .talk-meta li { color: var(--text-light); font-size: 0.95rem; }
.talk-meta ul { list-style: none; }
.talk-meta li { padding-left: 1rem; position: relative; margin-bottom: 0.3rem; }
.talk-meta li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--site-accent);
}

/* Formats */
.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.format-card {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--site-accent);
    border-radius: 4px;
}
.format-card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.format-length { font-size: 0.85rem; font-weight: 600; color: var(--site-accent); margin-bottom: 0.6rem; }
.format-card p { color: var(--text-light); font-size: 0.93rem; }
.format-note { text-align: center; color: var(--text-light); margin-top: 2rem; font-size: 0.98rem; }

/* Venues */
.venue-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.venue-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--border-light); }
.venue-list strong { display: block; color: var(--primary); font-weight: 600; }
.venue-list span { color: var(--text-light); font-size: 0.92rem; }

/* Speaker kit */
.kit-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.kit-bio {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 4px;
}
.kit-bio h3, .kit-assets h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.kit-bio p { color: var(--text); line-height: 1.75; }
.kit-copy {
    margin-top: 1rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--site-accent);
    background: none;
    border: 1px solid currentColor;
    border-radius: 3px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}
.kit-assets { padding: 1.75rem; background: var(--white); border: 1px solid var(--border-light); border-radius: 4px; }
.kit-assets img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }
.kit-assets ul { list-style: none; }
.kit-assets li + li { margin-top: 0.5rem; }
.kit-assets a { color: var(--site-accent); font-weight: 600; }

/* Hub */
.hub-hero {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 50%, var(--bg) 100%);
    padding: 3.5rem 2rem 4rem;
    position: relative;
    border-bottom: 4px solid var(--gold);
}
.hub-intro {
    max-width: 860px;
    margin: 0 auto 2.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.hub-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold), var(--shadow-md);
}
.hub-kicker {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hub-intro h1 { font-size: 2.9rem; margin: 0.15rem 0 0.5rem; }
.hub-lede { font-size: 1.15rem; line-height: 1.65; color: var(--text); }
.hub-doors {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.hub-door {
    --door-accent: var(--gold);
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--door-accent);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}
.hub-door:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--door-accent); }
.hub-door--speaking { --door-accent: var(--site-speaking); }
.hub-door--advisory { --door-accent: var(--site-advisory); }
.hub-door--legal { --door-accent: var(--site-legal); }
.hub-door--academic { --door-accent: var(--site-academic); }
.hub-door-audience {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--door-accent);
    margin-bottom: 0.6rem;
}
.hub-door h2 { font-size: 1.65rem; margin-bottom: 0.5rem; }
.hub-door p { color: var(--text-light); font-size: 0.95rem; flex: 1; }
.hub-door-go { margin-top: 1.25rem; font-weight: 600; color: var(--door-accent); }
.hub-band { padding: 2.25rem 2rem; background: var(--bg-subtle); border-top: 1px solid var(--border-light); text-align: center; }
.hub-band p { max-width: 760px; margin: 0 auto; color: var(--text); }
.hub-band a { color: var(--site-advisory); font-weight: 600; }

@media (max-width: 960px) {
    .hub-doors { grid-template-columns: repeat(2, 1fr); }
    .format-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .site-switcher-inner { padding: 0.45rem 1rem; }
    .hub-hero { padding: 2.5rem 1rem 3rem; }
    .hub-intro { flex-direction: column; text-align: center; gap: 1.1rem; margin-bottom: 2rem; }
    .hub-photo { width: 112px; height: 112px; }
    .hub-intro h1 { font-size: 2.2rem; }
    .hub-lede { font-size: 1.05rem; }
    .site-hero { padding: 3rem 1rem 3.5rem; }
    .site-hero h1 { font-size: 2.2rem; }
    .site-section { padding: 3.25rem 1rem; }
    .site-section h2 { font-size: 1.75rem; }
    .talk-card { padding: 1.5rem 1.25rem; }
    .talk-meta { grid-template-columns: 1fr; gap: 1rem; }
    .venue-list { grid-template-columns: 1fr; }
    .kit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .hub-doors { grid-template-columns: 1fr; }
    .format-grid { grid-template-columns: 1fr; }
    .hub-door { padding: 1.35rem 1.25rem 1.2rem; }
    .site-switcher-inner { justify-content: center; flex-wrap: wrap; row-gap: 0.25rem; }
    .site-switcher ul { gap: 0.25rem 0.9rem; justify-content: center; }
    .credential-label { font-size: 0.72rem; letter-spacing: 0.06em; }
    .hub-kicker, .site-hero .site-hero-kicker { font-size: 0.7rem; letter-spacing: 0.1em; }
}

/* Sub-site component variants */
.format-grid--3 { grid-template-columns: repeat(3, 1fr); }
body[data-site] .engagement-card { border-left-color: var(--site-accent); background: var(--white); }
body[data-site] .engagement-card a { color: var(--site-accent); font-weight: 600; }
.site-section--tint .format-card { background: var(--white); }

/* Method steps (Consulting & AI Advisory) */
.method-grid {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.method-step {
    counter-increment: step;
    position: relative;
    padding: 3.25rem 1.4rem 1.5rem;
    background: var(--bg-subtle);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}
.method-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 1rem;
    left: 1.4rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--site-accent);
    line-height: 1;
}
.method-step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.method-step p { color: var(--text-light); font-size: 0.95rem; }

/* MarkSense panel: onyx ground with the brand teal */
.marksense-panel {
    background: radial-gradient(ellipse at 85% 20%, rgba(15, 181, 164, 0.18), transparent 55%), #0b1417;
    color: rgba(255, 255, 255, 0.88);
    padding: 4.5rem 2rem;
    border-top: 4px solid #0fb5a4;
    scroll-margin-top: 5rem;
}
.marksense-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}
.marksense-panel .site-hero-kicker { color: #3df2d0; }
.marksense-logo { width: 100%; max-width: 340px; height: auto; margin: 0.5rem 0 1.5rem; }
.marksense-copy p { line-height: 1.75; margin-bottom: 1rem; }
.marksense-copy .btn { margin-top: 0.75rem; background: #0fb5a4; color: #0b1417; font-weight: 600; }
.marksense-copy .btn:hover { background: #3df2d0; color: #0b1417; }
.marksense-points { list-style: none; display: grid; gap: 1rem; }
.marksense-points li {
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(61, 242, 208, 0.22);
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.marksense-points strong { display: block; color: #3df2d0; font-weight: 600; margin-bottom: 0.2rem; }

/* Legal and Academic sections sit under the sticky header when jumped to */
body[data-site] section[id] { scroll-margin-top: 5rem; }

@media (max-width: 960px) {
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .format-grid--3 { grid-template-columns: 1fr; }
    .marksense-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .method-grid { grid-template-columns: 1fr; }
    .marksense-panel { padding: 3.25rem 1rem; }
}
@media (max-width: 1100px) and (min-width: 769px) {
    .main-nav ul { gap: 1.25rem; }
    .main-nav a { font-size: 0.9rem; }
}

/* Hub: booking buttons and recent-talks strip */
.hub-cta { margin-top: 1.25rem; }
.hub-talks { padding: 1.25rem 2rem; background: var(--bg-subtle); border-bottom: 1px solid var(--border-light); text-align: center; }
.hub-talks p { max-width: 1000px; margin: 0 auto; font-size: 0.92rem; color: var(--text-light); line-height: 1.8; }
.hub-talks-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-right: 0.5rem; }
.hub-talks a { font-weight: 600; margin-left: 0.5rem; white-space: nowrap; }
@media (max-width: 700px) {
    .hub-cta { justify-content: center; }
    .hub-talks { padding: 1.25rem 1rem; }
}

/* Blog: path to paid work and search feedback */
.blog-work { margin-top: 2rem; padding: 1.75rem; background: var(--bg-subtle); border: 1px solid var(--border-light); border-left: 4px solid var(--site-accent); border-radius: 6px; }
.blog-work-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 0.4rem; }
.blog-work-text { color: var(--text); margin-bottom: 1rem; }
.blog-work-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.blog-search-status { color: var(--text-light); font-size: 0.9rem; margin-top: 0.5rem; }
.blog-search-status:empty { display: none; }
.blog-hero-description a { color: var(--white); text-decoration: underline; }
.site-hero .site-hero-id { margin-top: 1.25rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.marksense-heading { margin: 0; line-height: 0; }
.site-hero p { text-wrap: pretty; }
.site-hero .site-hero-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--site-accent-light); margin: -0.5rem auto 1.25rem; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip-list li { padding: 0.5rem 1rem; background: var(--white); border: 1px solid var(--border-light); border-radius: 999px; font-size: 0.93rem; color: var(--text); }
.content-section p + p { margin-top: 1rem; }
.teaching-school { margin-bottom: 1rem; }
.publication-title, h1, h2 { font-variant-numeric: lining-nums; }
.academic-work .blog-work-actions { margin-top: 1rem; }
.cv-download p { margin-bottom: 1rem; }

/* Contact: form first, fields by inquiry type */
.contact-form { margin-bottom: 3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.inquiry-fields { border: 1px solid var(--border-light); border-radius: 6px; padding: 1.25rem 1.25rem 0.25rem; margin: 0 0 1.5rem; }
.inquiry-fields legend { padding: 0 0.4rem; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { border-color: #8a8a8a; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(150, 112, 10, 0.45); }
.contact-success { padding: 1.5rem; margin-bottom: 2rem; background: #eef6ee; border: 1px solid #9cc49c; border-left: 4px solid #2e7d32; border-radius: 6px; }
.contact-success h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.contact-success:focus { outline: none; }
.contact-connect { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.contact-info-card h2 { font-size: 1.4rem; }
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
h2.links-group-label { font-family: var(--font-body); color: var(--text-light); }
.links-legal { font-size: 0.7rem; line-height: 1.5; color: var(--text-light); margin-top: 0.5rem; }

/* Analytics consent banner */
.consent-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
    max-width: 640px; margin: 0 auto; padding: 1rem 1.25rem;
    background: var(--primary-dark); color: rgba(255, 255, 255, 0.9);
    border-radius: 8px; box-shadow: var(--shadow-lg);
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
    font-size: 0.9rem;
}
.consent-banner p { flex: 1 1 280px; margin: 0; }
.consent-banner a { color: var(--white); text-decoration: underline; }
.consent-actions { display: flex; gap: 0.5rem; }
.consent-actions button { font: inherit; font-weight: 600; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; border: 2px solid rgba(255, 255, 255, 0.7); }
.consent-accept { background: var(--white); color: var(--primary-dark); }
.consent-decline { background: transparent; color: var(--white); }
.consent-settings { font: inherit; color: var(--primary); text-decoration: underline; background: none; border: none; padding: 0; cursor: pointer; }

/* Round 2 */
:root { --gold-text: #7d5d08; }
.hub-talks-label, .hub-kicker, .citation-label { color: var(--gold-text); }
.credentials-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; justify-content: initial; }
.credential-label { letter-spacing: 0.06em; }
@media (max-width: 900px) { .credentials-container { grid-template-columns: repeat(2, 1fr); } }
.timeline-date { flex: 0 0 5.75rem; white-space: nowrap; }
.publication-note { color: var(--text); font-weight: 400; }
.contact-intro a, .contact-info-value a, .contact-connect a { text-decoration: underline; text-underline-offset: 2px; }
.contact-form .form-note { text-align: left; }
.testimonial-quote { padding-top: 1.25rem; }
@media (min-width: 961px) { .hub-door h2 { font-size: 1.45rem; } }
@media (max-width: 600px) {
    .blog-section { padding-left: 1.25rem; padding-right: 1.25rem; }
    .blog-post { padding-left: 0; padding-right: 0; }
}
@media (max-width: 480px) and (max-height: 760px) {
    .links-avatar { width: 72px; height: 72px; margin-bottom: 0.6rem; }
    .links-divider { display: none; }
    .links-header { margin-bottom: 1.1rem; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hub-offer { padding: 2.5rem 2rem; background: var(--white); border-bottom: 1px solid var(--border-light); }
.hub-offer-inner { max-width: 1100px; margin: 0 auto; }
.hub-offer h2 { font-size: 1.6rem; text-align: center; margin-bottom: 1.25rem; }
.hub-offer-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hub-offer-list li { padding: 1rem 1.1rem; border: 1px solid var(--border-light); border-radius: 4px; background: var(--bg-subtle); }
.hub-offer-list a { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.hub-offer-list a:hover { color: var(--gold-text); }
.hub-offer-list li > span { display: block; margin-top: 0.35rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.featured-paper + .featured-paper { margin-top: 1.5rem; }
.hub-cta-center { justify-content: center; }
@media (max-width: 960px) { .hub-offer-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-offer-list { grid-template-columns: 1fr; } .hub-offer { padding: 2rem 1rem; } }
.venue-group { font-size: 1.15rem; max-width: 900px; margin: 1.5rem auto 0.25rem; color: var(--site-accent); }
.talk-meta .talk-given { margin-top: 1rem; }
.kit-sub { margin-top: 1.75rem; }
.cta-alt { margin-top: 1rem; margin-bottom: 0 !important; font-size: 0.95rem !important; } .cta-alt a { text-decoration: underline; }
.subhead { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; color: var(--site-accent); }
.form-note-top { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.25rem; }
.contact-legal-title { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-form .contact-legal-notice { margin-bottom: 1.5rem; }
@media (max-width: 480px) { .links-footer-nav { gap: 0.5rem 0.9rem; } }
.blog-post-updated { margin-left: 0.75rem; font-size: 0.85rem; color: var(--text-light); } .taxonomy-list { max-width: 520px; }
/* Round 3 */
.blog-post-meta { flex-wrap: wrap; row-gap: 0.35rem; }
.blog-post-date, .blog-post-updated { white-space: nowrap; }
.blog-post-updated { margin-left: 0; white-space: normal; }
.blog-post-title, .method-step h3, .format-card h3 { text-wrap: balance; }
.error-section :focus-visible, .blog-section :focus-visible, .site-section :focus-visible, .contact-section :focus-visible, .hub-hero :focus-visible, .notice-page :focus-visible { outline-color: var(--gold); }
.marksense-panel .site-hero-kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.75rem; }
body[data-site] .format-card a { color: var(--site-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.kit-assets { position: sticky; top: 7rem; }
.chip-head { text-align: center; }
.blog-feedback-link--primary { background: var(--site-accent); color: var(--white) !important; border-color: var(--site-accent) !important; }
body:has(.links-page) .consent-banner { padding: 0.55rem 0.8rem; font-size: 0.78rem; gap: 0.5rem; bottom: 0.5rem; left: 0.5rem; right: 0.5rem; flex-wrap: nowrap; }
body:has(.links-page) .consent-banner p { flex: 1 1 auto; }
body:has(.links-page) .consent-actions button { padding: 0.35rem 0.6rem; min-height: 40px; }
body:has(.links-page) .links-page { padding-bottom: 4.5rem; }
@media (max-width: 480px) and (max-height: 760px) {
    .links-avatar { width: 64px; height: 64px; }
}
@media (max-width: 480px) and (max-height: 700px) { .links-credentials { display: none; } }
@media (max-width: 700px) { .kit-assets { position: static; } }
.hub-sub { margin-top: 0.6rem; font-size: 0.95rem; color: var(--text-light); }
.nw { white-space: nowrap; }
.testimonial-source a { color: var(--gold-text); }
.btn-accent { border: 2px solid transparent; }
.consent-actions button { min-width: 5.5rem; }
.consent-decline { background: var(--white); color: var(--primary-dark); }
.contact-success a, .contact-form .form-note a, .contact-info-note a { text-decoration: underline; text-underline-offset: 2px; }
.notice-page .consent-settings { color: var(--gold); font-weight: 500; }
@media (max-width: 600px) {
    .consent-banner { padding: 0.6rem 0.8rem; font-size: 0.8rem; gap: 0.5rem; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
    .consent-actions button { padding: 0.4rem 0.7rem; min-width: 0; }
}
@media (max-width: 900px) {
    .blog-layout { display: flex; flex-direction: column; align-items: stretch; }
    .blog-sidebar { display: contents; }
    .sidebar-profile { border-top: 1px solid var(--border-light); padding-top: 2rem; }
}
.site-hero a:not(.btn) { color: var(--site-accent-light); text-decoration: underline; text-underline-offset: 3px; }
.site-hero a:not(.btn):hover { color: var(--white); }
.publication-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
body:has(#consent-banner) { padding-bottom: 6rem; }

/* Round 4 audit fixes */
.hub-offer-list a span { white-space: nowrap; }
.credential-label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.credential-label a:hover { color: var(--gold-light); }
body[data-site] .site-section-intro a { color: var(--site-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
body[data-site] .engagement-card a { text-decoration: underline; text-underline-offset: 2px; }
.talk-card p a, .kit-bio p a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
body[data-site="legal"] .site-section--tint .site-section-kicker,
body[data-site="legal"] .site-section--tint .subhead { color: #8a6608; }
.blog-search input { border-color: #8a8a8a; }
.blog-search input:focus { box-shadow: 0 0 0 3px var(--site-accent, var(--gold)); }
.contact-success { text-align: left; }
@media (max-width: 480px) and (max-height: 620px) {
    .links-page { padding-top: 1rem; }
    .links-avatar { width: 56px; height: 56px; margin-bottom: .4rem; }
    .links-name { font-size: 1.6rem; margin-bottom: .2rem; }
    .links-titles { margin-bottom: .5rem; line-height: 1.35; }
    .links-bio { font-size: .88rem; line-height: 1.45; text-wrap: balance; }
    .links-header { margin-bottom: .9rem; }
    .link-tile { padding: .8rem .6rem; }
    .link-tile .link-icon { width: 36px; height: 36px; margin-bottom: .4rem; }
}
@media (max-width: 1050px) {
    .academic-jump-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 2.5rem; pointer-events: none; background: linear-gradient(to right, rgba(248,247,245,0), var(--bg-cream)); }
    .academic-jump-nav ul { padding-right: 2.5rem; }
}
.format-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .format-grid--2 { grid-template-columns: 1fr; } }
.site-section-cta { text-align: center; margin-top: 1.5rem; font-weight: 600; }
.site-section-cta a { color: var(--site-accent); text-decoration: underline; text-underline-offset: 2px; }
.form-group label .hint { font-weight: 400; color: var(--text-light); font-size: 0.85em; }
.error-section { padding-top: 2.5rem; }
/* Round 5 audit fixes */
.post-updated { font-size: 0.85rem; color: var(--text-muted, #6b6b6b); letter-spacing: 0.5px; white-space: nowrap; }
@media (min-width: 901px) { .blog-sidebar { max-height: calc(100vh - 120px); overflow-y: auto; } }
.publication-title em { font-weight: 500; }
.cta-container h2 { text-wrap: balance; }
body[data-site] .engagements-grid { align-items: start; }
.academic-layout { padding-bottom: 4rem; }
#experience .site-section-intro, #expert .site-section-intro { text-align: left; }
.blog-feedback-link:not(.blog-feedback-link--primary) { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.blog-feedback-link:not(.blog-feedback-link--primary):hover { background: var(--primary); color: var(--white); }
.links-credentials { color: var(--gold-text); }
html:has(#consent-banner) { scroll-padding-bottom: 5.5rem; }
@media (max-width: 340px) { .link-tile .link-label { font-size: .85rem; } .link-tile .link-sub { display: none; } body:has(.links-page) .consent-banner p a { display: none; } }
