/* THEME TOKENS — default DARK, light via [data-theme="light"] */
:root {
  /* DARK (default when no data-theme="light") */
  --bg: #0b1020;
  --card: #101628;
  --text: #e6e9f2;
  --muted: #93a1b3;

  /* brand hues (keep your choices) */
  --brand: #37b24d;
  /* green */
  --brand-2: #37b24d;
  /* blue */

  /* normalized tokens used across your CSS */
  --primary: var(--brand);
  --primary-600: #2a8a3f;
  /* slightly darker green for gradients/shadows */

  --stroke: #2e5212;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* LIGHT override */
:root[data-theme="light"] {
  --bg: #ffffff;
  --card: #fff;
  --text: #0e1726;
  --muted: #5a6472;

  /* swap brand emphasis in light mode if you wish */
  --brand: #0b5ed7;
  /* blue primary in light */
  --brand-2: #0b5ed7;
  /* green secondary */

  --primary: var(--brand);
  --primary-600: #0b5ed7;
  /* darker blue */
  --stroke: #e6eaf0;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
}

/* All titles white in DARK (your setup: dark = default, light = [data-theme="light"]) */
:root:not([data-theme="light"]) h1,
:root:not([data-theme="light"]) h2,
:root:not([data-theme="light"]) h3,
:root:not([data-theme="light"]) h4,
:root:not([data-theme="light"]) h5,
:root:not([data-theme="light"]) h6,
:root:not([data-theme="light"]) .section-title,
:root:not([data-theme="light"]) .who__title,
:root:not([data-theme="light"]) .feature-pro__title,
:root:not([data-theme="light"]) .contact-cards__title,
:root:not([data-theme="light"]) #investor-title,
:root:not([data-theme="light"]) .card-body h3,
:root:not([data-theme="light"]) .tile h3,
:root:not([data-theme="light"]) .info h3,
:root:not([data-theme="light"]) .ccard__title {
  color: #fff !important;
}


#investor-financials-title,
#investor-shareinfo-title {
  color: #000 !important;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0
}

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, Segoe UI, Roboto, Arial
}

img {
  max-width: 100%;
  display: block
}


.tiny {
  font-size: .85rem;
  color: var(--muted)
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: #000;
  border-bottom: 1px solid var(--stroke)
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px
}

.brand img {
  height: 100%;
  max-height: 100px;
  /* optional cap */
  width: auto;
  object-fit: contain;
  margin-right: 0px;

}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  position: relative
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .2s
}

.nav-toggle span:nth-child(1) {
  top: 14px
}

.nav-toggle span:nth-child(2) {
  top: 21px
}

.nav-toggle span:nth-child(3) {
  top: 28px
}

.nav {
  margin-left: auto
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 18px
}

.menu a {
  color: #dfe8f5;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .2s, color .2s
}

.menu a:hover {
  background: #0f1a24
}



.site-header .menu > li .dropdown{
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 4px 0 0 10px;
  margin-bottom: 6px;
  display: none;                 /* ✅ hidden by default */
}
.site-header .menu > li.open > .dropdown{ display: block; }
html[dir="rtl"] .site-header .menu > li .dropdown{ padding: 4px 10px 0 0; }

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background: #0e1620;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: var(--shadow);
  display: none;
  padding: 8px
}

.has-children:hover>.dropdown {
  display: block
}

.dropdown a {
  display: block;
  padding: 10px 12px
}

/* Mobile & tablet */
@media (max-width: 992px) {
  .nav-toggle {
    display: block
  }

  .nav-row {
    min-height: 60px
  }

  /* Slide-in panel */
  .site-header .nav {
    position: fixed;
    left: 0; right: 0; top: var(--header-h, 64px);
    /* sits under header */
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: saturate(160%) blur(8px);
    border-top: 1px solid var(--stroke);

    /* animation props */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height .35s ease,
      opacity .25s ease,
      transform .35s ease;
  }

  /* OPEN state (JS toggles .is-open) */
.nav.is-open {
  max-height: calc(100vh - var(--header-h, 60px));
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

  /* menu list */
  .menu {
    flex-direction: column;
    padding: 10px 14px 18px;
    gap: 0;
  }

  .menu a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  /* show sub-items inline on mobile */
  .has-children>.dropdown {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 0 0 10px;
    margin-bottom: 6px;
  }

  /* Light theme variant */
  :root[data-theme="light"] .nav {
    background: rgba(255, 255, 255, .9);
  }

  /* RTL tweak */
  html[dir="rtl"] .has-children>.dropdown {
    padding: 4px 10px 0 0;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none !important;
    transform: none !important;
  }
}


.hero {
  padding: 72px 0;
  background: radial-gradient(1200px 500px at 10% -20%, rgba(55, 178, 77, .12), transparent), radial-gradient(900px 400px at 110% -10%, rgba(47, 137, 255, .12), transparent)
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow)
}

.btn.ghost {
  background: transparent;
  border: 1px solid #21415e
}

.btn.small {
  padding: 8px 14px;
  font-weight: 600
}

.strip {
  padding: 40px 0
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit
}

.card-media {
  height: 170px;
  background-size: cover;
  background-position: center
}

.card-body {
  padding: 14px
}

.card h3 {
  margin: 6px 0 6px
}

.page {
  padding: 40px 0
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.tile {
  display: block;
  padding: 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.feature .feature-media {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid var(--stroke)
}

.info-cards .info {
  display: block;
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.member {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 14px;
  text-align: center
}

.member img {
  border-radius: 12px;
  height: 220px;
  width: 100%;
  object-fit: cover
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;

  background: #fff;
  color: var(--text)
}

/* Only the Message textarea inside .full label */
label.full textarea[name="message"] {
  color: #000 !important;
  /* text is always black */
  caret-color: #000;
  /* cursor color */
}

/* Make placeholder readable with black text */
label.full textarea[name="message"]::placeholder {
  color: rgba(0, 0, 0, .55);
}

/* Keep autofill text black (Safari/Chrome) */
label.full textarea[name="message"]:-webkit-autofill {
  -webkit-text-fill-color: #000 !important;
}


.form label {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.form .full {
  grid-column: 1 / -1
}

.form.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.doc-list {
  display: grid;
  gap: 10px
}

.doc {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.stat {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px
}

.stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px
}

.brand-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center
}

.brand-media {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid var(--stroke)
}


.contact-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px
}

.map {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px
}



@media (max-width: 99px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .data-grid {
    grid-template-columns: 1fr 1fr
  }

  .brand-hero {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 620px) {

  .grid-3,
  .cards,
  .tiles,
  .grid-2,
  .team-grid,
  .data-grid {
    grid-template-columns: 1fr
  }
}

/* Sticky footer layout */
html, body { height: 100%; }
body{
  min-height: 100dvh;          /* fill the viewport */
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
main{ flex: 1 0 auto; }         /* main grows to push footer down */

main {
  flex: 1 0 auto;
}

/* Ensure the footer sits at the end of the column */




/* Subtle entrance for hero */
.hero {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .6s ease .15s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Stagger brand cards a bit */
.cards .card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .5s ease forwards;
}

.cards .card:nth-child(1) {
  animation-delay: .15s;
}

.cards .card:nth-child(2) {
  animation-delay: .28s;
}

.cards .card:nth-child(3) {
  animation-delay: .41s;
}

@media (prefers-reduced-motion: reduce) {

  .hero,
  .cards .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Base chevron */
.chevron {
  display: inline-block;
  margin-inline-start: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

/* Rotate on hover (desktop) */
.has-children:hover>a .chevron {
  transform: rotate(-135deg);
}

/* On mobile, rotate when parent .open is toggled (optional if you toggle class via JS) */
.has-children.open>a .chevron {
  transform: rotate(-135deg);
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  padding: 0;
  /* slider fills the section */
  min-height: 52vh;
  display: grid;
  place-items: stretch;
  isolation: isolate;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 52vh;
  min-height: 360px;
  border-bottom: 1px solid var(--stroke);
  background: var(--card);
}

.hero-slider .slides {
  display: flex;
  height: 100%;
  will-change: transform;
  transform: translateX(0%);
  transition: transform .6s ease;
}

.hero-slider .slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Overlay content */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15));
  pointer-events: none;
  /* text is visible but not blocking arrows */
}

:root[data-theme="light"] .hero-overlay {
  background: linear-gradient(0deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
}

.hero-overlay .container {
  pointer-events: auto;
}

/* CTAs clickable */

/* Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  border: 0;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .2s ease, opacity .2s ease;
  z-index: 2;
}

.hero-prev {
  left: 14px;
}

.hero-next {
  right: 14px;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0, 0, 0, .55);
}

:root[data-theme="light"] .hero-prev,
:root[data-theme="light"] .hero-next {
  background: rgba(255, 255, 255, .75);
  color: #0b0f14;
}

:root[data-theme="light"] .hero-prev:hover,
:root[data-theme="light"] .hero-next:hover {
  background: #fff;
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
  border-color: #fff;
}

:root[data-theme="light"] .hero-dots button {
  border-color: rgba(0, 0, 0, .4);
  background: rgba(0, 0, 0, .25);
}

:root[data-theme="light"] .hero-dots button.active {
  background: #0b0f14;
  border-color: #0b0f14;
}

/* Hero text spacing on top of slider */
.hero .container {
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero h1 {
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.hero p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero p {
  text-shadow: none;
}

/* Smaller viewports */
@media (max-width:940px) {
  .hero-slider {
    height: 46vh;
    min-height: 320px;
  }

  .hero .container {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* =========================
   Modern Theme Toggle (uses #themeToggle)
   ========================= */
#themeToggle {
  /* size & shape */
  width: 65px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04)), var(--card);
  /* layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* visuals */
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .04);
  cursor: pointer;
  padding: 0;
  outline: 0;
  position: relative;
  /* hide emoji text we set from JS; screen readers will still read aria-label */
  font-size: 0;
  line-height: 0;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .08s ease;
}

/* knob */
#themeToggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, .75) 60%, rgba(255, 255, 255, .6) 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .25),
    inset 0 0 0 1px rgba(0, 0, 0, .04);
  transform: translateX(0);
  transition: transform .28s ease;
}

/* subtle icon hints on the track (optional, no HTML needed) */
#themeToggle::before {
  content: "🌙  ☀️";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  /* visible despite font-size:0 on button */
  line-height: 1;
  opacity: .85;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}

/* hover/active/focus styles */
#themeToggle:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

#themeToggle:active {
  transform: scale(.98);
}

#themeToggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--brand) 35%, transparent),
    0 6px 18px rgba(0, 0, 0, .22);
}

/* Light mode track + move knob right */
:root[data-theme="light"] #themeToggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6)), #f5f7fb;
  border-color: #dfe7f1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .6);
}

:root[data-theme="light"] #themeToggle::after {
  transform: translateX(26px);
  background: radial-gradient(circle at 30% 30%, #fff, #f6f6f6 60%, #eeeeee 100%);
}

/* Dark mode track (implicit when data-theme != light) */
:root:not([data-theme="light"]) #themeToggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.08)), #1a2330;
  border-color: #213244;
}

/* RTL nicety: keep icons logical order (🌙 on right, ☀️ on left in Arabic) */
html[dir="rtl"] #themeToggle::before {
  content: "☀️  🌙";
}

/* --- HERO CENTERING --- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 900px);
  overflow: hidden;
}

/* Make slider fill hero (optional but nice) */
.hero-slider,
.hero-slider .slides,
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Center the overlay (vertical + horizontal) */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: clamp(16px, 3vw, 40px);
  z-index: 3;
  /* above images */
  text-align: center;
}

/* Limit line length + center */
.hero-overlay .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Center the CTAs in a tidy row */
.cta-row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

/* Keep slider arrows clickable above overlay (optional) */
.hero-prev,
.hero-next {
  position: relative;
  z-index: 4;
}

.hero-slider {
  z-index: 1;
}

/* Subtle dark veil for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .25));
  z-index: 2;
  /* sits under the overlay text */
}

/* Responsive type */
.hero-overlay h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  color: #fff;
}

.hero-overlay p {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255, 255, 255, .95);
}

/* Base arrow buttons */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  /* hide the text node and draw arrows via ::before so we can swap in RTL */
  font-size: 0;
}

.hero-prev::before,
.hero-next::before {
  font-size: 28px;
  line-height: 1;
  color: #fff;
  display: block;
}

/* LTR: positions + glyphs */
html[dir="ltr"] .hero-prev {
  left: 16px;
  right: auto;
}

html[dir="ltr"] .hero-next {
  right: 16px;
  left: auto;
}

html[dir="ltr"] .hero-prev::before {
  content: "‹";
}

/* left arrow */
html[dir="ltr"] .hero-next::before {
  content: "›";
}

/* right arrow */

/* RTL: positions + glyphs mirrored */
html[dir="rtl"] .hero-prev {
  right: 16px;
  left: auto;
}

html[dir="rtl"] .hero-next {
  left: 16px;
  right: auto;
}

html[dir="rtl"] .hero-prev::before {
  content: "›";
}

/* previous points right */
html[dir="rtl"] .hero-next::before {
  content: "‹";
}

/* next points left */

/* optional hover focus */
.hero-prev:hover,
.hero-next:hover {
  background: rgba(0, 0, 0, .6);
}

.hero-prev:focus-visible,
.hero-next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Arabic-friendly font stack */
html[lang="ar"],
:lang(ar) {
  font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Slightly larger headings + comfortable line height for Arabic */
html[lang="ar"] .hero-overlay h1,
:lang(ar) .hero-overlay h1 {
  font-size: clamp(30px, 5.8vw, 60px);
  line-height: 1.25;
  letter-spacing: 0;
  /* avoid tracking on Arabic */
}

html[lang="ar"] .hero-overlay p,
:lang(ar) .hero-overlay p {
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 1.7;
  letter-spacing: 0;
}

/* Buttons: a touch more padding for Arabic glyphs */
html[lang="ar"] .cta-row .btn,
:lang(ar) .cta-row .btn {
  padding-inline: 20px;
}

/* ===== WHO WE ARE ===== */
.who {
  position: relative;
  padding: clamp(32px, 6vw, 88px) 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 110, 253, .10), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(124, 58, 237, .10), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.who__inner.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.who__grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: 1.05fr .95fr;
}

@media (max-width:980px) {
  .who__grid {
    grid-template-columns: 1fr;
  }
}

/* Text */
.who__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--primary, #0d6efd);
  background: color-mix(in oklab, var(--primary, #0d6efd) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary, #0d6efd) 18%, transparent);
  padding: .35rem .6rem;
  border-radius: 999px;
  margin-bottom: 12px;
}

.who__title {
  font-size: clamp(26px, 4.8vw, 44px);
  line-height: 1.15;
  margin: 6px 0 12px;
  color: #0f172a;
}

.who__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.75;
  color: #334155;
  margin: 0 0 10px;
}

.who__note {
  color: #0b1320;
  font-weight: 600;
  margin: 8px 0 18px;
}

/* Stats */
.who__stats {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  flex-wrap: wrap;
  margin: 12px 0 22px;
}

.stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
}

.stat__num {
  font-size: clamp(22px, 4.6vw, 36px);
  font-weight: 800;
  color: var(--primary, #0d6efd);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat__label {
  color: #64748b;
  font-size: .9rem;
}

/* CTA */
.who__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(180deg, var(--primary, #0d6efd), var(--primary-600, #0b5ed7));
  color: #fff;
  box-shadow: 0 14px 30px color-mix(in oklab, var(--primary, #0d6efd) 28%, transparent);
  transition: transform .15s ease, box-shadow .2s ease;
}

.who__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px color-mix(in oklab, var(--primary, #0d6efd) 32%, transparent);
}

.who__cta:focus-visible {
  outline: 2px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* Media */
.who__media {
  position: relative;
  min-height: 420px;
}

.who__photo {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  height: 100%;
  background: var(--who-img, url('/assets/hero1.jpg')) center/cover no-repeat;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .25);
  border: 1px solid rgba(255, 255, 255, .6);
}

.who__ring {
  position: absolute;
  inset: -16px -18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--primary, #0d6efd) 12%, transparent), transparent 70%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

/* RTL support + Arabic-friendly type */
html[lang="ar"] {
  font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html[dir="rtl"] .who__grid {
  direction: rtl;
}

html[dir="rtl"] .who__media {
  order: -1;
}

/* put image first on wide screens */
@media (max-width:980px) {
  html[dir="rtl"] .who__media {
    order: initial;
  }
}

html[dir="rtl"] .who__title {
  letter-spacing: 0;
}

html[dir="rtl"] .who__lead {
  letter-spacing: 0;
  line-height: 1.9;
}


/* ===== WHO (photo-free) ===== */
.who {
  padding: clamp(32px, 6vw, 88px) 0;
  background:
    radial-gradient(1000px 480px at -10% -10%, rgba(13, 110, 253, .08), transparent 60%),
    radial-gradient(800px 420px at 110% 110%, rgba(124, 58, 237, .08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.who .container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Card */
.who__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-inline: auto;
  max-width: 1000px;
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  box-shadow: 0 24px 60px rgba(2, 6, 23, .08);
}

/* subtle top accent & soft glow */
.who__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #0d6efd), var(--primary-600, #0b5ed7));
}

.who__card::after {
  content: "";
  position: absolute;
  inset: -20% -10% -40% -10%;
  background: radial-gradient(closest-side, rgba(13, 110, 253, .08), transparent 70%);
  pointer-events: none;
}

.who__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--primary, #0d6efd);
  background: color-mix(in oklab, var(--primary, #0d6efd) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary, #0d6efd) 18%, transparent);
  padding: .35rem .6rem;
  border-radius: 999px;
  margin-bottom: 12px;
}

.who__title {
  font-size: clamp(26px, 4.8vw, 44px);
  line-height: 1.15;
  margin: 8px 0 12px;
  color: #0f172a;
}

.who__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.75;
  color: #334155;
  margin: 0 0 10px;
}

.who__note {
  color: #0b1320;
  font-weight: 600;
  margin: 10px 0 20px;
}

/* Stats */
.who__stats {
  display: grid;
  gap: clamp(12px, 2.2vw, 20px);
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  margin: 12px 0 22px;
}

@media (max-width:720px) {
  .who__stats {
    grid-template-columns: 1fr 1fr;
  }
}

.stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
}

.stat__num {
  font-size: clamp(22px, 4.6vw, 36px);
  font-weight: 800;
  color: var(--primary, #0d6efd);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat__label {
  color: #64748b;
  font-size: .9rem;
  margin-top: 6px;
}

/* CTA */
.who__cta-row {
  margin-top: 6px;
}

.who__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(180deg, var(--primary, #0d6efd), var(--primary-600, #0b5ed7));
  color: #fff;
  box-shadow: 0 14px 30px color-mix(in oklab, var(--primary, #0d6efd) 28%, transparent);
  transition: transform .15s ease, box-shadow .2s ease;
}

.who__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px color-mix(in oklab, var(--primary, #0d6efd) 32%, transparent);
}

.who__cta:focus-visible {
  outline: 2px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* RTL-friendly */
html[lang="ar"] {
  font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html[dir="rtl"] .who__title {
  letter-spacing: 0;
}

html[dir="rtl"] .who__lead {
  letter-spacing: 0;
  line-height: 1.9;
}



/* ===== BRANDS STRIP — CLASSIC (like before) ===== */
.strip {
  padding: clamp(28px, 6vw, 2px) 0;
}

.strip .section-title {
  margin: 0 0 clamp(16px, 3vw, 28px);
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.15;
  color: #0f172a;
}

/* Grid */
.cards.cards--classic {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card layout: horizontal */
.cards--classic .card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(2, 6, 23, .06);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.cards--classic .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, .10);
  border-color: color-mix(in oklab, var(--primary, #0d6efd) 22%, #e5e7eb);
}

.cards--classic .card:focus-visible {
  outline: 3px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* Media thumb */
.cards--classic .card-media {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

/* Body */
.cards--classic .card-body {
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cards--classic .card-body h3 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 22px);
  color: #0b1320;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cards--classic .card-body p {
  margin: 0;
  color: #64748b;
  font-size: .98rem;
  line-height: 1.55;
}

/* Direction-aware chevron after heading */
.cards--classic .card-body h3::after {
  content: "›";
  font-weight: 700;
  opacity: .6;
  transform: translateY(1px);
}

html[dir="rtl"] .cards--classic .card-body h3::after {
  content: "‹";
}

/* Mobile stack */
@media (max-width:600px) {
  .cards--classic .card {
    align-items: flex-start;
  }

  .cards--classic .card-media {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
}

/* Global safety + sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Side padding that adapts with viewport */
  --edge: clamp(16px, 5vw, 32px);
}

/* Reusable container (center + side padding) */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* Ensure the strip also has vertical padding */
.strip {
  padding-block: clamp(28px, 6vw, 2px);
}

/* Classic cards: prevent horizontal overflow on tiny screens */
.cards {
  min-width: 0;
}

.cards--classic .card {
  min-width: 0;
}

.cards--classic .card-body {
  min-width: 0;
}

/* Optional: if any section is full-width without .container, give it side padding */
.section--padded {
  padding-inline: var(--edge);
}

/* iOS safe area (notch) */
@supports(padding:max(0px)) {
  .container {
    padding-inline: max(var(--edge), env(safe-area-inset-left), env(safe-area-inset-right));
  }
}

/* ===== GROW FEATURE (Pro) ===== */
.feature-pro {
  position: relative;
  padding-block: clamp(28px, 6vw, 80px);
}

.feature-pro__grid {
  display: grid;
  gap: clamp(18px, 3.5vw, 36px);
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

@media (max-width: 980px) {
  .feature-pro__grid {
    grid-template-columns: 1fr;
  }
}

/* Card (glass + gradient border) */
.feature-pro__card {
  position: relative;
  isolation: isolate;
  border-radius: 24px;
  padding: clamp(20px, 3.8vw, 36px);
  background:
    linear-gradient(180deg, #ffffff, #f9fbff) padding-box,
    linear-gradient(135deg, rgba(13, 110, 253, .35), rgba(124, 58, 237, .35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 60px rgba(2, 6, 23, .08);
}

.feature-pro__card::after {
  /* subtle grid/spotlight */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(800px 400px at 10% -10%, rgba(13, 110, 253, .10), transparent 60%),
    radial-gradient(700px 360px at 110% 110%, rgba(124, 58, 237, .10), transparent 60%);
}

/* Text */
.feature-pro__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--primary, #0d6efd);
  background: rgba(13, 110, 253, .10);
  border: 1px solid rgba(13, 110, 253, .18);
  padding: .35rem .6rem;
  border-radius: 999px;
  margin-bottom: 10px;
}

.feature-pro__title {
  margin: 6px 0 10px;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.15;
  color: #0f172a;
}

.feature-pro__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: #334155;
  line-height: 1.75;
  margin: 0 0 14px;
}

/* Benefits */
.feature-pro__benefits {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

@media (max-width:680px) {
  .feature-pro__benefits {
    grid-template-columns: 1fr;
  }
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #0b1320;
}

.benefit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: var(--primary, #0d6efd);
  stroke-width: 3;
  fill: none;
  margin-top: 3px;
}

.benefit span {
  color: #1f2937;
}

/* CTA */
.feature-pro__cta {
  margin-top: 6px;
}

.feature-pro .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, var(--primary, #0d6efd), var(--primary-600, #0b5ed7));
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 110, 253, .28);
  transition: transform .15s ease, box-shadow .2s ease;
}

.feature-pro .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(13, 110, 253, .32);
}

.feature-pro .btn:focus-visible {
  outline: 2px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* Media */
.feature-pro__media {
  position: relative;
}

.feature-pro__photo {
  width: 100%;
  aspect-ratio: 16/9;
  /* ensure it has height */
  background-image: var(--feature-img);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  transition: opacity .35s ease;
  opacity: 1;
}

.feature-pro__photo.is-fading {
  opacity: 0;
}

.fp-prev,
.fp-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 22px;
  line-height: 42px;
}

.fp-prev {
  left: 12px;
}

.fp-next {
  right: 12px;
}

.fp-prev:focus-visible,
.fp-next:focus-visible {
  outline: 2px solid var(--ring, rgba(13, 110, 253, .35));
}

.fp-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.fp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .5);
}

.fp-dot.is-active {
  background: #fff;
}


.feature-pro__ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 16px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .4) inset;
}




/* RTL */
html[dir="rtl"] .feature-pro__grid {
  direction: rtl;
}

html[dir="rtl"] .feature-pro__photo {
  transform: perspective(1200px) rotateY(6deg);
}

html[dir="rtl"] .feature-pro__media:hover .feature-pro__photo {
  transform: perspective(1200px) rotateY(2deg) translateY(-2px) scale(1.01);
}

/* Arabic-friendly font sizing */
html[lang="ar"] .feature-pro__lead {
  letter-spacing: 0;
  line-height: 1.9;
}

/* ===== INVESTOR SECTION (modern) ===== */
.container.info-cards {
  /* scope just this section */
  margin-block: clamp(20px, 4vw, 40px);
}

/* Title */
.container.info-cards #investor-title {
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.15;
  color: #0f172a;
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

.container.info-cards #investor-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}

html[dir="rtl"] .container.info-cards #investor-title::after {
  left: auto;
  right: 0;
}

/* Grid of tiles */
.container.info-cards .tiles {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Tile shell */
.container.info-cards .tile {
  --accent: var(--primary, #0d6efd);
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: clamp(16px, 2.6vw, 22px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff) padding-box,
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 45%, transparent), rgba(124, 58, 237, .35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 36px rgba(2, 6, 23, .08);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  isolation: isolate;
  min-height: 148px;
}

/* Different accent for the second card */
.container.info-cards .tiles .tile:nth-child(2) {
  --accent: #7c3aed;
}

/* Decorative glow */
.container.info-cards .tile::before {
  content: "";
  position: absolute;
  inset: -10% -14% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/* Hover/focus */
.container.info-cards .tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .12);
  border-color: color-mix(in oklab, var(--accent) 32%, transparent);
}

.container.info-cards .tile:focus-visible {
  outline: 3px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* Title row: add icon badge without HTML changes */
.container.info-cards .tile h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #0b1320;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* LTR badge on the left */
html[dir="ltr"] .container.info-cards .tile h3 {
  padding-left: 36px;
}

html[dir="ltr"] .container.info-cards .tile h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(2, 6, 23, .06);
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--accent) 65%, transparent);
}

/* RTL badge on the right */
html[dir="rtl"] .container.info-cards .tile h3 {
  padding-right: 36px;
}

html[dir="rtl"] .container.info-cards .tile h3::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(2, 6, 23, .06);
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--accent) 65%, transparent);
}

/* Direction-aware chevron after heading */
.container.info-cards .tile h3::after {
  content: "›";
  opacity: .6;
  transform: translateY(1px);
  transition: transform .18s ease, opacity .18s ease;
}

.container.info-cards .tile:hover h3::after {
  transform: translate(6px, 1px);
  opacity: .9;
}

html[dir="rtl"] .container.info-cards .tile h3::after {
  content: "‹";
}

html[dir="rtl"] .container.info-cards .tile:hover h3::after {
  transform: translate(-6px, 1px);
  opacity: .9;
}

/* Body copy */
.container.info-cards .tile p {
  margin: 0;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Icons via CSS masks (no extra markup) */
.container.info-cards .tiles .tile:nth-child(1) h3::before {
  /* Financials: document bar */
  background-color: color-mix(in oklab, var(--accent) 95%, white);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="black"><path d="M7 4h6l4 4v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm6 0v4h4"/><path d="M9 13h6M9 17h6M9 9h2"/></svg>') no-repeat center / 16px 16px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="black"><path d="M7 4h6l4 4v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm6 0v4h4"/><path d="M9 13h6M9 17h6M9 9h2"/></svg>') no-repeat center / 16px 16px;
}

.container.info-cards .tiles .tile:nth-child(2) h3::before {
  /* Share Info: chart up */
  background-color: color-mix(in oklab, var(--accent) 95%, white);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="black"><path d="M3 20h18M6 16l4-4 3 3 6-6M15 9h6v6"/></svg>') no-repeat center / 16px 16px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="black"><path d="M3 20h18M6 16l4-4 3 3 6-6M15 9h6v6"/></svg>') no-repeat center / 16px 16px;
}

/* Edge padding so nothing touches the screen */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
}

@supports(padding:max(0px)) {
  .container {
    padding-inline: max(clamp(16px, 5vw, 32px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
}

/* Stop the old helper from interfering */
.container.grid-3.info-cards {
  display: block;
}

/* section itself shouldn't be a grid */

/* Force exactly two columns on ≥600px */
.container.info-cards .tiles {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: 1fr 1fr;
}

@media (max-width:600px) {
  .container.info-cards .tiles {
    grid-template-columns: 1fr;
  }
}


/* Smooth anchor scrolling (nice to have) */
html {
  scroll-behavior: smooth;
}

/* Scroll-to-top button */
.back-to-top {
  --size: 46px;
  --edge: clamp(14px, 3.2vw, 22px);
  position: fixed;
  inset: auto var(--edge) clamp(16px, 3.2vw, 24px) auto;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .55), transparent 60%) padding-box,
    linear-gradient(180deg, var(--primary, #0d6efd), var(--primary-600, #0b5ed7)) border-box;
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 110, 253, .28);
  cursor: pointer;
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
  /* progress ring */
  background-image:
    conic-gradient(var(--primary, #0d6efd) calc(var(--p, 0)*1deg), rgba(255, 255, 255, .18) 0),
    radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .55), transparent 60%);
  background-clip: content-box, padding-box;
  padding: 2px;
  /* ring thickness */
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow: 0 18px 44px rgba(13, 110, 253, .34);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--ring, rgba(13, 110, 253, .35));
  outline-offset: 3px;
}

/* Arrow icon */
.back-to-top svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* Respect safe areas + RTL flips side */
@supports(padding:max(0px)) {
  .back-to-top {
    right: max(var(--edge), env(safe-area-inset-right));
  }
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: max(clamp(14px, 3.2vw, 22px), env(safe-area-inset-left, 0px));
}

/* Larger touch target on mobile */
@media (max-width: 480px) {
  .back-to-top {
    --size: 52px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .back-to-top,
  .back-to-top.is-visible {
    transition: none;
  }
}


/* Full-width variant */
:root {
  --edge: clamp(16px, 5vw, 48px);
}

/* safe side padding */

.who--full {
  padding: 0;
}

/* section itself becomes full-bleed */
.who--full .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  /* we'll pad the card instead */
}

/* Make the card full-bleed with comfy side padding */
.who--full .who__card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  /* generous vertical + responsive side padding */
  padding: clamp(32px, 6vw, 96px) var(--edge);
  /* optional full-bleed background */
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(13, 110, 253, .08), transparent 60%),
    radial-gradient(900px 480px at 110% 110%, rgba(124, 58, 237, .08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Keep content nicely centered with a max line length on big desktops */
.who--full .who__card>* {
  max-width: 1100px;
  margin-inline: auto;
}

.who--full .who__stats {
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
}

#who-we-are {
  scroll-margin-top: var(--header-height, 80px);
}

.who--full {
  border-block: 1px solid rgba(2, 6, 23, .06);
  box-shadow: inset 0 20px 40px -40px rgba(2, 6, 23, .12),
    inset 0 -20px 40px -40px rgba(2, 6, 23, .12);
}


/* ===== CONTACT CARDS (no form) ===== */
.contact-cards {
  margin-block: clamp(28px, 6vw, 80px);
}

.contact-cards__title {
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.15;
  color: #0f172a;
}

.contact-cards__grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Card shell */
.ccard {
  position: relative;
  border-radius: 20px;
  padding: clamp(16px, 2.6vw, 22px);
  background:
    linear-gradient(180deg, #ffffff, #fbfdff) padding-box,
    linear-gradient(135deg, rgba(13, 110, 253, .35), rgba(124, 58, 237, .35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 40px rgba(2, 6, 23, .07);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
  isolation: isolate;
}

.ccard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .12);
  border-color: color-mix(in oklab, #0d6efd 32%, transparent);
}

/* Typography */
.ccard__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #0b1320;
}

.ccard__text {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.ccard__link {
  color: #0b1320;
  text-decoration: none;
}

.ccard__link:hover {
  text-decoration: underline;
}

/* Icons via CSS mask (no extra markup) */
.ccard {
  padding-inline-start: 44px;
}

.ccard::before {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-start: 14px;
  width: 24px;
  height: 24px;
  background: #0d6efd;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ccard--address::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21s-6-5.33-6-10a6 6 0 1 1 12 0c0 4.67-6 10-6 10Zm0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21s-6-5.33-6-10a6 6 0 1 1 12 0c0 4.67-6 10-6 10Zm0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></svg>') no-repeat center;
}

.ccard--email::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>') no-repeat center;
}

.ccard--phone::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>') no-repeat center;
}

.ccard--hours::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7v5l3 3M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7v5l3 3M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>') no-repeat center;
}

/* RTL spacing */
html[dir="rtl"] .ccard {
  padding-inline-start: 16px;
  padding-inline-end: 44px;
}

html[dir="rtl"] .ccard::before {
  inset-inline-start: auto;
  inset-inline-end: 14px;
}

/* Investor title underline */
#investor-title {
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

#investor-title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  /* left:0; right:0 in LTR & RTL */
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}

/* Contacts title underline (contact-cards version) */
.contact-cards__title {
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

.contact-cards__title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}

/* If you’re using the form-based contact section instead, target #contact-title */
#contact-title {
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

#contact-title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}


/* === THEME FIXES: WHO section (works in light & dark) === */

/* Card + section background use tokens instead of hard-coded white */
.who,
.who--full .who__card {
  background:
    radial-gradient(1100px 520px at 10% -10%, color-mix(in oklab, var(--primary) 10%, transparent), transparent 60%),
    radial-gradient(900px 480px at 110% 110%, color-mix(in oklab, #7c3aed 10%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in oklab, var(--card) 95%, var(--bg)), var(--card)) !important;
}

/* The card surface & border follow theme tokens */
.who__card {
  background: var(--card) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Titles/paragraphs use theme text colors */
.who__title {
  color: var(--text) !important;
}

.who__lead,
.who__note {
  color: var(--muted) !important;
}

/* Stats cards follow theme too (were #fff / #e5e7eb) */
.who__stats .stat {
  background: var(--card) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow);
}

.who__stats .stat__num {
  color: var(--primary) !important;
}

.who__stats .stat__label {
  color: var(--muted) !important;
}

/* Keep the top accent bar, but make it theme-friendly */
.who__card::before {
  background: linear-gradient(90deg, var(--primary), color-mix(in oklab, var(--primary) 70%, var(--brand-2))) !important;
}

/* ===== CONTACT (flat, no boxes) ===== */
.contact-cards--flat .contact-cards__grid {
  display: grid;
  gap: clamp(10px, 2vw, 16px) clamp(16px, 3vw, 28px);
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

@media (max-width: 720px) {
  .contact-cards--flat .contact-cards__grid {
    grid-template-columns: 1fr;
  }
}

/* Remove card chrome */
.contact-cards--flat .ccard {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;

  display: grid;
  grid-template-columns: 28px 1fr;
  /* icon + content */
  align-items: start;
  column-gap: 12px;
  row-gap: 4px;
}

/* Icon */
.contact-cards--flat .ccard::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 4px;
  background: var(--primary);
  -webkit-mask-size: 22px 22px;
  mask-size: 22px 22px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.contact-cards--flat .ccard--address::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21s-6-5.33-6-10a6 6 0 1 1 12 0c0 4.67-6 10-6 10Zm0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21s-6-5.33-6-10a6 6 0 1 1 12 0c0 4.67-6 10-6 10Zm0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></svg>');
}

.contact-cards--flat .ccard--email::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>');
}

.contact-cards--flat .ccard--phone::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>');
}

.contact-cards--flat .ccard--hours::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7v5l3 3M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7v5l3 3M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>');
}

/* Titles & text */
.contact-cards--flat .ccard__title {
  grid-column: 2;
  /* next to icon */
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text);
  font-weight: 700;
}

.contact-cards--flat .ccard__text {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-cards--flat .ccard__link {
  color: var(--text);
  text-decoration: none;
  grid-column: 2;
}

.contact-cards--flat .ccard__link:hover {
  text-decoration: underline;
}

/* Optional: soft section dividers (no boxes) */
.contact-cards--flat .contact-cards__grid {
  border-top: 1px solid color-mix(in oklab, var(--stroke) 50%, transparent);
}

.contact-cards--flat .ccard {
  padding-block: 12px !important;
  border-bottom: 1px solid color-mix(in oklab, var(--stroke) 50%, transparent);
}

.contact-cards--flat .ccard:last-child {
  border-bottom: 0;
}

/* RTL tweaks */
html[dir="rtl"] .contact-cards--flat .ccard {
  grid-template-columns: 1fr 28px;
  /* content then icon on the right */
}

html[dir="rtl"] .contact-cards--flat .ccard::before {
  grid-column: 2;
  justify-self: end;
}

html[dir="rtl"] .contact-cards--flat .ccard__title,
html[dir="rtl"] .contact-cards--flat .ccard__text,
html[dir="rtl"] .contact-cards--flat .ccard__link {
  grid-column: 1;
}

/* Investor title (fixed: no trailing comma) */
#investor-title {
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

#investor-title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  /* LTR/RTL safe */
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}

/* Our Brands title underline */
#home-brands {
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}

#home-brands::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}




/* Financials: details list */
.fs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.fs-year summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.fs-year[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.year-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.chev {
  transition: transform .25s ease;
}

.fs-year[open] .chev {
  transform: rotate(180deg);
}

.fs-items {
  border: 1px solid var(--stroke);
  border-top: 0;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 10px;
  background: var(--card);
}

.fs-card {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg);
}

.fs-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-title {
  font-weight: 700;
}

.fs-meta {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: .78rem;
}

.fs-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn.btn--primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
}

/* Board report table */
.br-table-wrap {
  overflow: auto;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--card);
}

.br-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
}

.br-table th,
.br-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  text-align: center;
}

.br-table thead th {
  background: color-mix(in oklab, var(--card) 92%, var(--bg));
}

.br-title-row th {
  font-size: 1.1rem;
  text-align: left;
}

.br-years-row th:first-child {
  text-align: left;
}

.br-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.br-icon {
  width: 22px;
  height: 22px;
}

.br-na {
  color: var(--muted);
}



/* visually hidden but accessible */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* tidy section head when hero exists */
.section-head--right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 6px 0 16px;
}

/* optional: soften button density */
.fs-actions .btn {
  padding: 10px 14px;
  border-radius: 999px;
}



/* ===== IR CARD — clean & minimal ===== */
.ir-card {
  --accent: var(--primary, #0d6efd);
  --accent-2: #37b24d;
  background: var(--card, #fff);
  border: 1px solid var(--stroke, #e6eaf0);
  border-radius: 16px;
  padding: clamp(18px, 2.8vw, 26px);
  box-shadow: 0 6px 24px rgba(2, 6, 23, .06);
  overflow: hidden; 
  box-sizing: border-box; 
}

/* header */
.ir-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;             /* key */
  min-width: 0;                /* fix flex overflow */
}

.ir-title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--text, #0e1726);
  position: relative;
  display: inline-block;
  padding-inline: 4px;
}

.ir-title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7c3aed 60%, transparent);
  border-radius: 3px;
}

/* response chip */
.chip {
  display: inline-block;
  font-size: .85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--card, #fff) 70%, #e6eaf0);
  border: 1px solid var(--stroke, #e6eaf0);
  color: var(--text, #0e1726);
}

/* body text */
.ir-text {
  margin: 8px 0 12px;
  color: var(--muted, #5a6472);
}

/* actions */
.ir-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* pills: clean outline buttons */
.ir-pill {
  --c: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--c);
  color: var(--c);
  background: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}

.ir-pill:hover {
  background: var(--c);
  color: #fff;
  transform: translateY(-1px);
}

.ir-pill:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--c) 35%, transparent);
  outline-offset: 3px;
}

/* accents */
.ir-pill.ir-pill--email {
  --c: var(--primary, #0d6efd);
}

.ir-pill.ir-pill--phone {
  --c: var(--accent-2, #37b24d);
}

/* simple icons via CSS masks (no extra markup) */
.ir-pill::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ir-pill--email::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 6h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm0 2 8 5 8-5"/></svg>');
}

.ir-pill--phone::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M22 16.92v2a2 2 0 0 1-2.18 2 20 20 0 0 1-8.72-3.21 19.86 19.86 0 0 1-6-6A20 20 0 0 1 2.92 4.18 2 2 0 0 1 4.92 2h2a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.6a2 2 0 0 1-.45 2.11L8 9a16 16 0 0 0 7 7l.57-1.05a2 2 0 0 1 2.11-.45c.83.26 1.7.46 2.6.58A2 2 0 0 1 22 16.92Z"/></svg>');
}

/* dark mode */
:root[data-theme="dark"] .ir-card {
  background: #0f1622;
  border-color: #223345;
  box-shadow: none;
}

:root[data-theme="dark"] .ir-title {
  color: #eef2f7;
}

:root[data-theme="dark"] .chip {
  background: #121c29;
  border-color: #263347;
  color: #e6eef8;
}

:root[data-theme="dark"] .ir-text {
  color: #a8b4c4;
}

:root[data-theme="dark"] .ir-pill:hover {
  color: #fff;
}

/* RTL */
html[dir="rtl"] .ir-title::after {
  inset-inline: auto 0;
}

/* small screens */
@media (max-width:520px) {
  .ir-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ir-actions {
    gap: 8px;
  }

  .ir-pill {
    width: 100%;
    justify-content: center;
  }
}


/* ///////////////////////////*/

/* Slider shell */
.hero-slider {
  position: relative;
  overflow: hidden;
}

/* Track = row of slides */
.hero-slider .slides {
  display: flex;
  /* <<< critical */
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .5s ease;
  will-change: transform;
}

/* Each slide occupies 100% width */
.hero-slider .slide {
  flex: 0 0 100%;
}

/* Image sizing */
.hero-slider .slide img {
  width: 100%;
  height: clamp(260px, 800vh, 680px);
  object-fit: cover;
  display: block;
}

/* Scoped polish (uses your tokens if present) */
.apply-page {
  width: min(1100px, 92vw);
  margin-inline: auto;
  padding-block: clamp(20px, 4vw, 36px);
}

.apply-head h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.6vw, 38px);
}

.apply-head p {
  margin: 0 0 18px;
  color: var(--muted, #667085);
}

.apply-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.4fr .9fr;
}

@media (max-width:900px) {
  .apply-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.card .pad {
  padding: clamp(18px, 3.2vw, 26px);
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width:720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border, #e5e7eb);
  background: var(--bg-soft, #fff);
  color: var(--ink, #111827);
  transition: border-color .15s, box-shadow .15s;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary, #0d6efd);
  box-shadow: 0 0 0 .2rem var(--ring, rgba(13, 110, 253, .35));
}

.full {
  grid-column: 1 / -1;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px dashed var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--bg-soft, #fff);
}

.file-row input[type=file] {
  display: none;
}

.file-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--primary, #0d6efd);
  color: #fff;
}

.file-name {
  color: var(--muted, #667085);
  font-size: 13px
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--primary, #0d6efd);
  color: #fff;
  font-weight: 700;
}

.btn.ghost {
  background: transparent;
  color: #e8eaed;
  border: 1px solid;
  color: #fff;
}

.note {
  color: var(--muted, #667085);
  font-size: 13px
}

.side h3 {
  margin-top: 0;
}

/* Alerts: hidden by default; visible when .show is present */
.alert {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s ease;
}

/* Force visibility when shown (beats stubborn rules) */
.alert.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.alert.ok {
  background: rgba(22, 163, 74, .1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, .25);
}

.alert.err {
  background: rgba(239, 68, 68, .1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .25);
}


/* Inline form notice */
.notice {
  --bg: rgba(22, 163, 74, .08);
  --bd: rgba(22, 163, 74, .35);
  --fg: #166534;
  /* green-700 */
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: start;
  margin: 0 0 14px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, transform .25s ease, max-height .35s ease;
}

.notice.is-open {
  opacity: 1;
  transform: translateY(0);
  max-height: 160px;
  /* enough for 2 lines; grows due to padding */
}

.notice.err {
  --bg: rgba(239, 68, 68, .08);
  --bd: rgba(239, 68, 68, .35);
  --fg: #991b1b;
  /* red-800 */
}

.notice__icon {
  inline-size: 20px;
  block-size: 20px;
  border-radius: 999px;
  margin-top: 2px;
  background:
    radial-gradient(circle at 50% 50%, currentColor 60%, transparent 61%) no-repeat;
  color: currentColor;
  opacity: .9;
}

.notice.ok .notice__icon {
  color: #16a34a;
}

/* green-600 */
.notice.err .notice__icon {
  color: #ef4444;
}

/* red-500 */

.notice__text {
  font-weight: 600;
  line-height: 1.35;
}

.notice__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  opacity: .7;
}

.notice__close:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .notice,
  .notice.is-open {
    transition: none;
  }
}

/* Email + phone links in the office card */
.officeemail,
.officelan {
  text-decoration: none !important;
  /* remove underline */
  color: var(--primary, #0b5ed7);
  /* brand color (fallback blue) */
  font-weight: 600;
  display: inline-block;
  /* nicer focus ring + spacing */
  padding: 2px 0;
  word-break: break-word;
  /* email wraps nicely on mobile */
}

/* Keep same color after visit */
.officeemail:visited,
.officelan:visited {
  color: var(--primary, #0b5ed7);
}

/* Subtle hover (still no underline) */
.officeemail:hover,
.officelan:hover {
  text-decoration: none;
  filter: brightness(1.1);
}

/* Keyboard focus ring */
.officeemail:focus-visible,
.officelan:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reset any global "label > span { display:block }" just for this label */
label.consent > span { display: inline; }

/* Robust alignment: checkbox + text on one line, wrap text nicely */
label.consent{
  display: grid;
  grid-template-columns: 1.05rem auto; /* checkbox width | text */
  align-items: center;
  column-gap: .5rem;
  line-height: 1.5;
  cursor: pointer;
  margin: .5rem 0 1rem;
}

/* Checkbox sizing + tiny optical nudge */
label.consent input[type="checkbox"]{
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;               /* kill default offsets */
  align-self: start;       /* keeps top aligned if text wraps to 2+ lines */
}

/* Link styling */
label.consent a{
  font-weight: 600;
  text-underline-offset: 2px;
}

/* RTL support */
html[dir="rtl"] label.consent{ direction: rtl; }

/*Humbergur menu*/

/* Ensure header sits above hero/slider */
.site-header { position: sticky; top: 0; z-index: 1000; }

/* When body has .no-scroll, stop background scrolling */
.no-scroll { overflow: hidden; }

/* ===== Mobile / Tablet only ===== */
@media (max-width: 992px){
  .site-header .nav{
    position: fixed;
    left: 0; right: 0; top: var(--header-h, 64px);
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: saturate(160%) blur(8px);
    border-top: 1px solid var(--stroke);
    max-height: 0;
    overflow: hidden;            /* closed */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, transform .35s ease;
    z-index: 3000;
  }
  /* Show burger on small screens */
  .nav-toggle{
    display: inline-flex !important;
    width: 44px; height: 44px;
    align-items: center; justify-content: center; flex-direction: column;
    gap: 5px; border: 1px solid var(--border,#e5e7eb); border-radius: 10px;
    background: transparent; color: inherit; z-index: 1002; /* above panel */
  }
  .nav-toggle span{
    width: 22px; height: 2px; background: #fff; border-radius: 999px;
    transition: transform .25s ease, opacity .2s ease, width .2s 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; width: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  /* Slide-down nav panel */
  .site-header .nav{
    position: fixed !important;
    left: 0; right: 0; top: var(--header-h, 64px);
    background: var(--card,#fff);
    border-top: 1px solid var(--border,#e5e7eb);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    transform: translateY(-120%);
    transition: transform .25s ease;
    z-index: 1001;           /* below burger, above page */
    pointer-events: none;    /* closed */
  }
  .site-header .nav.is-open{
    max-height: calc(100dvh - var(--header-h, 64px));
    overflow: auto;               /* ✅ allow scroll */
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-bottom: env(safe-area-inset-bottom, 12px); /* iOS notch */
  }

  /* Vertical menu inside panel */
  .site-header .menu{
    list-style: none; margin: 0; padding: .5rem .75rem;
    display: flex; flex-direction: column; gap: 0;
  }
  .site-header .menu > li > a{ display:block; padding: .9rem .5rem; text-decoration:none; }
}

/* If something else was covering the header clicks */
.hero, .subhero { position: relative; z-index: 0; }




/*////////////////////////////////*/

/* =========================
   DWF — About Page Styles
   (uses global tokens: --bg, --card, --text, --muted, --primary, --radius, --shadow)
   ========================= */

/* sensible fallbacks if tokens aren’t defined elsewhere */
:root{
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --border: #e5e7eb;
}

/* generic section + headings */
.section{padding:clamp(32px,5vw,72px) 0}
.section > h2{
  margin:0 0 1rem;
  font-size:clamp(1.35rem,1.1rem + 1.2vw,2rem);
  letter-spacing:-.015em;
  color:var(--text);
}

/* =========================
   STATS
   ========================= */
.section.stats{
  background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0));
}
.stats__grid{
  width:min(1100px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.stat{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px 18px;
  text-align:center;
  box-shadow:var(--shadow);
}
.stat__number{
  font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);
  font-weight:800;
  line-height:1.1;
  color:var(--text);
  letter-spacing:-.02em;
}
.stat__label{
  margin-top:.4rem;
  color:var(--muted);
  font-weight:600;
  font-size:.95rem;
}

/* =========================
   MISSION (about-grid)
   ========================= */
.section.about-grid{
  width:min(1100px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(18px,3vw,36px);
  align-items:center;
  
}
.about-grid__text h2{color:var(--text); margin-bottom:.5rem}
.about-grid__text p{color:var(--muted); margin:0 0 1rem; font-size:1.02rem}

/* checklist with masked check dot */
.checklist{list-style:none; margin:1rem 0 0; padding:0}
.checklist li{
  position:relative;
  padding-inline-start:1.6rem;
  color:var(--text);
  margin:.35rem 0;
}
.checklist li::before{
  content:"";
  position:absolute; inset-inline-start:0; top:.15rem;
  width:1rem; height:1rem; border-radius:50%;
  background:var(--primary);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/80% no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/80% no-repeat;
}
.about-grid__media img{
  width:100%; display:block; object-fit:cover;
  border-radius:var(--radius); box-shadow:var(--shadow);
}

/* =========================
   VISION • MISSION (vm)
   ========================= */
.section.vm .container{width:min(1100px,92vw); margin:0 auto}
.vm__grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.vm__card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 4px);
  padding:22px 20px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.vm__card:hover{transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,0,0,.18)}
.vm__icon{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center; margin-bottom:.6rem;
  font-size:1.2rem; background:rgba(55,178,77,.12);
}
.vm__card h3{margin:.1rem 0 .4rem; font-size:1.15rem; color:var(--text)}
.vm__card p{margin:0; color:var(--muted); line-height:1.65}

/* =========================
   TIMELINE
   ========================= */
.section.timeline{width:min(1100px,92vw); margin:0 auto}
.timeline__list{
  list-style:none; margin:1.25rem 0 0; padding:0; position:relative;
}
.timeline__list::before{
  content:""; position:absolute; top:0; bottom:0; left:12px; width:2px;
  background:rgba(125,125,125,.25);
}
.timeline__item{
  position:relative;
  display:grid; grid-template-columns:minmax(140px,180px) 1fr;
  gap:10px 18px; padding-left:28px; margin-bottom:18px;
}
.timeline__item::before{
  content:""; position:absolute; left:8px; top:.65rem;
  width:10px; height:10px; border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 4px rgba(55,178,77,.20);
}
.timeline__item time{
  font-weight:700; color:var(--text); letter-spacing:.01em
}
.timeline__item p{margin:0; color:var(--muted); line-height:1.6}

/* =========================
   VALUES
   ========================= */
.section.values{width:min(1100px,92vw); margin:0 auto}
.values__grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
.value{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.value:hover{transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,0,0,.18)}
.value__icon{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center; font-size:1.1rem;
  background:rgba(55,178,77,.12); margin-bottom:.5rem;
}
.value h3{margin:.2rem 0 .3rem; font-size:1.05rem; color:var(--text)}
.value p{margin:0; color:var(--muted); line-height:1.6}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px){
  .stats__grid{grid-template-columns:repeat(2,1fr)}
  .section.about-grid{grid-template-columns:1fr}
  .values__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 700px){
  .stats__grid{grid-template-columns:1fr}
  .vm__grid{grid-template-columns:1fr}
  .values__grid{grid-template-columns:1fr}
  .timeline__item{grid-template-columns:1fr; padding-left:28px}
}

/* subtle dark-mode polish for icon tiles */
:root:not([data-theme="light"]) .vm__icon,
:root:not([data-theme="light"]) .value__icon{
  background:rgba(55,178,77,.18);
}
/* Center the "Scale & Momentum" heading and match the grid width */
.section.stats > h2{
  text-align:center;
  width:min(1100px,92vw);
  margin:0 auto 1rem;
}


/*Footer*/

/* Sticky page layout (you already have this; keep it) */
html, body { height: 100%; }
body{
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
main{ flex: 1 0 auto; }     /* pushes footer to the bottom */

/* Canonical footer */
.site-footer{
  margin-top: auto;            /* stick to bottom when content is short */
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--border, #e5e7eb);
  color: var(--text);
}
/* ===== Footer: pro alignment ===== */

/* 1) Four neat columns, first one a bit wider */
.site-footer .footer-grid{
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(180px,1fr));
  column-gap: clamp(24px, 5vw, 56px);
  align-items: start;                 /* top-align everything */
}

/* 2) Typography + link rhythm */
.site-footer h4{
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--text);
}
.site-footer ul{ list-style: none; margin: 0; padding: 0; }
.site-footer li{ margin: .45rem 0; }
.site-footer a{
  color: var(--text);
  opacity: .85;
  text-decoration: none;
}
.site-footer a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* 3) Subtle vertical dividers between columns (desktop only) */
@media (min-width: 900px){
  .site-footer .footer-grid > *:not(:first-child){
    position: relative;
    padding-inline-start: clamp(18px, 2vw, 24px);
  }
  .site-footer .footer-grid > *:not(:first-child)::before{
    content: "";
    position: absolute;
    inset: 0 auto 0 0;                /* LTR left edge */
    width: 1px;
    background: color-mix(in oklab, var(--border) 70%, transparent);
  }
  /* RTL fix */
  html[dir="rtl"] .site-footer .footer-grid > *:not(:first-child){
    padding-inline-start: 0; padding-inline-end: clamp(18px,2vw,24px);
  }
  html[dir="rtl"] .site-footer .footer-grid > *:not(:first-child)::before{
    inset: 0 0 0 auto;
  }
}

/* 4) Brand block alignment (logo + text look tidy even if stacked) */
.site-footer .footer-grid > :first-child{
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
}
.site-footer .footer-logo{
  width: 64px; height: 64px; object-fit: contain;
}
.site-footer .brand-text{ grid-column: 1 / -1; margin-top: .5rem; color: var(--muted); }

/* 5) Legal line */
.site-footer__legal{
  margin-top: clamp(18px, 3vw, 28px);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}

/* 6) Responsive */
@media (max-width: 1024px){
  .site-footer .footer-grid{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}
@media (max-width: 700px){
  .site-footer .footer-grid{
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .site-footer .footer-grid > *:not(:first-child){ padding: 0; }
  .site-footer .footer-grid > *:not(:first-child)::before{ display: none; }
}

/*Share info CSS */

/* Layout */
.share .grid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}
@media (max-width: 980px){ .share .grid{grid-template-columns:1fr} }

/* Cards */
.card{
  background:var(--card,#fff);
  border:1px solid var(--border,#e5e7eb);
  border-radius:16px;
  padding:18px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.card h3{margin:.25rem 0 1rem;font-size:1.1rem}
.muted{color:var(--muted,#667085);font-size:.9rem}

/* Ticker */
.ticker-embed{overflow:hidden}
.ticker-embed iframe{width:100%;min-height:126px;border:none;border-radius:10px}

/* Facts */
.facts{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:720px){.facts{grid-template-columns:1fr}}
.facts dl{margin:0}
.facts dt{color:var(--muted,#667085);font-size:.82rem}
.facts dd{margin:2px 0 0;font-weight:600}

/* Snapshot */
.snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:720px){.snapshot{grid-template-columns:1fr}}
.kpi{
  background:linear-gradient(180deg,#fafafa 0%,#fff 100%);
  border:1px solid var(--border,#e5e7eb);
  border-radius:12px;padding:14px
}
.kpi .label{color:var(--muted,#667085);font-size:.8rem}
.kpi .value{font-size:1.25rem;font-weight:700;margin-top:4px}

/* Resources */
.resource-list{display:grid;gap:10px}
.resource-list a{
  display:flex;align-items:center;justify-content:space-between;
  text-decoration:none;padding:12px 14px;border:1px solid var(--border,#e5e7eb);
  border-radius:12px;background:#fff;transition:transform .12s ease,box-shadow .15s ease
}
.resource-list a:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.resource-list .title{font-weight:600}
.resource-list .meta{color:var(--muted,#667085);font-size:.85rem}

/* Header (breadcrumb sub-hero matches your pattern) */
.subhero{background:linear-gradient(180deg,#0f1320 0%,#121831 100%);padding:34px 0;color:#fff}
.subhero .subhero__title{margin:.25rem 0 .5rem}
.crumbs{display:flex;gap:8px;align-items:center;font-size:.9rem;color:#cbd5e1}
.crumbs a{color:#cbd5e1;text-decoration:none}
.crumbs .sep{opacity:.6}

/*for tadawul button*/

/* Exchange CTA */
.exchange-cta{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border:1px solid var(--border,#e5e7eb);
  border-radius:16px; padding:16px 18px; margin-bottom:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.exchange-cta .exchange-meta{display:flex; flex-direction:column}
.exchange-cta .note{color:var(--muted,#667085); font-size:.9rem; margin-top:2px}

.btn-tadawul{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px;
  background: var(--primary,#0d6efd); color:#fff; text-decoration:none; font-weight:600;
  box-shadow:0 6px 16px rgba(13,110,253,.25);
  transition: transform .12s ease, box-shadow .15s ease, opacity .12s ease;
  white-space:nowrap;
}
.btn-tadawul:hover{ transform:translateY(-1px); box-shadow:0 10px 24px rgba(13,110,253,.28) }
.btn-tadawul:active{ transform:translateY(0); opacity:.9 }
.btn-tadawul svg{ flex:0 0 auto; display:block }

/* Responsive */
@media (max-width:720px){
  .exchange-cta{ flex-direction:column; align-items:flex-start }
  .btn-tadawul{ width:100%; justify-content:center }
}

/* RTL support (uses dir attribute on <html>) */
html[dir="rtl"] .exchange-cta{ direction:rtl }
html[dir="rtl"] .btn-tadawul{ flex-direction:row-reverse }








/* ===== Modern Timeline (opt-in via .timeline--modern) ===== */
.section.timeline.timeline--modern{
  width:min(1100px,92vw);
  margin:0 auto;
}

/* Center rail */
.timeline--modern .timeline__list{
  position:relative;
  margin:1.25rem 0 0;
  padding:12px 0 8px;
  list-style:none;
}
.timeline--modern .timeline__list::before{
  content:"";
  position:absolute; inset:0 auto 0 50%;
  width:2px; transform:translateX(-50%);
  background: color-mix(in oklab, var(--border) 70%, transparent);
}

/* Items */
.timeline--modern .timeline__item{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;   /* L | R */
  gap:22px;
  margin:26px 0 34px;
}

/* Node on rail */
.timeline--modern .timeline__item::before{
  content:"";
  position:absolute; top:12px; left:50%; transform:translate(-50%,-50%);
  width:14px; height:14px; border-radius:999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--primary) 28%, transparent);
}

/* Year/date chip (floats above the node) */
.timeline--modern .timeline__item time{
  position:absolute; top:12px; left:50%; transform:translate(-50%,-160%);
  background: var(--card);
  border:1px solid var(--border);
  color:var(--text);
  padding:.22rem .6rem;
  border-radius:999px;
  font-weight:800; letter-spacing:.01em;
  white-space:nowrap;
}

/* Card (your <p>) */
.timeline--modern .timeline__item p{
  margin:0;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius,14px);
  padding:16px 18px;
  box-shadow: var(--shadow);
  color: var(--muted);
  line-height:1.65;
}

/* Alternate sides */
.timeline--modern .timeline__item p{ grid-column:1 / 2; }          /* odd -> left */
.timeline--modern .timeline__item:nth-child(even) p{ grid-column:2 / 3; } /* even -> right */

/* Subtle hover lift on desktop */
@media (hover:hover){
  .timeline--modern .timeline__item p{ transition: transform .18s ease, box-shadow .22s ease; }
  .timeline--modern .timeline__item p:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
  }
}

/* Mobile: single column with rail on the left */
@media (max-width: 760px){
  .timeline--modern .timeline__list::before{
    left: 16px; transform:none; width:2px;
  }
  .timeline--modern .timeline__item{
    grid-template-columns: 1fr; gap:10px; margin:20px 0 28px;
    padding-inline-start: 34px;
  }
  .timeline--modern .timeline__item::before{
    left:16px; top:0; transform:translateY(6px);
  }
  .timeline--modern .timeline__item time{
    position:static; transform:none;
    display:inline-block; align-self:start; margin-bottom:4px;
  }
  .timeline--modern .timeline__item p{
    grid-column:auto; /* normal flow */
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .timeline--modern .timeline__item p{ transition:none; }
}


/* About page h2 underline*/

/* About → "What We Do" underline (same as #home-brands) */
#about-mission .about-grid__text h2[data-i18n="about.mission.title"]{
  position: relative;
  display: inline-block;
  padding-inline: 6px;              /* matches your home title spacing */
}
#about-mission .about-grid__text h2[data-i18n="about.mission.title"]::after{
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
}

/* Footer Social Icon*/

/* Brand-colored buttons */
.site-footer .social__btn--li{
  background:#0A66C2;           /* LinkedIn brand blue */
  border-color:#0A66C2;
  color:#fff;                   /* icon color */
}
.site-footer .social__btn--li svg rect{ fill: currentColor; }
.site-footer .social__btn--li svg path{ fill:#fff; }

.site-footer .social__btn--x{
  background:#000000;           /* X brand black */
  border-color:#000000;
  color:#ffffff;                /* icon color */
}
.site-footer .social__btn--x svg path{ fill:#ffffff; }

/* Hover polish (slight lift) */
.site-footer .social__btn--li:hover{
  box-shadow:0 6px 18px rgba(10,102,194,.35);
  filter:brightness(1.05);
}
.site-footer .social__btn--x:hover{
  box-shadow:0 6px 18px rgba(0,0,0,.35);
  filter:brightness(1.08);
}

/* Keep layout from your existing rules */
.site-footer .social{
  display:flex; gap:10px; margin-top:10px;
}
.site-footer .social__btn{
  inline-size:36px; block-size:36px;
  display:grid; place-items:center;
  border-radius:999px; text-decoration:none;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
:root[data-theme="light"] .site-header .menu > li > a{
  color: #ffffff;                 /* dark text on light */
}
:root[data-theme="light"] .site-header .menu > li > a:hover{
  background: rgba(0,0,0,.06);
}


/* === NAV SUBMENU COLOR PATCH (place at the very end of style.css) === */

/* Dark (default) – crisp contrast */
:root:not([data-theme="light"]) .site-header .menu > li.has-children > .dropdown{
  background:#0f1320;
  color:#e6e9f2;
  border:1px solid #1e293b;
  box-shadow:0 24px 60px rgba(0,0,0,.25);
}
:root:not([data-theme="light"]) .site-header .menu > li.has-children > .dropdown a{
  color:#e6e9f2;
}
:root:not([data-theme="light"]) .site-header .menu > li.has-children > .dropdown a:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

/* Light – white panel, dark text */
:root[data-theme="light"] .site-header .menu > li.has-children > .dropdown{
  background:#ffffff;
  color:#0b0f14;
  border:1px solid #e6eaf0;
  box-shadow:0 18px 44px rgba(2,6,23,.10);
}
:root[data-theme="light"] .site-header .menu > li.has-children > .dropdown a{
  color:#0b0f14;
}
:root[data-theme="light"] .site-header .menu > li.has-children > .dropdown a:hover{
  background:#f3f6fb;
  color:#0b0f14;
}

/* Active link inside dropdown 
.site-header .menu > li.has-children > .dropdown a.active,
.site-header .menu > li.has-children > .dropdown a[aria-current="page"]{
  font-weight:700;
  border-radius:8px;
}*/

/* --- Mobile panel (≤992px): keep text readable and hover feedback --- */
@media (max-width: 992px){
  /* Dropdown sits inside the slide-in list; keep it transparent but readable */
  .site-header .menu > li .dropdown{
    background:transparent;
    border:0;
    box-shadow:none;
  }
  .site-header .menu > li .dropdown a{
    display:block;
    padding:10px 16px;
    border-radius:8px;
    /* use theme body text color for consistency */
    color: var(--text);
    opacity:.95;
  }
  :root:not([data-theme="light"]) .site-header .menu > li .dropdown a:hover{
    background:rgba(255,255,255,.06);
    color:#fff;
  }
  :root[data-theme="light"] .site-header .menu > li .dropdown a:hover{
    background:#eef3fa;
    color:#0b0f14;
  }
}



/* =========================
   FINAL NAV (desktop + mobile)
   ========================= */

/* Keep header above content */
.site-header { position: sticky; top: 0; z-index: 1000; }

/* ----- DESKTOP (≥ 993px): hover-to-open dropdowns ----- */
@media (min-width: 993px){
  /* make each top-level <li> a positioning context */
  .site-header .menu > li { position: relative; }

  /* the desktop dropdown */
  .site-header .menu > li .dropdown{
    position: absolute;      /* ⬅️ not static on desktop */
    left: 0;
    top: 100%;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: #0e1620;
    box-shadow: var(--shadow);
    display: none;           /* hidden until hover */
  }

  /* open on hover */
  .site-header .menu > li.has-children:hover > .dropdown{ display: block; }
}

/* ----- MOBILE/TABLET (≤ 992px): slide-in panel + tap-to-open submenus ----- */
@media (max-width: 992px){
  /* closed state: fully off-screen so nothing peeks */
  .site-header .nav{
    position: fixed !important;
    left: 0; right: 0; top: var(--header-h,64px);
    background: var(--card);
    border-top: 1px solid var(--stroke);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
    z-index: 3000;
  }
  /* open state */
  .site-header .nav.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: calc(100dvh - var(--header-h,64px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform .25s ease, opacity .2s ease, visibility 0s;
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }

  /* list rhythm + tap targets */
  .site-header .menu{
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 8px 10px 14px;
    margin: 0;
  }
  .site-header .menu > li + li{
    border-top: 1px solid color-mix(in oklab, var(--stroke) 60%, transparent);
  }
  .site-header .menu > li > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;              /* ✅ consistent spacing */
    line-height: 1.3;
    border-radius: 12px;
    color: var(--text);
  }

  /* submenus: tap to open */
  .site-header .menu > li .dropdown{
    position: static;                 /* ⬅️ mobile only */
    display: none;                    /* closed by default */
    padding: 6px 6px 8px 22px;
    margin: 4px 0 10px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  html[dir="rtl"] .site-header .menu > li .dropdown{ padding: 6px 22px 8px 6px; }

  /* li.open is toggled by JS on tap */
  .site-header .menu > li.open > .dropdown{ display: block; }

  .site-header .menu > li .dropdown a{
    padding: 10px 12px;
    border-radius: 10px;
    opacity: .95;
  }
}

/* ----- Optional: nicer “active” styling on mobile & dark/light ----- */
@media (max-width: 992px){
  :root:not([data-theme="light"]) .site-header .menu > li > a.active,
  :root:not([data-theme="light"]) .site-header .menu > li > a[aria-current="page"]{
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 700;
  }
  :root[data-theme="light"] .site-header .menu > li > a.active,
  :root[data-theme="light"] .site-header .menu > li > a[aria-current="page"]{
    background: #eef3fa;
    color: #0b0f14;
    font-weight: 700;
  }
}


/* ===== NAV COLOR FIX (place at the very end) ===== */

/* Desktop (header bar is black) – keep links white in both themes */
@media (min-width: 993px){
  .site-header .menu > li > a{
    color:#fff;
  }
  .site-header .menu > li > a:hover{
    background:#0f1a24;
    color:#fff;
  }
}

/* Mobile/Tablet slide-in panel (background follows theme) */
@media (max-width: 992px){
  /* Light theme: dark ink on white panel */
  :root[data-theme="light"] .site-header .menu > li > a{
    color:#0b0f14;   /* was #fff (invisible) */
  }
  :root[data-theme="light"] .site-header .menu > li .dropdown a{
    color:#0b0f14;
  }

  /* Dark theme: near-white on dark panel */
  :root:not([data-theme="light"]) .site-header .menu > li > a{
    color:#e6e9f2;
  }
  :root:not([data-theme="light"]) .site-header .menu > li .dropdown a{
    color:#e6e9f2;
  }
}

/* Optional: consistent active states on mobile */
@media (max-width: 992px){
  :root[data-theme="light"] .site-header .menu > li > a.active,
  :root[data-theme="light"] .site-header .menu > li > a[aria-current="page"]{
    background:#eef3fa; color:#0b0f14; font-weight:700;
  }
  :root:not([data-theme="light"]) .site-header .menu > li > a.active,
  :root:not([data-theme="light"]) .site-header .menu > li > a[aria-current="page"]{
    background:rgba(255,255,255,.08); color:#fff; font-weight:700;
  }
}

/* ===========================
   HEADER OVERRIDES (put at END of style.css)
   =========================== */

/* Keep a predictable header height for the mobile panel anchor */
:root { --header-h: 56px; }

/* Stronger selector so it beats global img rules */
header.site-header .nav-row .brand img {
  display: block;
  max-height: 44px !important;   /* desktop cap */
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Align the row neatly and prevent the logo from pushing things */
header.site-header .nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:min(1200px,92vw);
  margin-inline:auto;
  padding:8px 12px;
  gap:12px;
}

/* Ensure the mobile panel sits above everything */
header.site-header .nav{ z-index:3000 !important; }

/* Hamburger button size (beats any global .btn sizing) */
header.site-header .nav-toggle{
  width:40px !important;
  height:40px !important;
}

/* Theme & language chips next to burger on small screens */
@media (max-width: 992px){
  /* Grid so: logo | theme | lang | burger */
  header.site-header .nav-row{
    display:grid !important;
    grid-template-columns: 1fr auto auto auto;
    align-items:center;
    gap:10px;
  }

  /* Smaller logo on tablets */
  header.site-header .nav-row .brand img{
    max-height:32px !important;
  }

  /* Compact controls */
  #themeToggle, #langToggle{
    padding:6px 10px !important;
    font-size:.9rem !important;
    line-height:1 !important;
  }

  /* Slide-down panel */
  header.site-header .nav{
    position:fixed !important;
    left:0; right:0; top:var(--header-h,56px);
    background:#0b1020;
    border-top:1px solid #1e293b;
    box-shadow:0 16px 40px rgba(0,0,0,.2);
    transform:translateY(-110%);
    transition:transform .25s ease;
  }
  header.site-header .nav.is-open{ transform:translateY(0) !important; }

  /* Vertical menu */
  header.site-header .menu{
    display:flex !important;
    flex-direction:column;
    gap:0;
    margin:0; padding:.5rem .75rem;
  }
  header.site-header .menu > li > a{ width:100%; color:#e5e7eb }

  /* Collapsible submenus */
  header.site-header .menu > li.has-children > a{
    display:flex; align-items:center; justify-content:space-between;
  }
  header.site-header .menu > li.has-children > a::after{ content:"▾"; transition:transform .2s }
  header.site-header .menu > li.open > a::after{ transform:rotate(180deg) }
  header.site-header .menu > li .dropdown{
    position:static; border:0; box-shadow:none; padding:4px 8px; background:transparent; display:none;
  }
  header.site-header .menu > li.open > .dropdown{ display:block }
}

/* Even smaller on phones */
@media (max-width: 480px){
  header.site-header .nav-row .brand img{ max-height:26px !important; }
  header.site-header .nav-row{ gap:6px !important; }
}
/* Spacing between hamburger, theme, and language — mobile/tablet only */
@media (max-width: 992px) {
  /* keep the three controls as solid, tappable buttons */
  .site-header .nav-toggle,
  .site-header #themeToggle,
  .site-header #langToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 44px;
  }

  /* add gap only between adjacent controls (works regardless of their order) */
  .site-header :is(.nav-toggle, #themeToggle, #langToggle)
    + :is(.nav-toggle, #themeToggle, #langToggle) {
    margin-inline-start: 12px; /* adjust to taste */
  }

  /* optional: a little global spacing on the row so things don't feel cramped */
  .site-header .nav-row { gap: 10px; }
}

/* --- Fix spacing only on mobile/tablet --- */
@media (max-width: 992px){
  /* space between HAMBURGER and THEME */
  #themeToggle{
    margin-inline-start: 10px; /* ← gap from the hamburger */
    margin-inline-end: 0;      /* don't push away the language btn */
  }

  /* small space between THEME and LANGUAGE */
  #langToggle{
    margin-inline-start: 8px;
    margin-inline-end: 0;
  }
}

/* Force investor page tile headings readable in dark theme */
html:not([data-theme="light"]) body .tiles h3#investor-financials-title,
html:not([data-theme="light"]) body .tiles h3#investor-shareinfo-title {
  color: #ffffff !important;
}

/* Optional: also fix the paragraph text under them */
html:not([data-theme="light"]) body .tiles p {
  color: #e5e7eb !important;
}
/* Global H2 decorative underline */
h2 {
  position: relative;
  display: inline-block;     /* keeps the underline tight to the text width */
  padding-bottom: 6px;       /* space for the underline */
}

/* Text-width underline utility */
.u-underline{
  position: relative;
  display: inline-block;        /* limits width to text */
  width: fit-content;           /* modern browsers; fine to omit if needed */
}

/* the gradient line */
.u-underline::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;                     /* now matches the text width, not full row */
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius: 3px;
  pointer-events: none;
}

/* (optional) a little breathing room below underlined headings */
.u-underline{ padding-bottom: 8px; }


/* ===== Global button responsiveness (mobile/tablet) ===== */
@media (max-width: 992px) {
  /* Make buttons full-width & stack nicely */
  a.btn,
  button.btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal;      /* allow wrapping on narrow screens */
    line-height: 1.25;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
  }

  /* Add spacing when multiple buttons are together */
  .btn + .btn { margin-top: 12px; }

  /* Common rows that hold buttons: stack vertically */
  .cta-row,
  .feature-pro__cta,
  .brand-hero > div,
  .cards .card .btn-row,
  .btn-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* EXCEPTIONS: keep header toggles inline-sized */
  #themeToggle.btn,
  #langToggle.btn {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
  }
}

/* ---------- CEO PAGE ---------- */
#ceo-message .page-hero {
  padding-block: clamp(28px, 4vw, 56px);
  text-align: center;
}
#ceo-message .page-title {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
#ceo-message .page-sub {
  color: var(--muted);
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Card layout */
#ceo-message .ceo-card {
  display: grid;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3.2vw, 34px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Subtle decorative glow */
#ceo-message .ceo-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 40%, color-mix(in oklab, var(--primary) 35%, transparent) 0%, transparent 70%);
  filter: blur(22px);
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}

/* Responsive grid: image / text */
@media (min-width: 900px) {
  #ceo-message .ceo-card {
    grid-template-columns: minmax(320px, 420px) 1fr;
  }
}

/* Photo */
#ceo-message .photo-wrap {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--primary) 20%, transparent), transparent),
    linear-gradient(0deg, rgba(255,255,255,.06), rgba(255,255,255,.06));
  padding: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
#ceo-message .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) + 6px);
  outline: 1px solid rgba(255,255,255,.06);
}

/* Text block */
#ceo-message .content {
  display: grid;
  gap: 12px;
}
#ceo-message .role {
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
#ceo-message .name {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0;
}

/* Quote */
#ceo-message .ceo-quote {
  margin: 6px 0 0;
  padding: clamp(14px, 2.2vw, 20px) clamp(16px, 2.4vw, 24px);
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: calc(var(--radius) + 4px);
  position: relative;
}
#ceo-message .ceo-quote::before {
  content: "“";
  position: absolute;
  inset: -10px auto auto 10px;
  font-size: 3rem;
  line-height: 1;
  color: color-mix(in oklab, var(--primary) 60%, var(--text));
  opacity: .35;
}

/* Signature row */
#ceo-message .signature {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.12);
}
#ceo-message .signature .dash { color: var(--muted); }
#ceo-message .signature .sig-name { font-weight: 600; }

/* LinkedIn button (reuses your .btn feel, with brand hint) */
#ceo-message .linkedin-btn {
  --btn-bg: color-mix(in oklab, var(--primary) 25%, #0a66c2);
  --btn-bg-h: color-mix(in oklab, var(--primary-600) 25%, #0a5ab0);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: calc(var(--radius) - 6px);
  background: var(--btn-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
#ceo-message .linkedin-btn:hover { background: var(--btn-bg-h); transform: translateY(-1px); }
#ceo-message .linkedin-btn:active { transform: translateY(0); }

/* RTL support */
html[dir="rtl"] #ceo-message .page-hero { text-align: center; }
html[dir="rtl"] #ceo-message .ceo-quote::before { left: auto; right: 10px; }

/* Small utility */
.visually-hidden {
  position: absolute !important; height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; clip-path: inset(50%);
}

/* Optional: soft reveal on load without JS */
#ceo-message .ceo-card, #ceo-message .photo-wrap, #ceo-message .content, #ceo-message .page-title {
  opacity: 0; transform: translateY(8px); animation: fadeUp .5s ease forwards;
}
#ceo-message .page-title { animation-delay: .05s; }
#ceo-message .ceo-card { animation-delay: .12s; }
#ceo-message .photo-wrap { animation-delay: .20s; }
#ceo-message .content { animation-delay: .28s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }


/* ====== CEO Message — Professional Edition ====== */
#ceo-message .crumbs {
  display:flex; gap:.5rem; align-items:center;
  color:var(--muted); font-size:.92rem; margin-top:18px;
}
#ceo-message .crumbs a { color:inherit; text-decoration:none; }
#ceo-message .crumbs a:hover { text-decoration:underline; }
/* ====== leadership-page — Professional Edition ====== */
#leadership-page .crumbs {
  display:flex; gap:.5rem; align-items:center;
  color:var(--muted); font-size:.92rem; margin-top:18px;
}
#leadership-page .crumbs a { color:inherit; text-decoration:none; }
#leadership-page .crumbs a:hover { text-decoration:underline; }

/* Header */
#ceo-message .page-hero {
  padding-block: clamp(28px, 5vw, 64px);
  text-align:center;
}
#ceo-message .page-title {
  margin:0; letter-spacing:-0.01em;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}
#ceo-message .page-sub {
  margin-top: 10px; color: var(--muted);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

/* Card */
#ceo-message .ceo-card {
  display:grid; gap: clamp(20px, 3vw, 40px);
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--text) 6%, transparent);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.5vw, 40px);
  position: relative; overflow:hidden;
}
#ceo-message .ceo-card::after{
  content:""; position:absolute; inset:auto -20% -30% -20%;
  height:55%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--primary) 22%, transparent), transparent 70%);
  filter: blur(28px); opacity:.35; pointer-events:none;
}

/* Grid */
@media (min-width: 960px){
  #ceo-message .ceo-card{ grid-template-columns: minmax(320px, 420px) 1fr; align-items:center; }
}

/* Portrait */
#ceo-message .ceo-photo{
  margin:0; position:relative; border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  padding:12px; 
}
#ceo-message .ceo-photo img{
  width:100%; display:block; border-radius: calc(var(--radius) + 4px);
  object-fit:cover; aspect-ratio: 4/5;
  outline:1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Text */
#ceo-message .ceo-content{ display:grid; gap: 12px; }
#ceo-message .role{
  text-transform:uppercase; letter-spacing:.14em; font-size:.82rem; color:var(--muted);
}
#ceo-message .name{
  margin:0; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height:1.2;
}

/* Quote */
#ceo-message .ceo-quote{
  margin: 8px 0 0; line-height:1.7; color: var(--text);
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius) + 4px);
  position:relative;
}
#ceo-message .ceo-quote::before{
  content:"“"; position:absolute; left:12px; top:-14px;
  font-size:3.2rem; line-height:1; opacity:.28;
  color: color-mix(in oklab, var(--primary) 55%, var(--text));
}

/* Signature */
#ceo-message .signature{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:12px 16px; margin-top:12px; padding-top:12px;
  border-top:1px dashed rgba(255,255,255,.12);
}
#ceo-message .signature .sig-name{ font-weight:600; }

/* LinkedIn button (subtle, not splashy) */
#ceo-message .linkedin-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px; border-radius:10px;
  background: color-mix(in oklab, #0a66c2 72%, var(--primary) 28%);
  color:#fff; text-decoration:none; font-weight:600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
#ceo-message .linkedin-btn:hover{ transform: translateY(-1px); }
#ceo-message .linkedin-btn:active{ transform: translateY(0); }

/* RTL */
html[dir="rtl"] #ceo-message .crumbs { justify-content:center; }
html[dir="rtl"] #ceo-message .ceo-quote::before { left:auto; right:12px; }

/* Accessibility helpers */
.visually-hidden{ position:absolute!important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; clip-path:inset(50%); }

/* Gentle reveal */
#ceo-message .ceo-card, #ceo-message .page-title, #ceo-message .ceo-photo, #ceo-message .ceo-content{
  opacity:0; transform: translateY(10px); animation: ceoFade .5s ease forwards;
}
#ceo-message .page-title{ animation-delay:.05s; }
#ceo-message .ceo-card{ animation-delay:.12s; }
#ceo-message .ceo-photo{ animation-delay:.2s; }
#ceo-message .ceo-content{ animation-delay:.28s; }
@keyframes ceoFade{ to{ opacity:1; transform:translateY(0); } }


/* ===== Compact CEO photo (small, subtle) ===== */
#ceo-message .ceo-card--compact {
  grid-template-columns: 1fr;               /* Single column */
  gap: 16px;
}

#ceo-message .ceo-card--compact .ceo-photo {
  /* small round avatar feel */
  width: clamp(80px, 10vw, 110px);
  padding: 4px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  justify-self: start;                       /* stick to left */
}

#ceo-message .ceo-card--compact .ceo-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;                       /* perfect circle */
  object-fit: cover;
  border-radius: 999px;
  outline: 1px solid rgba(255,255,255,.08);
}

/* tighten spacing so text dominates */
#ceo-message .ceo-card--compact .ceo-content {
  margin-top: 0;
  gap: 10px;
}

#ceo-message .ceo-card--compact .name {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);  /* slightly smaller */
  margin-bottom: 2px;
}

#ceo-message .ceo-card--compact .role {
  font-size: .8rem;
  letter-spacing: .12em;
}

/* keep quote prominent */
#ceo-message .ceo-card--compact .ceo-quote {
  margin-top: 8px;
  padding: clamp(12px, 1.8vw, 18px) clamp(14px, 2vw, 20px);
}

#ceo-message .ceo-card--compact .signature {
  margin-top: 10px;
  padding-top: 10px;
}

/* ===== Leadership (team-simple) ===== */
.team-simple{
  --edge: clamp(16px, 5vw, 32px);
  padding-block: clamp(28px, 6vw, 80px);
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 96%, #fff), var(--bg));
}

/* Centered, tidy header */
.team-simple .ts-head{
  width: min(1100px, 92vw);
  margin: 0 auto clamp(18px, 3vw, 28px);
  padding-inline: var(--edge);
  text-align: center;
}
.team-simple .ts-head h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.15;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-inline: 6px;
}
.team-simple .ts-head h2::after{
  content:"";
  position:absolute; inset-inline:0; bottom:-6px; height:3px;
  background: linear-gradient(90deg, #0d6efd, #7c3aed 60%, transparent);
  border-radius:3px;
}
.team-simple .muted{ color: var(--muted); }

/* Section row titles */
.ts-rowtitle{
  width: min(1100px, 92vw);
  margin: clamp(18px, 3vw, 26px) auto 8px;
  padding-inline: var(--edge);
  font-size: clamp(16px, 2.4vw, 18px);
  color: color-mix(in oklab, var(--text) 86%, #5b6b7a);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Rows as responsive grids */
.ts-row{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding-inline: var(--edge);
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Feature card (Chairman) spans full width and is larger */
.ts-row--1{ grid-template-columns: 1fr; }
.ts-card--feature{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2.6vw, 22px);
}

/* Card shell */
.ts-card{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--card) 95%, var(--bg)),
                           color-mix(in oklab, var(--card) 90%, var(--bg))) padding-box,
    linear-gradient(135deg, color-mix(in oklab, #0d6efd 28%, transparent),
                           color-mix(in oklab, var(--brand, #37b24d) 28%, transparent)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 12px 32px rgba(2,6,23,.08);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.ts-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(2,6,23,.12);
  border-color: color-mix(in oklab, #0d6efd 26%, transparent);
}
.ts-card:focus-within{
  outline: 3px solid color-mix(in oklab, #0d6efd 35%, transparent);
  outline-offset: 3px;
}

/* Avatar (image or fallback initials) */
.ts-avatar{
  position: relative;
  width: 76px; height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.55), transparent 60%) padding-box,
    linear-gradient(135deg, color-mix(in oklab, #0d6efd 40%, transparent),
                           color-mix(in oklab, var(--brand, #37b24d) 40%, transparent)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(2,6,23,.12);
  overflow: hidden;
}
.ts-card--feature .ts-avatar{ width: 92px; height: 92px; flex-basis: 92px; }
.ts-avatar img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.ts-avatar--fallback{
  display: none;               /* revealed by your onerror inline JS */
  place-items: center;
  width: 100%; height: 100%;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #0d6efd, #7c3aed);
}

/* Role pill + name */
.ts-role{
  display: inline-block;
  margin-bottom: 4px;
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in oklab, #0d6efd 80%, #0b1320);
  background: color-mix(in oklab, #0d6efd 12%, transparent);
  border: 1px solid color-mix(in oklab, #0d6efd 22%, transparent);
  border-radius: 999px;
}
.ts-name{
  margin: 2px 0 0;
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text);
}

/* Dark mode: stronger contrast */
:root:not([data-theme="light"]) .ts-card{
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--card) 96%, #10161f),
                           color-mix(in oklab, var(--card) 90%, #0b1119)) padding-box,
    linear-gradient(135deg, color-mix(in oklab, #0d6efd 26%, transparent),
                           color-mix(in oklab, var(--brand, #37b24d) 26%, transparent)) border-box;
}

/* RTL niceties */
html[dir="rtl"] .team-simple .ts-head h2::after{ inset-inline: 0; }  /* underline still full width */
html[dir="rtl"] .ts-card--feature{
  grid-template-columns: 1fr auto;  /* avatar on the other side if preferred */
}

/* Motion respect */
@media (prefers-reduced-motion: reduce){
  .ts-card{ transition: none; }
}

/* Leadership hero: centered layout */
#leadership-page .page-hero{
  padding-block: clamp(28px, 6vw, 80px);
  display: grid;
  place-items: center;     /* centers both axes */
  text-align: center;
  gap: 10px;
}

/* Title + subtitle */
#leadership-page .page-title{
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}

/* Optional: a subtle centered accent under the H1 */
#leadership-page .page-title::after{
  content: "";
  display: block;
  width: 72px;                 /* fixed, tasteful width */
  height: 3px;
  margin: 12px auto 0;         /* centers the line */
  border-radius: 999px;
  background: var(--primary);
  opacity: .9;
}

#leadership-page .page-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

/* RTL: keep centered */
html[dir="rtl"] #leadership-page .page-hero{
  text-align: center;
}
/* Leadership: compact hero (remove tall whitespace) */
#leadership-page .page-hero{
  /* kill any tall min-height from generic hero rules */
  min-height: 0;                /* or: min-height: auto; */
  padding-block: clamp(20px, 4vw, 40px);
  margin-block-end: clamp(8px, 1.2vw, 16px);
  display: grid;                /* keep centered */
  place-items: center;
  text-align: center;
}

/* Optional: make the underline closer to the title */
#leadership-page .page-title::after{
  margin-top: 8px;
}

/* Tighten spacing into the list */
#leadership-page .page-hero + .team-simple{
  margin-top: 12px;             /* was likely much larger */
}

/* Ensure the first row title doesn't add extra top space */
#leadership-page .team-simple .ts-rowtitle:first-of-type{
  margin-top: 0;
}

/* If your team section had padding-top, neutralize it here */
#leadership-page .team-simple{
  padding-top: 0;
}
