/* VK Games — cinematic editorial. Midnight by default, Ivory mode via [data-theme="light"].
   Palette: Midnight #111116 · Ivory #F1EFEA · Lavender #DCD9F4 · Sage #A7B5A0 · Sand #C5A47E · Silver #E5E5E5 */

:root {
  color-scheme: dark;
  --midnight: #111116;
  --ivory: #f1efea;
  --lavender: #dcd9f4;
  --sage: #a7b5a0;
  --sand: #c5a47e;
  --silver: #e5e5e5;

  --bg: var(--midnight);
  --surface: #17171d;
  --surface-2: #1c1c23;
  --line: #2a2a33;
  --line-soft: #202027;
  --ink: var(--ivory);
  --ink-2: #b5b3ae;
  --ink-3: #86847f;
  --gold: var(--sand);
  --accent: var(--sand);
  --accent-soft: rgba(197, 164, 126, .13);
  --accent-line: rgba(197, 164, 126, .3);
  --on-accent: #14110c;
  --shadow: 0 40px 90px -50px rgba(0, 0, 0, .95);
  --shot-bg: #0a0a0e;
  --glow-a: radial-gradient(52% 62% at 18% 0%, rgba(220, 217, 244, .13), transparent 68%);
  --glow-b: radial-gradient(46% 58% at 88% 6%, rgba(197, 164, 126, .15), transparent 70%);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: var(--ivory);
  --surface: #ffffff;
  --surface-2: #f7f5f0;
  --line: #ddd9d1;
  --line-soft: #e7e3db;
  --ink: #14141a;
  --ink-2: #56544f;
  --ink-3: #7d7a74;
  --gold: #8a6a45;
  --accent: #8a6a45;
  --accent-soft: rgba(138, 106, 69, .1);
  --accent-line: rgba(138, 106, 69, .26);
  --on-accent: #fbf9f5;
  --shadow: 0 30px 60px -40px rgba(30, 24, 14, .4);
  --glow-a: radial-gradient(52% 62% at 18% 0%, rgba(167, 181, 160, .3), transparent 68%);
  --glow-b: radial-gradient(46% 58% at 88% 6%, rgba(197, 164, 126, .3), transparent 70%);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}

html[lang="ar"] body {
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  line-height: 1.9;
  letter-spacing: 0;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}

@media (min-width: 760px) {
  .wrap { padding-inline: 40px; }
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -70px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}

.head-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand img { height: 30px; width: auto; display: block; }

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  letter-spacing: .01em;
  font-weight: 600;
  white-space: nowrap;
}

html[lang="ar"] .brand-name { font-family: "Cairo", sans-serif; font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding-inline-start: 8px;
}

.seg {
  display: inline-flex;
  padding: 2px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.seg button {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  cursor: pointer;
  min-height: 30px;
  transition: background-color .2s, color .2s;
}

.seg button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, transform .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--accent-line); }
.icon-btn:active { transform: scale(.95); }
.icon-btn svg { width: 17px; height: 17px; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .head-row {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
    min-height: 0;
  }
  .controls { margin-inline-start: auto; }
  .nav {
    order: 3;
    width: 100%;
    margin-inline-start: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 8px;
    gap: 2px;
    flex-wrap: wrap;
    overflow: visible;
  }
  .nav a { padding: 7px 9px; font-size: 13.5px; }
  .nav a::after { inset-inline: 9px; bottom: 2px; }
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: "Cairo", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.32;
}

h1 { font-size: clamp(44px, 9vw, 96px); }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }

html[lang="ar"] h1 { font-size: clamp(38px, 7vw, 72px); }
html[lang="ar"] h2 { font-size: clamp(25px, 3.6vw, 36px); }
html[lang="ar"] h3 { font-size: 18px; }

p { margin: 0; }

.lead {
  color: var(--ink-2);
  font-size: clamp(16.5px, 1.9vw, 20px);
  line-height: 1.6;
  max-width: 58ch;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 13px; }

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: 64px 10px;
  overflow: clip;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -180px -10% auto -10%;
  height: 620px;
  background: var(--glow-a), var(--glow-b);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: block;
}

.hero-copy { max-width: 860px; }

.hero h1 {
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: -0.028em;
  word-spacing: .04em;
}

.hero h1 .thin {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 18px;
}

html[lang="ar"] .hero h1 .thin {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  color: var(--sage);
}

.hero .lead { margin-top: 22px; }

.hero-frame { margin-top: 46px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.chip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.frame {
  position: relative;
  margin-inline: 0;
  margin-block: 0;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1600 / 720;
  object-fit: contain;
  border-radius: 2px;
  background: var(--shot-bg);
  will-change: transform;
}

.frame figcaption {
  padding: 10px 4px 2px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

html[lang="ar"] .frame figcaption { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 14px; }

html[dir="rtl"] .btn .dir-icon { transform: scaleX(-1); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat {
  padding: 26px 4px 24px;
  text-align: start;
  border-inline-start: 1px solid var(--line-soft);
  padding-inline-start: 18px;
}

.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }

@media (max-width: 719px) {
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

.stat b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

html[lang="ar"] .stat b { font-family: "Cairo", sans-serif; letter-spacing: 0; }

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

html[lang="ar"] .stat span { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* ---------- sections ---------- */
.section {
  padding-block: 84px;
  background: var(--bg);
  color: var(--ink);
}

.section + .section { border-top: 1px solid var(--line-soft); }

/* alternating editorial band: light in dark mode, dark in light mode */
.section.alt {
  --bg: var(--ivory);
  --surface: #ffffff;
  --surface-2: #f7f5f0;
  --line: #d9d4ca;
  --line-soft: #e4dfd6;
  --ink: #14141a;
  --ink-2: #54524d;
  --ink-3: #7c7973;
  --accent: #8a6a45;
  --accent-soft: rgba(138, 106, 69, .1);
  --accent-line: rgba(138, 106, 69, .26);
  --on-accent: #fbf9f5;
  --shot-bg: #0a0a0e;
  background: var(--bg);
  color: var(--ink);
}

[data-theme="light"] .section.alt {
  --surface: #191920;
  --surface-2: #1e1e25;
  --line: #2e2e37;
  --line-soft: #24242c;
  --ink: var(--ivory);
  --ink-2: #b3b1ac;
  --ink-3: #86847f;
  --accent: var(--sand);
  --accent-soft: rgba(197, 164, 126, .13);
  --accent-line: rgba(197, 164, 126, .3);
  --on-accent: #14110c;
  background: var(--midnight);
  color: var(--ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head > div > * + * { margin-top: 12px; }

.more {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent-line);
  transition: border-color .2s, color .2s;
}
.more:hover { border-color: var(--accent); }

html[lang="ar"] .more { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* ---------- cards ---------- */
.cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.card {
  background: var(--surface);
  padding: 30px 26px 32px;
  transition: background-color .3s;
}

.card:hover { background: var(--surface-2); }

.card h3 { margin-bottom: 10px; }

.card p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.card .ico svg { width: 19px; height: 19px; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding-block: 76px 0;
  overflow: clip;
}
.page-hero .wrap { position: relative; }
.page-hero > .wrap > * + * { margin-top: 18px; }
.page-hero h1 { font-weight: 500; }

/* ---------- prose ---------- */
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 16px; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 650; }

.two-col {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.list li b { color: var(--ink); font-weight: 650; }

/* steps */
.steps {
  counter-reset: s;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 18px 0 18px 56px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 15.5px;
}

.steps li:last-child { border-bottom: 1px solid var(--line-soft); }

html[dir="rtl"] .steps li { padding: 18px 56px 18px 0; }

.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 17px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: .04em;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

@media (min-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}

.shot {
  margin: 0;
  background: var(--surface);
  overflow: hidden;
  transition: background-color .3s;
}

.shot:hover { background: var(--surface-2); }

.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--shot-bg);
  cursor: zoom-in;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1600 / 720;
  object-fit: contain;
  background: var(--shot-bg);
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}

.shot button:hover img { transform: scale(1.03); }

.shot figcaption {
  padding: 14px 18px 16px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .02em;
}

.gallery-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

/* lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1200px, 96vw);
  width: 100%;
}
.lightbox::backdrop { background: rgba(8, 8, 11, .92); }
.lightbox img {
  display: block;
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.lightbox .lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: .04em;
}
.lightbox .lb-close {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 2px;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- facts table ---------- */
.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.facts dt {
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html[lang="ar"] .facts dt { letter-spacing: 0; text-transform: none; font-size: 13px; }

.facts dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  text-align: end;
}

.facts dd code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  word-break: break-all;
}

/* ---------- download band ---------- */
.band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(120% 160% at 100% 0%, var(--accent-soft), transparent 62%),
    var(--surface);
  padding: 40px 28px;
}

@media (min-width: 820px) {
  .band { padding: 56px 52px; }
}

.band-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

@media (min-width: 820px) {
  .band-grid { grid-template-columns: 1fr auto; gap: 48px; }
}

.band h2 { font-size: clamp(24px, 3vw, 34px); }
.band p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.band .btn { min-width: 250px; }

/* ---------- class cards ---------- */
.class-card { display: flex; flex-direction: column; gap: 16px; }

.class-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.class-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #14141a;
  flex: none;
}

.class-name { font-size: 19px; }
.class-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[lang="ar"] .class-tag { letter-spacing: 0; text-transform: none; font-size: 12.5px; }

.statbars { display: grid; gap: 8px; }

.statbar {
  display: grid;
  grid-template-columns: 58px 1fr 32px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

html[lang="ar"] .statbar { letter-spacing: 0; text-transform: none; font-size: 12.5px; }

.statbar .bar {
  height: 2px;
  border-radius: 0;
  background: var(--line);
  overflow: hidden;
}

.statbar .bar i {
  display: block;
  height: 100%;
  background: var(--accent);
}

.statbar b { color: var(--ink-2); font-weight: 600; text-align: end; }

.ability {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.ability b {
  color: var(--accent);
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}
html[lang="ar"] .ability b { letter-spacing: 0; text-transform: none; font-size: 13px; }

.unlock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  align-self: flex-start;
}

/* boss list */
.boss-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.boss-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}

.boss-list .n {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--accent);
  flex: none;
  min-width: 20px;
  letter-spacing: .04em;
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  padding-block: 56px 34px;
}

.foot-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
}

.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 26px; width: auto; }
.foot-brand span {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 16px;
}
html[lang="ar"] .foot-brand span { font-family: "Cairo", sans-serif; }

.foot-note { color: var(--ink-3); font-size: 13.5px; margin-top: 12px; max-width: 42ch; }

.foot-col h4 {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
  font-weight: 700;
}
html[lang="ar"] .foot-col h4 { letter-spacing: 0; text-transform: none; font-size: 13px; }

.foot-col a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  padding-block: 5px;
  transition: color .2s;
}
.foot-col a:hover { color: var(--accent); }

.foot-base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: .04em;
}

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

.note {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 16px;
  max-width: 62ch;
}

.inline-link { color: var(--accent); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--accent-line); }
.inline-link:hover { border-color: var(--accent); }

.alert {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 22px;
}
.alert svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }

/* ---------- motion: scroll reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.no-motion [data-reveal],
html.no-js [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
