/* =============================================================
   GLOBAL.CSS — Assembly Games Egypt
   Design tokens · Reset · Typography · Shared components
   Nav · Footer · Buttons · Utilities
============================================================= */

/* -------------------------------------------------------------
   GOOGLE FONTS (loaded via HTML for perf; defined here as ref)
------------------------------------------------------------- */
/* Unbounded: display headings (EN)  */
/* Cairo: display headings (AR)      */
/* Inter: body (EN)                  */

/* -------------------------------------------------------------
   DESIGN TOKENS
------------------------------------------------------------- */
:root {
  /* ── Colours — Brand Kit v1 ──────────────────────────────── */
  --c-bg:           #f4f0e6;   /* cream */
  --c-bg-dark:      #0c0c0f;   /* base */
  --c-bg-mid:       #141418;   /* surface */
  --c-bg-muted:     #f4f0e6;   /* light surface */
  --c-accent:       #e05c1a;   /* ember — primary accent */
  --c-accent-dim:   #c44e10;   /* ember-press */
  --c-accent-hover: #f06b24;   /* ember-hover */
  --c-text:         #0c0c0f;
  --c-text-muted:   rgba(12,12,15,0.50);
  --c-text-faint:   rgba(12,12,15,0.30);
  --c-text-light:   #ffffff;
  --c-border:       rgba(12,12,15,0.10);
  --c-border-dark:  rgba(255,255,255,0.08);

  /* ── Typography ──────────────────────────────────────────── */
  --f-display:    'Unbounded', sans-serif;
  --f-display-ar: 'Cairo', sans-serif;
  --f-body:       'Inter', sans-serif;
  --f-mono:       'JetBrains Mono', monospace;

  /* ── Type scale ──────────────────────────────────────────── */
  --text-body:  1.0625rem;   /* 17px */
  --text-sm:    0.9375rem;   /* 15px */
  --text-xs:    0.8125rem;   /* 13px */
  --text-label: 0.6875rem;   /* 11px */

  /* ── Layout ──────────────────────────────────────────────── */
  --nav-h:    5.5rem;
  --max-w:    1280px;
  --pad-x:    clamp(1.25rem, 4vw, 2.5rem);
  --pad-y:    clamp(4rem, 8vw, 7rem);
  --pad-y-sm: clamp(2.5rem, 5vw, 4rem);
  --radius:   2px;

  /* ── Motion ──────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arabic overrides — applied via [dir="rtl"] */
[dir="rtl"] {
  --f-display: 'Cairo', sans-serif;
  --f-body: 'Cairo', sans-serif;
}

/* -------------------------------------------------------------
   RESET
------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL body */
[dir="rtl"] body,
[dir="rtl"] {
  text-align: right;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; cursor: pointer; }
ul  { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

/* Clickable affordance — all interactive elements */
a:not(.btn):not(.nav__logo):not(.nav__drawer a):not(.footer__col-links a):not(.footer__brand-email):hover {
  opacity: 0.8;
}

/* Content-area text links — underline on hover */
p a, li a:not(.serve-card__link):not(.mem-preview-card__link):not(.service-card__link):not(.about-contact__cta-card) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Interactive cards — pointer cursor */
[class*="-card"]:not([class*="__"]),
[class*="cta-card"],
[class*="preview-card"],
[class*="founder-card"],
[class*="serve-card"],
[class*="mem-preview-card"],
[class*="about-contact__cta-card"] {
  cursor: default;
}

a[class*="-card"],
a[class*="cta-card"],
a[class*="contact__cta"] {
  cursor: pointer;
}

/* Overflow guard */
*, *::before, *::after { max-width: 100%; }

/* -------------------------------------------------------------
   LAYOUT UTILITY
------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* -------------------------------------------------------------
   NOISE TEXTURE — global overlay
------------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.025;
}

/* -------------------------------------------------------------
   GLASSMORPHISM UTILITIES
------------------------------------------------------------- */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(224,92,26,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

/* Dark section with gradient mesh */
.section--mesh {
  position: relative;
  overflow: hidden;
}
.section--mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(224,92,26,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 85%, rgba(224,92,26,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.section--mesh > * { position: relative; z-index: 1; }

/* -------------------------------------------------------------
   SCROLL-REVEAL — depth entrance
------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity   0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------
   MAGNETIC HOVER
------------------------------------------------------------- */
[data-magnetic] {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.btn { transition: background 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.22s var(--ease-out); }
[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.20s; }
[data-reveal][data-delay="3"] { transition-delay: 0.30s; }
[data-reveal][data-delay="4"] { transition-delay: 0.40s; }
[data-reveal][data-delay="5"] { transition-delay: 0.50s; }
[data-reveal][data-delay="6"] { transition-delay: 0.60s; }

/* -------------------------------------------------------------
   BUTTONS
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border: 1.5px solid transparent;
  transition:
    background     0.22s var(--ease-out),
    color          0.22s var(--ease-out),
    border-color   0.22s var(--ease-out),
    transform      0.22s var(--ease-out),
    box-shadow     0.22s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

/* Primary: accent fill — glow on primary CTA only */
.btn--primary {
  background: var(--c-accent);
  color: #ffffff;
  border-color: var(--c-accent);
  box-shadow: 0 0 22px rgba(224,92,26,0.30);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  box-shadow: 0 0 44px rgba(224,92,26,0.60), 0 12px 32px rgba(224,92,26,0.18);
}

/* Ghost on dark background */
.btn--ghost-light {
  background: transparent;
  color: var(--c-text-light);
  border-color: rgba(247,244,239,0.28);
}
.btn--ghost-light:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Ghost on light background */
.btn--ghost-dark {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(12,12,15,0.20);
}
.btn--ghost-dark:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Dark fill (on light sections) */
.btn--dark {
  background: var(--c-bg-dark);
  color: var(--c-text-light);
  border-color: var(--c-bg-dark);
}
.btn--dark:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #ffffff;
}

/* Size modifier */
.btn--lg { font-size: 0.7rem; padding: 1.1rem 2.25rem; }
.btn--sm { font-size: 0.6rem;  padding: 0.65rem 1.25rem; }

/* -------------------------------------------------------------
   SECTION LABEL
------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}
[dir="rtl"] .section-label::before { display: none; }
[dir="rtl"] .section-label::after {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   FORM ELEMENTS (shared across pages)
------------------------------------------------------------- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--f-display);
  font-size: 0.525rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid;
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  border-radius: var(--radius);
}
.form-textarea { resize: vertical; min-height: 110px; }

/* Dark variant */
.form--dark .form-label { color: rgba(247,244,239,0.45); }
.form--dark .form-input,
.form--dark .form-select,
.form--dark .form-textarea {
  background: rgba(255,255,255,0.04);
  border-color: var(--c-border-dark);
  color: var(--c-text-light);
}
.form--dark .form-input::placeholder,
.form--dark .form-textarea::placeholder { color: rgba(247,244,239,0.2); }
.form--dark .form-input:focus,
.form--dark .form-select:focus,
.form--dark .form-textarea:focus {
  border-color: var(--c-accent);
  background: rgba(224,92,26,0.06);
}
.form--dark .form-select option { background: var(--c-bg-dark); }

/* Light variant */
.form--light .form-label { color: var(--c-text-muted); }
.form--light .form-input,
.form--light .form-select,
.form--light .form-textarea {
  background: #fff;
  border-color: var(--c-border);
  color: var(--c-text);
}
.form--light .form-input::placeholder,
.form--light .form-textarea::placeholder { color: var(--c-text-faint); }
.form--light .form-input:focus,
.form--light .form-select:focus,
.form--light .form-textarea:focus {
  border-color: var(--c-accent);
}

.form-input.is-error,
.form-select.is-error { border-color: #e85c3a !important; }

/* -------------------------------------------------------------
   NAVBAR — Floating Pill Island
------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100% - 2.5rem));
  height: auto;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  border-radius: 100px;
  z-index: 500;
  background: rgba(12,12,15,0.62);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition:
    transform         0.4s var(--ease-out),
    background        0.3s var(--ease-out),
    box-shadow        0.3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(12,12,15,0.93);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.5),
    0 0 0 1px rgba(224,92,26,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 2rem));
}

.nav > .wrap { max-width: none; padding-inline: 0; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
}
.nav__logo img,
.nav__logo object {
  height: 3rem;
  width: auto;
  pointer-events: none;
  display: block;
}

/* ---- Site wordmark (replaces broken SVG img) ---- */
.site-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  user-select: none;
  line-height: 1;
}
.site-wordmark__abbr {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.site-wordmark__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.5;
}
.site-wordmark--light .site-wordmark__abbr,
.site-wordmark--light .site-wordmark__name { color: #fff; }
.site-wordmark--dark .site-wordmark__abbr,
.site-wordmark--dark .site-wordmark__name  { color: var(--c-bg-dark); }

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  font-family: var(--f-display);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.72);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.is-current { color: var(--c-accent); }
.nav__links a.is-current {
  border-bottom: 1.5px solid var(--c-accent);
  padding-bottom: 2px;
}

/* Nav right cluster */
.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Nav CTA */
.nav__cta { padding: 0.6rem 1.25rem; font-size: 0.575rem; border-radius: 100px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 36px;
  height: 36px;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--c-text-light);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s;
}
.nav__hamburger span:nth-child(1) { width: 24px; }
.nav__hamburger span:nth-child(2) { width: 18px; }
.nav__hamburger span:nth-child(3) { width: 24px; }

.nav__hamburger.is-open span:nth-child(1) { width: 24px; transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { width: 24px; transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer — full-screen overlay */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: rgba(12,12,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.nav__drawer.is-open { opacity: 1; pointer-events: all; }

.nav__drawer a {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav__drawer a:hover { color: var(--c-accent); }

.nav__drawer .nav__lang {
  font-size: 1.2rem;
  color: rgba(247,244,239,0.5);
}

/* Lang toggle */
.nav__lang {
  font-family: var(--f-display-ar);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(247,244,239,0.5);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__lang:hover { color: var(--c-accent); }

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.footer {
  background: #090807;
  border-top: 1px solid var(--c-border-dark);
}

.footer__main {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand-logo {
}
.footer__brand-logo {
  padding: 0.5rem 0;
}
.footer__brand-logo img {
  height: 5rem;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.35);
  line-height: 1.75;
  max-width: 30ch;
}
.footer__brand-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(247,244,239,0.55);
  transition: color 0.2s;
}
.footer__brand-email:hover { color: var(--c-accent); }

.footer__col-title {
  font-family: var(--f-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.35);
  margin-bottom: 1.25rem;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer__col-links a {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.5);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer__col-links a:hover { color: var(--c-accent); }

.footer__bottom {
  border-top: 1px solid var(--c-border-dark);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.72rem;
  color: rgba(247,244,239,0.22);
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-links a {
  font-size: 0.72rem;
  color: rgba(247,244,239,0.22);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--c-accent); }

/* -------------------------------------------------------------
   SOCIAL ICONS
------------------------------------------------------------- */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, transform 0.2s;
}
.social-icons a:hover {
  color: var(--c-accent);
  transform: translateY(-2px);
  opacity: 1;
}
.social-icons svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Dark-on-light variant */
.social-icons--dark a { color: rgba(12,12,15,0.40); }
.social-icons--dark a:hover { color: var(--c-accent); }

/* -------------------------------------------------------------
   TABS COMPONENT
------------------------------------------------------------- */
.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
}
.tabs__btn {
  font-family: var(--f-display);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  color: var(--c-text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tabs__btn:hover { color: var(--c-text); }
.tabs__btn.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* Dark tab variant */
.tabs--dark .tabs__nav { border-color: var(--c-border-dark); }
.tabs--dark .tabs__btn { color: rgba(255,255,255,0.45); }
.tabs--dark .tabs__btn:hover { color: rgba(255,255,255,0.85); }
.tabs--dark .tabs__btn.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* -------------------------------------------------------------
   ACCORDION COMPONENT
------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--c-border); }
.accordion__item { border-bottom: 1px solid var(--c-border); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--f-display);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--c-text);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}
.accordion__trigger:hover { color: var(--c-accent); }

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform 0.25s, border-color 0.2s;
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 8px; height: 1.5px; }
.accordion__icon::after  { width: 1.5px; height: 8px; transition: transform 0.25s; }

.accordion__item.is-open .accordion__icon { border-color: var(--c-accent); color: var(--c-accent); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion__body {
  overflow: hidden;
  height: 0;
}
.accordion__body-inner {
  padding-bottom: 1.25rem;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--c-text-muted);
}

/* Dark accordion */
.accordion--dark { border-color: var(--c-border-dark); }
.accordion--dark .accordion__item { border-color: var(--c-border-dark); }
.accordion--dark .accordion__trigger { color: rgba(255,255,255,0.85); }
.accordion--dark .accordion__trigger:hover { color: var(--c-accent); }
.accordion--dark .accordion__body-inner { color: rgba(255,255,255,0.55); }

/* -------------------------------------------------------------
   STATUS BADGE
------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 1rem;
}
.badge--active {
  background: rgba(224,92,26,0.12);
  color: var(--c-accent);
  border: 1px solid rgba(224,92,26,0.25);
}
.badge--active::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.badge--upcoming {
  background: rgba(12,12,15,0.06);
  color: var(--c-text-muted);
  border: 1px solid rgba(12,12,15,0.10);
}
.badge--upcoming-light {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* -------------------------------------------------------------
   SECTION TYPOGRAPHY HELPERS
------------------------------------------------------------- */
.section-headline {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: var(--text-body);
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 62ch;
}

/* -------------------------------------------------------------
   NAV DRAWER CLOSE BUTTON
------------------------------------------------------------- */
.nav__drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255,255,255,0.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  transition: color 0.2s;
}
.nav__drawer-close:hover { color: #fff; }

/* -------------------------------------------------------------
   FOOTER — simplified 3-column layout (new pages)
------------------------------------------------------------- */
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--c-accent); }
.footer__social { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__social-label {
  font-family: var(--f-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* nav social icons — hide on mobile, appear in drawer */
.social-icons--nav { display: flex; }

/* -------------------------------------------------------------
   GOOGLE TRANSLATE — suppress default toolbar
   GT injects a sticky bar + pushes body down 39px. Kill it.
------------------------------------------------------------- */
.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }

body          { top: 0 !important; }
body.notranslate { }          /* no-translate sentinel class */

/* Hide GT branding that leaks into translated text */
font[color]   { color: inherit !important; }

/* -------------------------------------------------------------
   LANGUAGE SWITCHER
------------------------------------------------------------- */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Separator from social icons when inside the nav */
.nav__right .lang-switcher {
  border-left: 1px solid rgba(255,255,255,0.14);
  padding-left: 1rem;
  margin-left: 0.25rem;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-display);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.50);
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0.2rem 0;
  cursor: pointer;
}
.lang-switcher__btn:hover { color: var(--c-accent); }

.lang-switcher__caret {
  width: 8px;
  height: 5px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
.lang-switcher.is-open .lang-switcher__caret { transform: rotate(180deg); }

/* Dropdown panel */
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  left: auto;
  background: rgba(12,12,15,0.97);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 0.75rem;
  padding: 0.4rem;
  min-width: 6.5rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

/* RTL — flip dropdown to left-aligned */
[dir="rtl"] .lang-switcher__menu { right: auto; left: 0; }

.lang-switcher__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.8rem;
  font-family: var(--f-display);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.55);
  border-radius: 0.45rem;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.lang-switcher__option:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.lang-switcher__option.is-active { color: var(--c-accent); }

[dir="rtl"] .lang-switcher__option { text-align: right; }

/* Mobile drawer variant — centered, larger */
.lang-switcher--mobile { display: flex; flex-direction: column; align-items: center; margin-top: 0.5rem; }
.lang-switcher--mobile .lang-switcher__btn {
  font-size: 1rem;
  color: rgba(247,244,239,0.45);
  letter-spacing: 0.1em;
}
.lang-switcher--mobile .lang-switcher__menu {
  position: static;
  opacity: 1;
  pointer-events: all;
  transform: none;
  box-shadow: none;
  background: transparent;
  border: none;
  display: none;
  padding: 0.5rem 0;
  min-width: auto;
}
.lang-switcher--mobile.is-open .lang-switcher__menu { display: block; }
.lang-switcher--mobile .lang-switcher__option {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(247,244,239,0.45);
  background: transparent;
}
.lang-switcher--mobile .lang-switcher__option:hover { color: #fff; background: transparent; }
.lang-switcher--mobile .lang-switcher__option.is-active { color: var(--c-accent); }

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS — shared
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Founder/board photo — consistent aspect-ratio portrait */
.about-founder-card__photo,
.founder-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav {
    width: calc(100% - 1.5rem);
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    border-radius: 2rem;
  }
  .nav__links,
  .nav__right .nav__cta,
  .social-icons--nav { display: none; }
  .nav__hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand-desc { max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
