/* ─────────────────────────────────────────────────────────────
   Shexani Exchange — emerald & gold, taken from the logo.
   ───────────────────────────────────────────────────────────── */
:root {
  --emerald-950: #041e14;
  --emerald-900: #072b1d;
  --emerald-800: #0a3d2a;
  --emerald-700: #0d5236;
  --emerald-600: #116a45;
  --gold-600: #b08a34;
  --gold-500: #c9a24a;
  --gold-400: #dcbb6a;
  --gold-200: #f1e2b8;
  --ivory: #fbf8f1;
  --paper: #ffffff;
  --ink: #13201a;
  --muted: #5b6b62;
  --line: rgba(10, 61, 42, 0.12);
  --up: #1f9d63;
  --down: #d1493f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(7, 43, 29, 0.06), 0 12px 40px -12px rgba(7, 43, 29, 0.18);
  --wrap: 1180px;
  --gutter: 24px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}
html[dir='rtl'] {
  --font-body: 'Vazirmatn', 'Noto Sans Arabic', Tahoma, sans-serif;
  --font-display: 'Vazirmatn', 'Noto Sans Arabic', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }
.num, .board__num, .tabular { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@supports (width: clamp(1px, 1vw, 2px)) { :root { --gutter: clamp(16px, 4vw, 32px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-600);
}
html[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--emerald-950); box-shadow: 0 8px 24px -10px rgba(176, 138, 52, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--emerald-800); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--emerald-800); background: var(--paper); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 43, 29, .5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--emerald-800); line-height: 1.1; }
.brand__name small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--gold-600); text-transform: uppercase; }
html[dir='rtl'] .brand__name small { letter-spacing: .05em; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--emerald-800); background: rgba(10, 61, 42, .06); }
.site-nav a.is-active { color: var(--emerald-800); }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(10, 61, 42, .06); }
.lang button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 7px 11px; font: 600 13px/1 var(--font-body); color: var(--muted);
}
.lang button[aria-pressed='true'] { background: var(--paper); color: var(--emerald-800); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.lang button[data-lang='ku'], .lang button[data-lang='ar'] { font-family: 'Vazirmatn', sans-serif; }

.nav-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--emerald-800); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201, 162, 74, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(17, 106, 69, .55), transparent 60%),
    linear-gradient(160deg, rgba(10, 61, 42, .94), rgba(4, 30, 20, .97)),
    url('/assets/img/photos/hero.jpg') center / cover no-repeat;
}
.hero::after { /* fine gold grid */
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(var(--gold-200) 1px, transparent 1px), linear-gradient(90deg, var(--gold-200) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 120px; padding-block: clamp(64px, 10vw, 120px); }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { font-size: 72px; font-size: clamp(40px, 6vw, 72px); font-weight: 600; margin-top: 18px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-400); }
html[dir='rtl'] .hero h1 em { font-style: normal; font-weight: 800; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: 19px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Glass rates card */
.rate-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(241, 226, 184, .22);
  border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rate-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(241, 226, 184, .16); }
.rate-card__head h2 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.rate-card__list { list-style: none; margin: 0; padding: 0; }
.rate-card__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(241, 226, 184, .1); transition: background .6s; border-radius: 12px; }
.rate-card__row:last-child { border-bottom: 0; }
.rate-card__row .num { text-align: end; }
.rate-card__row .num small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.rate-card__row .num b { font-size: 20px; font-weight: 700; }
.rate-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.rate-card__foot a { color: var(--gold-400); font-weight: 600; }
.rate-card .rates-msg { padding: 28px 4px; color: rgba(255, 255, 255, .7); }

.ccy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ccy__badge {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font: 700 12px/1 var(--font-body); letter-spacing: .04em; color: var(--emerald-950);
  background: radial-gradient(circle at 30% 25%, var(--gold-200), var(--gold-500) 60%, var(--gold-600));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.ccy__meta { display: flex; flex-direction: column; min-width: 0; }
.ccy__meta b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccy__meta small { font-size: 12px; opacity: .6; }

.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gold-400); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
.is-stale .live::before, .live.is-stale::before { background: #e0a43a; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.trend { display: inline-block; margin-inline-start: 6px; font-size: .6em; vertical-align: middle; }
.trend--up { color: var(--up); }
.trend--down { color: var(--down); }
.is-flash { animation: flash 2.4s ease; }
@keyframes flash { 0% { background: rgba(201, 162, 74, .35); } 100% { background: transparent; } }

/* ── Features strip ─────────────────────────────────────── */
.features { margin-top: -1px; background: var(--paper); border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { padding: 34px 26px; border-inline-end: 1px solid var(--line); }
.feature:last-child { border-inline-end: 0; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 74, .14); color: var(--gold-600); margin-bottom: 16px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--emerald-800); }
.feature p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding-block: 120px; padding-block: clamp(72px, 10vw, 120px); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: 48px; font-size: clamp(32px, 4.2vw, 48px); font-weight: 600; color: var(--emerald-900); margin-top: 14px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(7, 43, 29, .35); }
.service::before { content: ''; position: absolute; left: 30px; right: 30px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.service__no { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 300; color: var(--gold-500); line-height: 1; }
.service h3 { margin-top: 22px; font-size: 24px; font-weight: 600; color: var(--emerald-800); }
html[dir='rtl'] .service h3 { font-size: 22px; }
.service p { margin-top: 10px; color: var(--muted); }

.about { background: var(--emerald-900); color: #fff; position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; max-width: 460px; }
.about__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.about__badge { position: absolute; bottom: -22px; right: -18px; width: 132px; height: auto; background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
html[dir='rtl'] .about__badge { right: auto; left: -18px; }
.about h2 { font-size: 46px; font-size: clamp(30px, 4vw, 46px); font-weight: 600; margin-top: 14px; }
.about .eyebrow { color: var(--gold-400); }
.about p { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 36em; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.contact__list { display: grid; gap: 14px; align-content: start; }
.contact__item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact__item svg { flex: none; width: 22px; height: 22px; color: var(--gold-600); margin-top: 3px; }
.contact__item small { display: block; font-size: 13px; color: var(--muted); }
.contact__item b, .contact__item a { font-weight: 600; color: var(--emerald-800); font-size: 17px; }
.contact__item .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #e9e4d6; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--emerald-950); color: rgba(255, 255, 255, .6); padding-block: 36px; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--gold-400); }

/* ── Rates page ─────────────────────────────────────────── */
.rates-page { background: var(--emerald-950); color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.rates-page .site-header { background: rgba(4, 30, 20, .8); }
.rates-page .site-header.is-scrolled { border-color: rgba(241, 226, 184, .12); }
.rates-page .brand__name { color: #fff; }
.rates-page .site-nav a { color: rgba(255, 255, 255, .7); }
.rates-page .site-nav a:hover, .rates-page .site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.rates-page .lang { background: rgba(255, 255, 255, .08); }
.rates-page .lang button { color: rgba(255, 255, 255, .7); }
.rates-page .lang button[aria-pressed='true'] { background: var(--gold-500); color: var(--emerald-950); }
.rates-page .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .2); }
.rates-page .nav-toggle span { background: #fff; }

.board-wrap {
  flex: 1; position: relative;
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(201, 162, 74, .14), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(17, 106, 69, .35), transparent 60%);
  padding-block: 56px; padding-block: clamp(28px, 5vw, 56px);
}
.board-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.board-top h1 { font-size: 56px; font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; margin-top: 10px; }
.board-top .eyebrow { color: var(--gold-400); }
.board-clock { text-align: end; }
.board-clock__time { font: 600 56px/1 var(--font-body); font: 600 clamp(34px, 4.4vw, 56px)/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--gold-400); direction: ltr; }
.board-clock__date { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); direction: ltr; }

.board { border-radius: 24px; overflow: hidden; border: 1px solid rgba(241, 226, 184, .18); background: rgba(255, 255, 255, .03); }
.board__head, .board__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 0 36px; padding: 0 clamp(16px, 3vw, 36px); }
.board__head { min-height: 58px; background: rgba(201, 162, 74, .1); border-bottom: 1px solid rgba(241, 226, 184, .18); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
html[dir='rtl'] .board__head { letter-spacing: 0; font-size: 17px; }
.board__head span:not(:first-child) { text-align: end; }
.board__row { min-height: 118px; min-height: clamp(84px, 10vw, 118px); border-bottom: 1px solid rgba(241, 226, 184, .08); }
.board__row:last-child { border-bottom: 0; }
.board__ccy { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ccy__badge--lg { width: 64px; width: clamp(48px, 5vw, 64px); height: 64px; height: clamp(48px, 5vw, 64px); font-size: 15px; font-size: clamp(12px, 1.2vw, 15px); }
.board__ccy .ccy__meta b { font-size: 26px; font-size: clamp(18px, 2vw, 26px); }
.board__ccy .ccy__meta small { font-size: 15px; font-size: clamp(12px, 1.1vw, 15px); }
.board__num { text-align: end; font-size: 60px; font-size: clamp(28px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.01em; color: #fff; direction: ltr; }
html[dir='rtl'] .board__num { text-align: left; }
html[dir='rtl'] .board__head span:not(:first-child) { text-align: left; }
.board .rates-msg { padding: 48px 36px; padding: 48px clamp(16px, 3vw, 36px); color: rgba(255, 255, 255, .7); font-size: 18px; }
.rates-msg--warn { color: #f0c36b !important; }

.board-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.board-foot .stale { color: #f0c36b; }
.board-foot__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.board-contact { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(255, 255, 255, .75); font-size: 15px; }
.board-contact b { color: var(--gold-400); font-weight: 600; }
.board-contact .ltr { direction: ltr; unicode-bidi: isolate; }

/* Wall-screen mode: ?tv=1 or full screen */
body.is-tv .site-header, body.is-tv .site-footer, body.is-tv .board-foot__tools,
body.is-fullscreen .site-header, body.is-fullscreen .site-footer, body.is-fullscreen .board-foot__tools { display: none; }
body.is-tv, body.is-fullscreen { cursor: none; }
body.is-tv .board-wrap .wrap, body.is-fullscreen .board-wrap .wrap { max-width: 1600px; }

/* ── Reveal ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .is-flash, .live::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero__inner, .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-inline-end: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .about__media { max-width: 360px; margin-bottom: 18px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--ivory);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(7, 43, 29, .3);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .lang { align-self: flex-start; margin-top: 8px; }
  .rates-page .site-nav { background: var(--emerald-950); border-color: rgba(241, 226, 184, .12); }
  .brand img { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 26px 4px; }
  .feature:last-child { border-bottom: 0; }
  .rate-card { padding: 16px; }
  .rate-card__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rate-card__row .ccy { grid-column: 1 / -1; }
  .rate-card__row .num { text-align: start; }
  .board__head, .board__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: 16px; }
  .board__head span:first-child { display: none; }
  .board__ccy { grid-column: 1 / -1; padding-top: 16px; }
  .board__row { min-height: 0; padding-bottom: 16px; row-gap: 8px; }
  .board__num { text-align: left; font-size: 30px; }
  html[dir='rtl'] .board__num { text-align: right; }
  html[dir='rtl'] .board__head span:not(:first-child) { text-align: right; }
  .board__head span:not(:first-child) { text-align: start; }
  .brand__name { font-size: 17px; }
  .hero__actions .btn, .about__actions .btn { flex: 1 1 auto; }
}

/* Hero badge */
.hero__badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(241, 226, 184, .25); color: var(--gold-200); font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .04); }
.hero__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }

/* Footer social */
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.social a[hidden] { display: none; }

/* TV / full screen: show the logo on the board itself */
.board-logo { display: none; }
body.is-tv .board-logo, body.is-fullscreen .board-logo { display: block; width: 96px; height: 96px; border-radius: 18px; margin-bottom: 14px; }

/* Older TV browsers without aspect-ratio: give the photo a height */
@supports not (aspect-ratio: 1) {
  .about__photo { height: 560px; }
}
