:root {
    --bg: #090b10;
    --bg-soft: #111722;
    --bg-panel: #171d28;
    --text: #f7f7f3;
    --muted: #b8c0cc;
    --line: rgba(255, 255, 255, 0.14);
    --petrol: #0d5360;
    --red: #b52f35;
    --gold: #d8a953;
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    z-index: 1000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    background: var(--white);
    color: #111;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.menu-open .site-header {
    background: rgba(9, 11, 16, 0.92);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(216, 169, 83, 0.75);
    border-radius: 50%;
    color: var(--gold);
    font-weight: 800;
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.78rem;
}

.nav-list,
.footer-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
    color: var(--white);
}

.language-switcher {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.language-switcher a {
    display: inline-flex;
    min-width: 42px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
}

.language-switcher a.is-active {
    background: var(--gold);
    color: #15110a;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
}

.hero {
    position: relative;
    display: grid;
    min-height: 92vh;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 76px;
    background:
        linear-gradient(90deg, rgba(9, 11, 16, 0.98), rgba(9, 11, 16, 0.76), rgba(9, 11, 16, 0.42)),
        var(--hero-image, radial-gradient(circle at 78% 28%, rgba(181, 47, 53, 0.5), transparent 26%)),
        linear-gradient(135deg, #07131d 0%, #0d5360 48%, #111722 100%);
    background-size: cover;
    background-position: center;
}

.hero::after {
    position: absolute;
    right: -12%;
    bottom: -28%;
    width: 58vw;
    height: 58vw;
    min-width: 520px;
    min-height: 520px;
    content: "";
    border: 1px solid rgba(216, 169, 83, 0.22);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 20px);
    opacity: 0.45;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-left: max(20px, calc((100vw - 1160px) / 2));
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.06;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.6rem, 10vw, 7.4rem);
}

h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
    font-size: 1.35rem;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.17rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
}

.button-primary,
input[type="submit"] {
    border-color: var(--red);
    background: var(--red);
}

.button-ghost {
    color: var(--gold);
    border-color: rgba(216, 169, 83, 0.48);
}

.hero-media {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.visual-panel {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.visual-panel-book {
    right: 8%;
    top: 22%;
    width: min(22vw, 260px);
    aspect-ratio: 2 / 3;
    background: linear-gradient(145deg, #111 0%, #263647 46%, #b52f35 47%, #141922 100%);
    transform: rotate(5deg);
}

.visual-panel-video {
    right: 19%;
    bottom: 18%;
    width: min(32vw, 420px);
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, rgba(13, 83, 96, 0.95), rgba(10, 12, 18, 0.95)), repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.15) 16px 18px);
}

.visual-panel-record {
    right: 2%;
    bottom: 13%;
    width: min(18vw, 220px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, #0a0c11 0 12px, #202938 12px 14px, #0a0c11 14px 24px);
}

.section {
    padding: 94px 0;
}

.section-dark {
    background: #07090d;
}

.section-featured {
    padding: 54px 0;
    background: linear-gradient(90deg, #111722, #162334);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-layout,
.split-layout,
.newsletter-inner,
.video-feature,
.radio-layout,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 42px;
    align-items: center;
}

.feature-layout p,
.split-layout p,
.section-heading p,
.newsletter-inner p,
.video-feature p,
.radio-layout p,
.card-body p,
.site-footer p,
.content-narrow {
    color: var(--muted);
}

.radio-band {
    background: linear-gradient(135deg, #07090d, #111722 52%, #0d5360);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.radio-player {
    overflow: hidden;
    min-height: 360px;
    border: 1px solid rgba(216, 169, 83, 0.32);
    border-radius: var(--radius);
    background: #05070a;
    box-shadow: var(--shadow);
}

.radio-player iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    background: #05070a;
}

.feature-card,
.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card {
    padding: 28px;
    border-color: rgba(216, 169, 83, 0.36);
}

.feature-card span,
.post-date {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-card a,
.card-body a,
.post-row a:not(.button) {
    color: var(--gold);
    font-weight: 800;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.compact-grid {
    margin-top: 24px;
}

.content-card img,
.placeholder-art {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.book-card img,
.book-card .placeholder-art {
    aspect-ratio: 3 / 4;
}

.book-language-group {
    margin-top: 34px;
}

.book-language-group + .book-language-group {
    margin-top: 58px;
}

.book-language-group > h2,
.book-language-group > h3 {
    margin-bottom: 20px;
}

.archive-language-group > h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.language-badge {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 5px 9px;
    border: 1px solid rgba(216, 169, 83, 0.42);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.muted-text {
    color: var(--muted);
}

.placeholder-art {
    position: relative;
    overflow: hidden;
    background: #182232;
}

.placeholder-art::before,
.video-frame::before {
    position: absolute;
    inset: 16px;
    z-index: 1;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.placeholder-music {
    background: radial-gradient(circle at 50% 50%, #d8a953 0 8%, transparent 8% 12%, #0d5360 12% 28%, #0a0c11 28% 100%);
}

.placeholder-video {
    background: linear-gradient(135deg, #0d5360, #111722 52%, #b52f35);
}

.placeholder-book {
    background: linear-gradient(145deg, #0a0c11 0%, #1f2d3f 58%, #d8a953 59%, #b52f35 100%);
}

.card-body {
    padding: 22px;
}

.video-feature {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.video-frame {
    position: relative;
    display: grid;
    min-height: 280px;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #152133, #0d5360 45%, #1a1015);
}

.video-frame-thumb {
    color: inherit;
}

.video-frame-thumb img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.video-frame span {
    position: relative;
    z-index: 2;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--red);
    clip-path: polygon(34% 24%, 34% 76%, 78% 50%);
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.publisher-shop {
    display: grid;
    gap: 24px;
}

.publisher-copy {
    max-width: 760px;
}

.publisher-widget-card {
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: #212529;
}

.section-about {
    background: linear-gradient(135deg, #101822, #091017);
}

.portrait-block {
    max-width: 420px;
}

.portrait-block img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid rgba(216, 169, 83, 0.34);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.newsletter-band {
    background: linear-gradient(90deg, #681f27, #0d5360);
}

.page-hero {
    padding: 150px 0 82px;
    background: linear-gradient(135deg, #091017, #172538 52%, #421b22);
    border-bottom: 1px solid var(--line);
}

.content-narrow {
    max-width: 760px;
}

.content-narrow a {
    color: var(--gold);
    font-weight: 700;
}

.content-narrow img,
.featured-image {
    border-radius: var(--radius);
}

.book-featured-cover {
    max-width: 360px;
    margin: 0 0 28px;
}

.book-featured-cover img {
    width: 100%;
    box-shadow: var(--shadow);
}

.embed-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #000;
    aspect-ratio: 16 / 9;
}

.embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-actions {
    margin: 0 0 28px;
}

.contact-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.gm-contact-form {
    display: grid;
    gap: 18px;
}

.gm-contact-form p {
    margin: 0;
}

.gm-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

.gm-contact-form input,
.gm-contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font: inherit;
}

.gm-contact-form input:focus,
.gm-contact-form textarea:focus {
    outline: 2px solid rgba(216, 169, 83, 0.5);
    outline-offset: 2px;
}

.gm-hp-field {
    position: absolute;
    left: -9999px;
}

.form-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.form-success {
    background: rgba(13, 83, 96, 0.35);
    color: var(--white);
}

.form-error {
    background: rgba(181, 47, 53, 0.3);
    color: var(--white);
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.site-footer {
    padding: 52px 0;
    border-top: 1px solid var(--line);
    background: #07090d;
}

.site-footer h2 {
    font-size: 1.4rem;
}

.footer-nav {
    flex-wrap: wrap;
}

.footer-meta {
    text-align: right;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

@media (max-width: 900px) {
    .site-shell {
        width: min(100% - 28px, 720px);
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 78px;
        right: 14px;
        left: 14px;
        display: none;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(9, 11, 16, 0.98);
    }

    .primary-nav.is-open {
        display: grid;
        gap: 16px;
    }

    .nav-list,
    .footer-nav {
        display: grid;
        gap: 12px;
    }

    .language-switcher {
        width: fit-content;
    }

    .hero {
        min-height: 820px;
        padding-top: 130px;
        align-items: start;
    }

    .hero-content {
        margin: 0 auto;
    }

    .visual-panel-book {
        top: auto;
        right: 9%;
        bottom: 160px;
        width: 150px;
    }

    .visual-panel-video {
        right: 22%;
        bottom: 70px;
        width: 280px;
    }

    .visual-panel-record {
        right: 4%;
        bottom: 50px;
        width: 118px;
    }

    .feature-layout,
    .split-layout,
    .newsletter-inner,
    .video-feature,
    .radio-layout,
    .footer-grid,
    .post-row {
        grid-template-columns: 1fr;
    }

    .radio-player,
    .radio-player iframe {
        min-height: 320px;
        height: 360px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 0;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .site-shell {
        width: calc(100% - 24px);
    }

    .brand-text small {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    h1 {
        font-size: 3.4rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .button-row,
    .button,
    .newsletter-inner .button {
        width: 100%;
    }

    .visual-panel-video {
        right: 11%;
        width: 240px;
    }
}
