/* Business Daily — v5 "jonli gazeta". Onest everywhere; tokens → base → layout → components → pages. */
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(/fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(/fonts/onest-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(/fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(/fonts/onest-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

@view-transition { navigation: auto; }

:root {
  color-scheme: light dark;
  --font: Onest, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --paper: #f7f7f4; --surface: #ffffff; --surface-2: #efefeb; --ink: #0f1115; --ink-2: #363b45; --muted: #646b78;
  --rule: #e2e1dc; --rule-strong: #0f1115;
  --brand: #1e3c96; --brand-2: #2f5ce0; --brand-ink: #fff; --hot: #e5263a;
  --block: #10225e; --block-2: #1a3389; --block-ink: #f2f5ff; --block-muted: #b3c0ea; --block-rule: rgba(255,255,255,.16);
  --up: #0b8a4a; --down: #d02a35; --focus: #2f5ce0;
  --shadow-s: 0 1px 2px rgba(15,17,21,.06), 0 2px 6px rgba(15,17,21,.05);
  --shadow: 0 1px 2px rgba(15,17,21,.06), 0 12px 32px -14px rgba(15,17,21,.28);
  --gutter: clamp(16px, 3.2vw, 80px); --gap: clamp(16px, 1.7vw, 36px); --r: 14px; --r-s: 10px;
  --ease: cubic-bezier(.2,.7,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
:root[data-theme="dark"] {
  --paper: #0b0d12; --surface: #13161e; --surface-2: #1a1e28; --ink: #eef0f4; --ink-2: #c4c9d3; --muted: #8e97a8;
  --rule: #242a36; --rule-strong: #e6e9ef; --brand: #7d9cff; --brand-2: #9db4ff; --brand-ink: #0b0d12; --hot: #ff4d5e;
  --block: #111c45; --block-2: #1a2b66; --block-ink: #eef2ff; --block-muted: #a6b4e0;
  --up: #3fdc95; --down: #ff6b74; --focus: #9db4ff;
  --shadow-s: 0 1px 2px rgba(0,0,0,.5); --shadow: 0 1px 2px rgba(0,0,0,.5), 0 16px 40px -16px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0b0d12; --surface: #13161e; --surface-2: #1a1e28; --ink: #eef0f4; --ink-2: #c4c9d3; --muted: #8e97a8;
  --rule: #242a36; --rule-strong: #e6e9ef; --brand: #7d9cff; --brand-2: #9db4ff; --brand-ink: #0b0d12; --hot: #ff4d5e;
  --block: #111c45; --block-2: #1a2b66; --block-ink: #eef2ff; --block-muted: #a6b4e0;
  --up: #3fdc95; --down: #ff6b74; --focus: #9db4ff;
  --shadow-s: 0 1px 2px rgba(0,0,0,.5); --shadow: 0 1px 2px rgba(0,0,0,.5), 0 16px 40px -16px rgba(0,0,0,.7);
} }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .36vw + 11px, 21px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: .45em; font: 700 .7rem/1.1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--c, var(--brand)); }
.kicker::before { content: ""; width: .55em; height: .55em; border-radius: 2px; background: currentColor; }
.meta { display: flex; flex-wrap: wrap; gap: .2em .9em; font: 500 .76rem/1.35 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.t { margin: 0; font-weight: 700; letter-spacing: -.018em; line-height: 1.16; text-wrap: balance; }
.t-xxl { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
.t-xl { font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.t-l { font-size: clamp(1.15rem, .98rem + .5vw, 1.45rem); }
.t-m { font-size: 1.06rem; line-height: 1.22; }
.t-s { font-size: .95rem; line-height: 1.28; font-weight: 650; }
.dek { margin: .55rem 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; text-wrap: pretty; }
.c2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
a:hover .u, a:focus-visible .u { background-size: 100% 1.5px; }

.btn { display: inline-flex; align-items: center; gap: .5em; font: 700 .82rem/1 var(--font); padding: .85em 1.15em; border-radius: 99px; background: var(--brand); color: var(--brand-ink);
  white-space: nowrap; transition: transform .25s var(--spring), filter .2s, box-shadow .2s; }
.btn:hover { filter: brightness(1.1); box-shadow: 0 8px 22px -10px var(--brand); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: .4em; font: 650 .78rem/1 var(--font); padding: .6em .95em; border-radius: 99px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-current="true"], .chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }

.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; }
.sec-h h2 { margin: 0; font: 800 clamp(1.35rem, 1rem + 1.1vw, 2.1rem)/1 var(--font); letter-spacing: -.025em; display: flex; align-items: center; gap: .55em; }
.sec-h h2::before { content: ""; width: .32em; height: 1em; border-radius: 3px; background: var(--c, var(--brand)); }
.sec-h .all { font: 650 .8rem/1 var(--font); display: inline-flex; gap: .4em; align-items: center; color: var(--ink-2); padding: .6em .2em; white-space: nowrap; }
.sec-h .all:hover { color: var(--brand); }
.sec-h .all svg { transition: transform .25s var(--ease); }
.sec-h .all:hover svg { transform: translateX(3px); }
.col-h { font: 800 .74rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem; padding-bottom: .65rem; border-bottom: 2px solid var(--rule-strong);
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

/* ---------- header ---------- */
.util { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; font: 500 .8rem/1 var(--font); color: var(--ink-2); }
.util__l, .util__r { display: flex; align-items: center; gap: 12px; min-width: 0; }
.util__date { white-space: nowrap; }
.util__wx, .util__clock { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--surface-2); }
.lang a { padding: .5em .7em; border-radius: 99px; font: 700 .72rem/1 var(--font); color: var(--ink-2); }
.lang a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }
.mast { display: grid; justify-items: center; padding-block: clamp(10px, 1.8vw, 26px) clamp(10px, 1.4vw, 20px); border-top: 1px solid var(--rule); }
.mast__logo { color: var(--ink); width: min(100%, clamp(240px, 42vw, 860px)); }
.mast__logo svg { width: 100%; height: auto; display: block; }
.mast__tag { margin: .5rem 0 0; font: 600 .7rem/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.mast__tag b { color: var(--brand); }

.nav { position: relative; border-block: 1px solid var(--rule-strong); background: var(--paper); z-index: 30; }
.nav__in { display: flex; align-items: stretch; justify-content: center; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(0px, .3vw, 8px); overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__link { display: flex; align-items: center; gap: .3em; height: 100%; padding: 1em .8em; font: 650 .88rem/1 var(--font); white-space: nowrap; position: relative; }
.nav__link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--brand));
  transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__item:hover .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link.hot { color: var(--brand); }
.nav__link svg { width: 12px; height: 12px; opacity: .6; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .2s; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.mega__in { display: grid; grid-template-columns: 230px 1fr; gap: var(--gap); padding-block: 22px 26px; }
.mega__links { display: grid; align-content: start; gap: 2px; }
.mega__links a { padding: .55em .75em; border-radius: 8px; font-weight: 650; font-size: .9rem; display: flex; align-items: center; gap: .55em; }
.mega__links a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--brand)); }
.mega__links a:hover { background: var(--surface-2); }
.mega__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1099px) { .mega { display: none; } }

.bar { position: fixed; inset: 0 0 auto 0; z-index: 60; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--rule);
  transform: translateY(-105%); transition: transform .35s var(--ease); }
.bar.on { transform: none; }
.bar__in { display: flex; align-items: center; gap: 10px; height: 56px; }
.bar__logo { width: 172px; color: var(--ink); flex: none; }
.bar__logo svg { width: 100%; height: auto; display: block; }
.bar .nav__list { flex: 1; min-width: 0; }
.bar .nav__link { padding: 1.25em .6em; font-size: .82rem; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand-2), var(--hot)); }

/* breaking + ticker */
.breaking { display: flex; align-items: center; gap: 14px; min-height: 48px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.breaking__lbl { flex: none; display: inline-flex; align-items: center; gap: .55em; font: 800 .68rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--hot); padding: .6em .8em; border-radius: 6px; }
.breaking__lbl i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.breaking__vp { position: relative; flex: 1; min-width: 0; height: 1.45em; overflow: hidden; font: 650 .92rem/1.45 var(--font); }
.breaking__vp a { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(110%); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s; }
.breaking__vp a.on { transform: none; opacity: 1; }
.breaking__vp a.out { transform: translateY(-110%); opacity: 0; }
.breaking__vp a:hover { color: var(--brand); }
.breaking__vp a time { color: var(--hot); font-weight: 800; margin-right: .6em; font-variant-numeric: tabular-nums; }
.breaking__nav { display: flex; gap: 2px; flex: none; }
@keyframes blink { 50% { opacity: .25; } }

.tick { background: var(--ink); color: var(--paper); font: 600 .78rem/1 var(--font); font-variant-numeric: tabular-nums; overflow: hidden; }
.tick__in { display: flex; align-items: center; }
.tick__lbl { flex: none; display: flex; align-items: center; gap: .5em; padding: .95em 1em .95em 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3fdc95; animation: pulse 2s infinite; }
.tick__vp { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tick__track { display: flex; gap: 2.4em; width: max-content; animation: marquee 55s linear infinite; padding-block: .95em; }
.tick:hover .tick__track { animation-play-state: paused; }
.q { display: inline-flex; gap: .5em; align-items: baseline; white-space: nowrap; }
.q b { font-weight: 800; opacity: .7; }
.up { color: var(--up); } .down { color: var(--down); }
.tick .up { color: #4ee59f; } .tick .down { color: #ff8189; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,220,149,.6); } 70% { box-shadow: 0 0 0 8px rgba(63,220,149,0); } 100% { box-shadow: 0 0 0 0 rgba(63,220,149,0); } }

/* ---------- media & cards ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r-s); background: var(--surface-2); aspect-ratio: 16 / 10; isolation: isolate; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a:hover .ph img { transform: scale(1.045); }
.ph--sq { aspect-ratio: 1; } .ph--wide { aspect-ratio: 16 / 9; }
.ph .play { position: absolute; inset: 0; display: grid; place-items: center; }
.ph .play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.35);
  transition: transform .3s var(--spring); }
.ph .play svg { width: 22px; height: 22px; margin-left: 3px; color: #0f1115; }
a:hover .play span { transform: scale(1.12); }
.ph .nophoto { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(140deg, color-mix(in srgb, var(--c, var(--brand)) 85%, #000), color-mix(in srgb, var(--c, var(--brand)) 55%, #000));
  color: rgba(255,255,255,.9); font: 900 clamp(1.2rem, 2vw, 2rem)/1 var(--font); letter-spacing: -.03em; }
.card { display: grid; gap: .65rem; align-content: start; position: relative; }
.card--h { grid-template-columns: minmax(0, 1fr) 34%; gap: .9rem; align-items: start; }
.card--h .ph { aspect-ratio: 4 / 3; order: 2; }
.card--h.left { grid-template-columns: 36% minmax(0, 1fr); }
.card--h.left .ph { order: 0; }
.card--h > div { display: grid; gap: .45rem; align-content: start; }
.card--ov { position: relative; display: block; color: #fff; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.card--ov .ph { border-radius: 0; aspect-ratio: auto; position: absolute; inset: 0; }
.card--ov .ov { position: relative; z-index: 1; min-height: 100%; padding: clamp(16px, 1.8vw, 30px); padding-top: 6rem; display: grid; gap: .55rem; align-content: end;
  background: linear-gradient(180deg, transparent 0%, rgba(5,8,16,.35) 40%, rgba(5,8,16,.92) 100%); }
.card--ov .kicker { color: #fff; }
.card--ov .kicker::before { background: var(--c, var(--hot)); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.card--ov .meta { color: rgba(255,255,255,.78); }
.card--ov .dek { color: rgba(255,255,255,.86); }
.list { display: grid; }
.list > * { padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.list > :first-child { padding-top: 0; }
.list > :last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- home: hero ---------- */
.hero { display: grid; gap: var(--gap); padding-block: clamp(16px, 2vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (min-width: 1680px) { .hero { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); } }
.slider { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #0b0d12; isolation: isolate; }
@media (max-width: 599px) { .slider { aspect-ratio: 4 / 5; } }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.slide .card--ov { height: 100%; }
.slide.on .ph img { animation: kb 9s linear both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide .ov { padding: clamp(18px, 2.4vw, 44px); padding-bottom: clamp(56px, 4.8vw, 84px); }
.slide .t { font-size: clamp(1.45rem, .85rem + 2.1vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 24ch; }
.slide.on .ov > * { animation: rise .8s var(--ease) both; }
.slide.on .ov > :nth-child(2) { animation-delay: .08s; } .slide.on .ov > :nth-child(3) { animation-delay: .16s; } .slide.on .ov > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.dots { position: absolute; z-index: 3; left: clamp(18px, 2.4vw, 44px); right: clamp(18px, 2.4vw, 44px); bottom: clamp(20px, 1.9vw, 32px); display: flex; gap: 6px; }
.dots button { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.dots button::before { content: ""; position: absolute; inset: -12px 0; }
.dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.dots button.done::after { transform: scaleX(1); }
.dots button.on::after { animation: fill var(--dur, 7s) linear forwards; }
.slider.paused .dots button.on::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.slider__ctl { position: absolute; z-index: 3; top: clamp(12px, 1.4vw, 22px); right: clamp(12px, 1.4vw, 22px); display: flex; gap: 6px; }
.slider__ctl button { width: 40px; height: 40px; border-radius: 50%; background: rgba(10,12,18,.45); color: #fff; backdrop-filter: blur(8px); display: grid; place-items: center;
  transition: background .2s, transform .25s var(--spring); }
.slider__ctl button:hover { background: rgba(10,12,18,.75); transform: scale(1.08); }
.slider__ctl svg { width: 18px; height: 18px; }
.hero__side { display: grid; gap: var(--gap); align-content: start; }
.hero__more { display: none; }
@media (min-width: 1680px) { .hero__more { display: grid; gap: var(--gap); align-content: start; } }

/* ---------- home: data row ---------- */
.row3 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(8px, 1.2vw, 20px) clamp(24px, 2.4vw, 44px); }
@media (min-width: 760px) { .row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row3 > .market { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .row3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr); } .row3 > .market { grid-column: auto; } }
.panel { background: var(--surface); border-radius: var(--r); padding: clamp(16px, 1.5vw, 26px); box-shadow: var(--shadow-s); }
.market__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.market__pair { font: 700 .72rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.market__rate { font: 800 clamp(2rem, 1.4rem + 1.6vw, 3rem)/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: .3rem; }
.market__chg { font: 700 .85rem/1 var(--font); margin-left: .5em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--surface-2); }
.seg button { font: 700 .74rem/1 var(--font); padding: .6em .85em; border-radius: 99px; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.chart { margin-top: .9rem; position: relative; }
.chart svg { width: 100%; height: clamp(130px, 10vw, 210px); display: block; overflow: visible; }
.chart .area { fill: url(#gA); } .chart .grid { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--brand-2); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart .cur { fill: var(--brand-2); }
.chart.draw .line { animation: draw 1.6s var(--ease) both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.chart__tip { position: absolute; top: -6px; transform: translate(-50%, -100%); pointer-events: none; font: 700 .72rem/1.2 var(--font); background: var(--ink); color: var(--paper);
  padding: .45em .6em; border-radius: 7px; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.chart__x { display: flex; justify-content: space-between; font: 500 .7rem/1 var(--font); color: var(--muted); margin-top: .5rem; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 8px; margin-top: 1rem; }
.mq { padding: .7rem .8rem; border-radius: 10px; background: var(--surface-2); font: 600 .8rem/1.3 var(--font); font-variant-numeric: tabular-nums; display: grid; gap: .15rem; }
.mq b { font-weight: 800; font-size: .7rem; letter-spacing: .06em; color: var(--muted); }
.mq [data-rate] { font-size: 1rem; font-weight: 800; }
.mq [data-diff] { font-size: .72rem; }
.src { margin: .8rem 0 0; font: 500 .72rem/1.3 var(--font); color: var(--muted); display: flex; align-items: center; gap: .5em; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: color-mix(in srgb, var(--brand) 28%, transparent); } }
.issue-card { display: grid; gap: .9rem; align-content: start; }
.cover { display: block; position: relative; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transform: perspective(900px) rotateY(0deg);
  transition: transform .5s var(--ease), box-shadow .4s; }
a:hover > .cover, .cover:hover { transform: perspective(900px) rotateY(-7deg) rotateX(2deg) translateY(-4px); box-shadow: 18px 22px 40px -20px rgba(0,0,0,.45); }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 60%);
  transform: translateX(-100%); transition: transform .9s var(--ease); pointer-events: none; }
a:hover > .cover::after, .cover:hover::after { transform: translateX(100%); }
.issue-card__cap { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; font: 500 .82rem/1.35 var(--font); color: var(--ink-2); }
.issue-card__cap b { font-size: 1.15rem; color: var(--ink); font-weight: 800; }
.op { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .8rem; align-items: start; }
.op__q { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  color: var(--c, var(--brand)); font: 900 1.6rem/1 var(--font); padding-top: .25em; }

/* ---------- home: band, rails, sections ---------- */
.band { background: var(--block); color: var(--block-ink); padding-block: clamp(28px, 3.2vw, 60px); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-2) 60%, transparent), transparent); opacity: .35; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-12vw, 10vw) scale(1.15); } }
.band > * { position: relative; }
.band .sec-h .all { color: var(--block-muted); } .band .sec-h .all:hover { color: #fff; }
.band .meta { color: var(--block-muted); } .band .dek { color: color-mix(in srgb, var(--block-ink) 80%, transparent); }
.band .kicker { color: #fff; } .band .kicker::before { background: var(--c, var(--brand-2)); }
.picks { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 2200px) { .picks { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 2199px) { .picks > :nth-child(n+5) { display: none; } }
.pick { display: grid; gap: .7rem; align-content: start; padding: 12px 12px 16px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--block-rule);
  transition: background .3s, transform .35s var(--ease), border-color .3s; }
.pick:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.pick .ph { border-radius: 10px; }
.pick > :not(.ph) { padding-inline: 4px; }

.latest { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(28px, 3vw, 56px); }
@media (min-width: 1024px) { .latest { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (min-width: 1680px) { .latest { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.latest__third { display: none; }
@media (min-width: 1680px) { .latest__third { display: block; } }
.feed { display: grid; gap: clamp(22px, 2vw, 36px) var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 1439px) { .feed > :nth-child(n+5) { display: none; } }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--rule); }
.timeline a { display: block; position: relative; padding: 0 0 1.15rem; }
.timeline a::before { content: ""; position: absolute; left: -20px; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--c, var(--brand)); transition: background .2s; }
.timeline a:hover::before { background: var(--c, var(--brand)); }
.timeline time { font: 800 .72rem/1 var(--font); color: var(--c, var(--brand)); font-variant-numeric: tabular-nums; }
.timeline .t { margin-top: .35rem; }
.pop { counter-reset: n; }
.pop a { counter-increment: n; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .4rem; }
.pop a::before { content: counter(n); font: 900 1.9rem/1 var(--font); color: transparent; -webkit-text-stroke: 1.5px var(--brand); }

.secs { display: grid; gap: clamp(30px, 2.8vw, 56px) var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(20px, 2vw, 36px) clamp(36px, 3vw, 60px); }
@media (min-width: 760px) { .secs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .secs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1680px) and (max-width: 2199px) { .secs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .secs > :nth-child(n+5) { display: none; } }
@media (min-width: 2200px) { .secs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .secs > :nth-child(n+6) { display: none; } }
.sec { display: grid; gap: 1rem; align-content: start; }

.video { background: #06070b; color: #f1f3f7; padding-block: clamp(28px, 3.2vw, 60px); }
.video .sec-h .all { color: #aab2c2; } .video .sec-h .all:hover { color: #fff; }
.video .meta { color: #8f97a8; }
.video .lead-p { color: #aab2c2; margin: -.4rem 0 1.4rem; max-width: 40rem; }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 440px); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: #39404f transparent; }
.vrail > * { scroll-snap-align: start; }
.vrail .ph { aspect-ratio: 16 / 9; }

.archive { padding-block: clamp(28px, 3vw, 56px); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 14vw, 220px); gap: clamp(16px, 1.6vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 18px; scrollbar-width: thin; }
.shelf > a { scroll-snap-align: start; display: grid; gap: .6rem; align-content: start; }
.shelf .cover, .issues .cover { aspect-ratio: 1 / 1.403; }
.cap { font: 500 .78rem/1.3 var(--font); color: var(--ink-2); }
.cap b { display: block; font-size: .95rem; font-weight: 800; color: var(--ink); }

/* ---------- article ---------- */
.art { display: grid; gap: clamp(24px, 3vw, 64px); grid-template-columns: minmax(0, 1fr); padding-block: clamp(18px, 2.4vw, 40px) clamp(40px, 4vw, 80px); }
@media (min-width: 1100px) { .art { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); } }
@media (min-width: 1680px) { .art { grid-template-columns: minmax(0, 1fr) 380px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .4em; font: 600 .78rem/1.3 var(--font); color: var(--muted); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs span::before { content: "/"; margin-right: .4em; opacity: .5; }
.art__head { max-width: 52rem; }
.art__head .t-xxl { margin-top: .7rem; }
.art__lede { font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); margin: 1rem 0 0; font-weight: 450; }
.art__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 1.3rem 0 1.4rem; padding-block: .9rem; border-block: 1px solid var(--rule); }
.share { display: flex; gap: 6px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background .2s, color .2s, transform .25s var(--spring); }
.share a:hover, .share button:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; }
.art__fig { margin: 0 0 1.6rem; }
.art__fig .ph { aspect-ratio: 16 / 9; border-radius: var(--r); }
.art__fig figcaption { font: 500 .78rem/1.4 var(--font); color: var(--muted); margin-top: .55rem; }
.prose { max-width: 44rem; font-size: clamp(1.02rem, .97rem + .2vw, 1.14rem); line-height: 1.72; color: var(--ink); overflow-wrap: break-word; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose > p:first-of-type::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 800; padding: .06em .1em 0 0; color: var(--brand); }
.prose h2, .prose h3, .prose h4 { font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin-top: 1.6em; }
.prose h2 { font-size: 1.45em; } .prose h3 { font-size: 1.25em; } .prose h4 { font-size: 1.08em; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose img { border-radius: var(--r-s); margin-inline: auto; }
.prose figure { margin: 1.4em 0; } .prose figcaption { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--brand); font-size: 1.15em; font-weight: 600; line-height: 1.45; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .86em; line-height: 1.4; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--rule); padding: .5em .65em; vertical-align: top; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-s); }
.prose strong, .prose b { font-weight: 750; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-s); overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.aside { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1100px) { .aside__sticky { position: sticky; top: 76px; display: grid; gap: 28px; } }
.related { padding-block: clamp(30px, 3vw, 56px); border-top: 1px solid var(--rule); }
.grid4 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- listing pages ---------- */
.page-h { padding-block: clamp(22px, 3vw, 54px) clamp(14px, 1.6vw, 26px); border-bottom: 1px solid var(--rule); }
.page-h h1 { margin: .35rem 0 0; font: 900 clamp(2.1rem, 1.3rem + 3vw, 4.4rem)/1 var(--font); letter-spacing: -.04em; display: flex; align-items: center; gap: .3em; }
.page-h h1::before { content: ""; width: .22em; height: .9em; border-radius: 6px; background: var(--c, var(--brand)); flex: none; }
.page-h p { margin: .8rem 0 0; color: var(--ink-2); max-width: 46rem; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 1rem 2px .2rem; scrollbar-width: none; }
.cat-top { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(18px, 2vw, 34px); }
@media (min-width: 1024px) { .cat-top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.cat-top .card--ov { min-height: clamp(340px, 34vw, 640px); }
.cards { display: grid; gap: clamp(26px, 2.2vw, 44px) var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(10px, 1.4vw, 24px); }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1680px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 2400px) { .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; padding-block: 1.5rem 3rem; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .8em; border-radius: 99px; font-weight: 700; font-size: .86rem;
  box-shadow: inset 0 0 0 1px var(--rule); }
.pager a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pager .on { background: var(--ink); color: var(--paper); box-shadow: none; }
.pager .gap { box-shadow: none; }
.issues { display: grid; gap: clamp(20px, 2vw, 36px) clamp(14px, 1.6vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); padding-block: 1.2rem 2rem; }
@media (min-width: 2000px) { .issues { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.issues > a { display: grid; gap: .6rem; align-content: start; }
.ph-pdf { display: grid; place-items: center; height: 100%; background: linear-gradient(160deg, var(--block), var(--block-2)); color: #fff; font: 900 1.3rem/1.1 var(--font); text-align: center; padding: 1rem; }
.issue-page { display: grid; gap: clamp(24px, 3vw, 60px); grid-template-columns: minmax(0, 1fr); padding-block: clamp(20px, 2.4vw, 44px); }
@media (min-width: 1000px) { .issue-page { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); } }
.issue-page .pdf { width: 100%; height: min(86vh, 1200px); border: 0; border-radius: var(--r-s); background: var(--surface-2); box-shadow: var(--shadow-s); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; margin: 1.2rem 0; font-size: .92rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 700; }
.search-big { display: flex; gap: 10px; max-width: 46rem; margin-top: 1.2rem; }
.search-big input { flex: 1; min-width: 0; font-size: 1.15rem; padding: .85em 1.1em; border-radius: 99px; border: 1.5px solid var(--rule-strong); background: var(--surface); }
mark { background: color-mix(in srgb, var(--brand-2) 24%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
.empty { padding: 4rem 0; text-align: center; color: var(--ink-2); }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 3rem; }
.nf b { display: block; font: 900 clamp(5rem, 14vw, 12rem)/1 var(--font); letter-spacing: -.06em; background: linear-gradient(120deg, var(--brand-2), var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- footer ---------- */
.foot { background: #07090e; color: #d7dbe3; padding-block: clamp(36px, 4vw, 72px) 28px; }
.foot__logo { width: min(100%, 560px); color: #fff; display: block; }
.foot__logo svg { width: 100%; height: auto; display: block; }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
@media (min-width: 640px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .foot__grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } }
.foot h3 { font: 800 .72rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #8b93a6; margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .9rem; }
.foot li { overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.foot p { margin: 0 0 1rem; color: #a6adbd; font-size: .9rem; line-height: 1.6; max-width: 36rem; }
.foot .chip { background: transparent; color: #d7dbe3; box-shadow: inset 0 0 0 1px #343b4a; }
.foot .chip:hover { box-shadow: inset 0 0 0 1px #fff; }
.foot__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.foot__bottom { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid #222836; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; color: #8b93a6; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .3s, transform .35s var(--spring); pointer-events: none; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); padding: .8em 1.2em;
  border-radius: 99px; font-weight: 650; font-size: .88rem; transition: opacity .25s, transform .35s var(--spring); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5,7,12,.55); backdrop-filter: blur(3px); }
.drawer { width: min(92vw, 400px); height: 100dvh; margin: 0 auto 0 0; padding: 18px 20px 28px; overflow-y: auto; }
.drawer[open] { animation: slideIn .32s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 1rem; }
.drawer__top .bar__logo { width: 190px; }
.drawer details:not(.lsw) { border-bottom: 1px solid var(--rule); }
.drawer details:not(.lsw) summary, .drawer .dl { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; font: 750 1.05rem/1.2 var(--font); cursor: pointer; list-style: none; }
.drawer .dl { border-bottom: 1px solid var(--rule); }
.drawer details:not(.lsw) summary::-webkit-details-marker { display: none; }
.drawer details:not(.lsw) summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; transition: transform .25s; }
.drawer details:not(.lsw)[open] summary::after { transform: rotate(45deg); }
.drawer details:not(.lsw) a { display: block; padding: .5rem 0 .5rem .9rem; color: var(--ink-2); font-weight: 600; }
.drawer .lang { margin-top: 1.4rem; }
.sdlg { width: min(96vw, 780px); margin: 9vh auto auto; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.sdlg[open] { animation: pop .3s var(--spring); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.sdlg form { display: flex; gap: 10px; }
.sdlg input { flex: 1; min-width: 0; font-size: 1.15rem; padding: .8em 1em; border: 1.5px solid var(--rule-strong); border-radius: 12px; background: var(--surface); }
.sdlg .hint { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- responsive header ---------- */
@media (max-width: 1099px) { .util .lang, .util__wx, .util__clock { display: none; } }
@media (max-width: 699px) {
  .util .btn { display: none; }
  .nav__in { justify-content: flex-start; }
  .mast__tag { letter-spacing: .08em; font-size: .62rem; }
  .breaking__nav { display: none; }
}
@media (min-width: 1100px) { .menu-btn { display: none; } }
@media (min-width: 1024px) and (max-height: 820px) { .mast { padding-block: 10px; } .mast__logo { width: min(100%, clamp(240px, 34vw, 700px)); } }
@media (max-width: 359px) { :root { --gutter: 12px; } .icon-btn { width: 36px; height: 36px; } .util__l, .util__r { gap: 6px; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tick__track { animation: none; } .tick__vp { overflow-x: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ===================== v5.1: dark polish, live counters, horizontal motion, flipbook ===================== */

/* ---- dark mode polish ---- */
:root[data-theme="dark"] .tick { background: #11151f; color: #dfe4ee; border-block: 1px solid #222a3a; }
:root[data-theme="dark"] .panel, :root[data-theme="dark"] .pick { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.8); }
:root[data-theme="dark"] .cover img { filter: brightness(.86) contrast(1.04); transition: filter .4s; }
:root[data-theme="dark"] .cover:hover img, :root[data-theme="dark"] a:hover > .cover img { filter: none; }
:root[data-theme="dark"] .kicker, :root[data-theme="dark"] .timeline time { color: color-mix(in oklab, var(--c, var(--brand)) 62%, white); }
:root[data-theme="dark"] .ph { background: #1a1f2a; }
:root[data-theme="dark"] .mq { background: #1a1f2a; }
:root[data-theme="dark"] .nav { background: var(--paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tick { background: #11151f; color: #dfe4ee; border-block: 1px solid #222a3a; }
  :root:not([data-theme="light"]) .panel, :root:not([data-theme="light"]) .pick { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.8); }
  :root:not([data-theme="light"]) .cover img { filter: brightness(.86) contrast(1.04); }
  :root:not([data-theme="light"]) .kicker, :root:not([data-theme="light"]) .timeline time { color: color-mix(in oklab, var(--c, var(--brand)) 62%, white); }
  :root:not([data-theme="light"]) .ph, :root:not([data-theme="light"]) .mq { background: #1a1f2a; } }

/* ---- read counters ---- */
.vw { display: inline-flex; align-items: center; gap: .3em; }
.vw .eye { width: 1.05em; height: 1.05em; opacity: .75; }
.vw b { font-weight: 700; color: var(--ink); }
.card--ov .vw b, .band .vw b, .video .vw b { color: inherit; }
.live-r, .online { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; color: var(--up); }
.live-r[hidden], .online[hidden] { display: none; }
.live-r i, .online i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.online { font-size: .76rem; }
.vw.bump b { animation: bump .6s var(--spring); display: inline-block; }
@keyframes bump { 40% { transform: translateY(-3px) scale(1.15); color: var(--up); } }

/* ---- trending marquee ---- */
.trend { border-block: 1px solid var(--rule); background: var(--surface); overflow: hidden; }
.trend__in { display: flex; align-items: center; }
.trend__lbl { flex: none; display: inline-flex; align-items: center; gap: .45em; padding: .9em 1em .9em 0; margin-right: .6em; border-right: 1px solid var(--rule);
  font: 800 .7rem/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--hot); }
.trend__lbl .eye { width: 16px; height: 16px; }
.trend__vp { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.trend__track { display: flex; gap: 2.6em; width: max-content; padding-block: .85em; animation: marquee 70s linear infinite reverse; }
.trend:hover .trend__track { animation-play-state: paused; }
.trend__track a { display: inline-flex; align-items: baseline; gap: .6em; white-space: nowrap; font: 650 .88rem/1 var(--font); }
.trend__track a b { font: 800 .72rem/1 var(--font); color: var(--hot); font-variant-numeric: tabular-nums; }
.trend__track a:hover { color: var(--brand); }

/* ---- auto-advancing horizontal rails ---- */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px 2px 14px; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.drag { cursor: grabbing; scroll-snap-type: none; }
.rail__track.drag * { pointer-events: none; }
.rail__track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1099px) { .rail__track { grid-auto-columns: calc((100% - var(--gap)) / 2.15); } }
@media (max-width: 599px) { .rail__track { grid-auto-columns: 82%; } }
@media (min-width: 2200px) { .rail__track { grid-auto-columns: calc((100% - 5 * var(--gap)) / 6); } }
.rail__track.shelf { grid-auto-columns: clamp(140px, 14vw, 220px); }
.rail__track.vrail { grid-auto-columns: clamp(250px, 26vw, 440px); }
.rail__ctl { position: absolute; top: -3.4rem; right: 0; display: flex; gap: 6px; }
.archive .rail__ctl, .issue-page ~ .archive .rail__ctl { top: -3.2rem; }
.rail__ctl button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform .25s var(--spring), background .2s, color .2s; }
.rail__ctl button:hover { background: var(--ink); color: var(--paper); transform: scale(1.08); }
.rail__ctl svg { width: 18px; height: 18px; }
.band .rail__ctl button, .rail--dark .rail__ctl button { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.band .rail__ctl button:hover, .rail--dark .rail__ctl button:hover { background: #fff; color: #0b0d12; }
.rail__bar { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 3px; border-radius: 3px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; }
.rail__bar i { display: block; height: 100%; width: var(--w, 20%); transform: translateX(var(--x, 0)); border-radius: 3px; background: var(--brand-2); transition: transform .5s var(--ease); }
.band .rail__bar i, .rail--dark .rail__bar i { background: #fff; }
.sec-h { position: relative; }
.band .sec-h, .video .sec-h, .archive .sec-h { padding-right: 104px; }
.pick { height: 100%; }

/* ---- hero slider: horizontal slide with parallax ---- */
.slide { opacity: 1; visibility: visible; transform: translateX(100%); transition: transform .95s cubic-bezier(.77,0,.18,1); }
.slide.on { transform: none; z-index: 2; }
.slide.left { transform: translateX(-100%); }
.slide.instant { transition: none; }
.slide .ph img { transform: translateX(var(--px, 0)) scale(1.06); transition: transform 1.2s cubic-bezier(.77,0,.18,1); }
.slide.on .ph img { animation: kb2 9s linear both; }
@keyframes kb2 { from { transform: translateX(0) scale(1.1); } to { transform: translateX(-2%) scale(1.02); } }
.slide.left .ph img { --px: 30%; } .slide:not(.on):not(.left) .ph img { --px: -30%; }

/* ---- richer scroll reveals ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv:nth-child(odd) { transform: translateX(-26px); }
  .js .rv:nth-child(even) { transform: translateX(26px); }
  .js .rv.in { transform: none; }
  .js .rv .ph { clip-path: inset(0 100% 0 0 round var(--r-s)); transition: clip-path 1.1s var(--ease) calc(var(--i, 0) * 70ms + .1s); }
  .js .rv.in .ph { clip-path: inset(0 0 0 0 round var(--r-s)); }
  .js .sec-h h2::before { transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--spring) .1s; }
  .js .sec-h.in h2::before { transform: none; }
  .js .sec-h h2 { opacity: 0; transform: translateX(-18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .sec-h.in h2 { opacity: 1; transform: none; }
  .js .panel.rvp { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .panel.rvp.in { opacity: 1; transform: none; }
}

/* ---- page-to-page: horizontal slide (cross-document view transitions) ---- */
@keyframes vt-out { to { opacity: 0; transform: translateX(-60px); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(60px); } }
::view-transition-old(root) { animation: .32s cubic-bezier(.4,0,1,1) both vt-out; }
::view-transition-new(root) { animation: .42s cubic-bezier(0,0,.2,1) .05s both vt-in; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---- flipbook reader ---- */
body.bare { background: #0b0d12; color: #e9ecf2; }
body.bare .util { color: #c9cfda; }
body.bare .totop { display: none; }
.reader { --rh: calc(100dvh - 46px); min-height: var(--rh); display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #1b2236 0%, #0b0d12 60%); color: #eef1f6; }
.reader:fullscreen { --rh: 100dvh; }
.reader__top { display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(10,12,18,.6); backdrop-filter: blur(10px); z-index: 5; }
.reader__title { flex: 1; min-width: 0; display: grid; text-align: center; }
.reader__title b { font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader__title span { font-size: .78rem; color: #9aa3b5; }
.reader__tools { display: flex; align-items: center; gap: 4px; }
.reader__pg { font: 700 .82rem/1 var(--font); font-variant-numeric: tabular-nums; padding: 0 .6rem; color: #c9cfda; white-space: nowrap; }
.rbtn { display: inline-flex; align-items: center; gap: .4em; height: 40px; min-width: 40px; justify-content: center; padding: 0 .6em; border-radius: 10px; color: #e9ecf2;
  font: 650 .82rem/1 var(--font); transition: background .2s, transform .2s var(--spring); }
.rbtn:hover { background: rgba(255,255,255,.1); }
.rbtn[aria-pressed="true"] { background: rgba(125,156,255,.22); color: #c9d6ff; }
.rbtn svg { width: 20px; height: 20px; }
.reader__stage { position: relative; display: grid; place-items: center; padding: clamp(10px, 2vw, 34px) clamp(54px, 6vw, 110px); min-height: 0; }
.book { width: 100%; max-width: min(1500px, calc((var(--rh) - 150px) / var(--ratio, 1.4) * 2)); margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.book .page { background: #fff; overflow: hidden; }
.book .page img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.book .page::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0) 6%, rgba(0,0,0,0) 94%, rgba(0,0,0,.08)); }
.book:not(.ready) { aspect-ratio: calc(2 / var(--ratio, 1.4)); background: rgba(255,255,255,.04); border-radius: 6px; }
.book:not(.ready) .page:not(:first-child) { display: none; }
.reader__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; z-index: 4;
  background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: background .2s, transform .25s var(--spring), opacity .2s; }
.reader__nav:hover { background: #fff; color: #0b0d12; transform: translateY(-50%) scale(1.08); }
.reader__nav.prev { left: clamp(6px, 1.4vw, 28px); } .reader__nav.next { right: clamp(6px, 1.4vw, 28px); }
.reader__nav svg { width: 24px; height: 24px; }
.reader__nav[disabled] { opacity: .25; pointer-events: none; }
.reader__hint { margin: 0; padding: 0 var(--gutter) 12px; text-align: center; font-size: .78rem; color: #8b93a6; }
.reader__thumbs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 10px; overflow-x: auto; padding: 14px var(--gutter) 18px;
  background: linear-gradient(0deg, rgba(8,10,15,.96), rgba(8,10,15,.86)); backdrop-filter: blur(8px); animation: up .3s var(--ease); scrollbar-width: thin; }
.reader__thumbs[hidden] { display: none; }
@keyframes up { from { transform: translateY(100%); } }
.reader__thumbs button { flex: none; display: grid; gap: 4px; justify-items: center; color: #9aa3b5; font: 700 .72rem/1 var(--font); }
.reader__thumbs img { width: 92px; height: auto; border-radius: 3px; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s, transform .2s; background: #fff; }
.reader__thumbs button:hover img { transform: translateY(-3px); }
.reader__thumbs button.on img { box-shadow: 0 0 0 3px #7d9cff; }
.reader__thumbs button.on { color: #fff; }
.reader__zoom { position: absolute; inset: 0; z-index: 8; background: rgba(6,8,12,.97); display: grid; grid-template-rows: auto 1fr; animation: fadein .25s; }
.reader__zoom[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.reader__zoom > .rbtn { justify-self: end; margin: 10px var(--gutter); }
.reader__zoomvp { overflow: auto; cursor: grab; display: grid; justify-items: center; padding: 0 var(--gutter) 40px; }
.reader__zoomvp img { width: min(1800px, 160vw); max-width: none; height: auto; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.reader__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 6; }
.reader__progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #7d9cff, #ff4d5e); transition: transform .6s var(--ease); }
@media (max-width: 699px) {
  .reader__title { text-align: left; } .reader__title span { display: none; }
  .reader__tools [data-sound], .reader__tools [data-full], .reader__top .rbtn span { display: none; }
  .reader__stage { padding: 12px 10px; } .reader__nav { display: none; }
  .book { max-width: min(560px, calc((var(--rh) - 150px) / var(--ratio, 1.4))); }
}
main { overflow-x: clip; }

/* ===================== v5.2: header & nav, language menu, split leads, instant search, theme-aware reader ===================== */

/* ---- search pill ---- */
.spill { display: inline-flex; align-items: center; gap: .55em; height: 40px; padding: 0 .55em 0 .85em; border-radius: 99px; background: var(--surface-2);
  color: var(--muted); font: 500 .82rem/1 var(--font); transition: background .2s, box-shadow .2s, color .2s; min-width: 0; }
.spill:hover { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.spill .ico { width: 18px; height: 18px; }
.spill span { white-space: nowrap; }
.spill kbd, .sdlg kbd { font: 700 .68rem/1 var(--font); padding: .35em .5em; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule), 0 1px 0 var(--rule); color: var(--ink-2); }
.spill--sm span { display: none; }
@media (max-width: 1279px) { .spill span, .spill kbd { display: none; } .spill { width: 40px; padding: 0; justify-content: center; } }

/* ---- theme toggle: sun ↔ moon ---- */
.tgl__sun { transform-origin: center; transition: transform .5s var(--spring), r .4s var(--ease); }
.tgl__rays { transform-origin: center; transition: transform .5s var(--spring), opacity .3s; }
.tgl__cut { transition: cx .5s var(--ease), cy .5s var(--ease); }
:root[data-theme="dark"] .tgl__sun { r: 8; transform: rotate(-30deg); }
:root[data-theme="dark"] .tgl__rays { transform: rotate(-90deg) scale(.3); opacity: 0; }
:root[data-theme="dark"] .tgl__cut { cx: 17; cy: 6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tgl__sun { r: 8; transform: rotate(-30deg); }
  :root:not([data-theme="light"]) .tgl__rays { transform: rotate(-90deg) scale(.3); opacity: 0; } :root:not([data-theme="light"]) .tgl__cut { cx: 17; cy: 6; } }

/* ---- burger ---- */
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger:hover span::before { transform: translateX(3px); } .burger:hover span::after { transform: translateX(-3px); }

/* ---- language menu ---- */
.lsw { position: relative; }
.lsw summary { list-style: none; display: inline-flex; align-items: center; gap: .4em; height: 40px; padding: 0 .7em; border-radius: 99px; cursor: pointer; user-select: none;
  font: 700 .78rem/1 var(--font); background: var(--surface-2); transition: background .2s, box-shadow .2s; }
.lsw summary::-webkit-details-marker { display: none; }
.lsw summary:hover, .lsw[open] summary { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.lsw summary .ico { width: 18px; height: 18px; }
.lsw__chev svg { width: 12px; height: 12px; display: block; transition: transform .3s var(--spring); }
.lsw[open] .lsw__chev svg { transform: rotate(180deg); }
.lsw__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; width: 250px; padding: 8px; border-radius: 16px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -18px rgba(10,14,25,.45); transform-origin: top right; }
.lsw[open] .lsw__menu { animation: lswIn .32s var(--spring); }
@keyframes lswIn { from { opacity: 0; transform: translateY(-8px) scale(.94); } }
.lsw__h { margin: 4px 8px 6px; font: 800 .66rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lsw__menu a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; transition: background .15s, transform .2s var(--ease); }
.lsw[open] .lsw__menu a { animation: lswItem .38s var(--ease) both; animation-delay: calc(var(--k) * 45ms + 60ms); }
@keyframes lswItem { from { opacity: 0; transform: translateX(10px); } }
.lsw__menu a:hover { background: var(--surface-2); transform: translateX(2px); }
.lsw__menu a[aria-checked="true"] { background: color-mix(in srgb, var(--brand-2) 12%, transparent); color: var(--brand); }
.lsw__code { display: grid; place-items: center; height: 32px; border-radius: 9px; background: var(--surface-2); font: 800 .72rem/1 var(--font); color: var(--ink); }
.lsw__menu a[aria-checked="true"] .lsw__code { background: var(--brand); color: var(--brand-ink); }
.lsw__nm { display: grid; gap: 2px; } .lsw__nm b { font-size: .88rem; } .lsw__nm small { font-size: .72rem; color: var(--muted); }
.lsw--sm summary { padding: 0 .55em; } .lsw--sm .lsw__chev { display: none; }
.lsw--up .lsw__menu { top: auto; bottom: calc(100% + 10px); left: 0; right: auto; transform-origin: bottom left; }

/* ---- header ---- */
.util { min-height: 56px; }
.util__r { gap: 8px; }
.util .online { margin-left: 4px; }
.nav__in { justify-content: center; }
.nav__wrap { position: relative; display: flex; min-width: 0; max-width: 100%; }
.nav__ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: var(--ink-c, var(--brand));
  transform: translateX(var(--ix, 0)); transition: transform .4s var(--spring), width .4s var(--spring), background .3s, opacity .2s; opacity: 0; pointer-events: none; }
.nav__wrap.has-ink .nav__link::after { display: none; }
.nav__link { transition: color .2s; }
.nav__item:hover > .nav__link { color: var(--ink-c, var(--brand)); }
.mega__in { padding-block: 26px 30px; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { animation: megaIn .35s var(--ease); }
@keyframes megaIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---- sticky bar (after scrolling) ---- */
.bar { box-shadow: 0 1px 0 var(--rule), 0 10px 30px -18px rgba(10,14,25,.35); border-bottom: 0; }
.bar__in { height: 62px; gap: 14px; }
.bar__logo { width: 178px; transition: transform .3s var(--ease); }
.bar__logo:hover { transform: scale(1.03); }
.bar__nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.bar__nav .nav__list { flex: none; }
.bar__nav .nav__link { padding: 1.45em .62em; font-size: .84rem; }
.bar__tools { display: flex; align-items: center; gap: 6px; flex: none; }
.bar .burger { display: none; }
@media (max-width: 1099px) {
  .bar .burger { display: inline-grid; }
  .bar__nav { display: none; }
  .bar__in { justify-content: space-between; }
  .bar__logo { width: 150px; margin-inline: auto; }
  .bar .lsw { display: none; }
}

/* ---- split lead card (no text over photos) ---- */
.lead2 { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); position: relative; }
.lead2__ph { display: block; overflow: hidden; }
.lead2__ph .ph { border-radius: 0; aspect-ratio: 16 / 10; height: 100%; }
.lead2__ph .ph img { transition: transform 1.2s var(--ease); }
.lead2:hover .lead2__ph .ph img { transform: scale(1.035); }
.lead2__body { display: grid; align-content: center; gap: .75rem; padding: clamp(18px, 2.2vw, 40px); }
.lead2__t { font-size: clamp(1.4rem, .95rem + 1.5vw, 2.5rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.08; }
.lead2__t a { display: block; }
.lead2__more { justify-self: start; display: inline-flex; align-items: center; gap: .55em; margin-top: .3rem; font: 750 .84rem/1 var(--font); color: var(--brand);
  padding: .7em 1em; border-radius: 99px; background: color-mix(in srgb, var(--brand-2) 10%, transparent); transition: background .2s, gap .25s var(--ease); }
.lead2__more:hover { background: color-mix(in srgb, var(--brand-2) 18%, transparent); gap: .85em; }
@media (min-width: 1024px) {
  .lead2 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .lead2__ph .ph { aspect-ratio: auto; min-height: 100%; }
}
.cat-top .lead2 { min-height: clamp(340px, 30vw, 560px); }

/* slider holds split leads and moves horizontally */
.slider { aspect-ratio: auto; height: clamp(560px, 80vw + 120px, 760px); background: var(--surface); box-shadow: var(--shadow-s); }
@media (min-width: 600px) { .slider { height: calc(62.5vw - 2 * var(--gutter) * .625 + 250px); max-height: 900px; } }
@media (min-width: 1024px) { .slider { height: clamp(420px, 31vw, 680px); } }
.slide .lead2 { height: 100%; border-radius: 0; box-shadow: none; grid-template-rows: auto 1fr; }
@media (min-width: 1024px) { .slide .lead2 { grid-template-rows: none; } }
.slide .lead2__ph .ph { aspect-ratio: auto; height: 100%; min-height: 0; }
@media (max-width: 1023px) { .slide .lead2__ph { height: calc(62.5vw - 2 * var(--gutter) * .625); max-height: 600px; } }
.slide .lead2__body { align-content: center; padding-bottom: clamp(56px, 4vw, 76px); }
.slide .lead2__t { font-size: clamp(1.35rem, .9rem + 1.3vw, 2.35rem); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slide .ph img { animation: none !important; }
.slide.on .lead2__ph .ph img { animation: kb3 9s linear both !important; }
@keyframes kb3 { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide.on .lead2__body > * { animation: rise .7s var(--ease) both; }
.slide.on .lead2__body > :nth-child(2) { animation-delay: .07s; } .slide.on .lead2__body > :nth-child(3) { animation-delay: .14s; }
.slide.on .lead2__body > :nth-child(4) { animation-delay: .2s; } .slide.on .lead2__body > :nth-child(5) { animation-delay: .26s; }
.dots { left: auto; right: clamp(18px, 2.2vw, 40px); bottom: clamp(18px, 1.8vw, 28px); width: min(36%, 340px); }
@media (max-width: 1023px) { .dots { left: clamp(18px, 2.2vw, 40px); width: auto; } }
.dots button { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.dots button::after { background: var(--brand-2); }
.slider__ctl { top: auto; bottom: clamp(30px, 2.4vw, 40px); right: auto; left: calc(58% + clamp(18px, 2.2vw, 40px)); transform: translateY(50%); display: none; }
@media (min-width: 1024px) { .slider__ctl { display: flex; left: auto; right: calc(min(36%, 340px) + clamp(30px, 3vw, 56px)); } }
.slider__ctl button { background: var(--surface-2); color: var(--ink); backdrop-filter: none; width: 36px; height: 36px; }
.slider__ctl button:hover { background: var(--ink); color: var(--paper); }

/* ---- photos: crisp & vivid ---- */
.ph img { image-rendering: auto; }
:root[data-theme="dark"] .ph img { filter: saturate(1.05); }

/* ---- instant search dialog ---- */
.sdlg { width: min(96vw, 820px); margin: 8vh auto auto; padding: 0; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 40px 100px -30px rgba(5,8,16,.6); overflow: hidden; }
.sdlg[open] { animation: sdIn .35s var(--spring); }
@keyframes sdIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.sdlg::backdrop { background: rgba(5,7,12,.5); backdrop-filter: blur(6px); }
.sdlg__form { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); position: relative; }
.sdlg__form .ico { width: 22px; height: 22px; color: var(--brand); flex: none; }
.sdlg__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1.25rem/1.4 var(--font); padding: .35em 0; }
.sdlg__form input::-webkit-search-cancel-button { display: none; }
.sdlg__x { flex: none; }
.sdlg__spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--brand-2); opacity: 0; animation: spin .7s linear infinite; }
.sdlg.busy .sdlg__spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.sdlg__body { max-height: min(62vh, 560px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.sdlg__res:empty { display: none; }
.sdlg.has-q .sdlg__idle { display: none; }
.sdlg__res a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; transition: background .12s; animation: resIn .3s var(--ease) both; }
.sdlg__res a:nth-child(2) { animation-delay: .03s; } .sdlg__res a:nth-child(3) { animation-delay: .06s; } .sdlg__res a:nth-child(4) { animation-delay: .09s; } .sdlg__res a:nth-child(n+5) { animation-delay: .12s; }
@keyframes resIn { from { opacity: 0; transform: translateY(6px); } }
.sdlg__res a[aria-selected="true"], .sdlg__res a:hover { background: var(--surface-2); }
.sdlg__res a[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--brand-2); }
.sdlg__res .thumb { width: 72px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.sdlg__res .tx { display: grid; gap: 4px; min-width: 0; }
.sdlg__res .tx b { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sdlg__res .tx small { font-size: .74rem; color: var(--muted); display: flex; gap: .7em; align-items: center; }
.sdlg__res .tx small i { font-style: normal; font-weight: 700; color: var(--c); }
.sdlg__res .go { color: var(--muted); opacity: 0; transition: opacity .15s, transform .2s; }
.sdlg__res a[aria-selected="true"] .go, .sdlg__res a:hover .go { opacity: 1; transform: translateX(2px); }
.sdlg__res .allres { grid-template-columns: 1fr auto; font-weight: 750; color: var(--brand); justify-items: start; }
.sdlg__res .none { padding: 28px; text-align: center; color: var(--muted); }
.sdlg__idle { display: grid; gap: 18px; padding: 10px; }
.sdlg__idle h3 { margin: 0 0 8px; font: 800 .68rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.sdlg__idle h3 button { font: 600 .72rem/1 var(--font); color: var(--brand); text-transform: none; letter-spacing: 0; }
.sdlg__recent, .sdlg__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sdlg__recent button { display: inline-flex; align-items: center; gap: .4em; font: 600 .82rem/1 var(--font); padding: .6em .9em; border-radius: 99px; background: var(--surface-2); }
.sdlg__recent button:hover { background: var(--ink); color: var(--paper); }
.sdlg__trend { display: grid; gap: 2px; }
.sdlg__trend a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.sdlg__trend a:hover { background: var(--surface-2); }
.sdlg__trend b { font-weight: 900; color: var(--brand-2); }
.sdlg__chips .chip { box-shadow: inset 0 0 0 1px var(--rule); }
.sdlg__chips .chip::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.sdlg__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--rule); font-size: .74rem; color: var(--muted); }
.sdlg__count { margin-left: auto; }
@media (max-width: 599px) { .sdlg { margin-top: 0; width: 100vw; max-height: 100dvh; border-radius: 0 0 18px 18px; } .sdlg__foot span:not(.sdlg__count) { display: none; } }
mark { background: color-mix(in srgb, var(--brand-2) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 .08em; }

/* ---- drawer ---- */
.drawer[open] nav > * { animation: drIn .45s var(--ease) both; }
.drawer[open] nav > *:nth-child(2) { animation-delay: .04s; } .drawer[open] nav > *:nth-child(3) { animation-delay: .08s; } .drawer[open] nav > *:nth-child(4) { animation-delay: .12s; }
.drawer[open] nav > *:nth-child(5) { animation-delay: .16s; } .drawer[open] nav > *:nth-child(n+6) { animation-delay: .2s; }
@keyframes drIn { from { opacity: 0; transform: translateX(-16px); } }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.4rem; }

/* ---- reader follows the site theme ---- */
body.bare { background: var(--paper); color: var(--ink); }
body.bare .util { color: var(--ink-2); }
.reader { background: radial-gradient(120% 90% at 50% 0%, var(--rd-1), var(--rd-2) 70%); color: var(--ink); --rd-1: #f6f4ef; --rd-2: #e6e2d9; --rd-bar: rgba(255,255,255,.72); --rd-btn: rgba(15,17,21,.06); }
:root[data-theme="dark"] .reader { --rd-1: #1b2236; --rd-2: #0b0d12; --rd-bar: rgba(10,12,18,.62); --rd-btn: rgba(255,255,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reader { --rd-1: #1b2236; --rd-2: #0b0d12; --rd-bar: rgba(10,12,18,.62); --rd-btn: rgba(255,255,255,.08); } }
.reader__top { background: var(--rd-bar); border-bottom: 1px solid var(--rule); color: var(--ink); }
.reader__title span, .reader__pg, .reader__hint { color: var(--muted); }
.rbtn { color: var(--ink); }
.rbtn:hover { background: var(--rd-btn); }
.rbtn[aria-pressed="true"] { background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--brand); }
.reader__nav { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--rule), var(--shadow); }
.reader__nav:hover { background: var(--ink); color: var(--paper); }
.reader__thumbs { background: color-mix(in srgb, var(--surface) 92%, transparent); border-top: 1px solid var(--rule); }
.reader__thumbs button { color: var(--muted); } .reader__thumbs button.on { color: var(--ink); }
.reader__thumbs button.on img { box-shadow: 0 0 0 3px var(--brand-2); }
.book { filter: drop-shadow(0 26px 40px rgba(20,20,30,.28)); }
:root[data-theme="dark"] .book { filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.zctl { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; background: var(--rd-btn); margin-inline: 4px; }
.zctl .rbtn { height: 34px; min-width: 34px; padding: 0; }
.zctl .rbtn svg { width: 18px; height: 18px; }
.zctl b { min-width: 3.4em; text-align: center; font: 750 .78rem/1 var(--font); font-variant-numeric: tabular-nums; }
.zoomwrap { width: 100%; display: grid; place-items: center; transform-origin: 0 0; will-change: transform; }
.zoomwrap.zooming { transition: transform .25s var(--ease); }
.reader.zoomed .reader__stage { cursor: grab; overflow: hidden; touch-action: none; }
.reader.zoomed.panning .reader__stage { cursor: grabbing; }
.reader.zoomed .book { pointer-events: none; }
.reader.zoomed .reader__nav { opacity: .25; pointer-events: none; }
@media (max-width: 699px) { .zctl [data-zreset] { display: none; } .zctl b { display: none; } }
/* lead2 photo: absolutely fill its column (percent heights don't resolve inside stretched grid items) */
.lead2__ph { position: relative; }
@media (min-width: 1024px) { .lead2__ph .ph { position: absolute; inset: 0; height: auto; min-height: 0; } }
.slide .lead2__ph .ph { position: absolute; inset: 0; height: auto; }
@media (min-width: 1024px) {
  .lead2 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
  .slider { height: clamp(420px, 30vw, 660px); }
  .slider__ctl { top: clamp(14px, 1.4vw, 22px); right: clamp(14px, 1.4vw, 22px); bottom: auto; left: auto; transform: none; }
  .dots { width: calc(36.4% - 2 * clamp(18px, 2.2vw, 40px)); }
}
/* lead2 text scales with its own panel width; long Uzbek compounds wrap instead of overflowing */
.lead2__body { container-type: inline-size; min-width: 0; }
.lead2__t, .slide .lead2__t { font-size: clamp(1.25rem, 7.2cqi, 2.45rem); overflow-wrap: break-word; hyphens: auto; }
.cat-top .lead2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .cat-top .lead2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.cat-top .lead2__t { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
/* phone header: keep one clean row */
@media (max-width: 699px) {
  .util .online, .util__clock, .util__wx { display: none !important; }
  .util__r { gap: 4px; }
  .util .lsw summary { padding: 0 .55em; } .util .lsw__chev { display: none; }
  .util__date { font-size: .74rem; }
}
@media (max-width: 380px) { .util__date { display: none; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .hero__side.list > * { padding: 0; border: 0; }
}
/* closed book centred: cover alone on the right half (or back cover on the left) slides to the middle */
.book.ready { transition: transform .75s cubic-bezier(.2, .75, .2, 1); }
.book.at-front { transform: translateX(-25%); }
.book.at-back { transform: translateX(25%); }
@media (prefers-reduced-motion: reduce) { .book.ready { transition: none; } }
/* search rows: one tidy meta line, compact on phones */
.sdlg__res .tx small { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.sdlg__res .tx small i { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sdlg__res .tx small span { flex: none; }
.sdlg__res .vw { display: inline-flex; align-items: center; gap: .3em; }
.sdlg__res .vw svg { width: 1.1em; height: 1.1em; }
@media (max-width: 559px) {
  .sdlg__res a { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 10px 8px; }
  .sdlg__res .thumb { width: 60px; height: 46px; }
  .sdlg__res .go { display: none; }
  .sdlg__res .tx b { font-size: .92rem; }
}
.drawer .lsw summary { height: 44px; }
/* reader fills exactly the space under the util bar: no page scroll, whatever the bar's height */
body:has(.reader) { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
body:has(.reader) .reader { --rh: calc(100dvh - 56px); flex: 1; min-height: 0; }
body:has(.reader) > main { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* ======================= v5.4 — section icons · whole photos · fluid navbar ======================= */

/* section icons (Phosphor duotone, tinted with the section colour) replace the coloured squares */
.ci { width: 1em; height: 1em; flex: none; display: block; }
.kicker::before, .mega__links a::before, .sdlg__chips .chip::before { content: none; }
.kicker .ci { width: 1.4em; height: 1.4em; margin: -.3em 0; }
.ctile { --s: 38px; flex: none; width: var(--s); height: var(--s); border-radius: 12px; display: grid; place-items: center;
  color: var(--c, var(--brand)); background: color-mix(in oklab, var(--c, var(--brand)) 11%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c, var(--brand)) 16%, transparent);
  transition: background .3s var(--ease), color .3s var(--ease), transform .45s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.ctile .ci { width: 58%; height: 58%; }
.ctile--s { --s: 32px; border-radius: 10px; }
.ctile--l { --s: .92em; border-radius: .24em; }
.ctile--l .ci { width: 60%; height: 60%; }
:root[data-theme="dark"] .ctile { background: color-mix(in oklab, var(--c, var(--brand)) 20%, var(--surface)); color: color-mix(in oklab, var(--c, var(--brand)) 50%, white);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c, var(--brand)) 30%, transparent); }
.chip--ic .ci { width: 1.3em; height: 1.3em; margin: -.2em 0 -.2em -.2em; color: var(--c, var(--brand)); }
:root[data-theme="dark"] .chip--ic .ci { color: color-mix(in oklab, var(--c, var(--brand)) 55%, white); }
.chip--ic:hover .ci { transform: scale(1.12); transition: transform .3s var(--ease); }

/* mega menu: two columns of icon tiles with article counts, three roomier story cards */
.mega__in { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 44px); }
.mega__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; align-content: start; }
.mega__links a { padding: 9px 10px; gap: 12px; border-radius: 14px; font-size: inherit; transition: background .2s; }
.mega__lt { display: grid; gap: 4px; min-width: 0; }
.mega__lt b { font: 700 .92rem/1.2 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega__lt small { font: 500 .74rem/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__links a:hover, .mega__links a:focus-visible { background: color-mix(in oklab, var(--c, var(--brand)) 7%, var(--surface-2)); }
.mega__links a:hover .ctile, .mega__links a:focus-visible .ctile { background: var(--c, var(--brand)); color: #fff; transform: rotate(-7deg) scale(1.07); box-shadow: 0 8px 18px -8px var(--c, var(--brand)); }
.mega__links a:hover b { color: var(--c, var(--brand)); }
:root[data-theme="dark"] .mega__links a:hover b { color: color-mix(in oklab, var(--c, var(--brand)) 55%, white); }
.mega__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__cards .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nav__item:hover > .mega .mega__links a, .nav__item:focus-within > .mega .mega__links a { animation: rise .45s var(--ease) both; }
.mega__links a:nth-child(2) { animation-delay: .03s !important; } .mega__links a:nth-child(3) { animation-delay: .06s !important; }
.mega__links a:nth-child(4) { animation-delay: .09s !important; } .mega__links a:nth-child(5) { animation-delay: .12s !important; }
.mega__links a:nth-child(6) { animation-delay: .15s !important; } .mega__links a:nth-child(n+7) { animation-delay: .18s !important; }
@media (max-width: 1279px) { .mega__in { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); } .mega__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mega__cards > :nth-child(3) { display: none; } }

/* drawer sub-sections */
.drawer details:not(.lsw) a { display: flex; align-items: center; gap: 12px; padding: .4rem 0 .4rem .15rem; }
.drawer details:not(.lsw)[open] a { animation: rise .35s var(--ease) both; }

/* category header: icon tile instead of the bar */
.page-h h1.has-tile::before { content: none; }
.page-h h1.has-tile { gap: .26em; }

/* ---- whole photos: frames follow the archive's 3:2 photos; anything else is shown entire over a blurred copy of itself (only when >20% would be cut) ---- */
.ph, .card--h .ph, .lead2__ph .ph { aspect-ratio: 3 / 2; }
.art__fig .ph { aspect-ratio: var(--ar, 3 / 2); }
.ph.fit { background: #0e1118; }
.ph.fit > img:not(.ph__bg) { object-fit: contain; z-index: 1; }
.ph > img.ph__bg { inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(28px) saturate(1.3) brightness(.92); z-index: 0; pointer-events: none; transform: none !important; animation: none !important; }
/* hero slider: photo column is exactly 3:2 at every width */
@media (max-width: 1023px) {
  .slide .lead2__ph { height: calc((100vw - 2 * var(--gutter)) / 1.5); max-height: 640px; }
  .slider { height: calc((100vw - 2 * var(--gutter)) / 1.5 + 330px); max-height: none; }
}
@media (min-width: 600px) and (max-width: 1023px) { .slider { height: calc((100vw - 2 * var(--gutter)) / 1.5 + 250px); } }
@media (min-width: 1024px) {
  .slider { height: auto; max-height: none; aspect-ratio: 9 / 4; }          /* 2fr photo + 1fr text  →  photo = 3:2 */
  .slide .lead2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .slide .lead2__body { padding: clamp(18px, 1.8vw, 34px); padding-bottom: clamp(52px, 3.6vw, 70px); gap: .6rem; }
  .slide .lead2 .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-top .lead2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); min-height: 0; }
  .cat-top .lead2 { aspect-ratio: 39 / 16; }                              /* 1.6fr photo column comes out 3:2; taller text simply grows the card */
  .cat-top .lead2__t { -webkit-line-clamp: 4; }
  .cat-top .lead2 .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---- fluid navbar: type and spacing scale from 280px phones to 32" screens ---- */
.nav__link { font-size: clamp(.8125rem, .76rem + .2vw, 1rem); padding: 1em clamp(.5em, .3em + .5vw, .9em); }
.bar__nav .nav__link { font-size: clamp(.8rem, .74rem + .16vw, .95rem); padding-inline: clamp(.45em, .25em + .4vw, .75em); }
.util { font-size: clamp(.72rem, .69rem + .12vw, .88rem); }
.nav__list { scroll-behavior: smooth; }
.nav__wrap.fade-r .nav__list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.nav__wrap.fade-l .nav__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
.nav__wrap.fade-l.fade-r .nav__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
@media (max-width: 1023px) {
  .nav__link > svg { display: none; }                         /* dropdowns open on hover only — no chevrons on touch-size screens */
  .nav__in { justify-content: flex-start; }
}
@media (max-width: 699px) {
  .nav__link { padding-block: .95em; }
  .breaking { min-height: 42px; gap: 10px; }
  .breaking__vp { font-size: .84rem; }
  .breaking__lbl { font-size: .6rem; padding: .55em .75em; }
  .breaking__nav { display: none; }
  .tick { font-size: .72rem; }
  .mast__tag { font-size: .6rem; letter-spacing: .12em; }
  .page-h h1 { font-size: clamp(1.7rem, 1rem + 4.4vw, 2.4rem); }
}
@media (min-width: 1920px) { .breaking__vp { font-size: 1rem; } .tick { font-size: .84rem; } .mast__tag { font-size: .78rem; } }
/* the mega menu spans the whole bar, not just the centred link list (the ink then positions against .nav) */
.nav .nav__wrap { position: static; }
/* small laptops: category lead gets the full row (photo 3:2 + roomy text), its four companions sit in a 2×2 grid below */
@media (min-width: 1024px) and (max-width: 1279px) {
  .cat-top { grid-template-columns: minmax(0, 1fr); }
  .cat-top > .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .cat-top { grid-template-columns: minmax(0, 1fr); }
  .cat-top > .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
}
/* overflow:clip (not hidden) keeps the rounded corners but lets the aspect-ratio card grow when the text needs more room */
.cat-top .lead2 { overflow: clip; }
/* explicit frame variants win over the 3:2 default (video posters are 16:9; YouTube's 4:3 posters carry black bars that 16:9 trims) */
.ph.ph--wide, .vrail .ph { aspect-ratio: 16 / 9; }
.ph.ph--sq { aspect-ratio: 1; }
@media (max-width: 399px) { .mast__tag { font-size: clamp(.5rem, 2.55vw, .6rem); letter-spacing: .08em; white-space: nowrap; } }

/* ===== v5.5 — instant pictures =====
   Every photo frame carries a 16px preview of its own picture inline in the HTML (--lq, made by tools/warm-media.mjs):
   it shows, blurred, the moment the page paints; the photo fades in over it once decoded, then the preview is dropped. */
.ph[style*="--lq"]::before, .cover[style*="--lq"]::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: var(--lq) center / cover no-repeat; filter: blur(14px) saturate(1.15); pointer-events: none; }
.cover[style*="--lq"] { isolation: isolate; }
.ph.ld::before, .cover.ld::before { visibility: hidden; transition: visibility 0s .6s; }
.js .ph > img[loading="lazy"] { opacity: 0; transition: opacity .45s var(--ease), transform 1s var(--ease); }
.js .slide .ph > img[loading="lazy"] { transition: opacity .45s var(--ease), transform 1.2s cubic-bezier(.77,0,.18,1); }
.js .lead2__ph .ph > img[loading="lazy"] { transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.js .cover > img[loading="lazy"] { opacity: 0; transition: opacity .45s var(--ease), filter .4s; }
.js .ld > img[loading="lazy"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .ph > img[loading="lazy"], .js .cover > img[loading="lazy"] { transition: none; } }
