/* ============================================================
   O. CANATAN — GHOST THEME CSS
   Full design pass — AAA quality
   Fonts: DM Serif Display + Space Grotesk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;600;700&display=swap');

/* ── RESET & ROOT ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
    --gold:          #ffd186;
    --gold-dark:     #e8b84b;
    --gold-dim:      #c9952a;
    --gold-text:     #ffd186;
    --blue:          #43769A;
    --blue-light:    #CFE4F5;
    --bg:            #0e0e0f;
    --bg-card:       #161618;
    --bg-card-hover: #1e1e21;
    --bg-section-alt:#121214;
    --text-primary:  #f0ece4;
    --text-secondary:#b8b0a0;
    --text-muted:    #7a7268;
    --border:        rgba(255,209,134,0.1);
    --border-strong: rgba(255,209,134,0.25);
    --radius:        6px;
    --radius-lg:     12px;
    --radius-xl:     20px;
    --ease:          0.22s ease;
    --serif:         'DM Serif Display', Georgia, serif;
    --sans:          'Space Grotesk', system-ui, sans-serif;
    --max-w:         1200px;
    --nav-h:         136px;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── GLOBAL NAV RESET ──────────────────────────────────────── */
nav ul, nav ol { list-style: none; }
nav li { list-style: none; }
nav li::before, nav li::marker { display: none; content: none; }

/* ── LINKS — force consistent regardless of visited state ──── */
a {
    color: var(--gold-text);
    text-decoration: none;
    transition: color var(--ease), opacity var(--ease);
}
a:hover   { color: var(--gold-dark); }
a:visited { color: var(--gold-text); }
a:active  { color: var(--gold-text); opacity: 0.8; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.oc-cta-btn {
    display: inline-block;
    background: var(--gold);
    color: #0e0e0f !important;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
    text-decoration: none !important;
    white-space: nowrap;
    /* Force visited/active states */
    -webkit-tap-highlight-color: transparent;
}
.oc-cta-btn:hover   { background: var(--gold-dark); border-color: var(--gold-dark); color: #0e0e0f !important; }
.oc-cta-btn:visited { background: var(--gold); color: #0e0e0f !important; }
.oc-cta-btn:active  { background: var(--gold-dim); border-color: var(--gold-dim); color: #0e0e0f !important; transform: translateY(1px); }

.oc-cta-btn-outline {
    background: transparent;
    color: var(--gold) !important;
    border: 2px solid var(--gold);
}
.oc-cta-btn-outline:hover   { background: var(--gold); color: #0e0e0f !important; }
.oc-cta-btn-outline:visited { background: transparent; color: var(--gold) !important; }
.oc-cta-btn-outline:active  { background: var(--gold-dim); color: #0e0e0f !important; }

/* Ghost card buttons */
.kg-btn-accent,
.kg-btn-accent:visited { background: var(--gold) !important; color: #0e0e0f !important; }
.kg-btn-accent:hover   { background: var(--gold-dark) !important; color: #0e0e0f !important; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.gh-outer {
    padding-left: max(5vw, 1.5rem);
    padding-right: max(5vw, 1.5rem);
}
.gh-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.gh-main { padding-bottom: 0; }

/* ── NAV ───────────────────────────────────────────────────── */
.gh-head {
    background: rgba(14,14,15,0.95);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.gh-head-inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gh-head-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.gh-head-logo img,
.gh-navigation-logo img { max-height: 112px; width: auto; display: block; }
.gh-head-menu { display: flex; align-items: center; }
.gh-head-menu ul {
    display: flex; align-items: center;
    gap: 0; list-style: none;
}
.gh-head-menu li { list-style: none; display: flex; align-items: center; }
.gh-head-menu a {
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0 1rem;
    line-height: var(--nav-h);
    letter-spacing: 0.02em;
    transition: color var(--ease);
    display: block;
    white-space: nowrap;
}
.gh-head-menu a:hover   { color: var(--gold) !important; }
.gh-head-menu a:visited { color: var(--text-secondary) !important; }
.gh-head-actions { display: flex; align-items: center; gap: 1rem; }
.gh-head-btn {
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0e0e0f !important;
    background: var(--gold);
    padding: 9px 20px;
    border-radius: var(--radius);
    transition: background var(--ease);
}
.gh-head-btn:hover   { background: var(--gold-dark); color: #0e0e0f !important; }
.gh-head-btn:visited { background: var(--gold); color: #0e0e0f !important; }

/* ── FOOTER ────────────────────────────────────────────────── */
.gh-foot {
    background: #0a0a0b;
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}
.gh-foot-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}
.gh-foot-brand img { max-height: 48px; }
.gh-foot-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.gh-foot-menu ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; }
.gh-foot-menu li { list-style: none; }
.gh-foot-menu a {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--text-muted) !important;
    padding: 0.25rem 0.875rem;
    transition: color var(--ease);
}
.gh-foot-menu a:hover   { color: var(--gold) !important; }
.gh-foot-menu a:visited { color: var(--text-muted) !important; }
.gh-foot-copyright {
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ── CINEMATIC HERO ────────────────────────────────────────── */
.oc-hero-cinematic {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.oc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg-body);
}
.oc-hero-bg-fallback {
    background: linear-gradient(135deg,#060d14 0%,#0a1f14 40%,#140a1f 70%,#060d14 100%);
}
.oc-hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(14,14,15,0.96) 0%,
        rgba(14,14,15,0.82) 30%,
        rgba(14,14,15,0.45) 55%,
        rgba(14,14,15,0.1) 75%,
        rgba(14,14,15,0.0) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.oc-hero-cinematic-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 6rem;
    padding-top: 4rem;
}
.oc-hero-content { max-width: 580px; }
.oc-hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1.125rem;
}
.oc-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.04;
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.oc-hero-description {
    font-family: var(--sans);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(240,236,228,0.88);
    margin-bottom: 2.25rem;
    max-width: 480px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ── SECTION BASE ──────────────────────────────────────────── */
.oc-section { padding: 5rem 0; }
.oc-section-header { margin-bottom: 2.5rem; }
.oc-section-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.oc-section-subtitle {
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-muted);
}
.oc-section-cta { text-align: center; margin-top: 3rem; }

/* Alternate section backgrounds */
.oc-progress-section { background: var(--bg); }
.oc-books-section    { background: var(--bg-section-alt); }
.oc-news-section     { background: var(--bg); }

/* ── PROGRESS METERS ───────────────────────────────────────── */
.oc-progress-note {
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 0.375rem;
}
.oc-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.oc-progress-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    background: var(--bg-card);
    transition: border-color var(--ease), transform var(--ease);
}
.oc-progress-item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.oc-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.oc-progress-label {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}
.oc-progress-pct {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
}
.oc-progress-bar-track {
    height: 6px;
    background: rgba(255,209,134,0.12);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.oc-progress-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 99px;
    transition: width 0.8s cubic-bezier(0.25,1,0.5,1);
}
.oc-progress-status {
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ── BOOK GRID ─────────────────────────────────────────────── */
.oc-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.oc-book-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform var(--ease);
}
.oc-book-card:hover { transform: translateY(-6px); }
.oc-book-cover-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    aspect-ratio: 2/3;
    background: var(--bg-card);
}
.oc-book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.oc-book-card:hover .oc-book-cover { transform: scale(1.04); }
.oc-book-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}
.oc-book-series {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--gold-dim);
}

/* Books index sub-headings */
.oc-books-group-title {
    font-family: var(--serif);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}
.oc-books-group-desc {
    font-family: var(--sans);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.oc-books-sub-title {
    font-family: var(--serif);
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.oc-books-section .oc-section { padding: 5rem 0; }
.oc-books-group { padding: 3rem 0; }

/* ── NEWS GRID ─────────────────────────────────────────────── */
.oc-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ── POST CARD ─────────────────────────────────────────────── */
.gh-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color var(--ease), transform var(--ease);
}
.gh-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.gh-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}
.gh-card-link:visited { color: inherit !important; }
.gh-card-image {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-card);
}
.gh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gh-card:hover .gh-card-image img { transform: scale(1.05); }
.gh-card-wrapper {
    padding: 1.375rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.gh-card-tag {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dim);
    margin-bottom: 0.5rem;
}
.gh-card-title {
    font-family: var(--serif);
    font-size: 1.1875rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    flex: 1;
}
.gh-card-excerpt {
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gh-card-date {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* ── NEWSLETTER SECTION ────────────────────────────────────── */
.oc-newsletter-section {
    background: var(--blue);
    padding: 4rem 0;
}
.oc-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.oc-newsletter-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #fff;
    margin-bottom: 0.5rem;
}
.oc-newsletter-desc {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    max-width: 480px;
    line-height: 1.65;
}
.oc-newsletter-section .oc-cta-btn {
    background: #fff;
    color: var(--blue) !important;
    border-color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
}
.oc-newsletter-section .oc-cta-btn:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--blue) !important; }
.oc-newsletter-section .oc-cta-btn:visited { background: #fff; color: var(--blue) !important; }

/* ── ARCHIVE PAGES ─────────────────────────────────────────── */
.oc-archive-header { padding: 5rem 0 3rem; }
.oc-archive-title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 0.5rem;
}
.oc-archive-description {
    font-family: var(--sans);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ── BOOK HERO PAGE ────────────────────────────────────────── */
.oc-book-hero, .oc-album-hero { padding: 5rem 0 4rem; }
.oc-book-hero-inner, .oc-album-hero-inner {
    display: grid;
    gap: 3.5rem;
    align-items: start;
}
.oc-book-hero-inner  { grid-template-columns: 260px 1fr; }
.oc-album-hero-inner { grid-template-columns: 300px 1fr; }
.oc-book-cover-wrap-hero { position: sticky; top: calc(var(--nav-h) + 2rem); }
.oc-album-cover-wrap     { position: sticky; top: calc(var(--nav-h) + 2rem); }
.oc-book-hero-cover,
.oc-album-hero-cover {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.65);
    display: block;
}
.oc-album-hero-cover { aspect-ratio: 1/1; object-fit: cover; }
.oc-book-series-label,
.oc-album-project-label {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.875rem;
}
.oc-book-hero-title,
.oc-album-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.07;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.oc-book-byline, .oc-album-byline {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.oc-album-date {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.375rem;
}
.oc-book-tags, .oc-album-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.75rem;
}
.oc-book-tag, .oc-album-tag {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0e0e0f;
    background: var(--gold);
    padding: 5px 14px;
    border-radius: 99px;
}
.oc-book-body, .oc-album-body { padding: 4rem 0; }
.oc-book-body-inner, .oc-album-body-inner { max-width: 760px; }
.oc-also-series, .oc-more-music { padding: 4rem 0; border-top: 1px solid var(--border); }

/* ── ARTICLE ───────────────────────────────────────────────── */
.gh-article { max-width: 760px; margin: 0 auto; padding: 5rem 0; }
.gh-article-tag {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dim);
    margin-bottom: 0.875rem;
}
.gh-article-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.gh-article-excerpt {
    font-family: var(--sans);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.gh-article-meta {
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.gh-article-image { margin: 2rem 0; }
.gh-article-image img { width: 100%; border-radius: var(--radius-lg); display: block; }
.gh-article-image figcaption {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
}

/* ── CONTENT BODY ──────────────────────────────────────────── */
.gh-canvas { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }
.gh-content h2 { font-family: var(--serif); font-size: 1.875rem; color: var(--text-primary); margin-top: 2.5rem; margin-bottom: 0.875rem; }
.gh-content h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--text-primary); margin-top: 2rem; margin-bottom: 0.75rem; }
.gh-content h4 { font-family: var(--serif); font-size: 1.25rem; color: var(--text-primary); margin-top: 1.75rem; margin-bottom: 0.625rem; }
.gh-content p  { font-family: var(--sans); font-size: 1.0625rem; font-weight: 300; line-height: 1.85; color: var(--text-secondary); margin-bottom: 1.375rem; }
.gh-content ol, .gh-content ul { padding-left: 1.75rem; margin-bottom: 1.375rem; }
.gh-content li { font-family: var(--sans); font-size: 1.0625rem; font-weight: 300; line-height: 1.75; color: var(--text-secondary); margin-bottom: 0.375rem; }
.gh-content blockquote { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.375rem; margin: 1.75rem 0; color: var(--text-secondary); font-style: italic; }
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.gh-content figure img { border-radius: var(--radius); max-width: 100%; display: block; }
.gh-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.gh-content a:hover   { color: var(--gold-dark); }
.gh-content a:visited { color: var(--gold); }

/* ── GHOST CARD WIDTHS (required) ──────────────────────────── */
.kg-width-wide { margin-left: calc(50% - 50vw + 3rem); margin-right: calc(50% - 50vw + 3rem); max-width: none; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; }
.kg-image-card img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.kg-gallery-container { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 0.5rem; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── TAG / AUTHOR ARCHIVE ──────────────────────────────────── */
.gh-tag-header, .gh-index-header {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}
.gh-tag-title, .gh-index-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}
.gh-tag-description {
    font-family: var(--sans);
    font-size: 1.0625rem;
    color: var(--text-muted);
    font-style: italic;
}
.gh-postfeed { padding: 0 0 5rem; }

/* ── HAMBURGER NAV ─────────────────────────────────────────── */
.gh-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius);
}
.gh-burger::before, .gh-burger::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 99px;
    transition: transform var(--ease), opacity var(--ease);
}
.gh-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 99px;
    transition: opacity var(--ease);
}
.gh-head-menu-open .gh-burger::before { transform: translateY(7px) rotate(45deg); }
.gh-head-menu-open .gh-burger::after  { transform: translateY(-7px) rotate(-45deg); }
.gh-head-menu-open .gh-burger span    { opacity: 0; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .gh-foot-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .oc-book-hero-inner, .oc-album-hero-inner { grid-template-columns: 1fr; }
    .oc-book-cover-wrap-hero, .oc-album-cover-wrap { position: static; max-width: 220px; margin: 0 auto 2rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 92px; }
    .gh-head-logo img, .gh-navigation-logo img { max-height: 72px; display: block; }
    .gh-burger { display: flex; }
    .gh-head-actions { display: none; }
    .gh-head-menu {
        display: none;
        position: absolute;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(14,14,15,0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        z-index: 99;
        backdrop-filter: blur(16px);
    }
    .gh-head-menu-open .gh-head-menu { display: flex; }
    .gh-head-menu ul { flex-direction: column; width: 100%; }
    .gh-head-menu li { width: 100%; }
    .gh-head-menu a { line-height: 1; padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 1rem; width: 100%; }
    .gh-head-menu li:last-child a { border-bottom: none; }

    .oc-hero-cinematic { min-height: 80vh; }
    .oc-hero-cinematic-overlay {
        background: linear-gradient(to top, rgba(14,14,15,0.97) 0%, rgba(14,14,15,0.8) 45%, rgba(14,14,15,0.25) 100%);
    }
    .oc-hero-content { max-width: 100%; }
    .oc-hero-title { font-size: clamp(2rem, 7vw, 2.75rem); }
    .oc-cta-btn { display: block; text-align: center; width: 100%; max-width: 320px; }

    .oc-section { padding: 3.5rem 0; }
    .oc-progress-grid { grid-template-columns: 1fr; }
    .oc-book-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .oc-news-grid { grid-template-columns: 1fr; }
    .oc-newsletter-inner { flex-direction: column; text-align: center; align-items: center; }
    .oc-newsletter-section .oc-cta-btn { width: 100%; max-width: 280px; text-align: center; }
}

@media (max-width: 480px) {
    .gh-outer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .oc-book-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ── BOOK/ALBUM HERO LAYOUT FIX ────────────────────────────── */
.oc-book-hero-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
    padding: 5rem 0 3rem;
}
.oc-book-cover-wrap-hero {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}
.oc-book-hero-cover {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.65);
}
.oc-book-hero-content {
    padding-top: 1rem;
}
.oc-book-series-label {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1rem;
    display: block;
}
.oc-book-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.07;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.oc-album-hero-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
    padding: 5rem 0 3rem;
}
.oc-album-hero-cover {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.65);
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* ── RELATED GRID (book/album detail pages) ─────────────────── */
.oc-book-grid-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}
.oc-book-card-related {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform var(--ease);
}
.oc-book-card-related:hover { transform: translateY(-5px); }
.oc-book-card-related .oc-book-cover-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    aspect-ratio: 2/3;
    background: var(--bg-card);
}
.oc-book-card-related .oc-book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.oc-book-card-related:hover .oc-book-cover { transform: scale(1.05); }

/* ── CONTENT SECTION PADDING FIX ───────────────────────────── */
.oc-book-body  { padding: 3rem 0; border-top: 1px solid var(--border); }
.oc-album-body { padding: 3rem 0; border-top: 1px solid var(--border); }
.oc-also-series,
.oc-more-music { padding: 4rem 0; border-top: 1px solid var(--border); }

@media (max-width: 768px) {
    .oc-book-hero-inner,
    .oc-album-hero-inner { grid-template-columns: 1fr; padding: 3rem 0 2rem; }
    .oc-book-cover-wrap-hero { position: static; max-width: 220px; margin: 0 auto 2rem; }
    .oc-book-grid-related { grid-template-columns: repeat(2, 1fr); }
}

/* ── PREMIUM ELEVATED SITE FRAME OVERRIDE ────────────────────
   Editorial, high-end frame treatment with a sober cinematic field.
   Safe override: no template/routing changes.
   ------------------------------------------------------------ */
:root {
    --site-frame-max: 1480px;
    --site-frame-gap: clamp(18px, 3vw, 52px);
    --site-frame-border: rgba(255, 209, 134, 0.16);
    --site-frame-shadow:
        0 42px 120px rgba(0, 0, 0, 0.72),
        0 14px 44px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

html {
    background: #030303;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -18%, rgba(255, 209, 134, 0.10), transparent 34%),
        radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.035), transparent 24%),
        radial-gradient(circle at 92% 76%, rgba(67, 118, 154, 0.08), transparent 32%),
        linear-gradient(180deg, #10100f 0%, #070707 42%, #020202 100%);
    padding: var(--site-frame-gap);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.014) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
    opacity: 0.18;
}

.gh-site {
    width: min(var(--site-frame-max), 100%);
    margin: 0 auto;
    min-height: calc(100vh - (var(--site-frame-gap) * 2));
    background: var(--bg);
    border: 1px solid var(--site-frame-border);
    border-radius: 14px;
    box-shadow: var(--site-frame-shadow);
    overflow: clip;
    position: relative;
    isolation: isolate;
}

.gh-site::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 0 90px rgba(255,209,134,0.028);
}

.gh-site::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 49;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 18%);
}

/* Keep navigation fixed to the viewport top when scrolling. */
.gh-head {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 14px 14px 0 0;
    background: rgba(10, 10, 11, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.24);
}

/* Keep the homepage hero cinematic but avoid visible stretching. */
.oc-hero-bg {
    background-size: cover;
    background-position: center center;
}

@media (max-width: 900px) {
    body {
        padding: 0;
        background: var(--bg);
    }
    body::before { display: none; }
    .gh-site {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .gh-site::before,
    .gh-site::after { display: none; }
    .gh-head {
        top: 0;
        border-radius: 0;
    }
}

/* ── V2 PREMIUM POLISH: cleaner field, true top nav, sharper hero, mobile spacing ── */
html {
    background: #050505;
}

body {
    background:
        radial-gradient(circle at 50% -24%, rgba(255, 218, 153, 0.055), transparent 30%),
        radial-gradient(circle at 100% 18%, rgba(255, 255, 255, 0.025), transparent 20%),
        linear-gradient(180deg, #0b0b0b 0%, #060606 55%, #020202 100%);
}

body::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 220, 160, 0.08), transparent 32%),
        linear-gradient(90deg, rgba(255,255,255,0.010) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.008) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px;
    opacity: 0.11;
}

.gh-site {
    border-color: rgba(220, 184, 112, 0.20);
    box-shadow:
        0 48px 140px rgba(0, 0, 0, 0.76),
        0 18px 52px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gh-head {
    top: 0 !important;
    border-radius: 0;
    background: rgba(8, 8, 9, 0.985);
    box-shadow: 0 12px 32px rgba(0,0,0,0.32);
}

/* Use the actual uploaded hero file as an image, not a CSS background. This avoids requesting a smaller theme image size. */
.oc-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
    transform: translateZ(0);
    image-rendering: auto;
}

.oc-hero-bg {
    z-index: 0;
}

.oc-hero-cinematic-overlay {
    background:
        linear-gradient(90deg,
            rgba(6, 6, 7, 0.86) 0%,
            rgba(6, 6, 7, 0.62) 30%,
            rgba(6, 6, 7, 0.20) 58%,
            rgba(6, 6, 7, 0.04) 82%,
            rgba(6, 6, 7, 0.00) 100%);
}

@media (max-width: 768px) {
    .gh-head.gh-outer {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
    .gh-head-inner {
        padding-left: 0;
        padding-right: 0;
    }
    .gh-head-menu {
        left: -1.35rem;
        right: -1.35rem;
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
    .oc-hero-cinematic-overlay {
        background:
            linear-gradient(to top,
                rgba(6,6,7,0.92) 0%,
                rgba(6,6,7,0.62) 42%,
                rgba(6,6,7,0.12) 100%);
    }
    .oc-hero-img {
        object-position: center center;
    }
}


/* ── V4 POLISH: responsive breathing room, stronger mobile shell, subtler premium texture ── */
.gh-head-inner {
    min-height: var(--nav-h);
}

.gh-head-brand {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(rgba(255,255,255,0.055) 0.7px, transparent 0.9px),
        radial-gradient(rgba(0,0,0,0.12) 0.7px, transparent 0.95px);
    background-size: 8px 8px, 11px 11px;
    background-position: 0 0, 4px 5px;
    mix-blend-mode: soft-light;
    opacity: 0.045;
}

@media (max-width: 900px) {
    body {
        padding: 0 !important;
    }

    .gh-site {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: 100vh;
        overflow-x: hidden;
    }

    .gh-head {
        width: 100%;
        border-radius: 0 !important;
    }
}

@media (max-width: 768px) {
    .gh-outer {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    .gh-head.gh-outer {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    .gh-head-inner {
        gap: 0.875rem;
        min-height: var(--nav-h);
    }

    .gh-head-brand {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .gh-head-menu {
        left: -1.1rem !important;
        right: -1.1rem !important;
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    .oc-hero-content,
    .gh-tag-header,
    .gh-index-header,
    .gh-content,
    .oc-book-grid,
    .oc-news-grid {
        max-width: 100%;
    }

    body::after {
        opacity: 0.03;
    }
}


/* ── V5 LUXURY FINISH: subtler texture, improved tablet spacing, premium interactions ── */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,0.017) 0 1px, rgba(255,255,255,0) 1px 8px);
    opacity: 0.22;
    mix-blend-mode: soft-light;
}

.gh-head-menu a {
    letter-spacing: 0.015em;
    transition: color var(--ease), opacity var(--ease), text-shadow var(--ease);
}
.gh-head-menu a:hover {
    text-shadow: 0 0 12px rgba(255, 209, 134, 0.16);
}

.oc-cta-btn {
    box-shadow: 0 10px 24px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.oc-cta-btn:hover {
    box-shadow: 0 14px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
}

.oc-book-card,
.oc-news-grid .gh-card {
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.oc-book-card:hover,
.oc-news-grid .gh-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.34);
}

.oc-author-section {
    position: relative;
}
.oc-author-inner {
    display: grid;
    grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
    border: 1px solid rgba(255,209,134,0.12);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}
.oc-author-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 12% 18%, rgba(255,209,134,0.08), transparent 28%), radial-gradient(circle at 92% 80%, rgba(67,118,154,0.08), transparent 30%);
}
.oc-author-media, .oc-author-copy {
    position: relative;
    z-index: 1;
}
.oc-author-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(255,209,134,0.14);
    box-shadow: 0 16px 34px rgba(0,0,0,0.3);
    object-fit: cover;
}
.oc-author-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.oc-author-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.03;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.oc-author-text {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 62ch;
    margin-bottom: 1.5rem;
}

@media (max-width: 1280px) {
    body {
        padding: clamp(12px, 1.8vw, 22px);
    }
    .gh-site {
        width: 100%;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    body {
        padding: 12px;
    }
    .gh-outer {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
}

@media (max-width: 900px) {
    body::after {
        opacity: 0.12;
    }
    .oc-author-inner {
        grid-template-columns: 1fr;
    }
    .oc-author-media {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .gh-head-brand {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    .gh-head-menu {
        top: var(--nav-h);
    }
    .oc-author-inner {
        padding: 1.35rem;
        border-radius: 14px;
    }
    .oc-author-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}


/* ── V6 ALIGNMENT + ABOUT REPOSITION POLISH ───────────────────
   All framed content uses the same horizontal inset as the nav logo.
   Homepage About section now expects/encourages an author image.
   ------------------------------------------------------------ */
.gh-site {
    --oc-edge-pad: clamp(1.25rem, 3.2vw, 3.75rem);
}

.gh-site .gh-outer {
    padding-left: var(--oc-edge-pad) !important;
    padding-right: var(--oc-edge-pad) !important;
}

.gh-site .gh-inner {
    width: 100%;
    max-width: none;
}

.gh-head-inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.oc-author-section {
    padding-top: clamp(4rem, 7vw, 7rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
}

.oc-author-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
    min-height: 420px;
}

.oc-author-media {
    align-self: stretch;
    min-height: 320px;
}

.oc-author-image {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center center;
}

.oc-author-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid rgba(255,209,134,0.14);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,209,134,0.075), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.oc-author-placeholder-mark {
    width: 128px;
    height: 128px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,209,134,0.18);
    background: rgba(0,0,0,0.22);
    overflow: hidden;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 2rem;
}

.oc-author-placeholder-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.9rem;
}

@media (max-width: 1100px) {
    .gh-site {
        --oc-edge-pad: clamp(1rem, 2.6vw, 2rem);
    }
}

@media (max-width: 900px) {
    .gh-site {
        --oc-edge-pad: 1.15rem;
    }

    .oc-author-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .oc-author-copy {
        order: 2;
    }

    .oc-author-media {
        order: 1;
        width: 100%;
        max-width: none;
        min-height: 260px;
    }

    .oc-author-image {
        min-height: 260px;
        max-height: 460px;
    }
}

@media (max-width: 768px) {
    .gh-site {
        --oc-edge-pad: 1rem;
    }

    .gh-head-inner {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .oc-author-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}


/* ── V7 ROTATING HERO WITH MANUAL THUMBNAILS ────────────────── */
.oc-hero-carousel {
    position: relative;
    min-height: clamp(640px, 72vh, 860px);
    overflow: hidden;
    border-bottom: 1px solid rgba(255,209,134,0.12);
    background: #050506;
}

.oc-hero-carousel-stage {
    position: relative;
    min-height: clamp(640px, 72vh, 860px);
}

.oc-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 760ms ease, transform 1000ms ease;
    transform: scale(1.012);
}

.oc-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.oc-hero-slide .oc-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.oc-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at 78% 36%, rgba(255,255,255,0.06), transparent 26%),
        linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.48));
}

.oc-hero-slide .oc-hero-cinematic-inner,
.oc-hero-slide .oc-hero-cinematic-overlay {
    position: relative;
    z-index: 3;
}

.oc-hero-slide .oc-hero-cinematic-inner {
    min-height: clamp(640px, 72vh, 860px);
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(10rem, 15vh, 13rem);
}

.oc-hero-slide .oc-hero-content {
    max-width: 640px;
}

.oc-hero-controls {
    position: absolute;
    left: var(--oc-edge-pad, clamp(1.25rem, 3.2vw, 3.75rem));
    right: var(--oc-edge-pad, clamp(1.25rem, 3.2vw, 3.75rem));
    bottom: clamp(1.25rem, 2.4vw, 2.25rem);
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: stretch;
}

.oc-hero-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.oc-hero-thumb {
    min-width: 0;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem;
    border: 1px solid rgba(255,209,134,0.14);
    border-radius: 12px;
    background: rgba(9, 9, 10, 0.68);
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 38px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease);
}

.oc-hero-thumb:hover,
.oc-hero-thumb.is-active {
    transform: translateY(-2px);
    border-color: rgba(255,209,134,0.42);
    background: rgba(15, 15, 16, 0.86);
    color: var(--text-primary);
}

.oc-hero-thumb img {
    width: 74px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    opacity: 0.92;
}

.oc-hero-thumb small {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.oc-hero-thumb strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
    line-height: 1.2;
}

.oc-hero-arrow {
    width: 48px;
    border: 1px solid rgba(255,209,134,0.18);
    border-radius: 12px;
    background: rgba(9, 9, 10, 0.72);
    color: var(--gold);
    font-size: 2.15rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.oc-hero-arrow:hover {
    background: rgba(20,20,22,0.9);
    border-color: rgba(255,209,134,0.4);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .oc-hero-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oc-hero-thumb:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .oc-hero-carousel,
    .oc-hero-carousel-stage,
    .oc-hero-slide .oc-hero-cinematic-inner {
        min-height: 82vh;
    }

    .oc-hero-slide .oc-hero-cinematic-inner {
        align-items: flex-end;
        padding-bottom: 8.5rem;
    }

    .oc-hero-controls {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.5rem;
        bottom: 0.9rem;
    }

    .oc-hero-thumbs {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: 0.2rem;
    }

    .oc-hero-thumb {
        min-width: 210px;
        grid-template-columns: 58px minmax(0, 1fr);
        scroll-snap-align: start;
        padding: 0.45rem;
    }

    .oc-hero-thumb img {
        width: 58px;
        height: 44px;
    }

    .oc-hero-arrow {
        width: 38px;
        font-size: 1.65rem;
    }

    .oc-hero-thumb strong {
        font-size: 0.78rem;
    }

    .oc-hero-thumb:nth-child(n+4) {
        display: grid;
    }
}


/* ── V8 TRUE EDGE ALIGNMENT FIX ────────────────────────────────
   Hero text/thumbnails and every non-background content block now
   share the same horizontal inset as the header logo.
   ------------------------------------------------------------ */
.gh-site {
    --oc-edge-pad: clamp(1.5rem, 3.8vw, 4.25rem);
}

/* Header logo and all regular outer sections share one edge system */
.gh-site .gh-outer {
    padding-left: var(--oc-edge-pad) !important;
    padding-right: var(--oc-edge-pad) !important;
}

/* The hero is intentionally image-full-bleed, but the content is not. */
.oc-hero-carousel .oc-hero-cinematic-inner,
.oc-hero-cinematic .oc-hero-cinematic-inner {
    width: 100%;
    max-width: none;
    padding-left: var(--oc-edge-pad) !important;
    padding-right: var(--oc-edge-pad) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.oc-hero-carousel .oc-hero-content,
.oc-hero-cinematic .oc-hero-content {
    margin-left: 0 !important;
}

/* Thumbnail controls align to the same exact edge as logo/content. */
.oc-hero-controls {
    left: var(--oc-edge-pad) !important;
    right: var(--oc-edge-pad) !important;
    max-width: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Avoid old .gh-inner max-width/margin rules creating secondary offsets. */
.gh-head .gh-inner,
.oc-hero-carousel .gh-inner,
.oc-hero-cinematic .gh-inner {
    max-width: none !important;
}

/* Keep inner content cards/sections aligned, not artificially centered/narrowed. */
.oc-section > .gh-inner,
.oc-newsletter-section > .gh-inner {
    max-width: none !important;
}

/* Desktop frame should still breathe without making content feel glued. */
@media (min-width: 901px) {
    .gh-site {
        --oc-edge-pad: clamp(2rem, 4vw, 4.75rem);
    }
}

/* Tablet: keep the frame, but prevent the edge padding from collapsing. */
@media (max-width: 1100px) and (min-width: 769px) {
    .gh-site {
        --oc-edge-pad: 2rem;
    }
}

/* Mobile: use the same edge for header, hero text, cards, and sections. */
@media (max-width: 768px) {
    .gh-site {
        --oc-edge-pad: 1.15rem;
    }

    .gh-site .gh-outer,
    .oc-hero-carousel .oc-hero-cinematic-inner,
    .oc-hero-cinematic .oc-hero-cinematic-inner {
        padding-left: var(--oc-edge-pad) !important;
        padding-right: var(--oc-edge-pad) !important;
    }

    .oc-hero-controls {
        left: var(--oc-edge-pad) !important;
        right: var(--oc-edge-pad) !important;
    }
}


/* ── V10 CONTENT IMAGE CONTROL + VISIBLE PREMIUM TEXTURE ──────
   Reverts header/main feature-image sizing. Only images inside
   Ghost post/page content get the 800x600 treatment.
   ------------------------------------------------------------ */

/* More visible, still subtle outside-frame texture */
html {
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 215, 150, 0.055), transparent 34%),
        linear-gradient(180deg, #070707 0%, #030303 100%) !important;
}

body {
    background:
        radial-gradient(circle at 50% -18%, rgba(255, 209, 134, 0.055), transparent 32%),
        radial-gradient(circle at 95% 26%, rgba(67, 118, 154, 0.045), transparent 30%),
        linear-gradient(180deg, #0b0b0b 0%, #050505 58%, #020202 100%) !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025) 0px,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 9px
        ),
        radial-gradient(circle at 50% 0%, rgba(255, 209, 134, 0.07), transparent 36%);
    opacity: 0.42;
    mix-blend-mode: soft-light;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(rgba(255,255,255,0.08) 0.55px, transparent 0.75px);
    background-size: 10px 10px;
    opacity: 0.045;
}

/* Keep the site frame polished against the textured field */
.gh-site {
    box-shadow:
        0 56px 150px rgba(0, 0, 0, 0.82),
        0 18px 54px rgba(0, 0, 0, 0.68),
        0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

/* Do NOT constrain the header feature image/post hero.
   The following only controls images placed INSIDE the Ghost editor content. */
.gh-content .kg-image-card,
.gh-content .kg-gallery-card {
    margin-left: auto;
    margin-right: auto;
}

.gh-content .kg-image-card > img,
.gh-content .kg-image-card .kg-image {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px rgba(0,0,0,0.36);
}

/* Keep captions aligned with the controlled image width. */
.gh-content .kg-image-card figcaption {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* On small screens, keep the ratio but respect the content width. */
@media (max-width: 768px) {
    .gh-content .kg-image-card > img,
    .gh-content .kg-image-card .kg-image {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
}


/* ── V11 NATURAL POST IMAGE SIZE FIX ──────────────────────────
   Do not crop editor images. Keep their natural ratio and simply
   limit display width so lower-resolution book-cover/art images
   stay sharp instead of being stretched.
   ------------------------------------------------------------ */

.gh-content .kg-image-card {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gh-content .kg-image-card > img,
.gh-content .kg-image-card .kg-image {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px rgba(0,0,0,0.36);
}

/* If Ghost marks an image as wide/full, still don't stretch it beyond the sharpness cap. */
.gh-content .kg-width-wide,
.gh-content .kg-width-full {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Captions follow the same width as the image. */
.gh-content .kg-image-card figcaption {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Book-cover images that are portrait stay portrait. Landscape art stays landscape. */
.gh-content figure.kg-card img {
    image-rendering: auto;
}

@media (max-width: 768px) {
    .gh-content .kg-image-card,
    .gh-content .kg-width-wide,
    .gh-content .kg-width-full {
        max-width: 100% !important;
    }

    .gh-content .kg-image-card > img,
    .gh-content .kg-image-card .kg-image {
        max-width: 100% !important;
    }
}


/* ── V12 BOOK PAGE POLISH + SMALLER CONTENT IMAGES ────────────
   Book/post body images are no longer huge or centered. They keep
   their natural ratio, display smaller, and align with the text.
   ------------------------------------------------------------ */

/* Main article/book body should feel intentionally composed, not empty. */
.gh-content {
    max-width: 860px;
    margin-left: 0;
    margin-right: auto;
}

/* Images inserted inside Ghost editor content: smaller and left-aligned. */
.gh-content .kg-image-card {
    max-width: 520px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.gh-content .kg-image-card > img,
.gh-content .kg-image-card .kg-image {
    width: auto !important;
    max-width: 520px !important;
    height: auto !important;
    max-height: 720px;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    margin-left: 0 !important;
    margin-right: auto !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 38px rgba(0,0,0,0.34);
}

/* Ghost wide/full cards should not override this on book/product pages. */
.gh-content .kg-width-wide,
.gh-content .kg-width-full {
    max-width: 520px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Caption follows the image edge, not the full page width. */
.gh-content .kg-image-card figcaption {
    max-width: 520px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
}

/* Give book detail pages a stronger finished section rhythm. */
.oc-book-content,
.oc-album-content {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.oc-book-content .gh-inner,
.oc-album-content .gh-inner {
    max-width: none !important;
}

/* Related series cards should read like a deliberate shelf, not tiny loose fragments. */
.oc-related-books {
    padding-top: clamp(3.25rem, 5vw, 5rem);
    padding-bottom: clamp(3.25rem, 5vw, 5rem);
    border-top: 1px solid rgba(255,209,134,0.09);
}

.oc-related-books .oc-book-grid,
.oc-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
    gap: clamp(1rem, 2vw, 1.5rem);
    justify-content: start;
}

.oc-book-card-related {
    max-width: 190px;
}

/* On smaller screens, keep images readable but not oversized. */
@media (max-width: 768px) {
    .gh-content {
        max-width: 100%;
    }

    .gh-content .kg-image-card,
    .gh-content .kg-width-wide,
    .gh-content .kg-width-full {
        max-width: min(100%, 420px) !important;
    }

    .gh-content .kg-image-card > img,
    .gh-content .kg-image-card .kg-image,
    .gh-content .kg-image-card figcaption {
        max-width: min(100%, 420px) !important;
    }

    .oc-related-books .oc-book-grid,
    .oc-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oc-book-card-related {
        max-width: none;
    }
}
