:root {
  --bg: #050807;
  --panel: rgba(12, 19, 18, 0.78);
  --panel-strong: rgba(15, 24, 22, 0.92);
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(16, 185, 129, 0.32);
  --text: #f8fafc;
  --muted: #aebbb6;
  --soft: #d8e2dd;
  --emerald: #10b981;
  --emerald-2: #34d399;
  --champagne: #d6b46a;
  --ink: #07100f;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-body: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-heading: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(16, 185, 129, 0.08), transparent 30%),
    linear-gradient(180deg, #050807 0%, #080d0c 42%, #040605 100%);
  font-family: var(--font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
section,
.section-band,
.hero-grid,
.about-layout,
.strategy-grid,
.contact-layout {
  min-width: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0 58%, rgba(16, 185, 129, 0.10) 58% 66%, transparent 66%),
    linear-gradient(75deg, transparent 0 18%, rgba(214, 180, 106, 0.045) 18% 23%, transparent 23%);
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

::selection {
  background: rgba(16, 185, 129, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #050807;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #35423f);
  border: 3px solid #050807;
  border-radius: 999px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--ink);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  gap: 22px;
  align-content: center;
  background: #030504;
  transition: opacity 600ms var(--ease), visibility 600ms var(--ease);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 28px 80px rgba(16, 185, 129, 0.14);
}

.loader-line {
  width: 180px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader-line span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--emerald);
  animation: loaderSweep 1050ms var(--ease) infinite;
}

@keyframes loaderSweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--champagne));
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0.16;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(115deg, rgba(16, 185, 129, 0.42), rgba(214, 180, 106, 0.08) 54%, transparent 70%);
  filter: blur(62px);
}

.cursor-dot,
.cursor-ring {
  display: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 0 20px;
  transition: transform 280ms var(--ease);
}

.nav-shell {
  width: min(var(--max), calc(100% - 20px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 7, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-lockup span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-lockup strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-lockup small {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--soft);
  font-size: .9rem;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  gap: 8px;
  color: #07100f !important;
  background: var(--emerald) !important;
  font-weight: 700;
}

.nav-cta svg {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(16, 185, 129, 0.14);
}

.icon-button svg,
.button-primary svg,
.button-secondary svg,
.social-button svg,
.expertise-card svg,
.venture-card svg,
.industry-pill svg,
.contact-info svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.nav-shell .nav-toggle {
  display: none;
}

.section-band {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0;
}

.hero-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 54px;
  align-items: center;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.faith-card {
  width: min(100%, 430px);
  padding: 18px;
  margin-bottom: 26px;
  border-color: rgba(16, 185, 129, 0.22);
}

.arabic {
  margin: 0;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

.transliteration,
.meaning {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.meaning {
  color: var(--soft);
}

.eyebrow,
.section-heading span,
.timeline-note span {
  display: inline-flex;
  align-items: center;
  color: var(--emerald-2);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 18px 0 12px;
  font-family: var(--font-heading);
  font-size: 4.85rem;
  line-height: .94;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 1.14rem;
  font-weight: 700;
  max-width: 100%;
}

.hero-roles span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--champagne);
}

.typed-line {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 42px;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  color: #eafff6;
  font-weight: 800;
}

.typed-line span {
  min-width: 0;
}

.hero-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.button-primary {
  background: linear-gradient(135deg, var(--emerald), #8ee7c3);
  color: #04110d;
  box-shadow: 0 18px 50px rgba(16, 185, 129, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button-primary:hover,
.button-secondary:hover,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(16, 185, 129, 0.13);
}

.tooltip span {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff;
  color: #07100f;
  font-size: .76rem;
  font-weight: 800;
  transition: transform 160ms var(--ease), opacity 160ms var(--ease);
}

.tooltip:hover span,
.tooltip:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.hero-ambient-3d {
  position: absolute;
  inset: 28px -48px 40px -42px;
  z-index: 0;
  opacity: .78;
  pointer-events: none;
  filter: drop-shadow(0 28px 70px rgba(16, 185, 129, 0.16));
}

.hero-ambient-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.portrait-frame {
  position: absolute;
  inset: 0 12px 0 32px;
  z-index: 2;
  overflow: hidden;
  padding: 8px;
  border-color: rgba(16, 185, 129, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(7, 16, 15, 0.76);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.34)),
    linear-gradient(120deg, rgba(16, 185, 129, 0.12), transparent 36%);
}

.floating-proof {
  position: absolute;
  z-index: 3;
  min-width: 158px;
  padding: 15px;
  border-color: rgba(16, 185, 129, 0.3);
}

.floating-proof span {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 850;
  color: #fff;
  line-height: 1;
}

.floating-proof small {
  color: var(--muted);
  font-weight: 700;
}

.proof-one {
  left: -28px;
  bottom: 74px;
}

.proof-two {
  right: -4px;
  top: 88px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.trust-strip div {
  min-height: 96px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #fff;
  margin-bottom: 6px;
}

.trust-strip span {
  color: var(--muted);
  font-size: .9rem;
}

.strategy-section {
  padding-top: 86px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr);
  gap: 28px;
  align-items: center;
}

.strategy-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 420px;
  padding: 8px;
  border-color: rgba(214, 180, 106, 0.20);
}

.strategy-media::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.48)),
    linear-gradient(115deg, rgba(16, 185, 129, 0.10), transparent 44%);
}

.strategy-media img {
  width: 100%;
  height: 100%;
  min-height: 404px;
  object-fit: cover;
  border-radius: 6px;
}

.strategy-copy .section-heading {
  margin-bottom: 22px;
}

.strategy-stack {
  display: grid;
  gap: 12px;
}

.strategy-stack div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.10);
}

.strategy-stack strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 999px;
  color: var(--emerald-2);
  font-family: var(--font-heading);
  font-weight: 850;
}

.strategy-stack span {
  color: var(--soft);
  line-height: 1.55;
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 2.95rem;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 26px;
  align-items: stretch;
}

.story-panel {
  padding: 34px;
}

.story-panel p {
  margin: 0;
  color: var(--soft);
  font-size: 1.06rem;
  line-height: 1.9;
}

.story-panel p + p {
  margin-top: 22px;
}

.stats-grid,
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  min-height: 160px;
  display: grid;
  align-content: end;
  padding: 24px;
}

.stat-card strong,
.metric-block strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 850;
  line-height: 1;
}

.stat-card span,
.metric-block span {
  color: var(--muted);
  font-weight: 800;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.expertise-card,
.venture-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.expertise-card::before,
.venture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.56), rgba(214, 180, 106, 0.18), transparent 58%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.expertise-card:hover,
.venture-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.08);
}

.expertise-card svg,
.venture-card svg {
  width: 34px;
  height: 34px;
  color: var(--emerald-2);
  margin-bottom: 26px;
}

.expertise-card h3,
.venture-card h3,
.journey-item h3,
.contact-info h3,
.site-footer h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 850;
}

.expertise-card p,
.venture-card p,
.journey-item p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.upscale-section {
  overflow: hidden;
}

.upscale-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 26px;
  align-items: end;
}

.timeline-note {
  padding: 28px;
  border-color: rgba(214, 180, 106, 0.24);
}

.timeline-note strong {
  display: block;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 800;
  color: #fff;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 18px;
  color: var(--soft);
  font-weight: 800;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.industry-pill:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.industry-pill svg {
  color: var(--emerald-2);
  flex: 0 0 auto;
}

.vision-section {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  margin: 40px 0;
  padding: 110px 20px;
  overflow: hidden;
  background: url("../images/vision-bg.jpg") center / cover no-repeat;
}

.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 7, 0.90), rgba(5, 8, 7, 0.65));
}

.vision-content {
  position: relative;
  width: min(900px, 100%);
  text-align: center;
}

.vision-content span {
  color: var(--emerald-2);
  font-weight: 800;
  text-transform: uppercase;
}

.vision-content h2 {
  margin: 18px auto 0;
  max-width: 780px;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 850;
}

.vision-content blockquote {
  margin: 34px auto 0;
  max-width: 760px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.65;
  font-weight: 650;
}

.vision-content p {
  max-width: 740px;
  margin: 28px auto 0;
  color: var(--muted);
  line-height: 1.85;
}

.metrics-section {
  padding-top: 96px;
}

.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-block {
  min-height: 200px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.metric-block strong {
  font-size: 3.45rem;
}

.journey-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--emerald), transparent);
}

.journey-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
}

.journey-item > span {
  grid-column: 2;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #07100f;
  color: var(--emerald-2);
  font-weight: 900;
}

.journey-item > div {
  padding: 26px;
}

.journey-item:nth-child(odd) > div {
  grid-column: 1;
  grid-row: 1;
  margin-right: 24px;
}

.journey-item:nth-child(even) > div {
  grid-column: 3;
  grid-row: 1;
  margin-left: 24px;
}

.testimonial-swiper {
  width: 100%;
  padding: 6px 4px 58px;
}

.testimonial-card {
  min-height: 280px;
  padding: 30px;
}

.testimonial-card svg {
  width: 34px;
  height: 34px;
  color: var(--champagne);
}

.testimonial-card p {
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.55;
  font-weight: 650;
}

.testimonial-card span {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 800;
}

.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.testimonial-pagination {
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: var(--emerald);
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.gallery-item.tall {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
}

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: 28px;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.contact-info a:hover,
.contact-info a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(16, 185, 129, 0.08);
}

.contact-info svg {
  color: var(--emerald-2);
  flex: 0 0 auto;
}

.map-frame {
  min-height: 260px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.88);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--soft);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.form-row select option {
  color: #07100f;
}

.form-row textarea {
  resize: vertical;
  min-height: 142px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--emerald);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.10);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.consent-line input {
  margin-top: 4px;
  accent-color: var(--emerald);
}

.contact-form .button-primary {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--emerald-2);
  font-weight: 800;
}

.form-status.is-error {
  color: #fca5a5;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030504;
  padding: 54px 20px 24px;
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .55fr .55fr;
  gap: 36px;
}

.footer-grid img {
  width: 310px;
  height: auto;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.footer-grid p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: var(--muted);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}

.footer-bottom {
  width: min(var(--max), 100%);
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(216, 226, 221, 0.68);
  font-size: .92rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  width: min(1040px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--soft);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.noscript-message {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  color: #07100f;
  text-align: center;
}

@media (pointer: fine) and (min-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    border-radius: 999px;
    transform: translate(-50%, -50%);
  }

  .cursor-dot.is-visible,
  .cursor-ring.is-visible {
    opacity: 1;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-2);
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(52, 211, 153, 0.58);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.18);
    transition: width 160ms var(--ease), height 160ms var(--ease), border-color 160ms var(--ease), opacity 160ms var(--ease);
  }

  .cursor-ring.is-hovering {
    width: 52px;
    height: 52px;
    border-color: rgba(16, 185, 129, 0.76);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-layout,
  .upscale-layout,
  .strategy-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 760px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .strategy-media {
    min-height: 360px;
  }

  .strategy-media img {
    min-height: 344px;
  }

  .expertise-grid,
  .venture-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .nav-shell {
    width: 100%;
  }

  .brand-lockup small {
    display: none;
  }

  .nav-shell .nav-toggle {
    display: inline-grid;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 10px;
    right: 10px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 7, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .section-band {
    width: min(var(--max), calc(100% - 28px));
    padding: 82px 0;
  }

  .hero-section {
    padding-top: 116px;
  }

  .hero-copy h1 {
    font-size: 3.25rem;
    max-width: 620px;
  }

  .section-heading h2,
  .vision-content h2 {
    font-size: 2.35rem;
  }

  .vision-content blockquote {
    font-size: 1.18rem;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 640px;
  }

  .hero-ambient-3d {
    inset: 18px -22px 44px -22px;
    opacity: .62;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 2;
  }

  .journey-timeline::before {
    left: 28px;
  }

  .journey-item {
    grid-template-columns: 56px 1fr;
  }

  .journey-item > span {
    grid-column: 1;
  }

  .journey-item:nth-child(odd) > div,
  .journey-item:nth-child(even) > div {
    grid-column: 2;
    margin-left: 18px;
    margin-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 10px;
  }

  .nav-shell {
    width: min(370px, calc(100vw - 20px));
    margin-left: 0;
    margin-right: auto;
  }

  .section-band {
    width: min(370px, calc(100vw - 20px));
    max-width: min(370px, calc(100vw - 20px));
    margin-left: 10px;
    margin-right: auto;
    padding: 70px 0;
  }

  .brand-lockup strong {
    font-size: .9rem;
  }

  .hero-copy h1 {
    font-size: 2.42rem;
    max-width: 330px;
    line-height: .98;
  }

  .hero-grid,
  .hero-copy,
  .hero-copy > *,
  .hero-intro {
    max-width: 100%;
    min-width: 0;
  }

  .arabic {
    font-size: 1.18rem;
  }

  .hero-roles {
    gap: 7px;
    font-size: .92rem;
    line-height: 1.45;
  }

  .eyebrow {
    display: block;
    font-size: .72rem;
    line-height: 1.45;
  }

  .typed-line {
    font-size: .86rem;
    max-width: 244px;
    overflow: hidden;
    min-height: 40px;
    padding: 9px 13px;
  }

  .typed-line span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  .hero-intro,
  .story-panel p {
    font-size: .98rem;
  }

  .faith-card,
  .story-panel,
  .contact-info,
  .contact-form,
  .testimonial-card,
  .timeline-note {
    padding: 20px;
  }

  .hero-actions,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .social-row {
    width: 100%;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    max-width: 100%;
  }

  .social-row {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-frame {
    inset: 0 0 0 0;
  }

  .hero-ambient-3d {
    inset: 24px -10px 38px -10px;
    opacity: .42;
  }

  .floating-proof {
    min-width: 132px;
    padding: 12px;
  }

  .floating-proof span {
    font-size: 1.55rem;
  }

  .proof-one {
    left: 8px;
    bottom: 32px;
  }

  .proof-two {
    right: 8px;
    top: 34px;
  }

  .trust-strip,
  .stats-grid,
  .metrics-grid,
  .expertise-grid,
  .venture-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .strategy-media {
    min-height: 280px;
  }

  .strategy-media img {
    min-height: 264px;
  }

  .strategy-stack div {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .metric-block {
    min-height: 138px;
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .contact-form .button-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 8px;
  }

  .nav-shell {
    gap: 10px;
    padding: 8px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup img {
    width: 36px;
    height: 36px;
  }

  .brand-lockup strong {
    max-width: 235px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-shell .nav-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .hero-section {
    padding-top: 104px;
  }

  .faith-card {
    margin-bottom: 22px;
  }

  .hero-copy h1 {
    font-size: 2.12rem;
    max-width: 300px;
  }

  .section-heading h2,
  .vision-content h2 {
    font-size: 2rem;
  }

  .hero-intro {
    line-height: 1.72;
    max-width: 100%;
  }

  .eyebrow {
    max-width: 330px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .proof-one {
    bottom: 20px;
  }

  .proof-two {
    top: 22px;
  }

  .trust-strip div {
    min-height: 82px;
    padding: 16px;
  }

  .strategy-media {
    min-height: 230px;
  }

  .strategy-media img {
    min-height: 214px;
  }
}

@media (max-width: 380px) {
  .section-band {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    margin-left: 9px;
  }

  .brand-lockup strong {
    max-width: 190px;
    font-size: .82rem;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
    max-width: 270px;
  }

  .hero-roles {
    font-size: .84rem;
  }

  .eyebrow {
    font-size: .68rem;
  }

  .typed-line {
    font-size: .84rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .social-button {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-dot,
  .cursor-ring,
  .mouse-glow {
    display: none !important;
  }
}
