/* Bizim Caz site theme: shell (masthead, menu, footer) + front page. Mobile-first.
   Palette: warm paper + stone, near-black ink, oxblood accent. */

:root {
    --paper: #fbfaf7;
    --stone: #f0ebe3;
    --ink: #171314;
    --ink-2: #4b4445;
    --ink-3: #7a7071;
    --rule: #ddd4c8;
    --night: #1d1718;
    --night-2: #2c2324;
    --night-ink: #f4efe9;
    --night-ink-2: #b8aca9;
    --night-rule: #3d3233;
    --ox: #7b1e2b;
    --ox-hi: #962838;
    --ox-night: #e0959e;

    --serif: "EB Garamond", Garamond, "Times New Roman", serif;
    --display: "Fraunces", "EB Garamond", Georgia, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap: 1260px;
    --gutter: 1.125rem;
    --space: 2.25rem;
}

@media (min-width: 640px) { :root { --gutter: 1.75rem; --space: 2.75rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; --space: 3.25rem; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.1875rem, 1.08rem + 0.35vw, 1.375rem);
    line-height: 1.45;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
}

/* Components set their own display (grid/flex), which would otherwise beat
   the UA's [hidden] rule and leave "hidden" items on screen. */
[hidden] { display: none !important; }

/* Element resets apply to the shell and redesigned pages only; pages still on
   Bootstrap markup (main.page) keep Bootstrap's reboot for their content. */
:where(.mast, .mast__nav, .drawer, .foot, .home) img { display: block; max-width: 100%; height: auto; }
:where(.mast, .mast__nav, .drawer, .foot, .home) a { color: inherit; text-decoration: none; }
:where(.mast, .mast__nav, .drawer, .foot, .home) a:hover { color: var(--ox); }
:where(.mast, .mast__nav, .drawer, .foot, .home) :is(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.mast, .mast__nav, .drawer, .foot, .home) :is(ul, ol) { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; border-radius: 2px; }

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

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    padding: .5rem 1rem; background: var(--ink); color: var(--paper);
    font-family: var(--sans); font-size: .9rem;
}
.skip:focus { top: 1rem; color: var(--paper); }

/* Keep in-page anchors clear of the sticky nav. */
[id] { scroll-margin-top: 4rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Type primitives ─────────────────────────────────────────── */

.kicker {
    font-style: italic;
    color: var(--ox);
    font-size: .95em;
    line-height: 1.3;
    margin-bottom: .2em;
}

.label {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.button {
    display: inline-flex; align-items: center; gap: .25em;
    padding: .65em 1.15em;
    border: 1px solid currentColor;
    background: transparent;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button--solid { background: var(--ox); border-color: var(--ox); color: #fff; }
.button--solid:hover { background: var(--ox-hi); border-color: var(--ox-hi); color: #fff; }

.ext { font-family: var(--sans); font-size: .6em; margin-left: .3em; color: var(--ink-3); vertical-align: .35em; }

.tag {
    display: inline-block;
    font-family: var(--sans); font-size: .68rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--ox); border: 1px solid currentColor;
    padding: .05em .45em; margin-left: .35em; vertical-align: .15em;
    white-space: nowrap;
}

.thumb { display: block; flex: none; overflow: hidden; background: var(--stone); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--square { aspect-ratio: 1; }
.thumb--round { aspect-ratio: 1; border-radius: 50%; }
/* Concert and event posters are mostly 4:5 or 3:4 portrait. */
.thumb--poster { aspect-ratio: 4 / 5; }
.thumb--wide { aspect-ratio: 16 / 9; }
.thumb--play { position: relative; }
.thumb--play::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; border-radius: 50%;
    background: rgba(23, 19, 20, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
}

.scroller {
    display: flex; gap: .5rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    /* Snap to the content edge, not the bleed edge; otherwise the browser
       scrolls the first item out past the page margin on load. */
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--rule) transparent;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: .35rem;
}
.scroller > * { scroll-snap-align: start; flex: none; }

/* ── Section heads ───────────────────────────────────────────── */

.block { padding-block: var(--space); }
/* Paper sections that follow another paper section don't add their own top
   padding: the previous section's bottom padding is the gap (no doubling).
   Next to a band, paper sections match the band's padding. */
:is(.lead, .agenda, .block) + .block { padding-top: 0; }
.band + .block { padding-top: calc(var(--space) * .8); }
.block:has(+ .band) { padding-bottom: calc(var(--space) * .8); }

.sec-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: .25rem 1rem;
    border-top: 2px solid var(--ink);
    padding-top: .65rem;
    margin-bottom: 1.5rem;
}
.sec-head__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -.01em;
}
.sec-head__dek { flex-basis: 100%; font-style: italic; color: var(--ink-2); }
.more {
    font-family: var(--sans); font-size: .74rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ox);
    white-space: nowrap;
}
.more:hover { color: var(--ink); }

/* ── Bands ───────────────────────────────────────────────────── */

/* The colour change already separates bands, so they need less air than paper sections. */
.band { padding-block: calc(var(--space) * .8); }
.band--stone { background: var(--stone); }
.band--stone .sec-head { border-top-color: var(--ink); }
.band--night { background: var(--night); color: var(--night-ink); }
.band--night .sec-head { border-top-color: var(--night-ink); }
.band--night .sec-head__dek { color: var(--night-ink-2); }
.band--night .kicker { color: var(--ox-night); }
.band--night a:hover { color: var(--ox-night); }
.band--night .more { color: var(--ox-night); }
.band--night .more:hover { color: var(--night-ink); }
.band--night .album__cover { background: var(--night-2); }
.band--night .album__name { color: var(--night-ink-2); }
/* Back-to-back dark bands (Sahneden → Evren) get a hairline between them. */
.band--night + .band--night { border-top: 1px solid var(--night-rule); }

/* ── Masthead ────────────────────────────────────────────────── */

.mast { background: var(--paper); }

.mast__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    padding-block: .85rem;
}
.mast__left { justify-self: start; }
.mast__logo img { height: 46px; width: auto; }
.mast__actions { justify-self: end; display: flex; align-items: center; gap: .35rem; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 2.6rem; height: 2.6rem;
    border: 0; background: none; cursor: pointer; border-radius: 50%;
}
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.icon-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

.mast__lang {
    font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .08em;
    border: 1px solid var(--rule); border-radius: 999px; padding: .3em .7em;
}

.mast__search { border-top: 1px solid var(--rule); padding-block: .85rem; }
.mast__search-inner { display: flex; gap: .5rem; }
.mast__search input {
    flex: 1; min-width: 0;
    font: inherit; font-size: 1.05em;
    padding: .45em .2em;
    border: 0; border-bottom: 2px solid var(--ink);
    background: transparent; color: var(--ink);
    border-radius: 0;
}
.mast__search input:focus { outline: none; border-bottom-color: var(--ox); }

.mast__nav {
    position: sticky; top: 0; z-index: 20;
    background: var(--paper);
    border-block: 1px solid var(--rule);
}
.mast__nav ul {
    display: flex; gap: 1.35rem;
    overflow-x: auto; scrollbar-width: none;
    white-space: nowrap;
}
.mast__nav ul::-webkit-scrollbar { display: none; }
.mast__nav a { display: block; padding-block: .7rem; font-size: 1.02rem; }
.mast__nav a:hover { color: var(--ox); }
.mast__nav a[aria-current="page"] { color: var(--ox); box-shadow: inset 0 -2px 0 var(--ox); }

.drawer { border-bottom: 1px solid var(--rule); background: var(--stone); }
.drawer__inner { display: grid; gap: 1.75rem; padding-block: 1.5rem 2rem; }
.drawer ul { columns: 2; column-gap: 1.5rem; margin-top: .6rem; }
/* Link lists: tight leading so wrapped labels read as one item; padding keeps the rhythm between items. */
.drawer li { break-inside: avoid; padding-block: .4rem; line-height: 1.15; }

@media (min-width: 900px) {
    .mast__top { padding-block: 1.4rem 1.2rem; }
    .mast__logo img { height: 64px; }
    .mast__nav ul { justify-content: center; gap: 2rem; }
    .drawer__inner { grid-template-columns: 2fr 1fr; }
    .drawer nav:first-child ul { columns: 3; }
}

/* ── Lead ────────────────────────────────────────────────────── */

.lead { display: grid; gap: 2rem; padding-block: 1.5rem var(--space); }

.feature { display: grid; gap: 1.25rem; align-content: start; }
.feature__media {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 1; background: var(--night);
}
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature__fill { object-fit: cover; filter: blur(28px) brightness(.7) saturate(1.1); transform: scale(1.15); }
.feature__img { object-fit: contain; padding: clamp(.75rem, 3vw, 2rem); filter: drop-shadow(0 .75rem 1.5rem rgba(0, 0, 0, .35)); }
/* Typographic poster: same frame, dark ground, oxblood glow, big ordinal. */
.feature__media--type {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: .35em; padding: clamp(1.5rem, 5vw, 3.5rem);
    background:
        radial-gradient(120% 90% at 85% 15%, rgba(123, 30, 43, .55), transparent 60%),
        radial-gradient(90% 70% at 10% 100%, rgba(123, 30, 43, .3), transparent 65%),
        var(--night);
    color: var(--night-ink);
}
.feature__media--type:hover { color: var(--night-ink); }
.type-poster__ordinal {
    font-family: var(--display); font-weight: 700; line-height: .85;
    font-size: clamp(5rem, 3rem + 10vw, 11rem); color: var(--ox-night);
    font-variant-numeric: lining-nums;
}
.type-poster__name {
    font-family: var(--serif); font-style: italic; line-height: 1.05;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); max-width: 14ch;
}
.type-poster__meta {
    margin-top: .75rem;
    font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--night-ink-2); line-height: 1.6;
}
.feature__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -.015em;
    margin-bottom: .3em;
}
.feature__sub { font-style: italic; font-size: 1.15em; color: var(--ink-2); }
.feature__dek { margin-top: .4em; color: var(--ink-2); }
.feature .button { margin-top: 1.2rem; }

.lead__feed { border-top: 2px solid var(--ink); padding-top: .65rem; }
.lead__feed > .label { margin-bottom: .25rem; }

.feed__item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding-block: 1rem;
    border-bottom: 1px solid var(--rule);
}
.feed__item:last-child { border-bottom: 0; }
.feed__text { flex: 1; min-width: 0; }
/* What kind of item this is (YENİ ALBÜM, KONSER, SÖYLEŞİ...). Uppercasing is
   locale-aware via <html lang>, so Turkish i/İ come out right. */
.feed__type {
    font-family: var(--sans); font-size: .68rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ox);
    margin-bottom: .25rem;
}
.feed__kicker { font-style: italic; color: var(--ink-2); font-size: .92em; line-height: 1.3; margin-bottom: .15rem; }
.feed__title {
    font-family: var(--display); font-weight: 600;
    font-size: 1.2em; line-height: 1.15;
}
.feed__sub { font-style: italic; color: var(--ink); margin-top: .1em; }
.feed__dek { color: var(--ink-3); font-size: .9em; margin-top: .25em; }
.feed .thumb { width: 5.5rem; }
.feed .thumb--wide { width: 7.5rem; }

@media (min-width: 640px) {
    .feature__media { aspect-ratio: 4 / 3; }
    .feed .thumb { width: 6.5rem; }
    .feed .thumb--wide { width: 9rem; }
}

@media (min-width: 1024px) {
    .lead { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem; padding-top: 2.25rem; }
    .lead__feed { border-top: 0; border-left: 1px solid var(--rule); padding: 0 0 0 2.25rem; }
    .feed__item:first-child { padding-top: .25rem; }
}

/* No lead story: Gündem takes the whole lead area as a grid (2 → 3 columns). */
.lead--solo .feed__item:last-child { border-bottom: 1px solid var(--rule); }
/* Phones keep the first five so the concert calendar stays within reach. */
@media (max-width: 719.98px) { .lead--solo .feed__item:nth-child(n+6) { display: none; } }
@media (min-width: 720px) {
    .lead--solo .feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
    .lead--solo { grid-template-columns: minmax(0, 1fr); }
    .lead--solo .lead__feed { border-left: 0; border-top: 2px solid var(--ink); padding: .65rem 0 0; }
    .lead--solo .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
    .lead--solo .feed__item:first-child { padding-top: 1rem; }
}

/* ── Agenda ──────────────────────────────────────────────────── */

.agenda { padding-bottom: var(--space); }
.agenda__controls { display: grid; gap: .75rem; margin-bottom: 1.25rem; }

.day-tab {
    position: relative;
    display: grid; gap: .1rem;
    min-width: 7.5rem;
    padding: .6rem 2.6rem .65rem .85rem;
    border: 1px solid var(--rule);
    background: var(--paper);
    line-height: 1.15;
}
.day-tab__name { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.day-tab__date { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
/* Concert count: a small pill in the top-right corner, so it can't be read as a date. */
.day-tab__count {
    position: absolute; top: .45rem; right: .45rem;
    min-width: 1.5rem; padding: .15rem .45rem;
    border-radius: 999px;
    background: var(--ox); color: #fff;
    font-family: var(--sans); font-size: .68rem; font-weight: 700; line-height: 1.2;
    text-align: center; font-variant-numeric: tabular-nums;
}
.day-tab:hover { border-color: var(--ink); color: inherit; }
.day-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.day-tab[aria-selected="true"] .day-tab__name { color: var(--night-ink-2); }
.day-tab[aria-selected="true"] .day-tab__date { color: var(--paper); }
.day-tab[aria-selected="true"] .day-tab__count { background: var(--paper); color: var(--ox); }

.chip {
    border: 1px solid var(--rule); border-radius: 999px;
    background: transparent; cursor: pointer;
    padding: .3rem .85rem;
    font-size: .98rem;
}
.chip span { font-family: var(--sans); font-size: .7rem; color: var(--ink-3); margin-left: .15rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ox); border-color: var(--ox); color: #fff; }
.chip[aria-pressed="true"] span { color: #f3d3d7; }
/* Nothing to show for the current day/city combination: still clickable, just quiet. */
.chip.is-empty:not([aria-pressed="true"]), .day-tab.is-empty:not([aria-selected="true"]) { opacity: .45; }

.agenda__day + .agenda__day { margin-top: 1.75rem; }
.agenda__date {
    font-family: var(--serif); font-weight: 500; font-style: italic;
    font-size: 1.05em; color: var(--ink-2);
    padding-bottom: .35rem; border-bottom: 1px solid var(--ink);
}
.agenda__date span {
    font-family: var(--sans); font-style: normal; font-weight: 700;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ox);
    margin-right: .35rem;
}
/* JS mode shows one day at a time; the per-day heading then repeats the tab. */
[data-agenda].is-live .agenda__day:not(.is-all) .agenda__date { display: none; }

.gig {
    display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .9rem;
    align-items: start;
    padding-block: .85rem;
    border-bottom: 1px solid var(--rule);
}
.gig__time { font-family: var(--sans); font-size: .82rem; font-weight: 600; padding-top: .3rem; font-variant-numeric: tabular-nums; }
.gig__title { font-family: var(--display); font-weight: 600; font-size: 1.12em; line-height: 1.2; }
.gig__meta { font-style: italic; color: var(--ink-2); font-size: .95em; margin-top: .1rem; }
.gig__meta a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .15em; }
.gig__thumb { width: 3.75rem; }

.agenda__empty { padding-block: 1.5rem; font-style: italic; color: var(--ink-3); }

@media (min-width: 900px) {
    /* Two columns that read top-to-bottom (keeps time order, no ragged row gaps),
       with a hairline between them. */
    .gigs { columns: 2; column-gap: 4rem; column-rule: 1px solid var(--rule); }
    .gig { break-inside: avoid; }
    .gig__thumb { width: 4.5rem; }
}

/* ── Albums ──────────────────────────────────────────────────── */

.album-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
.album__cover { display: block; aspect-ratio: 1; background: var(--stone); margin-bottom: .65rem; overflow: hidden; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album__cover:hover img { transform: scale(1.03); }
.album .kicker { font-size: .85em; }
.album__artist { font-family: var(--display); font-weight: 600; font-size: 1.08em; line-height: 1.15; }
.album__name { font-style: italic; color: var(--ink-2); line-height: 1.25; margin-top: .1rem; }

@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (min-width: 1024px) { .album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Stage photos ────────────────────────────────────────────── */

.stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.stage__item:first-child { grid-column: 1 / -1; }
.stage__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); margin-bottom: .65rem; }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stage__photo:hover img { transform: scale(1.03); }
.stage__title { font-family: var(--display); font-weight: 600; font-size: 1.1em; line-height: 1.15; }
.stage__item:first-child .stage__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); }
.stage .kicker { font-size: .88em; }

@media (min-width: 900px) {
    .stage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
    .stage__item:first-child { grid-column: span 2; grid-row: span 2; }
    .stage__item:first-child .stage__photo { aspect-ratio: auto; height: calc(100% - 5.5rem); min-height: 18rem; }
}

/* ── Festivals ───────────────────────────────────────────────── */

.posters { gap: 1.25rem; }
.poster { width: min(62vw, 15rem); }
.poster__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); margin-bottom: .65rem; }
.poster__img img { width: 100%; height: 100%; object-fit: cover; }
.poster__blank { display: grid; place-items: center; height: 100%; padding: 1rem; text-align: center; font-family: var(--display); font-size: 1.3rem; color: var(--ink-3); }
.poster__title { font-family: var(--display); font-weight: 600; font-size: 1.1em; line-height: 1.15; }
.poster__dates { color: var(--ink-3); font-size: .9em; }

@media (min-width: 1024px) {
    .posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
    .poster { width: auto; }
}

/* ── Split layout (main + side) ──────────────────────────────── */

.split { display: grid; gap: var(--space); }
@media (min-width: 1024px) {
    .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 4rem; }
}

/* Press */
.press__item { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.press__item:first-child { padding-top: 0; }
.press__title { font-family: var(--display); font-weight: 600; font-size: 1.15em; line-height: 1.2; }
.byline { color: var(--ink-3); font-size: .9em; margin-top: .2rem; }
@media (min-width: 640px) {
    .press { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    .press__item:nth-child(2) { padding-top: 0; }
}

/* Most searched */
.rank { counter-reset: none; }
.rank__item {
    display: grid; grid-template-columns: 2.4rem 2.75rem minmax(0, 1fr); gap: .75rem; align-items: center;
    padding-block: .55rem; border-bottom: 1px solid var(--rule);
}
.rank__item:first-child { padding-top: 0; }
.rank__n { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--ox); line-height: 1; text-align: right; font-variant-numeric: lining-nums; }
.rank__img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--stone); }
.rank__name { font-family: var(--display); font-weight: 600; font-size: 1.05em; }
.rank__item:not(:has(.rank__img)) { grid-template-columns: 2.4rem minmax(0, 1fr); }

/* ── On this day / birthdays ─────────────────────────────────── */

.timeline__item {
    display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
    padding-block: .8rem; border-bottom: 1px solid var(--rule);
}
.timeline__year { font-family: var(--display); font-weight: 700; font-size: 1.75rem; color: var(--ox); line-height: 1; font-variant-numeric: lining-nums; }
.timeline__title { font-family: var(--display); font-weight: 600; font-size: 1.1em; line-height: 1.2; }
.timeline__meta { font-style: italic; color: var(--ink-2); }
/* Columns (not grid) so years read top-to-bottom, then on to the next column. */
@media (min-width: 640px) { .timeline { columns: 2; column-gap: 2rem; } .timeline__item { break-inside: avoid; } }

.person { display: flex; gap: .9rem; align-items: center; padding-block: .6rem; border-bottom: 1px solid var(--rule); }
.person__img { width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; flex: none; background: var(--paper); }
.person__name { font-family: var(--display); font-weight: 600; font-size: 1.08em; line-height: 1.2; }
.person__meta { font-style: italic; color: var(--ink-2); }

/* ── Events ──────────────────────────────────────────────────── */

.events { display: grid; gap: 0 2.5rem; }
.event {
    display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; align-items: start;
    padding-block: 1rem; border-bottom: 1px solid var(--rule);
}
.event__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.datebox {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; border: 1px solid var(--ink); line-height: 1;
}
.datebox__d { font-family: var(--display); font-weight: 700; font-size: 2rem; }
.datebox__m { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.event .kicker { font-size: .88em; }
.event__title { font-family: var(--display); font-weight: 600; font-size: 1.08em; line-height: 1.2; }
.event__meta { color: var(--ink-2); font-size: .92em; margin-top: .15rem; }
@media (min-width: 720px) { .events { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .events { grid-template-columns: repeat(3, 1fr); } }

/* ── Universe ────────────────────────────────────────────────── */

.universe__intro { color: var(--night-ink-2); max-width: 40rem; }
.universe__frame { display: none; }
/* Wide screens embed the universe (it carries its own intro); small screens
   get the one-line description and the head's "Tam ekran aç" link. */
@media (min-width: 992px) {
    .universe__intro { display: none; }
    .universe__frame { display: block; height: 680px; background: #181818; border: 1px solid var(--night-rule); }
    .universe__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
}

/* ── Archive numbers ─────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0 1.5rem; }
.stat { display: block; padding-block: .85rem; border-bottom: 1px solid var(--rule); }
.stat__n { display: block; font-family: var(--display); font-weight: 700; font-size: 1.85rem; line-height: 1.05; font-variant-numeric: lining-nums; }
.stat__label { display: block; font-style: italic; color: var(--ink-2); line-height: 1.2; }
.stat:hover .stat__n { color: var(--ox); }

/* ── Scene: venues, media, associations ──────────────────────── */

/* Venue map: abstract province map zoomed out, muted street tiles zoomed in. */
.venue-map { display: grid; gap: 1.75rem; }
.venue-map__map {
    height: 260px; background: var(--paper); border: 1px solid var(--rule);
    font-family: var(--serif); z-index: 0;
}
.venue-map__map.leaflet-container { background: var(--paper); font: inherit; }
.venue-map__map.leaflet-container a { color: inherit; }
/* Mute CARTO Voyager toward the paper palette so it reads as part of the page. */
.venue-map__map .leaflet-tile-pane { filter: grayscale(.55) sepia(.25) saturate(.85) contrast(.95); }
.venue-map__map .leaflet-control-attribution { font-family: var(--sans); font-size: .62rem; background: rgba(251, 250, 247, .85); }
.venue-map__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1.5rem 2rem; align-content: start; }
.venues__city ul { margin-top: .45rem; }
.venues__city li { padding-block: .3rem; line-height: 1.15; display: flex; gap: .35rem; align-items: baseline; }
.venues__city li.is-closed { color: var(--ink-3); }
.tag--muted { color: var(--ink-3); }
.venue-pin {
    display: none; flex: none; padding: 0; position: relative; top: .12em;
    border: 0; background: none; cursor: pointer; color: var(--ox);
}
.venue-pin svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; }
.venue-map.is-live .venue-pin { display: inline-block; }
@media (min-width: 900px) {
    .venue-map { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.5rem; }
    .venue-map__map { height: 540px; }
    .venue-map__list { grid-template-columns: 1fr 1fr; }
}

/* Map markers: city bubbles (zoomed out) and venue pins (zoomed in). */
.leaflet-marker-icon.map-city {  /* beats leaflet.css's display:block on marker icons */
    display: grid; place-items: center; border-radius: 50%;
    background: var(--ox); color: #fff; box-shadow: 0 0 0 4px rgba(123, 30, 43, .18);
    font-family: var(--sans); font-weight: 700; cursor: pointer;
}
.map-city__n { font-size: .8rem; }
.map-city__name {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: .3rem;
    font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .95rem;
    color: var(--ink); white-space: nowrap; text-shadow: 0 0 3px var(--paper), 0 0 3px var(--paper);
}
/* Phones: the list below names the cities; labels would collide at this scale. */
@media (max-width: 599.98px) { .map-city__name { display: none; } .map-city__n { font-size: .68rem; } }
.map-pin {
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background: var(--ox); border: 2px solid var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.map-pin--closed { background: var(--ink-3); }

/* Popups in the site's type. */
.venue-map__map .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.venue-map__map .leaflet-popup-content { margin: .9rem 1rem; font-family: var(--serif); font-size: 1rem; line-height: 1.35; }
.map-pop__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 .35rem !important; }
.map-pop__title a { color: var(--ink); }
.map-pop__closed { color: var(--ink-3); font-style: italic; margin: 0 0 .35rem !important; }
.map-pop dl { margin: 0; }
.map-pop dt { font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .4rem; }
.map-pop dd { margin: 0; }
.map-pop__more { display: inline-block; margin-top: .6rem; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ox) !important; }
.venue-map__map .leaflet-bar a { border-radius: 0 !important; color: var(--ink); font-family: var(--sans); }

.logos { display: flex; flex-wrap: wrap; gap: .75rem; }
.logos a {
    display: grid; justify-items: center; gap: .4rem;
    width: 9.5rem; padding: .85rem .5rem .6rem;
    background: var(--paper); border: 1px solid var(--rule);
    text-align: center; font-size: .9rem; line-height: 1.2;
}
.logos a:hover { border-color: var(--ink); color: var(--ink); }
.logos img { max-height: 3rem; max-width: 7rem; width: auto; object-fit: contain; }

/* ── Notice ──────────────────────────────────────────────────── */

.notice p { color: var(--ink-2); }
.notice .button { margin-top: 1.25rem; }

/* ── Footer ──────────────────────────────────────────────────── */

.foot { background: var(--night); color: var(--night-ink); padding-top: var(--space); }
.foot a:hover { color: var(--ox-night); }
.foot .label { color: var(--night-ink-2); }
.foot__grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.foot__brand img { height: 52px; width: auto; }
.foot__brand p { margin-top: 1rem; font-style: italic; color: var(--night-ink-2); max-width: 22rem; }
.foot nav ul { columns: 2; column-gap: 1.5rem; margin-top: .6rem; }
.foot nav li { break-inside: avoid; padding-block: .35rem; line-height: 1.15; }
.foot__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
    padding-block: 1.25rem 1.75rem;
    border-top: 1px solid var(--night-rule);
    font-family: var(--sans); font-size: .8rem; color: var(--night-ink-2);
}
@media (min-width: 900px) {
    .foot__grid { grid-template-columns: 1.3fr 2fr 1fr; gap: 3rem; }
    .foot nav:first-of-type ul { columns: 3; }
    .foot nav:last-of-type ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
