:root {
    color-scheme: dark;
    --bg: #140f13;
    --panel: #21171d;
    --panel-2: #2a1c23;
    --text: #f5eeea;
    --muted: #d4c5bf;
    --gold: #d9ad60;
    --gold-light: #f0d08d;
    --line: rgba(217, 173, 96, .3);
    --shadow: rgba(0, 0, 0, .42);
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 72% 4%, rgba(118, 49, 74, .25), transparent 34rem),
        linear-gradient(180deg, #191116, var(--bg) 40rem);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
    display: flex;
    width: min(calc(100% - 40px), var(--max));
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 28px 0;
    border-bottom: 1px solid rgba(217, 173, 96, .14);
}
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; }
.wordmark span {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}
.wordmark small { margin-top: 5px; color: var(--gold); font-family: Georgia, serif; letter-spacing: .04em; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-header nav a, .site-footer nav a {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}
.site-header nav a:hover, .site-header nav a:focus-visible, .site-footer a:hover { color: var(--gold-light); }

main { overflow: hidden; }
.hero {
    display: grid;
    width: min(calc(100% - 40px), var(--max));
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
    align-items: center;
    gap: clamp(40px, 8vw, 110px);
    margin: 0 auto;
    padding: 78px 0 94px;
}
.kicker {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero h1, .section-heading h2, .about h2, .empty-state h3, .notice-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: .98;
}
.hero h1 { max-width: 11ch; font-size: clamp(3.6rem, 9vw, 7.6rem); }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-text { max-width: 670px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.button.primary { background: var(--gold); color: #1c1308; }
.button.primary:hover { background: var(--gold-light); }
.button.secondary { border-color: var(--line); background: rgba(35, 23, 29, .55); color: var(--text); }
.hero-mark {
    position: relative;
    display: grid;
    width: min(100%, 430px);
    aspect-ratio: 1;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 35, 48, .82), rgba(27, 18, 23, .18) 67%);
    box-shadow: 0 30px 90px var(--shadow), inset 0 0 70px rgba(217, 173, 96, .06);
}
.hero-mark::before, .hero-mark::after {
    position: absolute;
    border: 1px solid rgba(217, 173, 96, .18);
    border-radius: 50%;
    content: "";
    inset: 9%;
}
.hero-mark::after { inset: 19%; }
.hero-mark span { color: var(--gold-light); font-family: Georgia, serif; font-size: clamp(4.5rem, 10vw, 8rem); letter-spacing: -.07em; }
.hero-mark i { position: absolute; width: 42%; height: 1px; bottom: 25%; background: var(--gold); }

.hero-featured {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    justify-self: end;
    isolation: isolate;
}
.featured-rings {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 35, 48, .7), rgba(27, 18, 23, .08) 68%);
    box-shadow: 0 30px 90px var(--shadow), inset 0 0 70px rgba(217, 173, 96, .05);
    inset: 0;
}
.featured-rings::before, .featured-rings::after {
    position: absolute;
    border: 1px solid rgba(217, 173, 96, .15);
    border-radius: 50%;
    content: "";
    inset: 10%;
}
.featured-rings::after { inset: 21%; }
.featured-cover {
    position: absolute;
    display: block;
    width: 72%;
    aspect-ratio: 1;
    top: 8%;
    left: 14%;
    border: 1px solid rgba(238, 196, 119, .58);
    border-radius: 18px;
    overflow: hidden;
    background: #130e12;
    box-shadow: 0 28px 65px rgba(0, 0, 0, .48);
    transition: transform .25s ease, border-color .25s ease;
}
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-cover-0 { z-index: 4; }
.featured-cover-1 { z-index: 3; transform: translate(-12%, 10%) rotate(-7deg); opacity: .72; }
.featured-cover-2 { z-index: 2; transform: translate(12%, 13%) rotate(7deg); opacity: .52; }
.featured-cover-0:hover, .featured-cover-0:focus-visible { border-color: var(--gold-light); transform: translateY(-5px); }
.featured-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 226, 170, .5);
    border-radius: 999px;
    background: rgba(19, 14, 18, .86);
    color: var(--gold-light);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}
.featured-caption {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 2px;
    padding: 42px 17px 15px;
    background: linear-gradient(transparent, rgba(15, 9, 13, .94));
    color: #fff8ee;
}
.featured-caption strong { font-family: Georgia, serif; font-size: clamp(1rem, 2vw, 1.3rem); }
.featured-caption small { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.releases { padding: 88px max(20px, calc((100% - var(--max)) / 2)) 110px; background: #1b1318; border-block: 1px solid rgba(217, 173, 96, .13); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 500px); align-items: end; gap: 40px; margin-bottom: 36px; }
.section-heading h2, .about h2 { font-size: clamp(2.7rem, 6vw, 5rem); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.collection-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 34px; }
.filter-bar { display: flex; flex: 1 1 auto; gap: 9px; margin: 0; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.sort-control { display: grid; flex: 0 0 auto; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sort-control select { min-width: 155px; padding: 8px 34px 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--gold-light); font: inherit; font-size: .86rem; font-weight: 700; letter-spacing: normal; text-transform: none; }
.tag-filter {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--gold-light);
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
}
.tag-filter:hover, .tag-filter:focus-visible, .tag-filter.active { background: var(--gold); color: #21150b; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); }
.product-card {
    overflow: hidden;
    border: 1px solid rgba(217, 173, 96, .2);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
.product-card[hidden] { display: none; }
.cover-link { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.cover-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.cover-link:hover img { transform: scale(1.025); filter: brightness(.75); }
.play-label {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(20, 15, 19, .88);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    transition: .25s ease;
}
.cover-link:hover .play-label, .cover-link:focus-visible .play-label { opacity: 1; transform: none; }
.card-content { padding: 22px 22px 24px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-meta time + span::before { margin-right: 8px; content: '\00b7'; }
.card-meta span + span::before { margin-right: 8px; content: "·"; }
.card-content h3 { margin: 9px 0 10px; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.08; }
.card-content h3 a { text-decoration: none; }
.card-content h3 a:hover { color: var(--gold-light); }
.card-content > p { margin: 0; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.card-tags li { padding: 4px 8px; border: 1px solid rgba(217, 173, 96, .2); border-radius: 999px; color: #dfcba4; font-size: .73rem; }
.no-results, .empty-state { padding: 60px 30px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.empty-state h3 { font-size: clamp(2.2rem, 5vw, 4rem); }
.empty-state p:last-child { color: var(--muted); }

.about { display: grid; width: min(calc(100% - 40px), var(--max)); grid-template-columns: .35fr 1fr; gap: clamp(35px, 9vw, 130px); margin: 0 auto; padding: 110px 0; }
.about-label { display: flex; align-items: flex-start; justify-content: center; }
.about-label span { display: grid; width: 150px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: 1.3rem; }
.about > div:last-child > p:last-child { max-width: 770px; color: var(--muted); font-size: 1.08rem; }

.free-hero { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: clamp(90px, 14vw, 170px) 0 90px; }
.free-hero h1 { max-width: 900px; font-size: clamp(4rem, 11vw, 9rem); line-height: .82; }
.free-hero h1 em { color: var(--gold-light); font-weight: 400; }
.free-hero > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.free-collection { min-height: 480px; }
.freebie-detail { display: grid; width: min(calc(100% - 40px), var(--max)); grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(38px, 7vw, 100px); margin: 0 auto; padding: clamp(80px, 11vw, 140px) 0 100px; }
.freebie-cover img { position: sticky; top: 110px; display: block; width: 100%; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px var(--shadow); }
.freebie-copy h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .92; }
.freebie-intro { color: var(--muted); font-size: 1.15rem; }
.freebie-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0; padding: 0; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .08em; list-style: none; text-transform: uppercase; }
.content-note { margin: 24px 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: rgba(217,173,96,.08); color: var(--muted); }
.freebie-player { margin: 34px 0 20px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.freebie-player h2 { margin-bottom: 16px; font-size: 1.5rem; }
.freebie-player audio { width: 100%; }
.freebie-player p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.freebie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 36px; }
.preview-description { color: var(--muted); }
.preview-description h2,.preview-description h3 { margin-top: 1.5em; color: var(--text); }
.recommendations { padding: 90px max(20px, calc((100% - var(--max)) / 2)) 110px; border-top: 1px solid var(--line); background:#1b1318; }
.recommendation-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.recommendation-grid .card-content h3 { font-size: clamp(1.3rem,2vw,1.7rem); }

.themes-menu { position: relative; }
.themes-menu summary { color: var(--muted); cursor: pointer; font-size: .88rem; font-weight: 700; letter-spacing: .05em; list-style: none; text-transform: uppercase; }
.themes-menu summary::-webkit-details-marker { display: none; }
.themes-menu summary::after { margin-left: 5px; content: "▾"; color: var(--gold); }
.themes-menu[open] summary, .themes-menu summary:hover { color: var(--gold-light); }
.themes-menu-panel { position: absolute; z-index: 20; top: calc(100% + 12px); right: 0; display: grid; width: min(78vw, 350px); grid-template-columns: 1fr; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(27,19,24,.98); box-shadow: 0 22px 55px var(--shadow); }
.site-header nav .themes-menu-panel a { padding: 8px 10px; border-radius: 7px; font-size: .75rem; }
.site-header nav .themes-menu-panel a:hover { background: var(--panel-2); }
.site-header nav .themes-menu-panel .view-all { margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0; color: var(--gold-light); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: var(--line); }
.detail-breadcrumb { width: min(calc(100% - 40px), var(--max)); margin: 45px auto -45px; }
.catalog-hero,.category-hero,.content-page { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0 clamp(70px, 9vw, 110px); }
.catalog-hero h1,.category-hero h1,.content-page h1 { max-width: 1050px; margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 700; letter-spacing: -.035em; line-height: .9; }
.catalog-hero > p:last-child,.content-page .lead { max-width: 800px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.category-hero h1 { max-width: 950px; }
.category-intro { max-width: 900px; margin-top: 34px; color: var(--muted); font-size: 1.08rem; }
.category-intro p { margin: 0 0 1.1em; }
.category-intro p:last-child { margin-bottom: 0; }
.theme-explorer { padding: 90px max(20px, calc((100% - var(--max)) / 2)) 100px; border-block: 1px solid rgba(217,173,96,.13); background: #1b1318; }
.theme-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.theme-card { display: flex; min-height: 230px; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at 80% 10%,rgba(118,49,74,.28),transparent 14rem),linear-gradient(145deg,var(--panel-2),var(--panel)); text-decoration: none; transition: transform .2s ease,border-color .2s ease; }
.theme-card:hover,.theme-card:focus-visible { border-color: var(--gold-light); transform: translateY(-3px); }
.theme-card > span { margin-bottom: 8px; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.theme-card strong { font-family: Georgia,serif; font-size: clamp(1.35rem,2.2vw,2rem); line-height: 1.05; }
.theme-card small { display: -webkit-box; margin-top: 13px; overflow: hidden; color: var(--muted); font-size: .82rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.catalog-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.catalog-controls .filter-bar { min-width: 0; }
.featured-collection { background: #1b1318; }
.category-collection { border-top: 0; background: var(--bg); }
.related-themes { border-bottom: 0; }
.brand-block { width: min(calc(100% - 40px), 850px); margin: 0 auto; padding: 100px 0 120px; text-align: center; }
.brand-block h2,.content-page h2 { margin: 0; font-size: clamp(2.5rem,6vw,5rem); line-height: 1; }
.brand-block > p:not(.kicker) { margin: 24px auto 30px; color: var(--muted); font-size: 1.1rem; }
.content-page { max-width: 900px; }
.content-page h2 { margin-top: 65px; font-size: clamp(2rem,5vw,4rem); }
.content-page > p:not(.kicker):not(.lead) { color: var(--muted); font-size: 1.08rem; }
.content-page .hero-actions { margin-top: 38px; }

.site-footer { display: grid; width: min(calc(100% - 40px), var(--max)); grid-template-columns: 1fr auto; gap: 24px; margin: 0 auto; padding: 44px 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer div { display: flex; flex-direction: column; }
.site-footer strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.25rem; }
.site-footer p { grid-column: 1 / -1; margin: 0; font-size: .8rem; }

.notice-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.notice-card { width: min(100%, 700px); padding: clamp(32px, 7vw, 70px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 30px 90px var(--shadow); }
.notice-card h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.notice-card > p:not(.kicker) { margin: 24px 0 30px; color: var(--muted); font-size: 1.05rem; }

@media (max-width: 900px) {
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; }
    .hero-mark { width: min(78vw, 380px); justify-self: center; }
    .hero-featured { width: min(82vw, 420px); justify-self: center; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .freebie-detail { grid-template-columns: 1fr; }
    .freebie-cover { max-width: 560px; }
    .freebie-cover img { position: static; }
    .recommendation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
    .site-header { align-items: flex-start; }
    .site-header nav { justify-content: flex-end; gap: 12px; }
    .site-header nav a { font-size: .75rem; }
    .themes-menu summary { font-size: .75rem; }
    .themes-menu-panel { position: fixed; top: 82px; right: 12px; left: 12px; width: auto; max-height: calc(100vh - 100px); overflow-y: auto; }
    .wordmark small { display: none; }
    .hero { padding: 55px 0 70px; }
    .hero h1 { font-size: clamp(3.25rem, 17vw, 5.3rem); }
    .hero-mark { width: min(82vw, 330px); }
    .hero-featured { width: min(88vw, 360px); }
    .section-heading { grid-template-columns: 1fr; gap: 18px; }
    .releases { padding-top: 70px; padding-bottom: 80px; }
    .collection-tools { flex-direction: column; }
    .filter-bar { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .theme-grid { grid-template-columns: 1fr; }
    .theme-card { min-height: 190px; }
    .catalog-controls { align-items: stretch; flex-direction: column; }
    .recommendation-grid { grid-template-columns: 1fr; }
    .cover-link .play-label { opacity: 1; transform: none; }
    .about { grid-template-columns: 1fr; padding: 80px 0; }
    .about-label { justify-content: flex-start; }
    .about-label span { width: 100px; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { gap: 14px; }
    .site-footer p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
