/* =========================================================
   Zest Girls — 2027 front-end design system
   Brand: pink #ed0e6b, navy #000033 (from the existing site)
   Plain CSS with custom properties so it ports 1:1 to Astro components.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --pink: #ed0e6b;
  --pink-text: #cf0a5b;          /* AA-contrast pink for small text on white */
  --pink-soft: #fde8f1;
  --navy: #000033;
  --navy-2: #14144d;

  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #faf6f8;
  --ink: #12122b;
  --body: #34344a;
  --muted: #6c6c82;
  --line: #e8e6ee;
  --shadow: 0 10px 30px rgba(0, 0, 51, .08);

  --font-display: "Playfair Display", "Noto Serif Sinhala", Georgia, serif;
  --font-ui: "Poppins", "Noto Sans Sinhala", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --header-h: 64px;
  --prose-size: 1.125rem;
}

:root[data-theme="dark"] {
  --pink-text: #ff5c9d;
  --pink-soft: #33102a;
  --bg: #0a0a1f;
  --surface: #121233;
  --tint: #0f0f2b;
  --ink: #f6f3f8;
  --body: #cfcbe0;
  --muted: #9a97b5;
  --line: #26264f;
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
::selection { background: var(--pink); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  background: var(--pink); color: #fff;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy); transform: translateY(-1px); }
:root[data-theme="dark"] .btn:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: .75rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: var(--tint); color: var(--pink-text); }

.kicker {
  display: inline-block;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-text);
}
.kicker--solid { background: var(--pink); color: #fff; padding: 4px 10px; border-radius: 2px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8125rem; color: var(--muted); }
.meta .ico { width: 14px; height: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--pink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #d9d7ee; font-size: .75rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar__tag { letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__tag b { color: var(--pink); font-weight: 600; }
.topbar__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.lang button { padding: 3px 12px; color: #d9d7ee; font-size: .75rem; min-height: 26px; }
.lang button[aria-pressed="true"] { background: var(--pink); color: #fff; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; color: #d9d7ee; min-height: 30px; }
.theme-toggle:hover { color: #fff; }
.theme-toggle .ico { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: var(--shadow); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); gap: 12px; }
.masthead__left { display: flex; align-items: center; gap: 4px; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.logo img { height: 40px; width: auto; transition: height .25s; }
.logo .logo--dark { display: none; }
:root[data-theme="dark"] .logo .logo--light { display: none; }
:root[data-theme="dark"] .logo .logo--dark { display: block; }

.primary-nav { border-top: 1px solid var(--line); }
.primary-nav ul { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 34px); overflow-x: auto; scrollbar-width: none; }
.primary-nav ul::-webkit-scrollbar { display: none; }
.primary-nav a {
  position: relative; display: block; padding: 13px 0; white-space: nowrap;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--pink-text); }
.primary-nav .is-special { color: var(--pink-text); }

/* sub-category dropdowns */
.primary-nav ul { overflow: visible; flex-wrap: wrap; row-gap: 0; }
.primary-nav li { position: relative; }
.caret { display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.sub {
  position: absolute; top: 100%; left: -18px; z-index: 20; min-width: 240px; padding: 8px;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub a { padding: 9px 12px; font-size: .875rem; font-weight: 500; letter-spacing: 0; text-transform: none; border-radius: 3px; }
.primary-nav .sub a::after { display: none; }
.primary-nav .sub a:hover { background: var(--tint); color: var(--pink-text); }

.drawer__nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); cursor: pointer; list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: "+"; font-family: var(--font-ui); font-size: 1.5rem; font-weight: 400; color: var(--pink); line-height: 1; }
.drawer__nav details[open] summary::after { content: "–"; }
.drawer__nav .drawer__sub { padding: 6px 0 10px 14px; border-bottom: 1px solid var(--line); }
.drawer__nav .drawer__sub a { font-family: var(--font-ui); font-size: 1rem; padding: 10px 0; border: 0; color: var(--body); }

.only-mobile { display: none; }
@media (max-width: 860px) {
  .masthead .btn, .topbar__tag { display: none; }
  .logo img { height: 34px; }
  .topbar .wrap { justify-content: flex-end; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }

/* ---------- Drawer (mobile menu) & search overlay ---------- */
.drawer, .search-panel { position: fixed; inset: 0; z-index: 150; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.drawer.is-open, .search-panel.is-open { visibility: visible; opacity: 1; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 51, .55); }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px);
  background: var(--bg); padding: 20px var(--gutter) 32px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); }
.drawer__nav a:hover { color: var(--pink-text); }
.drawer__foot { margin-top: 24px; display: grid; gap: 14px; font-size: .875rem; color: var(--muted); }

.search-panel { background: var(--bg); display: grid; align-content: start; padding-top: 12vh; }
.search-panel__close { position: absolute; top: 16px; right: var(--gutter); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.75rem); color: var(--ink); }
.search-panel h2 { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 32px 0 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--ink); background: var(--surface); transition: .2s; }
.chip:hover, .chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip:hover, :root[data-theme="dark"] .chip[aria-current="true"] { background: var(--pink); border-color: var(--pink); }

/* ---------- Trending strip ---------- */
.trending { border-bottom: 1px solid var(--line); background: var(--tint); }
.trending .wrap { display: flex; align-items: center; gap: 16px; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
.trending .wrap::-webkit-scrollbar { display: none; }
.trending__label { flex: none; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--pink); padding: 4px 10px; border-radius: 2px; }
.trending a { flex: none; font-size: .8125rem; color: var(--ink); white-space: nowrap; }
.trending a:hover { color: var(--pink-text); }
.trending a + a::before { content: "•"; margin-right: 16px; color: var(--pink); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 6vw, 72px); }
.section--tint { background: var(--tint); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--pink); }
.sec-head h2 { font-size: clamp(1.625rem, 3.2vw, 2.375rem); font-weight: 700; letter-spacing: -.01em; }
.sec-head p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); min-height: 44px; }
.more:hover { color: var(--pink-text); }
.more .ico { width: 16px; height: 16px; transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__title { font-size: 1.1875rem; line-height: 1.4; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card clickable */
.card__title a { background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.card:hover .card__title a { background-size: 100% 2px; }
.card__dek { font-size: .9375rem; color: var(--body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__body { display: grid; gap: 8px; align-content: start; }
.card__body > .kicker, .card__body > .part { justify-self: start; }
.card__badge { position: absolute; left: 10px; top: 10px; z-index: 2; }

.card--lg .card__title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.25; }
.card--lg .card__media { aspect-ratio: 16 / 10; }
.card--tall .card__media { aspect-ratio: 3 / 4; }

.card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--row .card__media { flex: none; width: 108px; aspect-ratio: 1; }
.card--row .card__title { font-size: 1rem; }
.card--row + .card--row { padding-top: 16px; border-top: 1px solid var(--line); }
.stack { display: grid; gap: 16px; align-content: start; }

.card--overlay { color: #fff; }
.card--overlay .card__media { aspect-ratio: auto; height: 100%; min-height: 260px; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 40, .96) 0%, rgba(0, 0, 40, .78) 30%, rgba(0, 0, 40, .2) 60%, rgba(0, 0, 40, 0) 80%); }
.card--overlay .card__body { position: absolute; inset: auto 0 0 0; padding: clamp(16px, 3vw, 28px); z-index: 2; }
.card--overlay .card__title, .card--overlay .card__dek { color: #fff; }
.card--overlay .meta { color: rgba(255, 255, 255, .8); }

/* numbered list (most read) */
.ranked { counter-reset: rank; display: grid; }
.ranked li { counter-increment: rank; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.ranked li:first-child { border-top: 0; padding-top: 0; }
.ranked li::before { content: counter(rank, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; font-style: italic; font-weight: 500; line-height: 1; color: var(--pink); }
.ranked h3 { font-size: 1rem; line-height: 1.45; }
.ranked a:hover { color: var(--pink-text); }
.ranked .kicker { margin-bottom: 2px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--main { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--main { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid--2, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Cover (home hero) ---------- */
.cover { padding-block: clamp(20px, 3vw, 36px); }
.cover__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); }
.cover__lead { min-height: clamp(360px, 60vh, 620px); }
.cover__lead .card__title { font-size: clamp(1.75rem, 3.4vw, 2.875rem); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; max-width: 20ch; }
.cover__lead .card__dek { font-size: clamp(.9375rem, 1.3vw, 1.125rem); max-width: 52ch; margin-top: 4px; -webkit-line-clamp: 2; }
.cover__side { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.cover__side .card__title { font-size: clamp(1.125rem, 1.8vw, 1.5rem); }
@media (max-width: 860px) { .cover__grid { grid-template-columns: 1fr; } .cover__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .cover__side .card--overlay .card__media { min-height: 240px; } }
@media (max-width: 520px) { .cover__side { grid-template-columns: 1fr; } }

/* ---------- Feature block (1 big + list) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Ad slot ---------- */
.ad { display: grid; place-items: center; gap: 6px; text-align: center; margin-inline: auto; background: repeating-linear-gradient(135deg, var(--tint) 0 12px, transparent 12px 24px); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.ad--leader { width: 100%; max-width: 970px; min-height: 120px; }
.ad--box { width: 100%; max-width: 320px; min-height: 270px; }
.ad--inline { min-height: 110px; margin-block: 36px; }
.ad-wrap { padding-block: clamp(20px, 3vw, 32px); }

/* ---------- Navy band + horizontal rails ---------- */
.band { background: var(--navy); color: #cfcbe8; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 14, 107, .45), transparent); pointer-events: none; }
.band h2, .band h3 { color: #fff; }
.band .sec-head { border-color: rgba(255, 255, 255, .16); }
.band .sec-head p { color: #b9b5d6; }
.band .more { color: #fff; }
.band .kicker { color: #ff6fa8; }
.band .card__media { background: var(--navy-2); }
.band .meta { color: #a9a5c8; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.rail > * { scroll-snap-align: start; }
.rail--wide { grid-auto-columns: minmax(260px, 28%); }
@media (max-width: 720px) { .rail, .rail--wide { grid-auto-columns: 72%; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .8; }
.rail-nav button:hover { background: var(--pink); border-color: var(--pink); color: #fff; opacity: 1; }
.rail-nav .prev .ico { transform: rotate(180deg); }
.part { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: #ff6fa8; }
.pill { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 51, .82); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.pill .ico { width: 13px; height: 13px; }

/* ---------- Video (YouTube, click-to-load) ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .92; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(237, 14, 107, .28); transition: transform .25s; }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.yt--sm .yt__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: none; }
.yt--sm .yt__play svg { width: 18px; height: 18px; margin-left: 2px; }

.watch { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.watch__now { display: grid; gap: 14px; }
.watch__now h3 { font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.35; }
.vid-list { display: grid; gap: 4px; }
.vid { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: center; width: 100%; padding: 10px; border-radius: var(--radius); text-align: left; transition: background .2s; }
.vid:hover, .vid[aria-current="true"] { background: rgba(255, 255, 255, .08); }
.vid[aria-current="true"] { box-shadow: inset 3px 0 0 var(--pink); }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.45; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vid .kicker { display: block; margin-bottom: 2px; }
.watch__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.band .btn--ghost:hover { background: #fff; color: var(--navy); }
@media (max-width: 900px) { .watch { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vid { grid-template-columns: 120px 1fr; padding: 8px 0; } }

.video-card { display: grid; gap: 12px; align-content: start; }
.video-card h2, .video-card h3 { font-size: 1.125rem; line-height: 1.45; }
.channel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.channel__stats { display: flex; gap: 28px; }
.channel__stats b { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; color: var(--ink); }
.channel__stats span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Interview / quote feature ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spotlight__media { min-height: 340px; background: var(--tint); }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__body { padding: clamp(24px, 5vw, 64px); display: grid; gap: 16px; align-content: center; }
.spotlight__body h3 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.25; }
.spotlight__body h3::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--pink); font-style: italic; margin-bottom: 8px; }
@media (max-width: 780px) { .spotlight { grid-template-columns: 1fr; } .spotlight__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--pink); color: #fff; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 6vw, 64px); }
.newsletter h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; }
.newsletter p { margin-top: 8px; color: #ffe3ee; }
.nl-form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 5px; }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; color: #12122b; min-height: 46px; }
.nl-form .btn { background: var(--navy); }
.nl-form .btn:hover { background: #26266b; color: #fff; }
.nl-note { font-size: .75rem; margin-top: 10px; color: #ffe3ee; }
@media (max-width: 780px) { .newsletter .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9b5d6; font-size: .9375rem; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 6vw, 72px); }
.footer__top img { height: 46px; width: auto; margin-bottom: 16px; }
.footer__top h2 { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__top li + li { margin-top: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .75rem; letter-spacing: .06em; color: #fff; }
.social a:hover { background: var(--pink); border-color: var(--pink); }
.carbon { display: grid; grid-template-columns: 125px 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; padding-block: clamp(24px, 4vw, 40px); border-top: 1px solid rgba(255, 255, 255, .14); }
.carbon__badge { display: block; background: #fff; border-radius: 50%; padding: 6px; width: 125px; height: 125px; }
.carbon__badge img { width: 100%; height: 100%; object-fit: contain; }
.carbon h2 { font-size: 1.375rem; color: #fff; margin-bottom: 8px; }
.carbon p { font-size: .875rem; line-height: 1.75; max-width: 96ch; }
.carbon p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .carbon { grid-template-columns: 1fr; } }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8125rem; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); }
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top .ico { transform: rotate(-90deg); }

/* ---------- Breadcrumb & page heads ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); padding-block: 18px 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--pink-text); }

.page-head { padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.page-head h1 em { color: var(--pink); font-style: italic; font-weight: 500; }
.page-head p { max-width: 62ch; margin-top: 14px; font-size: 1.0625rem; }
.page-head .chips { margin-top: 22px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(32px, 5vw, 56px); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: .875rem; font-weight: 500; color: var(--ink); }
.pagination a:hover { background: var(--tint); }
.pagination [aria-current="page"] { background: var(--pink); color: #fff; }

.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.side-box + .side-box, .side-box + .ad, .ad + .side-box { margin-top: 24px; }
.side-box > h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pink); display: inline-block; }
.sticky { position: sticky; top: calc(var(--header-h) + 64px); }

/* ---------- Article ---------- */
.article-head { max-width: 860px; margin-inline: auto; text-align: center; padding-block: clamp(16px, 3vw, 32px) clamp(20px, 3vw, 32px); }
.article-head h1 { font-size: clamp(2rem, 5.2vw, 3.75rem); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin-block: 14px 16px; }
.article-head .dek { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--body); max-width: 60ch; margin-inline: auto; }
.byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: .875rem; color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .875rem; flex: none; }
.avatar--lg { width: 72px; height: 72px; font-size: 1.375rem; }
.byline__who { display: inline-flex; align-items: center; gap: 10px; }

.article-hero { margin: 0 auto clamp(24px, 4vw, 48px); max-width: 1080px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
figcaption { font-size: .8125rem; color: var(--muted); margin-top: 8px; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 700px) minmax(0, 300px); justify-content: space-between; gap: clamp(24px, 3vw, 48px); align-items: start; }
@media (max-width: 1120px) { .article-layout { grid-template-columns: minmax(0, 700px) 300px; justify-content: center; } .article-rail { display: none; } }
@media (max-width: 900px) { .article-layout { grid-template-columns: minmax(0, 700px); } .article-aside { display: none; } }

.article-rail { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 28px; }
@media (max-width: 1120px) { .article-rail { display: none; } }
.rail-title { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-family: var(--font-ui); }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: .875rem; line-height: 1.5; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--pink); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--ink); background: var(--surface); }
.tool:hover { border-color: var(--pink); color: var(--pink-text); }
.tool .ico { width: 16px; height: 16px; }

.prose { font-size: var(--prose-size); line-height: 1.95; color: var(--body); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: 1.7em; line-height: 1.35; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 80px); }
.prose h2::before { content: ""; display: block; width: 48px; height: 3px; background: var(--pink); margin-bottom: 14px; }
.prose a { color: var(--pink-text); text-decoration: underline; text-underline-offset: 3px; }
.prose .lede::first-letter { font-family: var(--font-display); font-size: 3.6em; font-weight: 700; float: left; line-height: 1; padding: .08em .12em 0 0; color: var(--pink); }
.prose figure { margin-inline: 0; }
.prose figure img { width: 100%; border-radius: var(--radius); }
.pullquote { margin: 2.2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--pink); font-family: var(--font-display); font-size: 1.45em; font-style: italic; line-height: 1.6; color: var(--ink); }
.takeaways { background: var(--pink-soft); border-radius: var(--radius); padding: 24px 26px; }
.takeaways h2 { font-size: 1.15em; margin: 0 0 10px; }
.takeaways h2::before { display: none; }
.takeaways li { position: relative; padding-left: 26px; font-size: .95em; line-height: 1.8; color: var(--ink); }
.takeaways li + li { margin-top: 8px; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }

.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 24px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; background: var(--tint); border-radius: var(--radius); }
.author-box h2 { font-size: 1.25rem; }
.author-box p { font-size: .9375rem; margin-top: 6px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prevnext a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.prevnext a:hover { border-color: var(--pink); }
.prevnext a:last-child { text-align: right; }
.prevnext strong { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.45; color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .prevnext { grid-template-columns: 1fr; } .prevnext a:last-child { text-align: left; } }

/* mobile share bar */
.share-dock { position: fixed; inset: auto 0 0 0; z-index: 95; display: none; grid-template-columns: repeat(4, 1fr); background: var(--bg); border-top: 1px solid var(--line); }
.share-dock button, .share-dock a { min-height: 52px; display: grid; place-items: center; font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.share-dock > * + * { border-left: 1px solid var(--line); }
@media (max-width: 900px) { .has-dock .share-dock { display: grid; } .has-dock { padding-bottom: 52px; } .has-dock .to-top { bottom: 68px; } }

.toast { position: fixed; left: 50%; bottom: 80px; z-index: 160; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .875rem; opacity: 0; pointer-events: none; transition: .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- About / contact ---------- */
.lead-text { font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.5; color: var(--ink); max-width: 30ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values div { background: var(--surface); padding: clamp(20px, 3vw, 36px); }
.values h3 { font-size: 1.5rem; margin-bottom: 8px; }
.values span { font-family: var(--font-display); font-style: italic; color: var(--pink); font-size: 1.25rem; }
@media (max-width: 780px) { .values { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); font-weight: 600; }

/* ---------- Editorial team ---------- */
img.avatar { display: block; object-fit: cover; background: var(--tint); }
.avatar--xl { width: 112px; height: 112px; font-size: 2rem; font-family: var(--font-display); }
.team-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.person { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.person h3 { font-size: 1.375rem; }
.person p { font-size: .9375rem; }
.person .avatar { margin-bottom: 6px; }
.person--lead { grid-template-columns: auto 1fr; gap: 22px; padding: clamp(22px, 3vw, 36px); border-top: 3px solid var(--pink); }
.person--lead > div { display: grid; gap: 8px; align-content: start; }
.person--lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.person__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.person__foot a { color: var(--pink-text); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .team-lead { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .person--lead { grid-template-columns: 1fr; }
  .avatar--xl { width: 84px; height: 84px; font-size: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .person { padding: 20px; }
}

/* ---------- Search results / listing rows ---------- */
.search-bar { display: flex; gap: 8px; margin-top: 20px; max-width: 720px; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px; background: var(--surface); }
.search-bar:focus-within { border-color: var(--pink); }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; min-height: 46px; }
.results { display: grid; }
.result { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.result:first-child { border-top: 0; padding-top: 0; }
.result__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.result__media img { width: 100%; height: 100%; object-fit: cover; }
.result h2 { font-size: 1.375rem; line-height: 1.4; }
.result h2 a::after { content: ""; position: absolute; inset: 0; }
.result:hover h2 { color: var(--pink-text); }
.result p { font-size: .9375rem; margin-top: 6px; }
.result .meta { margin-top: 8px; }
mark { background: var(--pink-soft); color: var(--pink-text); padding: 0 3px; border-radius: 2px; }
.empty { text-align: center; padding-block: 48px; display: grid; gap: 14px; justify-items: center; }
.empty h2 { font-size: 1.75rem; }
.is-lang-hidden { display: none !important; }
@media (max-width: 600px) {
  .result { grid-template-columns: 112px 1fr; gap: 14px; padding: 16px 0; }
  .result h2 { font-size: 1rem; }
  .result p { display: none; }
  .result__media { aspect-ratio: 1; }
  .search-bar .btn { padding: 0 16px; }
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(40px, 9vw, 110px); }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 24vw, 14rem); font-weight: 700; font-style: italic; line-height: .9; color: var(--pink); }
.error-page h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin: 14px 0 10px; }
.error-page p { max-width: 48ch; margin-inline: auto; }
.error-page .search-bar { margin-inline: auto; text-align: left; }
.error-page .chips { justify-content: center; margin-top: 20px; }

/* ---------- Legal pages / single-column articles ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(24px, 5vw, 72px); align-items: start; }
.legal .toc { position: sticky; top: calc(var(--header-h) + 72px); }
.article-single { max-width: 760px; margin-inline: auto; }
.legal .prose { font-size: 1.0625rem; line-height: 1.85; }
.legal .prose h2 { font-size: 1.5em; }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose h3 { font-size: 1.2em; margin-top: 1.6em; }
.legal .prose ul { list-style: disc; padding-left: 1.3em; }
.legal .prose li + li { margin-top: .55em; }
.legal .prose li::marker { color: var(--pink); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal .toc { position: static; } }

/* ---------- Recipe ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-block: 24px; }
.facts div { background: var(--surface); padding: 16px 10px; text-align: center; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); }
.facts span { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.recipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 32px; }
.recipe h2 { font-size: 1.625rem; margin-bottom: 14px; }
.ingredients { background: var(--tint); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 72px); }
.ingredients h3 { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-text); margin: 18px 0 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.65; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pink); }
.check input:checked + span { text-decoration: line-through; color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 1.0625rem; line-height: 1.9; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1.15; color: var(--pink); }
@media (max-width: 780px) { .recipe { grid-template-columns: 1fr; } .ingredients { position: static; padding: 20px; } .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Review ---------- */
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: var(--radius); background: var(--surface); margin-block: 28px; }
.score { width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--pink); color: #fff; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1; }
.score small { display: block; font-family: var(--font-ui); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; margin-top: 4px; opacity: .9; }
.verdict h2 { font-size: 1.375rem; margin-bottom: 6px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 24px; }
.proscons div { padding: 20px; border-radius: var(--radius); background: var(--tint); }
.proscons h3 { font-size: 1.125rem; margin-bottom: 8px; }
.proscons li { position: relative; padding-left: 24px; margin-top: 6px; font-size: .9375rem; line-height: 1.7; }
.proscons li::before { position: absolute; left: 2px; font-weight: 700; }
.pros li::before { content: "+"; color: #25b869; }
.cons li::before { content: "–"; color: var(--pink-text); }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9375rem; }
.specs dt, .specs dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); background: var(--tint); }
.specs dd { color: var(--ink); }
@media (max-width: 600px) { .verdict { grid-template-columns: 1fr; } .proscons { grid-template-columns: 1fr; } }

/* ---------- Interview ---------- */
.qa { display: grid; gap: 30px; }
.qa__q { position: relative; padding-left: 46px; font-family: var(--font-display); font-size: 1.3em; font-weight: 600; line-height: 1.5; color: var(--ink); }
.qa__q::before { content: "Q"; position: absolute; left: 0; top: .15em; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--font-ui); font-size: .875rem; display: grid; place-items: center; }
.qa__a { padding-left: 46px; margin-top: 10px; }
.bio-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 22px; margin-block: 28px; background: var(--tint); border-radius: var(--radius); }
.bio-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.bio-card h2 { font-size: 1.375rem; margin: 0 0 4px; }
.bio-card h2::before { display: none; }
.bio-card p { font-size: .9375rem; line-height: 1.7; }
.bio-card { align-items: start; }
.bio-card .bio-card__role { font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.bio-card__work { margin: 10px 0 0; padding: 0; font-size: .9375rem; line-height: 1.7; }
.bio-card__work li { position: relative; padding-left: 18px; margin: 0; }
.bio-card__work li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.bio-card__links { margin-top: 14px; }
.bio-card__links .chip { min-height: 38px; text-decoration: none; color: var(--ink); }
.bio-card__links .chip:hover { color: #fff; }
@media (max-width: 600px) { .qa__q, .qa__a { padding-left: 0; } .qa__q::before { position: static; margin-bottom: 8px; } .bio-card { grid-template-columns: 1fr; } .bio-card img { width: 88px; height: 88px; } }

/* ---------- Photo gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-block: 28px; }
.gallery button { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery__count { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 51, .8); color: #fff; font-size: .75rem; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.lightbox { position: fixed; inset: 0; z-index: 170; background: rgba(5, 5, 20, .97); display: none; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox.is-open { display: grid; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 18px; font-size: .875rem; }
.lightbox__bar .icon-btn { color: #fff; }
.lightbox__bar .icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; }
.lightbox__nav:hover { background: var(--pink); }
.lightbox__nav.prev { left: 12px; }
.lightbox__nav.prev .ico { transform: rotate(180deg); }
.lightbox__nav.next { right: 12px; }
.lightbox__cap { padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .875rem; color: #cfcbe8; }

/* ---------- Age confirmation + cookie consent ---------- */
.gate { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 20, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.gate__box { width: 100%; max-width: 460px; display: grid; gap: 14px; text-align: center; padding: clamp(24px, 5vw, 40px); background: var(--bg); border-top: 4px solid var(--pink); border-radius: var(--radius); box-shadow: var(--shadow); }
.gate__age { font-family: var(--font-display); font-size: 3.5rem; font-style: italic; font-weight: 700; line-height: 1; color: var(--pink); }
.gate__box h2 { font-size: 1.625rem; }
.gate__box p { font-size: .9375rem; }
.gate__actions { display: grid; gap: 10px; margin-top: 6px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 140; max-width: 560px; margin-inline: auto; display: grid; gap: 12px; padding: 18px 20px; background: var(--navy); color: #d9d7ee; font-size: .875rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.cookie b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 2px; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.cookie .btn--ghost:hover { background: #fff; color: var(--navy); }
@media (max-width: 860px) { .cookie { left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } .cookie__actions .btn { flex: 1; } }

/* ---------- Reactions, WhatsApp, sponsored ---------- */
.reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reactions p { width: 100%; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.react { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9375rem; color: var(--ink); transition: .2s; }
.react span:first-child { font-size: 1.25rem; line-height: 1; }
.react:hover { border-color: var(--pink); }
.react[aria-pressed="true"] { border-color: var(--pink); background: var(--pink-soft); color: var(--pink-text); }
.wa { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; padding: clamp(20px, 3vw, 32px); background: var(--navy); color: #cfcbe8; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.wa h2, .wa h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.wa p { font-size: .9375rem; margin-top: 4px; }
.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover, :root[data-theme="dark"] .btn--wa:hover { background: #fff; color: #06301a; }
@media (max-width: 600px) { .wa { grid-template-columns: 1fr; } .wa .btn { width: 100%; } }
.sponsor-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 10px var(--gutter); background: var(--pink-soft); color: var(--ink); font-size: .8125rem; text-align: center; }
.sponsor-bar b { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 3px 10px; border-radius: 2px; }
.disclosure { font-size: .875rem; line-height: 1.7; padding: 16px 18px; border-left: 3px solid var(--pink); background: var(--tint); border-radius: 0 var(--radius) var(--radius) 0; }
.brand-cta { display: grid; gap: 12px; justify-items: start; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: var(--radius); background: var(--surface); }
.brand-cta h2 { font-size: 1.5rem; margin: 0; }
.brand-cta h2::before { display: none; }

/* ---------- Instagram ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta__item:hover img, .insta__item:focus-visible img { transform: scale(1.06); }
.insta__type { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 51, .82); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; }
.insta__cap { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: 12px; background: linear-gradient(to top, rgba(0, 0, 40, .92), rgba(0, 0, 40, .25) 60%, rgba(0, 0, 40, 0)); color: #fff; font-size: .75rem; line-height: 1.5; opacity: 0; transition: opacity .25s; }
.insta__cap span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.insta__item:hover .insta__cap, .insta__item:focus-visible .insta__cap { opacity: 1; }
@media (hover: none) { .insta__cap { display: none; } }
@media (max-width: 980px) { .insta__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .insta__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .insta__grid::-webkit-scrollbar { display: none; }
  .insta__item { scroll-snap-align: start; }
}

/* ---------- Single author page ---------- */
.author-hero { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.author-hero__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background: var(--tint); box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--pink); }
.author-hero__body { display: grid; gap: 10px; align-content: start; }
.author-hero h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.author-hero__body > p { max-width: 68ch; font-size: 1.125rem; color: var(--ink); }
.author-hero__body > .author-hero__bio { font-size: 1rem; color: var(--body); }
.author-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.author-topics { margin-bottom: clamp(20px, 3vw, 32px); }
.chip b { margin-left: 8px; font-weight: 600; color: var(--pink-text); }
.chip:hover b, .chip[aria-current="true"] b { color: inherit; }
.person--link { transition: border-color .2s, transform .2s; }
.person--link:hover { border-color: var(--pink); transform: translateY(-2px); }
.person__count { font-size: .8125rem; color: var(--muted); }
.author-box h2 a:hover, .byline a:hover { color: var(--pink-text); }
@media (max-width: 860px) {
  .author-topics { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .author-topics::-webkit-scrollbar { display: none; }
  .author-topics .chip { flex: none; }
}
@media (max-width: 600px) {
  .author-hero { grid-template-columns: 1fr; gap: 18px; padding-top: 18px; }
  .author-hero__photo { width: 120px; height: 120px; }
  .author-hero h1 { font-size: 2.25rem; }
  .author-hero__body > p { font-size: 1.0625rem; }
  .author-hero__meta { align-items: flex-start; flex-direction: column; }
}

/* =========================================================
   MOBILE OPTIMISATION
   Phones are the main audience: thumb-reach navigation, 44px+
   tap targets, compact lists, full-bleed media, safe-area insets.
   ========================================================= */
html { scroll-padding-top: calc(var(--header-h) + 64px); }
body { -webkit-tap-highlight-color: rgba(237, 14, 107, .15); }
a, button, summary { touch-action: manipulation; }
.tabbar, .toc-mobile { display: none; }
@media (hover: none) { .card:hover .card__media img, .yt:hover img { transform: none; } }

/* contents box inside the article when the side rail is hidden */
@media (max-width: 1120px) {
  .toc-mobile { display: block; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
  .toc-mobile summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; list-style: none; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--pink); }
  .toc-mobile[open] summary::after { content: "–"; }
  .toc-mobile nav { padding: 0 16px 12px; display: grid; }
  .toc-mobile a { padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink); }
  .toc-mobile .tools { padding: 12px 0 4px; border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  :root { --header-h: 56px; }
  .only-mobile { display: inline-grid; }
  .masthead__left [data-open-search] { display: none; }
  .topbar .wrap { min-height: 48px; }
  .lang button { min-height: 36px; padding: 4px 16px; font-size: .8125rem; }
  .theme-toggle { min-height: 44px; padding-inline: 6px; }
  .social a { min-height: 42px; padding: 0 16px; }
  .crumbs a { display: inline-block; padding: 6px 0; }

  /* category strip: swipe sideways, hides when scrolling down, returns when scrolling up */
  .primary-nav { max-height: 46px; overflow: hidden; transition: max-height .25s ease; }
  .site-header.is-compact .primary-nav { max-height: 0; border-top-color: transparent; }
  .primary-nav ul { flex-wrap: nowrap; justify-content: flex-start; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .primary-nav li { flex: none; }
  .primary-nav a { padding: 14px 0; font-size: .6875rem; }
  .primary-nav .sub, .primary-nav .caret { display: none; }

  .trending .wrap { min-height: 44px; gap: 14px; }
  .trending a { padding: 11px 0; }
  .section { padding-block: 36px; }
  .sec-head { margin-bottom: 18px; }
  .chip { min-height: 40px; }
  .ad--leader { min-height: 100px; }

  /* rails bleed to the screen edge and are swiped, not clicked */
  .rail-nav { display: none; }
  .rail, .rail--wide { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .page-head .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .page-head .chips::-webkit-scrollbar { display: none; }
  .page-head .chip { flex: none; }

  /* bottom tab bar */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0 0; z-index: 95; background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -6px 20px rgba(0, 0, 51, .07); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 60px; font-size: .625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .tabbar [aria-current="page"] { color: var(--pink-text); }
  .tabbar .ico { width: 22px; height: 22px; }
  .to-top { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .has-dock .tabbar { display: none; }
  .has-dock { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .share-dock { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .has-dock .to-top { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 600px) {
  /* cover: full-bleed lead, two compact cards beneath */
  .cover { padding-top: 0; }
  .cover__lead { min-height: 64vh; margin-inline: calc(var(--gutter) * -1); }
  .cover__lead .card__media { border-radius: 0; }
  .cover__lead .card__body { padding: 20px var(--gutter) 22px; }
  .cover__lead .card__title { font-size: 1.75rem; line-height: 1.2; }
  .cover__side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cover__side .card--overlay .card__media { min-height: 230px; }
  .cover__side .card__body { padding: 12px; }
  .cover__side .card__title { font-size: 1rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

  /* story grids: first card large, the rest as compact rows */
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 16px; }
  .grid--2 > .card:nth-child(n+2), .grid--3 > .card:nth-child(n+2), .grid--4 > .card:nth-child(n+2) { flex-direction: row; gap: 14px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); }
  .grid--2 > .card:nth-child(n+2) .card__media, .grid--3 > .card:nth-child(n+2) .card__media, .grid--4 > .card:nth-child(n+2) .card__media { flex: none; width: 112px; aspect-ratio: 1; }
  .grid--2 > .card:nth-child(n+2) .card__title, .grid--3 > .card:nth-child(n+2) .card__title, .grid--4 > .card:nth-child(n+2) .card__title { font-size: 1rem; }
  .grid--2 > .card:nth-child(n+2) .card__dek, .grid--3 > .card:nth-child(n+2) .card__dek, .grid--4 > .card:nth-child(n+2) .card__dek,
  .grid--2 > .card:nth-child(n+2) .pill, .grid--3 > .card:nth-child(n+2) .pill, .grid--4 > .card:nth-child(n+2) .pill { display: none; }
  .card--lg .card__title { font-size: 1.5rem; }
  .card--row .card__media { width: 112px; }
  .feature { gap: 24px; }
  .side-box { padding: 18px; }
  .ad--box { max-width: none; min-height: 250px; }
  .spotlight__body { padding: 24px 20px 28px; }
  .page-head h1 { font-size: 2.5rem; }
  .page-head p { font-size: 1rem; }
  .pagination a, .pagination span { min-width: 46px; height: 46px; }
  .search-panel { padding-top: 76px; }

  /* video */
  .watch__now h3 { font-size: 1.25rem; }
  .vid { grid-template-columns: 124px 1fr; padding: 8px 0; }
  .yt__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; box-shadow: 0 0 0 8px rgba(237, 14, 107, .28); }
  .watch__cta .btn { flex: 1; padding: 0 12px; }
  .channel .btn { width: 100%; }

  /* article */
  :root { --prose-size: 1.0625rem; }
  .prose { line-height: 1.9; }
  .prose h2 { font-size: 1.45em; }
  .article-head { text-align: left; padding-top: 6px; }
  .article-head h1 { font-size: 1.875rem; line-height: 1.3; }
  .article-head .dek { margin-inline: 0; }
  .byline { justify-content: flex-start; }
  .article-hero { margin-inline: calc(var(--gutter) * -1); }
  .article-hero img { border-radius: 0; aspect-ratio: 4 / 3; }
  .article-hero figcaption { padding-inline: var(--gutter); }
  .pullquote { font-size: 1.25em; padding-left: 18px; }
  .takeaways { padding: 20px; }
  .author-box { grid-template-columns: 1fr; padding: 20px; }
  .share-row .tools { display: none; }

  /* footer */
  .newsletter .wrap { padding-block: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 40px; }
  .footer__top > :first-child, .footer__top > :last-child { grid-column: 1 / -1; }
  .footer__top li + li { margin-top: 0; }
  .footer__top li a { display: inline-block; padding: 7px 0; }
  .carbon { grid-template-columns: 84px 1fr; align-items: start; gap: 16px; }
  .carbon__badge { width: 84px; height: 84px; padding: 4px; }
  .carbon h2 { font-size: 1.125rem; }
  .carbon p { font-size: .8125rem; }
  .footer__bottom { flex-direction: column; }
  .values div { padding: 20px; }
}

@media (max-width: 360px) {
  .cover__side { grid-template-columns: 1fr; }
  .cover__side .card--overlay .card__media { min-height: 200px; }
  .logo img { height: 30px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .trending, .ad, .newsletter, .site-footer, .article-rail, .article-aside, .share-dock, .to-top, .progress { display: none !important; }
}

/* ==========================================================================
   Mobile refinements: search panel, 18+ check, newsletter, cookie notice
   (phones and small tablets only; desktop is unchanged)
   ========================================================================== */
.search-form .btn { display: none; }
@media (max-width: 860px) {
  /* --- Search: a compact sheet with a proper field, a Search button and big tap targets --- */
  .search-panel { padding-top: calc(64px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .search-panel::before { content: "Search"; position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); left: var(--gutter); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
  .search-panel__close { top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) - 8px); background: var(--tint); }
  .search-form { gap: 8px; padding: 5px 5px 5px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
  .search-form:focus-within { border-color: var(--pink); }
  .search-form .ico { flex: none; width: 20px; height: 20px; color: var(--muted); }
  .search-form input { font-family: var(--font-ui); font-size: 1rem; min-height: 44px; }
  .search-form input::-webkit-search-cancel-button { display: none; }
  .search-form .btn { display: inline-flex; flex: none; min-height: 44px; padding: 0 18px; font-size: .75rem; }
  .search-panel h2 { margin: 26px 0 12px; }
  .search-panel .chips { gap: 8px; }
  .search-panel .chip { min-height: 44px; padding: 0 18px; font-size: .875rem; }

  /* --- 18+ check: a bottom sheet within thumb reach --- */
  .gate { place-items: end stretch; padding: 0; }
  .gate__box { max-width: none; gap: 10px; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top-width: 4px; border-radius: 20px 20px 0 0; max-height: 92vh; max-height: 92dvh; overflow-y: auto; animation: zg-sheet-up .28s ease-out; }
  .gate__age { font-size: 2.5rem; }
  .gate__box h2 { font-size: 1.375rem; }
  .gate__box p { font-size: .9375rem; line-height: 1.6; max-width: 34ch; margin-inline: auto; }
  .gate__actions { margin-top: 8px; }
  .gate__actions .btn { width: 100%; min-height: 52px; }

  /* --- Newsletter: stacked, centred, full-width field and button --- */
  .newsletter .wrap { text-align: center; gap: 18px; padding-block: 32px; }
  .newsletter h2 { font-size: 1.625rem; line-height: 1.2; }
  .newsletter p { font-size: .9375rem; line-height: 1.55; }
  .nl-form { flex-direction: column; gap: 10px; padding: 0; background: transparent; border-radius: 0; max-width: 420px; margin-inline: auto; }
  .nl-form input { flex: none; width: 100%; min-height: 52px; padding: 0 20px; font-size: 1rem; text-align: center; background: #fff; border-radius: 999px; }
  .nl-form .btn { width: 100%; min-height: 52px; }
  .nl-note { margin-top: 12px; }

  /* --- Cookie notice: a slim bar docked above the bottom navigation --- */
  .cookie { left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); max-width: none; gap: 10px; padding: 12px 16px 14px; font-size: .8125rem; line-height: 1.5; border-width: 1px 0 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); animation: zg-sheet-up .28s ease-out; }
  .has-dock .cookie { bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .cookie b { display: inline; margin: 0 6px 0 0; font-size: 1rem; }
  .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie__actions .btn { min-height: 44px; padding: 0 8px; white-space: nowrap; }
  /* keep the back-to-top button clear of the notice */
  body:has(.cookie) .to-top { display: none; }
}
@media (max-width: 360px) {
  .search-form .btn { padding: 0 14px; }
  .cookie__actions .btn { font-size: .6875rem; letter-spacing: .04em; }
}
@keyframes zg-sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gate__box, .cookie { animation: none; } }
@media print { .cookie, .gate { display: none !important; } }
