/* Ünal Büyüksungur — Müzik Dünyam
   Tasarım token'ları ve ortak bileşenler v2/index.html ile aynıdır. */

:root {
    --background: #0B101B;
    --surface: #172338;
    --gold: #C9A66B;
    --gold-soft: #D8BA86;
    --text: #F5F0E8;
    --muted: #B8C2D1;
    --line: rgba(201, 166, 107, 0.35);
    --line-soft: rgba(201, 166, 107, 0.16);

    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --gutter: clamp(20px, 6vw, 96px);
    --header-height: 76px;
    --content-width: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

button,
input {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--gold);
    color: var(--background);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Üst navigasyon (v2/index.html ile aynı) ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--gutter);
    transition: background-color 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(11, 16, 27, 0.94);
    border-bottom-color: rgba(201, 166, 107, 0.15);
}

.monogram {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--gold);
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-list {
    display: flex;
    gap: clamp(20px, 2.6vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    opacity: 0.85;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
    opacity: 1;
    color: var(--gold);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
}

/* ---------- Ortak bileşenler ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--gold);
}

.eyebrow::before {
    content: "";
    width: 48px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.1;
}

.section-title:focus {
    outline: none;
}

.section-head {
    max-width: var(--content-width);
    margin: 0 auto clamp(28px, 3.5vw, 44px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button-secondary {
    color: var(--text);
    background: rgba(11, 16, 27, 0.35);
    border-color: var(--line);
}

.button-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.text-button {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 6px;
    transition: text-decoration-color 0.3s ease, opacity 0.3s ease;
}

.text-button:hover {
    text-decoration-color: var(--gold);
}

.text-button:disabled {
    opacity: 0.35;
    cursor: default;
    text-decoration-color: transparent;
}

/* ---------- Giriş ---------- */

.intro {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: calc(var(--header-height) + clamp(40px, 5vw, 80px)) var(--gutter) clamp(48px, 5vw, 72px);
    border-bottom: 1px solid rgba(201, 166, 107, 0.12);
    background:
        radial-gradient(ellipse 55% 70% at 88% 18%, rgba(201, 166, 107, 0.09), transparent 70%),
        linear-gradient(180deg, #0D1422 0%, var(--background) 100%);
}

/* Plak yivlerini anımsatan ince halkalar: tek, durağan dekor */
.intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: calc(var(--gutter) * -1);
    width: min(56vw, 720px);
    aspect-ratio: 1;
    transform: translateY(-46%);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 13%, rgba(201, 166, 107, 0.22) 13% calc(13% + 1px), transparent calc(13% + 1px)),
        repeating-radial-gradient(circle, rgba(201, 166, 107, 0.06) 0 1px, transparent 1px 10px);
    mask-image: radial-gradient(circle, #000 35%, transparent 71%);
    -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 71%);
    pointer-events: none;
}

.intro-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(28px, 4vw, 44px);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.crumbs a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.crumbs a:hover {
    color: var(--gold);
}

.crumbs [aria-current] {
    color: var(--gold);
}

.brand {
    margin: 0 0 18px;
}

.brand-name {
    display: block;
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: 0.45em;
    color: var(--gold);
}

.intro h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.01em;
}

.intro h1 .accent {
    display: block;
    margin-top: 14px;
    font-size: clamp(20px, 2.1vw, 30px);
    letter-spacing: 0.02em;
    color: var(--gold);
}

.intro-lead {
    max-width: 44ch;
    margin: clamp(22px, 3vh, 32px) 0 0;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.65;
    color: var(--muted);
}

.intro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: clamp(32px, 4.5vw, 52px) 0 0;
}

.intro-stats div {
    padding: 4px 28px;
    border-left: 1px solid var(--line-soft);
}

.intro-stats div:first-child {
    padding-left: 0;
    border-left: 0;
}

.intro-stats dt {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.intro-stats dd {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.2;
    color: var(--text);
}

/* ---------- Koleksiyonlar ---------- */

.collections {
    padding: clamp(48px, 5vw, 80px) var(--gutter) clamp(24px, 3vw, 40px);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.collection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    background: linear-gradient(160deg, #142034 0%, #0F1828 100%);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.collection-card:hover,
.collection-card:focus-within {
    border-color: rgba(201, 166, 107, 0.55);
}

.collection-card:hover {
    transform: translateY(-3px);
}

.collection-card.is-active {
    border-color: var(--gold);
}

.collection-mosaic {
    display: grid;
    grid-template-columns: repeat(var(--tiles, 4), minmax(0, 1fr));
    gap: 2px;
    background: #0D1523;
    border-bottom: 1px solid rgba(201, 166, 107, 0.12);
}

.collection-mosaic img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    opacity: 0.88;
    transition: opacity 0.35s ease;
}

.collection-card:hover .collection-mosaic img {
    opacity: 1;
}

.collection-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(20px, 2.2vw, 30px);
}

.collection-count {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--gold);
}

.collection-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-serif);
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.15;
}

.collection-open {
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

/* Kartın tamamını tıklanabilir yapar; odak halkası kartın etrafında görünür */
.collection-open::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Odak halkası :has() destekleniyorsa kartın etrafına taşınır; desteklenmiyorsa düğmede kalır */
@supports selector(:has(*)) {
    .collection-open:focus-visible {
        outline: none;
    }

    .collection-card:has(.collection-open:focus-visible) {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }
}

.collection-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.collection-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D2C1A0;
}

.collection-foot svg {
    flex: none;
    color: var(--gold);
    transition: transform 0.35s ease;
}

.collection-card:hover .collection-foot svg {
    transform: translateX(4px);
}

/* ---------- Katalog araç çubuğu ---------- */

.catalog {
    scroll-margin-top: var(--header-height);
    padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(72px, 8vw, 120px);
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto auto;
    align-items: end;
    gap: 20px clamp(20px, 3vw, 40px);
    max-width: var(--content-width);
    margin: 0 auto clamp(28px, 3vw, 40px);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 166, 107, 0.18);
}

.search-label,
.filter-group legend {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.search-field {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
}

.search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px 0 46px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(13, 21, 35, 0.8);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input::placeholder {
    color: #8792A3;
}

.search-input:hover {
    border-color: rgba(201, 166, 107, 0.6);
}

.search-input:focus-visible {
    outline-offset: 2px;
    border-color: var(--gold);
}

.filter-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: transparent;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.chip:hover {
    border-color: var(--line);
    color: var(--text);
}

.chip[aria-pressed="true"] {
    border-color: var(--gold);
    background: rgba(201, 166, 107, 0.12);
    color: var(--gold);
}

.chip-count {
    margin-left: 6px;
    opacity: 0.7;
}

.toolbar-foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.result-count {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.result-count strong {
    font-weight: 400;
    color: var(--text);
}

/* ---------- Eser galerisi ---------- */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 32px) clamp(16px, 2vw, 28px);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 4px;
    transition: transform 0.35s ease;
}

.work-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    background: #0D1523;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.work-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.version-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(11, 16, 27, 0.82);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.work-body {
    padding: 14px 2px 0;
}

.work-card h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.work-open {
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}

.work-open::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

@supports selector(:has(*)) {
    .work-open:focus-visible {
        outline: none;
    }
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 6px 0 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9AA6B8;
}

.work-meta span + span::before {
    content: "·";
    margin-right: 10px;
    color: var(--gold);
}

.work-card:has(.work-open:focus-visible) .work-cover {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.work-card:has(.work-open:focus-visible) h3 {
    color: var(--gold);
}

@media (hover: hover) {
    .work-card:hover {
        transform: translateY(-4px);
    }

    .work-card:hover .work-cover {
        border-color: rgba(201, 166, 107, 0.6);
        box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
    }

    .work-card:hover .work-cover img {
        transform: scale(1.04);
    }

    .work-card:hover h3 {
        color: var(--gold);
    }
}

/* ---------- Durum mesajları ---------- */

.state {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 0;
    color: var(--muted);
    text-align: center;
}

.state p {
    margin: 0 0 8px;
}

.state-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2vw, 28px);
    color: var(--text);
}

.state .button {
    margin-top: 20px;
}

.state--error {
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding-inline: 24px;
}

/* ---------- Hızlı bilgi paneli ---------- */

.panel-open {
    overflow: hidden;
}

.panel {
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: linear-gradient(160deg, #142034 0%, #0F1828 100%);
    color: var(--text);
    overflow: auto;
    overscroll-behavior: contain;
}

.panel::backdrop {
    background: rgba(5, 8, 14, 0.78);
}

.panel[open] {
    animation: panel-in 0.35s ease both;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.panel-inner {
    position: relative;
}

.panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(11, 16, 27, 0.85);
    color: var(--gold);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.panel-close:hover {
    border-color: var(--gold);
}

.panel-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.panel-cover {
    border-right: 1px solid rgba(201, 166, 107, 0.12);
    background: #0D1523;
}

.panel-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.panel-body {
    padding: clamp(28px, 3vw, 44px);
    padding-top: clamp(56px, 5vw, 64px);
}

.panel-body h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.panel-note {
    margin: 14px 0 0;
    padding-left: 14px;
    border-left: 1px solid var(--gold);
    font-size: 14px;
    color: var(--muted);
}

.panel-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    margin: 24px 0 0;
    font-size: 15px;
}

.panel-facts dt {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
}

.panel-facts dd {
    margin: 0;
}

.panel-facts small {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.panel-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 166, 107, 0.14);
}

.panel-section h3 {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.recording-list,
.related-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recording {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 14px;
}

.recording img {
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-soft);
    border-radius: 2px;
    object-fit: cover;
}

.recording-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.3;
}

.recording-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    padding: 1px 9px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.tag--gold {
    border-color: var(--line);
    color: var(--gold);
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font-serif);
    font-size: 17px;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 5px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.related-link:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
}

.related-link small {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.panel-pending {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* ---------- Alt bilgi ---------- */

.site-footer {
    padding: 32px var(--gutter);
    border-top: 1px solid rgba(201, 166, 107, 0.12);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--muted);
}

/* ---------- Giriş animasyonu (v2/index.html ile aynı) ---------- */

.reveal {
    animation: reveal 0.9s ease both;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Duyarlı yerleşim ---------- */

@media (max-width: 1199px) {
    .work-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .nav-list {
        gap: 22px;
    }

    .nav-list a {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 899px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .collection-card {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .collection-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: start;
        border-bottom: 0;
        border-right: 1px solid rgba(201, 166, 107, 0.12);
    }

    /* Üç kapaklı koleksiyonda ilk kapak iki satırı kaplar; boş hücre kalmaz */
    .collection-mosaic[data-tiles="3"] img:first-child {
        grid-row: span 2;
        height: 100%;
        aspect-ratio: auto;
    }

    .toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel-content {
        grid-template-columns: 1fr;
    }

    .panel-cover {
        border-right: 0;
        border-bottom: 1px solid rgba(201, 166, 107, 0.12);
    }

    .panel-cover img {
        max-height: 46vh;
    }

    .panel-body {
        padding-top: clamp(24px, 4vw, 36px);
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 4px;
        border: 0;
        background: none;
        color: var(--text);
        font: inherit;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        cursor: pointer;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        display: block;
        width: 22px;
        height: 1px;
        background: var(--gold);
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .nav-toggle-icon {
        position: relative;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle-icon::before { top: -7px; }
    .nav-toggle-icon::after { top: 7px; }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        padding: 8px var(--gutter) 28px;
        background: rgba(11, 16, 27, 0.98);
        border-bottom: 1px solid rgba(201, 166, 107, 0.2);
    }

    .js .site-nav:not(.is-open) {
        display: none;
    }

    .site-header:has(.site-nav.is-open) {
        background: rgba(11, 16, 27, 0.98);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list a {
        display: block;
        padding: 16px 0;
        font-size: 14px;
        letter-spacing: 2px;
        border-bottom: 1px solid rgba(201, 166, 107, 0.12);
    }

    .nav-list a::after {
        display: none;
    }

    .intro::after {
        width: 90vw;
        right: -38vw;
        opacity: 0.7;
    }
}

@media (max-width: 560px) {
    .collection-card {
        grid-template-columns: 1fr;
    }

    .collection-mosaic {
        grid-template-columns: repeat(var(--tiles, 4), minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid rgba(201, 166, 107, 0.12);
    }

    .collection-mosaic[data-tiles="3"] img:first-child {
        grid-row: auto;
        height: auto;
        aspect-ratio: 1;
    }

    .work-grid {
        gap: 24px 14px;
    }

    .work-card h3 {
        font-size: 17px;
    }

    .work-meta {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .version-badge {
        top: 6px;
        right: 6px;
        padding: 2px 8px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .intro-stats div {
        padding: 4px 18px;
    }

    .panel {
        width: 100vw;
        max-width: 100vw;
        max-height: 100dvh;
        height: 100dvh;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .panel-facts {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .panel-facts dd {
        margin-bottom: 10px;
    }
}

@media (max-width: 359px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
    }

    .work-card:hover,
    .collection-card:hover,
    .work-card:hover .work-cover img {
        transform: none !important;
    }
}
