/* ============================================================
   KLEKTL — tokens
   ============================================================ */
:root {
  --oxblood: #8B0000;
  --oxblood-tint: #C2303A;
  --navy: #001F3F;
  --ink: #1E1E1E;
  --cream: #F2F0EB;
  --white: #FFFFFF;
  --slate: #7B7870;
  --hairline: #DDD8CA;
  --hairline-dark: rgba(242, 240, 235, 0.18);

  --font-latin: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Archivo', sans-serif;

  --wrap: 1280px;
  --pad: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 720px) {
  :root { --pad: 24px; }
}

/* ============================================================
   Reset
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-latin);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

/* ============================================================
   Type scale
   ============================================================ */
h1, .h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h3, .h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.lede { font-size: 1.1rem; line-height: 1.65; }
p { font-size: 0.98rem; line-height: 1.65; color: #3d3b37; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--oxblood-tint); }

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 160ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--oxblood);
  color: var(--cream);
}
.btn-solid:hover { background: #6f0000; }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 240, 235, 0.55);
}
.btn-outline-light:hover { background: rgba(242, 240, 235, 0.12); border-color: var(--cream); }

.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

.btn-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.btn-chevron path { fill: var(--white); }
.btn:hover .btn-chevron { transform: translateX(3px); }

/* ============================================================
   Brand lockup
   ============================================================ */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-latin);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand-rule { width: 1px; height: 18px; background: var(--navy); }
.brand-word-ar {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.brand-lockup-light .brand-word { color: var(--cream); }
.brand-lockup-light .brand-rule { background: var(--cream); }
.brand-lockup-light .brand-word-ar { color: var(--cream); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto 0 48px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.main-nav a:hover { border-bottom-color: var(--oxblood); }
.main-nav a.nav-staff { white-space: nowrap; background: var(--navy); color: var(--cream); border: 1px solid var(--navy); padding: 8px 16px; font-size: 0.82rem; font-weight: 600; transition: border-color 180ms var(--ease), color 180ms var(--ease); }
.main-nav a.nav-staff:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--cream); }
@media (max-width: 860px) { .main-nav a.nav-staff { background: var(--navy); color: var(--cream); border: 0; border-bottom: 1px solid var(--hairline); font-size: 0.92rem; font-weight: 500; padding: 16px var(--pad); } }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  background: none;
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.lang-toggle:hover { border-color: var(--oxblood); color: var(--oxblood); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 220ms var(--ease), opacity 220ms var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms var(--ease);
  }
  .main-nav.is-open { max-height: 330px; }
  .main-nav a { width: 100%; padding: 16px var(--pad); border-bottom: 1px solid var(--hairline); }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: 10px; }
  .header-actions .btn-chevron { width: 14px; height: 14px; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.52);
}
.hero-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--oxblood);
  z-index: 1;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barGrow 900ms 150ms var(--ease) forwards;
}
@media (min-width: 720px) { .hero-bar { width: 16px; } }
@keyframes barGrow { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bar { animation: none; transform: scaleY(1); } }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 56px;
}
.locator {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(242, 240, 235, 0.82);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 700ms 500ms var(--ease) forwards;
}
.hero-title {
  color: var(--cream);
  max-width: 15ch;
  opacity: 0;
  animation: fadeUp 800ms 650ms var(--ease) forwards;
}
.hero-title-sub { color: rgba(242, 240, 235, 0.72); font-weight: 500; }
.hero-lede {
  max-width: 46ch;
  margin-top: 24px;
  color: rgba(242, 240, 235, 0.88);
  opacity: 0;
  animation: fadeUp 800ms 850ms var(--ease) forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 800ms 1000ms var(--ease) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .locator, .hero-title, .hero-lede, .hero-actions { animation: none; opacity: 1; }
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 20px var(--pad) 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.7);
  border-top: 1px solid rgba(242, 240, 235, 0.22);
}

/* ============================================================
   Sections — shared
   ============================================================ */
.section { padding: 108px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.on-navy { color: var(--cream); }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { max-width: 60ch; margin-bottom: 20px; }
.about-copy .lede { color: var(--ink); }

.pillar-list { margin-top: 40px; border-top: 1px solid var(--hairline); }
.pillar-row {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.pillar-num { font-size: 1.4rem; font-weight: 600; color: var(--oxblood); flex-shrink: 0; width: 34px; }
.pillar-row h3 { margin-bottom: 6px; }

.about-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; align-self: start; }
.about-figure img { width: 100%; height: 300px; object-fit: cover; object-position: center 28%; }

.stat-pair { display: flex; flex-direction: column; gap: 2px; }
.stat-block { padding: 22px 24px; border-left: 3px solid; }
.stat-oxblood { background: var(--white); border-color: var(--oxblood); }
.stat-navy { background: var(--white); border-color: var(--navy); }
.stat-text { font-size: 1rem; color: var(--ink); line-height: 1.5; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { order: -1; position: static; }
}

/* ============================================================
   Positioning (navy)
   ============================================================ */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--hairline-dark);
}
.principle-card {
  background: var(--navy);
  padding: 30px 32px;
}
.principle-card h3 { color: var(--cream); margin-bottom: 10px; }
.principle-card p { color: rgba(242, 240, 235, 0.72); }

.are-arent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.are-block { padding: 24px 26px; }
.are-yes { background: var(--oxblood); }
.are-no { background: rgba(0,0,0,0.22); }
.are-block .stat-label { color: rgba(242,240,235,0.7); }
.are-block p:last-child { color: var(--cream); font-size: 1.02rem; }

@media (max-width: 720px) {
  .principle-grid, .are-arent { grid-template-columns: 1fr; }
}

/* ============================================================
   Services list (accordion)
   ============================================================ */
.services-list { border-top: 1px solid var(--hairline); }
.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.service-num { font-size: 0.9rem; font-weight: 600; color: var(--oxblood); }
.service-title { font-size: 1.15rem; font-weight: 600; }
.service-toggle {
  position: relative;
  width: 14px;
  height: 14px;
  justify-self: end;
}
.service-toggle::before, .service-toggle::after {
  content: '';
  position: absolute;
  background: var(--oxblood);
  transition: transform 220ms var(--ease);
}
.service-toggle::before { left: 0; top: 6px; width: 14px; height: 2px; }
.service-toggle::after { left: 6px; top: 0; width: 2px; height: 14px; }
.service-row[aria-expanded="true"] .service-toggle::after { transform: scaleY(0); }

.service-body {
  grid-column: 2 / 3;
  max-width: 62ch;
  max-height: 0;
  overflow: hidden;
  color: #5c594f;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: max-height 320ms var(--ease), padding-top 320ms var(--ease);
}
.service-row[aria-expanded="true"] .service-body { max-height: 120px; padding-top: 14px; }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 34px 1fr 20px; }
}

/* ============================================================
   Stats band
   ============================================================ */
.stats-band { padding: 96px var(--pad); }
.stats-heading-outer { max-width: 1280px; margin: 0 auto 40px; }
.stats-heading-outer h2 { max-width: 620px; }
.stats-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(20, 18, 16, 0.35);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  max-width: 1280px;
  margin: 0 auto;
}
.stats-media { position: absolute; inset: 0; z-index: 0; }
.stats-media img { width: 100%; height: 100%; object-fit: cover; }
.stats-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.85) 0%, rgba(20, 18, 16, 0.35) 45%, rgba(20, 18, 16, 0) 70%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px 40px;
}
.stat-card {
  background: linear-gradient(160deg, rgba(20, 18, 16, 0.7), rgba(20, 18, 16, 0.45));
  border-radius: 18px;
  padding: 26px 24px;
}
.stat-number {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label-lg { font-size: 0.95rem; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.stat-desc { font-size: 0.82rem; line-height: 1.5; color: rgba(242, 240, 235, 0.7); }

@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-frame { min-height: 0; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; padding: 0 20px 28px; }
}

/* ============================================================
   Video
   ============================================================ */
.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; }

.contact-form { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 0.78rem; font-weight: 600; color: var(--slate); letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  padding: 10px 2px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: 0;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--oxblood);
}
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.form-note { font-size: 0.85rem; color: var(--ink); min-height: 1.2em; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-block p a { color: var(--oxblood); border-bottom: 1px solid transparent; }
.contact-info-block p a:hover { border-bottom-color: var(--oxblood); }
.contact-map { border: 1px solid var(--hairline); height: 220px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: var(--cream); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(242,240,235,0.15);
}
.footer-brand p { margin-top: 16px; color: rgba(242,240,235,0.55); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; flex: 1; }
.footer-nav > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-nav .stat-label { color: rgba(242,240,235,0.45); }
.footer-nav a { font-size: 0.92rem; color: rgba(242,240,235,0.85); }
.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(242,240,235,0.55);
}
@media (max-width: 640px) {
  .footer-top { flex-direction: column; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* ============================================================
   Language toggle — RTL (Arabic)
   ============================================================ */
[dir="rtl"] body { font-family: var(--font-arabic); }

[dir="rtl"] .eyebrow,
[dir="rtl"] .stat-label,
[dir="rtl"] .locator,
[dir="rtl"] .hero-meta,
[dir="rtl"] .footer-brand p {
  letter-spacing: normal;
  text-transform: none;
}


[dir="rtl"] .hero-bar { left: auto; right: 0; }

[dir="rtl"] .stat-block { border-left: none; border-right: 3px solid; }
[dir="rtl"] .stat-oxblood { border-right-color: var(--oxblood); }
[dir="rtl"] .stat-navy { border-right-color: var(--navy); }

[dir="rtl"] .service-row { text-align: right; }

[dir="rtl"] .btn:hover .btn-chevron { transform: translateX(-3px); }

[dir="rtl"] .contact-form .btn,
[dir="rtl"] .principle-card,
[dir="rtl"] .stat-text,
[dir="rtl"] p,
[dir="rtl"] .lede,
[dir="rtl"] .about-copy p {
  text-align: right;
}

/* ============================================================
   Staff hub
   ============================================================ */
.staff-intro { padding: 72px 0 56px; }
.staff-intro .section-head { margin-bottom: 0; }
.staff-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.15; margin-bottom: 16px; }

.news-list { border-top: 1px solid var(--hairline); }
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.news-date { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oxblood); }
.news-item h3 { margin-bottom: 6px; }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); }
.link-card { background: var(--white); padding: 28px; display: block; transition: background-color 220ms var(--ease); }
.link-card:hover { background: var(--cream); box-shadow: inset 3px 0 0 var(--oxblood); }
.link-card h3 { margin-bottom: 8px; }

.dir-list { border-top: 1px solid var(--hairline); }
.dir-row { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.dir-contact a { color: var(--oxblood); font-weight: 500; }

@media (max-width: 960px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .link-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .dir-row { flex-direction: column; gap: 4px; }
}

[dir="rtl"] .news-date { letter-spacing: normal; text-transform: none; }
[dir="rtl"] .link-card:hover { box-shadow: inset -3px 0 0 var(--oxblood); }
[dir="rtl"] .link-card h3,
[dir="rtl"] .link-card p { text-align: right; }

/* Staff hub — KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--hairline-dark); }
.kpi-card { background: var(--navy); padding: 28px 26px; min-width: 0; }
.kpi-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 240, 235, 0.6); margin-bottom: 14px; }
.kpi-value { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.1; color: var(--cream); overflow-wrap: anywhere; }
.kpi-note { margin-top: 10px; font-size: 0.85rem; color: rgba(242, 240, 235, 0.65); }
.kpi-meta { margin-top: 14px; font-size: 0.8rem; color: rgba(242, 240, 235, 0.55); min-height: 1.2em; }
@media (max-width: 960px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kpi-grid { grid-template-columns: 1fr; } }
[dir="rtl"] .kpi-label { letter-spacing: normal; text-transform: none; }
[dir="rtl"] .kpi-note, [dir="rtl"] .kpi-meta { text-align: right; }

/* Staff hub — analytics embed */
.analytics-frame { position: relative; width: 100%; min-height: 220px; background: var(--cream); border: 1px solid var(--hairline); }
.analytics-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.analytics-empty { padding: 56px 24px; text-align: center; color: var(--slate); }
@media (max-width: 720px) { .analytics-frame iframe { height: 560px; } }
