/* ==========================================================================
   Montre24 — site styles
   Mobile-first. Tokens on :root, components below, breakpoints at the end.
   ========================================================================== */

:root {
  --ink: #0e1116;
  --ink-2: #1b2029;
  --text: #22262e;
  --muted: #6b7180;
  --line: #e8e3d9;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --gold: #b88a4a;
  --gold-2: #96692f;
  --gold-soft: #f4ecdd;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 8px 24px rgba(14, 17, 22, .06);
  --shadow-lg: 0 2px 6px rgba(14, 17, 22, .06), 0 20px 44px rgba(14, 17, 22, .12);
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(26px, 4.4vw, 36px); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.main { padding-top: 16px; padding-bottom: 48px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.meta { font-size: 13px; color: var(--muted); }
.arrow { color: var(--gold); font-family: var(--sans); font-weight: 500; }
.empty { color: var(--muted); margin: 8px 0; }
.empty--big { text-align: center; padding: 48px 0; font-family: var(--serif); font-size: 22px; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(14, 17, 22, .97);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.site-header__bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo__dial { color: var(--gold); display: inline-flex; }
.logo__text { display: inline-flex; flex-direction: column; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.logo__text b { color: var(--gold); font-weight: 700; }
.logo__text small { font: 500 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-top: 5px; }

.nav { display: none; }
.nav a { color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.is-active { color: #fff; background: rgba(184, 138, 74, .22); box-shadow: inset 0 0 0 1px rgba(184, 138, 74, .5); }
.site-header.is-open .nav {
  display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--ink); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-header.is-open .nav a { font-size: 17px; padding: 14px 12px; border-radius: 12px; }

.header-search { display: none; position: relative; margin-left: auto; }
.site-header .header-search input {
  width: 200px; min-height: 0; height: 40px; padding: 0 40px 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff;
  transition: width .2s ease, border-color .2s ease, background .2s ease;
}
.site-header .header-search input::placeholder { color: rgba(255, 255, 255, .45); }
.site-header .header-search input:focus { box-shadow: none; outline: none; width: 250px; border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.header-search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; display: grid; place-items: center; }
.header-search button:hover { color: #fff; }

.burger { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 11px 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.site-header.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 48px 0 24px; font-size: 14px; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { color: rgba(255, 255, 255, .6); max-width: 380px; margin: 16px 0 18px; line-height: 1.65; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h2 { font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--gold); color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.site-footer__legal span:nth-child(2) { flex: 1 1 420px; }
.counter img { opacity: .4; }

/* ---------- Ads ---------- */
.ad { display: block; text-align: center; margin: 16px auto; max-width: 100%; overflow: hidden; }
.ad__label { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ad--header { min-height: 70px; max-width: 970px; }
.ad--content_top { min-height: 100px; margin-top: 0; }
.ad--in_article { min-height: 250px; margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.ad--home_feed { min-height: 250px; margin: 8px 0 32px; }
.ad--sidebar { min-height: 250px; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }

/* ---------- Layout ---------- */
.layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.layout__main { min-width: 0; display: grid; gap: 24px; }
.layout__side, .sidebar { min-width: 0; display: grid; gap: 24px; align-content: start; }
.sidebar > .ad { margin: 0; }
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.split > div { display: grid; gap: 24px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.card__title { font-size: 20px; margin: 0 0 16px; }
.card__h1 { font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 18px; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__head .card__h1 { margin-bottom: 12px; }
.side-card { padding: 18px; }
.side-card .card__title { font-size: 18px; }
.more { display: inline-flex; margin-top: 12px; font-size: 14px; font-weight: 600; }
.page-head { padding: 4px 0; }
.page-head__title { font-size: clamp(24px, 3.6vw, 32px); }
.page-head__title small { display: block; font: 500 14px/1.5 var(--sans); color: var(--muted); margin-top: 4px; }

/* ---------- Breadcrumbs, sub navigation, A–Z ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin: 0 0 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs a + a::before { content: "/"; margin-right: 6px; color: #c9c2b4; }
.subnav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; padding: 12px 16px; background: var(--ink); border-radius: var(--radius); }
.subnav__title { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; margin-right: 6px; }
.subnav__links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a { white-space: nowrap; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.subnav__links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.subnav__links a.is-active { color: #fff; background: var(--gold); }

.az { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin: 0 0 20px; box-shadow: var(--shadow); }
.az__label { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); padding-left: 4px; }
.az__letters { display: flex; flex-wrap: wrap; gap: 2px; max-width: 100%; }
.az__letters a, .az__letters span { flex: 0 0 auto; min-width: 32px; height: 32px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.az__letters a:hover { background: var(--gold-soft); color: var(--gold-2); }
.az__letters .is-active { background: var(--ink); color: #fff; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .15s ease, transform .05s ease; }
.btn:hover { background: var(--gold-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: #cda064; color: var(--ink); }
.btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--gold-soft); color: var(--gold-2); }
.btn--block { width: 100%; }
input[type=text], input[type=search], input[type=email], input[type=password], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #ddd6c8; border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 138, 74, .18); }
input[type=checkbox] { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }
.inline-form button { flex-shrink: 0; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-weight: 600; padding: 0 16px; cursor: pointer; }
.inline-form button:hover { background: var(--gold-2); }
.inline-form--big input { min-height: 50px; font-size: 16px; }
.search-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.checks summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; }
.checks summary::-webkit-details-marker { display: none; }
.checks summary::after { content: "+"; color: var(--gold-2); font-weight: 700; }
.checks[open] summary::after { content: "–"; }
.checks__list { display: grid; gap: 2px; padding: 0 8px 10px; max-height: 340px; overflow-y: auto; }
.check { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.check:hover { background: var(--gold-soft); }

/* ---------- Hero (home) ---------- */
.hero {
  display: grid; gap: 24px; align-items: center; margin: 4px 0 20px; padding: clamp(24px, 5vw, 56px);
  border-radius: 22px; color: #fff; overflow: hidden;
  background: radial-gradient(900px 380px at 90% -10%, rgba(184, 138, 74, .38), transparent 60%), linear-gradient(135deg, #0e1116 0%, #1d232d 60%, #2b2319 100%);
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); margin: 12px 0 14px; line-height: 1.1; }
.hero p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 560px; margin-bottom: 24px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__feature { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); background: #222; }
.hero__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero__feature:hover img { transform: scale(1.04); }
.hero__feature span { position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px; color: #fff; font-weight: 600; line-height: 1.4; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); }
.hero__feature small { display: block; color: var(--gold); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }

.section { min-width: 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section__head h2 { font-size: clamp(22px, 3vw, 28px); }
.section__head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); }
.pills a:hover { border-color: var(--gold); color: var(--gold-2); }
.about { font-size: 15.5px; color: #3a3f48; }

/* ---------- Home: cover ---------- */
.cover {
  display: grid; gap: 22px; margin: 4px 0 20px; padding: clamp(20px, 4vw, 44px);
  border-radius: 24px; color: #fff; overflow: hidden; position: relative; isolation: isolate;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(184, 138, 74, .30), transparent 65%),
    radial-gradient(600px 300px at 100% 100%, rgba(184, 138, 74, .18), transparent 60%),
    linear-gradient(140deg, #0c0f14 0%, #171c25 55%, #241e16 100%);
}
.cover::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(184, 138, 74, .18); box-shadow: 0 0 0 40px rgba(184, 138, 74, .04), 0 0 0 80px rgba(184, 138, 74, .03);
}
.cover__intro { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.cover h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; margin: 12px 0 14px; max-width: 16ch; }
.cover__intro p { color: rgba(255, 255, 255, .7); font-size: 16.5px; max-width: 520px; margin-bottom: 22px; }
.cover__search {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 520px; padding: 6px 6px 6px 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  transition: background .2s ease, border-color .2s ease;
}
.cover__search:focus-within { background: rgba(255, 255, 255, .12); border-color: rgba(184, 138, 74, .7); }
.cover__search svg { color: rgba(255, 255, 255, .55); flex-shrink: 0; }
.cover__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; outline: none; padding: 8px 4px; font-size: 15px; }
.cover__search input::placeholder { color: rgba(255, 255, 255, .5); }
.cover__search .btn { min-height: 40px; padding: 8px 18px; }
.cover__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; }
.cover__links a { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(184, 138, 74, .45); padding-bottom: 2px; }
.cover__links a:hover { color: #fff; border-color: var(--gold); }
.cover__stories { display: grid; gap: 14px; min-width: 0; }
.lead-story { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #1d222b; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.lead-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lead-story:hover img { transform: scale(1.04); }
.lead-story__text { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 70px 20px 18px; background: linear-gradient(to top, rgba(8, 10, 14, .92) 10%, rgba(8, 10, 14, .55) 60%, transparent); }
.lead-story small { color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lead-story strong { color: #fff; font: 600 clamp(19px, 2.4vw, 26px)/1.25 var(--serif); }
.lead-story em { display: none; color: rgba(255, 255, 255, .72); font-style: normal; font-size: 14.5px; line-height: 1.5; }
.top-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: top; }
.top-stories li { counter-increment: top; }
.top-stories a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.top-stories a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.top-stories img { width: 76px; height: 57px; border-radius: 9px; object-fit: cover; background: #222832; }
.top-stories small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 500; margin-bottom: 2px; }

/* ---------- Home: brand wall, rails, bands ---------- */
.brand-wall { margin: 8px 0 28px; }
.brand-wall__grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 38%; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
.brand-wall__grid > * { scroll-snap-align: start; }
.brand-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 14px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.brand-chip:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--gold-2); }
.brand-chip img { max-width: 96px; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.brand-chip:hover img { filter: none; opacity: 1; }
.brand-chip span { font-size: 13px; font-weight: 600; line-height: 1.25; }
.grid--news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.btn--more { margin: 20px auto 0; display: flex; width: max-content; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.band { margin: 36px calc(var(--gutter) * -1) 0; padding: 30px var(--gutter); }
.band--dark { background: linear-gradient(160deg, #0e1116, #1b2029); color: #fff; border-radius: 0; }
.band--dark .section__head h2 { color: #fff; }
.band--dark .section__head a { color: var(--gold); }
.band--dark .tile { background: #161b23; border-color: rgba(255, 255, 255, .07); box-shadow: none; }
.band--dark .tile__title a { color: #fff; }
.band--dark .tile:hover .tile__title a { color: var(--gold); }
.band--dark .tile__img { aspect-ratio: 16 / 9; background: #222832; }
.section--spaced { margin-top: 36px; }
.tile--interview .tile__img { aspect-ratio: 4 / 5; }
.tile__title--serif { font: 600 17px/1.3 var(--serif); }
.tile--interview .eyebrow { font-size: 10.5px; }
.about-band {
  display: grid; gap: 18px; margin-top: 36px; padding: clamp(22px, 4vw, 40px); border-radius: 22px;
  background: linear-gradient(135deg, var(--gold-soft), #fbf8f2); border: 1px solid #eadfca;
}
.about-band__mark { color: var(--gold); }
.about-band h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.about-band .prose { font-size: 15.5px; color: #3a3f48; max-width: 78ch; }

/* Missing pictures are replaced by a placeholder (see the script in layout.php) */
img.img-missing { object-fit: cover; }

@media (min-width: 560px) {
  .brand-wall__grid { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: visible; }
  .grid--news { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .rail { grid-auto-columns: minmax(240px, 46%); }
}
@media (min-width: 900px) {
  .cover { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 36px; }
  .lead-story em { display: block; }
  .top-stories { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .band { margin-left: 0; margin-right: 0; padding: 36px; border-radius: 24px; }
  .about-band { grid-template-columns: 64px 1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .brand-wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Tiles & grids ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); margin: 0; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #ece7dd; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(14, 17, 22, .7); box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.tile__play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.tile__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile__title { font: 600 14.5px/1.4 var(--sans); color: var(--ink); margin: 0; }
.tile__title a { color: var(--ink); }
.tile:hover .tile__title a, a.tile__title:hover { color: var(--gold-2); }
.grid--photos .tile__img { aspect-ratio: 3 / 2; }
.grid--wall .tile__img { aspect-ratio: 16 / 10; }
.grid--mag { margin-top: 24px; }
.tile--mag .tile__img { aspect-ratio: 4 / 5; }

/* ---------- Catalogue ---------- */
.products { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.product__img { display: block; aspect-ratio: 1; background: #f1ede5; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { font: 600 14.5px/1.35 var(--sans); margin: 0; }
.product__name a { color: var(--ink); }
.product__name a:hover { color: var(--gold-2); }
.product__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.product__specs div { display: inline-flex; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; }
.product__specs dt { color: var(--muted); font-weight: 600; }
.product__specs dd { margin: 0; color: var(--text); }
.product__specs .is-accent { background: var(--gold-soft); border-color: #ead9bd; }
.product__features { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.brand-columns { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.brand-columns li { break-inside: avoid; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.brand-columns a { color: var(--text); font-weight: 500; }
.brand-columns a:hover { color: var(--gold-2); }
.letter-title { font-size: 44px; color: var(--gold); margin: 0 0 8px; }
.stats { margin: 0; display: grid; gap: 2px; }
.stats div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stats div:last-child { border-bottom: 0; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; font-weight: 700; color: var(--ink); }

.brand-logo { padding: 16px; }
.brand-logo img { margin: 0 auto; border-radius: 10px; max-height: 260px; width: auto; }
.lines-filter ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.lines-filter li { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px; }
.lines-filter li:hover { background: var(--surface-2); }
.lines-filter a { color: var(--text); font-weight: 500; }
.lines-filter .is-current { font-weight: 700; color: var(--ink); }
.lines-filter .btn { width: 100%; }

/* Watch page */
.watch__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.watch__head h1 { font-size: clamp(22px, 3.4vw, 30px); flex: 1 1 320px; }
.watch__grid { display: grid; gap: 24px; }
.watch__photo { display: block; border-radius: 14px; overflow: hidden; background: #f1ede5; cursor: zoom-in; }
.watch__photo img { width: 100%; }
.specs { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 12px; padding: 10px 14px; font-size: 14.5px; }
.specs div:nth-child(odd) { background: var(--surface-2); }
.specs dt { color: var(--muted); font-weight: 500; }
.specs dt::first-letter { text-transform: uppercase; }
.specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.specs .is-accent { background: var(--ink) !important; }
.specs .is-accent dt, .specs .is-accent dd { color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; }
.chips li, .chips a, .chips span { padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-2); font-size: 13px; font-weight: 500; }
.chips--nav { margin-top: 20px; }
.chips--nav a { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.chips--nav a:hover { border-color: var(--gold); color: var(--gold-2); }
.chips--nav .is-active { background: var(--ink); color: #fff; }
.watch__text { margin-top: 20px; }
.thumbs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.thumbs a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: #f1ede5; cursor: zoom-in; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.thumbs a:hover img { transform: scale(1.05); }
.thumbs--wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.thumbs--wide a { aspect-ratio: 3 / 2; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th { background: var(--ink); color: #fff; font-weight: 600; text-align: left; padding: 12px; white-space: nowrap; }
.table th a { color: #fff; }
.table th a:hover { color: var(--gold); }
.table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:nth-child(even) td { background: var(--surface-2); }
.table img { border-radius: 8px; }

/* ---------- News ---------- */
.news-list { display: grid; }
.news-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-item__img { display: block; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #f1ede5; }
.news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.news-item__body { min-width: 0; }
.news-item__title { font: 600 16px/1.4 var(--sans); margin: 0 0 4px; }
.news-item__title a { color: var(--ink); }
.news-item__title a:hover { color: var(--gold-2); }
.news-item__text { font-size: 14.5px; color: #4a4f59; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { border-top: 1px solid var(--line); }
.mini-list li:first-child { border-top: 0; }
.mini-list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--text); font-size: 14px; line-height: 1.4; }
.mini-list a:hover { color: var(--gold-2); }
.mini-list img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f1ede5; }
.mini-list span { min-width: 0; }
.mini-list strong { font-weight: 600; display: block; }
.mini-list small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.archive__year { font-size: 18px; margin: 12px 0 6px; }
.archive__year:first-of-type { margin-top: 0; }
.archive { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.archive a, .archive span { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line); color: var(--text); }
.archive a:hover { border-color: var(--gold); color: var(--gold-2); }
.archive .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.article__head { margin-bottom: 18px; }
.article__head h1 { margin-bottom: 10px; }
.article__head .meta { display: flex; align-items: center; gap: 12px; }
.comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comments li { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.comments strong { color: var(--gold-2); }
.comments p { margin: 4px 0 0; }
.brand-card img { border-radius: 12px; margin: 0 auto 12px; max-width: 220px; width: 100%; }
.brand-card p { font-size: 14.5px; color: #4a4f59; }
.brand-card .more { display: flex; }
.share { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.share span { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.share a:hover { background: var(--ink); color: #fff; }

/* ---------- Lists (exhibitions, search) ---------- */
.list { display: grid; }
.list-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; padding-top: 0; }
.list-item__img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: #f1ede5; }
.list-item__img img { width: 100%; height: 100%; object-fit: cover; }
.list-item__title { font-size: 19px; margin-bottom: 6px; }
.list-item__title a { color: var(--ink); }
.list-item__title a:hover { color: var(--gold-2); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.link-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.results a { font-weight: 600; font-size: 16px; }
.results p { margin: 4px 0 0; font-size: 14.5px; color: #4a4f59; }
.logos { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; text-align: center; }
.logo-tile img { max-height: 90px; width: auto; }
.logo-tile:hover { border-color: var(--gold); color: var(--gold-2); }
.side-photos { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.side-photos a { display: grid; gap: 6px; font-size: 13px; color: var(--text); }
.side-photos img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.photo-view { margin: 0; }
.photo-view img { border-radius: 12px; margin: 0 auto; cursor: zoom-in; }
.photo-view figcaption { margin-top: 16px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a, .letters span { min-width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; font-weight: 600; }
.letters a { background: var(--gold-soft); color: var(--gold-2); }
.letters a:hover { background: var(--ink); color: #fff; }
.letters a.is-empty { background: transparent; color: #c9c2b4; }
.dictionary__letter { font-size: 40px; color: var(--gold); margin-bottom: 10px; }
.dictionary .prose { padding: 10px 0; border-top: 1px solid var(--line); }
.dictionary .prose:first-of-type { border-top: 0; }

/* ---------- Video ---------- */
.player { position: relative; width: 100%; max-width: 960px; background: #000; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.player video { display: block; width: 100%; height: 100%; }

/* ---------- Magazine ---------- */
.mag-hero { position: relative; border-radius: 22px; overflow: hidden; color: #fff; padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 56px); background: var(--mag-bg, none) center / cover no-repeat, linear-gradient(135deg, #0e1116, #2b2319); }
.mag-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 22, .88), rgba(14, 17, 22, .45)); }
.mag-hero__inner { position: relative; max-width: 640px; }
.mag-hero h1, .mag-hero__title { color: #fff; font-size: clamp(32px, 5vw, 52px); margin: 10px 0 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin-top: 8px; }
.tabs a { color: rgba(255, 255, 255, .85); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.tabs a.is-active { background: #fff; color: var(--ink); }
.pager { display: flex; justify-content: space-between; gap: 12px; }
.pager a { padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }

/* ---------- Rich text from the CMS ---------- */
.prose { font-size: 16.5px; line-height: 1.75; color: #2b2f37; overflow-wrap: anywhere; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose h1, .prose h2, .prose h3 { margin: 1.3em 0 .5em; }
.prose h1:first-child, .prose h2:first-child { margin-top: 0; }
.prose img { border-radius: 12px; margin: 1em auto; height: auto !important; }
.prose a { text-decoration: underline; text-decoration-color: rgba(150, 105, 47, .35); text-underline-offset: 3px; }
.prose table { width: 100% !important; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.prose iframe, .prose video, .prose embed, .prose object { max-width: 100%; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); color: #4a4f59; font-style: italic; }
.prose--small { font-size: 14.5px; color: #4a4f59; }
.prose--light { color: rgba(255, 255, 255, .8); }
.prose--article h1 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: .6em; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.pagination a:hover { border-color: var(--gold); color: var(--gold-2); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { color: #c3bcae; }
.pagination .pagination__gap { border: 0; background: none; min-width: 20px; padding: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; max-width: 720px; margin: 0 auto; }
.notfound__code { display: block; font: 700 clamp(72px, 14vw, 120px)/1 var(--serif); color: var(--gold); }
.notfound h1 { margin: 8px 0 12px; }
.notfound p { color: var(--muted); }
.notfound .inline-form { max-width: 460px; margin: 20px auto; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Lightbox & viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 10, 14, .92); padding: 56px 12px; opacity: 0; transition: opacity .2s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer { background: #0b0d11; min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.viewer img { max-height: 92vh; border-radius: 8px; }
.viewer__close { position: fixed; top: 12px; right: 16px; color: #fff; font-size: 34px; line-height: 1; text-decoration: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  :root { --gutter: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .brand-columns { columns: 3; }
  .logos { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .news-item { grid-template-columns: 120px 1fr; gap: 18px; }
  .news-item__img { width: 120px; height: 120px; }
  .list-item { grid-template-columns: 200px 1fr; gap: 20px; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
  .card { padding: 24px; }
}

@media (min-width: 768px) {
  .watch__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .hero { grid-template-columns: 1.15fr .85fr; }
  .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .brand-columns { columns: 4; }
  .header-search { display: block; }
}

@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .layout__side { position: sticky; top: calc(var(--header-h) + 20px); }
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
  .header-search { margin-left: 0; }
  .site-header__bar { gap: 20px; }
  .logo__text { font-size: 26px; }
  .main { padding-top: 24px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .site-header .header-search input { width: 160px; }
  .site-header .header-search input:focus { box-shadow: none; width: 200px; }
}

@media (max-width: 1023px) {
  .layout__side { position: static; }
}

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

@media print {
  .site-header, .site-footer, .ad, .sidebar, .az, .subnav, .share { display: none !important; }
  .layout { display: block; }
  .card { box-shadow: none; border: 0; padding: 0; }
}
