/* ═══════════════════════════════════════════════════════════════
   COOKBOOK SPLASH — Sacred Hunger landing
   Extracted from cookbook/index.html
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   SACRED HUNGER SPLASH PAGE — Complete Override System

   PROBLEM: cookbook.css uses --text-primary and --text-secondary which are
   DARK brown colors meant for LIGHT backgrounds. On dark backgrounds, text
   is invisible.

   SOLUTION: Override every element that appears on dark backgrounds to use
   light text colors explicitly.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   1. DARK THEME COLOR DEFINITIONS
   ═══════════════════════════════════════════════════════════════════════════ */
/* Cookbook splash variables — scoped to body.theme-dark (not :root) */
body.theme-dark.cookbook-splash {
    --bg-deep: #0a0a0f;
    --bg-mid: #12121a;
    --bg-card: #1a1a24;
    --bg-elevated: #222230;
    /* Hero gradient stops */
    --cb-hero-deep: #08080a;
    --cb-hero-mid: #0c0c10;
    --cb-hero-light: #101014;
    --border-subtle: var(--white-08);
    --border-gold: var(--gold-30);

    /* Light text aliases — now reference central theme layer */
    --light-text-primary: var(--ivory);
    --light-text-secondary: var(--text-secondary);
    --light-text-muted: var(--text-muted);
}

/* NAV: Fully handled by shared body.theme-dark rules in terraforms.css */

/* ═══════════════════════════════════════════════════════════════════════════
   4. SPLASH HERO — Book cover, left-aligned content using site's standard widths
   ═══════════════════════════════════════════════════════════════════════════ */
.tf-cookbook-cover {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(92, 122, 140, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, var(--gold-05) 0%, transparent 40%),
        linear-gradient(180deg, var(--cb-hero-deep) 0%, var(--cb-hero-mid) 30%, var(--cb-hero-light) 50%, var(--cb-hero-mid) 70%, var(--cb-hero-deep) 100%);
    position: relative;
}
.tf-cookbook-cover__flourish {
    display: none;
}
.tf-cookbook-cover__label {
    color: var(--gold);
}
.tf-cookbook-cover__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--gold);
    letter-spacing: 0.1em;
}
.tf-cookbook-cover__rule {
    display: none;
}
.tf-cookbook-cover__subtitle {
    color: var(--light-text-secondary);
    max-width: 540px;
}
.tf-cookbook-cover__cta {
    justify-content: flex-start;
}

/* Gold particles */
.gold-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.gold-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: var(--radius-full);
    box-shadow:
        0 0 6px var(--gold),
        0 0 12px var(--gold-60),
        0 0 20px var(--gold-30);
    animation: particle-float var(--dur-slow) var(--ease-in-out) infinite;
}
.gold-particle--sm {
    width: 2px;
    height: 2px;
    box-shadow:
        0 0 4px var(--gold),
        0 0 8px var(--gold-50);
}
.gold-particle--lg {
    width: 4px;
    height: 4px;
    box-shadow:
        0 0 8px var(--gold),
        0 0 16px var(--gold-60),
        0 0 28px var(--gold-40);
}
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) translateX(-8px);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-40px) translateX(5px);
        opacity: 0.9;
    }
}
.gold-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 14s; }
.gold-particle:nth-child(2) { top: 25%; left: 85%; animation-delay: -2s; animation-duration: 11s; }
.gold-particle:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; animation-duration: 13s; }
.gold-particle:nth-child(4) { top: 70%; left: 75%; animation-delay: -1s; animation-duration: 15s; }
.gold-particle:nth-child(5) { top: 40%; left: 5%; animation-delay: -3s; animation-duration: 10s; }
.gold-particle:nth-child(6) { top: 30%; left: 92%; animation-delay: -5s; animation-duration: 12s; }
.gold-particle:nth-child(7) { top: 80%; left: 40%; animation-delay: -2.5s; animation-duration: 14s; }
.gold-particle:nth-child(8) { top: 10%; left: 60%; animation-delay: -4.5s; animation-duration: 11s; }
.gold-particle:nth-child(9) { top: 50%; left: 95%; animation-delay: -1.5s; animation-duration: 13s; }
.gold-particle:nth-child(10) { top: 85%; left: 15%; animation-delay: -3.5s; animation-duration: 15s; }
.gold-particle:nth-child(11) { top: 20%; left: 30%; animation-delay: -0.5s; animation-duration: 12s; }
.gold-particle:nth-child(12) { top: 55%; left: 70%; animation-delay: -2.2s; animation-duration: 14s; }
.gold-particle:nth-child(13) { top: 35%; left: 50%; animation-delay: -4.2s; animation-duration: 10s; }
.gold-particle:nth-child(14) { top: 75%; left: 88%; animation-delay: -1.8s; animation-duration: 13s; }
.gold-particle:nth-child(15) { top: 45%; left: 25%; animation-delay: -3.8s; animation-duration: 11s; }

/* ═══════════════════════════════════════════════════════════════════════════
   5. DARK SECTIONS — Contributor sections with dark background
   ═══════════════════════════════════════════════════════════════════════════ */
.dark-section {
    background: var(--bg-deep);
    padding: var(--spacing-xl) 0;
}
.dark-section > .container {
    display: block;
    max-width: var(--max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    box-sizing: border-box;
}
.dark-section .section-label {
    display: block;
    font-family: var(--font-important);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}
.dark-section .section-title {
    font-family: var(--font-important);
    font-size: var(--text-2xl);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--light-text-primary);
    margin-bottom: var(--spacing-lg);
}
.dark-section p {
    color: var(--light-text-secondary);
}
.dark-section strong {
    color: var(--light-text-primary);
}

/* Key insight card */
.key-insight {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--gold);
    padding: var(--spacing-lg);
    margin-left: 0;
}
.key-insight p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--light-text-secondary);
    margin: 0;
}
.key-insight p + p {
    margin-top: var(--spacing-md);
}
.key-insight strong {
    color: var(--light-text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. STATS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.stats-section {
    background: var(--bg-deep);
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}
.stats-section > .container {
    display: block;
    max-width: var(--max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    box-sizing: border-box;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    width: 100%;
    margin: 0;
    padding: 0;
}

.stats-row--2col {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}
@media (max-width: 768px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: var(--spacing-md);
    text-align: center;
}
@media (max-width: 768px) {
    .stat-card {
        padding: var(--spacing-sm);
    }
}
.stat-card__number {
    font-family: var(--font-important);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}
.stat-card__label {
    font-family: var(--font-important);
    font-size: var(--text-2xs);
    color: var(--light-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. TEAL BANNER — Quote section
   ═══════════════════════════════════════════════════════════════════════════ */
.teal-banner {
    background: linear-gradient(135deg, var(--teacher-cold) 0%, var(--cold-color, #4A6575) 100%);
    padding: var(--spacing-lg) 0;
}
.teal-banner > .container {
    display: block;
    max-width: var(--max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    box-sizing: border-box;
    text-align: left;
}
.teal-banner__mark {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--white-30);
    margin: 0 0 var(--spacing-xs);
    text-align: left;
}
.teal-banner__quote {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--white-90);
    line-height: 2;
    margin: 0 0 var(--spacing-md);
    text-align: left;
}
.teal-banner__source {
    font-family: var(--font-important);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--white-85);
    text-transform: uppercase;
    text-align: left;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. TABLE OF CONTENTS — Override all cookbook.css, consistent 720px alignment
   ═══════════════════════════════════════════════════════════════════════════ */
.tf-cookbook-toc {
    background: var(--bg-deep);
    padding: var(--spacing-xl) 0;
}
.tf-cookbook-toc__preface {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--page-padding);
    box-sizing: border-box;
    text-align: left;
}
.tf-cookbook-toc__preface h2 {
    font-family: var(--font-important);
    font-size: var(--text-2xl);
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    text-align: left;
}
.tf-cookbook-toc__preface p {
    font-family: var(--font-body);
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    text-align: left;
}
.tf-cookbook-toc__preface p:last-child {
    margin-bottom: 0;
}
.tf-cookbook-toc__preface strong {
    color: var(--light-text-primary);
}

/* Part headers — same alignment as rest of site */
.tf-cookbook-part {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--page-padding);
    box-sizing: border-box;
}
.tf-cookbook-part__header {
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gold-20);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}
.tf-cookbook-part__number {
    font-family: var(--font-important);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: var(--spacing-xs);
}
.tf-cookbook-part__title {
    font-family: var(--font-important);
    font-size: var(--text-2xl);
    color: var(--light-text-primary);
    margin: 0;
}

/* Tradition cards — Illuminated manuscript style */
.tf-cookbook-chapters {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}
.tf-cookbook-chapter {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    background:
        linear-gradient(135deg, rgba(28, 26, 34, 0.98) 0%, rgba(22, 20, 28, 0.99) 100%);
    border: 1px solid var(--gold-15);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Subtle parchment texture overlay */
.tf-cookbook-chapter__texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
}

/* Manuscript corner flourishes */
.tf-cookbook-chapter::before {
    content: '\2767';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: var(--text-base);
    color: var(--gold);
    opacity: 0.2;
    transition: all 0.4s ease;
}
.tf-cookbook-chapter::after {
    content: '\2767';
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: var(--text-base);
    color: var(--gold);
    opacity: 0.2;
    transform: rotate(180deg);
    transition: all 0.4s ease;
}
.tf-cookbook-chapter:hover::before,
.tf-cookbook-chapter:hover::after {
    opacity: 0.45;
}

/* Inner decorative border — double line effect */
.tf-cookbook-chapter__inner-border {
    position: absolute;
    inset: 8px;
    border: 1px solid var(--gold);
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.tf-cookbook-chapter__inner-border::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid var(--gold);
    opacity: 0.5;
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__inner-border {
    opacity: 0.15;
}

/* Corner ornaments */
.tf-cookbook-chapter__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold);
    border-style: solid;
    border-width: 0;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}
.tf-cookbook-chapter__corner--tl {
    top: 8px;
    left: 8px;
    border-top-width: 1px;
    border-left-width: 1px;
}
.tf-cookbook-chapter__corner--tr {
    top: 8px;
    right: 8px;
    border-top-width: 1px;
    border-right-width: 1px;
}
.tf-cookbook-chapter__corner--bl {
    bottom: 8px;
    left: 8px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}
.tf-cookbook-chapter__corner--br {
    bottom: 8px;
    right: 8px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__corner {
    opacity: 0.3;
}

/* Glow effect on hover */
.tf-cookbook-chapter__glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(ellipse at right, var(--gold-08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__glow {
    opacity: 1;
}

.tf-cookbook-chapter:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 50px var(--black-30),
        0 0 80px var(--gold-10),
        inset 0 1px 0 var(--white-03);
    border-color: var(--gold-30);
}

/* Illuminated initial — the symbol */
.tf-cookbook-chapter__symbol {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background:
        radial-gradient(circle at center, var(--gold-10) 0%, transparent 70%);
    border: 1px solid var(--gold-40);
    transition: all 0.4s ease;
}
.tf-cookbook-chapter__symbol::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--gold-25);
}
.tf-cookbook-chapter__symbol::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid var(--gold-15);
}
.tf-cookbook-chapter__symbol-char {
    font-size: var(--text-4xl);
    line-height: 1;
    color: var(--gold);
    text-shadow:
        0 0 25px var(--gold-50),
        0 2px 4px var(--black-50);
    transition: all 0.4s ease;
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__symbol {
    border-color: var(--gold-60);
    box-shadow:
        0 0 40px var(--gold-25),
        inset 0 0 25px var(--gold-08);
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__symbol-char {
    text-shadow:
        0 0 35px var(--gold-80),
        0 0 60px var(--gold-40),
        0 2px 4px var(--black-50);
}

.tf-cookbook-chapter__content {
    flex: 1;
    padding-right: var(--spacing-md);
}
.tf-cookbook-chapter__origin {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-important);
    font-size: var(--text-2xs);
    font-weight: 500;
    color: var(--tradition-accent, var(--gold));
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}
.tf-cookbook-chapter__origin::before,
.tf-cookbook-chapter__origin::after {
    content: '\00B7';
    opacity: 0.5;
}
.tf-cookbook-chapter__title {
    font-family: var(--font-important);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--light-text-primary);
    margin: 0 0 var(--spacing-sm-plus);
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}
.tf-cookbook-chapter:hover .tf-cookbook-chapter__title {
    color: var(--tradition-accent, var(--gold));
}
.tf-cookbook-chapter__desc {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--light-text-secondary);
    line-height: 1.75;
    margin: 0 0 var(--spacing-md);
}

/* Sacred quote */
.tf-cookbook-chapter__quote {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--light-text-muted);
    line-height: 1.6;
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 0 var(--spacing-sm-plus);
    border-left: 2px solid var(--tradition-accent, var(--gold));
    background: var(--white-03);
    opacity: 0.85;
}
.tf-cookbook-chapter__quote-source {
    display: block;
    font-style: normal;
    font-size: var(--text-xs);
    color: var(--tradition-accent, var(--gold));
    margin-top: var(--spacing-xs);
    opacity: 0.7;
}

/* Decorative divider */
.tf-cookbook-chapter__divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    color: var(--tradition-accent, var(--gold));
    opacity: 0.3;
    font-size: var(--text-xs);
}
.tf-cookbook-chapter__divider::before,
.tf-cookbook-chapter__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tradition-accent, var(--gold)), transparent);
}

/* Key concept & practices */
.tf-cookbook-chapter__footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-subtle);
}
.tf-cookbook-chapter__key {
    display: flex;
    flex-direction: column;
    font-family: var(--font-important);
    font-size: var(--text-xs);
    color: var(--light-text-muted);
}
.tf-cookbook-chapter__key-label {
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tradition-accent, var(--gold));
    opacity: 0.6;
    margin-bottom: 2px;
}
.tf-cookbook-chapter__practices {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}
.tf-cookbook-chapter__practice {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--light-text-secondary);
    background: var(--white-03);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-subtle);
}

/* All traditions use unified gold accent */
.tf-cookbook-chapter {
    --tradition-accent: var(--gold);
    --tradition-glow: var(--gold-30);
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. PROCESS SECTION — How it works
   ═══════════════════════════════════════════════════════════════════════════ */
.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: var(--spacing-lg);
    max-width: 560px;
}
.process-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-subtle);
}
.process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.process-step:first-child {
    padding-top: 0;
}
.process-step__number {
    font-family: var(--font-important);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--gold);
    width: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}
.process-step__content h3 {
    font-family: var(--font-important);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--light-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-xs);
}
.process-step__content p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--bg-deep);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-subtle);
}
.cta-section > .container {
    display: block;
    max-width: var(--max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    box-sizing: border-box;
}
.cta-section .section-title {
    font-family: var(--font-important);
    font-size: var(--text-2xl);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--light-text-primary);
    margin-bottom: var(--spacing-sm-plus);
}
.cta-section__text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}
.cta-section__email {
    display: inline-block;
    font-family: var(--font-important);
    font-size: var(--text-sm);
    color: var(--gold);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gold-40);
    transition: all 0.3s ease;
}
.cta-section__email:hover {
    background: var(--gold);
    color: var(--bg-deep);
}
.cta-section__social {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-important);
    font-size: var(--text-lg);
    color: var(--gold);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--gold-40);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}
.cta-section__social:hover {
    background: var(--gold);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--gold-30);
}
.cta-section__note {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--light-text-muted);
    margin-top: var(--spacing-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   13. ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.about-section {
    background: var(--bg-deep);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-subtle);
}
.about-section__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
.about-section__title {
    font-family: var(--font-important);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--light-text-primary);
    margin: 0 0 var(--spacing-sm-plus);
}
.about-section__text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--light-text-muted);
    line-height: 1.7;
    margin: 0 0 var(--spacing-xs);
}
.about-section__link {
    color: var(--gold);
    text-decoration: none;
}
.about-section__link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   14. FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-deep);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-subtle);
}
.footer > .container {
    display: block;
    max-width: var(--max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    box-sizing: border-box;
}
.footer__logo {
    color: var(--gold);
}
.footer__links a {
    color: var(--light-text-muted);
}
.footer__links a:hover {
    color: var(--gold);
}
.footer__credit {
    color: var(--light-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   15. MOBILE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .tf-cookbook-chapter {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    .tf-cookbook-chapter__symbol {
        width: 56px;
        height: 56px;
        margin-bottom: var(--spacing-xs);
    }
    .tf-cookbook-chapter__symbol-char {
        font-size: var(--text-3xl);
    }
    .tf-cookbook-chapter__content {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }
    .tf-cookbook-chapter__origin {
        justify-content: flex-start;
    }
    .tf-cookbook-chapter__title {
        text-align: left;
        font-size: var(--text-lg);
    }
    .tf-cookbook-chapter__desc {
        text-align: left;
        font-size: var(--text-sm);
        line-height: 1.7;
    }
    .tf-cookbook-chapter__quote {
        text-align: left;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--text-xs);
    }
    .tf-cookbook-chapter__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    .tf-cookbook-chapter__key {
        text-align: left;
    }
    .tf-cookbook-chapter__practices {
        justify-content: flex-start;
    }
    .tf-cookbook-chapter__number {
        font-size: var(--text-2xl);
    }
    /* Corner flourishes - hide on mobile for cleaner look */
    .tf-cookbook-chapter::before,
    .tf-cookbook-chapter::after {
        display: none;
    }
    .tf-cookbook-chapter__inner-border {
        display: none;
    }
    .tf-cookbook-chapter__corner {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Chapter cards - comprehensive mobile text */
    .tf-cookbook-chapter {
        padding: var(--spacing-sm);
    }
    .tf-cookbook-chapter__symbol {
        width: 48px;
        height: 48px;
    }
    .tf-cookbook-chapter__symbol-char {
        font-size: var(--text-2xl);
    }
    .tf-cookbook-chapter__title {
        font-size: var(--text-base); /* 16px minimum */
    }
    .tf-cookbook-chapter__desc {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.6;
    }
    .tf-cookbook-chapter__quote {
        font-size: var(--text-xs-plus); /* 15px, acceptable for quotes */
        line-height: 1.5;
        padding: var(--spacing-xs-plus);
    }
    .tf-cookbook-chapter__quote-source {
        font-size: var(--text-xs);
    }
    .tf-cookbook-chapter__practice {
        font-size: var(--text-xs); /* 12px for tags is acceptable */
        padding: 4px 8px;
    }
    .tf-cookbook-chapter__key {
        font-size: var(--text-xs-plus);
    }
    .tf-cookbook-chapter__key-label {
        font-size: var(--text-2xs);
    }
    .tf-cookbook-chapter__origin {
        font-size: var(--text-2xs);
    }
    .tf-cookbook-chapter__footer {
        padding-top: var(--spacing-xs-plus);
    }

    /* Cover/Hero section */
    .tf-cookbook-cover__inner {
        padding: var(--spacing-md) 16px;
    }
    .tf-cookbook-cover__label {
        font-size: var(--text-xs);
    }
    .tf-cookbook-cover__title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    .tf-cookbook-cover__subtitle {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.7;
    }

    /* Stats section */
    .stat-card {
        padding: var(--spacing-sm);
    }
    .stat-card__number {
        font-size: var(--text-2xl);
    }
    .stat-card__label {
        font-size: var(--text-xs); /* Labels can be smaller */
    }

    /* Dark section content */
    .dark-section .section-label {
        font-size: var(--text-xs);
    }
    .dark-section .section-title {
        font-size: var(--text-xl);
    }
    .dark-section p {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.7;
    }

    /* Key insight card */
    .key-insight {
        padding: var(--spacing-sm);
    }
    .key-insight p {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.7;
    }

    /* Teal banner */
    .teal-banner .container {
        padding: 0 var(--spacing-sm);
    }
    .teal-banner__quote {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.8;
    }
    .teal-banner__source {
        font-size: var(--text-xs);
    }

    /* TOC Preface */
    .tf-cookbook-toc__preface {
        padding: 0 var(--spacing-sm);
    }
    .tf-cookbook-toc__preface h2 {
        font-size: var(--text-xl);
    }
    .tf-cookbook-toc__preface p {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.7;
    }

    /* Part headers */
    .tf-cookbook-part {
        padding: 0 var(--spacing-sm);
    }
    .tf-cookbook-part__number {
        font-size: var(--text-xs);
    }
    .tf-cookbook-part__title {
        font-size: var(--text-lg);
    }

    /* Process section */
    .process-card {
        padding: var(--spacing-sm);
    }
    .process-step {
        gap: var(--spacing-xs-plus);
        padding: var(--spacing-xs-plus) 0;
    }
    .process-step__number {
        font-size: var(--text-2xl);
        width: 2rem;
    }
    .process-step__content h3 {
        font-size: var(--text-xs-plus);
    }
    .process-step__content p {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.6;
    }

    /* CTA section */
    .cta-section .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    .cta-section .section-title {
        font-size: var(--text-xl);
    }
    .cta-section__text {
        font-size: var(--text-base); /* 16px minimum */
        line-height: 1.7;
    }
    .cta-section__social {
        font-size: var(--text-base);
        padding: 12px 20px;
    }
    .cta-section__note {
        font-size: var(--text-xs-plus);
    }

    /* About section */
    .about-section__inner {
        padding: 0 var(--spacing-sm);
    }
    .about-section__title {
        font-size: var(--text-base);
    }
    .about-section__text {
        font-size: var(--text-xs-plus); /* 15px acceptable for about text */
        line-height: 1.6;
    }

    /* Footer */
    .footer .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

/* ─ GOLD HEADINGS — override dark-theme heading colour ───────────── */

body.cookbook-splash .stat-card__title--gold {
    color: var(--gold);
}

/* ─ COVER BUTTONS ────────────────────────────────────────────────── */

body.cookbook-splash a.tf-cookbook-cover__btn {
    display: inline-block;
    font-family: var(--font-important);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--gold-30);
    color: var(--ivory);
    background: transparent;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

body.cookbook-splash a.tf-cookbook-cover__btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

body.cookbook-splash a.tf-cookbook-cover__btn--primary {
    background: var(--gold-08);
    border-color: var(--gold);
    color: var(--gold);
}

body.cookbook-splash a.tf-cookbook-cover__btn--primary:hover {
    background: var(--gold-20);
}
