/* Bertin Nana */

:root {
    --bg: #141210;
    --bg-deep: #100e0c;
    --bg-raise: #1c1916;
    --ink: #f6f1e8;
    --muted: #c9bfb1;
    --quiet: #9c9286;
    --gold: #e0c17a;
    --gold-deep: #d4b06a;
    --line: rgba(224, 193, 122, 0.18);
    --line-soft: rgba(246, 241, 232, 0.1);
    --danger: #e7b2a8;
    --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 70% 42% at 100% -8%, rgba(212, 176, 106, 0.14), transparent 55%),
        radial-gradient(ellipse 42% 36% at -8% 18%, rgba(92, 36, 32, 0.22), transparent 52%);
}

main {
    min-height: calc(100vh - 240px);
}

img {
    max-width: 100%;
}

::selection {
    background: var(--gold-deep);
    color: #1c150c;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 0;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 2000;
    background: var(--gold-deep);
    color: #1c150c;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

.skip-link:focus {
    top: 0.75rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.deck {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.cats li {
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.cats li:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 0.8rem;
    border-radius: 50%;
    background: var(--gold);
}

.btn {
    --bs-btn-border-radius: 0;
    border-radius: 0;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.95rem 1.35rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-gold {
    background: var(--gold-deep);
    border: 1px solid var(--gold-deep);
    color: #1c150c;
}

.btn-gold:hover,
.btn-gold:focus-visible {
    background: #f0d59a;
    border-color: #f0d59a;
    color: #1c150c;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(246, 241, 232, 0.32);
    color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(246, 241, 232, 0.05);
    border-color: var(--gold);
    color: var(--ink);
}

.hero-actions,
.band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.site-header.navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: rgba(20, 18, 16, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    z-index: 1030;
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
    margin-right: 1rem;
    padding: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--gold-deep);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-name {
    display: block;
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 600;
    color: var(--ink);
}

.navbar-nav {
    gap: 0.15rem;
}

.navbar-nav .nav-link {
    position: relative;
    color: rgba(246, 241, 232, 0.82);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.55rem 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.25rem;
    height: 1px;
    background: var(--gold);
}

.navbar-toggler {
    border-color: rgba(224, 193, 122, 0.45);
    padding: 0.45rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(224, 193, 122, 0.2);
}

.hero {
    padding: 3.5rem 0 4.5rem;
}

.hero-title {
    margin: 0.15rem 0 0.9rem;
    font-size: clamp(3.6rem, 7vw, 6.15rem);
    line-height: 0.88;
    font-weight: 600;
}

.gold {
    color: var(--gold);
    font-style: italic;
}

.byline {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero .deck {
    max-width: 34rem;
    font-size: 1.12rem;
}

.hero-cover {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.hero-cover::before {
    content: "";
    position: absolute;
    inset: 12% 4% -4%;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(212, 176, 106, 0.28), rgba(120, 42, 36, 0.12) 46%, transparent 72%);
    filter: blur(6px);
}

.media-frame {
    position: relative;
    z-index: 1;
    padding: 0.7rem;
    background: #1a1815;
    border: 1px solid rgba(224, 193, 122, 0.32);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.media-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.media-frame figcaption,
.frame-caption {
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.quote-band {
    padding: 4.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quote-band blockquote {
    margin: 0;
}

.quote-band blockquote p {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.7rem, 5.4vw, 4.5rem);
    line-height: 1.02;
    color: var(--ink);
}

.quote-note {
    display: block;
    margin-top: 1.2rem;
    font-size: 0.72rem;
    font-style: normal;
    font-family: var(--sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.section {
    padding: 5rem 0;
}

.section h2,
.band-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1;
}

.prose p + p {
    margin-top: 1.1rem;
}

.prose .lede,
.lede-serif {
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
}

.topic-list {
    list-style: none;
    counter-reset: topic;
    padding: 0;
    margin: 0;
}

.topic-list li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
    align-items: baseline;
    counter-increment: topic;
    padding: 0.95rem 0;
    border-top: 1px solid var(--line-soft);
    color: var(--ink);
}

.topic-list li:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.topic-list li::before {
    content: counter(topic, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gold);
}

.author-band {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.author-band .media-frame {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.author-band .media-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 18%;
}

.page-hero {
    padding: 3.25rem 0 2.2rem;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3.1rem, 6vw, 5.3rem);
    line-height: 0.92;
}

.page-book .page-hero h1 {
    max-width: none;
}

.page-hero .deck {
    max-width: 38rem;
    margin-top: 1rem;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 1.15rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--quiet);
}

.crumb a {
    color: var(--gold);
    text-decoration: none;
}

.crumb a:hover {
    color: #f0d59a;
}

.page-hero + .section {
    padding-top: 3.25rem;
}

.section.section-continued {
    padding-top: 0;
}

.section h2.subhead {
    margin-top: 2.2rem;
    font-size: 2rem;
}

.lede-serif + .deck {
    margin-top: 1.25rem;
}

.cover-panel,
.author-panel {
    margin: 0;
}

.field-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
}

.field-list li {
    padding: 0.75rem 0;
    border-top: 1px solid var(--line-soft);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e4d8c6;
}

.field-list li:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.book-tease {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.book-tease:hover {
    border-color: var(--gold);
    background: rgba(224, 193, 122, 0.05);
    color: inherit;
}

.book-tease img {
    width: 72px;
    height: auto;
    display: block;
}

.book-tease small,
.book-tease em {
    display: block;
    font-style: normal;
}

.book-tease small {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.book-tease strong {
    display: block;
    margin: 0.15rem 0;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

.book-tease em {
    font-size: 0.9rem;
    color: var(--muted);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.detail-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.95rem 0;
    border-top: 1px solid var(--line-soft);
}

.detail-list li:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.detail-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--line);
    color: var(--gold);
}

.detail-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--quiet);
}

.detail-list a {
    color: var(--ink);
    text-decoration: none;
}

.detail-list a:hover {
    color: var(--gold);
}

.form-card {
    background: var(--bg-raise);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold-deep);
    padding: 1.5rem;
}

.form-label {
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ddd2c2;
}

.form-control,
.form-select {
    color-scheme: dark;
    background-color: #12100e;
    border: 1px solid rgba(246, 241, 232, 0.16);
    border-radius: 0;
    color: var(--ink);
    padding: 0.9rem 1rem;
    box-shadow: none;
}

.form-control::placeholder {
    color: #8d8376;
}

.form-control:focus,
.form-select:focus {
    background-color: #12100e;
    color: var(--ink);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(224, 193, 122, 0.16);
}

.form-select {
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0c17a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 14px 10px;
}

.form-select option {
    background: #1c1a17;
    color: var(--ink);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.field-error {
    min-height: 1.15rem;
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: var(--danger);
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #d08a82;
    background-image: none;
    box-shadow: 0 0 0 3px rgba(208, 138, 130, 0.16);
}

.form-select.is-invalid,
.form-select.is-invalid:focus {
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0c17a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-card .btn-gold {
    margin-top: 0.6rem;
}

.form-success h2 {
    margin: 0.2rem 0 0.75rem;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.form-success p {
    max-width: 36rem;
    color: var(--muted);
}

.form-success .btn {
    margin-top: 1.4rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--quiet);
}

.form-note a {
    color: var(--gold);
}

.site-footer {
    padding: 4rem 0 1.4rem;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
}

.footer-brand {
    margin: 0 0 0.75rem;
    font-family: var(--serif);
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 600;
    color: var(--ink);
}

.footer-note {
    max-width: 28rem;
    margin: 0;
    color: var(--muted);
}

.footer-label {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0.35rem 0;
}

.footer-links a,
.detail-list a {
    overflow-wrap: anywhere;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin-top: 2.75rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line-soft);
    color: var(--quiet);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.noscript-note {
    margin-bottom: 1rem;
    color: var(--muted);
}

.noscript-note a {
    color: var(--gold);
}

@media (min-width: 992px) {
    .hero {
        padding: 5rem 0 6rem;
    }

    .hero-cover {
        max-width: 440px;
        margin-right: 0;
        margin-left: auto;
    }

    .section {
        padding: 6.25rem 0;
    }

    .author-band {
        padding: 6.25rem 0;
    }

    .author-band .media-frame {
        margin-right: 0;
    }

    .cover-panel,
    .author-panel {
        position: sticky;
        top: 6.25rem;
    }

    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 0.85rem;
        padding: 0.25rem 0 0.75rem;
        border-top: 1px solid var(--line);
    }

    .navbar-nav .nav-link {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(246, 241, 232, 0.06);
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .author-band .media-frame {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn,
    .band-actions .btn,
    .form-card .btn-gold {
        width: 100%;
    }

    .author-band .media-frame img {
        height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
