@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/display.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/cond-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/body-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/body-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/body-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
:root {
  --night: #120d2b; --dusk: #191339; --panel: #1f1846; --line: #2f2766;
  --sand: #f4f1ff; --sand-2: #cfc8ee; --sand-3: #9c94c4;
  --pink: #ff3d7f; --orange: #ff9f1c; --teal: #2ee59d; --gold: #ffd23f;
  --sunset: linear-gradient(90deg, #ffd23f, #ff9f1c);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--sand); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sand); color: var(--night); padding: 8px 12px; border-radius: 6px; z-index: 30; }
.skip:focus { left: 8px; }
.muted { color: var(--sand-3); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: italic 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; margin: 0; white-space: nowrap; }
.logo:hover { color: var(--sand); }
.logo__sun { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, var(--orange) 0 45%, var(--pink) 45% 100%); -webkit-mask: linear-gradient(#000 0 58%, transparent 58% 66%, #000 66% 78%, transparent 78% 88%, #000 88%); mask: linear-gradient(#000 0 58%, transparent 58% 66%, #000 66% 78%, transparent 78% 88%, #000 88%); }
.logo--small { font-size: 20px; }
.top__nav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; font-size: 15.5px; font-weight: 600; }
.top__nav::-webkit-scrollbar { display: none; }
.top__nav a { text-decoration: none; color: var(--sand-2); white-space: nowrap; padding: 6px 0; }
.top__nav a:hover { color: var(--sand); }
.top__nav a[aria-current] { color: var(--sand); box-shadow: inset 0 -2px 0 var(--pink); }
.menu-btn { margin-left: auto; width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.menu-btn__icon, .menu-btn__icon::before, .menu-btn__icon::after { display: block; width: 18px; height: 2px; background: var(--sand); border-radius: 2px; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; }
.menu-btn__icon::before { top: -6px; } .menu-btn__icon::after { top: 6px; }
.drawer { border-top: 1px solid var(--line); background: var(--dusk); max-height: calc(100dvh - 62px); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer__inner { padding: 16px 0 24px; }
.drawer input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--night); color: var(--sand); }
.drawer__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.drawer__grid a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.results { list-style: none; margin: 10px 0 0; padding: 0; }
.results a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.results span { display: block; color: var(--sand-3); font-size: 14px; }

/* hero */
.hero { position: relative; padding: clamp(48px, 9vw, 104px) 0 0; overflow: hidden; }
.hero--small { padding: 44px 0 20px; overflow: visible; }
.hero__kicker { margin: 0 0 14px; color: var(--teal); font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(52px, 10vw, 128px); max-width: 11ch; line-height: 0.9; }
.hero--small h1 { font-size: clamp(40px, 6.5vw, 76px); max-width: 18ch; }
.pg { color: var(--sand-3); font-size: 0.45em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--sand-2); max-width: 58ch; margin: 22px 0 0; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 10px; background: var(--pink); color: #1b0716; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; }
.btn:hover { background: var(--orange); color: #1b0716; }
.btn--ghost { background: transparent; color: var(--sand); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--panel); color: var(--sand); }
/* the signature: a setting sun cut by horizon lines */
.horizon { height: clamp(110px, 16vw, 200px); margin-top: clamp(40px, 6vw, 72px); background:
  radial-gradient(ellipse 34% 150% at 78% 100%, var(--orange) 0 38%, var(--pink) 62%, transparent 63%),
  linear-gradient(180deg, transparent, color-mix(in srgb, var(--pink) 22%, transparent));
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px), linear-gradient(#000, #000); -webkit-mask-composite: source-in; mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px); border-bottom: 2px solid var(--pink); }

/* sections & cards */
.sections, .more, .list { padding: 56px 0 0; }
.sections h2, .more h2, .chapters h2, .faq h2, .sources h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.tiles, .cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile { display: grid; gap: 4px; height: 100%; padding: 18px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.tile:hover { border-color: var(--pink); color: inherit; }
.tile__name { font: italic 800 26px/1 var(--display); text-transform: uppercase; }
.tile__count { color: var(--teal); font-size: 14px; font-weight: 600; }
.tile__desc { color: var(--sand-2); font-size: 15px; margin-top: 4px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.card a:hover { border-color: var(--orange); color: inherit; }
.card__sec { color: var(--teal); font-size: 14px; font-weight: 700; }
.card h3 { font-size: 26px; line-height: 1.02; }
.card p { margin: 0; color: var(--sand-2); font-size: 15.5px; }
.card__meta { margin-top: auto; padding-top: 6px; color: var(--sand-3); font-size: 14px; }
.all { margin: 24px 0 0; }
.list__h { font: 600 17px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--sand-3); margin-bottom: 14px; }
.intro { margin-bottom: 20px; }
.empty { color: var(--sand-2); }
.paging { display: flex; gap: 16px; align-items: center; margin-top: 28px; color: var(--sand-3); }
.paging a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--sand); }

/* breadcrumbs */
.crumbs { font-size: 15px; margin-bottom: 16px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--sand-3); }
.crumbs a { color: var(--sand-2); }
.crumbs [aria-current] { color: var(--sand-3); }

/* guide */
.guide__head { padding: 40px 0 0; }
.guide__head h1, .page h1 { font-size: clamp(40px, 6.5vw, 80px); max-width: 20ch; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 28px 0 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--sand-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.status--confirmed { color: var(--teal); } .status--partly, .status--live { color: var(--orange); } .status--unconfirmed { color: var(--pink); }
.guide__body { padding-top: 28px; }
.summary { background: var(--dusk); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 4px 14px 14px 4px; padding: 20px 24px; margin: 0 0 32px; max-width: 74ch; }
.summary h2 { font-size: 24px; margin-bottom: 10px; }
.summary ul { margin: 0; padding-left: 1.2em; }
.summary li { margin: 6px 0; color: var(--sand-2); }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 34px; margin: 44px 0 14px; }
.prose h3 { font-size: 25px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--sand-2); }
.prose strong { color: var(--sand); }
.prose a { text-decoration-color: var(--pink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose ol li::marker { color: var(--orange); font-weight: 800; }
.prose blockquote { margin: 22px 0; padding: 14px 18px; background: var(--dusk); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--sand); font-weight: 700; }
.faq, .sources { margin-top: 52px; padding-top: 26px; border-top: 2px solid var(--pink); max-width: 74ch; }
.faq h3 { font: 700 19px/1.3 var(--body); text-transform: none; letter-spacing: 0; margin: 24px 0 6px; }
.faq p { margin: 0; color: var(--sand-2); }
.sources { border-top-color: var(--line); }
.sources h2 { font-size: 26px; }
.sources ul { padding-left: 1.2em; color: var(--sand-2); }
.page { padding: 40px 0 0; }
.page .prose { margin-top: 24px; }

/* footer */
.foot { margin-top: 88px; border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; color: var(--sand-2); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot__grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot__grid nav a { text-decoration: none; }
.foot__h { margin: 0 0 4px; font-weight: 700; color: var(--sand); }
.foot__about { margin: 12px 0 0; max-width: 32ch; }
.foot__copy { margin: 30px 0 0; font-size: 14px; color: var(--sand-3); max-width: 90ch; }

@media (min-width: 1081px) { .menu-btn { width: auto; padding: 0 14px; gap: 8px; } .menu-btn .vh { position: static; width: auto; height: auto; clip: auto; font: 600 15px var(--body); color: var(--sand); } }
@media (max-width: 1080px) { .top__nav { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile__desc { display: none; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; }
  .prose h2 { font-size: 29px; }
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; }
  .prose table.stack thead { display: none; }
  .prose table.stack tr { background: var(--dusk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .prose table.stack td { border: 0; padding: 3px 0; }
  .prose table.stack td:first-child { font-weight: 700; color: var(--sand); }
  .prose table.stack td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--sand-3); }
  .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div { grid-column: 1 / -1; }
  .btn { flex: 1; justify-content: center; }
}

/* ---------- illustrations ---------- */
.hero--img { padding: 0; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,38,.15) 0%, rgba(20,15,38,.55) 45%, var(--night) 100%), linear-gradient(90deg, rgba(20,15,38,.75), transparent 70%); }
.hero--img .hero__content { position: relative; z-index: 1; padding-block: clamp(120px, 20vh, 220px) clamp(36px, 6vw, 64px); }
.hero--img h1 { text-shadow: 0 2px 30px rgba(20,15,38,.6); }
.hero--img .lede { color: var(--sand); }
.tile { position: relative; overflow: hidden; padding: 0; gap: 0; }
.tile__img { width: 100%; height: 120px; object-fit: cover; display: block; transition: transform .4s ease; }
.tile:hover .tile__img, .card a:hover .card__img { transform: scale(1.05); }
.tile__name { padding: 14px 16px 0; } .tile__count { padding: 2px 16px 0; } .tile__desc { padding: 4px 16px 16px; }
.tile:not(:has(img)) { padding-top: 6px; }
.card a { padding: 0; overflow: hidden; gap: 0; }
.card__img { width: 100%; aspect-ratio: 16 / 8; height: auto; object-fit: cover; display: block; transition: transform .4s ease; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.banner { margin: 28px 0 0; }
.banner__img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 18px; display: block; border: 1px solid var(--line); }
.banner figcaption { margin-top: 8px; font-size: 13.5px; color: var(--sand-3); }
.sections h2, .more h2, .chapters h2 { display: flex; align-items: center; gap: 14px; }
.sections h2::before, .more h2::before, .chapters h2::before { content: ""; width: 10px; height: 34px; border-radius: 3px; background: linear-gradient(var(--orange), var(--pink)); }
.card a, .tile { box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
@media (prefers-reduced-motion: reduce) { .tile__img, .card__img { transition: none; } }
@media (max-width: 640px) { .tile__img { height: 84px; } .tile__name { font-size: 22px; padding: 10px 12px 0; } .tile__count { padding: 2px 12px 12px; } .banner__img { aspect-ratio: 16 / 9; border-radius: 12px; } .hero--img { min-height: 68vh; } }
.tile { display: flex; flex-direction: column; }

/* ---------- language switcher ---------- */
.lang { position: relative; margin-left: auto; flex: 0 0 auto; }
.lang + .menu-btn { margin-left: 0; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font: 700 14px var(--body); letter-spacing: .04em; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--sand-2); border-bottom: 2px solid var(--sand-2); transform: translateY(-2px) rotate(45deg); }
.lang[open] summary { border-color: var(--teal); }
.lang__list { position: absolute; right: 0; top: 50px; z-index: 30; min-width: 170px; padding: 6px; background: var(--dusk); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: grid; }
.lang__list a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.lang__list a:hover { background: var(--panel); }
.lang__list a[aria-current], .drawer__langs a[aria-current] { color: var(--teal); }
.drawer__h { margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--sand-3); }
.top__row { gap: 14px; }
.top__nav { margin-right: 6px; }

/* ---------- cookie choice ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 660px; margin: 0 auto; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 14px 16px 14px 20px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); font-size: 15px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; color: var(--sand-2); }
.consent__actions { display: flex; gap: 8px; }
.consent .btn { min-height: 44px; padding: 0 18px; flex: 0 0 auto; }
@media (max-width: 640px) { .consent { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); } .consent__actions { width: 100%; } .consent .btn { flex: 1; justify-content: center; } }

/* ---------- table of contents, d-pad codes, back to top ---------- */
.toc { margin: 0 0 28px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; font-weight: 700; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--sand-2); border-bottom: 2px solid var(--sand-2); transform: rotate(45deg); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(225deg); }
.toc__n { font-size: 13px; color: var(--sand-3); font-weight: 600; }
.toc ol { margin: 0; padding: 0 18px 14px 38px; }
.toc li { padding: 2px 0; }
.toc a { display: block; padding: 8px 0; color: var(--sand-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--orange); }
.prose h2[id] { scroll-margin-top: 80px; }
.dpad { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.dpad i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); color: var(--teal); font-weight: 800; font-size: 16px; line-height: 1; }
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; width: 48px; height: 48px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.to-top[hidden] { display: none; }
.to-top span { width: 12px; height: 12px; border-left: 3px solid #1b0716; border-top: 3px solid #1b0716; transform: translateY(3px) rotate(45deg); }
.to-top:hover { background: var(--orange); }
.menu-btn[aria-expanded="true"] .menu-btn__icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 0; transform: rotate(-45deg); }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  /* compact list cards: thumbnail left, title right */
  .card a { flex-direction: row; align-items: stretch; }
  .card__img { width: 112px; min-height: 100%; aspect-ratio: auto; flex: 0 0 112px; }
  .card__body { padding: 12px 14px; gap: 4px; justify-content: center; }
  .card h3 { font-size: 20px; line-height: 1.05; }
  .card p { display: none; }
  .card__sec { font-size: 13px; }
  .card__meta { padding-top: 2px; font-size: 13px; }
  .cards { gap: 10px; }
  .more { margin-top: 40px; }
  .more h2, .sections h2 { font-size: 30px; }
  /* hero: shorter, CTA visible on first screen */
  .hero h1 { font-size: 44px; }
  .hero--img { min-height: 0; }
  .hero--img .hero__content { padding-block: 120px 28px; }
  .hero .lede { font-size: 16.5px; }
  .hero--small { padding-top: 24px; }
  .hero--small h1 { font-size: 36px; }
  /* guide header */
  .crumbs { font-size: 14px; margin-bottom: 12px; }
  .crumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs ol::-webkit-scrollbar { display: none; }
  .crumbs li:last-child { display: none; }
  .crumbs a { display: inline-block; padding: 6px 0; }
  .guide__head h1 { font-size: 36px; line-height: 1; }
  .guide__head .lede { font-size: 16.5px; }
  .facts { display: flex; gap: 6px 18px; margin-top: 18px; padding: 12px 0; font-size: 14px; }
  .facts div { display: flex; gap: 6px; align-items: baseline; }
  .facts dd { margin: 0; }
  .facts div:last-child { display: none; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 28px; }
  .prose table.stack tr { padding: 12px 14px; }
  .summary { padding: 16px; }
  /* footer: compact, big tap targets */
  .foot { margin-top: 56px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
  .foot__grid { gap: 20px 12px; }
  .foot__grid nav { gap: 0; }
  .foot__grid nav a { display: flex; align-items: center; min-height: 44px; }
  .foot__copy { font-size: 13px; margin-top: 18px; }
  .logo { min-height: 44px; display: inline-flex; align-items: center; }
  /* cookie notice: smaller footprint */
  .consent { gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); font-size: 14px; }
  .consent .btn { min-height: 42px; font-size: 15px; }
  .to-top { right: 12px; width: 44px; height: 44px; }
  .dpad { gap: 3px; flex-wrap: nowrap; }
  .dpad i { width: auto; flex: 1 1 0; max-width: 30px; min-width: 0; height: 30px; font-size: 15px; }
}

/* ---------- placeholder when a page has no picture of its own ---------- */
.card__ph { display: flex; align-items: flex-end; aspect-ratio: 16 / 8; padding: 14px 18px; background: radial-gradient(120% 90% at 85% 10%, rgba(255,106,61,.55), transparent 55%), linear-gradient(150deg, #2a1a22, #0b0a0f 70%); font: italic 800 22px/1 var(--display); text-transform: uppercase; color: rgba(253,241,227,.82); letter-spacing: .02em; }
.card__ph--cheats, .card__ph--weapons { background: radial-gradient(120% 90% at 85% 10%, rgba(255,95,162,.55), transparent 55%), linear-gradient(150deg, #2a1a22, #0b0a0f 70%); }
.card__ph--map, .card__ph--vehicles, .card__ph--online { background: radial-gradient(120% 90% at 85% 10%, rgba(63,224,207,.45), transparent 55%), linear-gradient(150deg, #22284f, #140f26 70%); }

/* ---------- the two leads on the home page ---------- */
.leads { margin-top: 56px; }
.leads__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead { position: relative; display: flex; align-items: flex-end; min-height: 340px; border-radius: 18px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--dusk); }
.lead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(20,15,38,.92) 85%); }
.lead--a { box-shadow: inset 0 -4px 0 var(--teal); }
.lead--b { box-shadow: inset 0 -4px 0 var(--pink); }
.lead__body { position: relative; z-index: 1; display: grid; gap: 6px; padding: 22px; }
.lead__name { font: italic 800 clamp(36px, 4.5vw, 56px)/0.95 var(--display); text-transform: uppercase; color: var(--sand); }
.lead--a .lead__name { color: var(--teal); } .lead--b .lead__name { color: var(--pink); }
.lead__line { color: var(--sand); max-width: 34ch; }
.lead__more { color: var(--sand-2); font-weight: 700; font-size: 15px; }
.lead:hover .lead__img { transform: scale(1.04); }
.lead:hover { color: inherit; border-color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .lead__img { transition: none; } }
@media (max-width: 640px) {
  .card__ph { width: 112px; flex: 0 0 112px; aspect-ratio: auto; padding: 8px; font-size: 13px; }
  .leads { margin-top: 40px; }
  .leads__grid { grid-template-columns: 1fr; gap: 10px; }
  .lead { min-height: 220px; }
  .lead__body { padding: 16px; }
  .lead__name { font-size: 36px; }
}

/* YouTube video (blog and news only): thumbnail first, player loads on press */
.yt{margin:1.6em 0}
.yt__play,.yt iframe{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;overflow:hidden;background:#000}
.yt__play img{width:100%;height:100%;object-fit:cover;opacity:.88;transition:opacity .2s}
.yt__play:hover img,.yt__play:focus-visible img{opacity:1}
.yt__btn{position:absolute;left:50%;top:50%;width:72px;height:50px;margin:-25px 0 0 -36px;border-radius:14px;background:#e62117;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.yt__btn::after{content:"";position:absolute;left:29px;top:15px;border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff}
.yt figcaption{margin-top:.5em;font-size:.9rem}
@media (max-width:640px){.yt__play,.yt iframe{border-radius:8px}.yt__btn{transform:scale(.85)}}

/* Languages whose letters are not in the Latin display/body fonts: use whole system fonts instead of mixing glyphs */
:lang(ru), :lang(uk), :lang(pl), :lang(cs), :lang(tr), :lang(vi) {
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
:lang(ja) { --display: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; --body: var(--display); }
:lang(ko) { --display: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --body: var(--display); }
:lang(zh) { --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; --body: var(--display); }
:lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3), :lang(vi) :is(h1, h2, h3) { line-height: 1.25; letter-spacing: 0; }
:lang(ja) body, :lang(zh) body { line-break: strict; word-break: normal; }
:lang(ko) body { word-break: keep-all; }

/* Home page: search, stats, chapters, featured walkthrough, map teaser, topics */
.live { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(63,224,207,.6); animation: live 2.4s ease-out infinite; vertical-align: 1px; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(63,224,207,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,207,0); } }
@media (prefers-reduced-motion: reduce) { .live { animation: none; } }
.hsearch { position: relative; max-width: 620px; margin: 28px 0 0; }
.hsearch input { width: 100%; min-height: 60px; padding: 0 20px 0 52px; border-radius: 14px; border: 1.5px solid rgba(253,241,227,.28); background: rgba(20,15,38,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23fdf1e3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9.5' cy='9.5' r='6.5'/%3E%3Cpath d='m14.5 14.5 5 5'/%3E%3C/svg%3E") no-repeat 18px 50%; color: var(--sand); font: 500 18px var(--body); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hsearch input::placeholder { color: var(--sand-3); }
.hsearch input:focus { outline: none; border-color: var(--teal); }
.hsearch .results { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin-top: 8px; padding: 6px 16px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; max-height: 60vh; overflow: auto; box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); }
.hsearch .results li:last-child a { border-bottom: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 26px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--sand-2); font-size: 14px; }
.stats dd { margin: 0; font: italic 800 38px/1 var(--display); color: var(--sand); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head a { color: var(--teal); font-weight: 700; text-decoration: none; }
.sec-head a:hover { color: var(--orange); }
.sec-lede { margin: 8px 0 20px; color: var(--sand-2); max-width: 62ch; }
.chapters { margin-top: 64px; }
.chap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.chap a { position: relative; display: grid; gap: 2px; height: 100%; padding: 18px 18px 18px 76px; min-height: 112px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; overflow: hidden; }
.chap a:hover { border-color: var(--teal); color: inherit; }
.chap__no { position: absolute; left: 14px; top: 12px; font: italic 800 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--pink); }
.chap a:hover .chap__no { -webkit-text-stroke-color: var(--teal); }
.chap__name { font: italic 800 24px/1.05 var(--display); text-transform: uppercase; }
.chap__count { color: var(--teal); font-size: 14px; font-weight: 700; }
.chap__first { color: var(--sand-2); font-size: 14px; margin-top: 4px; }
.chap__first b { color: var(--sand); font-weight: 600; }
.feature { margin-top: 56px; }
.feature__card { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--dusk); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.feature__card:hover { border-color: var(--orange); color: inherit; }
.feature__img, .feature__card .card__ph { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.feature__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 40px); justify-content: center; }
.feature__title { font: italic 800 clamp(30px, 3.4vw, 46px)/0.98 var(--display); text-transform: uppercase; }
.feature__desc { color: var(--sand-2); }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cards--4 .card h3 { font-size: 22px; }
.mapt { margin-top: 56px; }
.mapt__card { position: relative; display: block; min-height: 340px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; background: var(--panel); }
.mapt__card:hover { border-color: var(--teal); color: inherit; }
.mapt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mapt__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,38,.92) 0%, rgba(20,15,38,.6) 45%, rgba(20,15,38,.05) 100%); }
.mapt__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 460px; padding: clamp(26px, 4vw, 48px); }
.mapt__h { font: italic 800 clamp(34px, 4vw, 54px)/0.95 var(--display); text-transform: uppercase; }
.mapt__text { color: var(--sand-2); }
.topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topics a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--dusk); text-decoration: none; font-weight: 700; }
.topics a:hover { border-color: var(--pink); color: inherit; }
.topics__n { min-width: 32px; padding: 4px 9px; border-radius: 999px; background: var(--panel); color: var(--teal); font-size: 14px; text-align: center; }
@media (max-width: 760px) {
  .feature__card { grid-template-columns: 1fr; }
  .feature__img, .feature__card .card__ph { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .stats { gap: 8px 22px; } .stats dd { font-size: 30px; }
  .mapt__card { min-height: 300px; }
  .mapt__card::after { background: linear-gradient(0deg, rgba(20,15,38,.95) 10%, rgba(20,15,38,.35) 100%); }
  .mapt__body { position: absolute; bottom: 0; }
}
.sec-head h2 { margin-bottom: 0; }
.more .sec-head, .chapters .sec-head { margin-bottom: 20px; }
.chapters .sec-head { margin-bottom: 0; }
.hero--home h1 { font-size: clamp(46px, 7.2vw, 96px); max-width: 14ch; }
.hero--home.hero--img .hero__content { padding-block: clamp(90px, 14vh, 160px) clamp(32px, 5vw, 56px); }
.hero--home.hero--img { min-height: 0; }
.hero--home { overflow: visible; z-index: 2; }
.hero--home .hero__bg { clip-path: inset(0); }
.hsearch { z-index: 10; }
@media (max-width: 760px) { .stats { display: grid; grid-template-columns: 1fr 1fr; } .chap a { min-height: 0; } }
.top__nav:not(:lang(en)) { gap: 14px; font-size: 14.5px; }
@media (max-width: 1240px) { .top__nav:not(:lang(en)) { display: none; } }

/* Wiki A–Z */
.wiki { padding-bottom: 24px; }
.wiki__tools { position: sticky; top: 62px; z-index: 4; display: grid; gap: 12px; padding: 16px 0 14px; background: linear-gradient(var(--night) 85%, rgba(20,15,38,0)); }
.wiki__tools input { width: 100%; max-width: 520px; min-height: 52px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--dusk); color: var(--sand); font: 500 17px var(--body); }
.wiki__tools input:focus { outline: none; border-color: var(--teal); }
.wiki__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--dusk); color: var(--sand-2); font: 700 14.5px var(--body); cursor: pointer; }
.chip span { color: var(--sand-3); font-weight: 600; }
.chip:hover { border-color: var(--pink); color: var(--sand); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #1b0716; }
.chip[aria-pressed="true"] span { color: #1b0716; }
.wiki__az { display: flex; flex-wrap: wrap; gap: 4px; }
.wiki__az a { min-width: 32px; padding: 4px 6px; border-radius: 6px; text-align: center; text-decoration: none; font: italic 800 18px/1.2 var(--display); color: var(--sand-2); }
.wiki__az a:hover { background: var(--panel); color: var(--teal); }
.wiki__group { display: grid; grid-template-columns: 72px 1fr; gap: 8px 20px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 200px; }
.wiki__letter { margin: 0; font: italic 800 56px/0.9 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--pink); scroll-margin-top: 230px; }
.wiki__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.wiki__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--dusk); border: 1px solid var(--line); text-decoration: none; }
.wiki__list a:hover { border-color: var(--teal); color: inherit; }
.wiki__name { font-weight: 800; font-size: 17px; }
.wiki__cat { color: var(--teal); font-size: 13px; font-weight: 700; align-self: center; white-space: nowrap; }
.wiki__text { grid-column: 1 / -1; color: var(--sand-2); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wiki__none { color: var(--sand-2); padding: 20px 0; }
.topics a.topics--wiki { border-color: var(--teal); }
@media (max-width: 760px) {
  .wiki__group { grid-template-columns: 1fr; padding: 16px 0; }
  .wiki__letter { font-size: 44px; }
  .wiki__tools { top: 56px; }
  .wiki__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  .wiki__tools { position: static; background: none; }
  .wiki__az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .wiki__group, .wiki__letter { scroll-margin-top: 70px; }
}
.wiki__group[hidden], .wiki__list li[hidden] { display: none; }

/* ===== GTA6Touch (2026-11-27): dark game look ===== */
h1 em { font-style: normal; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sun { background: var(--sunset); }
.btn { background: var(--sunset); color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; box-shadow: 0 10px 30px -12px var(--pink); }
.btn:hover { background: var(--orange); color: #fff; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.top__nav a { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.top__nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--orange); }
.block { padding: 44px 0 0; }
.sec-head h2 { font-size: clamp(32px, 4vw, 44px); }
.sec-head a { color: var(--gold); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }

.xhero { position: relative; min-height: min(640px, 86vh); display: flex; align-items: flex-end; padding: 0 0 40px; background: #191339 center/cover no-repeat; }
.xhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,43,.35) 0%, rgba(18,13,43,.05) 30%, rgba(18,13,43,.6) 65%, var(--night) 100%); }
.xhero__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.xhero h1 { font-size: clamp(46px, 7.5vw, 96px); line-height: .92; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.xhero .lede { color: #e8e1ec; }
.xhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

.hud { background: rgba(21,19,27,.84); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(10px); }
.hud__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hud__top h2 { font-size: 22px; letter-spacing: .03em; }
.hud__top span, .hud__note { color: var(--sand-3); font-size: 13px; }
.hud__note { margin: 8px 0 0; }
.bar { height: 6px; background: #2d2935; border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--sunset); transition: width .35s; }
.hud__list { list-style: none; margin: 0; padding: 0; }
.hud__list li { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.hud__list label { flex: 1; display: flex; align-items: center; gap: 12px; padding: 9px 0; cursor: pointer; }
.hud__list a { font-size: 13px; font-weight: 800; color: var(--gold); text-decoration: none; }
input[data-done], .objs input { appearance: none; margin: 0; width: 22px; height: 22px; flex: none; border: 2px solid #5a5363; border-radius: 6px; display: grid; place-items: center; cursor: pointer; background: transparent; }
input[data-done]:checked, .objs input:checked { background: var(--orange); border-color: var(--orange); }
input[data-done]:checked::after, .objs input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
input[data-done]:checked + span, .objs input:checked + span { color: var(--sand-3); text-decoration: line-through; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; background: var(--panel) center/cover; text-decoration: none; transition: transform .25s; }
.cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18,13,43,.92)); }
.cat:hover { transform: translateY(-4px); color: var(--sand); }
.cat span { position: relative; }
.cat b { display: block; font: italic 800 30px/1 var(--display); text-transform: uppercase; }
.cat small { font-size: 13px; color: var(--sand-2); }

.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.reg, .lt { display: block; border-radius: 14px; overflow: hidden; background: var(--dusk); border: 1px solid var(--line); text-decoration: none; }
.reg__im, .lt__im { display: block; aspect-ratio: 16 / 9; background: var(--panel) center/cover; }
.reg__t, .lt__t { display: block; padding: 12px 14px 14px; }
.reg b { display: block; font: italic 800 24px/1.05 var(--display); text-transform: uppercase; }
.reg small, .lt small { display: block; color: var(--sand-3); font-size: 13px; margin-top: 4px; }
.latest { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.lt--big { grid-row: span 2; }
.lt--big .lt__im { aspect-ratio: 16 / 11; }
.lt b { display: block; font-weight: 800; line-height: 1.3; }
.lt--big b { font: italic 800 30px/1.05 var(--display); text-transform: uppercase; }
.reg:hover, .lt:hover { border-color: var(--orange); color: var(--sand); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust div { background: var(--panel); border-radius: 14px; padding: 18px; border-top: 3px solid var(--orange); }
.trust b { display: block; font: italic 800 20px var(--display); text-transform: uppercase; margin-bottom: 4px; }
.trust span { font-size: 14px; color: var(--sand-3); }

.ghero { position: relative; min-height: 360px; display: flex; align-items: flex-end; padding: 0 0 26px; background: #191339 center/cover no-repeat; }
.ghero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,43,.45), rgba(18,13,43,.2) 35%, var(--night) 100%); }
.ghero .wrap { position: relative; }
.ghero h1 { font-size: clamp(38px, 6vw, 72px); line-height: .95; max-width: 20ch; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.ghero .crumbs { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.chips span { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2); }
.chips a { color: inherit; }
.answer { background: var(--dusk); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 16px 18px; font-size: 17px; margin: 24px 0; }
.objs { list-style: none; padding: 6px 16px !important; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; }
.objs li { margin: 0 !important; border-top: 1px solid rgba(255,255,255,.07); }
.objs li:first-child { border-top: 0; }
.objs label { display: flex; gap: 12px; align-items: center; padding: 10px 0; cursor: pointer; }
.objs li::marker { content: ""; }
.nextm { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; margin: 34px 0; align-items: stretch; }
.donebox { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--dusk); border: 1px solid var(--line); border-radius: 14px; font-weight: 800; cursor: pointer; }
.nextm__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 16px; border-radius: 14px; overflow: hidden; background: var(--panel) center/cover; text-decoration: none; }
.nextm__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(18,13,43,.95)); }
.nextm__card small, .nextm__card b { position: relative; }
.nextm__card small { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.nextm__card b { font: italic 800 28px/1 var(--display); text-transform: uppercase; }

@media (max-width: 860px) {
  .xhero__in, .nextm { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .latest, .trust { grid-template-columns: 1fr; }
  .lt--big { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .cat, .bar i { transition: none; } }

/* ===== Reference style (owner, 2026-11-27): indigo, italic condensed, mosaic hero ===== */
.top { background: color-mix(in srgb, var(--night) 94%, transparent); }
.logo { gap: 0; font-size: 22px; }
.logo__a, .logo__b { display: inline-block; padding: 4px 9px 3px; transform: skewX(-10deg); }
.logo__a { background: linear-gradient(90deg, #a855f7, #ff3d7f, #ff9f1c); color: #fff; }
.logo__b { background: #fff; color: var(--night); }
.top__nav a { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: .03em; }
.top__nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--pink); }
.btn { background: var(--pink); color: #fff; border-radius: 4px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 17px; letter-spacing: .03em; box-shadow: none; }
.btn:hover { background: #ff5c94; color: #fff; }
.btn--block { width: 100%; justify-content: center; }
h1 em, .mz__hero h1 em { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.sec-head a { color: var(--pink); font-family: var(--display); font-style: italic; font-size: 15px; }

.mz { padding: 8px 0 0; }
.mz__grid { display: grid; grid-template-columns: 1fr 1fr 2.1fr 1fr; gap: 8px; padding: 0 8px; min-height: 520px; }
.mz__col { display: grid; gap: 8px; grid-template-rows: 1fr 1fr; }
.mz__col:nth-child(2) { grid-template-rows: 1fr; }
.mz__t { position: relative; display: flex; align-items: flex-end; padding: 12px; border-radius: 6px; overflow: hidden; background: var(--panel) center/cover; text-decoration: none; min-height: 150px; }
.mz__t::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,13,43,.85)); }
.mz__t span { position: relative; font: italic 800 17px/1 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.mz__t:hover { filter: brightness(1.08); color: #fff; }
.mz__hero { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 3vw, 44px); border-radius: 6px; background: linear-gradient(160deg, #5b2a8c 0%, #b8337d 55%, #e2497a 100%); }
.mz__hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: .9; text-transform: uppercase; }
.mz__hero .lede { color: #fbeefe; font-size: 17px; margin-top: 16px; }
.mz__search { position: relative; display: flex; margin: 22px 0 14px; max-width: 520px; }
.mz__search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 0; border-radius: 4px 0 0 4px; background: #fff; color: #1a1333; }
.mz__search .btn { border-radius: 0 4px 4px 0; min-height: 48px; }
.mz__search .results { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; background: var(--dusk); border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips2 a { font: italic 800 14px/1 var(--display); text-transform: uppercase; text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.chips2 a:hover { background: rgba(255,255,255,.15); color: #fff; }

.strip { background: var(--dusk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__in div { padding: 20px 20px; border-left: 1px solid var(--line); }
.strip__in div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font: italic 800 26px/1 var(--display); text-transform: uppercase; }
.strip b.ok::before, .strip b.wait::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 8px 4px 0; background: var(--teal); vertical-align: middle; }
.strip b.wait::before { background: var(--gold); }
.strip span { display: block; color: var(--sand-3); font-size: 13px; margin-top: 6px; }

.block { padding-top: 64px; }
.job { border: 1px solid var(--line); background: var(--dusk); }
.job__tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.job__tabs button { font: italic 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--sand-2); background: transparent; border: 0; border-right: 1px solid var(--line); padding: 14px 18px; cursor: pointer; }
.job__tabs button[aria-selected="true"] { background: #fff; color: var(--night); }
.job__panel { display: grid; grid-template-columns: 1fr 1.15fr; }
.job__panel[hidden] { display: none; }
.job__list { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.job__list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.job__list a[aria-current] { background: #fff; color: var(--night); }
.job__list small { color: var(--sand-3); white-space: nowrap; }
.job__feat { display: flex; flex-direction: column; text-decoration: none; }
.job__im { display: block; aspect-ratio: 16 / 7; background: var(--panel) center/cover; }
.job__body { display: block; padding: 22px 24px 26px; }
.job__body b { display: block; font: italic 800 clamp(26px, 3vw, 36px)/1 var(--display); text-transform: uppercase; }
.job__desc { display: block; color: var(--sand-2); margin: 10px 0 14px; font-size: 15px; }
.job__body ol { margin: 0 0 20px; padding-left: 22px; font-size: 15px; }
.job__body ol li { margin: 6px 0; }
.job__body ol li::marker { color: var(--gold); font: italic 800 17px var(--display); }
.job__feat:hover { color: var(--sand); }

.lmap { display: grid; grid-template-columns: 1.6fr 1fr; border: 1px solid var(--line); background: var(--dusk); }
.lmap__art { position: relative; padding: 16px; background: #173a3a; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.lmap__art svg { display: block; width: 100%; height: auto; max-height: 420px; }
.lmap__art small { position: absolute; left: 14px; bottom: 10px; color: rgba(255,255,255,.6); font-size: 11px; }
.lmap__side { padding: 22px; display: flex; flex-direction: column; }
.lmap__side h3 { font-size: 30px; }
.lmap__side p { color: var(--sand-3); font-size: 14px; margin: 6px 0 14px; }
.lmap__side ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.lmap__side li { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; background: var(--panel); margin-bottom: 6px; font-weight: 600; }
.lmap__side li a { text-decoration: none; }
.lmap__side li small { color: var(--sand-3); font-size: 12px; }

.wire { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.wire__c { display: flex; flex-direction: column; background: var(--dusk); border: 1px solid var(--line); text-decoration: none; }
.wire__im { display: block; aspect-ratio: 16 / 10; background: var(--panel) center/cover; }
.wire__c--big .wire__im { aspect-ratio: 16 / 8; }
.wire__t { display: block; padding: 16px 18px 20px; }
.wire__t b { display: block; font: italic 800 24px/1.02 var(--display); text-transform: uppercase; }
.wire__c--big .wire__t b { font-size: 34px; }
.wire__t span { display: block; color: var(--sand-2); font-size: 14px; margin: 8px 0; }
.wire__t small { color: var(--sand-3); font-size: 12px; }
.wire__c:hover { border-color: var(--pink); color: var(--sand); }

.ghero h1 { text-transform: uppercase; }
.answer { border-left-color: var(--pink); background: var(--dusk); border-radius: 0 4px 4px 0; }
.chips span { border-radius: 4px; }
input[data-done]:checked, .objs input:checked { background: var(--pink); border-color: var(--pink); }
.nextm__card small { color: var(--gold); }

@media (max-width: 960px) {
  .mz__grid { grid-template-columns: 1fr 1fr; min-height: 0; }
  .mz__hero { grid-column: 1 / -1; order: -1; }
  .mz__col:nth-child(2) { display: none; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__in div:nth-child(3) { border-left: 0; padding-left: 0; }
  .job__panel, .lmap { grid-template-columns: 1fr; }
  .job__list { border-right: 0; }
  .wire { grid-template-columns: 1fr; }
}

/* Contact form */
.cform { display: grid; gap: 16px; max-width: 640px; margin: 24px 0 8px; }
.cform label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.cform input, .cform select, .cform textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--panel); color: inherit; font: inherit; font-weight: 400; }
.cform textarea { min-height: 150px; resize: vertical; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.cform .btn { justify-self: start; }
.cform__note { margin: 0; font-size: 14px; opacity: .75; }

/* Mobile comfort pass (owner, 2026-11-29): bigger tap targets, readable small text, compact cookie bar, a "contents" button on long pages */
.totop { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--dusk) 94%, transparent); color: var(--sand); font: 700 14px/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 10px 30px -12px #000; }
.totop[data-show] { display: inline-flex; }
@media (max-width: 760px) {
  .mz__search .btn { flex: 0 0 auto; padding: 0 16px; }
  .mz__search input { padding: 12px; }
  .sec-head a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px 0 12px; }
  .leo-tabs button { min-height: 44px; }
  .chips span { font-size: 13px; }
  .chips time { font-size: inherit; }
  .lmap__art small, .lmap__side li small, .note, small { font-size: 13px; }
  .ghero { min-height: 300px; }
  .prose { font-size: 17px; line-height: 1.65; }
  .prose a, .toc a { text-underline-offset: 4px; }
  .toc summary { min-height: 48px; }
  .toc li a { display: block; padding: 9px 0; }
  .foot a { display: inline-block; padding: 6px 0; }
  .consent { gap: 8px 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .consent p { font-size: 13px; line-height: 1.4; flex-basis: 100%; }
  .consent .btn { min-height: 40px; font-size: 14px; }
  .cform .btn { justify-self: stretch; justify-content: center; }
}

/* Home: short intro text */
.hometext p { max-width: 72ch; color: var(--sand-2); font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.hometext h2 { margin-bottom: 16px; }
