:root {
    --bg: #030303;
    --bg-soft: #090807;
    --gold: #a87427;
    --gold-light: #c9943f;
    --gold-dark: #6f4816;
    --text: #f3eee5;
    --muted: #b7b0a5;
    --line: rgba(170, 116, 39, 0.32);
    --max-width: 1180px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;
    --script: "Parisienne", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.site-header {
    position: relative;
    z-index: 50;
    background: var(--bg);
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    min-height: 38px;
}

.buy-book-link {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: #080603;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.header-socials,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-socials a {
    color: var(--text);
    font-size: 0.78rem;
}

.brand-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0 14px;
    border-bottom: 1px solid var(--line);
}

.site-brand {
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

.menu-toggle {
    display: none;
    position: absolute;
    right: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--gold-light);
    border-radius: 50%;
    cursor: pointer;
}

.main-nav {
    border-bottom: 1px solid rgba(170, 116, 39, 0.12);
}

.nav-inner {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 52px);
    padding: 15px 0;
}

.main-nav a,
.footer-nav a {
    font-family: var(--serif);
    font-size: 1rem;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
    color: var(--gold-light);
}

.hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero img {
    width: 100%;
    height: clamp(360px, 58vw, 720px);
    object-fit: cover;
    object-position: center;
}

.btn-over-image {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: #130c03;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.about {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.about-title {
    text-align: right;
}

.about-title p {
    margin: 0 0 -10px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-title h1 {
    margin: 0;
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: clamp(4rem, 8vw, 7.2rem);
    font-weight: 500;
    line-height: 0.72;
}

.about-title span {
    display: block;
    margin-top: 25px;
    font-size: 0.82rem;
    font-weight: 600;
}

.about-copy {
    color: #ded8cf;
    font-size: 0.93rem;
}

.about-copy p {
    margin: 0 0 14px;
}

.section-heading {
    margin-bottom: 56px;
    text-align: center;
}

.section-heading::before,
.section-heading::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.section-heading h2 {
    margin: 14px 0;
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 500;
}

.book-grid,
.talk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.book-card img {
    width: 100%;
    aspect-ratio: 0.69;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
}

.podcast {
    padding-top: 25px;
}

.podcast-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(320px, 1.35fr);
    gap: 44px;
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: radial-gradient(circle at 20% 10%, rgba(168, 116, 39, 0.12), transparent 34%), var(--bg-soft);
}

.podcast-image img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
}

.podcast-content > span {
    font-size: 0.8rem;
    font-weight: 600;
}

.podcast-content h2 {
    margin: 0 0 12px;
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
}

.podcast-content p {
    color: #ded8cf;
    font-size: 0.95rem;
}

.talk-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.talk-card h3 {
    min-height: 90px;
    align-self: stretch;
    margin: 0 0 16px;
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
}

.talk-card img {
    width: 100%;
    aspect-ratio: 0.72;
    object-fit: cover;
    border: 1px solid rgba(170, 116, 39, 0.2);
}

.talk-card p {
    flex: 1;
    color: #c8c1b7;
    font-size: 0.84rem;
    line-height: 1.75;
}

.site-footer {
    padding: 45px 0 26px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 32px;
}

.footer-socials {
    justify-content: center;
    margin: 30px 0 20px;
}

.footer-socials a {
    color: var(--gold-light);
    font-size: 2rem;
}

.site-footer address {
    color: var(--muted);
    font-style: normal;
    font-size: 0.74rem;
}

.site-footer address a {
    color: var(--gold-light);
}

.copyright {
    margin-top: 24px;
    color: #77716a;
    font-size: 0.66rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 24px;
}

.modal.is-visible {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0b0907;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.modal-dialog h2 {
    margin: 0 0 16px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 2.4rem;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.modal-note {
    color: var(--muted);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .about,
    .podcast-card {
        grid-template-columns: 1fr;
    }

    .about-title {
        text-align: center;
    }

    .book-grid,
    .talk-grid {
        gap: 24px;
    }

    .talk-card h3 {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .top-actions {
        display: none;
    }

    .brand-row {
        justify-content: flex-start;
        padding-block: 18px;
    }

    .site-brand {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(82vw, 360px);
        padding-top: 95px;
        background: #090806;
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 0 24px;
    }

    .main-nav a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(170, 116, 39, 0.18);
        font-size: 1.35rem;
    }

    .hero img {
        height: auto;
        min-height: 280px;
        object-fit: cover;
    }

    .btn-over-image {
        bottom: 5%;
    }

    .section {
        padding: 52px 0;
    }

    .book-grid,
    .talk-grid {
        grid-template-columns: 1fr;
    }

    .book-card img {
        max-width: 360px;
    }

    .talk-card {
        max-width: 420px;
        margin-inline: auto;
    }

    .podcast-card {
        gap: 25px;
        padding: 24px;
    }

    .podcast-content {
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .site-brand {
        font-size: 2rem;
    }

    .about-title h1 {
        font-size: 4rem;
    }

    .modal-dialog {
        padding: 32px 22px 24px;
    }
}
